@charset "UTF-8";

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

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

:root {
    --color-text: #333;
    --color-bg: #fff;
    --color-main: #d20c28;
    --color-main2: #f90;
    --color-gold: #745401;
    --color-cc01: #fc60b4;

    --content-width: 1200px;
    --mv-width: 1200px;
    --section-margin: 7vh;
    --section-paddig: 7vh 25px;
    --side-padding: 15px;
    --header-height: 70px;

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

    --frame-width: 60px;
}


/* =========================================================
   Base
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-text);
    font-size: clamp(10px, 14 / 375 * 100vw, 14px);
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;

    min-height: 100vh;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url("../images/common/bg.jpg") bottom center / cover no-repeat;
}

body.is-menu-open {
    overflow: hidden;
}

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;
    padding: var(--section-paddig);
    position: relative;
}

.inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border: var(--frame-width) solid transparent;
    border-image-source: url("../images/common/frame.png");
    border-image-slice: 120 fill;
    border-image-width: var(--frame-width);
    border-image-repeat: stretch;
    pointer-events: none;
    z-index: 0;
}

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


/* Anchor Position */

[id] {
    scroll-margin-top: var(--header-height);
}


/* =========================================================
   Header
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;

    width: 100%;
    height: 100%;

    padding-inline: 10px;
}

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

.mv-wrap{
    width: min(100% , var(--mv-width));
    margin-inline: auto;
}

.mv{
    width: 100%;
    aspect-ratio: 800 / 1800;
    position: relative;
}

.mv h1{
    position: absolute;
    top: 34.777778%;
    left: 14.875000%;
    width: 70.250000%;
    text-indent: -9999px;
    aspect-ratio: 1 / 1;
    background: url(../images/common/mv_logo.png) center / cover no-repeat;
    animation: logoFadeIn 2s ease 0s 1 normal;
}

@keyframes logoFadeIn {
            0% {
                opacity: 0;
                transform: translateY(15%);
            }

            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

.mv .mv-read{
    position: absolute;
    top: 67.055556%;
    left: 0.000000%;
    width: 100.000000%;
    text-indent: -9999px;
    aspect-ratio: 800 / 451;
    background: url(../images/common/mv_read2.png) center / cover no-repeat;
    animation: readFadeIn 2s ease 0s 1 normal;
}

@keyframes readFadeIn {
            0% {
                opacity: 0;
                transform: translateX(-15%);
            }

            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

.mv .mv-c01{
    position: absolute;
    top: -2.222222%;
    left: 6.375000%;
    width: 47.375000%;
    text-indent: -9999px;
    aspect-ratio: 379 / 458;
    background: url(../images/common/mv_c01.png) center / cover no-repeat;
    animation: c01FadeIn 2s ease 0s 1 normal;
}

@keyframes c01FadeIn {
            0% {
                opacity: 0;
                transform: translateY(15%);
            }

            50% {
                opacity: 1;
                transform: translateY(0);
            }
        }

.mv .mv-c02{
    position: absolute;
    top: 1.277778%;
    left: 46.125000%;
    width: 47.500000%;
    text-indent: -9999px;
    aspect-ratio: 380 / 458;
    background: url(../images/common/mv_c02.png) center / cover no-repeat;
    animation: c02FadeIn 2s ease 0s 1 normal;
}

@keyframes c02FadeIn {
            0% {
                opacity: 0;
                transform: translateY(15%);
            }

            10% {
                opacity: 0;
                transform: translateY(15%);
            }

            60% {
                opacity: 1;
                transform: translateY(0);
            }
        }

.mv .mv-c03{
    position: absolute;
    top: 16.722222%;
    left: 6.375000%;
    width: 47.500000%;
    text-indent: -9999px;
    aspect-ratio: 380 / 458;
    background: url(../images/common/mv_c03.png) center / cover no-repeat;
    animation: c03FadeIn 2s ease 0s 1 normal;
}

@keyframes c03FadeIn {
            0% {
                opacity: 0;
                transform: translateY(15%);
            }

            20% {
                opacity: 0;
                transform: translateY(15%);
            }

            70% {
                opacity: 1;
                transform: translateY(0);
            }
        }

.mv .mv-c04{
    position: absolute;
    top: 20.222222%;
    left: 46.125000%;
    width: 47.375000%;
    text-indent: -9999px;
    aspect-ratio: 379 / 458;
    background: url(../images/common/mv_c04.png) center / cover no-repeat;
    animation: c04FadeIn 2s ease 0s 1 normal;
}

@keyframes c04FadeIn {
            0% {
                opacity: 0;
                transform: translateY(15%);
            }

            30% {
                opacity: 0;
                transform: translateY(15%);
            }

            80% {
                opacity: 1;
                transform: translateY(0);
            }
        }

.mv .mv-kira{
    position: absolute;
    top: -0.333333%;
    left: -0.875000%;
    width: 99.625000%;
    text-indent: -9999px;
    aspect-ratio: 797 / 1048;
    background: url(../images/common/mv_kira2.png) center / cover no-repeat;
    animation: kiraFadeIn 2s ease 0s 1 normal;
}

@keyframes kiraFadeIn {
            0% {
                opacity: 0;
            }

            40% {
                opacity: 0;
            }

            90% {
                opacity: 1;
            }
        }



/* =========================================================
   Menu Button
========================================================= */

