@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&family=Oswald:wght@700&family=Shippori+Mincho+B1:wght@700;800&family=Yuji+Mai&display=swap');

:root {
    --primary-bg: #f4f1ea; /* ベージュ */
    --secondary-bg: #e8e4d9;
    --text-main: #1a1a1a; /* 墨 */
    --text-sub: #555555;
    --accent: #c52e2e; /* 赤 */
    --accent-blue: #1e3a8a; /* 青 */
    --font-jp: "Noto Sans JP", sans-serif;
    --font-serif: "Shippori Mincho B1", serif;
    --font-en: "Oswald", "Arial Black", Impact, 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: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-jp);
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.05em;
    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-jp);
    font-weight: 900;
}

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

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

body {
    background: url('../img/background.webp') 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;
    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;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-side-links {
        display: none;
    }
}

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

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

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 22px rgba(0,0,0,0.12);
    z-index: 1000;
}

/* 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;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

    #header.pc-only {
        display: block !important;
        height: 64px;
        background: transparent;
        box-shadow: none;
        transition: background 0.3s var(--transition), box-shadow 0.3s var(--transition);
    }

    #header.sp-scrolled {
        background: #fff;
        box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    }

    .sp-header-brand {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-main);
        font-family: var(--font-serif);
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }
    .sp-header-brand .brand-small {
        font-size: 0.75rem;
        font-weight: 500;
        margin-right: 3px;
    }

    .hero-nav-overlay .pc-nav,
    .hero-nav-overlay .hero-brand.pc-only {
        display: none !important;
    }
    .hero-nav-overlay .sp-header-brand.sp-only {
        display: flex !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: 25px 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: 4px;
    font-family: var(--font-jp);
}

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

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 1) 100%);
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.36;
    mix-blend-mode: overlay;
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 3;
    /* 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: none;
    /* 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;
    display: none;
}

.hero-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 78px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
    z-index: 1200;
    background: #fff;
    box-shadow: 0 4px 22px rgba(0,0,0,0.12);
    padding: 0 28px;
}

.pc-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

@media (max-width: 1155px) and (min-width: 1025px) {
    .hero-nav-overlay {
        padding: 0 16px;
        gap: 12px;
    }
    .hero-brand {
        font-size: 1.2rem;
    }
    .hero-brand .brand-small {
        font-size: 0.75rem;
    }
    .pc-nav {
        gap: 12px;
    }
    .hero-nav-link .jp {
        font-size: 0.82rem;
    }
    .hero-nav-link .en {
        font-size: 0.6rem;
    }
    .header-cta-btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
}

.hero-brand {
    margin-right: auto;
    color: var(--text-main);
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.hero-brand .brand-small {
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 4px;
}

.hero-nav-link {
    color: var(--text-main);
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    transition: transform 0.3s;
    font-weight: 700;
}

.hero-nav-link .jp {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 2px;
}

.hero-nav-link .en {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    font-family: var(--font-en);
    font-weight: 500;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-main {
    position: relative;
    display: inline-block;
}

.section-label {
    display: inline-block;
    position: relative;
    padding: 0 40px;
    font-family: var(--font-en);
    font-size: 1.25rem;
    color: var(--text-sub);
    letter-spacing: 0.12em;
    margin-top: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background: currentColor;
}

.section-label::before {
    left: 0;
}

.section-label::after {
    right: 0;
}

.section-title {
    font-size: 3rem;
    color: var(--accent);
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
    font-weight: 900;
}

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

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

.section-title {
    font-size: 3rem;
    color: var(--accent);
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
    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;
}

.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.2;
    display: none;
}

/* Side Links (Vertical Buttons) */
.hero-side-links {
    position: static;
    transform: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    z-index: 1300;
}

.side-link-btn {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    min-width: 118px;
    height: 50px;
    padding: 0 16px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: none;
    transition: all 0.3s;
    font-family: var(--font-jp);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.side-link-btn .vertical-text {
    writing-mode: horizontal-tb;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.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));
}

