@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* =========================================================
   Variables
========================================================= */

:root {
    --color-text: #fff;
    --color-bg: #000;
    --color-main: #9a1e23;

    --content-width: 1200px;
    --side-padding: 20px;

    --mv-width: 1200px;

    --transition-speed: 0.3s;
    --transition-ease: ease;

    --frame-width: 50px;

    --font-base: 16px;
}


/* =========================================================
   Base
========================================================= */
article, aside, audio, body, canvas, caption, dd, div, dl, dt, em, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, iframe, img, label, li, menu, nav, object, ol, p, section, span, strong, table, tbody, td, tfoot, th, thead, tr, ul, video {
    line-height: 1.8;
}
html {
    scroll-behavior: smooth;
}

#content {
    color: var(--color-text);
    background: var(--color-bg);

    font-size: clamp(10px, 14 / 375 * 100vw, 14px);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.8;

    min-height: 100vh;
    isolation: isolate;
    overflow-x: hidden;
}

#content::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        url("../images/bgtl.png"),
        url("../images/bgbr.png"),
        url("../images/bg.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: left top, right bottom, center top;
    background-size: 24%, 45%, cover;
}

a {
    color: inherit;
    text-decoration: none;

    transition: opacity 0.3s ease;
}

@media (hover: hover) {
    a:hover {
        opacity: 0.7;
    }
}

p {
    margin-bottom: 1.5em;
}

p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Common
========================================================= */

.inner {
    width: min(
        calc(100% - var(--side-padding) * 2),
        var(--content-width)
    );

    margin-inline: auto;
    background: rgba(74, 15, 17, .8);
    padding: 5vh 20px;
    box-sizing: border-box;
    position: relative;
}

.inner > * {
    position: relative;
    z-index: 1;
}


/* =========================================================
   Main Visual
========================================================= */

.mv-bg{
    width: 100%;
    background: url("../images/headerill.png") top right / contain no-repeat;
}

.mv-wrap{
    width: min(
        calc(100% - var(--side-padding) * 2),
        var(--content-width)
    );
    margin-inline: auto;
}

.mv{
    width: 100%;
    aspect-ratio: 1200 / 500;
    position: relative;
    display: flex;
    align-items: center;
}

.mv h1{
    width: 70%;
}


/* =========================================================
   Section
========================================================= */

section {
    margin-block: 0;
}

h2{
    width: 60%;
    margin-bottom: 2em;
}


h3{
    color: #fefbc5;
    font-size: 1.3em;
    margin-block: 0 1em;
    font-weight: 800;
    font-style: italic;
}

h4.nex{
    color: #85b9e3;
    font-size: 1.2em;
}

h4.cla{
    color: #78b58a;
    font-size: 1.2em;
}

span.br::before {
		content: "\A";
		white-space: pre;
	}

hr{
    border: none;
    border-top: 1px solid #958270;
    margin-block: 2rem;
}

.mini{
    font-size: 0.9em;
    opacity: 0.6;
}


/* =========================================================
   content
========================================================= */

.read{
    width: 100%;
    aspect-ratio: 853 / 565;
    background: url("../images/read02.png") top left / cover no-repeat;
    text-indent: -9999px;
    margin-bottom: 2em;
}

.text01{
    font-size: 1.3em;
    text-shadow:
    0 0 4px #000,
    0 0 6px #000,
    0 0 10px #000;
}

.text02{
    font-size: 1.2em;
    text-shadow:
    0 0 4px #289bd5,
    0 0 6px #289bd5,
    0 0 10px #289bd5;
    font-weight: 800;
    margin-block: 0 0.7em;
}

.text03{
    font-size: 1.2em;
    text-shadow:
    0 0 4px #007537,
    0 0 6px #007537,
    0 0 10px #007537;
    font-weight: 800;
    margin-block: 0 0.7em;
}

.control {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2em;

    margin: 0;
    padding: 0;
    margin-bottom: 2em;
}

.control .control-box{
    background: rgba(0, 0, 0, .6);
}

.control .control-box .cb-inner{
    padding: 1.5em;
}

