@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

:root {
    --color-primary: #6BBF59;
    /* Natural Green */
    --color-accent: #F6D55C;
    /* Natural Yellow */
    --color-bg-ivory: #FDFBF7;
    --color-bg-beige: #F5F1E9;
    --color-bg-lime: #F6D55C33;
    /* Light Yellow for decoration */
    --color-text: #4A4A4A;
    --color-text-deep: #223311;
    --color-white: #FFFFFF;

    --font-main: 'Zen Maru Gothic', sans-serif;

    --section-margin-sp: 80px;
    --section-margin-pc: 120px;

    --transition-base: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Response Utilities */
.sp-only {
    display: none;
}

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

    .pc-only {
        display: none;
    }
}

@media (max-width: 767px) {
    .sns-buttons {
        justify-content: center !important;
        margin-top: 40px;
    }
}

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

body {
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-bg-ivory);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    user-select: none;
    /* Right click prevention might be handled by JS but this is a base */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
}

/* Layout Utilities */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Creative Background Strategy --- */

/* Base section padding & transition */
section {
    width: 100%;
    padding: 70px 0;
    position: relative;
    transition: background-color 0.5s ease;
}



#tv {
    background: linear-gradient(135deg, rgba(253, 251, 247, 0.8) 0%, rgba(246, 213, 92, 0.1) 100%);
}

/* About: Salon Intro Option Backgrounds */
#about {
    background-color: var(--color-bg-ivory);
    color: var(--color-text);
}

/* Service: Features - High Opacity Glassiness */
#service {
    background-color: rgba(253, 251, 247, 0.6);
    backdrop-filter: blur(10px);
}

/* Menu/Price Section Background */
#menu {
    background-color: var(--color-bg-ivory);
}

/* Gallery: Minimalist Neutral */
#gallery {
    background-color: var(--color-bg-lime);
}

/* Message Section Background */
#message {
    background: linear-gradient(135deg, rgba(253, 251, 247, 0.8) 0%, rgba(246, 213, 92, 0.1) 100%);
}


/* Access: Reliable Concrete Beige */
#access {
    background-color: var(--color-bg-beige);
    border-top: 1px solid rgba(107, 191, 89, 0.2);
}

/* Parallax section needs its own handling (removed default padding) */
.parallax-bg {
    padding: 120px 0;
}

/* Parallax Overlay Fix */
.parallax-bg::before {
    background: rgba(246, 213, 92, 0.15);
    /* Tint of yellow for creative cohesion */
    mix-blend-mode: multiply;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    padding: 20px 0;
    text-align: center;
    color: var(--color-white);
}

footer h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

footer nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: var(--color-white);
}

footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    padding: 15px 0;
}

header.scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.nav-pc {
    display: none;
}

@media (min-width: 1024px) {
    .nav-pc {
        display: flex;
        gap: 30px;
    }

    .nav-pc a {
        text-decoration: none;
        color: var(--color-text);
        font-size: 0.9rem;
        transition: color 0.3s;
    }

    .nav-pc a:hover {
        color: var(--color-primary);
    }
}

.btn-reserve-header {
    background-color: var(--color-primary);
    color: white;
    padding: 10px 25px;
    border-radius: 0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
    display: none;
    /* Hidden by default for mobile/tablet */
}

@media (min-width: 1024px) {
    .btn-reserve-header {
        display: inline-block;
        /* Show on desktop */
    }
}

.hamburger {
    display: block;
    cursor: pointer;
    padding: 10px;
    margin-right: -10px;
    z-index: 2100;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger div {
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Hamburger to X Animation */
.hamburger.active div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-ivory);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 80px 20px;
    overflow-y: auto;
}

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

.menu-overlay .close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-overlay nav {
    text-align: center;
    width: 100%;
}

.menu-overlay nav a {
    display: block;
    font-size: 1.4rem;
    padding: 15px 0;
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid rgba(107, 191, 89, 0.1);
    transition: color 0.3s;
}

.menu-overlay nav a:last-child {
    border-bottom: none;
}