@media (max-width: 768px) {
    .hero-side-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        background-image: url('../img/spfv_01.webp');
        background-position: center center;
        background-attachment: scroll;
        background-size: 100% auto;
    }

    .hero-sp-fv-img {
        display: none !important; /* Hide overlay image to show parallax background */
    }

    .hero-content {
        width: 100vw;
        padding: 0 20px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        letter-spacing: 0;
        margin-bottom: 14px;
    }

    .hero-title-small {
        font-size: clamp(0.78rem, 3.35vw, 0.98rem);
        white-space: nowrap;
        margin-bottom: 8px;
    }

    .hero-title-main {
        white-space: nowrap;
    }

    .hero-sub {
        font-size: 0.76rem;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    .hero-sub::before,
    .hero-sub::after {
        width: 18px;
        margin: 0 8px;
    }

    .media-section .section-header {
        text-align: center;
        margin-bottom: 34px;
    }

    .media-section .section-title {
        line-height: 1.6;
    }

    #voice::before {
        top: 10px;
        right: -18vw;
        width: 92vw;
        opacity: 0.15;
    }

    .voice-grid {
        padding: 0;
        grid-template-columns: 1fr;
    }

    .voice-card {
        padding: 34px 26px;
    }
}

@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 {
    color: #fff;
    font-family: var(--font-jp);
    font-size: clamp(2rem, 5vw, 4.2rem);
    margin-bottom: 24px;
    letter-spacing: 0.08em;
    font-weight: 900;
    text-shadow: 0 8px 22px rgba(0,0,0,0.75);
    opacity: 0;
    transform: translateY(34px) scale(0.94);
    animation: yakinikuImpact 1.1s var(--transition) forwards 0.25s, heatPulse 3s ease-in-out infinite 1.6s;
}

.hero-title-small {
    display: block;
    font-size: 0.48em;
    line-height: 1.25;
    margin-bottom: 10px;
}

.hero-title-main {
    display: block;
    line-height: 1.2;
}

.hero-sp-fv-img {
    display: none;
}

.hero-sub {
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    color: #fff;
    font-weight: 900;
    text-shadow: 0 4px 14px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s forwards 0.65s;
}

.hero-sub::before,
.hero-sub::after {
    content: "";
    display: inline-block;
    width: 46px;
    height: 2px;
    background: var(--accent);
    vertical-align: middle;
    margin: 0 16px;
}

#about {
    position: relative;
    overflow: visible;
    z-index: 4;
}

#about > .container {
    position: relative;
    z-index: 1;
}

@keyframes yakinikuImpact {
    0% {
        opacity: 0;
        transform: translateY(44px) scale(0.86);
        filter: blur(8px);
    }
    62% {
        opacity: 1;
        transform: translateY(-4px) scale(1.03);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heatPulse {
    0%, 100% {
        text-shadow: 0 8px 22px rgba(0,0,0,0.75), 0 0 0 rgba(197,46,46,0);
    }
    50% {
        text-shadow: 0 8px 22px rgba(0,0,0,0.75), 0 0 28px rgba(197,46,46,0.62);
    }
}

@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;
    top: 120px;
    height: 200px;
    display: flex;
    align-items: center;
}

.about-badge-img {
    position: absolute;
    right: -25vw; /* Desktop bleed */
    top: 80px; /* Moved up from 150px */
    width: 550px; /* Slightly smaller */
    z-index: 5;
    pointer-events: none;
    opacity: 0.2;
    mix-blend-mode: normal;
}

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

.about-text-content.vertical-text {
    position: relative;
    z-index: 35;
    color: #fff !important;
    font-family: var(--font-serif);
    font-size: 1.25rem; /* Increased size for FV look */
    font-weight: 700;
    line-height: 2.2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: auto;
    min-height: 450px;
    letter-spacing: 0.2em;
    margin-right: 50px;
    top: 150px;
    width: fit-content;
    white-space: nowrap;
}

.about-title-text {
    position: relative;
    z-index: 25;
    font-size: 3.2rem; /* Increased size for FV impact */
    font-family: var(--font-serif);
    font-weight: 900;
    color: #fff !important;
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: block;
    line-height: 1.6;
    height: auto;
    white-space: nowrap;
}
.about-title-text .en {
    display: none;
}

/* Horizontal styles for #about (Menya Fukuju) */

#about .about-left {
    flex: 1.2;
}

#about .about-main-img {
    width: 140%;
    transform: translateX(-30%);
}

#about .about-right {
    flex: 0.9;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    align-items: flex-start;
    padding-top: 240px;
    min-height: 420px;
}

#about .about-title-group {
    height: auto;
    margin-bottom: 0;
}

#about .about-title-text {
    writing-mode: horizontal-tb;
    white-space: nowrap;
    font-size: 2.6rem;
    line-height: 1.4;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 800;
}

