/* ==========================================================================
   セクションの組み
   ========================================================================== */

/* --------------------------------------------------------------------------
   背景写真セクション（白オーバーレイで可読性を確保する）
   -------------------------------------------------------------------------- */
.hx-bgsec { position: relative; }
.hx-bgph { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hx-bgph figure { height: 100%; margin: 0; }
.hx-bgph .ph { height: 100%; aspect-ratio: auto; }
.hx-bgov { position: absolute; inset: 0; z-index: 0; }
.hx-bgov--concept { background: var(--veil-concept); }
.hx-bgov--flow { background: var(--veil-flow); }
.hx-bgov--price { background: var(--veil-price); }
.hx-bgov--access { background: var(--veil-access); }
.hx-bgsec > .wrap,
.hx-bgsec > .hx-fg { position: relative; z-index: 1; }

/* 装飾の円 ― 文字を載せない。すべて aria-hidden。 */
.circ { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.circ--sun { background: var(--sun); }
.circ--ring { border: 2px solid var(--deco-ring); }
.circ--soft { background: var(--accent-soft); }

/* ==========================================================================
   TOP: ファーストビュー
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 0 var(--gutter); }
.hero__band { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: var(--surface-alt); }
.hero__g {
  position: relative;
  max-width: var(--container-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-top: 96px;
}
.hero__copy { position: relative; z-index: 2; padding: 24px 0 56px; }
.hero__deco-sun {
  top: 48px; left: -48px;
  width: clamp(110px, 12vw, 170px);
  height: clamp(110px, 12vw, 170px);
  opacity: 0.26;
}
.hero__eyebrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-family: var(--font-latin);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  color: var(--accent);
  font-weight: var(--w-medium);
}
.hero__eyebrow svg { flex: none; }
.hero__genre { color: var(--text-faint); letter-spacing: 0.08em; }
.hero__title {
  position: relative;
  margin: 0;
  font-size: var(--text-hero);
  line-height: 1.6;
  font-weight: var(--w-bold);
  letter-spacing: 0.1em;
  color: var(--text-heading);
  height: clamp(300px, 32vw, 430px);
}
.hero__lead { position: relative; margin: 28px 0 0; max-width: 30em; }
.hero__actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero__tel { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; text-decoration: none; }
.hero__tel:hover { text-decoration: none; }
.hero__tel-label { font-size: var(--text-xs); color: var(--text-faint); letter-spacing: 0.06em; }
.hero__tel-no {
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: var(--w-bold);
  color: var(--text-heading);
  letter-spacing: 0.02em;
}
.hero__badges { position: relative; margin: 24px 0 0; font-size: var(--text-sm); color: var(--text-faint); letter-spacing: 0.04em; }

.hero__ph { position: relative; padding: 40px 0 88px; }
.hero__ph-sub {
  position: absolute;
  left: -4%; bottom: 16px;
  width: 32%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow-1);
}
.hero__deco-dot { top: 8px; right: 5%; width: 52px; height: 52px; opacity: 0.9; }
.hero__deco-mini { top: 26%; right: -28px; width: 18px; height: 18px; }
.hero__deco-ring2 { bottom: 34px; right: -20px; width: 88px; height: 88px; border: 2px solid var(--sun); opacity: 0.8; }
.hero__deco-icon { position: absolute; top: 54%; left: -52px; }

/* ==========================================================================
   TOP: お悩み（非対称12カラム）
   ========================================================================== */
.sym { position: relative; overflow: hidden; padding: var(--section-gap-lg) var(--gutter) 48px; }
.sym__deco-1 { top: 3%; right: -90px; width: 260px; height: 260px; opacity: 0.2; }
.sym__deco-2 { bottom: 7%; left: -110px; width: 220px; height: 220px; }
.sym__deco-3 { top: 57%; left: 46%; width: 140px; height: 140px; opacity: 0.15; }
.sym__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: end;
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: clamp(44px, 6vw, 80px);
}
.sym__head-lead { margin: 0 0 8px; font-size: var(--text-sm); color: var(--text-muted); line-height: 2; }
.hx-sy-g {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.sym__ring { position: absolute; left: 33%; top: -40px; width: 150px; height: 150px; z-index: 2; pointer-events: none; }
.hx-sy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--text-body);
}
.hx-sy:hover { text-decoration: none; }
.hx-sy-m { overflow: hidden; width: 100%; }
.hx-sy-m .ph { transition: transform 420ms var(--ease-out); }
.hx-sy:hover .hx-sy-m .ph { transform: scale(1.025); }
.hx-sy-c { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.hx-sy-c h3 { margin: 0; font-weight: var(--w-bold); color: var(--text-heading); font-feature-settings: "palt" 1; }
.hx-sy-c p { margin: 0; font-size: var(--text-sm); line-height: 1.9; color: var(--text-muted); }
.hx-sy-i {
  font-family: var(--font-latin);
  font-size: var(--text-xs);
  font-weight: var(--w-bold);
  letter-spacing: 0.16em;
  color: var(--accent);
}
.hx-sy--c .hx-sy-c { align-items: center; text-align: center; }
.hx-lk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: gap var(--dur-base) ease;
  font-size: var(--text-sm);
  font-weight: var(--w-medium);
  color: var(--link);
}
.hx-sy:hover .hx-lk,
.hx-lk:hover { gap: 14px; }
.hx-lk--lg { font-size: 15px; margin-top: 6px; }
a.hx-lk { min-height: 44px; }   /* ★タップ領域（カード内の span には効かせない） */
.hx-lk--sun { color: var(--sun); }

