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

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&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-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;
    -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-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.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;
    }

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

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

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

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

    .pc-only {
        display: none !important;
    }
}

#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;
    pointer-events: none;
}

/* 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;
    }

    #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: 1rem;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
    }
}

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

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

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    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;
}

.hero-brand {
    margin-right: auto;
    color: var(--text-main);
    font-family: var(--font-jp);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
}

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

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

.hero-nav-link .jp {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-family: var(--font-jp);
}

.hero-nav-link .en {
    font-size: 1rem;
    letter-spacing: 0.08em;
    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-en);
    font-size: 5rem;
    color: var(--accent-blue);
    letter-spacing: 0.12em;
    margin-bottom: 4px;
    font-weight: 700;
    line-height: 1;
}

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

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

.section-title {
    font-size: 1.25rem;
    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.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/fv.jpeg');
        background-position: center top;
    }

    .hero-sp-fv-img {
        display: block !important;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        z-index: 0;
    }

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

    .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;
    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;
    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-jp);
    font-size: 0.95rem;
    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;
    width: fit-content;
    white-space: nowrap;
}

/* Text Titles Replacement */
.about-title-text {
    position: relative;
    z-index: 25;
    font-size: 2.2rem;
    font-family: var(--font-jp);
    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;
}

.service-title-text {
    font-size: 1.6rem;
    font-family: var(--font-jp);
    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(30, 58, 138, 0.15);
    /* Blue 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 Slider Styles */
.auto-slider-section {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    background-image: url('../img/slidebg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 48px 0;
}

.auto-scroll-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollLeft 20s linear infinite;
}

.auto-slide-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

/* Media Section */
.media-section {
    background: #111;
    color: #fff;
    position: relative;
    overflow: hidden;
}

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

.media-section .section-label {
    color: var(--accent);
}

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

.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: #f4f1ea;
    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-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: 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 {
        padding: 0 20px;
        text-align: left;
        margin-top: -20px;
        /* Moved higher up slightly */
    }

    .about-sp-title {
        font-family: var(--font-jp);
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        font-weight: 900;
        line-height: 1.6;
        color: #fff !important;
        margin-bottom: 25px;
        text-align: left;
    }

    .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 {
        text-align: left;
        line-height: 2.2;
        font-size: 0.95rem;
        color: #fff !important;
        padding-bottom: 20px;
    }

    .about-sp-desc p {
        color: #fff !important;
    }

    .about-new-layout {
        margin-top: -120px;
        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 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%);
    }
}

body,
p,
li,
dt,
dd,
.about-sp-desc,
.about-text-content.vertical-text,
.service-desc,
.item-detail-modern,
.voice-content,
.product-description,
.product-contents {
    font-size: 16px;
}

/* 最終優先：背景・レスポンシブ・フッター */
#about {
    background-color: #fff;
    background-image: url('../img/aboutbg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
}

#about::before,
#about::after {
    display: none;
}

#menu {
    background-color: #fff;
    background-image: url('../img/menubg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.product-heading {
    display: block;
}

.product-price {
    margin-top: 10px;
}

.menu-cta,
.menu-cta span,
.menu-cta strong {
    color: #fff !important;
}

#message .recommended-text-area,
#message .recommended-slider-area-modern {
    flex: 1 1 50%;
    width: 50%;
}

#message .category-title-modern {
    font-size: clamp(24px, 2.8vw, 36px);
    line-height: 1.75;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

footer {
    padding: 28px 0;
    background: #fff;
    color: #212a4a;
    border-top: 1px solid rgba(33, 42, 74, 0.15);
}

.copyright {
    display: flex;
    justify-content: center;
    gap: 0.6em;
    margin: 0;
    color: #212a4a;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 900px) {
    #about {
        background-image: url('../img/aboutspbg.png');
        background-position: center bottom;
    }

    .service-row,
    .service-row.reverse {
        display: flex;
        flex-direction: column;
    }

    .service-visual {
        order: -1;
        width: 100%;
        flex-basis: auto;
    }

    .service-main-img {
        width: 100%;
        max-width: none;
    }

    .service-content {
        order: 1;
        width: 100%;
        flex-basis: auto;
    }

    #menu {
        background-position: right center;
        background-attachment: scroll;
    }

    #message .recommended-flex-modern {
        display: flex;
        flex-direction: column;
    }

    #message .recommended-text-area,
    #message .recommended-slider-area-modern {
        flex-basis: auto;
        width: 100%;
    }

    #message .category-title-modern {
        font-size: clamp(22px, 6.4vw, 30px);
    }

    footer {
        padding-bottom: 92px;
    }

    .copyright,
    .copyright span {
        display: block;
    }

    .copyright {
        font-size: 13px;
        line-height: 1.8;
    }
}