#about .about-text-content {
    color: #fff !important;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 2.0;
    letter-spacing: 0.15em;
}

.about-highlight-gold {
    color: #d4af37 !important;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 800;
}

.brand-menya, .brand-fukuju {
    font-family: "Yuji Mai", serif !important;
    font-weight: normal;
    display: inline-block;
}

.brand-menya {
    font-size: 1.8rem;
    margin-top: 10px;
}

.brand-fukuju {
    font-size: 3.6rem;
    margin-left: 5px;
    font-weight: bold;
}

.service-title-text {
    font-size: 1.6rem;
    font-family: var(--font-serif);
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 25px;
    position: relative;
    display: block;
    padding-bottom: 0;
    padding-left: 25px;
    text-align: left;
    line-height: 1.5;
    width: 100%;
    z-index: 2;
}
.service-title-text .num {
    position: absolute;
    top: -35px;
    left: -15px;
    font-size: 6rem;
    color: rgba(197, 46, 46, 0.35); /* Red watermark - 濃く調整 */
    font-family: var(--font-en);
    font-weight: 700;
    z-index: -1;
    line-height: 1;
}
.service-title-text .text {
    display: inline;
}
.service-title-text::after {
    display: none;
}

/* Auto Gallery Section (Infinite Auto Slider) */
.auto-slider-section {
    width: 100%;
    overflow: hidden;
    background-color: #333333;
    background-image: url('../img/slidebg.webp');
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 30px 0;
    position: relative;
    user-select: none;
}
.auto-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* 黒背景を残し、写真・動画のみを左右両端でふわっと黒背景に溶け込ませるマスク */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.auto-slider-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: infiniteGalleryScroll 45s linear infinite;
    animation-play-state: paused; /* 初期状態は停止（1枚目が綺麗に収まった状態を維持） */
}
.auto-slider-track.is-playing {
    animation-play-state: running; /* スクロールして画面に入ったらスムーズに再生開始 */
}
/* PCのマウスホバー時のみ一時停止（スマホのタッチ時は常に滑らかに流れ続ける） */
@media (hover: hover) and (pointer: fine) {
    .auto-slider-section:hover .auto-slider-track.is-playing {
        animation-play-state: paused;
    }
}
.auto-slider-group {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 18px;
    flex-shrink: 0;
}
.auto-slide-item {
    height: 300px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    display: block;
    background-color: transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.auto-slide-item:hover {
    transform: scale(1.025);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.auto-slide-video {
    /* 縦長動画をより見やすく引き立たせるスタイリング */
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.25);
}
@keyframes infiniteGalleryScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
@media (max-width: 768px) {
    .auto-slider-section {
        padding: 20px 0;
        background-attachment: scroll;
    }
    .auto-slider-container {
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    }
    .auto-slider-track {
        animation-duration: 32s;
    }
    .auto-slider-group {
        gap: 12px;
        padding-right: 12px;
    }
    .auto-slide-item {
        height: 210px;
        border-radius: 8px;
    }
    .auto-slide-item:hover {
        transform: none;
    }
    .auto-slide-video {
        border-width: 1.5px;
    }
}

/* Intro Video Section */
.intro-video-section {
    width: 100%;
    background: #000;
    padding: 60px 0;
}
.intro-video-section .video-wrapper {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.intro-video-section .intro-video {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 768px) {
    .intro-video-section {
        padding: 30px 0;
    }
}

/* Media Section */
.media-section {
    background-color: #111;
    color: #fff;
    position: relative;
    overflow: hidden;
    clip-path: inset(0);
    z-index: 1;
}

.media-section::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/slidebg.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    will-change: transform;
}

.media-section .section-header {
    text-align: center;
}

.media-lead {
    text-align: center;
    font-size: 1.15rem;
    line-height: 2.0;
    margin: -40px auto 30px;
    color: #fff;
    font-family: var(--font-serif);
    font-weight: 700;
}

@media (max-width: 768px) {
    .media-lead {
        font-size: 0.95rem;
        line-height: 1.8;
        margin: -15px auto 20px;
        padding: 0 15px;
    }
}

.media-section .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.media-section .section-title,
.media-section .sub-title {
    color: #fff;
}

.media-instagram-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.instagram-slider-outer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.instagram-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0 40px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.instagram-slider::-webkit-scrollbar {
    display: none;
}
.instagram-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.instagram-slide {
    flex: 0 0 340px;
    scroll-snap-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.45);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    transition: transform 0.3s;
}

