:root {
    --c-gr: #A4FC4E;
    --c-ppl: #7408AD;
    --c-wh: #DEDEDE;
    --c-red: #C80D29;
    --c-bk: #140F29;
}

a:hover {
    text-decoration: none;
}

.header {
    position: fixed;
    top: 0;
    z-index: 999;
}

.header_logo {
    margin: 8px 20px;
    width: 120px;
}

.kv {
    position: sticky;
    top: 0;
    z-index: -1;
    background-color: #1F1B3C;
}

.kv img {
    width: 100%;
    height: auto;
    display: block;
}

.concept {
    position: relative;
    z-index: 2;
    background-image: url(../img/bg_concept.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    padding: 6rem 2rem;
}

.cast {
    background-image: url(../img/bg_cast.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    padding: 6rem 2rem;
}

.concept,
.about_area,
.cast,
.caution,
.shadow,
.invite_area,
footer {
    transform: translateZ(0);
    isolation: isolate;
    z-index:8;
}

.shadow {
    width: 100%;
    background-color: #010101;

    img {
        width: 100%;
    }

}

.p-ttl_1 {
    font-size: 2.4rem;
    font-family: "Marcellus", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin-bottom: 2.4rem;
    color: var(--c-wh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-ttl_1::before,
.p-ttl_1::after {
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.p-ttl_1::before {
    background-image: url(../img/ttl_l.svg);
    margin-right: 8%;
    width: 20%;
    height: 40px;
}

.p-ttl_1::after {
    background-image: url(../img/ttl_r.svg);
    margin-left: 8%;
    width: 20%;
    height: 40px;
}

.red_btn {
    background: linear-gradient(135deg, #CB0D2A, #5C0D41);
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    border-radius: 64px;
    width: 30%;
    min-width: 154px;
    margin: 2rem auto 0;
}

.red_btn_text {
    font-family: "Marcellus", serif;
    font-weight: 400;
    text-decoration: none;
    color: var(--c-wh);
    font-style: normal;
    font-size: 1.4rem;
}

.fixed_btn {
    position: fixed;
    z-index: 999;
    width: 100%;
    max-width: 720px;
    box-sizing: border-box;
    bottom: 0;
}

.fixed_btn_inner {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.red_fixed_btn {
    background: linear-gradient(135deg, #CB0D2A, #5C0D41);
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 1rem;
    width: 20%;
    min-width: 100px;
    margin: 0;
    pointer-events: auto;
}

.gr_fixed_btn {
    background: linear-gradient(135deg, #05C305, #53067C);
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 1rem;
    width: 20%;
    min-width: 100px;
    margin: 0;
    pointer-events: auto;
}

.red_fixed_btn_text {
    font-family: "Marcellus", serif;
    font-weight: 400;
    text-decoration: none;
    color: var(--c-wh);
    font-style: normal;
    font-size: 0.8rem;
}

.gr_fixed_btn_text {
    font-family: "Marcellus", serif;
    font-weight: 400;
    text-decoration: none;
    color: var(--c-wh);
    font-style: normal;
    font-size: 0.8rem;
}


.gr_btn {
    background: linear-gradient(135deg, #05C305, #53067C);
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    border-radius: 64px;
    width: 30%;
    min-width: 154px;
    margin: 2rem auto 0;
}

.gr_btn_text {
    font-family: "Marcellus", serif;
    font-weight: 400;
    text-decoration: none;
    color: var(--c-wh);
    font-style: normal;
    font-size: 1.4rem;
}

.display_wrap {
    background-size: cover;
    background-image: url(../img/bg.jpg);
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

.content_inner {
    margin: 0 auto;
    max-width: 720px;
    box-shadow: -5px 0 12px -2px rgba(0, 0, 0, 0.1), 5px 0 12px -2px rgba(0, 0, 0, 0.1);
    height: 100vh;
    overflow-y: auto;
}

.concept {
    background-image: url(../img/bg_concept.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    padding: 6rem 2rem;
}

.concept_text {
    text-align: center;
    color: var(--c-gr);
    line-height: 3.0;
    font-size: 1.2rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 2rem;
}

.concept_catch {
    font-size: 1.6rem;
    line-height: 2;
    text-align: center;
    color: var(--c-gr);
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}

.bg_move_purple {
    background-color: var(--c-ppl);
    padding: 0 0.2em;
}

.p-ttl_pre {
    font-size: 1.2rem;
    color: var(--c-red);
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 1.6rem;
}

.comingsoon {
    width: 80%;
    margin: 0 auto 2rem;

    img {
        width: 100%;
    }
}

.join-us_text {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--c-wh);
    line-height: 2.0;
    font-size: 1.2rem;
    text-align: center;
}

.p-ttl-s_1 {
    font-size: 1.4rem;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    padding: 0.5rem 2rem;
    background: linear-gradient(135deg, #7408AD, #3A0457);
    color: var(--c-wh);
}

.caution_text {
    background-color: var(--c-bk);
    padding: 2.4rem 2rem 4rem;
    font-size: 1.1rem;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 2.3;
    color: var(--c-wh);
}

footer {
    background-color: #15151C;
}

.footer_area {
    display: flex;
    justify-content: space-between;
    padding: 3rem 2rem 4rem;
    align-items: flex-start;
}

.footer_platform {
    display: flex;
    gap: 0.8rem;
}

.footer_name {
    font-size: 1.2rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--c-wh);
    margin-top: 0.5rem;
    line-height: 1.2;
}

.copyright {
    border-top: 1px solid var(--c-wh);
    padding: 0.5rem 0 0 0;
    background-color: #15151C;
}

.copyright_text {
    font-size: 1rem;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--c-wh);
    text-align: center;
    padding-bottom: 4rem;
}

body>canvas {
    z-index: 10 !important;
}

/* 固定ボタンとヘッダーは絶対に一番上（念押し） */
.header,
.fixed_btn {
    z-index: 9999 !important;
}

.under_line_btn {
    font-size: 1rem;
    color: #DEDEDE;
    display: flex;
    max-width: 268px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0px 0px 8px;
    border-bottom: 2px solid #DEDEDE;

    img {
        width: 14px;
        height: 14px;
    }
}

.invite_area {
    background-image: url(../img/invite_bg.jpg);
    background-size: cover;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: top;
}

.invite_area_inner {
    padding: 2rem 0px 3rem;
}

.invite_image {
    width: 100%;

    img {
        width: 100%;
    }
}

.about_area {
    background-image: url(../img/about_bg.jpg);
    background-size: cover;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: top;
}

.about_area_inner {
    padding: 4rem 1.2rem;
}

.about_text {
    font-size: 1.2rem;
    text-align: center;
    color: var(--c-wh);
}

.p-ttl_2 {
    font-size: 1.4rem;
    font-family: "Shippori Mincho", serif;
    margin: 1.2rem auto;
    text-align: center;
    color: var(--c-wh);
}

.about_content_wrap {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.footer_logo {
    img {
        max-width: 120px;
    }
}

@media screen and (max-width: 1600px) {
    .header_logo {
        margin: 0;
        width: 100px;
    }

    .content_inner {
        max-width: 500px;
    }

    .p-ttl_1 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .red_btn {
        padding: 0.4rem 1.6rem;
        width: 30%;
    }

    .red_btn_text {
        font-size: 1.2rem;
    }

    .gr_btn {
        padding: 0.4rem 1.6rem;
        width: 30%;
    }

    .gr_btn_text {
        font-size: 1.2rem;
    }

    .concept {
        padding: 3.6rem 1rem;
    }

    .concept_text {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .concept_catch {
        font-size: 1.2rem;
    }

    .cast {
        padding: 3.6rem 1rem;
    }

    .p-ttl_pre {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .join-us_text {
        font-size: 0.9rem;
    }

    .caution_text {
        padding: 2rem 1.2rem 3rem;
        font-size: 0.7rem;
    }

    .footer_area {
        padding: 2rem 1rem 3rem;
        gap: 20px;
    }

    .footer_name {
        font-size: 0.7rem;
        font-family: "Shippori Mincho", serif;
        font-weight: 400;
        font-style: normal;
        color: var(--c-wh);
        margin-top: 0.5rem;
    }

    .copyright_text {
        font-size: 0.8rem;
        font-family: "Noto Sans JP", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        color: var(--c-wh);
        text-align: center;
        padding-bottom: 3rem;
    }

    .fixed_btn {
        max-width: 500px;
    }

    .footer_platform {
        max-width: 40%;
    }

    .under_line_btn {
        font-size: 0.9rem;

        img {
            width: 12px;
            height: 12px;
        }

        .footer_logo {
            img {
                max-width: 64px;
            }
        }

    }

    .p-ttl_2 {
        font-size: 1.2rem;
    }

    .about_text {
        font-size: 0.8rem;
    }

    .footer_logo {
        img {
            max-width: 120px;
        }
    }
}

/* ふわっと下から出てくるアニメーション */
.fade_in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    /* ※ここに z-index は書かない（KVがバグる原因になります） */
}

/* 画面内に入った時に付与するクラス */
.fade_in.is_show {
    opacity: 1;
    transform: translateY(0);
}



/* ====================================
   オープニングアニメーション (Loader)
==================================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* 暗めの斜めのグラデーション（テーマカラーの濃い紫〜黒） */
    background: linear-gradient(135deg, var(--c-bk) 0%, #010101 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* ふわっと消えるトランジション */
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

/* 読み込み完了後に付与するクラス */
#loader.is-loaded {
    opacity: 0;
    visibility: hidden;
}

.loader_inner {
    text-align: center;
    width: 80%;
    max-width: 240px; /* PC/SP共通でちょうどいいサイズ感 */
}

/* ロゴの初期状態は透明にしておき、ふわっと出す */
.loader_logo {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: loaderFadeIn 1s forwards 0.2s;
}

/* プログレスバーエリアも少し遅れてふわっと出す */
.loader_progress {
    opacity: 0;
    animation: loaderFadeIn 1s forwards 0.6s;
}

.progress_text {
    font-family: "Marcellus", serif;
    color: var(--c-wh);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}

.progress_bar_wrap {
    width: 100%;
    height: 1px;
    background-color: rgba(222, 222, 222, 0.2);
    position: relative;
}

/* プログレスバーの伸びる線（赤系のグラデーション） */
.progress_bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(135deg, #CB0D2A, #5C0D41);
    width: 0%; /* JSで数値を変更して伸ばす */
    transition: width 0.1s ease-out;
}

@keyframes loaderFadeIn {
    to { opacity: 1; }
}