<style>
@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP|Oswald|Satisfy&display=swap');

/* 全体に適用する */
* {
    margin: 0;
    padding: 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: #000;
}

/* リンク */
a {
    text-decoration: none;
    color: #5161e8;
}

/* ヘッダー */
header {
    margin: 0 auto 5em;
    padding: 1.5em 0;
    max-width: 500px;
    color: #fff;
}

/* 拝啓画像 */
header,
#bg {
    background: url('../img/retop.png') center/cover;
}

#bg {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    height: 80px;
}

/* 見出し */
header h1 {
    text-shadow: 0 0 5px #888;
    font-size: 2.5em;
    font-family: 'Satisfy', cursive;
}

/* セクション */
section {
    margin: 1em auto 1.5em;
}

/* セクション日付 */
section time {
    margin-right: 1.5em;
    padding: 0.1em 0.5em;
    background: url('../img/rebanner.png') left/cover;
    color: #fff;
}

/* フォントの指定 */
section time,
article time {
    font-family: 'Oswald', sans-serif;
}

/* セクションリンク */
section .link {
    display: inline-block;
    width: 180px;
    border-bottom: thin solid #5161e8;
    text-align: right;
}

section span {
    display: inline-block;
    width: 180px;
    text-align: right;
}

/* 段落 */
section p {
    width: 295px;
}

section p,
article p {
    text-align: justify;
    word-break: break-all;
    color: #888;
}

section p,
article p,
footer {
    margin: 1em auto 1.5em;
}

article p {
    width: 80%;
    max-width: 500px;
}

/* アーティクル */
article {
    margin-top: 3em;
}

/* アーティクル見出し */
article h1 {
    position: relative;
    margin-bottom: 1em;
    font-size: 1.3em;
}

article h1::before {
    position: absolute;
    display: block;
    content: '';
    bottom: -0.5em;
    left: 50%;
    width: 50px;
    height: 1px;
    transform: translateX(-50%);
    background-color: #000;
}

/* メニュー */
.menu {
    margin: 3em auto 1.5em;
}

.menu li {
    display: inline-block;
    margin: 0 1em;
}

.menu li a {
    display: inline-block;
    padding: 0.1em 0.5em;
    border: thin solid #5161e8;
}

/* フッター */
footer,
footer a {
    font-family: 'Satisfy', cursive;
}

/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: #fff;
    border: thin solid #000;
    border-radius: 0;
}

textarea {
    width: 200px;
    height: 70px;
}

input[type=text] {
    width: 80px;
}

input[type=submit] {
    width: auto;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {

    /* フォントサイズ */
    body {
        font-size: 14px;
    }

}

</style>