.instagram-slide:hover {
    transform: translateY(-5px);
}

@media (max-width: 480px) {
    .instagram-slide {
        flex: 0 0 290px;
    }
}

.instagram-slide blockquote,
.instagram-slide iframe {
    min-width: 100% !important;
    width: 100% !important;
}

.slider-arrow-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 100;
}

.slider-arrow {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #111;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--accent, #c52e2e);
    color: #fff;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .instagram-slider-outer {
        padding: 0;
    }
    .instagram-slider {
        padding: 20px 4% 40px;
    }
    .slider-arrow-controls {
        display: block;
        margin-top: 0;
        margin-bottom: 0;
        position: static;
    }
    .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.95);
    }
    .slider-arrow:hover {
        transform: translateY(-50%) scale(1.1);
    }
    .prev-arrow {
        left: 10px;
    }
    .next-arrow {
        right: 10px;
    }
}

.media-video {
    width: 100%;
    max-width: 980px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    box-shadow: 0 24px 60px rgba(0,0,0,0.36);
    border: 1px solid rgba(255,255,255,0.18);
}

.media-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* Stylish title classes removed or updated above */

/* Kodawari / Service Section Redesign */
#kodawari {
    background: url('../img/service_bg_01.webp') center/cover no-repeat;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
}

#kodawari > .section-header,
#kodawari > .service-row {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 48px;
    border-radius: 8px;
}

#kodawari > .service-row:nth-of-type(2) {
    background: rgba(255, 255, 255, 0.55);
}

#kodawari > .service-row:nth-of-type(3) {
    background: rgba(232, 228, 217, 0.72);
}

#kodawari > .service-row:nth-of-type(4) {
    background: rgba(244, 224, 205, 0.46);
}

#kodawari > .service-row:nth-of-type(5) {
    background: rgba(219, 229, 217, 0.58);
}

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

.service-content {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左寄せに変更 */
}

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

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

.service-desc {
    color: var(--text-main);
    font-family: var(--font-jp);
    font-size: 0.95rem;
    line-height: 2.2;
    padding: 0; /* paddingを外して揃える */
    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, #about2 {
        padding-top: 80px;
        padding-bottom: 80px;
        min-height: auto;
        display: block;
    }
    #about .about-right, #about2 .about-right {
        min-height: 0;
        padding-top: 0;
    }
    .brand-menya {
        font-size: 1.4rem !important;
    }
    .brand-fukuju {
        font-size: 2.8rem !important;
        font-weight: bold !important;
    }
    .about-flex-container {
        position: relative;
        display: flex;
        flex-direction: column;
    }
    .about-left {
        order: 1;
        width: 100%;
        position: relative;
    }
    .about-main-img {
        width: calc(100% + 40px) !important;
        margin-left: -20px;
        max-width: none;
        height: auto;
        object-fit: cover;
        transform: none !important;
        border-radius: 0;
    }
    .about-right {
        order: 2;
        width: 100%;
        padding-top: 20px;
        position: static;
    }
    .about-text-content.vertical-text {
        display: none;
    }
    .about-badge-img {
        right: 0;
        width: 100%;
        max-width: 400px;
    }
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 48px;
        padding: 28px 20px;
    }
    .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: 24px 0;
    }
    .voice-badge-img {
        width: 150px;
        top: -40px;
    }
    
    .about-sp-content-wrapper {
        display: block;
        position: static;
        padding: 0;
    }
    
    .about-sp-title {
        position: absolute;
        top: -20px;
        right: 15px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        font-family: "Shippori Mincho B1", serif !important;
        font-size: 1.5rem;
        font-weight: 800;
        line-height: 1.5;
        color: #fff !important;
        margin-bottom: 0;
        white-space: nowrap;
        z-index: 40;
        text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    }
    
    .about-sp-title .accent-color {
        color: #fff;
    }
    
    .service-title-text {
        font-size: 1.3rem;
    }
    .service-title-text .num {
        font-size: 4.5rem;
        top: -25px;
        left: -10px;
    }

    .about-sp-desc {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        height: 240px;
        margin-top: 80px;
        line-height: 1.9; 
        font-size: 0.85rem;
        letter-spacing: 0.02em;
        color: #fff !important;
        padding-bottom: 0; 
        font-family: var(--font-serif);
        white-space: nowrap;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    }
    .about-sp-desc p {
        color: #fff !important;
    }
    
    .about-new-layout {
        margin-top: -180px;
        z-index: 30;
    }
    
    
    .hero-sp-text {
        font-family: var(--font-serif);
        font-size: 0.8rem;
        line-height: 1.8;
        color: #000;
        margin-bottom: 25px;
        padding: 0 20px;
        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%);
    }
}

