<style>
@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: center;
    background-color: #000;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 13px;
    color: #fff;
}

/* 背景固定 */
body::before {
    position: fixed;
    content: '';
    display: block;
    z-index: -100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('画像URL') center 30%/cover;
}

/* リンク */
a {
    text-decoration: none;
    color: #fff;
}

/* ナビゲーション */
nav {
    position: fixed;
    z-index: 150;
    top: 15%;
    right: 8%;
    width: 1em;
}

nav ul {
    list-style-type: none;
}

nav ul li a {
    margin: 0.5em auto;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
}

/* ヘッダー */
header {
    margin: 20vh auto 3em;
    padding: 1.5em;
    width: 50%;
    max-width: 500px;
    border: 1px solid #fff;
}

/* 見出し */
header h1,
section h2 {
    position: relative;
    margin-bottom: 2em;
}

header h1::before,
section h2::before {
    position: absolute;
    display: block;
    content: '';
    bottom: -1em;
    left: calc(50% - 7.5px);
    width: 15px;
    height: 15px;
    transform: rotate(45deg);
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

/* 補足情報 */
aside {
    margin: 3em auto 30vh;
}

/* セクション */
section {
    margin: 0 auto;
    padding: 3em;
    max-width: 600px;
    text-align: justify;
    word-break: break-all;
    background-color: rgba(0, 0, 0, 0.3);
}

/* 中央寄せ */
section h2,
.center {
    text-align: center;
}

/* セクションリンク */
section a {
    border-bottom: 1px dashed #fff;
}

/* 太字 */
section span,
section strong {
    font-weight: bold;
}

/* マーカー */
section mark {
    padding: 0.1em 0.4em;
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* 重要事項 */
section strong {
    color: red;
}

/* リスト系 */
section dl,
section ul,
footer,
p {
    margin: 1em auto 1.5em;
}

section dd,
section ul li a {
    margin-left: 1em;
}

section ul {
    list-style-type: none;
}

/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: rgba(255,255,255,0.3);
    border: none;
    border-radius: 0;
    color: #fff;
}

textarea {
    width: 280px;
    height: 200px;
}

input[type=text] {
    width: 80px;
}

input[type=submit] {
    width: auto;
}

/* 横幅767px以下はハンバーガーメニュー */
@media screen and (max-width:767px) {
    #NavToggle {
        display: block;
        position: fixed;
        top: 5%;
        right: 5%;
        z-index: 100;
        width: 30px;
        height: 20px;
    }

    #NavToggle div {
        position: relative;
    }

    #NavToggle span {
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        background: #fff;
        border-radius: 10px;
        transition: 0.5s ease-in-out;
    }

    #NavToggle span:nth-child(1) {
        top: 0px;
    }

    #NavToggle span:nth-child(2) {
        top: 10px;
    }

    #NavToggle span:nth-child(3) {
        top: 20px;
    }

    .open #NavToggle span:nth-child(1) {
        top: 12px;
        transform: rotate(135deg);
    }

    .open #NavToggle span:nth-child(2) {
        background-color: transparent;
    }

    .open #NavToggle span:nth-child(3) {
        top: 12px;
        transform: rotate(-135deg);
    }

    nav {
        display: none;
    }

    section {
        padding-right: 15%;
    }
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {
    body {
        font-size: 14px;
    }

    nav ul li a {
        font-size: 1.5em;
    }

    header h1 {
        font-size: 3em;
    }
}

/* 横幅1024px以上で読み込む */
@media screen and (min-width:1024px) {
    header h1 {
        font-size: 4.5em;
    }

    header h1::before {
        left: calc(50% - 15px);
        width: 30px;
        height: 30px;
    }
}
</style>