/* Generated from approved salon preview. See prototype/reviews/salon-detail/build-wordpress.cjs. */

/* ============================================================
   v8 — 白基調 / タイポグラフィは shiro-shiro.jp/ec 実測値(2026-08-03)
   body 14px / lh 1.5 / ls 0.1em / weight 400
   small 12px / lh 1.5 / ls 0.1em
   ボタン: 白抜き・1px実線・角丸0・高さ52px → hover で #333333 反転
   ------------------------------------------------------------
   2026-08-26: index.html の新デザイン言語(アクセントグラデ+Caveat筆記体+
   写真角丸+Revealフェードイン)を移植。トップページとの一体感を作る
   ============================================================ */
:root {
  /* v3トークン(design.md v3.0)。既存の --fs-body/--fs-small/--ls はエイリアスとして維持 */
  /* 基本 */
  --ink: #333333;
  --ink-soft: #949494;
  --hairline: rgba(51, 51, 51, .08);
  --hairline-hover: rgba(51, 51, 51, .32);
  --paper: #FFFFFF;
  --beige: #EAE5E0;
  /* タイプスケール(9段+ヒーロー+筆記体3段。P5: --fz-10 追加=ナビ英字対組専用) */
  --fz-10: 10px;
  --fz-12: 12px;
  --fz-13: 13px;
  --fz-14: 14px;
  --fz-16: 16px;
  --fz-18: clamp(16px, 1.3vw, 18px);
  --fz-21: clamp(17px, 1.5vw, 21px);
  --fz-30: clamp(24px, 2.2vw, 30px);
  --fz-38: clamp(30px, 2.9vw, 38px);
  --fz-47: clamp(38px, 3.4vw, 47px);
  --fz-hero: clamp(42px, 5.2vw, 80px);
  --fz-script-s: clamp(20px, 2.4vw, 40px);
  --fz-script-m: clamp(34px, 4vw, 64px);
  --fz-script-l: clamp(80px, 9vw, 150px);
  /* 旧エイリアス(既存参照維持) */
  --fs-body: 14px;
  --fs-small: 12px;
  /* 字間(4段+0) */
  --ls-tight: .04em;
  --ls-body: .1em;
  --ls-label: .18em;
  --ls-script: .24em;
  --ls: .1em; /* 旧エイリアス */
  /* 面色 */
  --wash-1: #FEF7F9;
  --wash-2: #FBEAEE;
  --wash-3: #F9E3E8;
  --band-gray: #F5F3F1;
  --tint-pink: #FBEDF0;
  --skeleton: #EDEDED;
  --map-gray: #CFCCC9;
  /* レイアウト */
  --w-main: 1280px;
  --w-wide: 1440px;
  --w-narrow: 880px;
  --header-h: 84px;
  --pad-x: clamp(20px, 3.5vw, 48px);
  --sp-section: clamp(56px, 8vh, 96px);
  /* 角丸 */
  --radius-media: 10px;
  --radius-bubble: 18px;
  /* モーション(4段+書き) */
  --dur-ui: .25s;
  --dur-hover: .3s;
  --dur-fx: .45s;
  --dur-reveal: .6s;
  --dur-write: 1.2s;
  --dur-decor: 2s; /* 装飾ループ(SPスワイプヒント矢印など) */
  --ease-out: cubic-bezier(.25, .46, .45, .94);
  /* アクセント(ピンク×赤グラデ) */
  --accent: #E04A5E;
  --accent-soft: #F5A0B5;
  --accent-grad: linear-gradient(135deg, #F5A0B5 0%, #E04A5E 100%);
  --accent-grad-hover: linear-gradient(135deg, #F7B0C4 0%, #E85E71 100%);
  --accent-grad-soft: linear-gradient(135deg, rgba(245, 160, 181, .28) 0%, rgba(224, 74, 94, .22) 100%);
  --gold: #E9C46A;
  --gold-soft: #F1D591;
  --gold-deep: #A8842E; /* 勲章エンブレム(stat-emblem)の陰影・輪郭・リボン用途限定 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* スクリーンリーダー専用(視覚非表示・レイアウト不変) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--ls);
  color: var(--ink);
  background: var(--paper);
}

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

/* ボタン共通仕様(以降のセクションで使用): 白抜き → hover #333333 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 280px;
  padding: 0 48px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-tight);   /* shiro実測: ボタンのみ0.6px(0.05em) */
  transition: background-color var(--dur-hover) ease, color var(--dur-hover) ease;
}
.btn:hover {
  background: #333333;
  color: #FFFFFF;
}

/* ------------------------------------------------------------
   Primary CTA — design.md v3.0 §7(index側と同仕様)
   ピンクグラデソリッド・高さ56px・角丸0・白文字 --fz-14/--ls-tight・padding 0 48px
   hover: --accent-grad-hover + 浮き影(rgba(224,74,94,.22))
   店舗詳細の予約導線(ヘッダー予約ボタン含む)は index と統一してこれを使う
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-height: 56px; min-width: 280px;
  padding: 0 48px;
  border: 0;
  border-radius: 0;
  background: var(--accent-grad);
  color: #FFFFFF;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fz-14);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
  cursor: pointer;
  text-align: center;
  transition: background var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
}
.btn-primary:hover {
  background: var(--accent-grad-hover);
  box-shadow: 0 12px 28px rgba(224, 74, 94, .22);
}
/* Primary 小型変種(ヘッダー予約ボタン専用)。高さ40px・padding 0 24px・--fz-12 */
.btn-primary.is-sm {
  min-height: 40px;
  min-width: 0;
  padding: 0 24px;
  font-size: var(--fz-12);
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--pad-x);
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.header-logo img { height: 48px; width: auto; } /* 文字入り縦積みロゴに合わせて拡大 */

.gnav ul {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.3vw, 48px);
  list-style: none;
}
.gnav a {
  font-size: var(--fs-body);
  letter-spacing: var(--ls);
  transition: opacity var(--dur-hover) ease;
}
.gnav a:hover { opacity: .5; }
/* P5: ナビ対組(和文 --fz-16 + 英字 --fz-10 Montserrat 500 uppercase --ls-label)
   mayu-labo 実測に準拠。.btn-primary(ご予約)は対組不要のため .nav-pair をあてない。
   hover は親 <a> の opacity .5 が両 span へ伝播(色/透明度が連動) */
.gnav a.nav-pair {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  font-size: var(--fz-16);
}
.gnav a.nav-pair .nav-jp {
  font-size: var(--fz-16);
  letter-spacing: var(--ls-body);
  color: var(--ink);
}
.gnav a.nav-pair .nav-en {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: var(--fz-10);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-soft);
}
/* ナビ内の Primary(ご予約): .gnav a のサイズ・hover を打ち消して Primary 挙動を優先 */
.gnav a.btn-primary {
  font-size: var(--fz-12);
  letter-spacing: var(--ls-tight);
  transition: background var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
}
.gnav a.btn-primary:hover { opacity: 1; }

/* ハンバーガー(SP専用): PCでは非表示 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur-ui) ease, top var(--dur-ui) ease;
}
.nav-toggle .bar::before { top: -7px; }
.nav-toggle .bar::after  { top:  7px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after  { top: 0; transform: rotate(-45deg); }

/* ------------------------------------------------------------
   Breadcrumb
   ------------------------------------------------------------ */
.breadcrumb { padding: 20px var(--pad-x) 0; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  max-width: var(--w-main);
  margin-inline: auto;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: var(--fs-small);
  letter-spacing: var(--ls);
  color: var(--ink-soft);
}
.breadcrumb li + li::before {
  content: "/";
  margin: 0 16px;
  color: rgba(51, 51, 51, .13);
}
.breadcrumb a { transition: opacity var(--dur-hover) ease; }
.breadcrumb a:hover { opacity: .5; }
.breadcrumb li[aria-current] { color: var(--ink); }

/* ------------------------------------------------------------
   First view — 2カラム(左: 店名+文章 / 右: 店舗画像)を中央に
   SPは 店名 → 画像 → 文章 の順
   ------------------------------------------------------------ */
.hero {
  padding-inline: var(--pad-x);
  padding-block: clamp(40px, 6vh, 64px) clamp(32px, 5vh, 48px);
}

.hero-inner {
  width: 100%;
  max-width: var(--w-main);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  grid-template-areas:
    "head photo"
    "body photo";
  column-gap: clamp(32px, 4vw, 64px);
}

