@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;700&family=Instrument+Serif:ital@0;1&family=Noto+Sans+JP:wght@400;500;700&family=Zen+Old+Mincho:wght@400;500;700&display=swap');

:root {
    --primary-color: #d2b48c;
    /* Sand Beige (Updated) */
    --accent-color: #f3e5ab;
    /* Vanilla/Lighter Beige for distinction if needed, but I'll use d2b48c for primary */
    --text-color: #333333;
    --bg-color: #fdfaf6;
    /* Soft Off-white */
    --charcoal: #4a4a4a;
    --muted-bg: #f5f2ed;

    --section-margin-pc: 80px;
    --section-margin-sp: 60px;
    --container-max-width: 1200px;

    --font-main: 'Noto Sans JP', sans-serif;
    --font-serif: 'Zen Old Mincho', serif;
    --font-accent: 'Cormorant Garamond', serif;
}

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

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

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(253, 250, 246, 0.96), rgba(253, 250, 246, 0.96)), url('../img/16.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    user-select: none;
    width: 100%;
    margin: 0;
}

main {
    padding-top: 80px;
}

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

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

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

/* Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 4%;
}

section {
    padding: 70px 0 !important;
    overflow: hidden;
    width: 100%;
}

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

    section {
        padding: 50px 0 !important;
    }

    .service-info,
    .price-content,
    .voice-card,
    .message-content,
    .contact-box {
        padding: 30px 10px !important;
    }

    #about .text-box p {
        text-align: left !important;
    }

    .about-content {
        text-align: center !important;
        padding: 0 !important;
    }

    .service-info p {
        text-align: left !important;
    }

    .sp {
        display: block !important;
    }
}

.sp {
    display: none;
}

/* Section Heading - Stylish Overlap Design */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: flex;
    flex-direction: column; /* Back to vertical stack */
    align-items: center;
    gap: 15px;
}

.title-divider-img {
    width: 550px; /* Reduced to a more balanced size as requested */
    height: 100px;
    background: url('../img/h3.png') no-repeat center;
    background-size: contain;
    opacity: 0.9;
    margin: -40px 0 -18px 0; /* Adjusted: Reduced negative top margin from -55px to -40px to create space */
}

.section-title-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centered: Changed from flex-start to center */
    width: auto;
    position: relative;
    padding-left: 0;
}

