<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=EB+Garamond|Noto+Serif+JP&display=swap');

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

/* 共通設定 */
body {
    text-align: justify;
    word-break: break-all;
    line-height: 1.7;
    letter-spacing: 0.1em;
    background-color: #fff;
    font-size: 13px;
    color: #000;
}

/* リンク基本設定 */
a {
    text-decoration: none;
    transition: all .5s;
    color: #000;
}

/* ホバー */
a:hover {
    border-color: #c0c0c0;
    color: #c0c0c0;
}

/* ヘッダーとセクションの余白 */
header,
section {
    padding: 2em 3em;
}

/* ヘッダー */
header {
    position: relative;
    margin: 0 auto;
    min-height: 50vh;
    color: #a25768;
}

/* 大見出し */
header h1 {
    overflow: hidden;
    margin: 0.5em auto;
}

header h1 span {
    position: relative;
    display: inline-block;
    padding-right: 0.5em;
    letter-spacing: 0.3em;
    font-family: 'EB Garamond', "Hannari", 'Noto Serif JP', serif;
    color: #a25768;
}

header h1 span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100em;
    height: 1px;
    background-color: #a25768;
}

/* ヘッダー画像 */
header img {
    margin: 4em auto 1em;
    width: 80%;
    height: auto;
}

/* セクションリンク */
section a:not(.link) {
    font-weight: bold;
    color: #a25768;
}

/* ホバー */
section a:hover {
    background-color: #fff;
}

/* セクション見出し */
section h2 {
    margin-bottom: 1.5em;
    padding-left: 1em;
    background-color: #a25768;
    font-size: 1.3em;
    color: #fff;
}

section h3 {
    margin: 0.5em auto;
    font-size: 1;
}

/* 見出しここまで */

/* セクション共通設定 */
section span,
section strong {
    font-weight: bold;
}

section mark {
    background: linear-gradient(transparent 70%, #c0c0c0 30%);
}

section strong {
    color: red;
}

/* リスト系 */
section p,
section dl,
section ul,
footer {
    margin: 1em auto 1.5em;
}

section dd {
    margin-left: 1.5em;
    margin-bottom: 0.5em;
    font-size: 0.9em;
}

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

.float li {
    float: left;
    margin-right: 1.5em;
}

.float::after {
    display: block;
    content: '';
    clear: both;
}

/* リストここまで */

/* フッター */
footer,
.center {
    text-align: center;
}

/* スクロールボックス */
.scroll {
    overflow-y: scroll;
    width: 70%;
    height: 6em;
    padding: 1em 1.5em;
}

.scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scroll::-webkit-scrollbar-track {
    border-radius: 50px;
}

.scroll::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-radius: 50px;
}

/* ボックスここまで */

/* はんなり明朝 */
.hannari {
    font-family: 'Hannari', 'Noto Serif JP', serif;
}

/* 右揃え */
.right {
    text-align: right;
}

/* 枠線リンク */
.link {
    display: inline-block;
    margin: 0.1em auto;
    padding: 0.1em 0.4em;
    background-color: #a25768;
    color: #fff;
}

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

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

#PageTop a {
    display: block;
    z-index: 100;
    padding: 0.1em 0.4em;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    font-size: 1.3em;
    color: #a25768;
}

/* ボタンここまで */


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

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

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

textarea {
    width: 280px;
    height: 120px;
}

textarea::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

textarea::-webkit-scrollbar-track {
    border-radius: 50px;
}

textarea::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-radius: 50px;
}

/* フォームここまで */

/* 横幅1024px以上で下記を読み込む */
@media screen and (min-width:1024px) {

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

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

    /* ヘッダー画像 */
    header img {
        margin: 3em auto;
        width: 60%;
    }

    /* 回り込みの指定 */
    main {
        overflow: hidden;
        width: 50%;
    }
}