.hero-head  { grid-area: head;  align-self: end; }
.hero-body  { grid-area: body;  align-self: start; margin-top: 28px; }
.hero-photo { grid-area: photo; align-self: center; }

.hero-head .en {
  font-size: var(--fs-small);
  letter-spacing: var(--ls-label);
  color: var(--ink-soft);
  text-transform: uppercase;
}

.hero-head h1 {
  margin-top: 16px;
  font-weight: 400;
  font-size: var(--fz-47);
  line-height: 1.3;
  letter-spacing: var(--ls);
  color: var(--ink);
}

.hero-body .lead {
  max-width: 440px;
  font-size: var(--fs-body);
  line-height: 1.5;
  letter-spacing: var(--ls);
}

.hero-body .btn,
.hero-body .btn-primary { margin-top: 40px; }

.hero-photo {
  aspect-ratio: 8 / 5;
  background: var(--beige);
  overflow: hidden;
  border-radius: var(--radius-media); /* 2026-08-26: index.html と統一 */
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2026-08-26: ヒーロー背景に淡いピンクウォッシュ(index.htmlより控えめに、下端を白へ) */
.hero {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--wash-1) 45%, var(--wash-2) 72%, #FFFFFF 100%);
}

/* ヒーロー内の英字ラベル(Eyebrow Salon i.)もCaveat筆記体+アクセントグラデに */
.hero-head .en {
  font-family: "Caveat", cursive;
  font-size: var(--fz-30);
  font-weight: 400;
  letter-spacing: var(--ls-tight);
  line-height: 1;
  text-transform: none;
  color: var(--accent);
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* ------------------------------------------------------------
   Strengths — アイドット●●店の強み(3カラム: 画像+文章)
   ------------------------------------------------------------ */
.strengths { padding: clamp(56px, 8vh, 88px) var(--pad-x); }

.strengths-inner {
  max-width: var(--w-main);
  margin-inline: auto;
}

.sec-head { text-align: center; }
/* ---- Accent系: セクション英字ラベルはCaveat筆記体+ピンク×赤グラデ(2026-08-26 index.htmlと統一) ---- */
.sec-head .sec-en {
  font-family: "Caveat", cursive;
  font-size: var(--fz-30);
  letter-spacing: var(--ls-tight);
  line-height: 1;
  text-transform: none;
  color: var(--accent);
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
/* 筆記体ラベルの手書き風アニメーション(最終形・CSSのみ):
   セクションが視界に入るたび、左からペンで書くように clip-path をワイプ。
   キーフレームの刻みを不均等にして「字画の緩急」を出す。ペン先ドットは
   ユーザーFBにより廃止。上下は script 体のはみ出しを切らない負インセット */
html.js .sec-head .sec-en {
  clip-path: inset(-45% 101% -45% -2%);
}
html.js .sec-head.is-inview .sec-en {
  animation: sec-en-write var(--dur-write) linear 0s forwards;
}
@keyframes sec-en-write {
  0%   { clip-path: inset(-45% 101% -45% -2%); }
  12%  { clip-path: inset(-45% 85% -45% -2%); }
  20%  { clip-path: inset(-45% 80% -45% -2%); }
  36%  { clip-path: inset(-45% 57% -45% -2%); }
  46%  { clip-path: inset(-45% 51% -45% -2%); }
  62%  { clip-path: inset(-45% 29% -45% -2%); }
  72%  { clip-path: inset(-45% 23% -45% -2%); }
  86%  { clip-path: inset(-45% 8% -45% -2%); }
  100% { clip-path: inset(-45% -4% -45% -2%); }
}

/* 表示順の制御(ユーザーFB: 下のタイトルが先に出ると変):
   .sec-head コンテナは隠さず、筆記体ラベルが視界に入った瞬間から書き始め、
   h2 タイトルは 0.25s 遅れてフェードイン(=手書きが必ず先行する)
   ※2026-08-28: 「表示タイミングが遅い」FB対応で .45s→.25s へ高速化 */
html.js .sec-head.reveal { opacity: 1 !important; transform: none !important; }
html.js .sec-head h2 {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-reveal) ease var(--dur-ui), transform var(--dur-reveal) ease var(--dur-ui);
}
html.js .sec-head.is-inview h2 {
  opacity: 1;
  transform: none;
}


.sec-head h2 {
  margin-top: 12px;
  font-size: var(--fz-30);
  font-weight: 400;
  letter-spacing: var(--ls);
}

.strengths-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.strength-photo {
  aspect-ratio: 4 / 3;
  background: var(--beige);
  overflow: hidden;
  border-radius: var(--radius-media); /* 2026-08-26: index.html と統一 */
}
.strength-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strength-card h3 {
  margin-top: 24px;
  font-size: var(--fz-16);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--ls);
}
.strength-card p {
  margin-top: 12px;
  font-size: var(--fs-body);
  line-height: 1.5;
  letter-spacing: var(--ls);
}

/* ------------------------------------------------------------
   Info — 店舗情報(左: テーブル / 右: Googleマップ)
   ------------------------------------------------------------ */
main section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.info { padding: clamp(56px, 8vh, 88px) var(--pad-x); }

.info-inner {
  max-width: var(--w-main);
  margin-inline: auto;
}

.info-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}

.info-table { width: 100%; border-collapse: collapse; }
.info-table th,
.info-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--ls);
  vertical-align: top;
  text-align: left;
}
.info-table tr:first-child th,
.info-table tr:first-child td { border-top: 1px solid var(--hairline); }
.info-table th {
  width: 10em;
  padding-right: 24px;
  color: var(--ink-soft);
}
.info-table a { text-decoration: underline; text-underline-offset: 4px; transition: opacity var(--dur-hover) ease; }
.info-table a:hover { opacity: .5; }

.info-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  background: var(--beige);
}

.map-apps {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.map-apps a { display: inline-flex; transition: opacity var(--dur-hover) ease; }
.map-apps a:hover { opacity: .5; }
.map-apps img { width: 22px; height: 22px; object-fit: contain; }

/* ------------------------------------------------------------
   Cases — Before/After 仕上がり事例(2カラム: 女性/男性)
   ------------------------------------------------------------ */
.cases { padding: clamp(56px, 8vh, 88px) var(--pad-x); }

.cases-inner {
  max-width: var(--w-main);
  margin-inline: auto;
}

.cases-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}

.case-photo {
  aspect-ratio: 4 / 3;
  background: var(--beige);
  overflow: hidden;
  border-radius: var(--radius-media); /* 2026-08-26: index.html と統一 */
}
.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card h3 {
  margin-top: 24px;
  font-size: var(--fz-16);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--ls);
}
.case-card p {
  margin-top: 12px;
  font-size: var(--fs-body);
  line-height: 1.5;
  letter-spacing: var(--ls);
}

.cases-cta {
  margin-top: 48px;
  text-align: center;
}

/* ------------------------------------------------------------
   Compare — 他サロンとの比較(4列テーブル、水平罫のみ)
   ------------------------------------------------------------ */
.compare { padding: clamp(56px, 8vh, 88px) var(--pad-x); }

.compare-inner {
  max-width: var(--w-main);
  margin-inline: auto;
}

.compare-wrap {
  margin-top: clamp(40px, 5vw, 64px);
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.compare-table th,
.compare-table td {
  padding: 20px 16px;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--ls);
  text-align: center;
  vertical-align: middle;
}
/* 行罫: 各セルの下端に hairline、theadは上端にも hairline */
.compare-table thead th { border-top: 1px solid var(--hairline); }
.compare-table thead th,
.compare-table tbody th,
.compare-table tbody td { border-bottom: 1px solid var(--hairline); }

/* 1列目(項目名): 白地・左寄せ・soft・12px */
.compare-table th[scope="row"] {
  width: 28%;
  text-align: left;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 400;
}

/* 他社ヘッダ(A社/B社): 14px・500・soft */
.compare-table thead th {
  font-size: var(--fz-14);
  font-weight: 500;
  color: var(--ink-soft);
}

/* アイドット列: 黒ヘッダー+白セル、上下左右に黒枠でカード化 */
.compare-table thead th.col-idot {
  background: var(--ink);
  color: #FFFFFF;
  padding: 20px 12px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  border-bottom: 0;
}
.compare-table thead th.col-idot .col-idot-name {
  display: block;
  font-size: var(--fz-18);
  font-weight: 500;
  letter-spacing: var(--ls);
  color: #FFFFFF;
}
.compare-table tbody td.col-idot {
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fz-16);
  font-weight: 500;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.compare-table tbody tr:last-child td.col-idot {
  border-bottom: 1px solid var(--ink);
}

