/* ============================================
   THE NATURAL BOWL - Style Sheet
   Design inspired by mds-fund.com
   ============================================ */

/* === CSS Variables === */
:root {
    --color-bg: #f5f5f5; /* Light grey instead of black */
    --color-bg-pure: #ffffff;
    --color-bg-alt: #eaeaea;
    --color-bg-elevated: #f3ebe1; /* Warm elegant beige for cards */
    --color-text: #111111; /* Darkened for better contrast */
    --color-text-secondary: #333333; /* Darkened for better contrast */
    --color-accent: #8b6b3d; /* Darker gold for better contrast on white */
    --color-highlight-y: #d4af37;
    --color-highlight-b: #0088cc;
    --color-border: rgba(0, 0, 0, 0.15);

    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Montserrat', 'Noto Sans JP', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --line-height-readable: 2.0; /* Air between lines */
    --body-max-width-accessible: 25em; /* Limited characters per line */

    --nav-height: 80px;
    --container-width: 1280px;
    --container-padding: 40px;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 20px; /* Minimum 20px base for high visibility */
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    background-image: url('images/white-marble-bg-v3.jpg');
    background-size: 800px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
    color: var(--color-text);
    line-height: var(--line-height-readable);
    overflow-x: hidden;
    width: 100%;
    /* Add a subtle white halo behind text to make it readable over dark marble veins */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.9);
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Accessible Highlighting */
.highlight-text {
    font-weight: 700;
    color: var(--color-highlight-y);
    text-shadow: 0 0 5px var(--color-highlight-y);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* === Container === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === Loading Screen === */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    background-image: url('images/white-marble-bg-v3.jpg');
    background-size: 800px;
    background-repeat: repeat;
    background-position: center;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease, visibility 0.8s;
    overflow: hidden;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
    width: 320px; /* Wider for full brand name centering */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 300;
    white-space: nowrap; /* Enforce single line */
    opacity: 0;
    animation: loaderLogoReveal 1.2s forwards 0.2s;
}

@keyframes loaderLogoReveal {
    from { opacity: 0; letter-spacing: 0.8em; filter: blur(10px); }
    to { opacity: 1; letter-spacing: 0.3em; filter: blur(0); }
}

.loader-bar {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--color-accent);
    box-shadow: 0 0 15px var(--color-accent);
    transition: width 0.4s var(--ease-out-expo);
}

.loader-status {
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: space-between;
    opacity: 0.6;
}

/* === Scroll Animations === */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-fade-in {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-in.visible {
    opacity: 1;
}

/* === Parallax Stars & Nebula === */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    transform: translate(-5%, -5%);
    display: none; /* Hide stars for marble theme */
}

.nebula-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(200, 168, 110, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(74, 124, 89, 0.05) 0%, transparent 40%);
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.3;
}

/* === Glitch Animation === */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.2s;
}

.glitch-text:hover::before {
    animation: glitch-anim 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: #0ff;
    z-index: -1;
    opacity: 0.5;
}

.glitch-text:hover::after {
    animation: glitch-anim 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
    color: #f0f;
    z-index: -2;
    opacity: 0.5;
}

@keyframes glitch-anim {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* === Glow Effect for Nav Links === */
.nav-link {
    transition: color 0.4s var(--ease-out-expo), text-shadow 0.4s ease;
}

.nav-link:hover {
    color: var(--color-accent-light) !important;
    text-shadow: 0 0 10px rgba(200, 168, 110, 0.5);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-padding);
    gap: 40px; /* Safe space between logo/links/actions */
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced gap for smaller screens */
    z-index: 1100;
    flex-shrink: 1; /* Allow logo area to shrink if needed */
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-expo);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.1) rotate(5deg);
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-line-btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #06c755; /* LINE Brand Green */
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    height: auto;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.6);
    animation: btnPulseGlowNav 2s infinite;
}

@keyframes btnPulseGlowNav {
    0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(6, 199, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}

.nav-line-btn-custom:hover {
    background: #05b34c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
    animation: none; /* Pause pulse on hover */
}


.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px; /* Balanced spacing */
    flex-shrink: 0;
    min-width: min-content;
}

/* Language Switcher */
.header__lang {
    position: relative;
}

.header__lang-toggle {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    min-width: 100px;
}

.header__lang-toggle:hover {
    background: var(--color-accent);
    color: #000;
}

.header__lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out-expo);
    z-index: 1200;
}

.header__lang.is-active .header__lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__lang-option {
    display: block;
    width: 100%;
    padding: 10px 20px;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header__lang-option:hover {
    color: var(--color-accent);
    background: rgba(200, 168, 110, 0.05);
}

.header__lang-option.is-active {
    color: var(--color-accent);
    font-weight: 700;
}

.nav-cta {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-bg);
    background: var(--color-accent);
    padding: 10px 24px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--color-accent-light);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-box {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Simple List Style for Accessibility */
.list-simple {
    list-style: none;
    padding: 0;
    width: 100%;
    max-width: var(--body-max-width-accessible);
}

.list-simple li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--color-text);
}

