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

:root {
    --bg-dark:    #0a1628;
    --amber:      #fbbf24;
    --amber-dark: #d97706;
    --blue:       #3b82f6;
    --purple:     #a855f7;
    --text-main:  #ffffff;
    --text-sub:   rgba(255,255,255,0.6);
    --text-muted: rgba(255,255,255,0.4);
    --border:     rgba(255,255,255,0.1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    background: var(--amber);
    color: var(--bg-dark);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 9999px;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); }

.btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

.btn-large { padding: 1.25rem 3rem; font-size: 1.1rem; }

/* ===== Section commons ===== */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; color: var(--amber); margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; }
.section-subtitle { margin-top: 0.75rem; color: var(--text-sub); }

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10,22,40,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a { font-size: 0.9rem; color: var(--text-sub); transition: color 0.2s; }
.header-nav a:hover { color: var(--text-main); }
.header-nav .nav-cta {
    background: var(--amber);
    color: var(--bg-dark);
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
}
.header-nav .nav-cta:hover { background: var(--amber-dark); color: var(--bg-dark); }

.header-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}
.header-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.header-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.header-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 0.75rem 0; color: var(--text-sub); border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .nav-cta { color: var(--amber); font-weight: 700; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    padding-top: 64px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.5) 50%, rgba(10,22,40,0.9) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251,191,36,0.15);
    border: 1px solid rgba(251,191,36,0.3);
    color: var(--amber);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.hero-title-accent { color: var(--amber); }
.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-sub);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.75rem; font-weight: 900; color: var(--amber); }
.stat-label { font-size: 0.75rem; color: var(--text-sub); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--amber), transparent);
    animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
    0%   { top: -100%; }
    100% { top: 100%; }
}

/* ===== Hero Visit Banner ===== */
.hero-visit-banner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: .75rem 0;
    margin-top: 2rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    max-width: 860px;
}
.visit-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: var(--text-sub);
    white-space: nowrap;
    flex: 1;
}
.visit-item strong { color: #fff; font-weight: 700; }
.visit-icon { font-size: 1.1rem; }
.visit-sep {
    width: 1px;
    height: 28px;
    background: var(--border);
    margin: 0 1rem;
}

/* ===== How It Works (Flow Ribbons) ===== */
.flow-sec { background: rgba(255,255,255,.025); }
.flow-ribbons {
    display: flex;
    flex-direction: column;
    max-width: 760px;
    margin: 0 auto;
}
.flow-ribbon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 2rem calc(1.6rem + 26px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 50% 100%, 0 calc(100% - 26px));
}
.flow-ribbon--last {
    clip-path: none;
    padding-bottom: 1.6rem;
    border-radius: 0 0 1rem 1rem;
}
.flow-ribbon:first-child { border-radius: 1rem 1rem 0 0; }
.flow-ribbon--amber  { background: rgba(251,191,36,.18); }
.flow-ribbon--amber2 { background: rgba(217,119,6,.22); }
.flow-ribbon--blue   { background: rgba(59,130,246,.18); }

.flow-ribbon-num {
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    color: var(--amber);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
    min-width: 3rem;
}
.flow-ribbon-num span { font-size: 2rem; margin-top: .1rem; }
.flow-ribbon--blue .flow-ribbon-num { color: #60a5fa; }

.flow-ribbon-body { flex: 1; }
.flow-ribbon-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.flow-ribbon-body p  { font-size: .98rem; color: var(--text-sub); line-height: 1.7; margin: 0; }

.flow-ribbon-icon { font-size: 2rem; flex-shrink: 0; opacity: .85; }

/* ===== WhyUs ===== */
.whyus { background: rgba(255,255,255,0.02); }
.whyus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.whyus-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: border-color 0.2s;
}
.whyus-card:hover { border-color: rgba(251,191,36,0.3); }
.whyus-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.whyus-description { font-size: 0.875rem; color: var(--text-sub); line-height: 1.7; }

