/* ============================================================
   案C カンプ 1:1 再現 — premiumhakata.com
   参照: ../assets/comp-C-reference.png
   ============================================================ */
:root {
  --hdr-bg: #342418;
  --brown: #3a2a1e;
  --cream: #f7f2ea;
  --cream-2: #faf6ef;
  --gold: #b8944a;
  --gold-light: #d4b76a;
  --gold-dark: #967532;
  --text: #3d3228;
  --text-body: #5c5248;
  --white: #fffdf9;
  --black: #1a1410;
  --container: 1140px;
  --font-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

/* ────────── HEADER（カンプ：下端ウェーブ） ────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: transparent;
}
.header-bar {
  background: var(--hdr-bg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

/* ヘッダー下端の波＋金線（SVG） */
.header-wave-edge {
  line-height: 0;
  background: var(--hdr-bg);
  margin-top: -1px;
}
.header-wave-edge svg {
  width: 100%;
  height: clamp(18px, 3vw, 28px);
  display: block;
}
.hdr-wave-fill { fill: var(--hdr-bg); }
.hdr-wave-line {
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: 0.9;
  vector-effect: non-scaling-stroke;
}
.hdr-logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}
.hdr-logo-img {
  display: block;
  height: 69px;
  width: auto;
  max-width: min(315px, 48vw);
}

.hdr-nav {
  display: flex;
  list-style: none;
  gap: clamp(12px, 1.8vw, 28px);
  flex: 1;
  justify-content: center;
}
.hdr-nav a {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 245, 235, 0.9);
  white-space: nowrap;
}
.hdr-nav a:hover { color: var(--gold-light); }

.hdr-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #d5b56e 0%, #a8873f 100%);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}
.hdr-cta svg { width: 14px; height: 14px; fill: currentColor; }

.menu-toggle { display: none; background: none; border: none; color: var(--gold-light); font-size: 22px; }
.hdr-nav-mobile { display: none; list-style: none; padding-bottom: 12px; }
.hdr-nav-mobile.open { display: block; }
.hdr-nav-mobile a { display: block; color: #fff; font-size: 13px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* ────────── HERO ────────── */
.hero {
  position: relative;
  min-height: 520px;
  height: 58vw;
  max-height: 680px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -6px; /* ヘッダー波のくぼみでヒーローが少し見える */
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(45,28,18,0.2) 0%, rgba(45,28,18,0.48) 100%),
    url("../assets/hero-spa-room.png") center/cover no-repeat;
}
.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px 80px;
}
.hero-body h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.hero-body .sub {
  font-size: clamp(12px, 1.5vw, 15px);
  color: rgba(255,252,248,0.92);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 14px 36px;
  border-radius: 999px;
  border: 2px solid var(--gold-light);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.hero-btn .arr { color: var(--gold-dark); font-size: 18px; line-height: 1; }

.hero-pin {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: clamp(80px, 12vw, 120px);
  z-index: 3;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8cc82 0%, #c9a855 50%, #a8873f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
  color: var(--black);
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hero-pin strong {
  font-family: var(--font-serif);
  font-size: 17px;
  display: block;
  margin-top: 2px;
}

/* ヒーロー下端：カンプの多層ウェーブ（SVG 3層） */
.hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(72px, 10vw, 110px);
  z-index: 5;
  pointer-events: none;
  line-height: 0;
}
.hero-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-curve .wave-cream { fill: var(--cream); }
.hero-curve .wave-brown { fill: var(--hdr-bg); }
.hero-curve .wave-gold {
  stroke: var(--gold);
  opacity: 0.75;
}

/* ヒーロー写真の下端をウェーブ手前で自然にフェード */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(46, 33, 24, 0.35) 85%, rgba(46, 33, 24, 0.55) 100%);
  pointer-events: none;
}

/* ────────── ABOUT + COURSES（2カラム） ────────── */
.sec-main {
  background: var(--cream);
  padding: 32px 0 56px;
  margin-top: -2px; /* ウェーブとクリーム背景の継ぎ目消し */
}
.main-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 40px;
  align-items: start;
}
.about-block .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 8px;
}
.about-block h2 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.65;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.about-block p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 12px;
}

.courses-block .courses-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--brown);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.courses-title .dia { color: var(--gold); font-size: 10px; vertical-align: middle; margin: 0 8px; }

.carousel-outer {
  position: relative;
  padding: 0 36px;
}
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--white);
  color: var(--gold-dark);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.car-btn.prev { left: 0; }