.list-simple li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--color-highlight-b);
    font-size: 0.8rem;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98); /* Match --color-bg, very opaque for readability */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 2000; /* Above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Reduced gap for better fit */
    width: 100%;
    max-height: 90vh; /* Allow slightly more height */
    overflow-y: auto;
    padding: 80px 20px 60px; /* Reduced top padding */
}


.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.6rem; /* Slightly smaller for better balance */
    font-weight: 300;
    letter-spacing: 0.25em;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(30px);
    opacity: 0;
    text-transform: uppercase;
    padding: 8px 20px;
}

.mobile-menu.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-link:hover {
    color: var(--color-accent);
    transform: scale(1.1);
    letter-spacing: 0.35em;
    text-shadow: 0 0 20px rgba(200, 168, 110, 0.4);
}

/* Staggered load for ALL children of inner */
.mobile-menu.active .mobile-menu-inner > * {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-inner > *:nth-child(1) { transition: all 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(2) { transition: all 0.6s 0.15s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(3) { transition: all 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(4) { transition: all 0.6s 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(5) { transition: all 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(6) { transition: all 0.6s 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(7) { transition: all 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(8) { transition: all 0.6s 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(9) { transition: all 0.6s 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(10) { transition: all 0.6s 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(11) { transition: all 0.6s 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.active .mobile-menu-inner > *:nth-child(12) { transition: all 0.6s 0.65s cubic-bezier(0.16, 1, 0.3, 1); }

/* === Hero Section === */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.1);
    transform-origin: center center;
    transition: transform 12s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-img.loaded {
    transform: scale(1);
}

.hero-overlay {
    display: none; /* User requested to remove the filter */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.6) 100%);
    z-index: 1;
}

/* === Hero Logo Animation === */
.hero-center-box {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: -5vh;
}

.hero-logo-container {
    position: relative;
    width: 320px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* SVG golden ring that draws itself */
.logo-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}

.logo-ring.animate {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.logo-ring-path {
    stroke-dasharray: 1050;
    stroke-dashoffset: 1050;
}

.logo-ring.animate .logo-ring-path {
    animation: drawRing 2s 0.3s var(--ease-out-expo) forwards;
}

.logo-ring-path-inner {
    stroke-dasharray: 990;
    stroke-dashoffset: 990;
}

.logo-ring.animate .logo-ring-path-inner {
    animation: drawRingInner 2s 0.6s var(--ease-out-expo) forwards;
}

@keyframes drawRing {
    0% {
        stroke-dashoffset: 1050;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawRingInner {
    0% {
        stroke-dashoffset: 990;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* Glow effect behind logo */
.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle,
            rgba(200, 168, 110, 0.25) 0%,
            rgba(200, 168, 110, 0.08) 40%,
            transparent 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0;
    filter: blur(20px);
}

.logo-glow.animate {
    animation: glowPulseIn 1.5s 0.8s var(--ease-out-expo) forwards;
}

@keyframes glowPulseIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* After reveal, subtle glow breathe */
.logo-glow.breathe {
    animation: glowBreathe 4s ease-in-out infinite;
}

@keyframes glowBreathe {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Logo image reveal via clip-path */
.hero-logo-reveal {
    position: relative;
    z-index: 2;
    width: 280px;
    clip-path: ellipse(0% 0% at 50% 50%);
    opacity: 0;
}

.hero-logo-reveal.animate {
    animation: logoReveal 1.8s 1.2s var(--ease-out-expo) forwards;
}

@keyframes logoReveal {
    0% {
        clip-path: ellipse(0% 0% at 50% 50%);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    100% {
        clip-path: ellipse(80% 80% at 50% 50%);
        opacity: 1;
    }
}

.hero-text-overlay {
    text-align: center;
    width: 100%;
    padding: 0 20px;
    z-index: 5;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.2rem, 8vw, 5rem);
    letter-spacing: 0.1em;
    color: #fff;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
    margin: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 20;
}

/* After reveal, gentle float */
.hero-logo-reveal.float {
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-logo-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(200, 168, 110, 0.2));
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.hero-scroll-indicator span {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
}

/* === Accessible Buttons (High Contrast & 3D) === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem; /* Highly readable size */
    font-weight: 700; /* Robust weight */
    letter-spacing: 0.05em;
    padding: 20px 56px;
    border-radius: 12px; /* Smooth rounded corners */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    border: none;
    animation: btnFloat 4s ease-in-out infinite;
    z-index: 10;
}

.btn-primary, .btn-dark, .btn-white {
    background: #F9D482 !important; /* Brighter, high-visibility Gold */
    color: #000000 !important; /* Pure black text for maximum contrast */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 6px 0 #A88B4A; /* Pronounced 3D shadow */
}

.btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #A88B4A;
}

.btn:hover {
    filter: brightness(1.1);
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 15px 40px rgba(249, 212, 130, 0.4), 0 8px 0 #A88B4A;
    animation: none;
}

@keyframes btnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.btn-lg {
    padding: 20px 56px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* High Conversion CTA Enhancements (Holographic Scan) */
.btn-glow {
    animation: btnPulseGlow 3s infinite alternate;
    box-shadow: 0 0 20px rgba(200, 168, 110, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: none;
    pointer-events: none;
}

.btn-glow:hover::after {
    animation: hsrScanner 0.8s ease-in-out forwards;
}

@keyframes hsrScanner {
    0% { transform: rotate(45deg) translate(-100%, -100%); }
    100% { transform: rotate(45deg) translate(100%, 100%); }
}

@keyframes btnPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 168, 110, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(200, 168, 110, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(200, 168, 110, 0);
    }
}

.btn-line-cta {
    background: #06C755; /* LINE Green */
    color: #fff;
    border: none;
    font-weight: 700;
}

.btn-line-cta:hover {
    background: #05a044;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4);
}

/* === Marquee === */
.marquee-section {
    padding: 20px 0;
    background: transparent;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.marquee-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
}

.marquee-track span {
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === Section Common === */
.section {
    padding: 160px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    margin-bottom: 24px;
    text-transform: uppercase;
    opacity: 0.8;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--color-text);
    letter-spacing: 0.1em;
    text-align: center; /* Centered by default for most sections */
    line-height: 1.4;
}

/* Exception for THE NATURAL BOWL (About) section */
.section-about .section-title {
    text-align: left !important;
}

@media (max-width: 768px) {
    .section-about .section-title {
        text-align: center !important;
    }
}

.about-left-header {
    text-align: left;
    width: 100%;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-text, p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: var(--body-max-width);
    margin-bottom: 2rem;
}

.title-line {
    display: block;
}

/* === About Section === */
.section-about {
    background: transparent;
    overflow: hidden;
}

/* Floating decorative shapes */
.about-float {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    pointer-events: none;
}

.about-float-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent), transparent 70%);
    top: -100px;
    right: -100px;
    animation: aboutFloat1 20s ease-in-out infinite;
}

.about-float-2 {
    width: 250px;
    height: 250px;
    border: 1px solid var(--color-accent);
    bottom: 50px;
    left: -80px;
    animation: aboutFloat2 15s ease-in-out infinite;
}

.about-float-3 {
    width: 150px;
    height: 150px;
    background: var(--color-green);
    top: 40%;
    right: 10%;
    animation: aboutFloat3 18s ease-in-out infinite;
}

@keyframes aboutFloat1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-30px, 40px) rotate(60deg);
    }

    66% {
        transform: translate(20px, -20px) rotate(120deg);
    }
}

@keyframes aboutFloat2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(40px, -30px) rotate(180deg);
    }
}

@keyframes aboutFloat3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-20px, 30px);
    }

    66% {
        transform: translate(15px, -15px);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
}

.about-left-header {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.about-left-content {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.about-right {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    align-self: flex-start;
    /* Snap to the exact top of the text block */
}

/* Text divider */
.about-text-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.about-text-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: dividerShimmer 3s 1s ease-in-out infinite;
}

@keyframes dividerShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    font-family: var(--font-jp);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* Slide-in from left animation */
.anim-slide-left {
    transform: translateX(-40px) translateY(40px);
}

.anim-slide-left.visible {
    transform: translateX(0) translateY(0);
}

/* About image container */
.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 0 40px rgba(200, 168, 110, 0.15);
    display: inline-block;
    width: fit-content;
}

.about-image-inner {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 16px;
    background: transparent;
    display: flex;
}

.about-logo-image {
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}

/* === Newly added Premium Logo Animation === */
.premium-logo-anim {
    animation: premiumFloat 6s ease-in-out infinite;
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.premium-logo-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 16px;
    overflow: hidden;
}

/* Add a shimmering light sweep on hover */
.premium-logo-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(200, 168, 110, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.8s ease-in-out;
    pointer-events: none;
    z-index: 10;
}

.about-image-frame:hover .premium-logo-wrapper::after {
    left: 200%;
}

.about-image-frame:hover .premium-logo-anim {
    transform: scale(1.05) translateY(-5px);
    filter: brightness(1.1) contrast(1.05);
    /* Make the gold pop on hover! */
}

@keyframes premiumFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    /* Gentle levitation */
}

/* About image reveal animation */
.about-image-frame.anim-fade-up.visible {
    animation: aboutImageReveal 1.4s var(--ease-out-expo) forwards;
}

@keyframes aboutImageReveal {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.85) rotate(-2deg);
        filter: blur(15px);
    }

    50% {
        opacity: 1;
        filter: blur(0);
    }

    75% {
        transform: translateY(-8px) scale(1.02) rotate(0.5deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
        filter: blur(0);
    }
}

/* Golden glow behind image */
.about-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(200, 168, 110, 0.35), transparent 65%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    filter: blur(10px);
}