/* 他社列 */
.compare-table td.col-other {
  color: var(--ink-soft);
}

/* ◎ の下に付ける根拠テキスト(アイドット列のみ) */
.col-idot .col-idot-mark {
  display: block;
  font-size: var(--fz-21);
  font-weight: 500;
  line-height: 1;
}
.col-idot .col-idot-reason {
  display: block;
  margin-top: 8px;
  font-size: var(--fz-12);
  font-weight: 400;
  letter-spacing: var(--ls-tight);
  line-height: 1.4;
  color: var(--ink-soft);
}

/* 実績など 2行値のサブテキスト */
.col-idot .col-idot-sub {
  display: block;
  margin-top: 4px;
  font-size: var(--fz-12);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.4;
}

.compare-note {
  margin-top: 16px;
  font-size: var(--fz-12);
  line-height: 1.5;
  letter-spacing: var(--ls);
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   Voice — お客様の声(吹き出し+人物アバター、2026-08-26 リデザイン)
   カードは「白吹き出し(voice-bubble)+しっぽ(::before/::after)+
   アバター行(voice-persona)」の縦2ブロック構成。しっぽは外側の淡ピンク
   三角の上に白三角を重ねてボーダーを追従させる古典技法で自然に接続する。
   index.html と同一のCSS/構造で一体感を維持する。
   ------------------------------------------------------------ */
.voice { padding: clamp(56px, 8vh, 88px) var(--pad-x); }
.voice-inner { max-width: var(--w-main); margin-inline: auto; }
.voice-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 32px);
}
.voice-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* 吹き出し本体: 白地+淡ピンクのヘアライン、角丸18px、ごく淡いピンクの影 */
.voice-bubble {
  position: relative;
  background: #fff;
  border: 1px solid rgba(224, 74, 94, .18);
  border-radius: 18px;
  padding: 28px 28px 28px;
  box-shadow: 0 2px 14px rgba(224, 74, 94, .15);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* しっぽ(下辺の左寄り): ::before=外側の淡ピンク三角、::after=内側の白三角で境界線を追従 */
.voice-bubble::before,
.voice-bubble::after {
  content: "";
  position: absolute;
  left: 36px;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
}
.voice-bubble::before {
  bottom: -12px;
  border-width: 12px 11px 0 11px;
  border-top-color: rgba(224, 74, 94, .18);
}
.voice-bubble::after {
  bottom: -10px;
  border-width: 11px 10px 0 10px;
  border-top-color: #fff;
}
.voice-stars {
  font-size: var(--fz-12);
  letter-spacing: var(--ls-label);
  color: var(--ink);
  line-height: 1;
}
.voice-body {
  /* blockquote 化のためデフォルト余白をリセット(見た目不変) */
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.8;
  letter-spacing: var(--ls);
  color: var(--ink);
}
/* アバター行: しっぽの真下に円形アバター、右に Google 口コミへのリンク */
.voice-persona {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 20px;
}
.voice-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tint-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.voice-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* <cite> 化: 斜体をリセット。アバター横に置くため flex 側に配置管理を委譲 */
.voice-cite {
  font-style: normal;
  min-width: 0;
}
.voice-source {
  font-size: var(--fz-12);
  letter-spacing: var(--ls-tight);
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity var(--dur-hover) ease;
}
.voice-source:hover { opacity: .5; }

/* ------------------------------------------------------------
   Flow — 施術の流れ(6ステップ、PC3列×2行/SP縦積み)
   競合4社(KEGIRAI/i'm/ME.REBO/ルミシア)の流れを実査し業界標準構成へ再編(2026-08-03)
   ------------------------------------------------------------ */
.flow { padding: clamp(56px, 8vh, 88px) var(--pad-x); }
.flow-inner { max-width: var(--w-main); margin-inline: auto; }
.flow-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(24px, 3vw, 40px);
  row-gap: clamp(40px, 5vw, 56px);
  /* <ol> 化に伴うリストマーカー・インデントのリセット(見た目不変) */
  list-style: none;
  padding: 0;
}
.flow-step { list-style: none; }
.flow-photo {
  aspect-ratio: 4 / 3;
  background: var(--beige);
  overflow: hidden;
  border-radius: var(--radius-media); /* 2026-08-26: index.html と統一 */
  margin-bottom: 20px;
}
.flow-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flow-step .flow-num {
  display: block;
  font-size: var(--fz-12);
  letter-spacing: var(--ls-label);
  color: var(--ink-soft);
}
.flow-step h3 {
  margin-top: 12px;
  font-size: var(--fz-16);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--ls);
}
.flow-step p {
  margin-top: 12px;
  font-size: var(--fz-13);
  line-height: 1.7;
  letter-spacing: var(--ls);
  color: var(--ink);
}


/* ------------------------------------------------------------
   Nearby — 近隣店舗(3カード、ヘアライン枠+リンク)
   ------------------------------------------------------------ */
.nearby { padding: clamp(56px, 8vh, 88px) var(--pad-x); }
.nearby-inner { max-width: var(--w-main); margin-inline: auto; }
.nearby-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 32px);
}
.nearby-card {
  /* P5: 視覚系(padding/border/display/gap)は .card-lift へ移設。
     外殻をレイアウトスロットに徹底し、hover の translateY(-8px) が
     ボーダーから浮き上がって見えるようにする(視覚的な立体化) */
}
.nearby-card .card-lift {
  padding: 32px;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper); /* 影のリフト時に下地との差を確実に出す */
  height: 100%; /* 3カード高さ揃え(元 nearby-card:flex-column の役割継承) */
}
.nearby-card h3 {
  font-size: var(--fz-16);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--ls);
}
.nearby-card p {
  font-size: var(--fz-12);
  line-height: 1.6;
  letter-spacing: var(--ls);
  color: var(--ink-soft);
}
.nearby-more {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--fz-12);
  letter-spacing: var(--ls);
  color: var(--ink);
  transition: opacity var(--dur-hover) ease;
}
.nearby-more:hover { opacity: .5; }

/* ------------------------------------------------------------
   Recruit — 求人情報(中央揃えバンド)
   ------------------------------------------------------------ */
.recruit { padding: clamp(56px, 8vh, 88px) var(--pad-x); text-align: center; }
.recruit-inner { max-width: 720px; margin-inline: auto; }
.recruit .recruit-lead {
  margin-top: 24px;
  font-size: var(--fs-body);
  line-height: 1.8;
  letter-spacing: var(--ls);
}
.recruit .btn { margin-top: 32px; }

/* ------------------------------------------------------------
   Footer — 黒背景+白文字(直前セクションの余白の後に黒ブロック)
   ------------------------------------------------------------ */
.footer {
  margin-top: 0;
  padding: clamp(56px, 8vh, 88px) var(--pad-x) 32px;
  background: var(--ink);
  color: #FFFFFF;
}