.section-header .en-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 24px; /* Reduced to a more subtle secondary title */
    font-weight: 500;
    color: var(--primary-color); /* Sand Beige for the decorative title */
    position: relative;
    top: 0;
    left: 0;
    transform: none; /* No longer a watermark */
    z-index: 2;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
    display: block;
    margin-top: -5px; /* Moved down slightly as requested */
    margin-bottom: 0;
    opacity: 1; /* Full opacity for the accent color */
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--charcoal); /* Darker color for the main Japanese heading */
    position: relative;
    z-index: 2;
    letter-spacing: 0.1em;
    line-height: 1.2;
    padding-bottom: 15px; /* Increased from 10px to 15px for better clearance */
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
        align-items: center; /* Center-align the whole header on mobile */
        text-align: center;
    }

    .section-title-group {
        align-items: center;
        text-align: center;
        width: 100%;
        padding-left: 0;
    }

    .section-header h2 {
        font-size: 1.2rem;
        padding-bottom: 15px;
        line-height: 1.4;
        margin: 0 auto;
        transform: none; /* Reset to center as requested */
    }

    .title-divider-img {
        width: 350px; /* Scaled down slightly for mobile balance */
        height: 70px;
        margin: -35px auto -15px; /* Adjusted: Reduced negative top margin from -45px to -35px */
        background-position: center;
        opacity: 0.8;
    }

    .section-header .en-title {
        font-size: 20px; 
        position: relative;
        top: 0;
        left: 0;
        /* Removed transform: translateX(30px) to keep it centered */
        margin: 0 auto;
        opacity: 0.9;
        letter-spacing: 0.05em;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo img {
    width: 85%;
    height: auto;
    object-fit: contain;
    display: block;
}

.logo:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 70px;
    margin-bottom: 2rem;
    display: inline-flex;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu ul li a {
    font-size: 0.9rem;
    font-weight: 500;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-cta .btn-insta,
.header-cta .btn-reserve {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 4px;
    min-width: 130px;
    transition: all 0.3s ease;
    height: 42px;
}

.header-cta .btn-insta {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background-color: transparent;
}

.header-cta .btn-insta:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.header-cta .btn-reserve {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.header-cta .btn-reserve:hover {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    margin-right: -10px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

@media (max-width: 1024px) {
    header {
        justify-content: center;
    }

    .nav-menu,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 4%;
        top: 50%;
        transform: translateY(-50%);
        margin-right: 0;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    visibility: hidden;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    visibility: visible;
}

.mobile-menu-overlay .close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.close-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.2em;
}

.close-icon {
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-color);
}

.mobile-nav {
    width: 100%;
}

.mobile-nav ul {
    list-style: none;
    width: 100%;
    padding: 0 40px;
}

.mobile-nav ul li {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.mobile-menu-overlay.active .mobile-nav ul li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for menu items */
.mobile-menu-overlay.active .mobile-nav ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav ul li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-nav ul li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav ul li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-nav ul li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav ul li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu-overlay.active .mobile-nav ul li:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav ul li:nth-child(8) {
    transition-delay: 0.45s;
}

.mobile-nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mobile-nav ul li a .en {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.3em;
    margin-bottom: 5px;
}

.mobile-nav ul li a .jp {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
}

.mobile-nav ul li a.tel-link .jp {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Mobile Menu CTA Buttons */
.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 40px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.45s;
}

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

.m-btn-insta,
.m-btn-reserve {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    width: 100%;
    transition: 0.3s;
}

.m-btn-insta {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
}

.m-btn-reserve {
    background-color: var(--primary-color);
    color: #fff;
}

/* FV Slider */
.fv-section,
.fv {
    margin-bottom: 0;
    padding: 0 !important;
    height: auto !important;
    width: 100%;
}

.fv-swiper {
    width: 100%;
    height: auto !important;
    overflow: hidden;
}

.fv-swiper .swiper-slide {
    width: 100%;
}

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

.fv-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Changed from contain to cover to fix side gaps */
}

/* Two Columns Layouts */
.grid-2col {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 40px;
    align-items: center;
}

.grid-2col.reverse {
    grid-template-columns: 6fr 4fr;
}

.grid-2col .image-box {
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-2col .image-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Section-Specific Image Designs --- */

/* TV / Problems: 50/50 Gallery Layout */
/* TV / Problems: Standard Side-by-Side Centered */
.problems-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    /* Vertically centered */
}

/* Left Gallery Slider */
.problems-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.image-overlay-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--charcoal);
    padding: 6px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 20px;
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-viewer {
    width: 100%;
    height: 480px;
    background: #eee;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.main-viewer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease;
}

.thumbnail-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb {
    flex: 0 0 calc(25% - 8px);
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    filter: grayscale(40%);
}

.thumb:hover {
    filter: grayscale(0);
}

.thumb.active {
    border-color: var(--primary-color);
    filter: grayscale(0);
    transform: scale(0.95);
}

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

/* Right Content: Previous Box Style */
.problems-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 3px solid var(--primary-color);
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
}

.problem-item:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.problem-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--charcoal);
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .problems-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-viewer {
        height: 320px;
    }
}



/* About: Modern 3-Column Slanted Layout */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 10px;
    align-items: center;
}

.about-visual {
    position: relative;
    padding: 10px;
}

.slanted-box {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    transition: all 0.5s ease;
}

.slanted-left .slanted-box,
.slanted-right .slanted-box {
    clip-path: none;
}

.slanted-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.slanted-box:hover img {
    transform: scale(1.1);
}

.about-content {
    text-align: center;
    padding: 0 20px;
}