/* 12カラムの配置（PCのみ。1023px以下でリセットする） */
.sy-01 { grid-column: 1 / span 4; grid-row: 1; }
.sy-02 { grid-column: 5 / span 4; grid-row: 1; margin-top: 96px; }
.sy-03 { grid-column: 9 / span 4; grid-row: 1; margin-top: 40px; }
.sy-04 { grid-column: 1 / span 4; grid-row: 2; margin-top: 64px; }
.sy-05 { grid-column: 5 / span 4; grid-row: 2; margin-top: 150px; }
.sy-06 { grid-column: 9 / span 4; grid-row: 2; margin-top: 84px; }
.sy-h-21 h3 { font-size: 21px; }
.sy-h-19 h3 { font-size: 19px; }
.sy-h-17 h3 { font-size: 17px; }

/* ==========================================================================
   TOP・当院について: コンセプト
   ========================================================================== */
.concept { padding: var(--section-gap-lg) var(--gutter) calc(var(--section-gap-lg) + 24px); }
.hx-concept-g {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hx-concept-g--about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.concept__ph { position: relative; }
.concept__ph-sub {
  position: absolute;
  right: -28px; bottom: -40px;
  width: 42%;
  aspect-ratio: 1 / 1;
  border: 6px solid var(--surface-alt);
  border-radius: 50%;
  overflow: hidden;
}
.concept__deco { left: -30px; top: -30px; width: 76px; height: 76px; opacity: 0.85; }
.concept__body { margin: 28px 0 0; }
.concept__body + .concept__body { margin-top: 20px; }
.concept__btn { margin-top: 28px; }

/* ==========================================================================
   TOP: 3つの特徴
   ========================================================================== */
.feat__wrap { position: relative; margin-top: clamp(44px, 5vw, 72px); }
.feat__line {
  position: absolute;
  left: 4%; top: 34%;
  width: 92%; height: 90px;
  overflow: visible;
  z-index: 0;
}
.hx-pin-g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  position: relative;
  z-index: 1;
}
.feat-card {
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-card);
  padding: 12px;
  box-shadow: var(--shadow-1);
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.feat-card:hover { transform: translateY(-6px); }
.feat-card--2 { margin-top: 36px; }
.feat-card__icon { display: block; margin: 10px auto 8px; }
.feat-card__in { border-radius: var(--radius-l); padding: 26px 24px 28px; text-align: left; }
.feat-card__in--1 { background: var(--accent-soft); border: 1px solid var(--accent-line); }
.feat-card__in--2 { background: var(--sun-pale); border: 1px solid var(--sun-line); }
.feat-card__in--3 { background: var(--paper-alt); border: 1px solid var(--border-1); }
.feat-card__no {
  font-family: var(--font-latin);
  font-weight: var(--w-bold);
  font-size: 40px;
  line-height: 1;
}
.feat-card__in--1 .feat-card__no { color: var(--accent); }
.feat-card__in--2 .feat-card__no { color: var(--sun-deep); }
.feat-card__in--3 .feat-card__no { color: var(--accent-strong); }
.feat-card h3 {
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: var(--w-bold);
  line-height: 1.5;
  color: var(--text-heading);
  font-feature-settings: "palt" 1;
}
.feat-card p { margin: 12px 0 0; font-size: var(--text-sm); line-height: 1.9; color: var(--text-muted); }

/* ==========================================================================
   TOP: 施術メニュー（重なりながら切り替わるスティッキーパネル）
   ========================================================================== */
