﻿/* ========================================
   譬ｪ蠑丈ｼ夂､ｾ繝・Φ繝医Μ繝壹い繝ｻ繧ｪ繧ｴ繝・LP
   Modern Premium Design System
   ======================================== */

/* ========================================
   1. CSS Reset & Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #1A1A1A;
    background-color: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul,
ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   2. CSS Variables (Design Tokens)
   ======================================== */

:root {
    /* Colors */
    --color-primary: #0A2463;
    --color-primary-light: #1E3A8A;
    --color-secondary: #3E92CC;
    --color-accent: #D8973C;
    --color-accent-hover: #C17D1F;
    --color-bg: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-bg-dark: #E9ECEF;
    --color-text: #1A1A1A;
    --color-text-light: #6C757D;
    --color-border: #DEE2E6;
    --color-white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0A2463 0%, #1E3A8A 50%, #3E92CC 100%);
    --gradient-accent: linear-gradient(135deg, #D8973C 0%, #F4A261 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 36, 99, 0.7) 0%, rgba(62, 146, 204, 0.5) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Section Spacing */
    --section-spacing-sp: 80px;
    --section-spacing-pc: 120px;

    /* Container */
    --container-max-width: 1200px;
    --container-padding: 60px;

    /* Border Radius */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index */
    --z-header: 1000;
    --z-mobile-menu: 1100;
    --z-fixed-cta: 900;
    --z-back-to-top: 800;
    --z-lightbox: 1200;
}

/* ========================================
   3. Container & Layout
   ======================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.sp-br {
    display: none;
}

/* ========================================
   4. Typography
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
}

/* ========================================
   6. Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0A2463;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-header);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 36, 99, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    /* Increased height for dual-line nav */
}

/* Logo - Text Styles */
.header-logo {
    font-size: 1.2rem;
    color: var(--color-primary);
    white-space: nowrap;
}

.header-logo img {
    /* filter removed as per user request */
}

/* Navigation - Dual Line */
.header-nav {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.2;
    transition: opacity 0.3s;
}

.nav-item:hover {
    opacity: 0.7;
}

/* English Top Line */
.nav-en {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    /* Bold */
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.05em;
}

/* Japanese Bottom Line */
.nav-jp {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
    /* Regular */
    margin-top: 2px;
}

/* Header Text Button (Web Booking) */
.header-cta {
    display: none;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    height: 54px;
    /* Gradient matching the logo deep blue theme */
    background: linear-gradient(135deg, #0A2463 0%, #1E3A8A 100%);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
    white-space: nowrap;
    background: #FFFFFF;
    color: #0A2463;
    border: 2px solid #FFFFFF;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #FFFFFF;
    color: #0A2463;
    opacity: 0.9;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--gradient-primary);
    z-index: var(--z-mobile-menu);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

/* Mobile Menu Internals */
.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-size: 1rem;
}