.btn-reserve-menu {
    background-color: var(--color-primary) !important;
    color: white !important;
    margin: 20px auto 0;
    padding: 12px 40px !important;
    width: fit-content !important;
    border-radius: 5px;
    font-weight: 700;
    border-bottom: none !important;
}

/* FV Swiper */
.fv-swiper {
    width: 100%;
    height: auto;
}

.fv-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Section Headings - Text Only Stylish Design */
.section-headline {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-top: 0px;
}

.headline-en {
    display: block;
    font-size: 0.9rem;
    color: var(--color-accent);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: var(--font-main);
}

.headline-jp {
    display: block;
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.headline-jp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--color-accent);
}

@media (max-width: 767px) {
    .headline-jp {
        font-size: 1.6rem;
    }
}

/* Section Specific Visual Styles */

/* ============================================================
   TV (RECOMMENDATION) SECTION : Premium Overlapping Checklist
   ============================================================ */
.premium-overlap-layout {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .premium-overlap-layout {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
    }
}

.visual-group {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 380px;
    /* Base height for mobile aspect ratio */
    margin-bottom: 80px;
}

@media (min-width: 1024px) {
    .visual-group {
        height: 520px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

.main-visual {
    position: relative;
    width: 80%;
    height: 90%;
    z-index: 1;
}

.main-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60px 0 60px 0;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.05);
}

.sub-visual {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    height: 55%;
    z-index: 2;
    border: 5px solid #fff;
    /* White frame */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 0 40px 0 40px;
    overflow: hidden;
}

.sub-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Base Frame Decoration */
.visual-group::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -15px;
    width: 50%;
    height: 70%;
    background-color: var(--color-bg-lime);
    z-index: 0;
    opacity: 0.3;
    border-radius: 40px;
}

.overlap-card {
    background: white;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin-top: -60px;
    z-index: 2;
    position: relative;
}

@media (min-width: 1024px) {
    .overlap-card {
        width: 500px;
        margin-top: 0;
        margin-left: 50px;
        padding: 60px 50px;
    }
}

.overlap-card h3 {
    font-size: 1.4rem;
    color: var(--color-text-deep);
    margin-bottom: 30px;
}

.elegant-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.elegant-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.elegant-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.card-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-weight: bold;
}

.card-footer span {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* ============================================================
   ABOUT SECTION : Elegant Split Screen
   ============================================================ */
.split-about-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 1024px) {
    .split-about-layout {
        flex-direction: row;
        gap: 60px;
        align-items: center;
    }
}

.split-about-layout .visual,
.split-about-layout .content {
    flex: 1;
}

/* About Section Visual Grouping - Modern Arch & Circle Design */
.visual.about-visual-group {
    position: relative;
    padding-bottom: 30px;
    /* Space for the overlapping circular image */
    margin-bottom: 90px;
    overflow: visible;
}

@media (min-width: 1024px) {
    .about-visual-group {
        padding-bottom: 0;
        margin-right: 60px;
        /* Gap from text */
    }
}

.about-img-main {
    width: 85%;
    object-fit: cover;
    aspect-ratio: 3/4;
    /* Taller frame */
    border-radius: 150px 150px 0 0;
    /* Elegant Arch Shape */
    box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.05);
    z-index: 1;
    position: relative;
    display: block;
    margin: 0 auto 0 0;
    /* Align left */
}

@media (min-width: 1024px) {
    .about-img-main {
        border-radius: 250px 250px 0 0;
        /* Larger arch on desktop */
        width: 80%;
    }
}

.about-img-sub {
    width: 55%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    position: absolute;
    bottom: -10%;
    right: 0;
    z-index: 4;
    border: 10px solid var(--color-bg-ivory);
    /* Matches #about section background */
    border-radius: 50%;
    /* Perfect Circle */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .about-img-sub {
        right: -20px;
        bottom: 50px;
        /* Float it slightly higher on desktop */
        width: 50%;
        border-width: 15px;
    }
}

.split-about-layout .content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    /* Add glass text card on mobile too */
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(107, 191, 89, 0.05);
    position: relative;
    z-index: 3;
    margin-top: -30px;
    /* Pull up to overlap image on mobile */
}

