@charset "utf-8";

/* サイト共通のやつ　ここから */
html {
    font-size: 100%;
}

body {
    color: #1E1D27;
    font-family: 'Roboto', 'Zen Kaku Gothic New', 'Kolker Brush', sans-serif;
    font-weight: 400;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
}

a {
    color: #1E1D27;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

* {
    box-sizing: border-box;
}

.to-top {
    position: fixed;
    bottom: 50px;
    right: 8%;
    z-index: 700;
}

.to-top img {
    width: 150px;
}

@media screen and (max-width: 768px) {
    .to-top {
        position: fixed;
        bottom: 50px;
        right: 5%;
        z-index: 700;
    }

    .to-top img {
        width: 100px;
    }
}

/* サイト共通のやつ　ここまで */
/* ここからフェードインのコード */

.fadein-left,
.fadein-right,
.fadein-up {
    opacity: 0;
    transition: none;
    /* GSAPと競合しないように */
}

.fadein-left {
    transform: translateX(-50px);
}

.fadein-right {
    transform: translateX(50px);
}

.fadein-up {
    transform: translateY(50px);
}

/* ここまでフェードインのコード */
/* セクション以降の全体を包む背景 */
.petals-area {
    position: relative;
    background-color: #1E2E53;
    overflow: hidden;
}

.petal-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* particles.js のキャンバスを全面に広げる */
#particles-js-0,
#particles-js-1,
#particles-js-2,
#particles-js-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* 背景として裏側 */
    pointer-events: none;
    /* クリック操作を邪魔しない */
}

/* particles.js の canvas を透明にする */
.particles-js-canvas-el {
    background: transparent !important;
}

.petals-control {
    position: relative;
    z-index: 10;
}

/* ヘッダーはここから（PC版） */

#header {
    position: fixed;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #882F41;
    opacity: 0.8;
    padding: 0 50px;
    z-index: 1000;
}

#header .header-logo {
    width: 100%;
    max-height: 100px;
}

#header .header-logo a {
    display: block;
}

#header .header-logo a img {
    max-height: 100px;
}

#header .global-navi {
    display: flex;
    padding: 0 30px;
}

#header .global-navi .menu-list {
    display: flex;
    align-items: center;
}

#header .global-navi .menu-list * {
    color: #FAFAFA;
    font-family: Roboto;
    font-size: 24px;
    margin: 0 35px;
}

#header .global-navi .menu-icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2列 */
    grid-template-rows: repeat(2, 1fr);
    /* 2行 */
    gap: 0;
    /* アイコンの間隔 */
    width: 100px;

}

#header .sp-only {
    display: none;
}

/* ヘッダーはここまで（PC版） */
/* ヘッダーはここまで（SP版） */
@media screen and (max-width: 768px) {

    /* ヘッダーはここから（レスポンシブ対応） */
    #header {
        height: 80px;

    }

    #header .header-logo {
        margin-top: 3%;
        margin-left: -2%;
        width: 50%;
    }

    #header .hamburger {
        width: 50px;
        height: 50px;
        cursor: pointer;
        position: absolute;
        top: 15%;
        right: 5%;
        z-index: 550;
    }

    #header .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #FAFAFA;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition: all 0.4s;
    }

    #header .hamburger span:nth-of-type(1) {
        top: 16px;
    }

    #header .hamburger span:nth-of-type(2) {
        top: 25px;
    }

    #header .hamburger span:nth-of-type(3) {
        top: 34px;
    }

    #header .sp-only {
        display: block;
        width: 50px;
    }

    #header .global-navi .menu-icon {
        display: flex;
        position: relative;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        width: 100%;


    }

    #header .global-navi {
        width: 100%;
        height: 100vh;
        background-color: #882F41;
        opacity: 0.8;
        position: fixed;
        top: 0;
        right: -100vw;
        display: flex;
        flex-direction: column;
        z-index: 520;
        transition: all 0.6s;
    }

    #header .global-navi .menu-list {
        width: 100%;

        flex-direction: column;
        padding: 50px 0;
        margin: 0 auto;
        overflow: auto;
    }

    #header .global-navi .menu-list * {
        color: #FAFAFA;
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 10px 0;
        margin: 0 auto;
    }

    #header .global-navi.active {
        right: 0;
    }

    #header .global-navi.active * {
        top: 30px;
    }

    #header .hamburger.active {
        top: 50px;
        right: 20px;
    }

    #header .hamburger.active span:nth-of-type(1) {
        top: 24px;
        transform: rotate(-45deg);
    }

    #header .hamburger.active span:nth-of-type(2) {
        opacity: 0;
    }

    #header .hamburger.active span:nth-of-type(3) {
        top: 24px;
        transform: rotate(45deg);
    }

}