@media (max-width: 768px) {
    .about-badge-sp {
        position: absolute;
        display: block !important;
        right: -26vw;
        top: 44%;
        width: 98vw;
        max-width: none;
        opacity: 0.2;
        mix-blend-mode: normal;
        pointer-events: none;
        z-index: 0;
    }
}

/* 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 {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    padding-top: 72px;
    padding-bottom: 72px;
    overflow: hidden;
    clip-path: inset(0);
    z-index: 1;
}

#menu::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/menu_bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
    will-change: transform;
}

@media (max-width: 768px) {
    #menu::before {
        background-image: url('../img/menu_spbg.webp');
    }
}

#menu > .section-header,
#menu > .recommended-special,
#menu > .menu-grid,
#menu > .menu-btn-area {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.category-title {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 15px;
    font-family: var(--font-jp);
    font-weight: 900;
}

/* Recommended Special Menu */
/* Recommended Special Menu Redesign */
.recommended-special {
    background: transparent;
    padding: 24px 0;
    margin-top: 32px;
    margin-bottom: 48px;
    position: relative;
    width: 100%;
    color: #000;
    overflow: hidden;
}

@media (max-width: 768px) {
    .recommended-special {
        background: transparent !important;
        padding: 24px 0;
        height: auto;
    }
    
    .recommended-flex-modern {
        padding: 0 20px;
        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: stretch; /* Match heights of text area and slider area */
    justify-content: space-between; /* Pushes text to left and slider to right */
    gap: 48px; /* Increased gap */
    max-width: 1600px; /* Further widened */
    margin: 0 auto;
    padding: 0;
}

.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;
    display: none;
}

.category-title-modern {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.12em;
}

.item-name-modern {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 10px;
    padding: 6px 14px;
    background: rgba(244, 241, 234, 0.92);
    color: #111 !important;
    line-height: 1.45;
    box-shadow: 6px 6px 0 rgba(197, 46, 46, 0.18);
}

.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: 0;
    overflow: hidden;
    position: relative; /* Set as coordinate origin for absolute child */
}

.carousel-viewport {
    position: absolute;
    inset: 0; /* Align perfectly to the bounds of recommended-slider-area-modern */
    width: 100%;
    overflow: hidden;
}

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

.carousel-track.marquee {
    animation: marquee-vertical 30s linear infinite;
}

@keyframes marquee-vertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-450px * 7 - 30px * 7)); }
}

.carousel-item {
    flex: 0 0 450px;
    width: 100%;
    max-width: 450px;
    height: 450px;
    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) {
    .section-label {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

    .section-title {
        font-size: 1.8rem;
    }

    #kodawari {
        background-position: left bottom !important;
    }

    .item-name-modern {
        font-size: 1.35rem;
    }

    .recommended-slider-area-modern {
        align-self: auto;
        height: 400px;
    }

    .carousel-viewport {
        position: relative;
        height: 100%;
        overflow: hidden;
        padding: 20px 0;
    }

    .carousel-track {
        flex-direction: row;
    }

    .carousel-track.marquee {
        animation: marquee 35s linear infinite;
    }

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

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

/* Lightbox Styles */
body.lightbox-open .hamburger,
body.lightbox-open .sp-fixed-footer {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 2147483647 !important;
    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: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
    line-height: 1;
    z-index: 2147483647 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    transform: scale(1.08);
}

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

.gallery-lightbox-body {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 90vw;
    max-height: 85vh;
}
.gallery-lightbox-video {
    max-height: 85vh;
    max-width: 90vw;
    width: auto;
    height: auto;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    outline: none;
}
@media (max-width: 768px) {
    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
}

@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-en);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.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 {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    background-image: url('../img/voicebg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

#voice::before {
    content: "";
    position: absolute;
    right: 4vw;
    top: 40px;
    width: min(560px, 76vw);
    aspect-ratio: 1 / 1;
    background: url('../img/voicebadge.webp') center/contain no-repeat;
    opacity: 0.15;
    transform: rotate(-8deg);
    z-index: 0;
    pointer-events: none;
}

#voice > .section-header,
#voice > .voice-grid,
#voice > .menu-btn-area {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

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

.voice-card {
    background: #fff;
    padding: 42px 42px;
    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;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
}

.voice-name {
    font-weight: 900;
    color: var(--text-main);
}

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

.voice-content {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.8;
}

/* Access Section */
#access {
    background-color: #222; /* 背景画像がない・読み込めない場合の黒背景 */
    color: #fff;
    position: relative;
    overflow: hidden;
    clip-path: inset(0);
    z-index: 1;
}