.footer-inner { max-width: var(--w-main); margin-inline: auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

/* icon_idot.png はチャコール色。白反転で使う */
.footer-mark {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-addr {
  margin-top: 20px;
  font-size: var(--fs-small);
  letter-spacing: var(--ls);
  color: rgba(255, 255, 255, .55);
}

.footer-nav { display: flex; gap: clamp(40px, 6vw, 96px); }
.footer-nav ul { list-style: none; display: grid; gap: 20px; align-content: start; }
.footer-nav a {
  font-size: var(--fs-small);
  letter-spacing: var(--ls);
  color: #FFFFFF;
  transition: opacity var(--dur-hover) ease;
}
.footer-nav a:hover { opacity: .5; }
/* P5: フッターナビも header と同じ対組化(白反転版・EN は白 55% 透過で控えめに) */
.footer-nav a.nav-pair {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.2;
  font-size: var(--fz-16);
}
.footer-nav a.nav-pair .nav-jp {
  font-size: var(--fz-16);
  letter-spacing: var(--ls-body);
  color: #FFFFFF;
}
.footer-nav a.nav-pair .nav-en {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: var(--fz-10);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.footer-bottom {
  margin-top: clamp(56px, 9vh, 96px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-small);
  letter-spacing: var(--ls);
  color: rgba(255, 255, 255, .55);
}
.footer-bottom .totop {
  color: #FFFFFF;
  transition: opacity var(--dur-hover) ease;
}
.footer-bottom .totop:hover { opacity: .5; }

/* ------------------------------------------------------------
   SP
   ------------------------------------------------------------ */
@media (width <= 767px) {
  :root { --header-h: 64px; }

  .header-logo img { height: 40px; }

  /* SP: PC用横並びナビは隠し、ハンバーガーに切替 */
  .nav-toggle { display: inline-flex; }

  /* オーバーレイメニュー(白背景・全画面) */
  .gnav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--paper);
    padding: 24px var(--pad-x) 40px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur-ui) ease, opacity var(--dur-ui) ease, visibility var(--dur-ui) ease;
    z-index: 90;
  }
  .gnav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .gnav ul {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-top: 32px;
  }
  .gnav a {
    font-size: var(--fz-16);
    letter-spacing: var(--ls);
  }
  /* メニュー展開中はボディをスクロール固定(JSでhtml/bodyにクラス付与) */
  html.nav-open, body.nav-open { overflow: hidden; }

  .breadcrumb { padding-top: 16px; }
  .breadcrumb li + li::before { margin: 0 12px; }

  .hero { padding-block: 32px 40px; }
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "photo"
      "body";
    column-gap: 0;
  }
  .hero-head, .hero-body, .hero-photo { align-self: auto; }
  .hero-head h1 { font-size: var(--fz-30); }
  .hero-photo { margin-top: 32px; }
  .hero-body { margin-top: 24px; }
  .hero-body .lead br { display: none; }
  .hero-body .btn,
  .hero-body .btn-primary { width: 100%; min-width: 0; margin-top: 32px; }

  .strengths { padding-block: 56px; }
  .strengths-grid { grid-template-columns: 1fr; gap: 48px; }
  .strength-card h3 { margin-top: 16px; }

  .cases { padding-block: 56px; }
  .cases-grid { grid-template-columns: 1fr; gap: 48px; }
  .case-card h3 { margin-top: 16px; }
  .cases-cta { margin-top: 40px; }
  .cases-cta .btn,
  .cases-cta .btn-primary { width: 100%; min-width: 0; }

  .compare { padding-block: 56px; }
  /* SP: 横スクロール無しで390pxに収める。フォント・padding・字間を圧縮 */
  .compare-table th,
  .compare-table td {
    padding: 12px 8px;
    font-size: var(--fz-12);
    letter-spacing: 0;
    line-height: 1.4;
    word-break: break-word;
  }
  .compare-table th[scope="row"] {
    width: 30%;
    font-size: var(--fz-12);
    padding-right: 8px;
  }
  .compare-table thead th { font-size: var(--fz-12); }
  .compare-table thead th.col-idot {
    padding: 12px 4px;
  }
  .compare-table thead th.col-idot .col-idot-name {
    font-size: var(--fz-14);
  }
  .compare-table tbody td.col-idot { font-size: var(--fz-13); }
  .col-idot .col-idot-mark { font-size: var(--fz-16); }
  .col-idot .col-idot-reason { font-size: var(--fz-12); margin-top: 3px; letter-spacing: 0; }
  .col-idot .col-idot-sub { font-size: var(--fz-12); margin-top: 3px; letter-spacing: 0; }

  .info { padding-block: 56px; }
  /* SP: 地図をテーブルの上に(マップ→テーブルの順)。PCは左テーブル/右マップのまま */
  .info-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-map { order: 1; }
  .info-table { order: 2; }
  .info-table th { width: 7em; padding-right: 16px; }

  /* Voice / Flow / Staff / Nearby: 1カラム縦積み */
  .voice { padding-block: 56px; }
  .voice-grid { grid-template-columns: 1fr; gap: 32px; }
  .voice-card { gap: 20px; }
  .voice-bubble { padding: 24px 24px 24px; }
  .voice-persona { padding-left: 16px; gap: 12px; }
  .voice-avatar { width: 52px; height: 52px; }

  .flow { padding-block: 56px; }
  .flow-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow-step h3 { margin-top: 12px; }
  .flow-step p { margin-top: 8px; }


  .nearby { padding-block: 56px; }
  .nearby-grid { grid-template-columns: 1fr; gap: 20px; }
  .nearby-card .card-lift { padding: 24px; } /* P5: visualsは .card-lift 側 */

  .recruit { padding-block: 56px; }
  .recruit .btn { width: 100%; min-width: 0; }

  .footer { padding-block: 56px 24px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-bottom { margin-top: 48px; padding-top: 20px; }

  /* ----------------------------------------------------------
     SP: 改行位置の総点検(2026-08-27、index.htmlと統一)
     日本語長文は text-wrap: pretty(最終行の孤字防止)、
     短見出し・リードは text-wrap: balance(左右バランス)、
     一体で読ませたい固有語(Googleの口コミより 等)は
     inline-block + word-break: keep-all で1トークン化する。
     ---------------------------------------------------------- */
  .hero-head h1 { text-wrap: balance; }
  .hero-body .lead { text-wrap: pretty; }

  .sec-head h2 { text-wrap: balance; }

  .voice-body { text-wrap: pretty; }
  .voice-source {
    display: inline-block;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .strength-card h3,
  .case-card h3,
  .flow-step h3,
  .nearby-card h3 { text-wrap: balance; }
  .strength-card p,
  .case-card p,
  .flow-step p,
  .nearby-card p { text-wrap: pretty; }

  /* 求人リードの1行(未経験から〜研修制度があります)は pretty で孤字防止 */
  .recruit .recruit-lead { text-wrap: pretty; }

  /* 情報テーブル th/td の店名や住所も keep-all で英数字トークンを保全 */
  .info-table th,
  .info-table td { text-wrap: pretty; }
  /* パンくずの1階層1リンクは折り返さない(区切り「/」を挟むため) */
  .breadcrumb li { white-space: nowrap; }
}

/* ------------------------------------------------------------
   Tablet 中間幅 (768〜1023): 3カラムだと吹き出しカードが窮屈で
   端が切れて見える FB(2026-08-27)への対応。voice-grid を2カラム化し
   3枚目を新行へ落として左寄せに(見切れなし・視認性優先)。
   ------------------------------------------------------------ */
@media (min-width: 768px) and (width <= 1023px) {
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ------------------------------------------------------------
   Reveal — スクロール連動フェードイン(index.html と同仕様、2026-08-26 移植)
   html.js スコープで初期非表示化するため、JS無効環境では常に表示される
   opacity と transform のみアニメ(compositor 化、レイアウトシフト回避)
   reduced-motion CSS は入れない(WindowsのOS設定で演出が消える問題への対応)
   ------------------------------------------------------------ */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}
html.js .reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------
   P5 モーション仕上げ: カードhoverの共通化(index.htmlと同仕様)
   translateY(-8px) + うっすら影(ink .13)を strength / case / voice(bubble) /
   nearby へ統一適用。reveal の transform/スタガー遅延と干渉しないよう、
   内側ラッパー .card-lift(strength/case/nearby)/ .voice-bubble(voice)に付与
   --------------------------------------------------------------- */
.card-lift {
  transition: transform var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
}
/* voice-bubble は既存構造(voice-card > voice-bubble)を活かして直接付与 */
.voice-bubble {
  transition: transform var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
}
/* 2026-08-27 FB1(改): strength / case はフラット構成なので hover の translateY/影は
   写真ブロック側だけに掛ける(テキストは静止)。nearby は枠付きなので従来通り箱ごと浮かせる。 */
.strength-photo,
.case-photo {
  transition: transform var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
}
/* 画像 hover の微ズーム: strength / case / flow の写真に scale(1.04) を var(--dur-fx) で */
.strength-photo img,
.case-photo img,
.flow-photo img {
  transition: transform var(--dur-fx) ease;
}
/* 2026-08-27 FB1: hover 演出はホバー可能デバイス(PC=マウス/ペン)限定に。
   タッチ端末での「スティッキーhover」で box-shadow/translate が固まり、
   strength/case カードが「白箱+影+写真食い込み」に見える不具合を回避。 */
@media (hover: hover) and (pointer: fine) {
  /* strength / case: 写真ブロックだけ浮かせる(テキスト静止) */
  .strength-card:hover .strength-photo,
  .case-card:hover .case-photo {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(51, 51, 51, .13);
  }
  /* nearby: 枠付きの箱ごと浮かせる(現状維持) */
  .nearby-card:hover .card-lift {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(51, 51, 51, .13);
  }
  .voice-card:hover .voice-bubble {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(224, 74, 94, .22);
  }
  .strength-card:hover .strength-photo img,
  .case-card:hover .case-photo img,
  .flow-step:hover .flow-photo img {
    transform: scale(1.04);
  }
}

/* ------------------------------------------------------------
   Accent系 — 差し色ユーティリティ(2026-08-26、index.htmlと統一)
   voice-stars と compare-table のアイドット◎マークにアクセントグラデを適用
   ------------------------------------------------------------ */
.voice-stars {
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* 比較表: アイドット列の◎マークにアクセントグラデ(1箇所のみ) */
.col-idot .col-idot-mark {
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* strengths / cases セクションに大きな装飾ピンク雲(index.htmlと統一・2026-08-27強化)。
   参考:ORESS採用サイトのセクション背景。中心アルファを .58 → .82 まで上げ、
   プラトー(高濃度域)を 0-24% → 0-32% へ拡張。幅は 900 → 940-960px、blur 42px 前後に。
   中心は依然セクション外へマイナスオフセット(-22% 前後)することで
   「テキスト直下は白寄り・濃い部分は外周側(セクションの角付近)」を維持する。
   親に position:relative; overflow:hidden を付けて横スクロール封じ */
.strengths, .cases { position: relative; overflow: hidden; }
.strengths > *, .cases > * { position: relative; z-index: 1; }
/* ★ 2026-08-27 FB4: 雲がセクション上端/下端でスパッと切れて見える不具合を修正。
   gradient 中心を上/下方向に寄せて高濃度域をセクション境界から遠ざける。
   strengths(上端問題)→ at 50% 65% で中心を下へ、
   cases(下端問題)→ at 50% 35% で中心を上へ、それぞれずらす。 */
.strengths::after {
  content: "";
  position: absolute;
  top: -22%; right: -18%;
  width: clamp(600px, 82vw, 960px);
  height: clamp(600px, 82vw, 960px);
  background: radial-gradient(circle at 50% 65%,
    rgba(240, 156, 176, .82) 0%,
    rgba(240, 156, 176, .66) 18%,
    rgba(240, 156, 176, .46) 34%,
    rgba(240, 156, 176, .22) 54%,
    rgba(240, 156, 176, .08) 74%,
    rgba(240, 156, 176, 0) 92%);
  border-radius: 50%;
  filter: blur(42px);
  z-index: 0;
  pointer-events: none;
}
.cases::after {
  content: "";
  position: absolute;
  bottom: -22%; left: -20%;
  width: clamp(580px, 78vw, 940px);
  height: clamp(580px, 78vw, 940px);
  background: radial-gradient(circle at 50% 35%,
    rgba(240, 156, 176, .82) 0%,
    rgba(240, 156, 176, .66) 18%,
    rgba(240, 156, 176, .46) 34%,
    rgba(240, 156, 176, .22) 54%,
    rgba(240, 156, 176, .08) 74%,
    rgba(240, 156, 176, 0) 92%);
  border-radius: 50%;
  filter: blur(42px);
  z-index: 0;
  pointer-events: none;
}

/* Store-detail tone alignment. Original HTML/content/columns/photos/order stay
   intact. Only palette, type scale, surfaces and decorative backgrounds change.
   Source: the approved 2026-09-25 top-page styles, not the rejected redesign. */
:root {
  --paper: #faf3e8;
  --beige: #eee4d6;
  --tint-pink: #f6eddf;
  --band-gray: #f6eddf;
  --booking-fill: #ce4155;
  --booking-fill-hover: #b83b4e;
  --booking-fill-active: #aa3648;
  --section-shape-rgb: 224, 144, 167;
  --reading-body-size: 16px;
  --fz-heading: clamp(26px, 2.4vw, 32px);
  --ink-note: rgba(51, 51, 51, .8);
  --section-beige: #f2e7d8;
}
html,
.hero { background: var(--paper); }
.cases, .voice, .flow, .nearby { background: var(--paper); }
.strengths, .compare, .info, .faq { background: var(--section-beige); }
.faq + .recruit--creative { background: var(--paper); }
.hero-body .lead > span { display: block; }
.hero-body .lead > span + span { margin-top: 16px; }
.voice-bubble { background: var(--paper); border-color: var(--hairline); box-shadow: none; }
.voice-bubble::before { border-top-color: var(--hairline); }
.voice-bubble::after { border-top-color: var(--paper); }
.voice-card:hover .voice-bubble { box-shadow: 0 8px 20px rgba(51, 51, 51, .08); }

/* Keep the handwriting font, pink treatment and original reveal behaviour. */
.sec-head .sec-en,
.hero-head .en { font-synthesis: none; }
.sec-head .sec-en { font-size: clamp(36px, 3.3vw, 45px); font-weight: 600; }
.sec-head h2 { font-size: var(--fz-heading); line-height: 1.5; text-wrap: balance; }
.hero-head .en { font-size: clamp(32px, 2.933333vw, 40px); font-weight: 600; }
.hero-body .lead,
.strength-card p,
.case-card p,
.flow-step p,
.voice-body,
.info-table th,
.info-table td,
.recruit .recruit-lead { font-size: var(--reading-body-size); }
.hero-body .lead,
.strength-card p,
.case-card p,
.flow-step p,
.info-table th,
.info-table td { line-height: 1.75; text-wrap: pretty; }
.voice-body,
.recruit .recruit-lead { text-wrap: pretty; }
.strength-card h3,
.case-card h3,
.flow-step h3,
.nearby-card h3 { font-size: 18px; line-height: 1.6; text-wrap: balance; }
.nearby-card p { font-size: 14px; color: var(--ink-note); }
.voice-source,
.nearby-more,
.flow-step .flow-num { font-size: 13px; color: var(--ink-note); line-height: 1.7; }
.info-table th,
.compare-note,
.compare-table th[scope="row"],
.compare-table thead th:not(.col-idot),
.compare-table td.col-other,
.col-idot .col-idot-reason,
.col-idot .col-idot-sub { color: var(--ink-note); }
@media (width >= 768px) {
  .compare-table td { font-size: var(--reading-body-size); }
}

/* Same primary action colour and corner detail as the top page. */
.btn { font-size: 14px; }
.btn-primary { font-size: 15px; }
.btn-primary.is-sm { font-size: 13px; }
.btn-primary { position: relative; background: var(--booking-fill); box-shadow: none; }
.btn-primary:hover { background: var(--booking-fill-hover); box-shadow: none; }
.btn-primary:active { background: var(--booking-fill-active); }
.btn:focus-visible,
.btn-primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn::after,
.btn-primary::after {
  content: '';
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 12px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.header .btn-primary::after { width: 8px; height: 8px; right: 4px; bottom: 4px; }

/* Decorative layers only; no new content wrappers, layout or animation. */
:is(.hero, .strengths, .cases, .voice, .flow, .recruit) {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
:is(.hero-inner, .strengths-inner, .cases-inner, .voice-inner, .flow-inner, .recruit-inner) {
  position: relative;
  z-index: 1;
}
:is(.hero, .strengths, .cases, .voice, .recruit)::after,
.flow::before {
  content: '';
  position: absolute;
  display: block;
  box-sizing: border-box;
  inset: auto;
  border: 0;
  border-radius: 0;
  filter: none;
  background: none;
  pointer-events: none;
  z-index: 0;
}
/* Broad surface behind the existing salon photo; keep the copy column quiet. */
.hero::after {
  width: 72%;
  height: 150%;
  top: -30%;
  right: -25%;
  border-radius: 50%;
  transform: rotate(-22deg);
  background: rgba(var(--section-shape-rgb), .10);
}
/* Replaces the old blurred cloud with the top page's shallow sweep. */
.strengths::after {
  width: min(112vw, 1600px);
  height: clamp(260px, 30vw, 440px);
  right: -24%;
  bottom: -15%;
  border-top: clamp(24px, 3vw, 42px) solid rgba(var(--section-shape-rgb), .11);
  border-radius: 50%;
  transform: rotate(-10deg);
}
:is(.cases, .voice)::after,
.flow::before {
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.cases::after {
  width: 100%;
  height: clamp(170px, 16.67vw, 240px);
  top: 0;
  right: 0;
  background: rgba(var(--section-shape-rgb), .16);
  --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 240' preserveAspectRatio='none'%3E%3Cpath d='M780-70C920 92 1240 238 1510 48L1510 120C1170 301 893 104 714-70Z'/%3E%3C/svg%3E");
  -webkit-mask-image: var(--shape);
  mask-image: var(--shape);
}
.voice::after {
  width: 100%;
  height: clamp(260px, 27vw, 380px);
  left: 0;
  bottom: -24px;
  background: rgba(var(--section-shape-rgb), .18);
  --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 380' preserveAspectRatio='none'%3E%3Cpath d='M-140 120C190 10 420 350 835 230S1230 90 1590 185L1590 265C1210 143 1120 222 850 288S200 114-140 202Z'/%3E%3Cpath opacity='.45' d='M-140 224C200 119 432 423 874 306S1240 185 1590 285L1590 327C1230 221 1144 295 888 342S206 177-140 263Z'/%3E%3C/svg%3E");
  -webkit-mask-image: var(--shape);
  mask-image: var(--shape);
}
.flow::before {
  inset: 0;
  background: rgba(var(--section-shape-rgb), .24);
  --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 1200' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='black'%3E%3Cpath d='M-180 265C85 15 315 85 540 185S1060 400 1610 150' stroke-width='42' opacity='.32'/%3E%3Cpath d='M-180 235C85-15 315 55 540 155S1060 370 1610 120' stroke-width='1.3' opacity='.8'/%3E%3Cpath d='M-180 300C85 50 315 120 540 220S1060 435 1610 185' stroke-width='1' opacity='.45'/%3E%3Cpath d='M-180 770C150 530 390 910 795 750S1220 570 1620 870' stroke-width='54' opacity='.34'/%3E%3Cpath d='M-180 731C150 491 390 871 795 711S1220 531 1620 831' stroke-width='1.4' opacity='.85'/%3E%3Cpath d='M-180 813C150 573 390 953 795 793S1220 613 1620 913' stroke-width='1' opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: var(--shape);
  mask-image: var(--shape);
}
.recruit::after {
  width: clamp(560px, 68vw, 1050px);
  height: clamp(300px, 44vw, 600px);
  right: -8%;
  bottom: -90px;
  border-radius: 60% 0 0 0 / 90% 0 0 0;
  background: rgba(var(--section-shape-rgb), .10);
}
@media (width <= 767px) {
  :root { --reading-body-size: 15px; }
  .hero-head h1 { font-size: var(--fz-heading); }
  .hero::after { width: 110%; height: 64%; top: 10%; right: -64%; }
  .strengths::after {
    width: 820px;
    height: 300px;
    right: -560px;
    bottom: 12%;
    border-top-width: 24px;
    transform: rotate(-18deg);
  }
  .cases::after { width: 135%; height: 170px; right: -35%; top: -12px; }
  .voice::after {
    height: 360px;
    --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 380' preserveAspectRatio='none'%3E%3Cpath d='M-95 83C61-22 128 266 276 207S407 110 480 153L480 214C382 166 365 239 283 262S28 71-95 154Z'/%3E%3Cpath opacity='.45' d='M-95 177C49 98 134 342 301 279S411 205 480 254L480 297C390 248 379 303 306 320S35 146-95 222Z'/%3E%3C/svg%3E");
  }
  .flow::before {
    --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 760' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='black'%3E%3Cpath d='M-90 240C15 70 315 95 410 275S260 525 100 535S-20 655 40 820' stroke-width='30' opacity='.34'/%3E%3Cpath d='M-112 226C-7 56 293 81 388 261S238 511 78 521S-42 641 18 806' stroke-width='1.2' opacity='.85'/%3E%3Cpath d='M-65 255C40 85 340 110 435 290S285 540 125 550S5 670 65 835' stroke-width='1' opacity='.45'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-size: 100% 1100px;
    mask-size: 100% 1100px;
  }
  .recruit::after { width: 118%; height: 260px; right: -20%; bottom: -50px; }
}


/* One recruitment campaign: shared background, left-aligned message and
   original staff photography. No portrait card, caption strip or word marker. */
html .recruit.recruit--creative {
  --recruit-surface: color-mix(in srgb, var(--paper) 84%, var(--accent-soft));
  --recruit-fz-title: clamp(28px, 2.6vw, 36px);
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 6vw, 88px) var(--pad-x);
  overflow: clip;
}
html .recruit.recruit--creative::before,
html .recruit.recruit--creative::after { content: none; }

.recruit-creative-backdrop {
  position: absolute;
  z-index: 0;
  inset: 24% -10% 0;
  border-radius: 50% 50% 0 0 / 16% 26% 0 0;
  background: var(--recruit-surface);
  pointer-events: none;
}
.recruit-creative-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  max-width: var(--w-main);
  margin-inline: auto;
}
.recruit-creative-inner > * { min-width: 0; }
.recruit-creative-content { padding-inline-start: clamp(24px, 3vw, 40px); }
html .recruit-creative-head { text-align: left; }
html .recruit-creative-head .recruit-creative-title {
  margin-top: 24px;
  font-size: var(--recruit-fz-title);
  font-weight: 500;
  line-height: 1.5;
  color: var(--accent);
  text-wrap: balance;
}
.recruit-creative-callout {
  position: relative;
  display: block;
  width: fit-content;
  font-size: inherit;
}
.recruit-creative-callout::before,
.recruit-creative-callout::after {
  content: '';
  position: absolute;
  top: .3em;
  width: 10px;
  height: 28px;
  border-inline: 2px solid var(--accent);
  transform: rotate(-28deg);
}
.recruit-creative-callout::before { left: -28px; }
.recruit-creative-callout::after { right: -28px; transform: rotate(28deg); }
.recruit-creative-profession { display: block; margin-top: 4px; font-size: inherit; }
.recruit-creative-description {
  margin-top: 20px;
  color: var(--ink);
  font-size: var(--fz-14);
  font-weight: 400;
  line-height: 1.9;
  text-wrap: pretty;
}
.recruit-creative-description span { display: block; }
.recruit-creative-action { margin-top: 28px; text-align: left; }
.recruit-creative-action .btn-primary {
  width: min(100%, 280px);
  min-width: 0;
  min-height: 56px;
  padding-inline: 24px;
  box-shadow: none;
  transition: none;
}
.recruit-creative-action .btn-primary:hover { box-shadow: none; }
.recruit-creative-action .btn-primary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.recruit-creative-visual {
  align-self: end;
  justify-self: start;
  width: 100%;
  max-width: 520px;
  margin: 0;
  min-width: 0;
}
/* Fade only the existing cutout's hem; keep faces and most of the hands opaque. */
.recruit-creative-visual img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 97%);
}

@media (width <= 1023px) {
  html .recruit.recruit--creative { --recruit-fz-title: clamp(24px, 4.2vw, 32px); }
  .recruit-creative-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'head' 'description' 'visual' 'action';
    max-width: 440px;
    row-gap: 20px;
  }
  .recruit-creative-content { display: contents; }
  .recruit-creative-head { grid-area: head; }
  .recruit-creative-description { grid-area: description; margin-top: 0; }
  .recruit-creative-visual { grid-area: visual; justify-self: center; }
  .recruit-creative-action { grid-area: action; margin-top: 0; }
  .recruit-creative-backdrop { top: 43%; border-radius: 50% 50% 0 0 / 14% 22% 0 0; }
  .recruit-creative-action .btn-primary { width: 100%; }
}

@media (width <= 767px) {
  html .recruit.recruit--creative {
    --recruit-fz-title: clamp(22px, 6.6vw, 28px);
    padding-block: 56px;
  }
  .recruit-creative-inner { max-width: 420px; row-gap: 16px; }
  html .recruit-creative-head .recruit-creative-title { margin-top: 16px; }
  .recruit-creative-head,
  .recruit-creative-description { padding-inline: 28px 0; }
  .recruit-creative-callout::before,
  .recruit-creative-callout::after { width: 8px; height: 24px; }
  .recruit-creative-callout::before { left: -20px; }
  .recruit-creative-callout::after { right: -24px; }
  .recruit-creative-description { font-size: var(--fz-13); }
  .recruit-creative-visual { margin-top: 8px; }
}



/* A beauty-editorial sequence, not six boxed cards.
   Photo placement leads the eye; compact numbers only identify the sequence. */
.flow--direction {
  --flow-label-color: color-mix(in srgb, var(--accent) 88%, var(--ink));
  --flow-column-gap: 40px;
}
/* Static, open-ended ribbons suggest continuity without literal arrows.
   The mask follows the site palette; it never covers or intercepts the content. */
html .flow.flow--direction::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(var(--theme-wave-rgb, 224, 144, 167), .24);
  opacity: 1;
  pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%201200%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%3E%3Cpath%20d%3D%22M-180%20265C85%2015%20315%2085%20540%20185S1060%20400%201610%20150%22%20stroke-width%3D%2242%22%20opacity%3D%22.32%22%2F%3E%3Cpath%20d%3D%22M-180%20235C85-15%20315%2055%20540%20155S1060%20370%201610%20120%22%20stroke-width%3D%221.3%22%20opacity%3D%22.8%22%2F%3E%3Cpath%20d%3D%22M-180%20300C85%2050%20315%20120%20540%20220S1060%20435%201610%20185%22%20stroke-width%3D%221%22%20opacity%3D%22.45%22%2F%3E%3Cpath%20d%3D%22M-180%20770C150%20530%20390%20910%20795%20750S1220%20570%201620%20870%22%20stroke-width%3D%2254%22%20opacity%3D%22.34%22%2F%3E%3Cpath%20d%3D%22M-180%20731C150%20491%20390%20871%20795%20711S1220%20531%201620%20831%22%20stroke-width%3D%221.4%22%20opacity%3D%22.85%22%2F%3E%3Cpath%20d%3D%22M-180%20813C150%20573%20390%20953%20795%20793S1220%20613%201620%20913%22%20stroke-width%3D%221%22%20opacity%3D%22.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%201200%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%3E%3Cpath%20d%3D%22M-180%20265C85%2015%20315%2085%20540%20185S1060%20400%201610%20150%22%20stroke-width%3D%2242%22%20opacity%3D%22.32%22%2F%3E%3Cpath%20d%3D%22M-180%20235C85-15%20315%2055%20540%20155S1060%20370%201610%20120%22%20stroke-width%3D%221.3%22%20opacity%3D%22.8%22%2F%3E%3Cpath%20d%3D%22M-180%20300C85%2050%20315%20120%20540%20220S1060%20435%201610%20185%22%20stroke-width%3D%221%22%20opacity%3D%22.45%22%2F%3E%3Cpath%20d%3D%22M-180%20770C150%20530%20390%20910%20795%20750S1220%20570%201620%20870%22%20stroke-width%3D%2254%22%20opacity%3D%22.34%22%2F%3E%3Cpath%20d%3D%22M-180%20731C150%20491%20390%20871%20795%20711S1220%20531%201620%20831%22%20stroke-width%3D%221.4%22%20opacity%3D%22.85%22%2F%3E%3Cpath%20d%3D%22M-180%20813C150%20573%20390%20953%20795%20793S1220%20613%201620%20913%22%20stroke-width%3D%221%22%20opacity%3D%22.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.flow--direction .flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 48px var(--flow-column-gap);
  max-width: var(--w-main);
  margin-inline: auto;
}
.flow--direction .flow-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'photo' 'body';
  grid-template-rows: auto auto;
  align-content: start;
  gap: 0;
  min-width: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.flow--direction .flow-stage {
  grid-area: stage;
  display: flex;
  align-items: baseline;
  align-self: baseline;
  gap: 6px;
  color: var(--flow-label-color);
}
.flow--direction .flow-step .flow-num {
  display: block;
  color: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}