/* ヘッダーはここまで（レスポンシブ対応） */
/* FVはここから */
.fv-section {
    background-image: url(../img/mainvisual.png);
    background-size: cover;
    background-position: center;
    min-height: 130vh;
    padding: 120px 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;

}

.fv-section .fv-logo {
    width: 60%;
    margin-bottom: 30px;

}

.fv-section .fv-text {
    position: absolute;
    left: 5%;
    bottom: 15%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FAFAFA;


}

.fv-section .fv-text .fv-date {
    font-size: 128px;
}

.fv-section .fv-text .fv-time {
    font-size: 32px;
    padding-top: 80px;
    padding-left: 10px;
    padding-right: 10px;
}

.fv-section .fv-text .fv-sale {
    min-width: 6rem;
    padding-top: 55px;
    font-size: 64px;
}

.fv-section .fv-store-icon {
    position: absolute;
    left: 6%;
    bottom: 5%;
    display: flex;
    flex-direction: row;
}

.fv-section .fv-store-icon img {
    width: 300px;

}

/* FVはここまで */
/* FVはここから(レスポンシブ対応) */
@media screen and (max-width: 768px) {
    .fv-section {
        background-image: url(../img/FV-SP-ver.png);
        background-size: cover;
        background-position: center;
        min-height: 80vh;
        width: 100%;
        padding: 0%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        position: relative;

    }

    .fv-section .fv-logo {
        display: none;

    }

    .fv-section .fv-text {
        position: absolute;
        left: 5%;
        bottom: 20%;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 20px;
        font-weight: bold;
        color: #FAFAFA;

    }

    .fv-section .fv-text .fv-date {
        font-size: 24px;
    }

    .fv-section .fv-text .fv-time {
        font-size: 14px;
        padding-top: 7px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .fv-section .fv-text .fv-sale {
        min-width: 6rem;
        padding-top: 5px;
        font-size: 20px;
    }

    .fv-section .fv-store-icon {
        position: absolute;
        left: 2%;
        bottom: 2%;
        display: flex;
        flex-direction: row;
    }

    .fv-section .fv-store-icon img {
        width: 140px;

    }
}

/* FVはここまで(レスポンシブ対応) */
/* PVセクションはここから */
.pv-section {
    width: 100%;
    padding: 120px 80px;
    text-align: center;
    color: #FAFAFA;
}

.pv-title {
    font-size: 64px;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
    font-family: Roboto;
    color: #C2C1C1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pv-title::before {
    content: "";
    background: url("../img/ornament-left.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-right: 15px;
    display: inline-block;
}

.pv-title::after {
    content: "";
    background: url("../img/ornament-right.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-left: 15px;
    display: inline-block;
}

.pv-wrapper img {
    width: 784px;
    /* デザインカンプと同サイズ */
    height: auto;
    border: 4px solid #d7b44a;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.pv-wrapper img:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

/* PVセクションはここまで（レスポンシブ対応） */
@media screen and (max-width: 768px) {

    .pv-section {
        padding: 60px 30px;
    }

    .pv-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .pv-title::before {
        width: 100px;
        height: 40px;
    }

    .pv-title::after {
        width: 100px;
        height: 40px;
    }

    .pv-wrapper img {
        width: 90%;
        /* SPは自動で縮小 */
        max-width: 360px;
        border-width: 2px;
    }
}

/* PVセクションはここまで（レスポンシブ対応） */

/* storyセクションはここから */
.story-section {
    width: 100%;
    padding: 120px 80px;
    background-image: url(../img/dining.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    align-items: center;
    /* 中央寄せ */
    color: #FAFAFA;
}

.story-section .section-title {
    font-size: 64px;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
    font-family: Roboto;
    color: #C2C1C1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-section .section-title::before {
    content: "";
    background: url("../img/ornament-left.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-right: 15px;
    display: inline-block;
}

.story-section .section-title::after {
    content: "";
    background: url("../img/ornament-right.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-left: 15px;
    display: inline-block;
}

.story-section .story-text {
    max-width: 900px;
    /* 行幅を制御して読みやすく */
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    /* 文章の間隔だけCSSで統一 */
    font-size: 18px;
    line-height: 1.8;
}

/* storyセクションはここまで */
/* storyセクションはここから（レスポンシブ対応） */
@media screen and (max-width: 768px) {
    .story-section {
        padding: 60px 30px;
        background-position: center top;
        /* SPは構図がズレやすいので上寄せに */
        text-align: left;
    }

    .story-section .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .story-section .section-title::before {
        width: 100px;
        height: 40px;
    }

    .story-section .section-title::after {
        width: 100px;
        height: 40px;
    }

    .story-section .story-text {
        font-size: 16px;
        line-height: 1.8;
        gap: 1.4rem;
    }
}

/* storyセクションはここまで（レスポンシブ対応） */
/* characterセクションはここから */
.character-section {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 80px 0;
    align-items: center;
    /* 中央寄せ */
    color: #FAFAFA;
}

.character-section .section-title {
    text-align: center;
    font-size: 64px;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
    font-family: Roboto;
    color: #C2C1C1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-section .section-title::before {
    content: "";
    background: url("../img/ornament-left.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-right: 15px;
    display: inline-block;
}

.character-section .section-title::after {
    content: "";
    background: url("../img/ornament-right.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-left: 15px;
    display: inline-block;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px;
    justify-items: center;
    margin-top: 80px;
    position: relative;
}

/* キャラクターカードの共通設定 */
.character-card {
    width: 420px;
    height: 520px;
    padding: 20px;
    border: 12px double #d7b44a;
    position: relative;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
    z-index: 100;
}

.character-card::before {
    content: "";
    position: absolute;
    top: -18px;
    left: -18px;
    right: -18px;
    bottom: -18px;
    border: 8px solid #d7b44a;
    /* 外側を太く */
    pointer-events: none;
    z-index: 50;
}

.character-card .serif-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: auto;
    /* 自動で上に寄る */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    /* 背景画像に埋もれない */
}

.character-card .name-plate {
    background-image: url(../img/name-ornament.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 280px;
    height: 117px;
    margin-top: auto;
    margin-left: 80px;
    padding: 20px;
    text-align: start;
}

.character-card .character-name-en {
    padding-left: 5px;
    font-size: 14px;
    font-family: Roboto;
}

.character-card .character-name-jp {
    padding-left: 5px;
    font-size: 18px;
    font-family: Zen Kaku Gothic New;
}

.character-card .cv-name {
    padding-left: 5px;
    font-family: Zen Kaku Gothic New;
    font-size: 14px;
}

/* --- 左右のズラし（スクショ再現） --- */

/* 左上：基準 */
.c1 {
    background-image: url(../img/Elysia-Waltreid.png);

}

/* 右上：右にずらす */
.c2 {
    background-image: url(../img/Shinomiya-Mio.png);

    margin-top: 300px;
}

/* 左下：少し右に寄せる → スクショ通り */
.c3 {
    background-image: url(../img/Mireille-Lafarge.png);

}

/* 右下：少し左に寄せる */
.c4 {
    background-image: url(../img/Vera-Glanz.png);

    margin-top: 300px;
}

/* デフォルトはPC：スライダー非表示、グリッド表示 */
.character-slider {
    display: none;
}

.character-grid {
    display: grid;
}

/* characterセクションはここまで */
/* characterセクションはここから（レスポンシブ対応） */
/* SP時はスライダーを表示してグリッドを隠す */
@media screen and (max-width: 768px) {
    .character-section {
        width: 90%;
        height: auto;
        max-width: 375px;
        margin: 0 auto;
        padding: 20px 0;
        align-items: center;
        /* 中央寄せ */
        color: #FAFAFA;
    }

    .character-section .section-title {
        font-size: 24px;
        margin-bottom: 10px;
        letter-spacing: 0.02em;
        font-family: Roboto;
    }

    .character-section .section-title::before {
        width: 100px;
        height: 40px;
        margin-right: 5px;
    }

    .character-section .section-title::after {
        width: 100px;
        height: 40px;
        margin-left: 5px;
    }

    .character-grid {
        display: none;
    }

    .character-slider {
        display: block;
    }

    .character-card {
        width: 85%;
        max-width: 300px;
        margin: 0 auto;
        height: 400px;
        padding: 10px;
        border-width: 8px;
    }

    .character-card::before {
        top: -14px;
        left: -14px;
        right: -14px;
        bottom: -14px;
        border-width: 6px;
    }

    .character-card .name-plate {
        width: 220px;
        height: 90px;
        margin-left: 40px;
    }

    .character-card .serif-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .character-card .character-name-en {
        padding-left: 5px;
        font-size: 11px;
        font-family: Roboto;
    }

    .character-card .character-name-jp {
        padding-left: 5px;
        font-size: 14px;
        font-family: Zen Kaku Gothic New;
    }

    .character-card .cv-name {
        padding-left: 5px;
        font-family: Zen Kaku Gothic New;
        font-size: 11px;
    }


    /* slick のデフォルトアイコンを無効化してカスタムする */
    .character-slider .slick-prev:before {
        content: "〈";
        color: #d7b44a;
        font-size: 32px;
    }

    .character-slider .slick-next:before {
        content: "〉";
        color: #d7b44a;
        font-size: 32px;
    }

    /* ボタン本体は背景なしでOK */
    .character-slider .slick-prev,
    .character-slider .slick-next {
        background: none;
        border: none;
        z-index: 20;
        text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
    }

    .character-slider .slick-prev {
        left: -21px;
    }

    .character-slider .slick-next {
        right: -10px;
    }


    /* SP用 slick dots 強制表示 */
    .character-slider .slick-dots {
        position: relative;
        bottom: 0;
        margin-top: 20px;
        text-align: center;
        display: block !important;
        z-index: 30;
    }

    .character-slider .slick-dots li {
        display: inline-block;
        margin: 0 6px;
    }

    .character-slider .slick-dots li button:before {
        font-size: 15px;
        color: #d7b44a;
        opacity: 0.8;
    }

    .character-slider .slick-dots li.slick-active button:before {
        opacity: 1;
        color: #FAFAFA;
    }
}

/* characterセクションはここまで （レスポンシブ対応）*/
/* newsセクションはここから */
.news-section {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

.news-section .section-title {
    text-align: center;
    font-size: 64px;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
    font-family: Roboto;
    color: #C2C1C1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-section .section-title::before {
    content: "";
    background: url("../img/ornament-left.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-right: 15px;
    display: inline-block;
}

.news-section .section-title::after {
    content: "";
    background: url("../img/ornament-right.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-left: 15px;
    display: inline-block;
}

.news-slider {
    margin-top: 10px;
}

.news-item {
    padding: 10px;
    text-align: left;
    margin: 0 10px;
    /* slick の各スライド間の余白 */
}

.news-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 12px;
}

.news-item-title {
    font-size: 12px;
    color: #d7b44a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    font-family: Roboto;
}

.news-item-title::before {
    content: "";
    background: url("../img/text-ornament_lion.png") no-repeat center/contain;
    width: 30px;
    height: 30px;
    margin-right: 6px;
    display: inline-block;

}

.news-item-text {
    font-family: Zen Kaku Gothic New;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #FAFAFA;
    margin-left: 30px;
}

.news-item-date {
    font-family: Zen Kaku Gothic New;
    font-size: 12px;
    color: #FAFAFA;
    display: block;
    text-align: right;
}

/* slick デフォルトアイコンをカスタム */
.news-slider .slick-prev:before {
    content: "〈";
    color: #d7b44a;
    font-size: 32px;
}

.news-slider .slick-next:before {
    content: "〉";
    color: #d7b44a;
    font-size: 32px;
}

/* ボタン本体 */
.news-slider .slick-prev,
.news-slider .slick-next {
    background: none;
    border: none;
    z-index: 20;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

.news-slider .slick-prev {
    left: -30px;
}

.news-slider .slick-next {
    right: -30px;
}

.news-slider .slick-dots li button:before {
    font-size: 15px;
    color: #d7b44a;
    opacity: 0.8;
}

.news-slider .slick-dots li.slick-active button:before {
    color: #FAFAFA;
    opacity: 1;
}

/* newsセクションはここまで */
/* newsセクションはここから（レスポンシブ対応）*/
@media screen and (max-width: 768px) {
    .news-section {
        margin: 0 auto;
    }

    .news-section .section-title {
        font-size: 24px;
        margin-bottom: 10px;
        letter-spacing: 0.1em;
        font-family: Roboto;
    }

    .news-section .section-title::before {
        width: 100px;
        height: 40px;
    }

    .news-section .section-title::after {
        width: 100px;
        height: 40px;
    }

    .news-item {
        margin: 0 5px;
    }

    .news-slider .slick-prev {
        left: -26px;
    }

    .news-slider .slick-next {
        right: -15px;
    }

    /* ドットは下に余白つけると見やすい */
    .news-slider .slick-dots {
        bottom: -20px;
    }
}

/* newsセクションはここまで（レスポンシブ対応）*/
/* システム画面セクションはここから */
.system-section {
    width: 90%;
    max-width: 1100px;
    margin: 80px auto;
}

/* ▼ セクションタイトル（NEWSと統一） */
.system-section .section-title {
    text-align: center;
    font-size: 64px;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
    font-family: Roboto;
    color: #C2C1C1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.system-section .section-title::before {
    content: "";
    background: url("../img/ornament-left.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-right: 15px;
    display: inline-block;
}

.system-section .section-title::after {
    content: "";
    background: url("../img/ornament-right.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-left: 15px;
    display: inline-block;
}

/* ▼ 各ブロック（会話・選択肢・結末） */
.play-talk-wrapper,
.play-choice-wrapper,
.play-ending-wrapper {
    margin-bottom: 90px;
}

/* ▼ 動画サムネイル */
.video-box {
    width: 100%;
    margin-bottom: 20px;
}

.video-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* ▼ テキスト（右側部分） */
.play-wrapper {
    padding: 0 5px;
    text-align: center;
}

.play-title {
    font-size: 24px;
    font-family: Zen Kaku Gothic New;
    color: #d7b44a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.play-text {
    font-family: Zen Kaku Gothic New;
    font-size: 16px;
    color: #FAFAFA;
    line-height: 1.7;
}

/* システム画面セクションはここまで */
/* システム画面セクションはここから（レスポンシブ対応） */
@media screen and (max-width: 768px) {

    .system-section {
        margin: 40px auto;
    }

    .system-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .play-title {
        font-size: 20px;
    }

    .play-text {
        font-size: 14px;
    }

    .play-talk-wrapper,
    .play-choice-wrapper,
    .play-ending-wrapper {
        margin-bottom: 30px;
    }

    .system-section .section-title::before,
    .system-section .section-title::after {
        width: 100px;
        height: 40px;
    }
}

/* システム画面セクションはここから（レスポンシブ対応） */
/* スペック表記セクションはここから */
.system-requirements-section {
    position: relative;
    padding: 80px 0;
}

/* タイトル中央揃え */
.system-requirements-section .section-title {
    text-align: center;
    color: #C2C1C1;
    margin-bottom: 60px;
    font-size: 64PX;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.02em;
}

.system-requirements-wrapper .text-wrapper {
    padding: 20px;
    margin-left: 40px;
}

.system-requirements-section .section-title::before {
    content: "";
    background: url("../img/ornament-left.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-right: 15px;
    display: inline-block;
}

.system-requirements-section .section-title::after {
    content: "";
    background: url("../img/ornament-right.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-left: 15px;
    display: inline-block;
}

/* ▶ 二重枠（外側） */
.system-requirements-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 70px;
    border: 15px solid #C79A2B;
    /* 外側の太い金枠 */
}

/* ▶ 二重枠（内側） :before */
.system-requirements-wrapper::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 5px solid #C79A2B;
    /* 内側の細い金枠 */
    pointer-events: none;
}

/* ▼ PC版 & 推奨動作環境だけ横並びにする */
.system-requirements-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.system-requirements-row .text-wrapper {
    margin: 40px;
}

/* 横並び時の各ブロック幅 */
.system-requirements-row>div {
    flex: 1 1 50%;
    min-width: 300px;
}

/* 見出し */
.system-requirements-title {
    color: #FAFAFA;
    margin-bottom: 10px;
    font-size: 24px;
}

/* 文章 */
.system-requirements-text li {
    font-size: 16px;
    color: #FAFAFA;
    line-height: 1.6;
}

/* アイコン（下のSteam / Switch） */
.icon-wrapper {
    text-align: center;
    margin-top: 40px;
}

.icon {
    display: inline-flex;
    gap: 30px;
    align-items: center;
}

.icon img {
    width: 300px;
    height: auto;
}

/* スペック表記セクションはここまで */
/* スペック表記セクションはここから（レスポンシブ対応） */
@media (max-width: 768px) {
    .system-requirements-row .text-wrapper {
        margin: 10px;
    }

    .system-requirements-wrapper .text-wrapper {
        margin: 10px;
    }

    .system-requirements-wrapper {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px 10px;
        border: 10px solid #C79A2B;
        /* 外側の太い金枠 */
    }

    .system-requirements-wrapper::before {
        content: "";
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: 12px;
        border: 5px solid #C79A2B;
        /* 内側の細い金枠 */
        pointer-events: none;
    }

    .system-requirements-section .section-title {
        margin-bottom: 20px;
        font-size: 21PX;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .system-requirements-section .section-title::before {
        width: 100px;
        height: 40px;
        margin-right: -30px;
    }

    .system-requirements-section .section-title::after {
        width: 100px;
        height: 40px;
        margin-left: -30px;
    }

    .system-requirements-title {
        color: #FAFAFA;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .system-requirements-text li {
        font-size: 14px;
        color: #FAFAFA;
        line-height: 1.6;
        max-width: 200px;
    }

    .system-requirements-row {
        flex-direction: column;
        gap: 30px;
    }

    .system-requirements-section {
        padding: 40px 0;
    }

    .icon {
        gap: 5px;
    }

    .icon img {
        width: 120px;
        height: auto;
    }
}

/* スペック表記セクションはここまで（レスポンシブ対応） */
/* フッターはここから */
footer {
    background-color: #8a2430;
    /* カンプの赤背景 */
    padding: 50px 60px;
    color: #fff;
    text-align: start;
}

/* 1. フッターメニュー（横並び） */
.footer-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.footer-menu a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    opacity: 0.9;
}

.footer-menu a:hover {
    opacity: 1;
}

/* 2. 注意書き（縦） */
.caution ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.caution li {
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 5px;
}

/* 3. 企業ロゴ + 著作権表記（横並び） */
.copyright-wrapper {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    margin-left: -20px;
    flex-wrap: wrap;
}

.copyright-wrapper-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.copyright-wrapper img {
    width: 100px;
    /* ロゴの大きさは調整可 */
}

/* 著作権表記は縦並び */
.copyright {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    text-align: left;
}

.copyright li {
    margin-bottom: 4px;
    opacity: 0.85;
}

/* 4. SNSアイコン（横並び） */
.sns-icon {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 5px;
    margin-left: 60px;
}

.sns-icon img {
    width: 80px;
    height: 80px;
    transition: opacity 0.2s;
}

.sns-icon img:hover {
    opacity: 0.7;
}

/* フッターはここまで */
/* フッターはここから（レスポンシブ対応） */
@media screen and (max-width: 768px) {

    footer {
        padding: 40px 20px;
        text-align: center;
    }

    /* 1. フッターメニュー → 縦積み */
    .footer-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    /* 2. 注意書き → そのまま縦 */
    .caution ul {
        margin-bottom: 30px;
        text-align: center;
    }

    /* 3. copyright-wrapper → 基本縦積み */
    .copyright-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        gap: 20px;
    }

    /* --- ロゴ + 著作権だけ横にしたい部分 --- */
    .copyright-wrapper-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: nowrap;
    }

    /* 著作権リストは縦のまま */
    .copyright {
        text-align: left;
    }

    /* 4. SNSアイコン → 中央＆大きさ調整 */
    .sns-icon {
        margin-left: 0;
        justify-content: center;
        gap: 15px;
    }

    .sns-icon img {
        width: 60px;
        height: 60px;
    }
}

/* フッターはここから（レスポンシブ対応） */

/* ================================
   CHARACTER PAGE
================================ */

/* ▼ FV（背景画像は任意で差し替え） */
.fv-character {
    width: 100%;
    height: 60vh;
    min-height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../img/guest-room-1.png") center/cover no-repeat;
    position: relative;
}

.character-intro-title {
    font-family: "Roboto", sans-serif;
    font-size: 64px;
    letter-spacing: 0.02em;
    color: #C2C1C1;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.character-intro-title::before {
    content: "";
    background: url("../img/ornament-left.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-right: 15px;
    display: inline-block;
}

.character-intro-title::after {
    content: "";
    background: url("../img/ornament-right.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-left: 15px;
    display: inline-block;
}

/* ▼ キャラクター一覧全体 */
.character-intro {
    padding: 120px 0;
}

.character-wrapper {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px;
}


/* ▼ 各キャラカード（基本横並び） */
.character-intro-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
}

/* 交互レイアウト（右配置） */
.character-intro-card.reverse {
    flex-direction: row-reverse;
}


/* ▼ テキスト側 */
.character-intro-text {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.character-intro-serif-text {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 500;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #d7b44a;
}

.character-intro-name-plate {
    margin-top: 10px;
}

.character-intro-name-en {
    font-family: "Kolker Brush", cursive;
    font-size: 48px;
    color: #fff;
    letter-spacing: 0.05em;
}

.character-intro-name-jp {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-top: -5px;
}

.character-intro-cv-name {
    margin-top: 4px;
    color: #cfcaca;
    font-size: 14px;
}

.character-intro-desc {
    margin-top: 12px;
    line-height: 1.9;
    font-size: 16px;
    color: #e8e8e8;
}


/* ▼ 立ち絵側 */
.character-intro-visual {
    width: 45%;
    text-align: center;
}

.character-intro-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* =====================================
   SP レイアウト
===================================== */
@media screen and (max-width: 768px) {

    .character-intro-title {
        font-size: 24px;
    }

    .character-intro-title::before {
        width: 100px;
        height: 40px;
        margin-right: -30px;
    }

    .character-intro-title::after {
        width: 100px;
        height: 40px;
        margin-left: -30px;
    }

    .character-intro {
        padding: 80px 0;
    }

    .character-wrapper {
        gap: 80px;
    }

    .character-intro-card,
    .character-intro-card.reverse {
        flex-direction: column;
        gap: 32px;
    }

    .character-intro-text,
    .character-intro-visual {
        width: 100%;
    }

    .character-intro-serif-text {
        font-size: 18px;
    }

    .character-intro-name-en {
        font-size: 40px;
    }

    .character-intro-name-jp {
        font-size: 18px;
    }

    .character-intro-desc {
        font-size: 15px;
    }
}

/* ▼ STORY下層ページ FV */
.story-fv {
    width: 100%;
    height: 90vh;
    background: url('../img/bedroom.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.story-fv-inner {
    font-size: 64px;
    color: #C2C1C1;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.story-fv-inner::before {
    content: "";
    background: url("../img/ornament-left.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-right: 15px;
    display: inline-block;
}

.story-fv-inner::after {
    content: "";
    background: url("../img/ornament-right.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-left: 15px;
    display: inline-block;
}

/* ▼ STORY ブロック共通 */
.story-block {
    width: 100%;
    height: 100vh;
    padding: 400px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.story-text-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.35);
    padding: 40px 30px;
    border-radius: 12px;
    backdrop-filter: blur(3px);
    color: #fff;
}

.story-heading {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.story-text-wrap .story-text {
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
    .story-fv {
        height: 60vh;
    }

    .story-fv-inner {
        font-size: 24px;
    }

    .story-fv-inner::before {
        width: 100px;
        height: 40px;
        margin-right: 5px;
    }

    .story-fv-inner::after {
        width: 100px;
        height: 40px;
        margin-left: 5px;
    }

    .story-block {
        padding: 200px 15px;
    }

    .story-text-wrap {
        padding: 25px 20px;
    }

    .story-heading {
        font-size: 20px;
    }

    .story-text {
        font-size: 15px;
    }
}

/* ================================
   CREDIT PAGE
================================ */

/* ファーストビュー
-------------------------------- */
.credit-fv {
    position: relative;
    width: 100%;
    height: 45vh;
    background: url("../img/bedroom.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-fv-inner {
    font-family: "Roboto", cursive;
    font-size: 64px;
    color: #C2C1C1;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.08em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.credit-fv-inner::before {
    content: "";
    background: url("../img/ornament-left.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-right: 15px;
    display: inline-block;
}

.credit-fv-inner::after {
    content: "";
    background: url("../img/ornament-right.png") no-repeat center/contain;
    width: 250px;
    height: 95px;
    margin-left: 15px;
    display: inline-block;
}

/* CONTENT WRAP
-------------------------------- */
.credit-content {
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.credit-text-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 30px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    color: #f8f8f8;
}

/* Intro sentence */
.credit-intro {
    font-size: 1.4rem;
    line-height: 2.2;
    text-align: center;
    margin-bottom: 40px;
}

/* BOX */
.credit-box {
    margin-bottom: 40px;
}

.credit-heading {
    font-size: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 10px;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.credit-box p {
    line-height: 2;
    font-size: 1.6rem;
}

/* ------------------------------
   RESPONSIVE
-------------------------------- */
@media screen and (max-width: 768px) {

    .credit-fv {
        height: 32vh;
    }

    .credit-fv-inner {
        font-size: 24px;
    }

    .credit-fv-inner::before {
        width: 100px;
        height: 40px;
        margin-right: 5px;
    }

    .credit-fv-inner::after {
        width: 100px;
        height: 40px;
        margin-left: 5px;
    }

    .credit-text-wrap {
        padding: 25px 20px;
    }

    .credit-intro {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .credit-heading {
        font-size: 1.8rem;
    }

    .credit-box p {
        font-size: 1.5rem;
    }
}