/* ABOUT背景と縦中横 */
#about {
    background-color: #fff;
    background-image: url('../img/aboutbg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
}

#about::before,
#about::after {
    display: none;
}

.tcy {
    text-combine-upright: all;
    -webkit-text-combine: horizontal;
}

/* 商品案内背景 */
#menu {
    background-color: #fff;
    background-image: url('../img/menubg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.product-card {
    background: rgba(255, 255, 255, 0.94);
}

.product-heading {
    display: block;
}

.product-price {
    margin-top: 10px;
}

.menu-cta,
.menu-cta span,
.menu-cta strong {
    color: #fff !important;
}

/* 私たちの仕事：左右均等 */
#message .recommended-flex-modern {
    align-items: center;
}

#message .recommended-text-area,
#message .recommended-slider-area-modern {
    flex: 1 1 50%;
    width: 50%;
}

#message .category-title-modern {
    max-width: 100%;
    font-size: clamp(24px, 2.8vw, 36px);
    line-height: 1.75;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* フッター */
footer {
    padding: 28px 0;
    background: #fff;
    color: #212a4a;
    border-top: 1px solid rgba(33, 42, 74, 0.15);
}

.copyright {
    display: flex;
    justify-content: center;
    gap: 0.6em;
    margin: 0;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 900px) {
    #about {
        background-image: url('../img/aboutspbg.png');
        background-size: cover;
        background-position: center bottom;
    }

    .service-row,
    .service-row.reverse {
        display: flex;
        flex-direction: column;
    }

    .service-visual {
        order: -1;
        width: 100%;
        flex-basis: auto;
    }

    .service-main-img {
        width: 100%;
        max-width: none;
    }

    .service-content {
        order: 1;
        width: 100%;
        flex-basis: auto;
    }

    #menu {
        background-position: right center;
        background-attachment: scroll;
    }

    #message .recommended-flex-modern {
        display: flex;
        flex-direction: column;
    }

    #message .recommended-text-area,
    #message .recommended-slider-area-modern {
        flex-basis: auto;
        width: 100%;
    }

    #message .category-title-modern {
        font-size: clamp(22px, 6.4vw, 30px);
        line-height: 1.7;
    }

    footer {
        padding-bottom: 92px;
    }

    .copyright {
        display: block;
        font-size: 13px;
        line-height: 1.8;
    }

    .copyright span {
        display: block;
    }
}

/* 添付イメージに合わせたSERVICE見出しと番号 */
.service-visual {
    position: relative;
    overflow: visible;
}

.service-main-img {
    width: 85%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.service-number {
    position: absolute;
    top: -30px;
    right: 2%;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #212a4a;
    color: #fff;
    font-family: "Shippori Mincho", "Yu Mincho", "游明朝", serif;
    font-size: 30px;
    line-height: 1;
    z-index: 3;
}

.service-row.reverse .service-number {
    right: auto;
    left: 2%;
}

.service-title-text {
    justify-content: center;
}

.service-title-text .text {
    min-height: 230px;
}

/* MENUとMESSAGEを独立 */
#message {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    padding-top: 96px;
    padding-bottom: 96px;
    background: #fafaf8;
}

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

.product-card {
    display: grid;
    grid-template-columns: minmax(260px, 38%) 1fr;
    column-gap: 44px;
    align-items: start;
}