.flow--direction .flow-photo::before,
.flow--direction .flow-photo::after,
.flow--direction .flow-step::after {
  /* Direction comes from the staggered photos and the next-slide peek. */
  content: none;
}
.flow--direction .flow-photo {
  position: relative;
  grid-area: photo;
  align-self: start;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: transparent;
}
.flow--direction .flow-photo img {
  /* Match the same four-corner treatment as other photographs on the page. */
  border-radius: var(--radius-media);
}
.flow--direction .flow-body {
  grid-area: body;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: 'stage title' 'copy copy';
  align-content: start;
  align-items: baseline;
  gap: 12px 10px;
  padding: 20px 0 0;
  min-width: 0;
}
.flow--direction .flow-body h3 {
  grid-area: title;
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}
.flow--direction .flow-body p {
  grid-area: copy;
  margin: 0;
  font-size: var(--fz-14);
  line-height: 1.8;
  text-wrap: pretty;
}

@media (width >= 768px) {
  .flow--direction .flow-step:nth-child(3n + 2) { margin-top: 24px; }
  .flow--direction .flow-step:nth-child(3n) { margin-top: 48px; }
}

@media (768px <= width <= 1099px) {
  .flow--direction { --flow-column-gap: 28px; }
}

@media (width <= 767px) {
  .flow--direction { --flow-column-gap: 32px; }
  html .flow.flow--direction::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20390%20760%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%3E%3Cpath%20d%3D%22M-90%20240C15%2070%20315%2095%20410%20275S260%20525%20100%20535S-20%20655%2040%20820%22%20stroke-width%3D%2230%22%20opacity%3D%22.34%22%2F%3E%3Cpath%20d%3D%22M-112%20226C-7%2056%20293%2081%20388%20261S238%20511%2078%20521S-42%20641%2018%20806%22%20stroke-width%3D%221.2%22%20opacity%3D%22.85%22%2F%3E%3Cpath%20d%3D%22M-65%20255C40%2085%20340%20110%20435%20290S285%20540%20125%20550S5%20670%2065%20835%22%20stroke-width%3D%221%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20390%20760%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%3E%3Cpath%20d%3D%22M-90%20240C15%2070%20315%2095%20410%20275S260%20525%20100%20535S-20%20655%2040%20820%22%20stroke-width%3D%2230%22%20opacity%3D%22.34%22%2F%3E%3Cpath%20d%3D%22M-112%20226C-7%2056%20293%2081%20388%20261S238%20511%2078%20521S-42%20641%2018%20806%22%20stroke-width%3D%221.2%22%20opacity%3D%22.85%22%2F%3E%3Cpath%20d%3D%22M-65%20255C40%2085%20340%20110%20435%20290S285%20540%20125%20550S5%20670%2065%20835%22%20stroke-width%3D%221%22%20opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    -webkit-mask-size: 100% 760px;
    mask-size: 100% 760px;
  }
  .flow--direction .flow-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    padding-top: 0;
  }

  /* Keep horizontal swipe, keyboard navigation, counter and list toggle. */
  .flow--direction.flow-ready:not(.flow-expanded) .flow-grid { gap: var(--flow-column-gap); }
  /* Only the optional list view uses a vertical sequence. */
  .flow--direction.flow-expanded .flow-grid,
  .flow--direction:not(.flow-ready) .flow-grid { row-gap: 56px; }
}



