@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */


/* 全体に適用する */
* {
    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: 0em;
    font-size: 16px;
    color: #000;
}

/* リンク */
a {
    text-decoration: none;
    font-weight: bold;
    color: #000000;
}


/* アーティクル */
article {
    margin: 3em auto;
    width: 90%;
    max-width: 800px;
    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;
}

/* メニュー */
.center {
    text-align: center;
}

.center li {
    display: inline-block;
    margin: 0 1.5em;
}

.center li a {
    display: inline-block;
    padding: 0.3em 0.5em;
    text-decoration: none;
    background-color: #F0CF47;
    color: #fff;
}

/* 水平線 */
hr {
    border: none;
    border-bottom: 1px dashed #745399;
}



/* アーティクル画像 */
article img {
    display: block;
    margin: 0 auto 1em;
    width: 200px;
    height: auto;
}



/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {
    main {
        display: flex;
    }

    section {
        flex-basis: 50%;
    }
}