.product-image {
    grid-row: 1 / 4;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.order-information {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.menu-cta {
    display: flex;
    min-height: 132px;
    padding: 24px 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-cta:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.menu-cta span {
    margin-bottom: 8px;
    font-size: 14px;
    letter-spacing: 0.12em;
}

.menu-cta strong {
    font-size: 22px;
    letter-spacing: 0.08em;
}

.menu-cta-online {
    background: #212a4a;
}

.menu-cta-tel {
    background: #7d3028;
}

.order-information>p {
    grid-column: 1 / -1;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .service-number {
        top: -22px;
        right: 1%;
        width: 68px;
        height: 68px;
        font-size: 24px;
    }

    .service-row.reverse .service-number {
        right: 1%;
        left: auto;
    }

    .service-title-text .text {
        min-height: 205px;
    }

    #message>.section-header,
    #message>.recommended-special {
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-card {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .product-image {
        grid-row: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .order-information {
        grid-template-columns: 1fr;
    }

    .order-information>p {
        grid-column: auto;
    }
}

/* 本文・ABOUT・SERVICE・商品案内の調整 */
body,
p,
li,
dt,
dd,
.about-sp-desc,
.about-text-content.vertical-text,
.service-desc,
.item-detail-modern,
.voice-content {
    font-size: 16px;
}

#about {
    border-bottom: 0;
}

.auto-slider-section {
    border: 0;
    box-shadow: none;
}

.service-row,
.service-row.reverse,
#kodawari>.service-row:nth-of-type(2),
#kodawari>.service-row:nth-of-type(3),
#kodawari>.service-row:nth-of-type(4) {
    align-items: center;
    gap: 48px;
    margin-bottom: 40px;
    padding: 72px 0;
}

.service-content {
    flex: 1 1 42%;
}

.service-visual {
    flex: 1 1 58%;
    display: flex;
    justify-content: center;
}

.service-main-img {
    width: 85%;
    margin: 0 auto;
}

.service-title-text {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
}

.service-title-text .num {
    padding-top: 5px;
}

.service-title-text .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.1em;
}

.service-title-note {
    display: block;
    margin-top: 8px;
    font-size: 27px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

#menu>.product-list,
#menu>.order-information {
    width: min(1120px, 92%);
    margin-left: auto;
    margin-right: auto;
}

.product-list {
    display: grid;
    gap: 56px;
    margin-top: 72px;
}

.product-card {
    padding: 44px 48px;
    border-top: 1px solid rgba(33, 42, 74, 0.25);
    border-bottom: 1px solid rgba(33, 42, 74, 0.25);
}

.product-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 32px;
    margin-bottom: 30px;
}

.product-heading h3 {
    color: #212a4a;
    font-size: 24px;
    font-weight: 700;
}

.product-price {
    flex: 0 0 auto;
    color: #212a4a;
    font-weight: 700;
}

.product-description p + p {
    margin-top: 22px;
}

.product-contents {
    margin-top: 30px;
    padding: 24px 28px;
    background: #f6f7f9;
}

.product-contents h4 {
    margin-bottom: 10px;
    color: #212a4a;
    font-size: 18px;
}

.order-information {
    margin-top: 64px;
    text-align: center;
}

.online-store-link {
    display: inline-block;
    margin-bottom: 28px;
    padding: 14px 42px;
    border: 1px solid #212a4a;
    color: #212a4a;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease;
}

.online-store-link:hover {
    background: #212a4a;
    color: #fff;
}

.order-information a:not(.online-store-link) {
    color: #212a4a;
    font-size: 20px;
    font-weight: 700;
}

.access-list .instagram-link + .instagram-link {
    margin-left: 18px;
}

@media (max-width: 900px) {
    .service-row,
    .service-row.reverse,
    #kodawari>.service-row:nth-of-type(2),
    #kodawari>.service-row:nth-of-type(3),
    #kodawari>.service-row:nth-of-type(4) {
        gap: 36px;
        margin-bottom: 28px;
        padding: 54px 20px;
    }

    .service-main-img {
        width: 85%;
    }

    .service-title-text .text {
        font-size: 36px;
    }

    .service-title-note {
        font-size: 27px;
    }

    .product-card {
        padding: 34px 20px;
    }

    .product-heading {
        display: block;
    }

    .product-price {
        margin-top: 12px;
    }

    .product-description br {
        display: none;
    }
}

@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: 0;
    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 {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    background-image: url('../img/Menubackground1.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-top: 72px;
    padding-bottom: 72px;
}

#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: center;
    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: 16px 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 * 5 - 30px * 5));
    }
}

.carousel-item {
    flex: 0 0 450px;
    height: 520px;
    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: 3rem;
        letter-spacing: 0.08em;
    }

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

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

    .carousel-item {
        flex: 0 0 280px;
        /* Smaller on mobile */
        height: 360px;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-280px * 5 - 30px * 5));
        }
    }
}