@media (min-width: 1024px) {
    .split-about-layout .content {
        padding: 50px;
        margin-top: 0;
        margin-left: -80px;
        /* Overlap the image on desktop */
    }
}

#about .headline-jp::after {
    left: 0;
    transform: none;
}

/* Service Section: Modern Editorial Collage Style */

#service {
    background-color: rgba(107, 191, 89, 0.05);
    backdrop-filter: blur(10px);
}

#service .service-item {
    margin-bottom: 120px;
    position: relative;
}

#service .service-item .content {
    padding: 20px 10px;
    position: relative;
    z-index: 2;
}

#service .service-item .visual {
    position: relative;
    z-index: 1;
    overflow: visible;
    /* To allow badges to overflow */
}

/* Numeric Floating Badge */
.service-item .content::before {
    content: attr(data-number);
    position: absolute;
    top: -40px;
    left: 0;
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-bg-beige);
    z-index: -1;
    line-height: 1;
    font-family: var(--font-main);
    opacity: 0.8;
}

/* --- Service Section Redesign --- */

.service-visual-group {
    position: relative;
    padding: 20px;
}

.service-img-main {
    width: 90%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.05);
    z-index: 1;
    position: relative;
    border-radius: 0; /* Standardized to square */
}

.service-img-sub {
    width: 40%; /* Small icon size */
    object-fit: contain; /* Better for transparent icons/PNGs */
    position: absolute;
    z-index: 2;
    transition: transform 0.3s ease;
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Positioning Logic for overlapping sub-images */
.group-1 .service-img-main { border-radius: 0; }
.group-1 .service-img-sub { bottom: 0; right: 0; }

.group-2 .service-img-main { border-radius: 0; margin-left: auto; display: block; }
.group-2 .service-img-sub { bottom: 0; left: 0; }

.group-3 .service-img-main { border-radius: 0; width: 85%; margin: 0 auto; display: block; }
.group-3 .service-img-sub { bottom: 0; right: 0; }


@media (min-width: 1024px) {
    .service-visual-group {
        padding: 40px;
    }
    
    .group-1 .service-img-sub { right: -20px; bottom: -20px; }
    .group-2 .service-img-sub { left: -20px; bottom: -20px; }
    .group-3 .service-img-sub { right: -10px; bottom: 0; }
}

@media (min-width: 768px) {
    #service .service-item {
        display: flex;
        align-items: center;
        gap: 60px;
    }

    /* Point 1, 3 (odd): HTML is (Content, Visual). To get Image Left, use row-reverse. */
    #service .service-item:nth-child(odd) {
        flex-direction: row-reverse;
    }

    /* Point 2 (even): HTML is (Visual, Content). To get Image Right, use row-reverse. */
    #service .service-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    #service .service-item .content {
        flex: 1;
        max-width: 520px;
        /* Sync with image max-width */
        padding: 20px;
    }

    #service .service-item .visual {
        flex: 1;
        max-width: 520px;
        aspect-ratio: auto; /* Remove fixed aspect to handle overflow sub-imgs */
        overflow: visible;
    }
}

#service .service-item h4 {
    margin-top: 20px;
    border-left: 2px solid var(--color-primary);
    padding-left: 15px;
}

/* ============================================================
   MENU SECTION : Elegant Grid Cards
   ============================================================ */
.menu-cards-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .menu-cards-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.menu-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-group-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.menu-group-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-group:hover .menu-group-visual img {
    transform: scale(1.05);
}

.menu-card {
    background: rgba(107, 191, 89, 0.05);
    padding: 40px;
    border: 1px solid rgba(107, 191, 89, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-text-deep);
}

.menu-card .price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--color-primary);
}

/* ============================================================
   MESSAGE SECTION : Floating Glass Card
   ============================================================ */
.floating-card-layout {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.floating-card-layout .bg-visual {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .floating-card-layout .bg-visual {
        aspect-ratio: 16 / 9;
    }
}

.floating-card-layout .bg-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 40%;
    /* Focus the visual weight on the right side */
    filter: brightness(0.95);
    /* Removed sepia for a cleaner, modern look */
    transition: transform 0.8s ease;
}

