/* =========================================================================
   Top Page Styles
   ========================================================================= */

/* === Hero === */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
    /* Hide both initially */
}

/* Default to PC video */
.hero-video--pc {
    display: block;
}

/* Switch to SP video on smaller screens */
@media (max-width: 768px) {
    .hero-video--pc {
        display: none;
    }

    .hero-video--sp {
        display: block;
    }
}


.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
}

.hero__logo {
    font-family: var(--font-logo);
    font-size: clamp(40px, 8vw, 80px);
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero__catch {
    font-family: var(--font-heading-jp);
    font-size: clamp(16px, 4.2vw, 32px);
    font-weight: 200;
    margin-bottom: 16px;
    white-space: nowrap;
}

.hero__sub {
    font-size: clamp(10px, 2.6vw, 16px);
    opacity: 0.9;
    margin-bottom: 40px;
    white-space: nowrap;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.floating-line-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 76px;
    height: 76px;
    background-color: #06C755;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease, visibility 0.5s ease;
}

@media (max-width: 768px) {
    .floating-line-cta {
        width: 70px;
        height: 70px;
    }
}

.floating-line-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-line-cta:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(6, 199, 85, 0.4);
}

.floating-line-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: #06C755;
    border-radius: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    animation: line-pulse 2s infinite;
}

@keyframes line-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.floating-line-cta svg {
    margin-bottom: 2px;
}

.floating-line-cta .line-cta-text-1 {
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.2;
}

.floating-line-cta .line-cta-text-2 {
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
}

.hero__line {
    width: 40px;
    height: 1px;
    background-color: var(--gold);
    margin: 0 auto 32px auto;
}

.hero__intro {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    line-height: 2.2;
    color: var(--text-main);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero__intro-line1 {
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(10px, 4vw, 15px);
}

.hero__intro-empathy {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 24px;
}

.hero__badge-inline {
    display: inline-block;
    background-color: var(--pink);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero__intro-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.hero__intro-btn {
    padding: 16px 48px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.hero__intro-btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    transition: var(--transition-base);
}

.hero__intro-btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero__micro-copy {
    font-size: 13px;
    color: var(--text-sub);
    display: flex;
    gap: 16px;
    justify-content: center;
}

.check-icon {
    color: var(--gold);
}

@media (max-width: 480px) {
    .hero__intro-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__intro-btn {
        width: 100%;
        max-width: 320px;
    }

    .hero__micro-copy {
        flex-direction: column;
        gap: 8px;
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    font-size: 12px;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: var(--white);
    margin: 8px auto 0;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* === USP Section === */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.usp-card {
    text-align: center;
    padding: 20px;
}

.usp-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--gold);
}

.usp-title {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

.usp-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 8px auto 0;
}

.usp-desc {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 2;
}


/* === Background Sub Color === */
.bg-sub {
    background-color: var(--bg-sub);
}

/* === Menu Grid === */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-card__img {
    position: relative;
    border-top-left-radius: var(--radius-card);
    border-top-right-radius: var(--radius-card);
    margin: -24px -24px 20px -24px;
}

.menu-card__badge {
    position: absolute;
    top: 10px;
    left: 0;
    background: var(--gold);
    color: var(--white);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-card__body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-card__title {
    font-family: var(--font-heading-jp);
    font-size: 20px;
    margin-bottom: 8px;
}

.menu-card__time {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 12px;
}

.menu-card__price {
    margin-bottom: auto;
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.price-normal {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.price-first {
    font-size: 18px;
    font-weight: 700;
}

/* === Stats Grid === */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-logo);
    font-size: 48px;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-num small {
    font-size: 24px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-main);
}


/* === Result Slider === */
.result-slider {
    padding-bottom: 40px;
}

.result-slide {
    height: auto;
}

.result-img-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.result-img {
    flex: 1;
    aspect-ratio: 4/3;
    border-radius: var(--radius-card);
}

.result-arrow {
    color: var(--gold);
    font-size: 20px;
}

.result-info {
    text-align: center;
}

.result-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.result-desc {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 8px;
}

.result-note {
    font-size: 12px;
    color: #999;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
}


/* === Voice Section === */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.voice-card {
    text-align: left;
}

.voice-star {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 12px;
}

.voice-meta {
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 14px;
}

.voice-text {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.8;
}

.text-link-gold {
    display: inline-block;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: var(--transition-base);
}

.text-link-gold:hover {
    color: var(--gold-hover);
    border-color: var(--gold-hover);
}


/* === Concept Section === */
.concept-box {
    display: flex;
    align-items: center;
    gap: 60px;
}

.concept-content {
    flex: 5;
}

.concept-img {
    flex: 7;
    aspect-ratio: 4/3;
    border-radius: var(--radius-card);
    object-fit: cover;
}

.concept-text {
    margin-bottom: 30px;
    color: var(--text-sub);
}

@media (max-width: 768px) {
    .concept-box {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .concept-img {
        width: 100%;
        aspect-ratio: 16/9;
    }
}

/* === Staff Section === */
.staff-scroll-container {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.staff-scroll-wrapper {
    display: flex;
    gap: 20px;
    width: max-content;
    padding-inline: 4%;
}

.staff-card {
    width: 280px;
    scroll-snap-align: center;
    text-align: center;
}

.staff-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
}

.staff-name {
    font-size: 18px;
    margin-bottom: 4px;
}

.staff-role {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 500;
}

.staff-cert {
    font-size: 12px;
    color: var(--text-sub);
    margin-bottom: 4px;
}

.staff-spec {
    font-size: 13px;
    font-weight: 500;
}


/* === Gallery Section === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-card);
    transition: var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* === Access Section === */
.access-box {
    display: flex;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.access-info {
    flex: 1;
}

.access-map {
    flex: 1;
    min-height: 300px;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.access-name {
    font-size: 24px;
    margin-bottom: 24px;
    border-left: 4px solid var(--gold);
    padding-left: 16px;
}

.access-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px 24px;
    margin-bottom: 24px;
}

.access-dl dt {
    font-weight: 500;
    color: var(--gold);
}

.access-dl dd {
    font-size: 15px;
}

.access-badge {
    display: inline-block;
    background: var(--text-main);
    color: var(--white);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 100px;
}

@media (max-width: 768px) {
    .access-box {
        flex-direction: column;
        padding: 24px;
    }

    .access-dl {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .access-dl dt {
        margin-top: 8px;
    }
}


/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, rgba(215, 114, 124, 0.12) 0%, rgba(197, 165, 90, 0.12) 100%);
    text-align: center;
    padding-block: 100px;
}

.cta-title {
    font-family: var(--font-heading-jp);
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
}

.cta-sub {
    margin-bottom: 40px;
}

.cta-tel {
    font-size: 24px;
    font-family: var(--font-logo);
    margin-bottom: 8px;
}

.cta-micro {
    font-size: 12px;
    color: var(--text-sub);
    margin-bottom: 16px;
}

.cta-hours {
    font-size: 13px;
    color: var(--text-sub);
}