.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-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.png');
    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: none;
    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(320px, 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;
    /* 背景画像がない・読み込めない場合の黒背景 */
    background-image: url('../img/Accessbackground.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Removed dark overlay as requested */

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

#access .section-label {
    color: var(--accent);
}

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

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

.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: #e5851d;
    /* Same as previous inline footer button color */
    color: #fff;
}

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

#about {
    background-color: var(--accent);
}

.service-menu-eyecatch {
    background-image: url('../img/service_menu.jpg');
}

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

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

/* 越田水産：白を基調にしたミニマルデザイン */
:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f7f7f4;
    --text-main: #252722;
    --text-sub: #62655f;
    --accent: #7d3028;
    --accent-blue: #4f5c50;
    --font-jp: "Shippori Mincho", "Yu Mincho", "游明朝", serif;
    --font-en: "Shippori Mincho", "Yu Mincho", "游明朝", serif;
    --font-serif: "Shippori Mincho", "Yu Mincho", "游明朝", serif;
    --font-sans: "Shippori Mincho", "Yu Mincho", "游明朝", serif;
}

body {
    background: #fff;
    color: var(--text-main);
    font-family: var(--font-jp);
    font-weight: 400;
    letter-spacing: 0.06em;
}

body,
button,
input,
textarea,
.hero-nav-link,
.section-label,
.sub-title,
.category-title-modern {
    font-family: var(--font-jp);
}

h1,
h2,
h3,
.serif {
    font-family: var(--font-jp);
    font-weight: 600;
}

.hero-nav-overlay {
    border-right: 1px solid #e8e8e2;
    box-shadow: none;
}

.hero-nav-link .en {
    font-size: 0.92rem;
    letter-spacing: 0.12em;
}

.hero-nav-link .jp {
    color: #777a73;
}

.hero::before {
    background: rgba(20, 23, 19, 0.38);
}

.hero-title,
.hero-title-small,
.hero-title-main {
    font-weight: 500;
    letter-spacing: 0.12em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}

.section-label {
    color: #4f5c50;
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    font-weight: 500;
    letter-spacing: 0.14em;
}

.section-title {
    color: var(--text-main);
    font-weight: 500;
}

.sub-title {
    color: #7d3028;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: none;
}

.title-main::before,
.title-main::after {
    background: #a8aaa3;
}

#about,
#kodawari,
#menu,
#voice,
#access {
    background-color: #fff;
    background-image: none;
}

#about {
    border-bottom: 1px solid #ecece7;
}

.auto-slider-section {
    background: #ffffff;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.auto-slide-img {
    border-radius: 0;
}

#kodawari {
    background: #fff;
}

.service-row,
#kodawari>.service-row:nth-of-type(2),
#kodawari>.service-row:nth-of-type(3),
#kodawari>.service-row:nth-of-type(4) {
    background: #fff;
    border: 1px solid #e5e6e0;
    border-radius: 0;
}

.service-main-img {
    box-shadow: 14px 14px 0 #f0f0eb;
}

.service-title-text,
.service-desc {
    font-weight: 400;
}

.service-title-text .num {
    color: #e7ecff;
}

.eyecatch-fixed {
    isolation: isolate;
    background-image: none !important;
}

.eyecatch-fixed::before {
    z-index: 0;
}

.service-menu-eyecatch {
    --eyecatch-image: url('../img/service_menu.jpg');
}

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

.service-menu-eyecatch::before,
.menu-voice-eyecatch::before {
    background-image: var(--eyecatch-image);
}

#menu {
    background: #fff;
    border-bottom: 1px solid #ecece7;
}

.recommended-special,
.recommended-special * {
    color: var(--text-main) !important;
}

.category-title-modern {
    font-weight: 500;
    letter-spacing: 0.08em;
}

.item-detail-modern {
    color: var(--text-sub) !important;
}

#voice {
    background: #fafaf8;
}

#voice::before {
    opacity: 0.06;
}

.voice-card {
    border: 1px solid #e4e5df;
    box-shadow: none;
}

.voice-title,
.voice-content,
.access-list dt,
.access-list dd {
    font-weight: 400;
}