.floating-card-layout:hover .bg-visual img {
    transform: scale(1.02);
    /* Subtle luxurious zoom on hover */
}

#message .content {
    background: rgba(255, 255, 255, 0.85);
    /* Pure, clean white glass */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* Adds a crisp edge to the frosted glass */
    padding: 50px 30px;
    margin: -80px 20px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    /* Softer, broader shadow */
}

@media (min-width: 1024px) {
    #message .content {
        position: absolute;
        top: 50%;
        left: 50px;
        transform: translateY(-50%);
        margin: 0;
        padding: 60px 50px;
    }
}


/* Grid Layouts - Fixed for specificity */
.asym-grid-40-60 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.visual {
    position: relative;
    overflow: hidden;
}

.visual img {
    transition: transform var(--transition-base);
}

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

@media (min-width: 768px) {
    .asym-grid-40-60 {
        grid-template-columns: 4fr 6fr;
    }

    .asym-grid-60-40 {
        grid-template-columns: 6fr 4fr;
    }
}

/* CTA */
.cta-banner {
    background-color: var(--color-bg-beige);
    padding: 60px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
    text-align: center;
    min-width: 250px;
}

/* Parallax Section */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0;
    position: relative;
}

/* Light overlay to maintain title color visibility */
.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 251, 247, 0.7);
    /* Matching --color-bg-ivory with transparency */
    z-index: 1;
}

.parallax-bg .container-custom {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
        /* Better performance on mobile */
    }
}

/* Top to back btn */
#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0.8;
}

/* Fixed CTA Bottom SP */
.sp-fixed-cta {
    display: none;
}

@media (max-width: 767px) {
    .sp-fixed-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 1001;
    }

    .sp-fixed-cta a {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: white;
        font-weight: 700;
        font-size: 0.9rem;
    }

    .sp-fixed-cta .tel {
        background-color: var(--color-primary);
    }

    .sp-fixed-cta .web {
        background-color: var(--color-accent);
    }
}

/* --- Pure CSS Marquee Gallery (Unstoppable) --- */
.marquee-gallery {
    width: 100vw;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 30px 0;
    user-select: none;
}

.marquee-container {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 20px;
    padding-right: 20px; /* Match gap */
    animation: marquee-scroll 60s linear infinite;
    will-change: transform;
}

/* Force animation to keep running regardless of state */
.marquee-content img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
    flex-shrink: 0;
    pointer-events: auto; /* Ensure clicks still work */
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .marquee-content img {
        width: 280px;
        height: 280px;
    }
    .marquee-content {
        animation-duration: 40s; /* Adjust speed for smaller screens */
    }
}


/* Modal Gallery */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 5000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5010;
    transition: opacity 0.3s;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    z-index: 5010;
    user-select: none;
    transition: opacity 0.3s;
}

.modal-prev { left: 10px; }
.modal-next { right: 10px; }

.modal-close:hover,
.modal-prev:hover,
.modal-next:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .modal-prev, .modal-next {
        font-size: 2rem;
        padding: 10px;
    }
}

/* Service Points */
.service-item {
    margin-bottom: 80px;
}

/* Access Section Styles */
.access-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .access-layout {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 80px;
    }
}

#access .content {
    flex: 1;
    max-width: 520px;
}

.map-box {
    flex: 1;
    width: 100%;
    max-width: 520px;
    height: 330px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .map-box {
        min-height: 400px;
        height: auto;
    }
}

/* Floating Frame Effect for Map */
.map-box::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-primary);
    z-index: -1;
    pointer-events: none;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border-radius: 0;
    filter: grayscale(0.2) contrast(1.1);
}