.mobile-menu-close span:first-child {
    font-size: 3rem;
    line-height: 1;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-link {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-menu-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-menu-link:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-menu-link:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-menu-cta {
    margin-top: 2rem;
    padding: 16px 48px;
    background: #FFFFFF;
    color: #1E3A8A;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.mobile-menu.active .mobile-menu-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* ========================================
   7. First View (FV)
   ======================================== */

.fv-section {
    position: relative;
    width: 100%;
    margin-top: 90px;
    /* Offset for fixed header */
    height: auto;
    /* Auto height for responsive aspect ratio */
    overflow: hidden;
}

.fv-swiper {
    width: 100%;
    height: auto;
}

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

.fv-swiper .swiper-slide picture {
    width: 100%;
    height: auto;
    display: block;
}

.fv-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    /* object-fit: cover removed to prevent cropping */
}

/* ========================================
   8. CTA Section
   ======================================== */

.cta-section {
    background: var(--gradient-primary);
    padding: 2rem 0;
}

.cta-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-label {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.cta-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-icon {
    font-size: 2rem;
}

/* ========================================
/* ========================================
   9. Section Headings (Style A: Serif & Refined)
   ======================================== */

.section-heading {
    position: relative;
    max-width: 100%;
    margin: 0 auto 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Vertical Top Line Accent */
.section-heading::before {
    content: '';
    display: block;
    width: 2px;
    height: 50px;
    background: linear-gradient(135deg, #ffdf68 0%, rgba(30, 58, 138, 0) 100%);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

/* English Title - Marcellus (Similar to Aviano Flare) */
.heading-en {
    display: block;
    font-size: clamp(1.4rem, 4vw, 1.625rem);
    /* ~22px to 26px */
    color: #1A1A1A;
    font-weight: 400;
    font-family: 'Marcellus', serif;
    font-style: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* Remove previous underline */
.heading-en::after {
    display: none;
}

/* Japanese Title - Zen Old Mincho */
.section-heading h2 {
    position: static;
    transform: none;
    font-size: clamp(1rem, 3vw, 1.125rem);
    /* ~16px to 18px */
    font-weight: 500;
    /* Zen Old Mincho looks better with slightly less weight than bold if precise */
    font-family: 'Zen Old Mincho', serif;
    color: var(--color-primary);
    text-shadow: none;
    margin: 0.5rem 0 0;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* Responsive adjustment */
@media (max-width: 767px) {
    .section-heading {
        margin-bottom: 3rem;
    }

    .section-heading::before {
        height: 30px;
    }

    /* Font sizes handled by clamp(), removed specific overrides */
}

/* ========================================
   10. Section Backgrounds & Layout
   ======================================== */

/* Third View (TV) - Recommend */
.section-tv {
    padding: var(--section-spacing-sp) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #e5e7eb 100%);
}

.tv-grid {
    width: 100%;
    margin: 0 auto;
    position: relative;
    /* Mobile: Stacked */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tv-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.tv-content {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    /* White 75% */
    padding: 30px;
    box-shadow: var(--shadow-lg);
    /* Add shadow */
    border-radius: var(--radius-md);
    z-index: 2;
}

.tv-title {
    display: none;
    /* Remove */
}

.tv-list {
    margin-bottom: 2rem;
}

.tv-list li {
    position: relative;
    padding: 1rem 1rem 1rem 3.5rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
    background: #e2e9f1;
    /* li bg white */
    box-shadow: var(--shadow-sm);
    /* add shadow */
    border-radius: 5px;
    /* radius 5px */
    list-style: none;
}

.tv-list li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    background: #1E3A8A;
    /* bg #1E3A8A */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-description {
    color: #1E3A8A;
    line-height: 1.5;
    font-weight: bold;
}

/* Desktop Overlap Layout for TV Section */
@media (min-width: 1024px) {
    .tv-grid {
        max-width: 1015px;
        display: block;
        /* Disable flex/grid for absolute overlap control */
    }

    .tv-image {
        width: 50%;
    }

    .tv-content {
        width: 60%;
        margin-left: auto;
        margin-top: -367px;
        padding: 3rem;
    }
}

/* About Section */
.section-about {
    padding: var(--section-spacing-sp) 0;
    background: linear-gradient(-45deg, rgb(57, 134, 195), #1E3A8A, rgb(57, 134, 195), #1E3A8A);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

.about-grid {
    max-width: 1015px;
    margin: 10px auto;
    background: rgba(255, 255, 255, 0.75);
    /* #ffffffab */
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    /* padding removed */

    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    /* Change from center to stretch to make image fill height */
    overflow: hidden;
    /* Ensure image respects border radius */
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 50% 50%;
        gap: 0;
    }
}

/* Fix Heading Colors for About Section */
.section-about .section-heading h2,
.section-about .heading-en {
    color: #FFFFFF !important;
}

.section-about .section-heading::before {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.about-content {
    padding: 2rem;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image {
    order: 1;
    height: 100%;
    /* Ensure full height */
    min-height: 300px;
    /* Minimum height for mobile */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-title {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text {
    color: var(--color-text);
    line-height: 1.8;
}

/* Service Section */
.section-service {
    padding: var(--section-spacing-sp) 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.service-item {
    max-width: 1110px;
    height: auto;
    /* Fixed height removed */
    min-height: 350px;
    margin: 0 auto 4rem;
    background: #1e3a8a;
    /* Blue Card */
    border-radius: 10px;
    padding: 30px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-content {
    padding: 15px;
}

.service-number {
    display: inline-block;
    padding: 8px 20px;
    background: #FFFFFF;
    /* White BG */
    color: #1e3a8a;
    /* Blue Text */
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.service-title {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-text {
    color: #FFFFFF;
    line-height: 1.5;
}

.service-image img {
    width: 520px;
    height: 281px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    /* Optional polish */
}

/* Gallery Section */
.section-gallery {
    padding: var(--section-spacing-sp) 0;
    background: #e5e7eb;
}

.gallery-swiper {
    padding: 0;
}

.gallery-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: all var(--transition-base);
}

.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--color-primary);
    background: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.5rem;
}

/* Lightbox styles ... (unchanged) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-lightbox);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-white);
    color: var(--color-text);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.lightbox-close:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

/* Message Section */
.section-message {
    padding: var(--section-spacing-sp) 0;
    background: linear-gradient(to bottom left, #1E3A8A 50%, #e5e7eb 50%);
}

/* Fix Heading Colors for Message Section */
.section-message .section-heading h2,
.section-message .heading-en {
    color: #FFFFFF !important;
}

.section-message .section-heading::before {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.message-grid {
    max-width: 780px;
    margin: 0 auto;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column-reverse;
    /* Image on top */
    text-align: center;
    overflow: hidden;
    background: linear-gradient(to bottom, #e5e7eb 0%, #1E3A8A 100%);
}

.message-content {
    padding: 1.5rem 0;
    /* Vertical padding only */
}

.message-title {
    color: white;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-align: center;
}

.message-text {
    color: white;
    line-height: 1.5;
    text-align: center;
}

.message-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-sm);
}

/* Contact Section */
.section-contact {
    padding: var(--section-spacing-sp) 0;
    background: #e5e7eb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
}

.contact-shop-name {
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.contact-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-label {
    font-weight: 700;
    color: var(--color-primary);
}

.contact-value {
    color: #1A1A1A;
    line-height: 1.8;
}

.contact-value a {
    color: #1A1A1A;
    font-weight: 400;
}

.contact-value a:hover {
    color: var(--color-accent);
}

.contact-sns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
    /* Force 3 in 1 line */
}

.sns-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    /* Slightly reduced for better fit */
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.sns-link i {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sns-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

/* ========================================
   16. Footer
   ======================================== */

.footer {
    background: var(--color-primary);
    padding: 3rem 0 2rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--color-white);
    font-weight: 500;
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    color: var(--color-white);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ... (Fixed CTA & Back to Top retained) ... */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    z-index: var(--z-fixed-cta);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.fixed-cta-phone,
.fixed-cta-web {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-weight: 700;
    font-size: 1rem;
    gap: 4px;
    transition: all var(--transition-base);
}

.fixed-cta-phone {
    background: var(--color-primary);
    color: var(--color-white);
}

.fixed-cta-web {
    background: #e5e7eb;
    color: #0a2463;
}

.fixed-cta-phone span:first-child,
.fixed-cta-web span:first-child {
    font-size: 1.5rem;
}

.fixed-cta-phone:active {
    background: var(--color-primary-light);
}

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

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-back-to-top);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.back-to-top span:first-child {
    font-size: 1.5rem;
    line-height: 1;
}

.back-to-top span:last-child {
    font-size: 0.7rem;
    font-weight: 700;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   19. Responsive Design - Tablet (768px+)
   ======================================== */

@media (min-width: 768px) {


    .section-tv,
    .section-about,
    .section-service,
    .section-gallery,
    .section-message,
    .section-contact {
        padding: var(--section-spacing-pc) 0;
    }

    .tv-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .about-grid {
        grid-template-columns: 55% 40%;
        gap: 5%;
        align-items: center;
    }

    .about-content {
        order: 1;
    }

    .about-image {
        order: 2;
    }

    .service-item {
        grid-template-columns: 1fr 1fr;
        gap: 0rem;
    }

    .service-item-reverse .service-content {
        order: 2;
    }

    .service-item-reverse .service-image {
        order: 1;
    }



    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: stretch;
    }

    .contact-map {
        height: 100%;
        min-height: 500px;
    }

    .fixed-cta {
        display: none;
    }

    .back-to-top {
        bottom: 40px;
        right: 40px;
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 991px) {
    :root {
        --container-padding: 10px;
    }

    .sp-br {
        display: block;
    }

    .message-grid {
        padding: 10px;
    }

    .message-title {
        font-size: 21px;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
    }

    .contact-info {
        padding: 10px;
    }

    .contact-shop-name {
        font-size: 21px;
    }

    .contact-sns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        /* Grid 2 cols for mobile */
    }

    .sns-link {
        padding: 8px 10px;
        font-size: 13px;
        /* Smaller text for mobile fit */
    }

    .service-item {
        padding: 10px;
        height: auto;
        /* Allow height to adapt on small screens */
        grid-template-columns: 1fr;
    }

    .service-content {
        padding: 1.5rem 0;
        /* Removing 2rem default, vertical only */
        text-align: center;
    }

    .service-title {
        text-align: center;
    }

    .service-image {
        order: -1;
        /* Image above content */
    }

    .service-image img {
        width: 100%;
        /* Ensure image fits parent width */
        height: auto;
    }

    /* About Section SP */
    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-image {
        order: -1;
        /* Image above content */
    }

    .about-content {
        padding: 10px;
    }

    .about-title {
        text-align: center;
    }

    /* TV Section SP */
    .tv-content {
        padding: 10px;
        padding-bottom: 30px;
    }

    .tv-description {
        color: #1E3A8A;
        line-height: 1.5;
        font-weight: bold;
        text-align: center;
    }
}

@media (max-width: 781px) {
    .about-title {
        font-size: 22px;
    }
}

/* ========================================
   20. Responsive Design - Desktop (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }

    .header-nav {
        display: flex;
        margin-right: auto;
        margin-left: 1.5rem;
        gap: 1.5rem;
    }

    .header-cta {
        display: block;
    }

    .hamburger {
        display: none;
    }

    .cta-content {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .section-heading {
        max-width: 100%;
    }

    .tv-grid {
        grid-template-columns: 40% 60%;
    }

    .tv-content {
        padding: 3rem;
    }

    .about-grid {
        grid-template-columns: 530px 1fr;
        gap: 0;
        /* height removed to fix text cut-off */
        align-items: center;
        /* overflow removed */
    }

    .about-image {
        position: relative;
        left: 0;
        width: 530px;
        height: 370px;
    }

    .about-image img {
        width: 530px;
        height: 370px;
        object-fit: cover;
    }

    .about-content {
        padding: 30px 30px;
    }




}

/* Animation & Accessibility utils ... (unchanged) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

@media print {

    .header,
    .fixed-cta,
    .back-to-top,
    .mobile-menu {
        display: none !important;
    }
}

/* ========================================
   21. Price Section Additional Styles
   ======================================== */
.section-price {
    position: relative;
    padding: 80px 0;
    /* Transparent to show video */
    background: transparent;
}

@media (min-width: 768px) {
    .section-price {
        padding: 120px 0;
    }
}

.price-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.price-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* Adjust for readability */
    z-index: -1;
    pointer-events: none;
}

.price-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    /* Slightly wider for tables */
    margin: 0 auto;
}

.price-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-accent);
    line-height: 1.4;
}

.price-table-wrapper {
    margin-bottom: 3rem;
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Ensure table doesn't squish too much on mobile */
}

.price-table th,
.price-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
    border-bottom: none;
}

.price-table th {
    background-color: #f8f9fa;
    color: var(--color-primary);
    font-weight: 700;
    width: 35%;
    white-space: nowrap;
}

.price-table td {
    background-color: #ffffff;
    font-weight: 500;
    color: var(--color-text);
}

.price-notes-list {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    text-align: left;
}

.price-note-item {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.price-note-item:last-child {
    margin-bottom: 0;
}

.price-cta {
    text-align: center;
    margin-top: 2rem;
}


/* ========================================
   22. Q&A Section Additional Styles
   ======================================== */
.section-qa {
    padding: 80px 0;
    background: linear-gradient(-45deg, rgb(57, 134, 195), #1E3A8A, rgb(57, 134, 195), #1E3A8A);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@media (min-width: 768px) {
    .section-qa {
        padding: 120px 0;
    }
}

.qa-container {
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.qa-item:hover {
    box-shadow: var(--shadow-md);
}

.qa-summary {
    list-style: none;
    /* Hide default marker */
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    background: #fff;
    transition: background-color 0.2s;
}

.qa-summary:hover {
    background-color: #f9fafb;
}

.qa-summary::-webkit-details-marker {
    display: none;
}

.qa-q-mark {
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    min-width: 1.5rem;
}

.qa-question-text {
    flex: 1;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
    padding-right: 2rem;
    /* Space for icon */
    line-height: 1.5;
}

.qa-icon {
    font-size: 1.2rem;
    color: var(--color-primary-light);
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    margin-top: 2px;
}

.qa-item[open] .qa-icon {
    transform: rotate(180deg);
}

.qa-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text);
    line-height: 1.8;
    border-top: 1px solid #f0f0f0;
    animation: fadeIn 0.3s ease;
}

.qa-content-inner {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: flex-start;
}

.qa-a-mark {
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    min-width: 1.5rem;
}

.qa-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Q&A & Price Tables */
@media (max-width: 767px) {
    .price-table {
        min-width: auto;
    }

    .price-table th,
    .price-table td {
        display: block;
        width: 100%;
        text-align: left;
    }

    .price-table th {
        background-color: #e9ecef;
        padding-bottom: 0.5rem;
        border-bottom: none;
        white-space: normal;
    }

    .price-table td {
        padding-top: 0.5rem;
    }

    .price-table tr {
        border-bottom: 2px solid var(--color-border);
    }

    .price-table tr:last-child {
        border-bottom: none;
    }

    .qa-summary {
        padding: 1.25rem;
    }

    .qa-content {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
}

/* ========================================
   23. New Sections Styles
   ======================================== */

/* ========================================
   24. Background Video Styles
   ======================================== */
/* ========================================
   24. Background Video Styles & Overlays
   ======================================== */
.section-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

/* Specific Overlay for Benefits Section (Dark + Bottom Gradient) */
.section-benefits .section-bg-overlay {
    background: linear-gradient(to bottom, rgb(53 53 53 / 70%) 80%, #000000 100%);
}

/* Benefits Section Text Colors */
.section-benefits .section-heading h2,
.section-benefits .heading-en,
.section-benefits .benefit-title,
.section-benefits .benefit-text {
    /* Note: benefit-card needs to be checked. If cards are white, text inside should be dark? 
       User said: "3つのメリット、最新の自動車特殊板金技術「デントリペア」の文字は白に変更してください。"
       This refers to the HEADING. 
       The cards are white? ".benefit-card { background: #fff; ... }"
       So card text should remain dark. 
       Only section heading should be white.
    */
}

.section-benefits .section-heading h2,
.section-benefits .heading-en {
    color: #FFFFFF !important;
}

.section-benefits .section-heading .heading-en {
    color: #FFFFFF !important;
}

/* Benefits Section */
.section-benefits {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

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

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.benefit-icon {
    font-size: 3rem;
    color: #0A2463;
    /* Primary */
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.5rem;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-text {
    line-height: 1.6;
    color: #4b5563;
}

.benefits-cta {
    text-align: center;
}

/* Flow Section */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    background: #f0f4f8;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    border: 1px solid #dee2e6;
}

.step-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3E92CC;
    /* Secondary */
    background: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 5px;
    border: 1px solid #3E92CC;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A2463;
}

.step-desc {
    font-size: 0.95rem;
    color: #4b5563;
}

.flow-arrow {
    color: #3E92CC;
    font-size: 1.5rem;
}

.flow-arrow i {
    transform: rotate(90deg);
    /* Point down on mobile */
}

@media (min-width: 768px) {
    .flow-steps {
        flex-direction: row;
        align-items: stretch;
        max-width: 100%;
        width: 100%;
        padding: 0 40px;
    }

    .flow-step {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .flow-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .flow-arrow i {
        transform: rotate(0deg);
        /* Point right on desktop */
    }
}

/* Franchise & Reviews specific overrides if needed */
@media (max-width: 767px) {
    .franchise-grid {
        grid-template-columns: 1fr !important;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   25. Typography Overrides (Zen Old Mincho)
   ======================================== */
.about-title,
.tv-title,
.tv-description,
.service-title,
.benefit-title,
.message-title,
.step-title,
.qa-question-text {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 500;
}

/* ========================================
   26. Animated Gradient Background
   ======================================== */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ========================================
   27. User Requested Updates (Feb 12)
   ======================================== */

/* Remove ALL Border Radius overrides */
* {
    border-radius: 0 !important;
}

/* Service Number Highlight */
.service-num-highlight {
    font-size: 2em;
    /* Significantly larger */
    line-height: 1;
    vertical-align: middle;
    margin-left: 0.2rem;
}

/* Service Point 2 Button (Outline Style) */
.service-item-reverse .btn-primary {
    background: transparent;
    border: 2px solid var(--color-primary);
    /* Use primary color border */
    color: var(--color-primary);
    box-shadow: none;
}

.service-item-reverse .btn-primary:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Price Section Header Images */
.price-images-container {
    position: relative;
    height: 220px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.price-header-img {
    width: 280px;
    max-width: 45%;
    height: auto;
    position: absolute;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid #fff;
    object-fit: cover;
}

/* img/menu_01 (Left, Up) */
.img-left {
    z-index: 1;
    top: 0;
    left: 10%;
    /* Position left image */
    transform: rotate(-2deg);
    /* Slightly angled */
}

/* img/menu_02 (Right, Down) */
.img-right {
    z-index: 2;
    top: 40px;
    right: 10%;
    /* Position right image */
    transform: rotate(2deg);
    /* Slightly angled */
}

@media (max-width: 767px) {
    .price-images-container {
        height: 180px;
    }

    .price-header-img {
        width: 200px;
        max-width: 48%;
    }

    .img-left {
        left: 0;
    }

    .img-right {
        right: 0;
    }
}

/* ========================================
   28. Final Adjustments (Feb 12 evening)
   ======================================== */

/* 1. Price Images Larger */
.price-images-container {
    height: 280px;
    /* Increased from 220px */
    max-width: 800px;
    /* Increased container width */
}

.price-header-img {
    width: 380px;
    /* Increased from 280px */
    max-width: 55%;
    /* Allow overlap */
    border: 6px solid #fff;
    /* Thicker border */
}

@media (max-width: 767px) {
    .price-images-container {
        height: 200px;
    }

    .price-header-img {
        width: 240px;
    }
}

/* 2. Header Text White & Fonts */
.header-nav .nav-item {
    color: #FFFFFF !important;
}

.nav-en {
    font-family: 'Marcellus', serif;
}

.nav-jp {
    font-family: 'Zen Old Mincho', serif;
}

/* 3. Price Logo Slider (Marquee) */
.price-logo-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    padding: 10px 0;
}

.price-logo-track {
    display: inline-block;
    animation: items-scroll 20s linear infinite;
}

.price-logo-slider img {
    height: 40px;
    /* Adjust logo height */
    margin: 0 30px;
    display: inline-block;
    vertical-align: middle;
}

@keyframes items-scroll {
    0% {
        transform: translateX(0);
    }

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

/* 4. Slide-in Animation for Headings */
.slide-in-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-text.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   29. User Requested Updates (Feb 12 evening Part 2)
   ======================================== */

/* 1. Point 2 Button White (Text & Border) */
.service-item-reverse .btn-primary {
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

.service-item-reverse .btn-primary:hover {
    background: #FFFFFF !important;
    color: var(--color-primary) !important;
}

/* 2. Price Details & Reviews Button Blue */
.section-price .btn-primary,
.section-reviews .btn-primary {
    background: var(--color-primary) !important;
    color: #FFFFFF !important;
    border: 2px solid var(--color-primary) !important;
}

.section-price .btn-primary:hover,
.section-reviews .btn-primary:hover {
    background: #FFFFFF !important;
    color: var(--color-primary) !important;
}


/* 3. Price Logo Slider Full Width (Overwrite previous) */
.price-logo-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    box-sizing: border-box;
    padding: 20px 0;
    margin-bottom: 3rem;
    margin-top: 3rem;
    /* Added space above */
    overflow: hidden;
    left: auto;
    transform: none;
    background: rgba(255, 255, 255, 0.5);
    /* Optional back strip to distinguish? User didn't ask but "right side not slidered" might be visibility issue. Transparency is safer. */
    background: transparent;
}

/* 4. Q&A Title White */
.section-qa .section-heading h2,
.section-qa .heading-en {
    color: #FFFFFF !important;
}

/* 5. Header Background */
.header {
    background: rgb(0 17 57 / 98%) !important;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: rgb(0 17 57 / 98%) !important;
}

/* ========================================
   30. Flow Section Layout & Reviews Button Fix
   ======================================== */

/* Reviews Button Override (Force Blue) */
.reviews-cta .btn-primary {
    background: var(--color-primary) !important;
    color: #FFFFFF !important;
    border: 2px solid var(--color-primary) !important;
}

.reviews-cta .btn-primary:hover {
    background: #FFFFFF !important;
    color: var(--color-primary) !important;
}

/* Flow Section 1024px+ Layout (3 Top, 2 Bottom) */
@media (min-width: 1024px) {
    .flow-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 0;
    }

    .flow-step {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .flow-arrow {
        flex: 0 0 8%;
        max-width: 8%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Target the arrow between Step 3 and Step 4 (6th child) */
    /* Structure: S1, A1, S2, A2, S3, A3, S4, A4, S5 */
    /* Indices:   1   2   3   4   5   6   7   8   9 */
    .flow-steps> :nth-child(6) {
        flex: 0 0 100%;
        max-width: 100%;
        height: 0;
        visibility: hidden;
        margin: 0;
    }
}