<link href="https://fonts.googleapis.com/earlyaccess/hannari.css" rel="stylesheet">

@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:  'Hannari', 游明朝, '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;
   margin-bottom: 20px;
}

/* リンク */
a {
    text-decoration: none;
    background: linear-gradient(transparent 50%, #ebeaee 50%);
    font-family: 'Hannari', 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", 'IPA 明朝', serif;
    color: #000;
}

/* コンテナ */
#wrap {
    margin: 5em auto 0;
}

/* ヘッダー */
header {
    margin: 2em auto 0em;
    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: 1.15em;
}

header h1,
section h2 span {
    letter-spacing: 0.5em;
    text-indent: 0.5em;
}

/* ボックス */
#AboutToggle,
#About {
    margin: 2em auto 0;
    
}

#About p {
    margin: 0.5em auto 1.5em;
    width: 80%;
}

#About p span {
    border-bottom: thin dashed #000;
   letter-spacing: 0.2em;
   font-family: 'Hannari', 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", 'IPA 明朝', serif;
    line-height: 1.9em;
}
/* ここまで */

/* セクション */
section {
  text-align: left;
  margin: 1em 2.5em 3em;
}

/* セクション見出し */
section h2 {
    position: relative;
    /* display: inline-block; */
    border-bottom: thin solid #000;
    /* font-family: 'Cedarville Cursive', cursive; */
    color: #808080;
    font-size: 1.1em;
}

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;
}

li p{
    display: inline;
}

/* ここまで */

/* アーティクル */
article {
    margin: 1em auto;
    padding: 3em 2.5em 0;
    max-width: 600px;
    text-align: justify;
    word-break: break-all;
}

article p,
footer {
    margin: 1em auto 1.5em;
   font-family: 游明朝, 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'IPA 明朝', serif;
}

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 #bbbbbb;
    border-radius: 0;
}

textarea {
    width: 200px;
    height: 70px;
}

input[type=text] {
    width: 80px;
}

input[type=submit] {
    width: auto;
   color: #666666;
}

#pachi{
   display: flex;
    justify-content: center;
}

.cp_ipselect.cp_sl02 {
    position: relative;
    background: #ffffff;
    height: 27px;
    margin-right: 5px;
    border: thin solid #bbbbbb;
}
.cp_ipselect {
    overflow: hidden;
    width: 40%;
    text-align: center;
}

.cp_ipselect.cp_sl02 select {
    padding: 4px 4px;
    color: #666666;
    font-size: 12px;
}

.cp_ipselect select {
    width: 100%;
    padding-right: 1em;
    cursor: pointer;
    text-indent: 0.01px;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}


.cp_ipselect.cp_sl02::before {
    position: absolute;
    top: 0.8em;
    right: 0.9em;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666666;
    pointer-events: none;
}
.cp_ipselect.cp_sl02:after {
    position: absolute;
    top: 0;
    right: 2.5em;
    bottom: 0;
    width: 1px;
    content: '';
    border-left: 1px solid #bbbbbb;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {
    /* フォントサイズ */
    body {
        font-size: 14px;
    }

    #wrap {
        width: 80%;
        max-width: 1000px;
    }

    /* ヘッダーをフロートさせる */
    header {
        float: left;
       width: 80%;
    }

    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: 50%;
    }
}

</style>
