@charset "UTF-8";

/* ウェブフォントの読み込み */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');

/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
}

/* root */
:root {
    --white: #ffffff;
    --black: #222;
    --navy: #17184b;
}

/* 基本設定 */
body {
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(to bottom, var(--black), var(--navy));
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 13px;
    font-family: "Noto Serif JP", serif;
    color: var(--white);
}

/* 横幅768px以上で読み込む */
@media screen and (min-width: 768px) {
    body {
        font-size: 14px;
    }
}

/* 横幅1024px以上で読み込む */
@media screen and (min-width: 1024px) {
    body {
        font-size: 15px;
    }
}

/* リンク */
a {
    text-decoration: none;
    color: var(--white);
    transition: .5s color;
}

a:visited {
    color: var(--white);
}

a:hover,
a:visited:hover {
    border-bottom: none;
    color: var(--navy);
}

/* ヘッダー */
header {
    margin: 0 auto 3em;
    padding-top: 10vh;
}

.imageBox {
    position: relative;
    margin: 0 auto;
    width: 80%;
    max-width: 400px;
}

.imageBox img {
    display: block;
    padding-top: 6em;
    width: 100%;
    height: auto;
    border: thin solid var(--white);
}

.line1,
.line2,
.line3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.line1::before {
    position: absolute;
    display: block;
    content: '';
    top: 40%;
    left: 0;
    width: 30%;
    height: 60%;
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    background: repeating-linear-gradient(to left, transparent 0, transparent 10px, var(--white) 10px, var(--white) 11px);
}

.line1::after {
    position: absolute;
    display: block;
    content: '';
    right: 15%;
    top: 20%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: -3px -2px 0 var(--white) inset;
}

.line2::before {
    position: absolute;
    display: block;
    content: '';
    right: 3%;
    top: 25%;
    width: 50px;
    height: 15px;
    border-radius: 50%;
    background-image: radial-gradient(var(--white) 10%, transparent 20%), radial-gradient(var(--white) 10%, transparent 20%);
    background-position: 0 0, 5px 5px;
    background-size: 5px 5px;
}

.line2::after {
    position: absolute;
    display: block;
    content: '';
    left: 5%;
    top: 30%;
    width: 120px;
    height: 40px;
    border-radius: 50%;
    background-image: radial-gradient(var(--white) 10%, transparent 20%), radial-gradient(var(--white) 10%, transparent 20%);
    background-position: 0 0, 5px 5px;
    background-size: 5px 5px;
}

.line3::before {
    position: absolute;
    display: block;
    content: '';
    right: 20%;
    top: 50%;
    width: 40px;
    height: 1px;
    transform: rotate(5deg);
    background: linear-gradient(to right, var(--white), transparent);
}

.line3::after {
    position: absolute;
    display: block;
    content: '';
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2));
}

/* 大見出し */
header h1 {
    position: absolute;
    top: 5%;
    left: 2%;
    font-size: 15px;
    letter-spacing: 5px;
}

header h1 span:first-of-type {
    margin-right: 5px;
    background-color: var(--white);
    font-size: 20px;
    color: var(--black);
}

header h1 span:nth-of-type(even) {
    position: relative;
    top: -3px;
}

header h1::before {
    position: absolute;
    display: block;
    content: '';
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--white);
}

/* 補足情報 */
aside {
    margin: 3em auto;
    width: 80%;
    max-width: 400px;
}

/* メインコンテンツ */
main {
    position: relative;
}

/* セクション */
section ul li {
    margin-bottom: 1em;
}

section ul li a {
    border-bottom: thin solid var(--white);
}

/* アーティクル */
article {
    margin: 0 auto;
    padding: 5em 3em 3em;
    width: 100%;
    max-width: 700px;
    color: var(--white);
}

article p {
    margin: 2em auto;
    text-align: left;
}

/* メニュー */
.menu {
    text-align: center;
    margin: 1em auto 1.5em;
}

.menu li {
    display: inline-block;
    margin: 0 0.5em;
}

.menu li a {
    font-weight: bold;
    color: var(--white);
}

.menu li a:visited{
    color: var(--white);
}
