@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700;900&display=swap');

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #141414;
    --text-main: #f0f0f0;
    --text-sub: #b0b0b0;
    --accent: #d4af37; /* Brass/Gold */
    --accent-dim: #8b7355;
    --font-serif: "Noto Serif JP", serif;
    --font-sans: "Noto Sans JP", sans-serif;
    --transition: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    background: url('../img/background.png') center/cover no-repeat; /* Removed 'fixed' which breaks position: fixed on mobile */
    color: var(--text-main);
    font-family: var(--font-serif); /* Uniformly Noto Serif JP */
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow-x: hidden; /* Critical for SP */
    width: 100%;
    position: relative;
}

/* Typography */
h1, h2, h3, .serif {
    font-family: var(--font-serif);
    font-weight: 700;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Layout Modules */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.section-padding {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* Visibility Utilities */
.sp-only {
    display: none !important;
}

@media (max-width: 768px) {
    .sp-only {
        display: block !important;
    }
    .pc-only {
        display: none !important;
    }
}

/* Header Removed as requested */
/* header { ... } block deleted */

/* Hamburger Menu - DEFINITIVE FIX */
/* Hamburger Menu - Restored Aesthetics with Fixed Persistence */
.hamburger {
    position: fixed !important;
    top: 24px !important;
    right: 40px !important; /* Adjusted position */
    width: 35px;
    height: 24px;
    z-index: 2147483647 !important;
    cursor: pointer;
    display: none;
    transform: translateZ(999px) !important;
}

@media (max-width: 768px) {
    .hamburger {
        display: block !important;
        top: 20px !important;
        right: 40px !important;
    }
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--accent) !important; /* Restored gold color */
    left: 0;
    transition: transform 0.4s var(--transition), opacity 0.4s;
    border-radius: 2px;
}

.hamburger .line-1 { top: 0; }
.hamburger .line-2 { top: 10.5px; }
.hamburger .line-3 { top: 21px; }

.hamburger.active .line-1 {
    top: 10.5px;
    transform: rotate(45deg) !important;
}
.hamburger.active .line-2 {
    opacity: 0 !important;
}
.hamburger.active .line-3 {
    top: 10.5px;
    transform: rotate(-45deg) !important;
}

/* Mobile Nav Overlay */
.sp-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    transition: right 0.5s var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-nav.active {
    right: 0;
}

.sp-nav-list {
    list-style: none;
    text-align: center;
}

.sp-nav-list li {
    margin: 40px 0;
}

.sp-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem; /* Reduced from 1.8rem */
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.15em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-nav-link span {
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-top: 8px;
    font-family: var(--font-sans);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/FVbackground.png') center/cover no-repeat; /* Not fixed */
}

.hero-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
    /* margin-top: 50px; REMOVED to allow exact top positioning of nav */
}

.hero-main-img {
    position: relative;
    width: 130%;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    display: block;
    /* animation: fadeInScale 1.5s var(--transition); REMOVED */
}

