<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=Charmonman|Noto+Serif+JP&display=swap');
/* ここまで */

/* 全体に適用する */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'Noto Serif JP', serif;
}

/* 共通設定 */
body {
    background-color: #fff;
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 13px;
    color: #000;
}

/* リンク基本設定 */
a {
    text-decoration: none;
    color: #000;
}

/* ホバー */
a:hover {
    color: #db7093;
}

/* ヘッダー */
header {
    margin: 20vh auto;
}

header img {
    width: 100%;
    height: auto;
}

/* 大見出し */
h1 {
    position: relative;
    margin: 0 auto;
    width: 150px;
    animation-name: FadeIn;
    animation-duration: 3s;
}

/* 大見出しを配置する */
h1 span {
    position: absolute;
    font-family: 'Hannari', 'Noto Serif JP', serif;
    font-size: 25px;
}

/* 一文字目 */
h1 span:nth-of-type(1) {
    top: 135px;
    left: 0;
}

/* 二文字目 */
h1 span:nth-of-type(2) {
    top: 155px;
    left: 43px;
}

/* 三文字目 */
h1 span:nth-of-type(3) {
    top: 145px;
    right: 35px;
}

/* 四文字目 */
h1 span:nth-of-type(4) {
    top: 155px;
    right: 0;
}

/* ヘッダー補足情報 */
header aside {
    letter-spacing: 0.5em;
    font-size: 11px;
}

/* ナビゲーション */
nav {
    margin: 1em auto;
}

nav ul li {
    display: inline-block;
    margin: 0 1em;
}

/* ナビゲーションここまで */

/* メイン */
main {
    margin: 0 auto;
    padding: 3em;
}

/* メイン直下のセクションに適用する */
main > section {
    margin: 2em auto;
}

main > section img {
    width: 45px;
    height: auto;
}

/* セクション内セクション */
section > section {
    margin: 1.5em auto 3em;
    text-align: justify;
    word-break: break-all;
}

/* 見出し */
section h2,
section h3 {
    margin: 0.5em auto;
    font-weight: normal;
}

section h2 {
    letter-spacing: 0;
    font-size: 1.7em;
    font-family: 'Charmonman', 'Noto Serif JP', serif;
}

section h3 {
    font-size: 1em;
}

section h3 img {
    margin-right: 0.5em;
    width: 25px;
    height: auto;
}

/* セクション内セクションの文字サイズ */
section .container p {
    font-size: 12px;
}

/* セクション共通設定 */
section p {
    margin: 1.5em auto;
}

section a {
    border-bottom: thin solid #db7093;
}

section span {
    font-weight: bold;
    color: #d0576b;
}

section mark {
    background: linear-gradient(transparent 70%, #c9cfcb 30%);
}

/* リスト系 */
section dd {
    margin: 0 0 0.5em 1em;
    font-size: 0.9em;
    color: #808080;
}

section ul {
    margin-left: 1em;
    border-left: thin dashed #888;
}

section ul li {
    padding-left: 1em;
    list-style-type: none;
}

/* リストここまで */

/* フッター */
footer {
    margin: 0.5em auto;
}

/* ライン */
.line {
    margin: 0 auto;
    width: 50px;
    height: 1px;
    background-color: #888;
}

/* 枠線リンク */
.link {
    display: inline-block;
    margin: 0.2em auto;
    padding: 0 0.5em;
    border: thin solid #d0576b;
    background-color: #d0576b;
    color: #fff;
}

/* 枠線リンクホバー */
.link:hover {
    background-color: #fff;
}

/* 英字フォント */
.en {
    font-family: 'Charmonman', 'Noto Serif JP', serif;
}

/* 右揃え */
.right {
    text-align: right;
}

/* 上に戻るボタン着地点 */
#Top {
    height: 1px;
}

/* 上に戻るボタン */
#PageTop {
    position: fixed;
    bottom: 5%;
    right: 6%;
}

/* 上に戻るボタンリンク部分 */
#PageTop a {
    display: block;
    z-index: 100;
    width: 30px;
    height: 30px;
}

/* 上に戻るボタン画像サイズ */
#PageTop img {
    width: 30px;
    height: auto;
}

/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: #fff;
    border: thin solid #d0576b;
    border-radius: 0;
}

textarea {
    width: 200px;
    height: 100px;
}

textarea::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

textarea::-webkit-scrollbar-track {
    border-radius: 50px;
}

textarea::-webkit-scrollbar-thumb {
    background-color: #d0576b;
    border-radius: 50px;
}

input[type=text] {
    width: 100px;
    height: 1.2em;
}

input[type=submit] {
    width: auto;
    height: 1.2em;
}

@keyframes FadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* フォームここまで */

/* 横幅768px以上で下記を読み込む */
@media screen and (min-width:768px) {

    header,
    main {
        margin-top: 5vh;
    }

    /* ヘッダーをフロートさせる */
    header {
        float: left;
        width: 40%;
    }

    /* 回り込みの指定 */
    main {
        overflow: hidden;
    }

    /* フロートの解除 */
    main::after {
        display: block;
        content: '';
        clear: both;
    }

    /* 上に戻るボタン画像サイズ */
    #PageTop img {
        width: 40px;
        height: auto;
    }
}

/* 横幅1024px以上で下記を読み込む */
@media screen and (min-width:1024px) {
    header {
        width: 30%;
    }

    /* セクション内セクションはフレックスボックス */
    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .container section {
        flex-basis: 40%;
    }
}

</style>