.about-content .subtitle {
    font-size: 0.9rem;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .about-content {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 30px;
    }

    .about-visual {
        padding: 5px;
    }

    .slanted-box {
        height: 220px;
        max-width: 100%;
        margin: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .slanted-box {
        height: 350px;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Service: Staggered Float Layout */
.service-block {
    display: flex;
    align-items: stretch;
    /* Match heights */
    gap: 0;
    /* Seamless transition */
    margin-bottom: 120px;
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

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

.service-block:nth-child(even) {
    flex-direction: row-reverse;
}

.service-visual {
    flex: 1;
    position: relative;
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img-wrap {
    width: 100%;
    position: relative;
    z-index: 2;
}

.service-img-wrap::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50%;
    height: 50%;
    border: 1px solid var(--primary-color);
    z-index: -1;
}

.service-block:nth-child(even) .service-img-wrap::before {
    left: auto;
    right: -10px;
}

.service-img-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.service-info {
    flex: 1;
    position: relative;
    padding: 40px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Revert to left-aligned */
    text-align: left;
}

.service-num {
    font-size: 100px;
    font-weight: 400;
    color: #000;
    position: relative;
    line-height: 0.8;
    margin-bottom: 5px;
    font-family: "Instrument Serif", serif;
    opacity: 1;
    letter-spacing: 0.1em;
}

.service-block:nth-child(even) .service-num {
    margin-bottom: 20px;
}

.service-info h2 {
    font-size: 26px !important;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.service-block:nth-child(3) .service-info h2 {
    margin-top: 30px;
}

.service-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {

    .service-block,
    .service-block:nth-child(even) {
        flex-direction: column;
        gap: 0;
        margin-bottom: 80px;
    }

    .service-info {
        margin-left: 0;
        margin-right: 0;
        padding: 40px 20px;
        text-align: center;
    }

    .service-num {
        align-self: center;
    }

    .service-block:nth-child(even) .service-info {
        margin-right: 0;
    }

    .service-img-wrap img {
        height: 300px;
    }

    .service-visual {
        padding: 20px;
        width: 100%;
    }
}


/* Price List: Menu Board Style */
.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.price-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.coating-grid {
    grid-column: span 2;
}

.car-sales-card {
    grid-column: span 3;
    flex-direction: row;
}

.car-sales-card .price-img {
    width: 50%;
    height: auto;
}

.car-sales-card .price-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1024px) {
    .price-cards {
        grid-template-columns: 1fr;
    }
    .coating-grid,
    .car-sales-card {
        grid-column: span 1;
    }
    .car-sales-card {
        flex-direction: column;
    }
    .car-sales-card .price-img,
    .car-sales-card .price-content {
        width: 100%;
    }
    .car-sales-card .price-img {
        height: 280px;
    }
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* Coating Grid Specialty */
.coating-grid .card-images-top {
    display: flex;
    height: 280px; /* Taller height */
}

.coating-grid .card-images-top img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-right: 1px solid #fff;
}

.coating-grid .card-main-content {
    display: flex;
    flex: 1;
}

.card-side-img {
    width: 50%; /* Same width as top images */
    height: 280px;  /* Match header images height */
    overflow: hidden;
    position: relative;
    border-top: 1px solid #fff;
}

.card-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coating-grid .price-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .coating-grid .card-main-content {
        flex-direction: column;
    }
    .card-side-img {
        width: 100%;
        height: 200px;
    }
}

.price-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
}

.price-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.price-img.split img {
    width: 50%;
}

.price-card:hover .price-img img {
    transform: scale(1.1);
}

.price-content {
    padding: 40px 30px;
    text-align: center;
}

.price-header {
    margin-bottom: 25px;
}

.plan-en {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.price-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.price-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.price-symbol {
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 2px;
}

.price-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.price-suffix {
    font-size: 1rem;
    margin-left: 5px;
    color: #888;
}

.price-details p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.price-details ul {
    list-style: none;
    background: #fcfbf8;
    padding: 20px;
    border-radius: 8px;
}

.price-details li {
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
}

.price-details li:last-child {
    margin-bottom: 0;
}

.price-details li span {
    font-weight: 700;
    color: var(--primary-color);
    width: 90px;
    flex-shrink: 0;
}

/* Options Section */
.options-container {
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.options-header {
    text-align: center;
    margin-bottom: 40px;
}

.options-header h4 {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.options-header p {
    font-size: 0.85rem;
    color: #888;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.option-item {
    background: #fdfaf6;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.option-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.option-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.option-info {
    padding: 15px;
    text-align: center;
}

.opt-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.option-item:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.option-item:hover .option-img img {
    transform: scale(1.1);
}

.option-item:hover .opt-name {
    color: #fff;
}

@media (max-width: 992px) {
    .price-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .price-content {
        padding: 30px 20px;
    }

    .options-container {
        padding: 40px 10px !important;
    }
}

/* Message: Grid Image Layout */
.message-layout {
    display: flex;
    gap: 70px;
    align-items: center;
    margin-top: 50px;
}

.message-photos {
    flex: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    position: relative;
    padding: 20px 0;
}

.photo-frame {
    position: relative;
    background: #fff;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
    width: 100%;
    margin: 0;
}

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

.photo-frame:hover {
    z-index: 10;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Individual Frame Layout */
.frame-1 {
    grid-column: 1 / 3;
}

.frame-1 img {
    height: 350px;
}

.frame-2 {
    grid-column: 1 / 2;
}

.frame-2 img {
    aspect-ratio: 1 / 1;
    height: auto;
}

.frame-3 {
    grid-column: 2 / 3;
}

.frame-3 img {
    aspect-ratio: 1 / 1;
    height: auto;
}

.message-text-content {
    flex: 1; /* Allow text to fill the remaining space naturally */
    padding: 0 40px;
}

.message-body {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--charcoal);
    margin-bottom: 40px;
    text-align: justify;
}

.message-body p {
    margin-bottom: 1.5rem;
}

.message-signature {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.message-signature .company {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
}

.message-signature .role {
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .message-layout {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .message-photos {
        width: 100%;
        margin-bottom: 20px;
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .message-photos {
        padding: 30px 0;
        gap: 10px;
    }

    .photo-frame {
        width: 100%;
        max-width: 100%;
        padding: 8px;
        margin: 0;
    }

    .photo-frame img {
        height: auto;
    }

    .message-body {
        font-size: 0.95rem;
        line-height: 1.8;
        padding: 0 10px;
    }

    .message-text-content {
        flex: 1;
        padding: 0 0px;
    }
}

/* Parallax Recommend Section */
#menu .image-box img {
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.1);
}

#menu .image-box:hover img {
    transform: rotate(1deg) scale(1.02);
}

/* Gallery: Polaroid / Gallery Frame */
/* Gallery Showcase: Infinite Marquee Style */
#gallery {
    padding-bottom: 100px;
    overflow: hidden;
    /* Prevent horizontal scrollbars */
}

#gallery .en-title {
    color: var(--primary-color);
}

.marquee-track {
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.marquee-content {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: marquee-scroll 40s linear infinite !important;
    will-change: transform;
}

/* Ensure animation never stops */
.marquee-content:hover,
.marquee-content:focus,
.marquee-content:active {
    animation-play-state: running !important;
}

.marquee-item {
    flex: 0 0 500px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.marquee-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

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

    100% {
        transform: translateX(-4000px); /* Adjusted for wider items */
    }
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-link::after {
    content: 'VIEW DETAILS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0;
    transition: 0.4s;
    z-index: 3;
    border: 2px solid #fff;
    padding: 12px 24px;
    background: rgba(0,0,0,0.2);
}

.gallery-link:hover::after {
    opacity: 1;
}

.gallery-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: 0.4s;
    z-index: 2;
}

.gallery-link:hover::before {
    opacity: 1;
}

.gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1) grayscale(0); /* Show proper original img */
    transition: all 0.6s ease;
}

.marquee-item:hover img {
    filter: brightness(0.6);
    transform: scale(1.1);
}



.service-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    line-height: 1.4;
}

.text-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
}