#access::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/slidebg.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    will-change: transform;
}

/* Removed dark overlay as requested */

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

#access .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.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);
}

@media (max-width: 768px) {
    footer {
        padding-bottom: 95px; /* 下部固定CTA（65px）の重なり防止用余白を追加 */
    }
}

.copyright {
    text-align: center;
    color: #fff;
    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 30px; /* 左右の余白を少し調整 */
    border: 2px solid var(--text-main);
    background: var(--text-main);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-weight: 900;
    transition: all 0.4s;
    margin-top: 30px;
    border-radius: 4px;
    white-space: nowrap; /* ボタン内で改行されないように固定 */
}

.btn-accent:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Voice Accordion */
.voice-more-content {
    display: none;
    margin-top: 10px;
}
.voice-more-content.open {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}
.read-more-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-serif);
    margin-top: 15px;
    text-decoration: underline;
    display: inline-block;
    padding: 0;
}
.read-more-btn:hover {
    color: #000;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 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);
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    .sp-fixed-footer.active {
        transform: translateY(0);
    }
}

.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.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: #fff;
}

.side-link-btn.hotpepper {
    background: #333;
}

#about {
    position: relative;
    padding-top: 200px;
    padding-bottom: 200px;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    clip-path: inset(0);
}

#about::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 15%), 
        linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 15%), 
        url('../img/about_001.webp') right top/cover no-repeat;
    z-index: -1;
    will-change: transform;
}



.menu-voice-eyecatch {
    background-image: url('../img/menu_voice.png.webp');
}

.rice-note {
    color: #d4af37 !important;
    font-weight: bold;
}

.recommended-second {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed rgba(212, 175, 55, 0.4);
}

.drink-list-note {
    display: block;
    margin-top: 8px;
    color: #444;
    font-size: 0.85rem;
    line-height: 1.6;
}

.menu-category-full {
    grid-column: 1 / -1;
}

.modern-menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px 24px; /* Slightly tighter gap for structured look */
}

.modern-menu-list .menu-item {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--accent);
    padding: 14px 20px;
    margin-bottom: 0;
    transition: all 0.3s var(--transition);
    display: flex;
    align-items: center;
}

.modern-menu-list .menu-item:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.item-head-tight {
    margin-bottom: 0;
}

.voice-title {
    color: #000;
    font-size: 1.05rem;
    font-weight: 700;
}

.tabelog-access-link {
    margin-right: 15px;
}

.access-map-iframe {
    display: block;
    min-height: 350px;
    visibility: visible;
    border: 0;
}

@media (max-width: 768px) {
    .menu-grid {
        gap: 30px;
        padding: 0 20px;
    }
    
    .modern-menu-list {
        grid-template-columns: 1fr;
    }
    
    .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 */
    }
}

.hero-eyecatch {
    height: 300px;
}

.hero-eyecatch::before {
    background-image: url('../img/fv_bg.webp');
}

.hero-eyecatch::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 20%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-eyecatch {
        height: 280px;
    }
    .hero-eyecatch::before {
        background-image: url('../img/fv_spbg.webp');
        background-position: center bottom;
    }
}

/* --- Reversed ABOUT Section (#about2) --- */
#about2 {
    position: relative;
}

.about-parallax-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    clip-path: inset(0);
    z-index: 0;
    pointer-events: none;
}

.about-parallax-bg::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/about_001.webp') right bottom/cover no-repeat;
    z-index: -1;
    will-change: transform;
}

@media (max-width: 768px) {
    .about-parallax-bg::before {
        background-position: right bottom;
    }
}

/* PC adjustments for right-side image overlap */
.about-flex-container.reverse .about-main-img {
    transform: translateX(15%) !important; /* Displace image to the right */
}

.about-flex-container.reverse .about-right {
    justify-content: flex-start !important; /* Shift text group to the left */
}