.hx-mn-p {
  position: sticky;
  top: 84px;
  transform-origin: bottom left;
  will-change: transform;
  backface-visibility: hidden;
  min-height: min(74vh, 660px);
  display: flex;
  align-items: center;
  border-radius: var(--radius-panel);
  padding: clamp(36px, 5vw, 72px) clamp(24px, 4.5vw, 80px);
  box-shadow: var(--shadow-panel);
}
.hx-mn-p--1 { background: var(--accent-soft); }
.hx-mn-p--2 { background: var(--sun-pale); }
.hx-mn-p--3 { background: var(--paper-deep); }
.hx-mn-p--4 { background: var(--surface-inverse); }
.hx-mn-in {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
}
.hx-mn-in--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.hx-mn-tx { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hx-mn-ph { width: 100%; max-width: 500px; justify-self: center; overflow: hidden; }
.mn-no {
  font-family: var(--font-latin);
  font-weight: var(--w-bold);
  font-size: var(--text-panel-no);
  line-height: 1;
}
.mn-no--1 { color: var(--accent); }
.mn-no--2 { color: var(--sun-deep); }
.mn-no--3 { color: var(--accent-strong); }
.mn-no--4 { color: var(--sun); }
.mn-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mn-head h3 {
  margin: 0;
  font-size: var(--text-panel);
  font-weight: var(--w-bold);
  color: var(--text-heading);
  font-feature-settings: "palt" 1;
}
.hx-mn-p--4 .mn-head h3 { color: #FFFFFF; }
.mn-body { margin: 0; font-size: var(--text-body-size); line-height: 1.95; color: var(--text-muted); max-width: 34em; }
.hx-mn-p--4 .mn-body { color: var(--on-dark-body); }
.mn-wrap { margin-top: clamp(36px, 4vw, 56px); }

/* ==========================================================================
   TOP・初めての方へ: ご来院の流れ（スクロール連動ステッパー）
   ========================================================================== */
.hx-flow-sc { height: 300vh; }
.hx-flow-sc--page { height: 340vh; }
.hx-flow-st {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 40px var(--gutter);
}
.hx-flow-st--page { padding: 24px 0; overflow: visible; }
.hx-flow-g {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.flow-list { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 22px); }
.flow-list--page { gap: clamp(18px, 2.2vw, 26px); }
.flow-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: clamp(14px, 1.8vw, 20px);
  transition: opacity 0.5s var(--ease-out);
}
.flow-step { opacity: 1; }
.flow-step__jump {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.flow-step__mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-latin);
  font-weight: var(--w-bold);
  font-size: 16px;
  background: var(--surface-card);
  color: var(--text-faint);
  border: 2px solid var(--border-1);
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.flow-step.is-on .flow-step__mark { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.flow-step.is-cur .flow-step__mark { transform: scale(1.1); }
.flow-step h3 {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 17px;
  font-weight: var(--w-bold);
  color: var(--text-heading);
}
.flow-list--page .flow-step h3 { font-size: var(--text-h3); }
.flow-step__no { font-family: var(--font-latin); font-size: var(--text-xs); letter-spacing: 0.12em; color: var(--accent); }
.flow-step p { margin: 6px 0 0; font-size: var(--text-sm); line-height: 1.8; color: var(--text-muted); }
.flow-list--page .flow-step p { margin-top: 8px; line-height: 1.9; }
.flow-step__track {
  display: block;
  margin-top: 10px;
  height: 2px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.flow-step.is-cur .flow-step__track { background: var(--border-1); }
.flow-step__bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}
.flow-ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--photo-r); }
.flow-ph__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.flow-ph__item.is-cur { opacity: 1; transform: translateY(0); }
.flow-ph__item.is-done { opacity: 0; transform: translateY(-48px); }
.flow__btn { margin-top: 28px; }

/* ==========================================================================
   TOP・当院について: スタッフ
   ========================================================================== */
.hx-staff-g {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  margin-top: clamp(36px, 4vw, 56px);
}
.hx-staff-g--about { align-items: start; }
.staff__label { font-family: var(--font-latin); font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); color: var(--accent); margin: 0; }
.staff__name {
  margin: 14px 0 0;
  font-size: var(--text-h2);
  font-weight: var(--w-bold);
  color: var(--text-heading);
  font-feature-settings: "palt" 1;
}
.staff__name--about { margin: 0; }
.staff__role { font-size: var(--text-sm); font-weight: var(--w-medium); color: var(--text-muted); margin-left: 14px; }
.staff__quote {
  margin: 24px 0 0;
  font-size: var(--text-lead);
  line-height: 1.9;
  font-weight: var(--w-bold);
  color: var(--text-heading);
}
.staff__body { margin: 18px 0 0; }
.staff__body + .staff__body { margin-top: 16px; }
.staff__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.staff__btn { margin-top: 24px; }
.staff__dl {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  font-size: var(--text-sm);
  line-height: 1.8;
  border-top: 1px solid var(--border-1);
  padding-top: 20px;
}
.staff__dl dt { font-weight: var(--w-bold); color: var(--text-heading); }
.staff__dl dd { margin: 0; color: var(--text-muted); }