/* Inherit header colors by default, but allow specific overrides */
.section-header h2 {
    color: var(--primary-color);
}

/* Section variations removed for consistency or refined below */

/* --- Section Variations --- */

/* 1. Problem Section (Gradient BG) */
#tv {
    background: linear-gradient(135deg,
            #fdfaf6 0%,
            #f5f2ed 40%,
            #eae8e3 70%,
            rgba(210, 180, 140, 0.12) 100%);
}

/* 2. About Section (Soft Background) */
#about {
    background-color: #fdfaf6;
    /* Soft Off-white */
    color: var(--text-color);
}

#about .section-header h2 {
    color: var(--primary-color);
}

#about .section-header h2::after {
    background: var(--accent-color);
}

#about .text-box h3 {
    color: var(--primary-color);
}

#about .text-box p {
    color: var(--charcoal);
}

/* 3. Service Section (Subtle Opacity/Tint) */
#service {
    background-color: rgba(210, 180, 140, 0.08);
    /* Faint Sand Beige tint */
}

/* 4. Price List (Muted Contrast) */
#price-list {
    background-color: var(--muted-bg);
}

/* 5. Gallery Section (Light Style) */
#gallery {
    background-color: var(--muted-bg);
    color: var(--text-color);
}

#gallery .section-header h2 {
    color: var(--primary-color);
}

/* 6. Voice Section (Muted Tint) */
#voice {
    background-color: rgba(210, 180, 140, 0.05);
    /* Faint Sage Green tint */
}

/* 7. Message Section (Soft Professional BG) */
#message {
    background-color: #fdfaf6;
}

#message .section-header {
    margin-bottom: 0;
}

/* 8. Contact Section (Subtle Solid) */
#contact {
    background-color: var(--muted-bg);
}

.text-box h3 {
    font-size: 1.75rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}



.text-box p {
    margin-bottom: 20px;
    color: var(--charcoal);
}

@media (max-width: 768px) {

    .grid-2col,
    .grid-2col.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-2col .image-box {
        order: -1;
    }
}

