@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&family=Shippori+Mincho&display=swap');

/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Serif JP', serif;
    font-weight: normal;
}

/* 基本設定 */
body {
    background: #fff;
    line-height: 1.9;
    letter-spacing: 0.1em;
    font-size: 15px;
    color: #333;
}

/* リンク */
a {
    text-decoration: none;
    font-size: 13px;
    color: #999;
}

header {
    position: relative;
    margin: 5em auto;
    width: 70%;
    max-width: 600px;
}

header .line {
    position: absolute;
    left: 2.5em;
    width: 1px;
    height: 350px;
    background-color: #000;
}

header h1 {
    margin-bottom: 1em;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    font-size: 1.5em;
}

header h1 span {
    font-family: 'Shippori Mincho', serif;
}

header h1 span:nth-of-type(1) {
    animation: FadeIn 2s;
}

header h1 span:nth-of-type(2) {
    animation: FadeIn 3s;
}

header h1 span:nth-of-type(3) {
    animation: FadeIn 4s;
}

header img {
    width: 100%;
    height: auto;
}

main {
    margin: 3em auto;
    width: 70%;
    max-width: 600px;
}

aside,
section {
    margin: 1.5em auto;
}

aside p,
article p {
    margin: 1em auto 1.5em;
    text-align: justify;
    word-break: break-all;
}

aside p {
    color: #888;
    font-size: 12px;
}

section h2 {
    margin-bottom: 0.5em;
    width: 50%;
    border-bottom: thin solid #888;
    font-family: 'Shippori Mincho', serif;
    font-size: 1.2em;
    color: #666
}

section ul,
section ol {
    margin: 0.5em auto;
    list-style-type: none;
}

section ol {
    counter-reset: item;
}

section ol li {
    margin-bottom: 0.5em;
}

section ol li::before {
    content: '';
    display: inline-block;
    counter-increment: item;
    content: counter(item) '';
    margin-right: 0.5em;
    width: 20px;
    background-color: #fff352;
    text-align: center;
    color: #da536e;
}

section .yoko li {
    display: inline-block;
}

section strong {
    font-weight: bold;
    color: red;
}

footer {
    margin: 1em auto 1.5em;
    text-align: center;
}

article {
    margin: 3em auto;
    width: 80%;
    max-width: 600px;
}

article h1 {
    width: 100%;
    border-bottom: thin solid #fff;
}

article span {
    color: #666;
    text-align: right;
    font-size: 13px;
    margin: 1em auto 1.5em;
}

span.span {
    color: #888;
}

/* メニュー */
.menu {
    text-align: center;
    margin: 1em auto 1.5em;
}

.menu li {
    display: inline-block;
    margin: 0 0.5em;
}

.menu li a {
    font-weight: lighter;
}

@keyframes FadeIn {
    0% {
        opacity: 0;
        text-shadow: 0 0 3px #000;
        color: transparent;
    }

    100% {
        opacity: 1;
        color: #000;
    }
}

/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.5em;
    background: #fff352;
    border: none;
    border-radius: 0;
    font-size: 11px;
    color: #fff;
}

textarea {
    width: 200px;
    height: 70px;
}

input[type=text] {
    width: 80px;
}

input[type=submit] {
    width: auto;
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {}

/* 横幅1024px以上で読み込む */
@media screen and (min-width:1024px) {
    a:hover {
        transition: .5s;
        text-shadow: 0 0 5px #888;
        color: transparent;
    }
}