.hx-2col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 32px); margin-top: clamp(40px, 5vw, 64px); }
.staff-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
  padding: 20px;
}
.staff-card__ph { flex: none; width: 96px; border-radius: 50%; overflow: hidden; }
.staff-card h3 { margin: 0; font-size: 16px; font-weight: var(--w-bold); color: var(--text-heading); }
.staff-card h3 span { font-size: var(--text-xs); font-weight: var(--w-medium); color: var(--text-muted); margin-left: 10px; }
.staff-card p { margin: 10px 0 0; font-size: var(--text-sm); line-height: 1.8; color: var(--text-muted); }

/* ==========================================================================
   TOP・当院について: 院内のようす
   ========================================================================== */
.hx-clinic-g {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(36px, 4vw, 56px);
}
.hx-clinic-g--about { grid-template-columns: 1fr 1fr; }
.clinic__tall { grid-row: span 2; }
.facility { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.facility span {
  font-size: var(--text-sm);
  color: var(--text-muted);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
}

/* ==========================================================================
   TOP: 料金
   ========================================================================== */
.hx-price-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(36px, 4vw, 56px);
}
.price-card {
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
  padding: clamp(24px, 3vw, 36px);
}
.price-card h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-h3);
  font-weight: var(--w-bold);
  color: var(--text-heading);
}
.price-card__dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.price-card__dot--accent { background: var(--accent); }
.price-card__dot--sun { background: var(--sun); }
.price-card__desc { margin: 14px 0 0; font-size: var(--text-sm); line-height: 1.8; color: var(--text-muted); }

.tbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.tbl--price { margin-top: 20px; }
.tbl--price tr { border-bottom: 1px solid var(--border-1); }
.tbl--price tr:last-child { border-bottom: 0; }
.tbl--price th[scope="row"] { text-align: left; font-weight: var(--w-medium); color: var(--text-body); padding: 14px 0; }
.tbl--price td {
  text-align: right;
  font-family: var(--font-latin);
  font-weight: var(--w-bold);
  font-size: 16px;
  color: var(--text-heading);
  padding: 14px 0;
}
.tbl__time { color: var(--text-faint); font-size: var(--text-xs); }
.price-card__note { margin: 16px 0 0; }

/* ==========================================================================
   TOP: お知らせ
   ========================================================================== */
.news-list { border-top: 2px solid var(--ink-1); margin-top: 28px; }
.news-list--page { margin-top: 0; }
.wrap--900 { max-width: 900px; margin-inline: auto; }
.news-item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border-1);
  text-decoration: none;
  color: var(--text-body);
}
.news-list--page .news-item { padding: 22px 4px; }
.news-item:hover { color: var(--link-hover); }
.news-item__date {
  font-family: var(--font-latin);
  font-size: var(--text-sm);
  color: var(--text-faint);
  letter-spacing: 0.04em;
  flex: none;
  width: 90px;
}
.news-item__cat {
  flex: none;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
}
.news-item__cat--info { color: var(--accent); border-color: var(--accent); }
.news-item__title { flex: 1; min-width: 240px; font-size: 15px; font-weight: var(--w-medium); }

/* ==========================================================================
   TOP・アクセス: アクセス
   ========================================================================== */