.hero-title-img {
    position: absolute;
    left: -23%; /* Adjusted to avoid overlap while staying relatively close */
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-overlay {
    position: absolute;
    top: 20px; /* Precise top positioning relative to HERO section top */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 50px;
    z-index: 200; /* Increased to ensure it's on top of everything */
}

.hero-nav-link {
    color: #000;
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
    font-family: var(--font-serif);
    font-weight: 700; /* Bolded for visibility */
}

.hero-nav-link .en {
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    margin-bottom: 5px;
}

.hero-nav-link .jp {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-nav-link:hover {
    color: var(--accent);
    transform: translateY(-5px);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.title-main {
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.5em;
    margin-bottom: 10px;
    font-weight: 500;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #000;
    position: relative;
    z-index: 2;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.section-title.white {
    color: #fff;
}

.sub-title {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--accent-dim);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 5px;
}

.title-main::before,
.title-main::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.title-main::before {
    left: 0;
}

.title-main::after {
    right: 0;
}

.voice-badge-img {
    position: absolute;
    top: -120px;
    right: -10%; /* Desktop bleed */
    width: 600px; /* Scaled up ~3x from original small size */
    z-index: 5;
    pointer-events: none;
    opacity: 0.9;
}

/* Side Links (Vertical Buttons) */
.hero-side-links {
    position: absolute;
    right: -13vw; /* Moved further right to avoid overlap */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.side-link-btn {
    background: #9b0000;
    color: #fff;
    text-decoration: none;
    padding: 2.5vw 10px;
    border-radius: 0; /* Square corners */
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    font-family: var(--font-serif);
}

.side-link-btn:hover {
    background: #c00000;
    transform: translateX(-5px);
}

.side-link-btn .vertical-text {
    writing-mode: vertical-rl;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    font-weight: 600;
}

.side-instagram-icon.brand-color {
    font-size: 2rem;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 20px;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards 0.5s;
}

.hero-sub {
    font-size: 1.2rem;
    letter-spacing: 0.4em;
    color: var(--accent);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s forwards 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-new-layout {
    position: relative;
    margin-top: -350px; /* Deep overlap as per reference */
    z-index: 10;
}

.about-flex-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.about-left {
    flex: 1.2;
    z-index: 20;
}

.about-main-img {
    width: 140%; /* Further enlarged */
    display: block;
    transform: translateX(-30%); /* Moved further left */
}

.about-right {
    flex: 0.9;
    display: flex;
    flex-direction: row; /* Text on left (1st), Title group on right (2nd) */
    align-items: flex-start;
    justify-content: flex-end; /* Align the whole cluster to the right side of the section */
    gap: 0;
    padding-top: 320px;
}

.about-title-group {
    position: relative;
    margin-bottom: 40px;
    height: 200px;
    display: flex;
    align-items: center;
}

.about-badge-img {
    position: absolute;
    right: -25vw; /* Desktop bleed */
    top: 150px; /* Lowered */
    width: 800px; /* Much larger */
    z-index: 5;
    pointer-events: none;
}

.about-title-img {
    position: relative;
    width: 100px; /* Slightly larger as requested */
    z-index: 25;
}

.about-text-content.vertical-text {
    color: #000;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    line-height: 2.2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 520px;
    letter-spacing: 0.3em;
    margin-right: 50px; /* Increased to 50px as requested */
    width: fit-content;
}

/* Stylish title classes removed or updated above */

/* Kodawari / Service Section Redesign */
.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center title relative to text */
}

.service-visual {
    flex: 1.5; /* Enlarged visual */
}

.service-title-img {
    width: 360px; /* Enlarged title */
    height: auto;
    margin-bottom: 30px;
}

.service-desc {
    color: #000;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    line-height: 2.2;
    padding: 0 20px;
    text-align: left; /* Back to left-aligned */
}

.service-main-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 20px 20px 0 rgba(212, 175, 55, 0.1);
}

@media (max-width: 900px) {
    .about-flex-container {
        flex-direction: column;
    }
    .about-right {
        padding-top: 60px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .about-text-content.vertical-text {
        writing-mode: horizontal-tb;
        height: auto;
        margin-right: 0;
        text-align: center;
    }
    .about-badge-img {
        right: 0;
        width: 100%;
        max-width: 400px;
    }
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }
    .service-visual {
        /* Removed order: -1 to keep Title -> Text -> Image order on SP */
    }
    .recommended-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .recommended-special {
        padding: 60px 0;
    }
    .voice-badge-img {
        width: 150px;
        top: -40px;
    }
    
    .about-sp-content-wrapper {
        padding: 0 5%;
        text-align: left;
        margin-top: -20px; /* Moved higher up slightly */
    }
    
    .about-sp-title {
        font-family: var(--font-serif);
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        font-weight: 700;
        line-height: 1.6;
        color: #000;
        margin-bottom: 25px;
        text-align: left;
    }
    
    .about-sp-title .accent-color {
        color: #9B0000;
    }
    
    .about-sp-desc {
        text-align: left;
        line-height: 2.2; 
        font-size: 0.95rem;
        color: #000;
        padding-bottom: 20px; 
    }
    
    .about-new-layout {
        margin-top: -60px; /* Moved higher up slightly from -40px to close gap */
        z-index: 30;
    }
    
    .about-main-img {
        width: 100%;
        transform: translateX(-8%); /* Moved home image slightly to the left */
        box-shadow: none;
    }
    
    .hero-sp-text {
        font-family: var(--font-serif);
        font-size: 0.8rem;
        line-height: 1.8;
        color: #000;
        margin-bottom: 25px;
        padding: 0 5%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center horizontally */
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    .sp-hero-logo {
        width: 120px;
        height: auto;
        display: block;
        margin: 0 auto; /* Ensure centering */
    }

    .hero-main-img {
        width: 90%; /* Adjusted for new text space */
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Eyecatch Separator */
.eyecatch-fixed {
    position: relative;
    height: 600px;
    width: 100%;
    margin: 0;
    overflow: hidden;
    clip-path: inset(0); /* Creates a "window" for the fixed background */
}

.eyecatch-fixed::before {
    content: "";
    position: fixed; /* Bypasses mobile background-attachment: fixed limitations */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    will-change: transform;
}

@media (max-width: 768px) {
    .eyecatch-fixed {
        height: 350px;
    }
}

/* Image Separator Reverted */
.image-separator {
    width: 100%;
    overflow: hidden;
    margin-top: -120px; /* Moved further up as requested */
    position: relative;
    z-index: 5;
}

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

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: flex-start;
}

.category-title {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 15px;
    font-family: var(--font-serif);
}

/* Recommended Special Menu */
/* Recommended Special Menu Redesign */
.recommended-special {
    background: url('../img/Menubackground1.png') no-repeat;
    background-size: 100% 100%;
    padding: 60px 0;
    margin: 80px 0 120px;
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    color: #000;
    overflow: hidden;
}

@media (max-width: 768px) {
    .recommended-special {
        background: url('../img/SPMenubackground1.png') no-repeat !important; /* Force override of inline style on SP */
        background-size: 100% 100% !important;
        background-position: top center !important;
        padding: 60px 0;
        height: auto;
    }
    
    .recommended-flex-modern {
        padding: 180px 6% 0; /* Pushed significantly further down as requested */
        display: block;
        text-align: left !important;
    }
    
    .recommended-text-area {
        width: 100%;
        display: block;
        text-align: left !important;
        margin-bottom: 20px;
    }
    
    .recommended-slider-area-modern {
        margin-top: 10px; /* Separator between text and slider */
        padding-top: 0;
    }
    
    .category-title-modern {
        font-size: 1.8rem;
        text-align: left !important;
        margin-bottom: 25px; /* Pushes item name down */
    }
    
    .menu-item-modern * {
        text-align: left !important;
    }
}

.recommended-special * {
    color: #000 !important; /* Ensure all nested text is black */
}

.recommended-flex-modern {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes text to left and slider to right */
    gap: 100px; /* Increased gap */
    max-width: 1600px; /* Further widened */
    margin: 0 0 0 auto;
    padding: 0 3%;
}

.recommended-text-area {
    flex: 0 0 340px; /* Narrowed to give more room to the slider */
    position: relative;
    display: flex;
}

.gold-vertical-line {
    width: 1px;
    background: var(--accent);
    margin-right: 40px;
    align-self: stretch;
}

.category-title-modern {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-family: var(--font-serif);
    font-weight: 500;
}

.item-name-modern {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.item-price-modern {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.item-detail-modern {
    font-size: 1rem;
    line-height: 2.2;
    margin-bottom: 15px;
}

.item-desc-modern {
    font-size: 1rem;
    font-weight: 600;
}

.recommended-slider-area-modern {
    flex: 1;
    min-width: 0;
    padding: 40px 0;
    overflow: hidden;
}

.carousel-viewport {
    width: 100%;
    overflow: visible; /* Allow items to peek outside but clipped by container-modern */
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 30px;
}

.carousel-track.marquee {
    animation: marquee 35s linear infinite; /* Seamless flow */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-450px * 4 - 30px * 4)); } /* Width of 4 items + gaps */
}

.carousel-item {
    flex: 0 0 450px;
    height: 650px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 280px; /* Smaller on mobile */
        height: 400px;
    }
    
    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-280px * 4 - 30px * 4)); }
    }
}