.control .control-box .cb-inner ul.c-list{
    list-style:disc;
    font-size: 1.1em;
    margin-inline: 2em 0;
    margin-block: 0 1em;
    color: #fc0;
}

.control .control-box .cb-inner .c-pic{
    margin-block: 0 1em
}

.control .control-box .cb-inner .cap{
    font-size: 0.8em;
}

.next{
    background: #fff;
    color: #333;
}

.next .n-title{
    background: #000;
    color: #fff;
    font-size: 1.6em;
    font-weight: 800;
    padding: 0.5em;
    font-style: italic;
    text-align: center;
}

.next .n-title span{
    color: #f00;
    font-size: inherit;
}

.next .n-inner{
    padding: 1.5em;
}

.next .n-inner .n-pic{
    width: 100%;
    aspect-ratio: 796 / 916;
    background: url("../images/pic05b.png") top left / cover no-repeat;
    text-indent: -9999px;
    margin-bottom: 1em;
}

.next .n-inner .cap{
    font-size: 0.8em;
    max-width: max-content;
    margin-inline: auto;
}

.game-wrap{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2em;
}

.game-wrap .spec .g-title{
    font-weight: bold;
    font-size: 1.6em;
    margin: 0;
    line-height: 1.3;
    margin-bottom: 1em;
    font-family: oswald;
}

dl.spec-list{
    width: 100%;
    font-size: 0.9em;
    margin-bottom: 1.5em;
}

dl.spec-list dt{
    color: #fc0;
}

dl.spec-list dd{
    margin: 0 0 0.75em;
}

.link-btn a{
    display: block;
    background: #000;
    text-align: center;
    padding: 0.5em;
}

/* =========================================================
   Movie
========================================================= */

        .movie-wrap{
            width: min(100% , 700px);
            margin-inline: auto;
        }

        .movie {
            position: relative;
            width: 100%;
            padding-top: 56.25%;
        }

        .movie iframe {
            position: absolute;
            top: 0;
            right: 0;
            width: 100% !important;
            height: 100% !important;
        }



/* =========================================================
   Footer
========================================================= */

.footer {
    background: rgba(0, 0, 0, .6);
    color: #fff;
}

.footer .f-inner {
    width: min(
        calc(100% - var(--side-padding) * 2),
        var(--content-width)
    );

    margin-inline: auto;
    padding: 5vh 20px;
    box-sizing: border-box;
    position: relative;
    text-align: center;
}


/* =========================================================
   Page Top
========================================================= */

.page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 800;

    display: grid;
    place-items: center;

    width: 56px;
    height: 56px;

    background: #fc0;
    color: #000;

    border-radius: 50%;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity var(--transition-speed) var(--transition-ease),
        transform var(--transition-speed) var(--transition-ease),
        visibility var(--transition-speed) var(--transition-ease);
}

.page-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top span {
    font-size: 12px;
}


/* =========================================================
   PC
========================================================= */

@media (min-width: 768px) {

    #content{
        font-size: clamp(10px, 16 / 1200 * 100vw, 16px);
    }

    :root {
        --side-padding: 40px;
        --frame-width: 100px;
    }

    .page-top {
    right: 20px;
    bottom: 20px;
}

    section {
        margin-block: -50px;
    }

    .mv{
    width: 100%;
    aspect-ratio: 1200 / 400;
}

    .mv h1{
    width: 40%;
}

.read{
    width: 100%;
    aspect-ratio: 1169 / 272;
    background: url("../images/read01.png") top left / cover no-repeat;
    text-indent: -9999px;
    margin-bottom: 2em;
}

    h2{
    width: 37.25%;
}

h3{
    font-size: 1.5em;
}

.text01{
    font-size: 1.5em;
}

    .control {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .next .n-inner .n-pic{
    width: 100%;
    aspect-ratio: 1200 / 356;
    background: url("../images/pic05a.png") top left / cover no-repeat;
}

    .game-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    dl.spec-list{
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 1em;
        row-gap: 0.5em;
    }

    dl.spec-list dd{
        margin: 0;
    }

    span.br::before {
		content: "";
		white-space: pre;
	}

    .inner {
    padding: 70px;
    }

}


/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}