#access {
    color: var(--text-main);
    border-top: 1px solid #e5e6e0;
}

#access .section-label,
#access .section-title.white,
#access .sub-title,
.access-list dt,
.access-list dd,
.access-list dd a {
    color: var(--text-main);
}

.access-list dt {
    border-left-color: #7d3028;
}

.access-map-iframe {
    filter: grayscale(0.25) saturate(0.75);
}

.btn-accent,
.read-more-btn,
.back-to-top {
    border-radius: 0;
}

@media (max-width: 768px) {
    .section-label {
        font-size: 2.4rem;
    }

    .service-row,
    #kodawari>.service-row:nth-of-type(2),
    #kodawari>.service-row:nth-of-type(3),
    #kodawari>.service-row:nth-of-type(4) {
        padding: 28px 20px;
    }
}

.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(300px, 1fr));
    gap: 20px 60px;
}

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

    .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 */
}
}

/* 最終デザイン調整：既存ルールより優先 */
body,
button,
input,
textarea,
.hero-nav-link,
.section-label,
.sub-title,
.category-title-modern,
.voice-title,
.voice-content {
    font-family: "Shippori Mincho", "Yu Mincho", "游明朝", serif;
}

body,
.service-title-text,
.service-desc,
.voice-title,
.voice-content,
.access-list dt,
.access-list dd {
    font-weight: 400;
}

#about,
#kodawari,
#menu,
#access {
    background-color: #fff;
    background-image: none;
}

#voice {
    background-color: #fafaf8;
    background-image: none;
}

.eyecatch-fixed {
    isolation: isolate;
    background-image: none !important;
}

.service-menu-eyecatch::before {
    background-image: url('../img/service_menu.jpg');
}

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

/* ご指定調整：文字色・ABOUT・SERVICE */
:root {
    --text-main: #212a4a;
    --text-sub: #212a4a;
}

body,
.section-title,
.section-title.white,
.service-desc,
.voice-title,
.voice-content,
.access-list dt,
.access-list dd,
.access-list dd a {
    color: #212a4a;
}

.section-label {
    color: #212a4a;
    font-size: 32px;
}

.about-text-content.vertical-text,
.about-title-text,
.about-sp-title,
.about-sp-title .accent-color,
.about-sp-desc,
.about-sp-desc p {
    color: #212a4a !important;
}

.auto-slider-section {
    background: #fff;
    border: 0;
}

.service-row,
#kodawari>.service-row:nth-of-type(2),
#kodawari>.service-row:nth-of-type(3),
#kodawari>.service-row:nth-of-type(4) {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.service-title-text {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding-left: 0;
    width: 100%;
}

.service-title-text .num {
    position: static;
    flex: 0 0 auto;
    color: #212a4a;
    font-size: 2rem;
    line-height: 1;
    z-index: auto;
}

.service-title-text .text {
    display: block;
}

.service-main-img {
    box-shadow: none;
}

@media (max-width: 900px) {

    .service-row,
    .service-row.reverse,
    #kodawari>.service-row:nth-of-type(2),
    #kodawari>.service-row:nth-of-type(3),
    #kodawari>.service-row:nth-of-type(4) {
        padding: 0;
    }

    .service-title-text .num {
        position: static;
        font-size: 1.75rem;
    }
}

/* 最終優先：今回のSERVICE調整 */
#about {
    border-bottom: 0;
}

.auto-slider-section {
    border: 0;
    box-shadow: none;
}

.service-row,
.service-row.reverse,
#kodawari>.service-row:nth-of-type(2),
#kodawari>.service-row:nth-of-type(3),
#kodawari>.service-row:nth-of-type(4) {
    background: transparent;
    border: 0;
    padding: 72px 0;
    margin-bottom: 40px;
    align-items: center;
    gap: 48px;
}

.service-content {
    flex: 1 1 42%;
}

.service-visual {
    flex: 1 1 58%;
    display: flex;
    justify-content: center;
}

.service-main-img {
    width: 85%;
    margin: 0 auto;
    box-shadow: none;
}

.service-title-text {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
    padding-left: 0;
}

.service-title-text .num {
    position: static;
    padding-top: 5px;
    color: #212a4a;
}

.service-title-text .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.1em;
}

