<link href="https://fonts.googleapis.com/earlyaccess/hannari.css" rel="stylesheet">

<style>
@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Cedarville+Cursive|Codystar');


@font-face {
    font-family: 'IPA 明朝';
    font-display: swap;
    /* テキストが読み込まれてからフォントを適用する */
    src: url('https://cdn.leafscape.be/IPAfont/ipam_web.woff2') format("woff2");
}

/*-------------------------------------------------
このフォントはIPAフォントライセンスv1.0の下で提供されています。
 
http://ipafont.ipa.go.jp/ipa_font_license_v1.html
 
-------------------------------------------------*/
/* ここまで */

/* 全体に適用する */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 游明朝, 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'IPA 明朝', serif;
}

/* 基本設定 */
body {
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.1em;
    background-color: #fff;
    font-size: 13px;
    color: #000;
}

/* リンク */
a {
    text-decoration: none;
    font-weight: bold;
    font-family: 'Hannari', 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", 'IPA 明朝', serif;
    color: #000;
}

/* コンテナ */
#wrap {
    margin: 10em auto 0;
}

/* ヘッダー */
header {
    margin: 3em auto 5em;
    max-width: 300px;
}

/* ヘッダー画像サイズ */
header img {
    width: 200px;
    height: auto;
    box-shadow: 1px 1px 5px #e0e0e0;
}

/* 見出し */
header h1 {
    margin: 1em auto 1.5em;
    text-shadow: 1px 1px 3px #e0e0e0;
    font-family: 'Hannari', 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", 'IPA 明朝', serif;
    font-size: 1em;
}

header h1,
section h2 span {
    letter-spacing: 0.5em;
    text-indent: 0.5em;
}

/* ボックス */
#AboutToggle,
#About {
    margin: 2em auto;
    border-bottom: thin solid #000;
}

#About p {
    margin: 0.5em auto 1.5em;
    width: 80%;
}

#About p span {
    border-bottom: thin dashed #000;
}
/* ここまで */

/* セクション */
section {
    margin: 3em auto;
}

/* セクション見出し */
section h2 {
    margin: 1.5em auto;
    position: relative;
    display: inline-block;
    border-bottom: thin solid #000;
    font-family: 'Cedarville Cursive', cursive;
    color: #808080;
}

section h2 span {
    position: absolute;
    z-index: -50;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 1px 1px 5px #000;
    font-family: 'Codystar', cursive;
    font-size: 2em;
    color: #fff;
}

/* リスト系 */
section ul,
article ul {
    list-style-type: none;
}

.float li {
    display: inline-block;
    margin: 0 0.5em;
}
/* ここまで */

/* アーティクル */
article {
    margin: 3em auto;
    padding: 3em;
    max-width: 600px;
    text-align: justify;
    word-break: break-all;
}

article p,
footer {
    margin: 1em auto 1.5em;
}

strong {
    font-weight: bold;
    color: red;
}

/* 中央寄せ */
.center {
    text-align: center;
}

/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: #fff;
    border: thin solid #000;
    border-radius: 0;
}

textarea {
    width: 200px;
    height: 70px;
}

input[type=text] {
    width: 80px;
}

input[type=submit] {
    width: auto;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {
    /* フォントサイズ */
    body {
        font-size: 14px;
    }

    #wrap {
        width: 80%;
        max-width: 1000px;
    }

    /* ヘッダーをフロートさせる */
    header {
        float: left;
    }

    main {
        overflow: hidden;
    }

    /* フロートを解除する */
    #wrap::after {
        display: block;
        content: '';
        clear: both;
    }
}

/* 横幅1024px以上で読み込む */
@media screen and (min-width:1024px) {
    /* リンクホバーエフェクト */
    a {
        position: relative;
        display: inline-block;
        transition: .3s;
    }

    a::after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: '';
        width: 0;
        height: 1px;
        background-color: #000;
        transition: .3s;
    }

    a:hover::after {
        width: 100%;
    }
    /* ここまで */

    /* フレックスボックス */
    main {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    header {
        width: 30%;
    }

    section {
        flex-basis: 30%;
    }
}

</style>