@charset "UTF-8";

/* ==========================================================================
   Variables & Base
   ========================================================================== */
:root {
    /* Colors - Colorful Neon Theme */
    --color-bg: #050505;
    --color-bg-sub: #0a0a0a;
    --color-text: #ffffff;
    --color-text-muted: #aaaaaa;

    /* Dynamic Accents */
    --color-primary: #ff0055;
    /* Neon Pink base */
    --color-secondary: #00fff2;
    /* Neon Cyan */
    --color-accent: #bd00ff;
    /* Neon Purple */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff0055, #bd00ff);
    --gradient-rich: linear-gradient(90deg, #ff0055, #ffdd00, #00fff2, #bd00ff);
    /* Rainbowish */
    --gradient-text: linear-gradient(45deg, #ff00cc, #ffdd00, #00ffff);

    --font-en: 'Outfit', 'Inter', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;

    --easing: cubic-bezier(0.25, 1, 0.5, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-jp);
    color: var(--color-text);
    line-height: 1.8;
    letter-spacing: 0.05em;
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--easing);
}

a:hover {
    opacity: 0.8;
    color: var(--color-primary);
}

li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-en);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    width: 100%;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.text-gold {
    color: var(--color-primary);
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Fallback handled by background-clip */
    display: inline-block;
}

.highlight-text {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1em;
}

/* Background Typography Decoration */
[data-deco]::before {
    content: attr(data-deco);
    font-family: var(--font-en);
    font-weight: 900;
    position: absolute;
    font-size: 15vw;
    color: #ffffff;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
}

[data-deco="About"]::before {
    top: 0;
    left: -5%;
}

[data-deco="Service"]::before {
    bottom: 0;
    right: -5%;
    text-align: right;
}

[data-deco="System"]::before {
    top: 10%;
    left: -5%;
}

[data-deco="Gallery"]::before {
    top: 5%;
    right: 0;
    opacity: 0.05;
}

[data-deco="Access"]::before {
    bottom: 0;
    left: 0;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section__title {
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    /* Colorful Gradient Text */
    background: var(--gradient-rich);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 5s linear infinite;
    text-shadow: 0 5px 15px rgba(255, 0, 85, 0.2);
}

.section__desc {
    font-size: 0.9rem;
    color: var(--color-secondary);
    /* Cyan accent */
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header__inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .header__inner {
        padding: 0 15px;
    }
}

.header__logo a {
    background: linear-gradient(90deg,
            #ff0000,
            #ff7f00,
            #ffff00,
            #00ff00,
            #0000ff,
            #4b0082,
            #9400d3,
            #ff0000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-flow 3s linear infinite;
    line-height: 1.2;
    text-align: left;
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

@keyframes rainbow-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.header__logo span {
    font-size: 0.7rem;
    background: linear-gradient(90deg,
            #ff0000,
            #ff7f00,
            #ffff00,
            #00ff00,
            #0000ff,
            #4b0082,
            #9400d3,
            #ff0000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-flow 3s linear infinite;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.2em;
}

.header__nav {
    display: none;
    /* Mobile First */
}

@media screen and (min-width: 768px) {
    .header__nav {
        display: block;
    }

    .header__list {
        display: flex;
        gap: 30px;
    }

    @media screen and (max-width: 1024px) {
        .header__list {
            gap: 15px;
        }
    }

    .header__list a {
        font-family: var(--font-en);
        font-size: 0.9rem;
        letter-spacing: 0.1em;
        position: relative;
    }

    .header__list a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--color-primary);
        transition: width 0.3s;
    }

    .header__list a:hover::after {
        width: 100%;
    }
}

.header__cta {
    display: none;
}

@media screen and (min-width: 768px) {
    .header__cta {
        display: block;
    }
}

/* Hamburger */
.header__hamburger {
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

@media screen and (min-width: 768px) {
    .header__hamburger {
        display: none;
    }
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transition: all 0.3s;
}

.header__hamburger span:nth-child(1) {
    top: 0;
}

.header__hamburger span:nth-child(2) {
    top: 9px;
}

.header__hamburger span:nth-child(3) {
    bottom: 0;
}

.header__hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* SP Menu */
.sp-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.sp-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.sp-menu__list {
    text-align: center;
}

.sp-menu__list li {
    margin-bottom: 30px;
}

.sp-menu__list a {
    font-size: 1.5rem;
    font-family: var(--font-en);
    font-weight: 700;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    font-family: var(--font-jp);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-radius: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.btn--header {
    border: 1px solid var(--color-secondary);
    /* Cyan border */
    color: var(--color-secondary);
}

@media screen and (max-width: 1024px) {
    .btn--header {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

.btn--header:hover {
    background: var(--color-secondary);
    color: #000;
}

.btn--primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #bd00ff, #ff0055);
    /* Reverse gradient on hover */
    color: #fff;
    box-shadow: 0 6px 20px rgba(189, 0, 255, 0.5);
    transform: translateY(-2px);
}

.btn--secondary {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

.btn--secondary:hover {
    background: #fff;
    color: #000;
}

/* ==========================================================================
   First View
   ========================================================================== */
.fv {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.fv__image-box {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
}

.fv__image-container {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.fv__image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.5s var(--easing);
}

.fv__image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.fv__gradient-separator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-bg) 50%, transparent);
    z-index: 5;
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .fv__image-box {
        flex-direction: column;
    }

    .fv__image-container {
        width: 100%;
        height: 50%;
    }

    .fv__gradient-separator {
        width: 100%;
        height: 150px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        background: linear-gradient(180deg, transparent, var(--color-bg) 50%, transparent);
    }
}

.fv__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 90%;
}

.fv__title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.fv__subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #ddd;
    line-height: 1.8;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
    animation: scrollPrompt 2.5s infinite;
}

.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: var(--color-primary);
    margin: 10px auto 0;
}

@keyframes scrollPrompt {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

/* ==========================================================================
   About (Broken Grid)
   ========================================================================== */
.broken-grid {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-top: 30px;
    align-items: center;
}

.broken-grid__img {
    width: 55%;
    z-index: 1;
    position: relative;
}

.broken-grid__img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-primary);
    z-index: -1;
    opacity: 0.5;
}