.service-title-note {
    display: block;
    margin-top: 8px;
    font-size: 27px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .service-row,
    .service-row.reverse,
    #kodawari>.service-row:nth-of-type(2),
    #kodawari>.service-row:nth-of-type(3),
    #kodawari>.service-row:nth-of-type(4) {
        padding: 54px 20px;
    }
}

/* 最終優先：本文サイズ */
body,
p,
li,
dt,
dd,
.about-sp-desc,
.about-text-content.vertical-text,
.service-desc,
.item-detail-modern,
.voice-content,
.product-description,
.product-contents {
    font-size: 16px;
}

/* 最終優先：今回の背景・配置 */
#about {
    background: #fff url('../img/aboutbg.png') right bottom / cover no-repeat;
}

/* FV：3枚の上品なクロスフェード */
.hero {
    background: #111;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    animation: elegantHeroFade 18s ease-in-out infinite;
}

.hero-slide-1 {
    animation-delay: 0s;
}

.hero-slide-2 {
    animation-delay: 6s;
}

.hero-slide-3 {
    animation-delay: 12s;
}

@keyframes elegantHeroFade {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    8%, 30% {
        opacity: 1;
    }
    38%, 100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

.hero-title {
    opacity: 0;
    transform: translateY(18px);
    animation: elegantHeroText 1.8s ease-out forwards 0.5s;
}

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

/* Voicebadgeを使用しない */
#voice::before {
    display: none;
    background-image: none;
}

/* 商品画像：横長で全体表示 */
.product-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #fff;
}

/* 私たちの仕事：右端までスライドを表示 */
#message .recommended-special {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    overflow: hidden;
}

#message .recommended-flex-modern {
    width: 100%;
    max-width: none;
    padding-left: max(4vw, calc((100vw - 1200px) / 2));
    padding-right: 0;
    gap: 0;
}

#message .recommended-text-area {
    padding-right: 48px;
}

#message .recommended-slider-area-modern,
#message .carousel-viewport {
    padding-right: 0;
    overflow: hidden;
}

/* ハンバーガーメニュー */
.sp-nav {
    background: rgb(72 73 112 / 100%);
}

.sp-nav-link span {
    display: none;
}

/* SP追従CTA */
.footer-btn.tel {
    background: #7d3028;
    color: #fff !important;
}

.footer-btn.hotpepper {
    background: #212a4a;
    color: #fff !important;
}

@media (max-width: 900px) {
    .hero-slide {
        object-position: center;
    }

    .product-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: contain;
    }

    #message .recommended-special,
    #message .recommended-flex-modern,
    #message .recommended-text-area,
    #message .recommended-slider-area-modern,
    #message .carousel-viewport {
        width: 100vw;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    #message .recommended-flex-modern {
        padding: 0;
    }

    #message .recommended-text-area {
        padding: 0 20px;
    }

    #message .recommended-slider-area-modern,
    #message .carousel-viewport {
        padding-left: 0;
        padding-right: 0;
    }

    #message .carousel-item {
        flex-basis: 86vw;
        height: min(110vw, 520px);
    }
}

#about::before,
#about::after {
    display: none;
}

#menu {
    background: #fff url('../img/menubg.png') center / cover no-repeat fixed;
}

.product-heading {
    display: block;
}

.product-price {
    margin-top: 10px;
}

.menu-cta,
.menu-cta span,
.menu-cta strong {
    color: #fff !important;
}

#message .recommended-text-area,
#message .recommended-slider-area-modern {
    flex: 1 1 50%;
    width: 50%;
}

#message .category-title-modern {
    font-size: clamp(24px, 2.8vw, 36px);
    line-height: 1.75;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

footer {
    padding: 28px 0;
    background: #fff;
    color: #212a4a;
    border-top: 1px solid rgba(33, 42, 74, 0.15);
}