.about-image-frame:hover .about-image-glow {
    opacity: 1;
    animation: aboutGlowPulse 2s ease-in-out infinite;
}

@keyframes aboutGlowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

/* Golden corner accents */
.about-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo);
}

.about-image-frame.anim-fade-up.visible .about-corner {
    opacity: 1;
}

.about-corner-tl {
    top: -6px;
    left: -6px;
    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    transform: translate(-10px, -10px);
    transition-delay: 0.8s;
}

.about-corner-tr {
    top: -6px;
    right: -6px;
    border-top: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    transform: translate(10px, -10px);
    transition-delay: 0.9s;
}

.about-corner-bl {
    bottom: -6px;
    left: -6px;
    border-bottom: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    transform: translate(-10px, 10px);
    transition-delay: 1.0s;
}

.about-corner-br {
    bottom: -6px;
    right: -6px;
    border-bottom: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    transform: translate(10px, 10px);
    transition-delay: 1.1s;
}

.about-image-frame.anim-fade-up.visible .about-corner-tl {
    transform: translate(0, 0);
}

.about-image-frame.anim-fade-up.visible .about-corner-tr {
    transform: translate(0, 0);
}

.about-image-frame.anim-fade-up.visible .about-corner-bl {
    transform: translate(0, 0);
}