/* Mobile adjustments for right-side image overlap */
@media (max-width: 768px) {
    .about-flex-container.reverse .about-main-img {
        transform: translateX(15%) !important; /* Maintain rightward displacement on mobile */
    }
}

.kodawari-section {
    padding: 180px 0;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .kodawari-section {
        padding: 100px 0;
    }
    .kodawari-bg-2, .kodawari-bg-3 {
        padding-top: calc(100px + 6vw) !important;
    }
}

.kodawari-section::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    will-change: transform;
}

.kodawari-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

.kodawari-section .container {
    position: relative;
    z-index: 2;
}

.kodawari-bg-1::before {
    background-image: url('../img/service1.webp');
}

.kodawari-bg-1 {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%);
    position: relative;
    z-index: 3;
}

.kodawari-bg-2::before {
    background-image: url('../img/service2.webp');
}

.kodawari-bg-2 {
    margin-top: -6vw;
    padding-top: calc(180px + 6vw) !important;
    clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 calc(100% - 6vw));
    position: relative;
    z-index: 2;
}

.kodawari-bg-3::before {
    background-image: url('../img/service3.webp');
}

@media (max-width: 768px) {
    .kodawari-bg-3::before {
        background-position: 30% center; /* 背景画像を少し左に寄せる */
    }
}

.kodawari-bg-3 {
    margin-top: -6vw;
    padding-top: calc(180px + 6vw) !important;
    clip-path: polygon(0 0, 100% 6vw, 100% 100%, 0 100%);
    position: relative;
    z-index: 1;
}

.kodawari-content {
    max-width: 800px;
}

@media (min-width: 769px) {
    .kodawari-bg-2 .kodawari-content {
        margin-left: auto !important;
        margin-right: 0 !important;
        max-width: 650px; /* 幅を少し狭めて右寄せを強調 */
        text-align: right !important;
    }
    .kodawari-bg-2 .service-title-text {
        text-align: right !important;
        padding-left: 0 !important;
        padding-right: 25px !important;
    }
    .kodawari-bg-2 .service-title-text .num {
        left: auto !important;
        right: -15px !important;
    }
    .kodawari-bg-2 .service-desc {
        text-align: right !important;
    }
}

.kodawari-section .service-title-text {
    color: #fff !important;
}

.kodawari-section .service-title-text .num {
    color: rgba(255, 255, 255, 0.35) !important; /* 濃く調整 */
}

.kodawari-section .service-desc {
    color: #fff !important;
}

.kodawari-section .service-desc p {
    color: #fff !important;
}

/* CTA Section */
.cta-section {
    background: transparent;
    padding: 60px 0 100px 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    min-width: 280px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-tel {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

.cta-tel:hover {
    background: #a22424;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 46, 46, 0.3);
}

.cta-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: #fff;
}

.cta-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(214, 36, 159, 0.3);
}

.cta-tiktok {
    background: #000;
    color: #fff;
    border: 1px solid #333;
}

.cta-tiktok:hover {
    background: #111;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 0 80px 0;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    .cta-btn {
        width: 100%;
        max-width: 340px;
        min-width: 0; /* PC用の min-width: 280px をリセット */
        padding: 16px 20px; /* 左右のパディングを狭めて文字の表示エリアを拡大 */
        font-size: 1rem; /* 1.1rem から 1rem にして文字サイズに余裕を持たせる */
    }
}

/* Header CTA Buttons */
.header-cta-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    height: 36px !important;
    align-self: center !important;
}

.header-cta-btn:hover {
    transform: translateY(-2px) !important;
}

.nav-cta-tel.header-cta-btn {
    background: var(--accent) !important;
}
.nav-cta-tel.header-cta-btn:hover {
    background: #a22424 !important;
    color: #fff !important;
}

.nav-cta-instagram.header-cta-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
}
.nav-cta-instagram.header-cta-btn:hover {
    box-shadow: 0 6px 12px rgba(214, 36, 159, 0.25) !important;
    color: #fff !important;
}

.nav-cta-tiktok.header-cta-btn {
    background: #010101 !important;
    border: 1px solid #333 !important;
}
.nav-cta-tiktok.header-cta-btn:hover {
    background: #222222 !important;
    color: #fff !important;
}

/* KODAWARI Section Label Color */
#kodawari .section-label {
    color: #fff !important;
}

/* Media Section TikTok Button visibility fix */
.media-section .cta-tiktok {
    background: #fff !important;
    color: #010101 !important;
    border: 1px solid #fff !important;
}