.hx-access-g {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.hx-access-g--page { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); margin-top: clamp(32px, 4vw, 48px); }
.info-dl {
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 24px;
  font-size: var(--text-sm);
  line-height: 1.8;
}
.info-dl--page { margin-top: 0; }
.info-dl dt { font-weight: var(--w-bold); color: var(--text-heading); }
.info-dl dd { margin: 0; color: var(--text-body); }
.info-dl__tel {
  font-family: var(--font-latin);
  font-weight: var(--w-bold);
  font-size: 16px;
  color: var(--text-heading);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.tbl--hours {
  margin-top: 28px;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
  overflow: hidden;
}
.hours-plain .tbl--hours { margin-top: 0; border-radius: 0; }
.tbl--hours thead tr { background: var(--accent-soft); }
.tbl--hours th { font-weight: var(--w-bold); color: var(--text-heading); padding: 12px 8px; }
.tbl--hours thead th:first-child { text-align: left; padding: 12px 16px; }
.tbl--hours tbody tr { border-top: 1px solid var(--border-1); }
.tbl--hours th[scope="row"] { text-align: left; font-weight: var(--w-medium); padding: 12px 16px; color: var(--text-body); }
.tbl--hours td { text-align: center; }
.tbl--hours .is-open { color: var(--accent); font-weight: var(--w-bold); }
.tbl--hours .is-closed { color: var(--text-faint); }
.hours__note { margin: 12px 0 0; }
.access__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.access__map { border-radius: var(--photo-r); overflow: hidden; }

/* ==========================================================================
   下層: ページ見出しの装飾
   ========================================================================== */
.page-head--hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  padding: clamp(110px, 14vw, 150px) var(--gutter) clamp(40px, 5vw, 56px);
}
.page-head--thanks { padding: clamp(130px, 16vw, 180px) var(--gutter) clamp(60px, 7vw, 90px); }
.page-head__deco { top: -70px; right: -60px; width: 220px; height: 220px; opacity: 0.25; }
.page-head__wrap { max-width: var(--container-max); margin-inline: auto; position: relative; }
.page-head__wrap--narrow { max-width: 720px; }
.page-head__eyebrow { margin: 24px 0 0; color: var(--accent); }
.page-head h1 {
  margin: 12px 0 0;
  font-size: var(--text-h1);
  font-weight: var(--w-bold);
  line-height: var(--leading-heading);
  color: var(--text-heading);
  font-feature-settings: "palt" 1;
  text-wrap: pretty;
}
.page-head__lead { margin: 18px 0 0; max-width: 38em; }
.page-head__lead--wide { max-width: 42em; }

/* 飛び石ナビ（施術メニュー） */
.jump { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  min-height: 44px;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--w-medium);
  color: var(--text-heading);
  text-decoration: none;
}
.jump a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.jump span { color: var(--accent); }

/* ==========================================================================
   施術メニュー: 4本の詳細
   ========================================================================== */
.hx-1col-t {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  max-width: var(--container-max);
  margin-inline: auto;
}
.hx-1col-t--57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hx-1col-t--75 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hx-1col-t--48 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.mn-sec { position: relative; overflow: hidden; }
.mn-sec__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mn-sec__no {
  font-family: var(--font-latin);
  font-weight: var(--w-bold);
  font-size: 34px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.mn-sec__head h2 {
  margin: 0;
  font-size: var(--text-h2);
  font-weight: var(--w-bold);
  color: var(--text-heading);
  font-feature-settings: "palt" 1;
}
.forwhom { border-radius: var(--photo-r); padding: 20px 24px; margin-top: 24px; }
.forwhom--soft { background: var(--accent-soft); }
.forwhom--card { background: var(--surface-card); border: 1px solid var(--border-1); }
.forwhom__label { margin: 0; font-size: var(--text-sm); font-weight: var(--w-bold); color: var(--accent-strong); }
.forwhom ul { margin: 10px 0 0; padding-left: 1.2em; font-size: var(--text-sm); line-height: 2; color: var(--text-body); }
.mn-sec__body { margin: 22px 0 0; }
.mn-sec__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.mn-sec__note { margin: 0; font-size: var(--text-sm); color: var(--text-faint); }
.mn-deco-1 { top: 6%; right: -80px; width: 230px; height: 230px; opacity: 0.18; }
.mn-deco-2 { bottom: 8%; left: -100px; width: 210px; height: 210px; }
.mn-deco-3 { top: 14%; right: -70px; width: 160px; height: 160px; opacity: 0.8; }
.mn-deco-4 { top: 8%; left: -90px; width: 200px; height: 200px; opacity: 0.16; }

/* ==========================================================================
   初めての方へ
   ========================================================================== */
.hx-1col-m {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  max-width: var(--container-max);
  margin-inline: auto;
}
.point {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
}
.point__no { font-family: var(--font-latin); font-weight: var(--w-bold); font-size: var(--text-sm); letter-spacing: 0.1em; color: var(--accent); }
.point h2 { margin: 0; font-size: 17px; font-weight: var(--w-bold); color: var(--text-heading); }
.point p { margin: 0; font-size: var(--text-sm); line-height: 1.9; color: var(--text-muted); }

.dotlist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--text-body);
}
.dotlist li { display: flex; align-items: center; gap: 10px; }
.dotlist li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.sub-h2 { margin: 0; font-size: var(--text-h3); font-weight: var(--w-bold); color: var(--text-heading); }
.head-h2 { margin: 0; font-size: var(--text-h2); font-weight: var(--w-bold); color: var(--text-heading); font-feature-settings: "palt" 1; }