.about-image-frame.anim-fade-up.visible .about-corner-br {
    transform: translate(0, 0);
}

/* Shimmer effect on about image frame */
.about-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    z-index: 2;
    transition: left 0.8s ease;
    border-radius: 8px;
}

.about-image-frame:hover::before {
    left: 100%;
}

/* Floating badge */
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-bg);
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    padding: 16px 20px;
    text-align: center;
    z-index: 5;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.about-badge-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.about-badge-unit {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-accent);
}

.about-badge-text {
    display: block;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* === Big Text Section === */
.section-bigtext {
    padding: 180px 0;
    background: transparent;
    text-align: center;
}

.bigtext-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 16px;
}

.bigtext-word {
    font-family: var(--font-jp);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, #e8d5a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================
   PRODUCT ANATOMY SECTION
======================== */
.product-anatomy {
    position: relative;
    background: transparent;
    /* 黒背景に合わせて設定してください */
    padding: 100px 0;
    overflow: hidden;
}

.anatomy-sticky {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.anatomy-title {
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: calc(100% - 40px);
    max-width: 90vw;
    font-size: clamp(1rem, 6vw, 2.5rem); /* Reduced max for mobile */
    font-weight: 700;
    color: var(--color-text);
    z-index: 10;
    line-height: 1.4;
    white-space: normal; /* Force wrapping */
    overflow-wrap: break-word;
}

.anatomy-title span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-accent);
    /* ゴールドアクセント */
    display: block;
    margin-top: 10px;
    letter-spacing: 0.1em;
}

.anatomy-centerpiece {
    position: relative;
    width: 42vw; /* Viewport-relative for consistent scaling */
    max-width: 650px;
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    opacity: 0;
    transform: scale(0.9);
}

.anatomy-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.anatomy-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.anatomy-layer {
    position: absolute;
    width: 320px;
    opacity: 0;
    transform: translateY(30px);
    color: var(--color-text);
    /* Enhancements for readability (Matched to other panels) */
    background: var(--color-bg-elevated);
    padding: 16px 20px; /* Reduced internal whitespace */
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

/* 各説明テキストの配置位置 (PC向け) */
#layer-1 {
    top: 15%;
    left: 3%;
}

#layer-2 {
    top: 25%;
    right: 3%;
    text-align: right;
}

#layer-3 {
    top: 55%;
    left: 3%;
}

#layer-4 {
    top: 65%;
    right: 3%;
    text-align: right;
}

.layer-number {
    font-size: 1.1rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.anatomy-layer h3 {
    font-size: 1.4rem; /* Reduced to prevent awkward wrapping */
    font-weight: 700;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
    color: var(--color-text);
}

.layer-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    display: block;
    margin-top: 5px;
}