@media screen and (max-width: 781px) {
    .sns-buttons {
        flex-direction: column;
        width: 100%;
    }

    .sns-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s var(--transition-base);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.info-group p {
    line-height: 1.6;
}

/* Custom Utilities */
.text-right-aligned {
    text-align: right;
}

.text-center-aligned {
    text-align: center;
}

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

@media screen and (max-width:781px) {

    #message .content,
    .menu-card,
    .overlap-card {
        background: white;
        padding: 40px 10px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        width: 90%;
        margin: -60px auto 0;
        z-index: 2;
        position: relative;
    }
}

/* ============================================================
   MENU SECTION : Recommended Menu
   ============================================================ */
.recommend-card-f {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

@media(min-width: 768px) {
    .recommend-card-f {
        flex-direction: row;
        align-items: stretch;
    }
}

.recommend-card-f .visual {
    flex: 1;
    min-height: 300px;
}

.recommend-card-f .visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-card-f .content {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recommend-card-f .meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-bg-beige);
    padding-bottom: 10px;
}

.recommend-card-f h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.recommend-card-f .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.recommend-card-f .desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
}

.recommend-card-f .note {
    font-size: 0.8rem;
    margin-top: 15px;
    color: #999;
    font-style: italic;
}

/* Specific styling for Recommended Menu Section Headline */
#menu-recommend .headline-en,
#menu-recommend .headline-jp {
    color: #fff;
}

#menu-recommend .headline-jp::after {
    background-color: #fff;
}

/* Darken overlay for Recommendation section to make white text legible */
#menu-recommend.parallax-bg::before {
    background: rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 781px) {
    .recommend-card-f .content {
        padding: 40px 20px;
        /* Slightly more padding for better readability */
    }

    .recommend-card-f .visual {
        flex: 1;
        min-height: 247px;
    }

    .recommend-card-f .meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .recommend-card-f h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .recommend-card-f .price {
        font-size: 1.4rem;
        width: 100%;
        text-align: right;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

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

/* --- New Sections Styling --- */

.section-hidden {
    display: none !important;
}

/* Reviews Section */
#reviews {
    background-color: var(--color-bg-beige);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 52px;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-bg-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.review-stars {
    color: #fbbc04; /* Google Star Color */
    font-size: 1.2rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Before/After Section */
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ba-item {
    text-align: center;
}

.ba-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 4 / 3;
}

.ba-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-labels {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.ba-label {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.85rem;
}

.ba-label.before {
    background-color: #f0f0f0;
    color: #666;
}

.ba-label.after {
    background-color: var(--color-primary);
    color: white;
}


/* Precautions Section - Beautiful Redesign */
#precautions {
    padding: 100px 0;
    background-color: var(--color-bg-ivory);
}

.precautions-card {
    background: white;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(107, 191, 89, 0.08); /* Subtle green shadow */
    position: relative;
    border: 1px solid rgba(107, 191, 89, 0.1);
}

.precautions-card::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px dashed rgba(107, 191, 89, 0.2);
    border-radius: 30px;
    pointer-events: none;
}

.precautions-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.precautions-title h3 {
    font-size: 1.8rem;
    color: var(--color-text-deep);
    position: relative;
    display: inline-block;
}

.precautions-title .sub-en {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 700;
}

.precautions-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
}

@media (min-width: 768px) {
    .precautions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Last item spans full width if needed, or we keep it grid */
    .precaution-group.full-width {
        grid-column: span 2;
    }
}

.precaution-group {
    background: var(--color-bg-ivory);
    padding: 30px;
    border-radius: 20px;
    height: 100%;
}

.group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.group-title .icon {
    width: 32px;
    height: 32px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.precaution-items {
    list-style: none;
}

.precaution-items li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

.precaution-items li:last-child {
    margin-bottom: 0;
}

.precaution-items li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 0.6rem;
    top: 2px;
}

.important-note {
    background-color: rgba(107, 191, 89, 0.05);
    border-left: 4px solid var(--color-primary);
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 0 12px 12px 0;
}

.important-note p {
    font-size: 0.9rem;
    color: var(--color-text-deep);
    font-weight: 500;
}

@media (max-width: 767px) {
    .precautions-card {
        padding: 50px 25px;
        border-radius: 30px;
    }
    
    .precautions-title h3 {
        font-size: 1.5rem;
    }
}