/* Main preview: reuse the Movie carousel vocabulary, not a second control kit. */
html .flow.flow-ready .flow-controls,
html .flow:not(.flow-ready) .carousel-hint { display: none; }

@media (width <= 767px) {
  html .flow.flow-ready:not(.flow-expanded) .flow-grid {
    gap: 12px;
    margin-top: var(--sp-heading-content);
    margin-right: 0;
    padding-right: 0;
  }
  html .flow.flow-ready:not(.flow-expanded) .flow-step {
    flex: 0 0 68vw;
    width: 68vw;
  }
  /* The indicator markup, colors and sizing are shared with Movie. Width only
     changes on resize; do not animate layout or retain a compositor layer. */
  html .flow .carousel-progress-thumb {
    transition: transform 180ms ease-out;
    will-change: auto;
  }
  html .flow .carousel-swipe-arrow { animation-play-state: paused; }
  html .flow .carousel-hint.is-onscreen:not(.is-end) .carousel-swipe-arrow {
    animation-play-state: running;
  }
}

@media (prefers-reduced-motion: reduce) {
  html .flow .carousel-swipe-arrow { animation: none; }
  html .flow .carousel-progress-thumb,
  html .flow .carousel-swipe { transition: none; }
}



/* Read the experience first, the full quote second, and its source last.
   Reuse the existing typography, palette and restrained card treatment. */