.anatomy-layer p {
    font-size: 0.85rem; /* Reduced to look cleaner */
    line-height: 1.6; /* Reduced line height */
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* スマホ向けのレスポンシブ調整 */
@media (max-width: 768px) {
    .anatomy-sticky {
        height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .anatomy-title {
        position: relative;
        top: 0;
        transform: none;
        margin-bottom: 40px;
        line-height: 1.3;
    }

    .anatomy-centerpiece {
        opacity: 1;
        transform: scale(1);
        height: auto;
        width: 85vw;
        max-height: 40vh;
        margin-top: 0;
        margin-bottom: 40px;
    }

    .anatomy-layers {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
        margin-top: 0;
    }

    .anatomy-layer {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100%;
        text-align: left !important;
        transform: translateY(0);
        opacity: 1;
    }
}

/* === Menu Section === */
.section-menu {
    background: transparent;
}

.menu-category {
    margin-bottom: 80px;
}

.menu-category:last-of-type {
    margin-bottom: 40px;
}

.menu-category-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.menu-category-title-jp {
    display: block;
    font-family: var(--font-jp);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.menu-grid {
    display: grid;
    gap: 24px;
}

.menu-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* === Topping Section Styles === */
.topping-categories {
    margin-top: 60px;
}

.topping-category {
    margin-bottom: 40px;
}

.topping-category-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.topping-category-name::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(200, 168, 110, 0.2);
}

.topping-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.topping-item {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    padding: 12px 16px;
    background: var(--color-bg-elevated);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.topping-item:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 168, 110, 0.1);
}

.topping-price {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
}

.menu-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.menu-card {
    background: var(--color-bg-elevated);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.5s var(--ease-out-expo);
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.menu-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.1);
}

.menu-card-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
}

.menu-card-tag {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 4px 12px;
    border-radius: 2px;
}

.menu-card-tag.tag-popular {
    background: var(--color-accent);
}

.menu-card-tag.tag-best {
    background: linear-gradient(135deg, #c8a86e, #e8d5a8);
    color: #1a1a0a;
}

.menu-card-tag.tag-limited {
    background: var(--color-limited);
    color: white;
}

.menu-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: transparent; /* Changed to transparent so marble/glassmorphism shows through */
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents image from being cut off */
    transition: transform 0.6s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 20px;
}

.menu-card-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff; /* Solid white for absolute clarity */
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.2), 0 0 10px rgba(200, 168, 110, 0.1);
    }
    100% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 15px rgba(200, 168, 110, 0.5), 0 0 25px rgba(200, 168, 110, 0.3);
    }
}

.menu-card-title-jp {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-family: var(--font-jp);
    margin-bottom: 10px;
}

.menu-card-desc {
    font-size: 0.78rem;
    line-height: 1.7;
    color: #ffffff; /* Unified to white for readability on aurora backgrounds */
    margin-bottom: 16px;
    font-family: var(--font-jp);
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

.menu-card-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.menu-card-price-original {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.menu-card-price {
    font-family: var(--font-sans); /* Simple, modern font */
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

/* Animated Underline */
.menu-card-price::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: var(--color-accent);
    box-shadow: 0 0 5px var(--color-accent);
    animation: priceLineAnim 2.5s ease-in-out infinite alternate;
}

@keyframes priceLineAnim {
    0% {
        width: 60%;
        left: 20%;
        opacity: 0.4;
    }
    100% {
        width: 100%;
        left: 0;
        opacity: 1;
        box-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent);
    }
}

.menu-card-rating {
    font-size: 0.7rem;
    color: var(--color-accent);
    letter-spacing: 0.03em;
}

.menu-card-badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-limited);
    border: 1px solid var(--color-limited);
    padding: 2px 8px;
    border-radius: 2px;
}

/* Compact card (no image - for smoothie/drink) */
.menu-card-compact .menu-card-body {
    padding: 24px 20px;
}

.menu-card-compact .menu-card-desc {
    margin-bottom: 14px;
}

.menu-note {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.menu-note p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-family: var(--font-jp);
}

/* === "もっと見る" Toggle === */
.menu-hidden {
    display: none !important;
}

.menu-visible {
    display: block !important;
    animation: menuReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes menuReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.menu-more-btn {
    min-width: 200px;
    cursor: pointer;
}

/* === Hub Cards (Menu / Service) === */


.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.hub-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.4s ease;
    touch-action: pan-y;
}

.hub-card:hover {
    transform: translateY(-4px);
}

.hub-card-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.hub-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hub-card:hover .hub-card-image img {
    transform: scale(1.05);
}

.hub-card-overlay {
    position: absolute;
    inset: 0;
    /* Make the bottom much darker for better text contrast */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0) 100%);
}

.hub-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    z-index: 2;
}

.hub-card-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700 !important; /* Override global h3 */
    letter-spacing: 0.12em;
    margin-bottom: 4px;
    color: #ffffff !important; /* Force white text */
    text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 0 5px rgba(0,0,0,0.5); /* Strong shadow */
}