/* CTA Section: Luxury Glassmorphism */
.cta-section {
    background: linear-gradient(135deg, #d2b48c 0%, #8b7355 100%);
    padding: 100px 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: none;
}

/* Subtle shine effect in the background */
.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    min-width: 280px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Instagram */
.btn-cta.instagram:hover {
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(225, 48, 108, 0.3);
}

.btn-cta.instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-cta.instagram:hover::before {
    width: 100%;
}

/* LINE */
.btn-cta.line:hover {
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(6, 199, 85, 0.3);
}

.btn-cta.line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #06C755;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-cta.line:hover::before {
    width: 100%;
}

/* TEL */
.btn-cta.tel {
    background: var(--accent-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cta.tel:hover {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-cta.tel:hover {
    background: #fff;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .btn-cta {
        width: 100%;
        min-width: auto;
    }

    .cta-buttons {
        gap: 15px;
        padding: 0 20px;
    }
}

/* Service Section */
.service-item {
    margin-bottom: 60px;
}

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

/* Parallax (Menu/Recommend) */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 70px 0;
    color: #fff;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.parallax-section .section-header .en-title {
    color: rgba(255, 255, 255, 0.05);
}

.parallax-section .section-header h2 {
    color: var(--primary-color);
}

.parallax-section .section-header h2::after {
    background: var(--accent-color);
}

.parallax-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.price-tag {
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .parallax-content {
        grid-template-columns: 1fr;
        padding: 30px 10px !important;
    }
}


/* Swiper Uniform Height Fix */
.swiper-wrapper {
    display: flex !important;
    height: auto !important;
}

.swiper-slide {
    height: auto !important;
    display: flex !important;
}

/* Voice Cards */
.voice-card {
    background: #d2b48c59;
    /* Transparent Sage Green */
    padding: 40px;
    height: 100% !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.voice-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.voice-icon {
    width: 60px;
    height: 60px;
    background: var(--muted-bg);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    /* Dynamic organic shape */
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.voice-icon::after {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    opacity: 0.3;
}

.voice-stars {
    color: #f1c40f;
    margin-bottom: 15px;
}

#voice .btn-cta {
    transition: all 0.3s ease;
    border-radius: 4px;
    background-color: #fff !important;
    color: var(--primary-color) !important;
    border: 1px solid #eee !important;
    backdrop-filter: none;
}

#voice .btn-cta:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contact/Access */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-box {
    background: #fff;
    padding: 30px;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.item-label {
    flex: 0 0 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.15em;
    margin-bottom: 0;
    padding-top: 5px;
    /* Align with multi-line text start */
}

.item-value {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.7;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.phone-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .contact-item {
        flex-direction: row;
        /* Force horizontal like PC */
        gap: 15px;
    }

    .item-label {
        flex: 0 0 80px;
        /* Slightly narrower label for SP */
        padding-top: 5px;
    }

    .service-info {
        text-align: center; /* Centering the whole block for cohesive look on mobile */
        padding: 0 15px;
    }

    .service-info h2 {
        font-size: 24px !important;
        text-align: center;
        margin: 0 auto 15px;
    }
}

.sns-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.sns-link-icon {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: var(--muted-bg);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sns-link-icon svg {
    width: 24px;
    height: 24px;
}

.sns-link-icon span {
    font-size: 0.85rem;
    font-weight: 700;
}

.sns-link-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-wrapper {
    height: 100%;
    min-height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 40px;
    }
}

/* Round Logo Style */
.round-logo-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 130px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.round-logo-wrapper img.round-logo {
    width: 85%;
    height: auto;
    object-fit: contain;
}

/* Footer */
footer {
    background: #5D4037;
    color: #fff;
    padding: 60px 0 60px;
    /* Space for floating CTA */
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Floating Tools */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

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

.floating-cta-sp {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    z-index: 900;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .floating-cta-sp {
        display: flex;
    }

    .floating-cta-sp a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.9rem;
    }

    .floating-cta-sp .float-tel {
        background: var(--primary-color);
        color: #fff;
    }

    .floating-cta-sp .float-line {
        background: #06C755;
        color: #fff;
    }
}

/* GLightbox Custom Styling */
.glightbox-container .gslide-description {
    background: rgba(255, 255, 255, 0.9);
}

.glightbox-container .gclose,
.glightbox-container .gnext,
.glightbox-container .gprev {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.glightbox-container .gclose:hover,
.glightbox-container .gnext:hover,
.glightbox-container .gprev:hover {
    background-color: var(--primary-color);
}

.glightbox-container .gclose {
    top: 20px;
    right: 20px;
}

/* Fix double icon issues by ensuring button content is clean */
.glightbox-container button::before,
.glightbox-container button::after {
    display: none !important;
}

.glightbox-container svg {
    width: 20px;
    height: 20px;
}

/* Centering reinforcement */
.glightbox-container .gslide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Fade Scroll Animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}