@charset "UTF-8";

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Kaisei+HarunoUmi&family=Noto+Serif+JP:wght@200..900&display=swap');

/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
}

/* root */
:root {
    --color: #f62e36;
    --color2: #009bbf;
    --color3: #b5b5ac;
    --color4: #f39700;
    --color5: #d6d0ab;
    --white: #ffffff;
    --black: #333;
    --ja: "Kaisei HarunoUmi", serif;
}

/* 基本設定 */
body {
    background-color: var(--color);
    text-align: left;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 13px;
    font-family: "Noto Serif JP", serif;
    color: var(--black);
}

/* 横幅768px以上で読み込む */
@media screen and (min-width: 768px) {
    body {
        font-size: 14px;
    }
}

/* 横幅1024px以上で読み込む */
@media screen and (min-width: 1024px) {
    body {
        font-size: 15px;
    }
}

/* リンク */
a,
a:visited {
    text-decoration: none;
    color: var(--color);
    transition: all .5s;
}

a:hover,
a:visited:hover {
    color: var(--color2);
}

header {
    position: relative;
    margin: 5vh auto 0;
    width: 90%;
    max-width: 600px;
    height: 95svh;
    background: repeating-conic-gradient(var(--white), var(--white) 6deg, var(--color5) 6deg 12deg);
}

header::before {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 111%;
    height: 50%;
    overflow-x: hidden;
    background-color: var(--color4);
    clip-path: polygon(0 35%, 100% 0%, 100% 100%, 0% 100%);
}

header .headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em 5em;
    writing-mode: vertical-rl;
    font-family: var(--ja);
    height: max-content;
    background-color: var(--color);
    clip-path: polygon(30% 0%, 70% 0%, 100% 20%, 100% 80%, 70% 100%, 30% 100%, 0 80%, 0 20%);
}

header h1 {
    font-size: 1.8em;
}

header h1 a,
header h1 a:visited {
    position: relative;
    color: var(--white);
}

.starLeft,
.starRight {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('image.png') center/contain no-repeat;
    z-index: 999;
}

.starLeft {
    left: 10%;
}

.starLeft::before,
.starLeft::after {
    position: absolute;
    display: block;
    content: '';
    left: 0;
    width: 20px;
    height: 20px;
    background: url('image.png') center/contain no-repeat;
}

.starLeft::after {
    top: -50px;
}

.starLeft::before {
    bottom: -50px;
}

.starRight {
    right: 10%;
}

.starRight::before,
.starRight::after {
    position: absolute;
    display: block;
    content: '';
    left: 0;
    width: 20px;
    height: 20px;
    background: url('image.png') center/contain no-repeat;
}

.starRight::after {
    top: -50px;
}

.starRight::before {
    bottom: -50px;
}

main {
    margin: 3em auto;
    width: 90%;
    max-width: 600px;
}

section {
    margin-bottom: 3em;
    padding: 1.5em;
    background-color: var(--white);
}

section h2 {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
    border-left: 20px solid var(--color);
    font-family: var(--ja);
    font-size: 1.5em;
}

section h3 {
    margin-bottom: 0.5em;
    display: inline-block;
    padding: 0 1em;
    background-color: var(--color);
    font-size: 1em;
    color: var(--white);
}

section p {
    margin: 1em auto;
}

section span {
    border-bottom: 3px double var(--color2);
}

section mark {
    background-color: var(--color3);
    color: var(--white);
}

section strong {
    font-weight: bold;
    color: var(--color);
}

section a,
section a:visited {
    font-weight: bold;
    color: var(--color2);
}