.carousel-item:hover {
    transform: scale(1.05); /* Hover effect instead of center scaling */
    z-index: 10;
}

/* Lightbox Styles */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(255,255,255,0.1);
    transform: scale(0.9);
    animation: zoomIn 0.3s forwards;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s;
    line-height: 1;
    z-index: 10001;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--accent);
}

@keyframes zoomIn {
    to { transform: scale(1); }
}

@media (max-width: 1200px) {
    .recommended-flex-modern {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        gap: 20px;
    }
    .recommended-text-area {
        flex: 1;
        width: 100%;
        max-width: 600px;
        text-align: center;
        justify-content: center;
        margin-bottom: 40px;
    }
    .gold-vertical-line { display: none; }
    .recommended-slider-area-modern {
        width: 100.1vw; /* Tiny extra to hide gaps */
        margin-left: calc(50% - 50vw);
    }
}
@media (max-width: 768px) {
    .horizontal-slider-track {
        height: 400px;
    }
}

.menu-category {
    margin-bottom: 80px;
}

.menu-item {
    margin-bottom: 30px;
}

.menu-item.highlight {
    background: rgba(212, 175, 55, 0.05);
    padding: 25px;
    border-left: 3px solid var(--accent);
}

.item-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.item-price {
    font-family: var(--font-serif);
    color: var(--accent);
    font-weight: 700;
}