.menu-button {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1200;

    width: 50px;
    height: 50px;
    background: var(--color-main);

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    box-shadow: 0 0 4px #333;
    border: 5px;
}

.menu-button-line {
    position: absolute;
    left: 10px;

    width: 30px;
    height: 2px;

    background: #fff;

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

.menu-button-line:nth-child(1) {
    top: 15px;
}

.menu-button-line:nth-child(2) {
    top: 24px;
}

.menu-button-line:nth-child(3) {
    top: 33px;
}


/* Menu Open */

.menu-button.is-active{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.menu-button.is-active .menu-button-line:nth-child(1) {
    opacity: 0;
    transform: translateY(9px);
}

.menu-button.is-active .menu-button-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-button.is-active .menu-button-line:nth-child(3) {
    opacity: 0;
    transform: translateY(-9px);
}


/* =========================================================
   Navigation
========================================================= */

.global-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;

    width: min(400px, 85vw);
    height: 100dvh;

    background: #fff;

    visibility: hidden;
    transform: translateX(100%);

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

.global-nav.is-active {
    visibility: visible;
    transform: translateX(0);
}

.global-nav-inner {
    height: 100%;
    overflow-y: auto;

    padding:
        var(--header-height)
        30px;
}

.logo{
    width: 150px;
    margin-inline: auto;
    margin-bottom: 3em;
}

.global-nav-list {
    display: grid;
}

.global-nav-list li{
    border-top: 1px solid var(--color-gold);
    text-align: center;
  font-weight: 400;
  font-style: normal;
}

.global-nav-list li:last-child{
    border-bottom: 1px solid var(--color-gold);
}

.global-nav-list a {
    display: block;
    padding-block: 1em;
    color: var(--color-main);
}


/* =========================================================
   Close Button
========================================================= */

.menu-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;

    width: 50px;
    height: 50px;

    opacity: 0;
    transform: rotate(-90deg);

    transition:
        opacity 0.4s ease 0.1s,
        transform 0.4s ease 0.1s;
}

.global-nav.is-active .menu-close {
    opacity: 1;
    transform: rotate(0);
}

.menu-close span {
    position: absolute;
    top: 24px;
    left: 10px;

    width: 30px;
    height: 2px;

    background: var(--color-main2);
}

.menu-close span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-close span:nth-child(2) {
    transform: rotate(-45deg);
}


/* =========================================================
   Overlay
========================================================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;

    background: rgba(0, 0, 0, 0.6);

    opacity: 0;
    visibility: hidden;

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

.menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

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


section {
    margin-block: var(--section-margin);
}

h2 {
    font-size: 1.4em;
    line-height: 1.5;
    color: var(--color-main);
    text-align: center;
    border-top: 1px solid var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
    margin-bottom: 5vh;
    padding-block: 1em;
  font-weight: bold;
  font-style: normal;
  font-family: "Noto Serif JP", serif;
  position: relative;
}

h2::before{
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: url("../images/common/h2before.png") top center / 180px 24px no-repeat;
}

h2::after{
    content: "";
    position: absolute;
    bottom: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: url("../images/common/h2after.png") top center / 180px 24px no-repeat;
}

h2 span{
    font-size: 0.8em;
}

h3{
    color: var(--color-main);
    margin-block: 2em;
    font-family: "Noto Serif JP", serif;
    font-size: 1.2em;
    border-bottom: 1px solid var(--color-gold);
}

.read{
    text-align: left;
    font-weight: bold;
}

.read span{
    color: var(--color-cc01);
}

ul.book-list{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 1em;
    grid-row-gap:2em;
    margin-top: 2em;
}

ul.book-list > li {
    display: flex;
    flex-direction: column;
}

ul.book-list .cover{
    width: 100%;
    margin-inline: auto;
}

ul.book-list .cover img{
    box-shadow: 0 0 4px #333;
}

ul.book-list .title{
    font-size: 1.1em;
  font-style: normal;
  font-family: "Noto Serif JP", serif;
  line-height: 1.4;
  margin-block: 1em 0;
  flex-grow: 1;
}

ul.book-list .author1{
    font-size: 0.8em;
    color: var(--color-main);
}

ul.book-list .author2{
    font-size: 0.8em;
    color: var(--color-main2);
}

ul.book-list .btn-ss{
    margin-block: 1em 0.7em;
}

ul.book-list .btn-ss a{
    display: block;
    text-align: center;
    background: #D9AD4E;
    background: linear-gradient(0deg, rgba(217, 173, 78, 1) 0%, rgba(166, 128, 38, 1) 100%);
    color: #fff;
    border-radius: 30px;
    padding: 0.2em;
    border: 2px solid #fff;
    box-shadow: 0 0 4px #333;
    text-shadow: 0 0 4px #333;
}

ul.book-list .btn-ss a::before {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    content: "\f15c";
    margin-right: 0.5em;
    color: #ff0;
}

ul.book-list .btn-trial a{
    display: block;
    text-align: center;
    background: #E13D55;
    background: linear-gradient(0deg, rgba(225, 61, 85, 1) 0%, rgba(190, 9, 27, 1) 100%);
    color: #fff;
    border-radius: 30px;
    padding: 0.2em;
    border: 2px solid #fff;
    box-shadow: 0 0 4px #333;
    text-shadow: 0 0 4px #333;
}

ul.book-list .btn-trial a::before {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    content: "\f02d";
    margin-right: 0.5em;
    color: #ff0;
}

ul.bonus-list{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 1em;
    grid-row-gap:2em;
    margin-top: 2em;
}

ul.bonus-list .title{
    font-size: 1.1em;
  font-style: normal;
  font-family: "Noto Serif JP", serif;
  line-height: 1.4;
  margin-block: 1em 0;
}

ul.bonus-list .cover img{
    box-shadow: 0 0 4px #333;
}


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

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

.num{
    font-size: 1.6em;
    font-family: 'Oswald', sans-serif;
    margin-right: 0.1em;
    vertical-align: baseline;
    font-weight: 700;
}

hr{
    border: none;
    border-top: 1px solid #7ba32c;
    margin-block: 5vh;
}

.fair-pic{
    margin-block: 3em;
    margin-inline: auto;
    width: min(100% , 700px);
    box-shadow: 0 0 4px #333;
}

.btn{
    margin-block: 2em;
    margin-inline: auto;
    width: min(100% , 500px);
}

.btn a{
    display: block;
    text-align: center;
    background: #E13D55;
    background: linear-gradient(0deg, rgba(225, 61, 85, 1) 0%, rgba(190, 9, 27, 1) 100%);
    color: #fff;
    border-radius: 30px;
    padding: 0.5em;
    border: 2px solid #fff;
    box-shadow: 0 0 4px #333;
    text-shadow: 0 0 4px #333;
}

.btn a::before {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    content: "\f304";
    margin-right: 0.5em;
    color: #ff0;
}

.mini{
    font-size: 0.9em;
    color: var(--color-gold);
}

/* =========================================================
   shop-list
========================================================= */

.shop-list {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 2em;
}

.shop-list li {
    display: grid;
    grid-template-columns: 5em minmax(0, 1fr);
    gap: 1em;
    padding: 0.4em 0.5em;
    font-size: 0.9em;
}

.shop-list li:nth-child(even) {
    background: #f5f3ef;
}

.shop-list .pref {
    font-weight: bold;
    color: var(--color-main2);
}

.shop-list .shop {
    min-width: 0;
}


/* =========================================================
   main-navi
========================================================= */


.main-navi-wrap{
    width: min(
        calc(100% - var(--side-padding) * 2),1000px);
    margin-inline: auto;
    margin-top: -5vh;
}

.main-navi-wrap ul{
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap:10px;
    grid-row-gap:10px;
}

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

.footer {
    padding: var(--section-paddig);
    background: var(--color-main2);
    color: var(--color-bg);
    text-align: left;
}

/* =========================================================
   Fade
========================================================= */

.js-fade {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.js-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}


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

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

    display: grid;
    place-items: center;

    width: 56px;
    height: 56px;

    background: var(--color-main);
    color: #fff;

    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);
    
    box-shadow: 0 0 4px #333;
}