/* ==========================================================================
   料金ページ
   ========================================================================== */
.wrap--1000 { max-width: 1000px; margin-inline: auto; }
.hx-1col-m--2 { grid-template-columns: 1fr 1fr; margin-top: 28px; }
.case-box { border-radius: var(--photo-r); padding: 22px 26px; }
.case-box--ok { background: var(--accent-soft); }
.case-box--ng { background: var(--surface-alt); }
.case-box__label { margin: 0; font-size: var(--text-sm); font-weight: var(--w-bold); }
.case-box--ok .case-box__label { color: var(--accent-strong); }
.case-box--ng .case-box__label { color: var(--text-muted); }
.case-box ul { margin: 10px 0 0; padding-left: 1.2em; font-size: var(--text-sm); line-height: 2; color: var(--text-body); }

.tbl--bordered { background: var(--surface-card); border: 1px solid var(--border-1); margin-top: 32px; }
.tbl--bordered thead tr { background: var(--accent-soft); }
.tbl--bordered thead th { font-weight: var(--w-bold); color: var(--text-heading); padding: 14px 12px; text-align: right; }
.tbl--bordered thead th:first-child { text-align: left; padding: 14px 20px; }
.tbl--bordered thead th:last-child { padding: 14px 20px; }
.tbl--bordered tbody tr { border-top: 1px solid var(--border-1); }
.tbl--bordered th[scope="row"] { text-align: left; font-weight: var(--w-medium); padding: 14px 20px; color: var(--text-body); }
.tbl--bordered td {
  text-align: right;
  font-family: var(--font-latin);
  font-weight: var(--w-bold);
  font-size: 16px;
  color: var(--text-heading);
  padding: 14px 12px;
}
.tbl--bordered td:last-child { padding: 14px 20px; }

.tbl--self { background: var(--surface-card); border: 1px solid var(--border-1); margin-top: 28px; }
.tbl--self tr { border-bottom: 1px solid var(--border-1); }
.tbl--self tr:last-child { border-bottom: 0; }
.tbl--self th[scope="row"] { text-align: left; font-weight: var(--w-bold); padding: 16px 20px; color: var(--text-heading); }
.tbl--self th span { display: block; font-size: var(--text-xs); font-weight: var(--w-regular); color: var(--text-muted); margin-top: 4px; }
.tbl--self td {
  text-align: right;
  font-family: var(--font-latin);
  font-weight: var(--w-bold);
  font-size: 17px;
  color: var(--text-heading);
  padding: 16px 20px;
  white-space: nowrap;
}
.tbl__note { margin: 14px 0 0; }

.accident-card {
  max-width: 1000px;
  margin-inline: auto;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
  padding: clamp(24px, 3vw, 40px);
}
.accident-card__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.accident-card__price { font-family: var(--font-latin); font-weight: var(--w-bold); font-size: 22px; color: var(--accent); }
.accident-card p { margin: 14px 0 0; font-size: var(--text-sm); line-height: 1.9; color: var(--text-muted); }
.pay { border-top: 1px solid var(--border-1); padding-top: clamp(28px, 4vw, 40px); }

/* ==========================================================================
   アクセスページ: 道順
   ========================================================================== */
.route p { margin: 14px 0 0; font-size: var(--text-sm); line-height: 1.9; color: var(--text-body); }
.route__no { font-family: var(--font-latin); font-weight: var(--w-bold); color: var(--accent); margin-right: 8px; }
.route-g { margin-top: clamp(28px, 3vw, 40px); }
.rt-deco-1 { top: 8%; right: -90px; width: 220px; height: 220px; opacity: 0.18; }
.rt-deco-2 { bottom: 10%; left: -90px; width: 180px; height: 180px; }
.ab-deco-1 { top: 4%; right: -90px; width: 240px; height: 240px; opacity: 0.18; }
.ab-deco-2 { bottom: 6%; left: -80px; width: 170px; height: 170px; }
.ab-deco-3 { top: 10%; left: -100px; width: 200px; height: 200px; opacity: 0.75; }
.pr-deco-1 { top: 6%; right: -90px; width: 210px; height: 210px; opacity: 0.16; }
.pr-deco-2 { bottom: 8%; left: -90px; width: 190px; height: 190px; }