.car-btn.next { right: 0; }

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(58, 42, 30, 0.1);
  position: relative;
}
.card .ribbon {
  position: absolute;
  top: 12px;
  left: -30px;
  z-index: 2;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 36px;
  transform: rotate(-40deg);
  letter-spacing: 0.08em;
}
.card-photo {
  height: 128px;
  background-size: cover;
  background-position: center;
}
.card-info { padding: 14px 14px 16px; }
.card-info h3 {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--brown);
  margin-bottom: 6px;
}
.card-info .yen {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--gold);
  font-weight: 600;
  line-height: 1.2;
}
.card-info .yen small { font-size: 12px; font-family: var(--font-sans); color: var(--text-body); font-weight: 400; }

/* ────────── TRIO（施術の流れ｜スタッフ｜口コミ） ────────── */
.sec-trio {
  background: var(--cream-2);
  padding: 44px 0 56px;
  border-top: 1px solid rgba(184,148,74,0.12);
}
.trio-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.trio-col {
  padding: 0 28px;
}
.trio-col + .trio-col {
  border-left: 1px solid rgba(184, 148, 74, 0.35);
}

.col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.col-head h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--brown);
  letter-spacing: 0.08em;
}
.col-head h3 .dia { color: var(--gold); font-size: 9px; margin-right: 6px; }
.col-head .more {
  font-size: 11px;
  color: var(--gold);
  text-decoration: underline;
}

/* 施術の流れ — アーチ型白コンテナ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.flow-item {
  background: var(--white);
  border-radius: 50% 50% 10px 10px / 36% 36% 10px 10px;
  padding: 18px 6px 14px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(58,42,30,0.07);
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-item .flow-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 6px;
}
.flow-item .step-num {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.flow-item .step-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--brown);
  margin-top: 2px;
}
.flow-item .step-desc {
  font-size: 9px;
  color: var(--text-body);
  line-height: 1.4;
  margin-top: 4px;
}

/* スタッフ */
.staff-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.staff-card { text-align: center; width: 82px; }
.staff-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin: 0 auto 8px;
  object-fit: cover;
  background: #ddd;
}
.staff-card .nm { font-size: 12px; font-weight: 600; color: var(--brown); }
.staff-card .yr { font-size: 10px; color: var(--text-body); }

/* 口コミ */
.voice-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.voice-score .num {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.voice-score .stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.voice-count { font-size: 11px; color: var(--text-body); margin-bottom: 14px; }

.voice-item {
  display: flex;
  gap: 10px;
  background: var(--white);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(58,42,30,0.06);
}
.voice-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-avatar img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.voice-item p { font-size: 11px; color: var(--text-body); line-height: 1.65; font-style: italic; }
.voice-item cite { font-size: 10px; color: var(--text-body); font-style: normal; display: block; margin-top: 6px; }

/* ────────── グローバルフッター ────────── */
.site-footer {
  background: var(--hdr-bg);
  color: rgba(255, 245, 235, 0.82);
  border-top: 1px solid rgba(184, 148, 74, 0.45);
  margin-top: 8px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 40px;
}
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
  opacity: 0.95;
}
.footer-tagline {
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 245, 235, 0.75);
  margin-bottom: 18px;
}
.footer-cta {
  display: inline-block;
  background: linear-gradient(180deg, #d5b56e 0%, #a8873f 100%);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.footer-cta:hover { opacity: 0.92; }

.footer-heading {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-heading .dia { font-size: 9px; margin-right: 4px; }

.footer-nav ul { list-style: none; }
.footer-nav a {
  font-size: 12px;
  color: rgba(255, 245, 235, 0.78);
  line-height: 2;
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-info address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 245, 235, 0.75);
}
.footer-hours { display: block; margin-top: 8px; color: var(--gold-light); }

.footer-corp p { font-size: 12px; line-height: 1.8; }
.footer-corp a { color: var(--gold-light); }
.footer-corp a:hover { text-decoration: underline; }
.footer-corp-sub {
  font-size: 11px;
  color: rgba(255, 245, 235, 0.55);
}
.footer-mail { margin-top: 10px; }
.footer-mail a { color: rgba(255, 245, 235, 0.78); font-size: 12px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 20px;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.footer-copy,
.footer-note {
  font-size: 11px;
  color: rgba(255, 245, 235, 0.45);
}

.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 10px 14px;
  background: rgba(52, 36, 24, 0.96);
  border-top: 1px solid rgba(184, 148, 74, 0.4);
}
.floating-cta .hdr-cta {
  width: 100%;
  justify-content: center;
  display: flex;
}

/* ────────── responsive ────────── */
@media (max-width: 960px) {
  .hdr-nav, .hdr-cta { display: none; }
  .menu-toggle { display: block; }
  .main-grid { grid-template-columns: 1fr; }
  .trio-row { grid-template-columns: 1fr; }
  .trio-col + .trio-col { border-left: none; border-top: 1px solid rgba(184,148,74,0.35); padding-top: 28px; margin-top: 28px; }
  .trio-col { padding: 0; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-pin { width: 96px; height: 96px; font-size: 10px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .floating-cta { display: block; }
  body { padding-bottom: 64px; }
}