html .voice .voice-card { min-width: 0; }
html .voice .voice-bubble {
  height: 100%;
  gap: 0;
  padding: clamp(24px, 2vw, 28px);
  box-shadow: none;
  transform: none;
  transition: none;
}
html .voice .voice-card:hover .voice-bubble {
  transform: none;
  box-shadow: none;
}
html .voice .voice-headline {
  margin: 12px 0 0;
  font-size: clamp(18px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  text-wrap: balance;
}
html .voice .voice-copy { margin-top: 20px; margin-bottom: 20px; }
html .voice .voice-body { text-wrap: pretty; }
html .voice .voice-persona {
  margin-top: auto;
  padding: 16px 0 0;
  border-top: 1px solid var(--hairline);
}
html .voice .voice-source {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  transition: none;
}
html .voice .voice-source:hover { opacity: 1; }
html .voice .voice-store { font-size: var(--fz-14); font-weight: 500; }
html .voice .voice-platform {
  color: var(--ink-note);
  font-size: var(--fz-12);
  text-decoration: underline;
  text-underline-offset: 4px;
}
html .voice .voice-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--fz-13);
  cursor: pointer;
}
html .voice .voice-toggle-label { text-decoration: underline; text-underline-offset: 4px; }
html .voice .voice-toggle-icon { font-size: 20px; line-height: 1; }
html .voice :is(.voice-toggle, .voice-source):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
html .voice .voice-toggle[hidden],
html .voice .voice-remainder[hidden] { display: none; }