/* ==========================================================================
   記事（お知らせサンプル）
   ========================================================================== */
.article { max-width: 720px; margin-inline: auto; }
.article__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.article__date { font-family: var(--font-latin); font-size: var(--text-sm); color: var(--text-faint); letter-spacing: 0.04em; }
.article__lead { margin: 0; font-size: var(--text-lead); line-height: 1.9; color: var(--text-body); }
.article h2 {
  margin: 44px 0 0;
  font-size: var(--text-h3);
  font-weight: var(--w-bold);
  color: var(--text-heading);
  font-feature-settings: "palt" 1;
}
.article p { margin: 16px 0 0; font-size: var(--text-sm); line-height: 2; color: var(--text-body); }
.article p + p { margin-top: 18px; }
.article ol,
.article ul {
  margin: 16px 0 0;
  font-size: var(--text-sm);
  line-height: 2;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article ol { padding-left: 1.5em; }
.article ul { padding-left: 1.4em; }
.article__foot {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-1);
}
.article h1 { text-wrap: pretty; }

/* ==========================================================================
   予約・送信完了・プライバシー
   ========================================================================== */
.wrap--form { max-width: 720px; margin-inline: auto; }
.alt-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.alt-card {
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
  padding: 24px;
}
.alt-card--line { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.alt-card__label { margin: 0; font-family: var(--font-latin); font-size: var(--text-xs); letter-spacing: 0.14em; color: var(--accent); }
.alt-card__tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  font-family: var(--font-latin);
  font-size: 26px;
  font-weight: var(--w-bold);
  color: var(--text-heading);
  text-decoration: none;
}
.alt-card__sub { margin: 8px 0 0; font-size: var(--text-xs); color: var(--text-muted); }
.alt-card__hours { margin: 16px 0 0; font-size: var(--text-sm); line-height: 1.9; color: var(--text-body); }
.alt-card__link { font-size: 16px; font-weight: var(--w-bold); min-height: 44px; display: inline-flex; align-items: center; }
.form-sub { font-size: var(--text-xs); font-weight: var(--w-medium); color: var(--text-muted); }
.form-submit { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 8px; }
.form-submit .btn { font-size: 16px; font-weight: var(--w-bold); }
.form-submit p { margin: 0; font-size: var(--text-xs); line-height: 1.8; color: var(--text-muted); text-align: center; }
.opt--privacy { align-items: flex-start; padding: 14px 16px; font-size: var(--text-sm); line-height: 1.8; }
.opt--privacy input { margin-top: 2px; }
.opts--col { flex-direction: column; align-items: stretch; }

.thanks { text-align: center; max-width: 720px; margin-inline: auto; position: relative; }
.thanks__icon { display: block; margin: 0 auto; }
.thanks__body { margin: 20px auto 0; max-width: 34em; }
.thanks__body + .thanks__body { margin-top: 16px; }
.thanks .demo-note { margin: 28px auto 0; max-width: 34em; text-align: left; }
.next-card {
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
  padding: clamp(24px, 3vw, 36px);
}
.next-card ol { margin: 20px 0 0; padding-left: 1.4em; font-size: var(--text-sm); line-height: 2; color: var(--text-body); }
.next-card__note { margin: 20px 0 0; font-size: var(--text-sm); line-height: 1.9; color: var(--text-muted); }
.next-card__tel-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-1);
}
.next-card__tel { font-family: var(--font-latin); font-size: 22px; font-weight: var(--w-bold); color: var(--text-heading); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.next-card__hours { font-size: var(--text-xs); color: var(--text-muted); }
.center-row { display: flex; justify-content: center; margin-top: 36px; }

.legal h2 { margin: 36px 0 0; font-size: var(--text-h3); font-weight: var(--w-bold); color: var(--text-heading); }
.legal h2:first-of-type { margin-top: 40px; }
.legal p { margin: 14px 0 0; font-size: var(--text-sm); line-height: 2; color: var(--text-body); }
.legal__box {
  margin: 14px 0 0;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
  padding: 24px;
}
.legal__box p { margin: 0; }
.legal__tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: var(--w-bold);
  color: var(--text-heading);
  text-decoration: none;
}
.legal__date { margin: 36px 0 0; font-size: var(--text-xs); color: var(--text-faint); }

/* 404 */
.nf { text-align: center; max-width: 640px; margin-inline: auto; }
.nf__code { font-family: var(--font-latin); font-size: clamp(64px, 12vw, 120px); font-weight: var(--w-bold); line-height: 1; color: var(--accent); margin: 0; }
.nf__links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }

/* ==========================================================================
   ★レスポンシブ ― 分岐はここだけ。JSで幅を見ない。
   ========================================================================== */
@media (max-width: 1023px) {
  .hero__g { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding: 104px var(--gutter) 8px 0; max-width: 640px; }
  .hero__ph { margin-top: 36px; padding-top: 0; }
  .hero__title { height: auto; }

  .hx-concept-g,
  .hx-staff-g,
  .hx-access-g,
  .hx-price-g,
  .hx-1col-t,
  .hx-2col,
  .hx-flow-g,
  .hx-pin-g { grid-template-columns: 1fr; }

  .sym__head { grid-template-columns: 1fr; gap: 16px; }
  .hx-sy-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; }
  .hx-sy-g > a { grid-column: auto; grid-row: auto; margin-top: 0; }
  .hx-sy-g > a:nth-of-type(even) { margin-top: 56px; }
  .hx-sy--ov .hx-sy-c { position: static; background: none; padding: 0 4px; max-width: none; }

  .hx-mn-p { position: static; min-height: 0; border-radius: var(--radius-card); margin-bottom: 20px; }
  .hx-mn-in,
  .hx-mn-in--rev { display: flex; flex-direction: column; gap: 26px; }
  .hx-mn-ph { order: 2; align-self: center; }

  .hx-pin-g > div { max-width: 480px; margin-inline: auto; width: 100%; }
  .feat-card--2 { margin-top: 0; }

  /* ★ ステッパーは静的表示に切り替える（sticky を解く） */
  .hx-flow-sc { height: auto; }
  .hx-flow-st { position: relative; min-height: 0; }
  .flow-step { opacity: 1 !important; }
  .flow-step__jump { cursor: default; }
  .flow-step__mark { background: var(--accent); color: #FFFFFF; border-color: var(--accent); transform: none; }
  .flow-step__track { display: none; }
}

@media (max-width: 767px) {
  .hx-clinic-g,
  .hx-clinic-g--about,
  .hx-1col-m { grid-template-columns: 1fr; }
  .clinic__tall { grid-row: auto; }
  .article__foot .btn { width: 100%; }
}

@media (max-width: 600px) {
  .hx-sy-g { display: block; }
  .hx-sy-g > a { margin: 0 0 52px; }
  .route-g { gap: 32px; }
}

/* ==========================================================================
   部品カタログ（styleguide.html）専用。制作者向けのページ。
   ========================================================================== */
.sg__note { margin: 12px 0 0; }
.sg__h { margin-top: var(--section-gap-sm); }
.sg__tbl { margin-top: 20px; }
.sg-use { text-align: left !important; font-family: var(--font-sans) !important; font-weight: var(--w-regular) !important; font-size: var(--text-sm) !important; color: var(--text-muted) !important; }
.sg__row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
  background: var(--surface-card);
}
.sg__row--dark { background: var(--surface-inverse); border-color: var(--surface-inverse); }
.sg__box {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--border-1);
  border-radius: var(--photo-r);
  background: var(--surface-card);
}
.sg__ph {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.sg__ph .note { margin-top: 8px; }
.sg__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.sg-swatch {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface-card);
}
.sg-swatch.is-ng { border-color: var(--error-strong); border-width: 2px; }
.sg-swatch__demo {
  padding: 20px 16px;
  font-size: var(--text-sm);
  font-weight: var(--w-bold);
}
.sg-swatch__meta { margin: 12px 16px 0; font-size: var(--text-sm); color: var(--text-body); }
.sg-swatch__code { margin: 6px 16px 0; font-size: var(--text-xs); color: var(--text-muted); word-break: break-all; }
.sg-swatch__ratio {
  margin: 8px 16px 16px;
  font-family: var(--font-latin);
  font-size: 16px;
  font-weight: var(--w-bold);
  color: var(--text-heading);
}
.sg-swatch.is-ng .sg-swatch__ratio { color: var(--error-strong); }
.sg-xs { font-size: var(--text-xs) !important; }
.sg-sm { font-size: var(--text-sm) !important; }
.sg-body { font-size: var(--text-body-size) !important; }
.sg-lead { font-size: var(--text-lead) !important; }
.sg-h3 { font-size: var(--text-h3) !important; }
.sg-h2 { font-size: var(--text-h2) !important; }
.sg-h1 { font-size: var(--text-h1) !important; }
.sg-hero { font-size: var(--text-hero) !important; }
.sg code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--paper-alt);
  border-radius: 3px;
  padding: 1px 5px;
}