.broken-grid__text {
    width: 50%;
    background: rgba(20, 20, 20, 0.95);
    padding: 60px 50px;
    z-index: 2;
    margin-left: -5%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--color-primary);
    backdrop-filter: blur(5px);
}

.section__sub-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.4;
    font-family: var(--font-jp);
}

@media screen and (max-width: 767px) {
    .broken-grid__img {
        width: 100%;
        margin-bottom: -30px;
    }

    .broken-grid__text {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        padding: 40px 20px;
    }

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

/* ==========================================================================
   Service / Three Points
   ========================================================================== */
.service {
    background: var(--color-bg-sub);
}

.service__list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service__item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service__item:nth-child(even) {
    flex-direction: row-reverse;
}

.service__img {
    flex: 1;
    position: relative;
}

.service__img img {
    width: 100%;
    border-radius: 2px;
    filter: brightness(0.9);
}

.service__content {
    flex: 1;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 767px) {
    .service__item {
        position: relative;
        padding: 40px 20px;
        margin: 0 -20px;
        /* Expand to edges if needed, otherwise remove */
        overflow: hidden;
    }

    .service__item .video-bg {
        z-index: 0;
    }

    .service__img {
        z-index: 2;
    }
}

.point-badge {
    display: inline-block;
    color: var(--color-secondary);
    /* Cyan */
    border: 1px solid var(--color-secondary);
    padding: 5px 15px;
    font-family: var(--font-en);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.service__item h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.4;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service__item p {
    color: var(--color-text-muted);
}

.service__cta {
    text-align: center;
    margin-top: 60px;
}

.service__cta-text {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 500;
}

.service__cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service__cta-btns .btn {
    min-width: 200px;
}

.btn--tel {
    background: linear-gradient(135deg, #00d9ff, #0099cc) !important;
    box-shadow: 0 4px 15px rgba(0, 153, 204, 0.4) !important;
}

.btn--tel:hover {
    background: linear-gradient(135deg, #0099cc, #00d9ff) !important;
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5) !important;
}

@media screen and (max-width: 767px) {
    .service__cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .service__cta-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 767px) {
    .service {
        padding-top: 0;
        /* セクション外側の余白（動画がない部分）をなくす */
    }

    .service__list {
        gap: 0;
        /* 動画がない隙間をなくすためギャップを0に */
    }

    .service__item,
    .service__item:nth-child(even) {
        flex-direction: column;
        gap: 20px;
        padding-top: 60px;
        /* 隙間の代わりにパディングを増やす */
        padding-bottom: 60px;
        /* セクション間の線を削除してシームレスに */
    }

    .service__item:first-child {
        padding-top: 80px;
        /* 見出しの上のスペースを、動画のある箱の中で確保 */
    }

    .service__item:last-child {
        border-bottom: none;
    }

    .service__item h3 {
        font-size: 20px;
    }
}

/* ==========================================================================
   Price / System
   ========================================================================== */
.menu__grid {
    display: grid;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.price-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    text-align: center;
    position: relative;
}

.price-box__title {
    font-size: 1.2rem;
    color: var(--color-secondary);
    /* Cyan */
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    display: inline-block;
}

.price-box__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: var(--font-en);
    color: #fff;
    flex-wrap: wrap;
}

.price-value-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.price-box__price .label {
    font-size: 1.2rem;
}

.price-box__price .value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    /* Pink */
}

.price-box__price .unit {
    font-size: 1rem;
}

.price-box__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.price-list {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.price-item:hover {
    border-bottom-color: var(--color-secondary);
    padding-left: 5px;
}

.price-item dt {
    font-weight: 500;
    font-size: 1.05rem;
    color: #fff;
}

.price-item dd {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.menu__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

.menu__item:hover {
    border-bottom-color: var(--color-secondary);
}

.menu__name {
    font-weight: 500;
    font-size: 1.05rem;
}

.menu__price {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    /* Pink */
}

.price-box .note {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #666;
    text-align: left;
}

/* オプション料金の装飾 */
.price-box:has(.price-list) {
    position: relative;
}

.price-box:has(.price-list)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

@media screen and (max-width: 767px) {
    .price-box__price {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .price-box__price .label {
        font-size: 1rem;
    }

    .price-box__price .value {
        font-size: 2.5rem;
    }

    .price-box__price .unit {
        font-size: 0.9rem;
    }

    .price-box {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-swiper {
    width: 100%;
    padding-bottom: 50px;
}

.gallery-swiper .swiper-slide {
    width: 400px;
    height: 400px;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.5);
    transition: filter 0.3s;
}

.gallery-swiper .swiper-slide-active img {
    filter: grayscale(0);
}

/* ==========================================================================
   Access / Footer
   ========================================================================== */
.access {
    background: #000;
    padding-bottom: 100px;
}

.access__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}

.access__info {
    width: 40%;
}

.access__map {
    width: 55%;
    height: 400px;
    /* filter: grayscale(1); */
    /* opacity: 0.8; */
}

.access__logo {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.access__details p {
    margin-bottom: 20px;
    color: #ccc;
}

.access__tel {
    margin-top: 40px;
}

.access__tel span {
    font-size: 0.9rem;
    color: var(--color-primary);
}

.access__tel .tel-link {
    font-size: 2rem;
    font-family: var(--font-en);
    color: #fff;
}

.access__links {
    margin-top: 30px;
}

@media screen and (max-width: 767px) {
    .access__wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .access__info,
    .access__map {
        width: 100%;
    }

    .access__map {
        height: 300px;
    }
}

.footer {
    background: #000;
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
}

@media screen and (max-width: 767px) {
    .footer {
        padding-bottom: 80px;
        /* Adjust based on floating-cta height */
    }
}

/* ==========================================================================
   Floating CTA (SP)
   ========================================================================== */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
}

.floating-cta__btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

.pc-only {}

.sp-only {}

@media screen and (max-width: 767px) {
    .pc-only {
        display: none !important;
    }
}

@media screen and (min-width: 768px) {
    .sp-only {
        display: none !important;
    }
}

.float-tel {
    background: linear-gradient(135deg, #00d9ff, #0099cc);
    transition: all 0.3s;
}

.float-tel:hover {
    background: linear-gradient(135deg, #0099cc, #00d9ff);
    opacity: 1;
}

.float-web {
    background: linear-gradient(135deg, #ff0055, #bd00ff);
    transition: all 0.3s;
}

.float-web:hover {
    background: linear-gradient(135deg, #bd00ff, #ff0055);
    opacity: 1;
}

@media screen and (min-width: 768px) {
    .sp-only {
        display: none;
    }
}

/* SP Break */
.sp-br {
    display: none;
}

@media screen and (max-width: 767px) {
    .sp-br {
        display: block;
    }
}

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

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

/* Restored FV Nav */
.fv__nav {
    position: absolute;
    top: clamp(20px, 4vw, 40px);
    right: clamp(20px, 4vw, 50px);
    z-index: 50;
}

.fv__nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: clamp(8px, 1.5vw, 15px);
    align-items: flex-end;
}

.fv__nav a {
    color: #fff;
    font-size: clamp(0.9rem, 1.5vw, 1.3rem);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    font-family: var(--font-en);
    transition: opacity 0.3s;
    white-space: nowrap;
}

.fv__nav a:hover {
    opacity: 0.7;
    color: var(--color-primary);
}

/* Header Visibility */
.header.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

.header.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


/* ==========================================================================
   Talents
   ========================================================================== */
.talents {
    text-align: center;
}

.talents__content {
    max-width: 800px;
    margin: 0 auto;
}

.talents__text {
    font-size: 1.1rem;
    line-height: 2.2;
    margin-bottom: 40px;
    color: #e5e5e5;
}

.talents__cta .btn {
    min-width: 250px;
    font-size: 1rem;
    padding: 15px 40px;
}

/* ==========================================================================
   Q&A
   ========================================================================== */
.qa__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qa__item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    overflow: hidden;
    transition: background 0.3s;
}

.qa__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.qa__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #fff;
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 500;
}

.qa__question {
    flex: 1;
    padding-right: 20px;
}

.qa__icon {
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.qa__trigger.is-open .qa__icon {
    transform: rotate(45deg);
}

.qa__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.qa__inner {
    padding: 5px 25px 25px;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.8;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    margin-top: 0;
}

/* ==========================================================================
   Responsive Decoration (Fix Clipping)
   ========================================================================== */
[data-deco] {
    position: relative;
    overflow: hidden;
}

[data-deco]::before {
    font-size: 13vw;
    white-space: nowrap;
    position: absolute;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    opacity: 0.04;
    font-family: var(--font-en);
    font-weight: 700;
}

/* Specific Positions - Safe from edges */
[data-deco="About"]::before {
    top: 5%;
    left: 0;
    content: "About";
}

[data-deco="Service"]::before {
    bottom: 0;
    right: 0;
    text-align: right;
    content: "Service";
}

[data-deco="Talents"]::before {
    top: 5%;
    right: 0;
    content: "Talents";
}

[data-deco="Gallery"]::before {
    top: 5%;
    right: 0;
    content: "Gallery";
}

[data-deco="System"]::before {
    top: 5%;
    left: 0;
    content: "System";
}

[data-deco="Q&A"]::before {
    bottom: 2%;
    left: 0;
    content: "Q&A";
}

[data-deco="Access"]::before {
    bottom: 0;
    left: 0;
    content: "Access";
}

@media screen and (max-width: 767px) {
    [data-deco]::before {
        font-size: 18vw;
        opacity: 0.03;
    }

    [data-deco="Q&A"]::before {
        left: -2%;
        bottom: 5%;
    }
}

/* ==========================================================================
   Flashy Enhancements (Reference Inspired)
   ========================================================================== */

/* 1. Richer Gold Gradient for Text */
.text-gold,
.section__title {
    background: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* 2. Image Slow Zoom (Ken Burns Effect) */
.broken-grid__img,
.service__img,
.talents__content img {
    overflow: hidden;
}

.broken-grid__img img,
.service__img img {
    transition: transform 1.5s ease-out;
}

.is-inview .broken-grid__img img,
.is-inview .service__img img {
    transform: scale(1.05);
}

/* 3. Floating Background Text (Parallax base) */
[data-deco]::before {
    transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1);
    will-change: transform;
}

/* 4. Marquee (Infinite Scroll) */
.marquee-section {
    background: linear-gradient(90deg, #ff0055, #ffdd00, #22ffaa, #0088ff, #aa00ff, #ff0055);
    background-size: 400% 100%;
    animation: rainbowBg 15s linear infinite;
    padding: 15px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    /* Ensure opacity is handled by js-fade interaction if applied */
}

@keyframes rainbowBg {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 7s linear infinite;
    width: max-content;
    /* 内容に合わせて幅を確保 */
}

@media screen and (max-width: 767px) {
    .marquee-content {
        animation-duration: 20s;
        /* 20秒に設定し、さらにゆったりとした速度に調整 */
    }
}

.marquee-item {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    /* White text looks better on rainbow */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    padding: 0 40px;
    letter-spacing: 0.1em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 5. Button Pulse */
.btn--primary {
    position: relative;
    overflow: hidden;
}

.btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Parallax via CSS Var */
[data-deco]::before {
    transform: translateY(var(--scroll-offset, 0));
}


/* ==========================================================================
   Opening Animation
   ========================================================================== */
.opening-anim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    pointer-events: none;
    animation: fadeOutOpener 0.5s ease 4s forwards;
}

.opening-text {
    position: absolute;
    color: #fff;
    opacity: 0;
    width: 100%;
    text-align: center;
}

.script-font {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--color-primary);
    animation: drawText 1.5s ease-in-out 0.5s forwards, fadeOutText 0.5s ease 2s forwards;
}

.main-font {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 3rem);
    letter-spacing: 0.1em;
    animation: zoomInText 1.5s cubic-bezier(0.25, 1, 0.5, 1) 2s forwards;
}

@keyframes drawText {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }

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

@keyframes fadeOutText {
    to {
        opacity: 0;
        filter: blur(4px);
    }
}

@keyframes zoomInText {
    0% {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(5px);
    }

    20% {
        opacity: 1;
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutOpener {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ==========================================================================
   About Reveal Animation (Refined)
   ========================================================================== */
.broken-grid__text {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    position: relative;
    margin-top: 60px;
}

.anim-box-bg,
.anim-box-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.anim-box-bg {
    background: var(--color-primary);
    z-index: 1;
    left: -10px;
    top: 10px;
    transition-delay: 0s;
}

.anim-box-main {
    /* Solid background to ensure text readability */
    background: #000;
    z-index: 2;
    border-left: 2px solid var(--color-primary);
    transition-delay: 0.2s;
    /* Ensure it covers */
}

.anim-box-content {
    /* Relative positioning to ensure it takes up space and sits on top */
    position: relative;
    z-index: 3;
    padding: 60px 40px;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

/* Animation Trigger States */
.js-anim-box.is-inview .anim-box-bg {
    transform: scaleX(1);
}

.js-anim-box.is-inview .anim-box-main {
    transform: scaleX(1);
}

.js-anim-box.is-inview .anim-box-content {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 767px) {
    .anim-box-content {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   Group Stores
   ========================================================================== */
.group__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.group__card {
    display: block;
    text-decoration: none;
    color: #fff;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s var(--easing), border-color 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.group__card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.group__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
}

.group__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--easing);
}

.group__card:hover .group__img img {
    transform: scale(1.05);
}

.group__content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - (100vw / 3 * 9 / 16));
    /* Approx fluid height subtraction, loosely */
    height: auto;
}

.group__name {
    font-family: var(--font-en);
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.group__concept {
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.group__desc {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.group__link {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.group__link .arrow {
    transition: transform 0.3s;
}

.group__card:hover .group__link {
    color: var(--color-primary);
}

.group__card:hover .arrow {
    transform: translateX(5px);
}

@media screen and (max-width: 900px) {
    .group__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .group__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .group__img {
        aspect-ratio: 3 / 2;
    }

    .group__content {
        padding: 25px 20px;
    }
}

/* Add data-deco for Group */
[data-deco="Group"]::before {
    top: 5%;
    right: 0;
    content: "Group";
}

/* ==========================================================================
   Video Background Styles
   ========================================================================== */
.section {
    position: relative;
    /* Ensure absolute children are contained */
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Slight transparency to blend or not overpower content */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Darken video for text readability */
    z-index: 1;
}

@media screen and (max-width: 767px) {
    .video-bg video {
        filter: blur(3px);
        /* Add blur on mobile for atmospheric effect */
        opacity: 0.5;
    }

    .video-overlay {
        background: linear-gradient(to bottom,
                var(--color-bg) 0%,
                rgba(0, 0, 0, 0.75) 15%,
                rgba(0, 0, 0, 0.75) 85%,
                var(--color-bg) 100%);
        /* 上下を背景色に溶け込ませるグラデーション */
    }
}

/* Ensure content sits on top */
.service .container,
.menu .container {
    position: relative;
    z-index: 2;
}

/* Specific Override for System Video Overlay */
#system .video-overlay {
    background: transparent;
}

/* Update Price Box Background */
.price-box {
    background: rgb(18 18 18 / 72%);
    backdrop-filter: blur(5px);
    /* Add blur for better readability */
}

/* Rainbow Background for Group Stores */
#group {
    background: linear-gradient(90deg, #ff0055, #ffdd00, #22ffaa, #0088ff, #aa00ff, #ff0055);
    background-size: 400% 100%;
    animation: rainbowBg 15s linear infinite;
}

#group .section__desc {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Darken Rainbow Background */
#group {
    background: linear-gradient(90deg, #88002d, #887600, #11885b, #004488, #550088, #88002d);
    background-size: 400% 100%;
    animation: rainbowBg 15s linear infinite;
}

/* Alternating Store Name Colors */
.group__card:nth-child(1) .group__name {
    color: #ff0055;
}

/* Pink */
.group__card:nth-child(2) .group__name {
    color: #00fff2;
}

/* Cyan */
.group__card:nth-child(3) .group__name {
    color: #ffdd00;
}

/* Yellow */

/* Opening Text Rainbow */
.script-font {
    background: var(--gradient-rich);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite, drawText 1.5s ease-in-out 0.5s forwards, fadeOutText 0.5s ease 2s forwards;
}

/* System Video Overlay Update */
#system .video-overlay {
    background: #5f5f5f73;
}


/* ==========================================================================
   Payment
   ========================================================================== */
.payment {
    text-align: center;
}

.payment__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.payment__item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.payment__title {
    font-family: var(--font-jp);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 20px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-primary);
    font-size: 1.1rem;
}

.payment__desc {
    font-family: var(--font-en);
    color: #e5e5e5;
    line-height: 2;
    font-size: 0.95rem;
}

.payment__note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
}

@media screen and (max-width: 767px) {
    .payment__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .payment__item {
        padding: 20px;
    }
}

[data-deco="Payment"]::before {
    bottom: 5%;
    right: 0;
    content: "Payment";
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews {
    background: var(--color-bg);
}

.reviews__grid {
    max-width: 800px;
    margin: 0 auto;
}

.review__card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.review__card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.review__card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--color-primary);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.review__text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 500;
}

.review__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.review__author {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.review__stars {
    color: #ffdd00;
    letter-spacing: 2px;
}

@media screen and (max-width: 767px) {
    .review__card {
        padding: 30px 20px;
    }

    .review__text {
        font-size: 1rem;
    }
}

/* TikTok Button Style */
.btn--tiktok {
    border-color: #ff0050 !important;
    position: relative;
    overflow: hidden;
}

.btn--tiktok:hover {
    background: #ff0050 !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(255, 0, 80, 0.6);
}

.btn--tiktok::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    left: 0;
    top: 0;
    background: #00f2ea;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.btn--tiktok:hover::before {
    transform: translateX(0);
}

/* ==========================================================================
   Scroll Top
   ========================================================================== */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 0, 85, 0.6);
}

@media screen and (max-width: 767px) {
    .scroll-top {
        right: 20px;
        bottom: 80px;
        /* Position above floating-cta */
        width: 45px;
        height: 45px;
    }
}