@media (width <= 767px) {
  html .voice .voice-grid { gap: 20px; }
  html .voice .voice-copy { margin-top: 12px; margin-bottom: 12px; }
  html .voice .voice-persona { padding-top: 12px; }
  html .voice .voice-source { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
  html .voice .voice-body[data-collapsed="true"]::after { content: "…"; }
}


/* Host adapters for approved top-page Recruit, Flow, Voice and Strengths.
   Load after the extracted top component CSS. Preserve store content. */
:root { --sp-heading-content: clamp(40px, 4vw, 56px); }

/* The top's editorial Strengths layout, adapted to the wrapper-free WP markup.
   Keep the alternating store section surface and the existing photo assets. */
.strengths { --w-main: 1200px; font-size: 15px; line-height: 1.5; letter-spacing: var(--ls); }
.strengths .sec-head { text-align: left; }
.strengths-grid { margin-top: var(--sp-heading-content); }
.strength-card h3 { margin-top: 20px; }
.strength-card:not(:nth-child(3)) .strength-photo img {
  filter: url('#photo-tone-treatment') contrast(1.02) saturate(.97);
}
.strength-card:nth-child(3) .strength-photo img {
  filter: url('#staff-color-adjustment') brightness(1.015) contrast(1.03) saturate(.94);
}
@media (width >= 1100px) {
  .strengths-inner {
    --rhythm-rail: clamp(256px, 21vw, 304px);
    display: grid;
    grid-template-columns: var(--rhythm-rail) minmax(0, 1fr);
    column-gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }
  .strengths-inner > * { min-width: 0; }
  .strengths-grid { margin-top: 0; gap: clamp(20px, 1.8vw, 28px); }
  .strengths .sec-head { padding-top: 4px; }
  .strengths-brand { display: block; }
}
@media (width <= 767px) {
  .strengths { --sp-heading-content: 32px; }
  .strengths-grid { gap: 32px; }
  .strength-card {
    display: grid;
    grid-template-columns: clamp(88px, 27vw, 112px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 14px 18px;
  }
  .strength-card > .card-lift { display: contents; }
  .strength-card .strength-photo { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
  .strength-card h3 { grid-column: 2; grid-row: 1; margin: 0; }
  .strength-card p { grid-column: 1 / -1; grid-row: 2; margin: 0; }
}

/* A light directory instead of three boxed cards. Each ruled row is one link. */
.nearby-inner { max-width: 1100px; }
.nearby-grid {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--sp-heading-content);
  border-top: 1px solid rgba(51, 51, 51, .20);
}
.nearby-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(200px, .8fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 32px;
  padding: 28px 12px;
  border: 0;
  border-bottom: 1px solid rgba(51, 51, 51, .20);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
}
.nearby-card > .card-lift { display: contents; }
.nearby-card h3 { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.6; text-wrap: pretty; }
.nearby-brand { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 400; color: var(--ink-note); }
.nearby-card p { margin: 0; line-height: 1.75; text-wrap: pretty; }
.nearby-card .nearby-more {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  transition: none;
}
.nearby-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(51, 51, 51, .32);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}
.nearby-card:focus-visible { outline: 2px solid var(--booking-fill); outline-offset: 4px; }
@media (hover: hover) {
  .nearby-card:hover { background: var(--tint-pink); }
  .nearby-card:hover .nearby-arrow { border-color: var(--booking-fill); background: var(--booking-fill); color: var(--paper); }
}
@media (width <= 767px) {
  .nearby-grid { margin-top: 32px; }
  .nearby-card {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 10px 20px;
    padding: 24px 4px;
  }
  .nearby-card h3 { grid-column: 1; grid-row: 1; font-size: 20px; }
  .nearby-card p { grid-column: 1; grid-row: 2; }
  .nearby-card .nearby-more { grid-column: 2; grid-row: 1 / 3; }
  .nearby-more-label { display: none; }
}

.flow--direction,
.recruit--creative,
.voice { --w-main: 1200px; font-size: 15px; line-height: 1.5; letter-spacing: var(--ls); }
.flow-grid { margin-top: var(--sp-heading-content); }
html .recruit--creative { text-align: start; background: var(--section-beige); }
html .recruit-creative-action .btn-primary { background: var(--accent-grad); }
html .recruit-creative-action .btn-primary:hover { background: var(--accent-grad-hover); }
html .recruit-creative-description { font-size: var(--reading-body-size); }
html .flow--direction .flow-body h3 { font-size: 18px; }
html .flow--direction .flow-body p { font-size: var(--reading-body-size); }
.flow--direction .flow-body p { letter-spacing: var(--ls-tight); }
html .recruit-creative-visual img { filter: url('#photo-tone-staff'); }
html .flow--direction .flow-photo img { filter: url('#photo-tone-treatment') contrast(1.02) saturate(.97); }
.flow-controls,
.carousel-hint { display: none; }

/* The same flat review cards, quote hierarchy and source treatment as the top. */
.voice-grid { margin-top: var(--sp-heading-content); }
.voice-card { gap: 16px; }
.voice-bubble { border-radius: var(--radius-media); }
.voice-bubble::before,
.voice-bubble::after { content: none; }
.voice-cta { margin-top: 48px; text-align: center; }
@media (width >= 768px) {
  .voice-bubble { flex: 1; }
}

/* Restore the WordPress FAQ presentation and retain native details behaviour. */
.faq { padding: clamp(56px, 8vh, 88px) var(--pad-x); }
.faq-inner { max-width: 880px; margin-inline: auto; }
.faq-list { margin-top: var(--sp-heading-content); }
.faq-item { margin: 0; }
.faq-item summary {
  position: relative;
  padding: 20px 40px 20px 0;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  list-style: none;
  font-size: var(--reading-body-size);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--ls);
  text-wrap: pretty;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  content: '+';
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  color: var(--accent);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq-a { padding-bottom: 20px; }
.faq-a p {
  margin-top: 16px;
  font-size: var(--reading-body-size);
  line-height: 1.75;
  text-wrap: pretty;
}

/* The top's existing responsive track and shared Movie-style swipe hint. */
@media (width <= 767px) {
  .flow--direction { --sp-heading-content: 32px; }
  .voice { --sp-heading-content: 32px; }
  html .voice .voice-grid { gap: 16px; }
  html .voice .voice-bubble { padding: 20px; }
  html .voice .voice-headline { margin-top: 8px; }
  html .voice .voice-copy { margin-top: 8px; margin-bottom: 0; }
  html .voice .voice-toggle { margin-top: 0; }
  html .voice .voice-persona { padding-top: 4px; }
  html .voice .voice-source { gap: 2px 10px; }
  html .voice .voice-cta { margin-top: 32px; }
  .voice-cta .btn-primary { width: 100%; min-width: 0; }
  .faq { padding-block: 56px; }
  .flow-ready:not(.flow-expanded) .flow-grid {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .flow-ready:not(.flow-expanded) .flow-grid::-webkit-scrollbar { display: none; }
  .flow-ready:not(.flow-expanded) .flow-step { scroll-snap-align: start; }
  .flow-ready .flow-grid:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
  html.js .flow-ready .flow-grid,
  html.js .flow-ready .flow-step { opacity: 1; transform: none; transition: none; }
  .carousel-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 0 var(--pad-x);
  }
  .carousel-progress {
    position: relative;
    width: min(200px, 60%);
    height: 2px;
    background: var(--hairline);
    border-radius: 2px;
    overflow: hidden;
  }
  .carousel-progress-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33%;
    background: var(--accent-grad);
    border-radius: 2px;
  }
  .carousel-swipe {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--fz-12);
    letter-spacing: var(--ls-label);
    color: var(--ink-soft);
    transition: opacity var(--dur-hover) ease;
  }
  .carousel-swipe-arrow {
    display: inline-block;
    animation: carousel-swipe-arrow var(--dur-decor) ease-in-out infinite;
    transform-origin: left center;
  }
  .carousel-hint.is-end .carousel-swipe { opacity: 0; }
  @keyframes carousel-swipe-arrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-ready .flow-grid { scroll-behavior: auto; }
}