.copyright {
    display: flex;
    justify-content: center;
    gap: 0.6em;
    margin: 0;
    color: #212a4a;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 900px) {
    #about {
        background-image: url('../img/aboutspbg.png');
        background-position: center bottom;
    }

    .service-row,
    .service-row.reverse {
        display: flex;
        flex-direction: column;
    }

    .service-visual {
        order: -1;
        width: 100%;
        flex-basis: auto;
    }

    .service-main-img {
        width: 100%;
        max-width: none;
    }

    .service-content {
        order: 1;
        width: 100%;
        flex-basis: auto;
    }

    #menu {
        background-position: right center;
        background-attachment: scroll;
    }

    #message .recommended-flex-modern {
        display: flex;
        flex-direction: column;
    }

    #message .recommended-text-area,
    #message .recommended-slider-area-modern {
        flex-basis: auto;
        width: 100%;
    }

    #message .category-title-modern {
        font-size: clamp(22px, 6.4vw, 30px);
    }

    footer {
        padding-bottom: 92px;
    }

    .copyright,
    .copyright span {
        display: block;
    }

    .copyright {
        font-size: 13px;
        line-height: 1.8;
    }
}

/* 最終優先：MESSAGE全幅と追従CTA */
#message .recommended-special {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

#message .recommended-flex-modern {
    width: 100%;
    max-width: none;
    padding-left: max(4vw, calc((100vw - 1200px) / 2));
    padding-right: 0;
    gap: 0;
}

#message .recommended-text-area,
#message .recommended-slider-area-modern {
    flex: 1 1 50%;
    width: 50%;
}

#message .recommended-text-area {
    padding-right: 48px;
}

.footer-btn.tel {
    background: #7d3028;
    color: #fff !important;
}

.footer-btn.hotpepper {
    background: #212a4a;
    color: #fff !important;
}

@media (max-width: 900px) {
    #message .recommended-special {
        margin-left: calc(50% - 50vw);
    }

    #message .recommended-flex-modern {
        width: 100vw;
        padding: 0;
    }

    #message .recommended-text-area,
    #message .recommended-slider-area-modern,
    #message .carousel-viewport {
        flex-basis: auto;
        width: 100vw;
        max-width: none;
    }

    #message .recommended-text-area {
        padding: 0 20px;
    }
}

/* PC固定背景 */
.service-menu-eyecatch {
    background: url('../img/service_menu.jpg') center / cover no-repeat fixed;
}

.menu-voice-eyecatch {
    background: url('../img/menu_voice.jpg') center / cover no-repeat fixed !important;
}

.eyecatch-fixed::before,
#menu::before {
    display: none;
}

/* SPのMESSAGE横位置を補正 */
@media (max-width: 900px) {
    #message .recommended-special {
        margin-left: 0 !important;
    }

    #message .recommended-flex-modern,
    #message .recommended-text-area,
    #message .recommended-slider-area-modern,
    #message .carousel-viewport {
        margin-left: 0;
        margin-right: 0;
    }
}

/* iOS・Android対応の固定背景 */
@media (max-width: 767px),
       (max-width: 1024px) and (hover: none) and (pointer: coarse) {
    .eyecatch-fixed,
    #menu {
        position: relative;
        background: none !important;
        isolation: isolate;
        overflow: hidden;
        -webkit-clip-path: inset(0);
        clip-path: inset(0);
    }

    .eyecatch-fixed::before,
    #menu::before {
        content: '';
        display: block;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        z-index: 0;
        pointer-events: none;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .service-menu-eyecatch::before {
        background-image: url('../img/service_menu.jpg');
        background-position: center;
    }

    .menu-voice-eyecatch::before {
        background-image: url('../img/menu_voice.jpg');
        background-position: center;
    }

    #menu::before {
        background-image: url('../img/menubg.png');
        background-position: right center;
    }

    .eyecatch-fixed > *,
    #menu > * {
        position: relative;
        z-index: 1;
    }
}

/* 最終修正：SPの「私たちの仕事」 */
@media (max-width: 900px) {
    #message {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }

    #message > .section-header {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    #message .recommended-special {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    #message .recommended-flex-modern {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    #message .recommended-text-area,
    #message .recommended-slider-area-modern,
    #message .carousel-viewport {
        display: block;
        flex: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #message .recommended-text-area {
        padding: 0 20px;
    }

    #message .recommended-slider-area-modern,
    #message .carousel-viewport {
        padding-left: 0;
        padding-right: 0;
    }

    #message .carousel-item {
        flex: 0 0 62vw;
        width: 62vw;
        height: 74vw;
        max-height: 420px;
    }

    #message .carousel-track.marquee {
        animation-name: messageMarqueeSp;
    }
}

@keyframes messageMarqueeSp {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc((-62vw - 30px) * 5));
    }
}
