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

:root {
    --color-main: #4a4a4a;        /* Gray */
    --color-text: #4a4a4a;        /* Gray */
    --color-bg-white: #fcf9f7;    /* Light Nudy */
    --color-bg-light: #f7f1ed;    /* Nudy / Skin Tone */
    --color-accent: #d8a7b1;      /* Dusty Pink */
    --color-gray-pale: #fcfcfc;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

body {
    font-family: var(--font-sans);
    line-height: 2.0; /* ゆったりとした行間 */
    letter-spacing: 0.05em;
    color: var(--color-text);
    background-color: var(--color-bg-white);
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    user-select: none; /* テキスト選択を禁止 */
}

/* For Seamless Swiper */
.gallery-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Service Card Editorial Style */
.service-card {
    position: relative;
    background: transparent;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.3;
    z-index: 5;
    pointer-events: none;
    font-style: italic;
}

.service-card h4 {
    position: relative;
    z-index: 10;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    color: var(--color-main);
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* Sections */
section {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-bottom: 0px; 
}

@media (min-width: 1024px) {
    section {
        padding-top: 120px;
        padding-bottom: 120px;
        margin-bottom: 0px; 
    }
}

.bg-beige {
    background-color: var(--color-bg-light);
}

/* Header */
header {
    background: transparent;
    transition: background 0.3s, padding 0.3s;
}

header.scrolled {
    background: #e9dec8;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

/* ══════════════════════════════
   HEADER (Refined nui. style)
══════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100px;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center; /* Center navigation vertically with logo */
    background: #e9dec8; /* Updated Nudy Background */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-group {
    display: flex;
    align-items: stretch;
    list-style: none;
}

.nav-group li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 120px; /* Slightly wider for better balance */
    height: 100px; /* Match header height for centering logic */
    text-decoration: none;
    transition: background .3s;
    color: var(--color-main);
}
.nav-group li a:hover { background: var(--color-bg-light); }

.nav-ja {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #333; /* Darker for better visibility */
}
.nav-en {
    font-size: 8px;
    letter-spacing: 0.2em;
    color: #666; /* Adjusted for better visibility */
    text-transform: uppercase;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    height: 100px; /* Ensure logo box height matches nav height */
    text-decoration: none;
}
.header-logo img { height: 40px; width: auto; }

/* ══════════════════════════════
   FV (Rounded Stage Style)
══════════════════════════════ */
.fv {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background: var(--color-bg-white);
    overflow: hidden;
}

.fv-stage {
    position: absolute;
    left: 140px;
    right: 80px;
    top: 120px;
    bottom: 40px;
    z-index: 10;
}

.fv-stage-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.fv-stage-inner::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

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

.fv-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide Counter (Left) */
.slide-counter-wrap {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 20;
}
.counter-current { font-family: var(--font-serif); font-size: 32px; color: var(--color-accent); border-bottom: 2px solid var(--color-accent); padding-bottom: 5px; }
.counter-total { font-size: 14px; color: var(--color-main); opacity: 0.5; }

/* Circle Reservation Button */
.res-circle-btn {
    position: absolute;
    left: 70px;
    bottom: 20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #d8a7b1; /* Changed to #d8a7b1 */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform .3s, background .3s;
}
.res-circle-btn:hover { transform: scale(1.05); background: #c596a0; } /* Adjusted hover color */
.res-circle-btn .btn-ja { font-size: 16px; font-weight: 700; margin-top: 5px; }

/* ── Catchcopy ── */
.fv-copy {
    position: absolute;
    bottom: 60px;
    left: 0; right: 0;
    text-align: center;
    z-index: 50;
    color: #fff;
    pointer-events: none;
}
.copy-main {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 4rem;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 10px;
}
.copy-sub {
    font-size: 16px;
    letter-spacing: 0.2em;
    opacity: 0.9;
}

/* Floating Right Buttons */
.float-right {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.float-btn {
    width: 50px;
    padding: 15px 0;
    background: var(--color-main);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background .3s;
}
.float-btn:hover { background: #333; }
.float-btn-text { writing-mode: vertical-rl; font-size: 11px; margin-top: 5px; letter-spacing: 0.1em; }

@media (max-width: 1023px) {
    .site-header { display: flex; justify-content: space-between; align-items: center; height: 60px; padding: 0 20px; }
    .nav-group { display: none; }
    .header-logo { padding: 0; }
    .header-logo img { height: 30px; }
    .fv-stage { left: 10px; right: 10px; top: 80px; bottom: 10px; }
    .slide-counter-wrap, .float-right { display: none; }
    .res-circle-btn { left: 15px; width: 80px; height: 80px; bottom: 15px; padding: 10px; }
    .res-circle-btn .btn-ja { font-size: 10px; margin-top: 2px; }
    .res-circle-btn svg { width: 20px; height: 20px; }
    .fv-copy { bottom: 120px; padding: 0 10px; }
    .copy-main { font-size: 2.2rem; }
    .copy-sub { font-size: 11px; }
}

/* Scroll Line */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 0.3em;
    writing-mode: vertical-rl;
    color: var(--color-main);
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-main);
    animation: scrollLineMove 2s infinite;
}

@keyframes scrollLineMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Section Headings (Reference Style) */
.colmo-header {
    max-width: 50%;
    margin: 0 auto 80px;
    text-align: center;
    position: relative;
}

.colmo-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.colmo-header .sub-text {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
}

/* Buttons (Ghost Style) */
.nui-btn {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid var(--color-main);
    color: var(--color-main);
    background: transparent;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s;
    font-family: var(--font-sans);
    font-weight: 500;
}

.nui-btn:hover {
    background: var(--color-main);
    color: #fff;
}

/* CTA SP */
.bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
}

.bottom-cta a {
    flex: 1;
    text-align: center;
    padding: 1.25rem 0;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #fff;
}

.cta-tel { background-color: #333; }
.cta-web { background-color: var(--color-main); }

/* Images - Sharp, no radius/shadow */
img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Responsive Table/Grid */
.asym-grid-40-60 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .asym-grid-40-60 {
        grid-template-columns: 4fr 6fr;
        gap: 80px;
    }
    .asym-grid-60-40 {
        grid-template-columns: 6fr 4fr;
        gap: 80px;
    }
}

/* Hamburger Overlay */
#drawer {
    background: #fff; /* Fixed background */
}
#drawer.active {
    transform: translateX(0);
}
#drawer a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--color-main);
}

/* Custom Overrides */
.p-12 {
    padding: 2rem !important;
}

/* Scroll Top */
#scrollTop {
    background: var(--color-main);
    border-radius: 0;
}

/* ══════════════════════════════
   GALLERY / LIGHTBOX
   ══════════════════════════════ */
.gallery-img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: zoom-in;
}

.gallery-img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.modal-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

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

/* ══════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════ */
.reveal {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-up { transform: translateY(40px); }
.reveal-down { transform: translateY(-40px); }
.reveal-left { transform: translateX(40px); }
.reveal-right { transform: translateX(-40px); }

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

/* Stagger delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* SVG Animation for checks */
.animate-check {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    transition: stroke-dashoffset 0.6s ease-out 0.4s;
}
.reveal.active .animate-check {
    stroke-dashoffset: 0;
}


