
/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP&display=swap');

@font-face {
    font-family: '青柳衡山フォントT';
    font-display: swap;
    src: url('https://cdn.leafscape.be/AoyagiKouzanT/aoyanagiT_web.woff2') format("woff2");
}

/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'Noto Serif JP', serif;
}

/* 基本設定 */
body {
    text-align: center;
    background-color: #fff;
    line-height: 2;
    letter-spacing: 0.1em;
    font-size: 13px;
    color: #000;
}

/* リンク */
a {
    text-decoration: none;
    font-weight: bold;
    color: #19448e;
}

/* 見出し */
header h1 {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    font-family: '青柳衡山フォントT', 'Noto Serif JP', serif;
    font-size: 1.1em;
}

/* セクション */
section {
    margin: 3em auto;
    padding: 3em 10%;
    text-align: justify;
    word-break: break-all;
}

section ul {
    list-style-type: none;
}

section ul span {
    padding-right: 0.5em;
    border-right: 5px solid #efefef;
}

section ul li {
    margin: 0.5em auto;
}

section ul li a {
    margin-left: 0.5em;
}

/* アーティクル */
article {
    margin: 3em auto;
    width: 80%;
    max-width: 500px;
    text-align: justify;
    word-break: break-all;
}

article h1 {
    position: relative;
    margin-bottom: 1em;
}

article h1::before {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 0;
    z-index: -10;
    width: 100%;
    height: 1px;
    background-color: #000;
}

article h1 span {
    padding: 0 1em;
    background-color: #fff;
}

/* メニュー */
.menu li {
    display: inline-block;
    margin: 0 0.5em;
}

/* 共通 */
strong,
.red {
    color: red;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {
    main {
        display: flex;
    }

    section {
        flex-basis: 50%;
    }
}