.hub-card-subtitle {
    font-family: var(--font-jp);
    font-size: 0.85rem;
    font-weight: 700 !important; /* Override global p */
    color: var(--color-accent) !important; /* Force gold text */
    opacity: 1;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9); /* Strong shadow */
}

.hub-card-arrow {
    position: absolute;
    bottom: 20px;
    right: 18px;
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.hub-card:hover .hub-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Specific highlight for LINE card */
.hub-card-line-highlight {
    border: 1px solid rgba(6, 199, 85, 0.3);
    transition: all 0.4s var(--ease-out-expo);
}

.hub-card-line-highlight:hover {
    border-color: #06c755;
    box-shadow: 0 0 20px rgba(6, 199, 85, 0.2);
}

/* Specific highlight for Delivery card */
.hub-card-delivery-highlight {
    border: 1px solid rgba(200, 168, 110, 0.2);
}

.hub-card-delivery-highlight:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(200, 168, 110, 0.2);
}


/* === Scene / Recommendation Section === */
.section-recommendation {
    background: transparent;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rec-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.rec-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.rec-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.rec-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.rec-card:hover .rec-img {
    transform: scale(1.08);
}

.rec-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
}

.rec-content {
    padding: 30px;
    position: relative;
    z-index: 2;
    margin-top: -60px; /* Overlap image slightly */
}

.rec-subtitle {
    font-size: 0.65rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 8px;
}

.rec-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.rec-desc {
    font-family: var(--font-jp);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .rec-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .rec-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* === Service Section === */
.section-service {
    background: transparent;
}

.section-service .hub-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 cards take up the full width evenly */
}

.section-service .hub-card-content {
    text-align: center; /* Center the text */
}

.section-service .hub-card-arrow {
    display: none; /* Hide arrow for centered layout */
}


@media (max-width: 768px) {
    .hub-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hub-card-image {
        aspect-ratio: 4/3;
    }

    .hub-card-title {
        font-size: 1.2rem;
    }

    .hub-card-subtitle {
        font-size: 0.8rem;
    }

    .hub-card-content {
        padding: 20px;
    }
}

/* === Philosophy Section === */
.section-philosophy {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-bg-pure);
    overflow: hidden;
}

.philosophy-bg {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
}

.philosophy-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    will-change: transform;
}

.philosophy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.75);
}

.philosophy-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-title {
    font-family: var(--font-jp);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.03em;
    margin-bottom: 32px;
}

.philosophy-text {
    font-size: 0.9rem;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    font-family: var(--font-jp);
}

.section-features {
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 60px 25px; /* Reduced horizontal padding for PC */
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.5s var(--ease-out-expo);
    overflow-wrap: break-word; /* Prevent side clipping */
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.feature-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-accent);
    margin-bottom: 24px;
    opacity: 0.6;
}