.page-top.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

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


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

@media (min-width: 768px) {

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

    :root {
        --side-padding: 20px;
        --frame-width: 120px;
        --header-height: 90px;
        --section-margin: 70px;
        --section-paddig: 70px;
    }

    .global-nav-inner {
    height: 100%;
    overflow-y: auto;
    padding:
        var(--header-height)
        40px;
}
    
    .header {
    width: 100%;
    height: var(--header-height);
}

    .header-inner {
    padding-inline: 20px;
}

.mv-bg{
    width: 100%;
    background: url("../images/common/mv_bg.png") top center / contain repeat-x;
}

.mv-wrap{
    width: min(100% , var(--mv-width));
    margin-inline: auto;
}

.mv{
    width: 100%;
    aspect-ratio: 1200 / 1010;
    position: relative;
}

.mv h1{
    position: absolute;
    top: 56.732673%;
    left: 2.916667%;
    width: 34.583333%;
    text-indent: -9999px;
    aspect-ratio: 1 / 1;
    background: url(../images/common/mv_logo.png) center / cover no-repeat;
    animation: logoFadeIn 2s ease 0s 1 normal;
}

.mv .mv-read{
    position: absolute;
    top: 64.059406%;
    left: 0.000000%;
    width: 100%;
    text-indent: -9999px;
    aspect-ratio: 1200 / 256;
    background: url(../images/common/mv_read.png) center / cover no-repeat;
    animation: readFadeIn 2s ease 0s 1 normal;
}

.mv .mv-c01{
    position: absolute;
    top: 4.059406%;
    left: 0.083333%;
    width: 31.583333%;
    text-indent: -9999px;
    aspect-ratio: 379 / 458;
    background: url(../images/common/mv_c01.png) center / cover no-repeat;
    animation: c01FadeIn 2s ease 0s 1 normal;
}

.mv .mv-c02{
    position: absolute;
    top: 18.712871%;
    left: 22.750000%;
    width: 31.666667%;
    text-indent: -9999px;
    aspect-ratio: 380 / 458;
    background: url(../images/common/mv_c02.png) center / cover no-repeat;
    animation: c02FadeIn 2s ease 0s 1 normal;
}

.mv .mv-c03{
    position: absolute;
    top: 4.059406%;
    left: 45.666667%;
    width: 31.666667%;
    text-indent: -9999px;
    aspect-ratio: 380 / 458;
    background: url(../images/common/mv_c03.png) center / cover no-repeat;
    animation: c03FadeIn 2s ease 0s 1 normal;
}

.mv .mv-c04{
    position: absolute;
    top: 18.712871%;
    left: 68.333333%;
    width: 31.583333%;
    text-indent: -9999px;
    aspect-ratio: 379 / 458;
    background: url(../images/common/mv_c04.png) center / cover no-repeat;
    animation: c04FadeIn 2s ease 0s 1 normal;
}

.mv .mv-kira{
    position: absolute;
    top: 2.079208%;
    left: 0.833333%;
    width: 98.166667%;
    text-indent: -9999px;
    aspect-ratio: 1178 / 568;
    background: url(../images/common/mv_kira.png) center / cover no-repeat;
    animation: kiraFadeIn 2s ease 0s 1 normal;
}

.main-navi-wrap{
    width: min(
        calc(100% - var(--side-padding) * 2),1000px);
    margin-inline: auto;
    margin-top: -60px;
}

.main-navi-wrap ul{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap:10px;
    grid-row-gap:10px;
}

    .menu-button {
    top: 20px;
    right: 20px;
}

    .menu-close {
    top: 20px;
    right: 20px;
}

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


h2 {
    font-size: 1.6em;
    text-align: center;
    border-top: 1px solid var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
    margin-bottom: 50px;
    padding-block: 1em;
  font-weight: bold;
  font-style: normal;
  font-family: "Noto Serif JP", serif;
  position: relative;
}

h2::before{
    content: "";
    position: absolute;
    top: -32px;
    left: 0;
    width: 100%;
    height: 32px;
    background: url("../images/common/h2before.png") top center / 237px 32px no-repeat;
}

h2::after{
    content: "";
    position: absolute;
    bottom: -32px;
    left: 0;
    width: 100%;
    height: 32px;
    background: url("../images/common/h2after.png") top center / 237px 32px no-repeat;
}

.read{
    text-align: center;
    font-weight: bold;
}

ul.book-list{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-column-gap: 2em;
    grid-row-gap:3em;
    margin-top: 3em;
}

ul.bonus-list{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-column-gap: 2em;
    grid-row-gap:2em;
    margin-top: 2em;
}


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

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


    .footer {
    text-align: center;
}

hr{
    margin-block: 50px;
}

.shop-list {
        display: block;
        column-count: 2;
        column-gap: 40px;
    }

    .shop-list li {
        break-inside: avoid;
    }



}

/* =========================================================
   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;
    }

}