:root {
    --color-main: #6EACDA;
    --color-text: #333333;
    --color-bg-light: #F0F7FA;
    --color-white: #FFFFFF;
}

body {
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
}
@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(110, 172, 218, 0.1);
}
.nav-group { display: flex; align-items: stretch; list-style: none; height: 100%; }
.nav-group li a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 100px; height: 100%; text-decoration: none; transition: background 0.3s; color: var(--color-text);
}
.nav-group li a:hover { background: var(--color-bg-light); color: var(--color-main); }
.nav-ja { font-size: 11px; font-weight: 700; }
.nav-en { font-size: 9px; color: #888; text-transform: uppercase; margin-top: 2px; }
.header-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 40px; text-decoration: none; line-height: 1.1; font-family: 'Noto Serif JP', serif; }
.logo-sub { font-size: 13px; font-weight: 500; color: var(--color-main); letter-spacing: 0.15em; margin-bottom: 2px; }
.logo-main { font-size: 32px; font-weight: 700; color: var(--color-main); letter-spacing: 0.08em; }

@media (max-width: 1023px) {
    .site-header { justify-content: space-between; padding: 0 20px; height: 60px; }
    .nav-group { display: none; }
    .header-logo { padding: 0; }
    .logo-sub { font-size: 10px; margin-bottom: 1px; }
    .logo-main { font-size: 24px; }
}

/* ══════════════════════════════
   FV (First View) - Kept layout
══════════════════════════════ */
.fv { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; background: #fff; }
.fv-stage { position: absolute; left: 140px; right: 80px; top: 100px; bottom: 40px; z-index: 10; }
.fv-stage-inner { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; box-shadow: 0 10px 40px rgba(110, 172, 218, 0.2); }
.fv-stage-inner::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.2); pointer-events: none; }
.fv-swiper { width: 100%; height: 100%; }
.fv-swiper img { width: 100%; height: 100%; object-fit: cover; }

.slide-counter-wrap { position: absolute; left: 60px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 15px; z-index: 20; }
.counter-current { font-size: 32px; font-weight: 700; color: var(--color-main); border-bottom: 3px solid var(--color-main); padding-bottom: 5px; }
.counter-total { font-size: 16px; color: #999; font-weight: 700; }

.res-circle-btn {
    position: absolute; left: 70px; bottom: 20px; width: 130px; height: 130px; border-radius: 50%;
    background: var(--color-main); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; z-index: 100; box-shadow: 0 10px 20px rgba(110, 172, 218, 0.4); transition: transform 0.3s;
}
.res-circle-btn:hover { transform: scale(1.05); }
.res-circle-btn .btn-ja { font-size: 14px; font-weight: 700; margin-top: 5px; }

.fv-copy { position: absolute; bottom: 50px; left: 0; right: 0; text-align: center; z-index: 50; color: #fff; pointer-events: none; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.copy-main { font-weight: 700; font-size: 2.5rem; line-height: 1.4; margin-bottom: 15px; }
.copy-sub { font-size: 16px; font-weight: 500; }

@media (max-width: 1023px) {
    .fv-stage { left: 15px; right: 15px; top: 80px; bottom: 15px; }
    .fv-stage-inner { border-radius: 24px; }
    .slide-counter-wrap { display: none; }
    .res-circle-btn { left: 5px; width: 80px; height: 80px; bottom: 5px; }
    .res-circle-btn .btn-ja { font-size: 10px; margin-top: 2px; }
    .res-circle-btn svg { width: 24px; height: 24px; }
    .fv-copy { bottom: 50px; padding: 0 20px; }
    .copy-main { font-size: 1.5rem; }
    .copy-sub { font-size: 12px; }
}

/* Floating Right Buttons */
.float-right { position: fixed; right: 15px; top: 50%; transform: translateY(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 50px; padding: 15px 0; background: #fff; color: var(--color-main); display: flex; flex-direction: column; align-items: center; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: all 0.3s; border: 2px solid var(--color-bg-light); }
.float-btn:hover { background: var(--color-main); color: #fff; }
.float-btn-text { writing-mode: vertical-rl; font-size: 12px; margin-top: 8px; font-weight: 700; }
@media (max-width: 1023px) { .float-right { display: none; } }

/* ══════════════════════════════
   COMMON STYLES
══════════════════════════════ */
section { padding: 80px 0; }
@media (min-width: 1024px) { section { padding: 120px 0; } }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
}

.section-title { text-align: center; margin-bottom: 50px; position: relative; }
.section-title h2 { font-size: 25px; font-weight: 700; color: var(--color-main); display: inline-block; position: relative; z-index: 1; }
@media (min-width: 768px) {
    .section-title h2 { font-size: 2rem; }
}
.section-title h2::after { content: ''; position: absolute; bottom: 2px; left: -10px; right: -10px; height: 12px; background: var(--color-bg-light); z-index: -1; border-radius: 10px; }

/* ABOUT Section Multiline Underline */
.section-title h2.about-title-wrapper::after { display: none; }
.about-title-line { display: inline-block; position: relative; z-index: 1; }
.about-title-line::after { content: ''; position: absolute; bottom: 2px; left: -10px; right: -10px; height: 12px; background: var(--color-bg-light); z-index: -1; border-radius: 10px; transition: background-color 0.5s; }
.marker-blue .about-title-line::after { background-color: var(--color-main); }
.section-title p { font-size: 12px; color: #888; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; letter-spacing: 0.1em; }

.cocon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-main); color: #fff; padding: 16px 40px; border-radius: 9999px;
    font-weight: 700; font-size: 16px; transition: all 0.3s; box-shadow: 0 6px 15px rgba(110, 172, 218, 0.3);
}
.cocon-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(110, 172, 218, 0.4); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Menu / Price Table */
.price-item { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px dashed #eee; padding-bottom: 10px; margin-bottom: 15px; }
.price-name { font-weight: 700; font-size: 14px; }
.price-val { font-size: 14px; font-weight: 700; color: var(--color-main); }

@media (min-width: 768px) {
    .price-name, .price-val {
        font-size: 16px;
    }
}
.price-note { font-size: 0.85rem; color: #666; margin-top: 5px; }

/* Drawer Menu */
#drawer { background: rgba(255,255,255,0.98); }
#drawer.active { transform: translateX(0); }

/* SP Tailwind Override */
@media (max-width: 767px) {
    .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