.item-detail {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.6;
}

.item-desc {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.menu-btn-area {
    text-align: center;
    margin-top: 40px; /* Moved up as requested */
}

/* Voice Section */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.voice-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.voice-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
}

.voice-name {
    font-weight: 700;
    color: #000;
}

.stars {
    color: var(--accent);
    font-size: 0.9rem;
}

.voice-content {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.8;
}

/* Access Section */
#access {
    background: url('../img/Accessbackground.png') center/cover no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Removed dark overlay as requested */

#access .container {
    position: relative;
    z-index: 2;
}

.access-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}

.access-info {
    width: 100%;
}

.access-list dt {
    color: #fff; /* Updated to white as requested */
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 25px;
    margin-bottom: 5px;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
}

.access-list dd {
    color: #fff;
}

.access-list dd a {
    color: #fff;
    text-decoration: none;
}

.access-map {
    width: 100%;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #fff;
}

@media (max-width: 900px) {
    .access-content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .eyecatch-fixed {
        height: 350px;
        background-attachment: scroll;
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .section-title.black {
        font-size: 2rem;
    }
}

/* Footer */
footer {
    background: #000;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.copyright {
    text-align: center;
    color: #444;
    font-size: 0.8rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s, transform 1s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utility */
.gold-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin-bottom: 20px;
}

.btn-accent {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    transition: all 0.4s;
    margin-top: 30px;
}

.btn-accent:hover {
    background: var(--accent);
    color: #000;
}
/* Fixed Footer for SP - Only visible on mobile */
.sp-fixed-footer {
    display: none;
}

@media (max-width: 768px) {
    .sp-fixed-footer {
        display: grid !important; 
        grid-template-columns: 1fr 1fr !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw !important;
        height: 65px;
        z-index: 100000;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    }
}

.footer-btn {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-serif);
}

.footer-btn.tel {
    background: #fff;
    color: #000;
}

.footer-btn.hotpepper {
    background: #9b0000; /* Same as PC sidebar button */
    color: #fff;
}

@media (max-width: 768px) {
    .menu-grid {
        gap: 30px;
        padding: 0 6%;
    }
    
    .menu-category {
        margin-bottom: 40px; /* Closer together */
    }
    
    .category-title {
        margin-bottom: 20px;
    }

    .image-separator {
        margin-top: 5px !important; /* Set to 5px as requested */
    }

    .back-to-top {
        bottom: 100px; /* Moved up as requested */
    }
    
        margin-bottom: 60px;
    }

    /* Force hide any potential overflow from badge images on small screens */
    .about-badge-img, .voice-badge-img {
        max-width: 100vw;
        right: -20px !important;
        overflow: hidden;
    }

    #access {
        overflow: hidden; /* CLIP potential map/image overflow */
    }

    /* Specifically for voice section on SP to lower it */
    #voice .menu-btn-area {
        margin-top: 40px; /* Lowered as requested */
    }
}