.media-section .cta-tiktok:hover {
    background: transparent !important;
    color: #fff !important;
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15) !important;
}

/* FV Section margin adjustments to clear fixed header */
.fv-section {
    margin-top: 78px;
}

@media (max-width: 768px) {
    .fv-section {
        margin-top: 64px;
    }
}

/* ==========================================================================
   Clean About Section (#about-clean)
   ========================================================================== */

#about2,
#about-clean {
    position: relative;
    padding: 140px 0 120px 0;
    overflow: visible;
}

.about-clean-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../img/fv_bg.webp') center top / cover no-repeat;
}

#about2::after,
#about-clean::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url('../img/about_001.webp') center top / cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 30px, black 150px);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 30px, black 150px);
    pointer-events: none;
}

.about-clean-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.about-clean-text-area {
    position: relative;
    z-index: 30;
    flex: 0 0 45%;
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    align-items: flex-start;
    transition: transform 0.4s var(--transition);
}

.about-clean-title-group {
    position: relative;
    margin-top: 60px;
}

.about-clean-badge {
    position: absolute;
    top: -60px;
    left: -40px;
    width: 300px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.about-clean-title {
    font-size: 3rem;
    font-family: var(--font-serif);
    font-weight: 900;
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.5;
    white-space: nowrap;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

.about-clean-desc {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 2.1;
    letter-spacing: 0.15em;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    margin-top: 140px;
}

.about-clean-img-area {
    position: absolute;
    right: 4%;
    top: 0;
    transform: translateY(-50%);
    z-index: 20;
    width: 48%;
    max-width: 680px;
    display: flex;
    justify-content: flex-end;
}

.about-clean-img {
    width: 100%;
    max-width: 680px;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: none;
}

@media (max-width: 1400px) {
    .about-clean-text-area {
        gap: 24px;
    }
    .about-clean-title {
        font-size: 2.6rem;
    }
    .about-clean-desc {
        font-size: 1.05rem;
    }
}

@media (max-width: 1150px) and (min-width: 901px) {
    .about-clean-text-area {
        gap: 20px;
        flex: 0 0 42%;
    }
    .about-clean-img-area {
        flex: 0 0 55%;
    }
    .about-clean-title {
        font-size: 2.4rem;
    }
    .about-clean-desc {
        font-size: 1rem;
        line-height: 1.9;
    }
}

/* スマホ表示切り替え（900px以下でスマートフォンレイアウトへ移行） */
@media (max-width: 900px) {
    #about-clean {
        padding: 60px 0;
    }
    .about-clean-bg {
        background: url('../img/fv_spbg.webp') center top / cover no-repeat;
    }
    .about-clean-container {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .about-clean-text-area {
        flex: 1;
        flex-direction: column;
        transform: none !important;
        align-items: center;
    }
    .about-clean-title-group,
    .about-clean-desc {
        margin-top: 0 !important;
    }
    .about-clean-title {
        writing-mode: horizontal-tb;
        font-size: 1.8rem;
        text-align: center;
    }
    .about-clean-desc {
        writing-mode: horizontal-tb;
        font-size: 0.95rem;
        text-align: center;
        white-space: normal;
    }
    .about-clean-img-area {
        position: relative !important;
        top: 0 !important;
        right: auto !important;
        transform: translateY(-50%) !important;
        flex: 1;
        width: 90%;
        max-width: 440px;
        justify-content: center;
        margin: 0 auto -30px auto !important;
    }
    .about-clean-img {
        max-width: 100%;
    }
}

/* ==========================================
   Loading Animation Overlay
   ========================================== */
html.loading-active,
body.loading-active {
    overflow: hidden !important;
    height: 100% !important;
}

/* ローディングアニメーション中はハンバーガーメニュー・スマホナビを非表示 */
html.loading-active .hamburger,
body.loading-active .hamburger,
html.loading-active .sp-nav,
body.loading-active .sp-nav,
html.loading-active .sp-fixed-footer,
body.loading-active .sp-fixed-footer {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: #0d0d0d;
    z-index: 2147483647 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transform: translateZ(99999px);
    transform: translateZ(99999px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    touch-action: none;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-logo {
    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #f5f5f5;
}

.loading-logo .brand-small {
    font-size: 1.1rem;
    margin-right: 4px;
}

.loading-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid #c9a063;
    border-radius: 50%;
    animation: loading-spin 0.8s linear infinite;
}

@keyframes loading-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}