/* ===== Menu ===== */
.menu-sec { background: var(--bg-dark); }
.menu-list { display: flex; flex-direction: column; gap: 1.5rem; }
.menu-card {
    border-radius: 1.2rem; padding: 2rem; border: 2px solid transparent; position: relative;
}
.menu-card--amber { background: rgba(251,191,36,.06); border-color: rgba(251,191,36,.35); }
.menu-card--blue  { background: rgba(59,130,246,.06);  border-color: rgba(59,130,246,.25); }
.menu-card--teal  { background: rgba(20,184,166,.06);  border-color: rgba(20,184,166,.25); }
.menu-card h3 { font-size: 1.3rem; font-weight: 700; margin: .5rem 0 .5rem; }
.menu-card .desc { font-size: .88rem; color: var(--text-sub); line-height: 1.75; margin-bottom: 1rem; }
.menu-meta { font-size: .82rem; color: var(--text-muted); margin-bottom: .75rem; }
.menu-detail-title { font-size: .78rem; font-weight: 700; color: var(--text-sub); margin-bottom: .35rem; }
.menu-detail { font-size: .82rem; color: var(--text-sub); line-height: 1.75; }
.option-box {
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    border-radius: 1rem; padding: 1.5rem; margin-top: 1.5rem;
}
.option-tag { background: rgba(168,85,247,.15); color: #c084fc; font-size: .72rem; font-weight: 700; padding: .2rem .8rem; border-radius: 9999px; display: inline-block; margin-bottom: .75rem; }
.option-row { display: flex; justify-content: space-between; font-size: .85rem; color: var(--text-sub); padding: .3rem 0; border-bottom: 1px solid var(--border); }
.option-row:last-child { border-bottom: none; }
.option-price { font-weight: 700; color: #c084fc; }

/* ===== Price ===== */
.price-sec { background: var(--bg-dark); }
.price-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 1.25rem;
    align-items: start;
    grid-template-rows: auto 1fr;
}
.price-layout .wax-card   { grid-column: 1; grid-row: 1; }
.price-layout .hand-card  { grid-column: 2; grid-row: 1; }
.price-layout .rinse-card { grid-column: 3; grid-row: 1; }
.price-layout .sub-wax    { grid-column: 1 / 3; grid-row: 2; display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.price-layout .sub-rinse  { grid-column: 3;     grid-row: 2; display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.price-layout .sub-wax .sub-box,
.price-layout .sub-rinse .sub-box { flex: 1; width: 100%; }

.popular-badge {
    position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
    background: var(--amber); color: var(--bg-dark); font-size: .7rem; font-weight: 700;
    padding: .2rem .9rem; border-radius: 9999px; white-space: nowrap;
}
.price-card {
    border-radius: 1.2rem; padding: 1.5rem; position: relative;
    border: 2px solid transparent;
}
.price-card--amber { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.4); }
.price-card--blue  { background: rgba(59,130,246,.07);  border-color: rgba(59,130,246,.3); }
.price-card--teal  { background: rgba(20,184,166,.07);  border-color: rgba(20,184,166,.3); }
.price-tag {
    display: inline-block; font-size: .7rem; font-weight: 700;
    padding: .2rem .75rem; border-radius: 9999px; margin-bottom: .6rem;
}
.tag-amber { background: rgba(251,191,36,.2); color: var(--amber); }
.tag-blue  { background: rgba(59,130,246,.2); color: #60a5fa; }
.tag-teal  { background: rgba(20,184,166,.2); color: #2dd4bf; }
.price-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .9rem; }
.price-rows { border-top: 1px solid var(--border); padding-top: .75rem; }
.price-row { display: flex; justify-content: space-between; padding: .28rem 0; font-size: .85rem; border-bottom: 1px solid var(--border); }
.price-row:last-child { border-bottom: none; }
.price-val { font-weight: 700; color: var(--amber); }
.price-card--blue  .price-val { color: #60a5fa; }
.price-card--teal  .price-val { color: #2dd4bf; }

.sub-connector { font-size: 2rem; font-weight: 900; color: var(--amber); line-height: 1; padding: 1rem 0; }
.sp-br { display: none; }
.sub-box {
    width: 100%;
    background: rgba(30,58,138,.5); border: 1px solid rgba(59,130,246,.4);
    border-radius: .75rem; padding: 1rem 1.1rem; font-size: .8rem;
}
.sub-box-title {
    background: var(--amber); color: var(--bg-dark); font-size: .75rem; font-weight: 700;
    padding: .25rem .85rem; border-radius: 9999px; display: inline-block; margin-bottom: .55rem; white-space: nowrap;
}
.sub-box p { color: var(--text-sub); line-height: 1.65; margin-bottom: .5rem; font-size: .78rem; }
.sub-rows { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .5rem; }
.sub-row { font-size: .78rem; color: var(--text-sub); white-space: nowrap; }

.size-table-wrap { margin-top: 2.5rem; text-align: left; }
.size-table-title { font-size: .82rem; font-weight: 700; margin-bottom: .5rem; color: var(--text-sub); }
.size-note { font-size: .78rem; color: var(--text-muted); line-height: 1.8; }

/* ===== Gallery ===== */
.gallery-sec { background: rgba(255,255,255,.02); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.gallery-card { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 1.2rem; overflow: hidden; }
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; height: 180px; }
.ba-img { position: relative; overflow: hidden; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-img.before img { filter: brightness(.75) saturate(.5); }
.ba-img.after  img { filter: brightness(1.05) saturate(1.2); }
.ba-lbl {
    position: absolute; top: .4rem; left: .4rem;
    font-size: .62rem; font-weight: 700; letter-spacing: .08em;
    background: rgba(0,0,0,.55); padding: .1rem .45rem; border-radius: 3px; color: var(--text-sub);
}
.ba-lbl.after-lbl { color: var(--amber); }
.gallery-info { padding: 1rem 1.1rem; }
.gallery-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .4rem; }
.gtag { font-size: .7rem; font-weight: 700; padding: .15rem .6rem; border-radius: 9999px; }
.gtag-amber { background: rgba(251,191,36,.15); color: var(--amber); }
.gtag-blue  { background: rgba(59,130,246,.15); color: #60a5fa; }
.gtag-teal  { background: rgba(20,184,166,.15); color: #2dd4bf; }
.gallery-info h3 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.gallery-info p { font-size: .8rem; color: var(--text-sub); line-height: 1.6; }

/* ===== Booking CTA ===== */
.booking-cta { background: var(--bg-dark); text-align: center; }
.booking-steps {
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.booking-step { text-align: center; }
.step-num { font-size: 2rem; font-weight: 900; color: var(--amber); line-height: 1; }
.step-label { font-size: 0.85rem; color: var(--text-sub); margin-top: 0.25rem; }
.step-arrow { font-size: 1.5rem; color: var(--text-muted); }
.booking-actions { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.booking-phone { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.booking-phone span { font-size: 0.8rem; color: var(--text-sub); }
.phone-number { font-size: 1.5rem; font-weight: 700; color: var(--amber); }

/* ===== Footer ===== */
.site-footer { background: #060e1a; border-top: 1px solid var(--border); }
.footer-inner {
    max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
}
.footer-logo { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-sub); line-height: 1.7; }
.footer-links h4, .footer-contact h4 { font-size: 0.85rem; font-weight: 700; color: var(--amber); margin-bottom: 1rem; }
.footer-links ul, .footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-contact a { font-size: 0.85rem; color: var(--text-sub); transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--text-main); }
.footer-contact li { font-size: 0.85rem; color: var(--text-sub); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border); display: flex;
    align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.75rem; color: var(--text-muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text-sub); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .price-layout { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .price-layout .wax-card, .price-layout .hand-card,
    .price-layout .rinse-card, .price-layout .sub-wax,
    .price-layout .sub-rinse { grid-column: auto; grid-row: auto; }
}
@media (max-width: 768px) {
    /* Utilities */
    .sp-br { display: inline; }

    /* Header */
    .header-nav { display: none; }
    .header-menu-btn { display: flex; }

    /* Hero */
    .hero-scroll { display: none; }
    .hero-content { padding: 3rem 1.25rem; }
    .hero-stats { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .stat-divider { height: 24px; }
    .stat-num { font-size: 1.4rem; }
    .hero-visit-banner {
        flex-direction: column;
        gap: .6rem;
        padding: .85rem 1rem;
        margin-top: 1.5rem;
    }
    .visit-sep { width: 100%; height: 1px; margin: 0; }
    .visit-item { font-size: .8rem; }

    /* Section commons */
    .section-inner { padding: 3rem 1.25rem; }
    .section-header { margin-bottom: 2rem; }
    .section-title { font-size: 1.6rem; }

    /* Flow */
    .flow-ribbon { padding: 1.2rem 1.25rem calc(1.2rem + 22px); gap: 1rem; }
    .flow-ribbon--last { padding-bottom: 1.2rem; }
    .flow-ribbon-num span { font-size: 1.6rem; }
    .flow-ribbon-icon { font-size: 1.6rem; }

    /* Menu */
    .menu-card { padding: 1.25rem; }

    /* Price */
    .price-layout { grid-template-columns: 1fr; gap: 1.25rem 0; }
    .price-card { padding: 1.25rem; }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr; }
    .ba-wrap { height: 160px; }

    /* Booking CTA */
    .booking-steps { gap: 0.5rem; flex-wrap: wrap; justify-content: center; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.25rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .footer-bottom-links { flex-wrap: wrap; gap: .75rem; }
}
@media (max-width: 480px) {
    .hero-cta { flex-direction: column; }
    .btn-primary, .btn-secondary { text-align: center; width: 100%; }
    .hero-title { font-size: 2.2rem; }
    .section-inner { padding: 2.5rem 1rem; }
    .whyus-grid { grid-template-columns: 1fr; }
    .menu-card { padding: 1rem; }
    .flow-ribbon { gap: .75rem; }
    .flow-ribbon-icon { display: none; }
}