.feature-title {
    font-family: var(--font-jp);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-desc {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    font-family: var(--font-jp);
}

/* === Stores Section === */
.section-stores {
    background: transparent;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.store-card {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.5s var(--ease-out-expo);
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--color-accent);
}

.store-image {
    height: auto;
    aspect-ratio: 3 / 2; /* Horizontal rectangle */
    overflow: hidden;
}



.store-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show the entire image without cutting */
    background: #000; /* Dark background to fill any gaps */
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.store-card:hover .store-image img {
    transform: scale(1.05);
}

.store-info {
    padding: 28px;
    background: var(--color-bg-elevated);
}

.store-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.store-address {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.store-hours {
    font-size: 0.75rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.store-uber {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 8px 16px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.store-uber:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* === Franchise Partner Section === */
.section-franchise {
    background: transparent;
    border-top: 1px solid var(--color-border);
}

.franchise-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.franchise-text {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--color-text-secondary);
    font-family: var(--font-jp);
    margin-bottom: 24px;
}

.franchise-lead {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 30px;
    line-height: 1.4;
}

/* === News Section === */
.section-news {
    background: transparent;
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.news-item:first-child {
    border-top: 1px solid var(--color-border);
}

.news-item:hover {
    padding-left: 16px;
}

.news-item:hover .news-arrow {
    transform: translateX(4px);
    color: var(--color-accent);
}

.news-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    width: 100px;
}

.news-tag {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    padding: 3px 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

.news-title-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    flex: 1;
    font-family: var(--font-jp);
    transition: color 0.3s ease;
}

.news-item:hover .news-title-text {
    color: var(--color-text);
}

.news-arrow {
    font-size: 1rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* === Instagram Section === */
.section-instagram {
    background: transparent;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to prevent cropping */
    transition: transform 0.6s var(--ease-out-expo);
    background-color: transparent; /* Optional: ensures background is clean if image is not square */
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-overlay span {
    font-size: 1.5rem;
    color: white;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* === CTA Section === */
.section-cta {
    padding: 200px 0;
    background: transparent;
    text-align: center;
}

.cta-title {
    font-family: var(--font-jp);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.02em;
    margin-bottom: 48px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Contact Section === */
.section-contact {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 100%;
}

.contact-text {
    font-size: 0.9rem;
    line-height: 2;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    font-family: var(--font-jp);
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    width: 60px;
    flex-shrink: 0;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

a.contact-value:hover {
    color: var(--color-accent);
}

.contact-value-highlight {
    color: var(--color-accent) !important;
    font-weight: 600;
}

.contact-socials {
    display: flex;
    gap: 25px;
    margin-top: 15px;
}

.social-btn {
    width: 60px; /* Square app icon size */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px; /* Squircle characteristic */
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.social-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Redefine Pulse specifically for Square Icons */
.pulse-line {
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.6);
    animation: snsPulseLineSq 2s infinite;
}

@keyframes snsPulseLineSq {
    0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(6, 199, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}

.pulse-insta {
    box-shadow: 0 0 0 0 rgba(220, 39, 67, 0.5);
    animation: snsPulseInstaSq 2s infinite;
}

@keyframes snsPulseInstaSq {
    0% { box-shadow: 0 0 0 0 rgba(220, 39, 67, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(220, 39, 67, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 39, 67, 0); }
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    animation: none;
}


.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.form-input {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    padding: 14px 16px;
    font-size: 0.9rem;
    color: var(--color-text);
    font-family: var(--font-sans);
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--color-accent);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10L6 8z' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* === Footer === */
.footer {
    background: transparent;
    border-top: 1px solid var(--color-border);
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.footer-links-grid {
    display: flex;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
    font-family: var(--font-jp);
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-text);
}

/* === Scroll Animations === */
.anim-fade-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.98);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

canvas {
    touch-action: pan-y;
}

/* === Responsive === */
@media (max-width: 1200px) {
    .menu-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    :root {
        --container-padding: 24px;
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-left-header,
    .about-left-content,
    .about-right {
        grid-column: 1 / -1;
        grid-row: auto;
        /* Reset explicit row/col for mobile stacking */
    }

    .about-right {
        order: -1;
    }

    .about-image-wrapper {
        max-width: 85%; /* Slightly larger on mobile */
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-top {
        flex-direction: column;
        gap: 48px;
    }

    .footer-links-grid {
        gap: 40px;
    }

    .hero-logo-wrapper {
        width: 260px;
        height: 340px;
    }
    
    .nav-logo-text {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }

    /* Sub Navigation overlaps */
    .sub-nav .nav-inner {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .sub-nav-back {
        order: 3;
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-top: 10px;
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 100px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .menu-grid-3,
    .menu-grid-4 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }

    .hub-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rec-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-grid {
        display: flex; /* Switch to flex for perfect centering */
        flex-direction: column;
        width: 100%;
        margin: 0; 
        gap: 20px;
        padding: 0 10px; /* Internal safety padding */
    }

    .stores-grid {
        max-width: 400px;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-item {
        flex-wrap: wrap;
        gap: 8px;
    }

    .news-date {
        width: auto;
    }

    .news-title-text {
        width: 100%;
        flex: none;
    }

    .section-bigtext {
        padding: 120px 0;
    }

    .section-philosophy {
        padding: 140px 0;
    }

    .philosophy-text br {
        display: none;
    }

    .section-cta {
        padding: 140px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links-grid {
        flex-wrap: wrap;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-logo-wrapper {
        width: 220px;
        height: 290px;
    }

    /* Apple-quality mobile bar cleanup */
    .nav-logo-text {
        display: none !important; /* Hide long logo text to make room for buttons */
    }

    .nav-actions {
        gap: 12px; /* Balanced spacing instead of extremely tight */
        display: flex;
        align-items: center;
        height: 100%; /* Fill nav height */
    }

    .header__lang-toggle, .nav-line-btn-custom {
        padding: 6px 12px; /* More substantial padding */
        font-size: 0.7rem; /* Slightly larger for readability */
        min-width: unset;
        letter-spacing: 0.05em;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 32px; /* Fixed height for vertical alignment */
    }
    
    .hamburger {
        height: 32px; /* Match button height */
        display: flex;
        align-items: center;
        margin-right: 4px;
    }
    
    .nav-logo-img {
        width: 36px;
        height: 36px;
    }

    .container {
        padding: 0 15px; /* Unified mobile padding */
    }

    .nav-inner {
        padding: 0 15px;
    }

    /* Fixed section headers for mobile */
    .section-about .about-left-header {
        align-items: center;
        text-align: center;
    }

    /* Fix Anatomy overlapping bowl text */
    .anatomy-title {
        font-size: 1.4rem;
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        top: 2%;
        padding: 0 10px;
    }

    .anatomy-title span {
        font-size: 0.85rem; /* Standardized label size */
    }

    .feature-card {
        padding: 40px 20px;
        width: 100%;
        margin: 0;
    }

    .section-label {
        font-size: 0.65rem; /* Unify on mobile */
        letter-spacing: 0.3em;
    }
    
    .contact-grid {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center everything */
        text-align: center;
        gap: 40px;
        padding: 0;
        width: 100%;
    }

    .contact-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        width: 100%;
        max-width: 400px; /* Compact info on mobile */
    }

    .contact-right {
        width: 100%;
    }

    .contact-text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .franchise-lead {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .franchise-separator, .contact-separator {
        display: block !important;
        margin-bottom: 25px !important;
        font-size: 1.2rem;
    }

    .franchise-text {
        font-size: 0.85rem;
        line-height: 1.8;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem; /* Balanced size */
    }

    .hero-title {
        font-size: clamp(2rem, 12vw, 4rem);
    }

    .bigtext-word {
        font-size: 2.5rem;
    }

    .philosophy-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .franchise-lead {
        font-size: 1.1rem;
        font-weight: 500;
        font-family: var(--font-serif);
        letter-spacing: 0.1em;
        color: var(--color-accent);
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-logo-wrapper {
        width: 180px;
        height: 240px;
    }
}

/* === Prefers Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    .anim-fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-img {
        transform: none;
        transition: none;
    }

    .marquee-track {
        animation: none;
    }

    .scroll-line {
        animation: none;
    }

    .sprout-container.animate {
        animation: none;
    }

    .sprout-container.animate .sprout-stem,
    .sprout-container.animate .sprout-leaf-left,
    .sprout-container.animate .sprout-leaf-right {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* === Selection === */
::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* === Magnetic Button & Premium Hover States === */
.btn-primary,
.btn-dark,
.btn-white,
.btn-outline {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.magnetic-btn {
    position: relative;
    z-index: 10;
    /* Hardware acceleration for smoother transform */
    transform: translate3d(0, 0, 0);
}

/* Enhancing Menu Cards with 3D Tilt */
.menu-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

/* Glassmorphism Header */
.navbar {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Reveal Overlays for Images (Draw effect) */
.reveal-wrapper {
    position: relative;
    overflow: hidden;
}

.reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 2;
    transform-origin: right;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-wrapper.anim-fade-up.visible .reveal-overlay {
    transform: scaleX(0);
}

/* === Image Pops on Text Hover === */
.hover-reveal-text {
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--color-accent);
}

.hover-reveal-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 400px;
    object-fit: cover;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8) rotate(-5deg);
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hover-reveal-img.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(2deg);
}


/* === Scroll-driven Drawer Reveal === */
.drawer-reveal-frame {
    position: relative;
    overflow: hidden;
    transform: translateY(80px);
    /* Pre-animation state */
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-reveal-frame.visible {
    transform: translateY(0);
}

.drawer-reveal-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 5;
    transform-origin: bottom;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.drawer-reveal-frame.visible::after {
    transform: scaleY(0);
}

.drawer-reveal-image {
    transform: scale(1.2);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-reveal-frame.visible .drawer-reveal-image {
    transform: scale(1);
}

/* === GLASSMORPHISM & TEXT LEGIBILITY ENHANCEMENTS === */
/* 1. Frosted Glass Panels for all sections */
.section .container {
    background: rgba(238, 233, 227, 0.85); /* Light greige (グレージュ) */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 32px;
    padding: 80px 60px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .section .container {
        padding: 40px 24px;
        border-radius: 20px;
    }
}

/* 3. Thicker & Darker Text */
p, .about-text, .philosophy-text, .feature-card-desc, .anatomy-desc, .menu-card-desc, .store-info {
    font-weight: 600 !important;
    color: #0a0a0a !important;
}

h1, h2, h3, .section-title, .about-title, .feature-card-title, .menu-card-title, .section-label, .anatomy-title {
    font-weight: 800 !important;
    color: #000000 !important;
}

/* === SEAMLESS PAGE TRANSITION === */
.page-transition-overlay {
    display: none !important;
}

/* === AMBIENT ORGANIC GLOW BLOBS === */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25; /* Subtle warmth */
    pointer-events: none;
    z-index: 1; /* Behind glass containers (z-index: 10) but above body background */
    will-change: transform;
}

.ambient-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #f3ebe1 0%, rgba(243, 235, 225, 0) 70%);
    top: -10%;
    left: -10%;
}

.ambient-glow-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #e6c89c 0%, rgba(230, 200, 156, 0) 70%);
    bottom: -20%;
    right: -10%;
}

.ambient-glow-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #f3ebe1 0%, rgba(243, 235, 225, 0) 70%);
    top: 40%;
    left: 30%;
    opacity: 0.15;
}