@charset "UTF-8";
/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP|Poiret+One&display=swap');

@font-face {
    font-family: 'はれのそら明朝';
    font-display: swap;
    src: url('https://cdn.leafscape.be/Harenosora/harenosora_web.woff2') format("woff2");
}

/*-------------------------------------------------
このフォントはIPAフォントライセンスv1.0の下で提供されています。
http://ipafont.ipa.go.jp/ipa_font_license_v1.html
オリジナルのフォントは以下から取得できます。
<blockquote class="wp-embedded-content" data-secret="Zcpa0mdkdz"><a href="https://fontopo.com/?p=377">はれのそら明朝</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://fontopo.com/?p=377&embed=true#?secret=Zcpa0mdkdz" data-secret="Zcpa0mdkdz" width="500" height="282" title="“はれのそら明朝” — fontopo" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
http://ipafont.ipa.go.jp/
-------------------------------------------------*/

/* 全体に適用する */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'Noto Sans JP', sans-serif;
}

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

/* リンク */
a {
    text-decoration: none;
    color: #000;
}

/* フォントの指定 */
a,
aside,
h2,
h3,
footer {
    font-family: 'Poiret One', 'Noto Sans JP', sans-serif;
}

/* ナビゲーション */
nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 100%;
    max-width: 1000px;
    background-color: #fcfcf4;
}

/* メニュー */
nav ul {
    display: flex;
    list-style-type: none;
    box-shadow: 0 0 5px #efefef;
}

nav ul li {
    margin: 1em auto;
    flex-basis: 33%;
}

nav ul li + li {
    border-left: thin solid #808080;
}

/* ヘッダー */
header {
    position: relative;
    margin: 15vh auto 0;
}

/* ヘッダー画像 */
header img {
    width: 100%;
    max-width: 201px;
}

/* 見出し */
header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1em;
    background-color: rgba(255, 255, 255, 0.75);
    border: thin solid #e95464;
    font-size: 1em;
}

header h1 span {
    display: block;
    font-family: 'はれのそら明朝', serif;
    color: #e95464;
}

/* 見出しの行間をそろえる */
header h1 span:nth-of-type(1) {
    letter-spacing: 0.4em;
    text-indent: 0.4em;
}

header h1 span:nth-of-type(2) {
    letter-spacing: 0.4em;
    text-indent: 0.4em;
}

header h1 span:nth-of-type(3) {
    letter-spacing: 0.4em;
    text-indent: 0.4em;
}

/* 補足情報 */
aside {
    margin-bottom: 20vh;
    color: #808080;
}

/* メイン直下のセクション */
main > section {
    padding-top: 100px;
}

/* セクション内セクション */
section > section {
    margin: 1.5em auto;
    width: 50%;
    border-bottom: thin solid #e95464;
}

/* セクション内セクションのフォントサイズ */
section > section p {
    font-size: 11px;
}

/* セクションリンク */
section a {
    font-weight: bold;
    color: #e95464;
}

/* 見出し */
section h3 {
    display: inline-block;
    margin: 1em auto 0.5em;
    padding: 0 0.5em 0 0.5em;
    line-height: 1;
    border-left: 5px solid #e95464;
    border-right: 5px solid #e95464;
    font-size: 1em;
}

/* 余白 */
section p,
section dl,
section ul,
section ol {
    margin: 1em auto 1.5em;
}

/* セクション内共通 */
section span {
    border-bottom: thin dotted #000;
}

section mark {
    display: inline-block;
    margin: 0.2em auto;
    padding: 0.2em 0.4em;
    background-color: #efefef;
}

section em {
    border-bottom: thin dotted red;
}

section strong {
    color: #a9a9a9;
}

/* リスト系 */
section dt {
    margin: 1em auto 0.5em;
}

section ul {
    list-style-type: none;
}

.typeB li {
    display: inline-block;
    margin: 0 0.5em;
    line-height: 1.2;
}

.typeB li:first-of-type {
    padding-right: 1em;
    border-right: 5px solid #efefef;
}

/* 左揃え */
section .left {
    width: 80%;
    text-align: justify;
    word-break: break-all;
}

/* セクションリンク */
section .link {
    margin: 0.2em auto;
    padding: 0.2em 0.5em;
    border: thin solid #e95464;
}

/* フッター */
footer {
    margin: 1em auto 1.5em;
}

/* 上に戻るボタン */
#Top {
    height: 1px;
}

#PageTop {
    position: fixed;
    bottom: 5%;
    right: 5%;
}

#PageTop a {
    display: block;
    z-index: 100;
    width: 30px;
    height: 30px;
}

#PageTop img {
    width: 40px;
    height: auto;
}

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

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

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

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

/* 横幅768px以上で読み込む */
@media screen and (min-width:1000px) {

    /* フレックスボックス */
    main {
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto;
        max-width: 1000px;
    }

    section {
        flex-basis: 100%;
    }

    /* 上に戻るボタンの大きさを変える */
    #PageTop img {
        width: 60px;
        height: auto;
    }
}