/*
Theme Name: Utatane Navi
Theme URI: https://stg.uttn.group/
Author: Utatane
Description: 全国セラピスト検索ポータル用の自作テーマ。カスタム投稿タイプ therapist / news と、エリア・体型・年齢層・施術ジャンル・特徴のタクソノミーで複合検索を行う。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4.33
License: GNU General Public License v2 or later
Text Domain: utatane
*/

/* =============================================================
   デザイントークン
   ここの値を変えるとサイト全体の見た目が切り替わります。
   （深いグリーンを基調にした、オリジナルの落ち着いた配色。
   docs/static-html/assets/style.css と同一のトークン体系）
   ============================================================= */

:root {
  /* ---- ブランドカラー（深いグリーン系） ---- */
  --brand-primary: #60856b; /* 主要CTA（ライト） */
  --brand-accent: #506b57; /* 主要CTA（ダーク） */
  --brand-dark: #203827; /* 最も濃いグリーン */
  --brand-deep: radial-gradient(at 0% 0%, rgba(32, 56, 39, 1) 0px, transparent 125%), radial-gradient(at 100% 100%, rgb(101, 129, 109) 0px, transparent 115%); /* グリーングラデーション */
  --brand-uplift: #2f5744; /* 補助の中濃グリーン（装飾用に予約） */
  --brand-tint: #e9edea; /* 淡いタグ・ライト面 */
  --brand-highlight: #f2f7f3;
  --brand-badge: #6c9e79;
  --active-badge: #5b8266;
  --tour-badge: linear-gradient(to right, rgba(13, 90, 169, 0.76), rgba(19, 132, 186, 0.76));
  --new-badge: rgba(241, 52, 0, 0.76);
  --star-rating: #f5a623; /* 口コミリンクの星アイコン */

  /* ---- サーフェス（面）の色 ---- */
  --surface-page: #f8faf9; /* ページ全体のウォームオフホワイト */
  --surface-card: #ffffff; /* カード・モーダル */
  --surface-muted: #f1f3f1; /* セクション区切りの淡いクリーム */
  --surface-cool: #f7f7f4; /* ドロップダウン等の静かな面 */
  --surface-highlight-tint: #fbfffc; /* ハイライト系の淡い面 */

  /* ---- テキスト ---- */
  --text-main: #040d0a;
  --text-soft: #686e6c;
  --text-on-dark: rgba(255, 255, 255, 1);
  --text-on-dark-soft: rgba(255, 255, 255, 0.72);
  --text-light: #f2f7f3; /* フッター見出し */

  /* ---- 線・状態 ---- */
  --border: #d8e1da;
  --border-input: #d8e1da;
  --error: #c0392b;

  /* ---- 角丸 ---- */
  --radius-pill: 50px; /* ボタンは全ピル */
  --radius-card: 14px;
  --radius-sm: 8px;

  /* ---- 影（複数レイヤーの弱いシャドウで柔らかい浮遊感を出す） ---- */
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-nav: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-float: 0 6px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.04);

  /* ---- タイポグラフィ ---- */
  --font-sans: -apple-system, BlinkMacSystemFont, Helvetica, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Roboto, 'Noto Sans JP', 'Yu Gothic', Arial, sans-serif;
  --tracking: -0.01em;
  --tracking-wide: 0.15em;

  /* ---- 余白スケール（1.6rem ≒ 16px 基準） ---- */
  --space-1: 0.4rem;
  --space-2: 0.8rem;
  --space-2hf: 1rem;
  --space-3: 1.6rem;
  --space-4: 2.4rem;
  --space-5: 4rem;
  --space-6: 6.4rem;

  /* ---- レイアウト ---- */
  --maxw: 1180px;
  --nav-h: 72px;

  /* ---- モーション ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 10px基準（rem計算をしやすく） */
html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.7;
  letter-spacing: var(--tracking);
  color: var(--text-main);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  animation: page-fade-in 0.4s ease forwards;
}
body.single-therapist {
  background: #fff;
}
@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body.is-transitioning-out {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

/* ===== 汎用ラッパ ===== */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.section {
  padding: var(--space-6) 0;
}
.section--tight {
  padding: var(--space-5) 0;
}
.center {
  text-align: center;
}

/* ===== 見出し ===== */
.eyebrow {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand-primary);
  margin: 0 0 var(--space-2);
}
.eyebrow--ondark {
  color: var(--brand-highlight);
}

h1,
h2,
h3 {
  letter-spacing: var(--tracking);
  line-height: 1.5;
  margin: 0;
}
.h-lead {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  font-weight: 600;
  color: var(--brand-primary);
}
.h-sec {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 600;
  color: var(--brand-accent);
}
.h-sub {
  font-size: clamp(1.6rem, 2.2vw, 1.8rem);
  font-weight: 600;
  color: var(--text-main);
}
.lead {
  line-height: 1.6;
}
.profile__main .lead {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  color: var(--text-main);
  line-height: 1.6;
  font-weight: bold;
}
.muted {
  color: var(--text-soft);
}

/* ===== ボタン（ホバーでふわっと浮き上がる） ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: var(--tracking);
  padding: 1.1rem 2.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  line-height: 1.2;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn__external-icon {
  flex-shrink: 0;
}
.btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: var(--shadow-card);
}
.btn--primary {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.btn--primary:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn--outline {
  background: transparent;
  color: var(--brand-accent);
  border-color: var(--brand-accent);
}
.btn--outline:hover {
  background: #fff;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn--on-dark {
  background: #fff;
  color: var(--brand-accent);
  border-color: #fff;
}
.btn--on-dark:hover {
  background: var(--surface-highlight-tint);
}
.btn--ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}
.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn--sm {
  font-size: 1.3rem;
  padding: 0.7rem 1.6rem;
}

/* ===== 予約注記バー ===== */
.notice-bar {
  background: var(--active-badge);
  color: var(--text-on-dark-soft);
  font-size: 1.3rem;
  text-align: center;
  padding: 0.8rem var(--space-3);
}
.notice-bar strong {
  color: #fff;
  font-weight: 600;
}
@media (max-width: 498px) {
  .notice-bar {
    font-size: 2.9vw;
  }
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-card);
  box-shadow: var(--shadow-nav);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--nav-h);
  padding: 0 var(--space-3);
}
@media (min-width: 1149px) {
  .nav {
    max-width: 1180px;
    margin: 0 auto;
  }
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.brand__mark {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-primary);
}
.brand__sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  letter-spacing: 0.1em;
}
.custom-logo-link {
  display: block;
  line-height: 0;
}
.custom-logo-link img {
  max-height: 6.2rem;
  width: auto;
  display: block;
  transition: max-height 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.site-header.is-scrolled .custom-logo-link img {
  max-height: 4.4rem;
}
.nav__links {
  display: flex;
  gap: var(--space-3);
  margin-left: auto;
  align-items: center;
}
.nav__links a.menu-item {
  color: var(--text-main);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0.6rem 0.2rem;
  position: relative;
  text-align: center;
  transition: color 0.24s ease;
}
.nav__links a:hover {
  color: var(--brand-primary);
}
.nav__links a .en {
  display: block;
  font-size: 1.05rem;
  color: var(--brand-primary);
  letter-spacing: 0.12em;
  font-weight: 700;
}
.nav__links a.nav__cta {
  text-align: center;
  margin-left: var(--space-2);
  padding: 1rem 1.8rem;
  font-size: 1.4rem;
  color: #fff;
}

.nav__mobile-actions {
  display: none;
}
.nav__toggle {
  display: none;
  background: var(--surface-muted);
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav__icon-link {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--brand-deep);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  cursor: pointer;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--brand-deep);
  display: block;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* ハンバーガー→✗ アニメーション（チェックボックスの状態に連動、JS不要） */
.mobile-toggle:checked ~ .nav .nav__toggle span:nth-child(1) {
  transform: translate3d(0, 7px, 0) rotate(45deg);
}
.mobile-toggle:checked ~ .nav .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle:checked ~ .nav .nav__toggle span:nth-child(3) {
  transform: translate3d(0, -7px, 0) rotate(-45deg);
}

/* モバイルメニュー（CSSのみ：チェックボックスで開閉。ページ遷移には影響しない） */
.mobile-toggle {
  display: none;
}
/* ドロワーを開いている間は背面ページのスクロールをロックする */
body:has(.mobile-toggle:checked) {
  overflow: hidden;
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  max-height: calc(100dvh - 6rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface-cool);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-nav);
  padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
}
.mobile-menu a {
  display: block;
  padding: 1.2rem var(--space-3);
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a .en {
  color: var(--brand-primary);
  font-size: 1.1rem;
  margin-right: 0.8rem;
  letter-spacing: 0.1em;
}
.mobile-menu__group {
  padding: 1rem var(--space-3);
  font-size: 1.2rem;
  color: var(--text-soft);
  background: var(--surface-muted);
  letter-spacing: 0.1em;
}

/* ===== ファーストビュー ===== */
.hero {
  position: relative;
  background: #fff;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #fafffd;
  background-image: radial-gradient(circle at 65.44% 45.18%, #fbfcf2ff 0%, #fbfcf2d7 11.32%, #fbfcf280 22.65%, #fbfcf228 33.97%, #fbfcf200 45.3%), radial-gradient(circle at 28.2% 73.9%, #fafffdff 0%, #fafffdd7 14.21%, #fafffd80 28.42%, #fafffd28 42.64%, #fafffd00 56.85%),
    radial-gradient(circle at 52.5% 19.29%, #e9f2ecff 0%, #e9f2ecd7 17.19%, #e9f2ec80 34.38%, #e9f2ec28 51.56%, #e9f2ec00 68.75%), radial-gradient(circle at 79.87% 84.43%, #ebe9e4ff 0%, #ebe9e4d7 20.07%, #ebe9e480 40.15%, #ebe9e428 60.22%, #ebe9e400 80.3%);
  width: calc(100% - 236px);
  height: 444px;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-6) var(--space-3);
}
.hero__copy h1 {
  font-size: clamp(2.8rem, 3.9vw, 4.6rem);
  font-weight: 600;
  color: var(--brand-accent);
  line-height: 1.25;
  font-feature-settings: 'palt';
  letter-spacing: 1px;
}
.hero__copy p.sub {
  font-size: 1.8rem;
  color: var(--text-soft);
  margin: var(--space-3) 0 var(--space-4);
}
.hero__cta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.hero__media {
  position: relative;
}

/* ヒーロー画像コラージュ（縦長3枚を横並び・上下にずらして配置、読み込み時に一度だけフェードイン） */
.hero__collage {
  position: relative;
  height: 380px;
}
.hero__collage-img {
  position: absolute;
  width: 160px;
  height: 420px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  object-position: 38% 40%;
  opacity: 0;
  animation: hero-fade-up 0.6s var(--ease-out) forwards;
}
.hero__collage-img--main {
  top: -24px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  animation-name: hero-fade-up-center;
  animation-delay: 0.1s;
  object-position: bottom;
  object-position: 60% 10%;
}
.hero__collage-img--sub {
  right: 0;
  top: 10px;
  z-index: 1;
  animation-delay: 0.3s;
}
.hero__collage-img--small {
  left: 0;
  top: -6px;
  z-index: 1;
  animation-delay: 0.5s;
}
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-fade-up-center {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__collage-img {
    animation: none !important;
    opacity: 1;
    transform: translateY(0);
  }
  .hero__collage-img--main {
    transform: translateX(-50%);
  }
  .fade-in-up,
  .char {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  body {
    animation: none !important;
  }
  body.is-transitioning-out {
    transition: none !important;
    opacity: 1 !important;
  }
}

/* ===== スクロール連動フェードイン（TOPページ専用） ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 見出し・ヒーローの1文字スライドアップ（TOPページ専用） ===== */
.char-line {
  display: inline-flex;
  flex-wrap: wrap;
}
.char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.char {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.heading-slide.is-visible .char {
  transform: translateY(0);
}
.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;
}

/* 安心ポイント（PC4カラム・スマホ2カラム。ボタンではないため影は薄めでホバー変化なし） */
.merits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.merit {
  padding: var(--space-3) var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}
.merit__image {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  flex-shrink: 0;
  background-image: radial-gradient(rgb(255, 255, 255), rgb(209, 219, 212));
  padding: 1.8rem;
}
.merit__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.merit__text {
  font-size: 1.45rem;
  line-height: 1.4;
  margin: 0;
}
.merit__strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-main);
}
.merit__desc {
  font-size: 1.45rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}

/* ===== 検索ボックス ===== */
.searchbox {
  background: var(--surface-card);
}
.searchbox__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-5) var(--space-3);
}
.searchbox h2 {
  color: var(--brand-accent);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.search-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.search-row input,
.search-row select {
  font-family: inherit;
  font-size: 1.5rem;
  padding: 1.2rem var(--space-3);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  color: var(--text-main);
  min-width: 0;
  flex: 1 1 220px;
  transition: border-color 0.2s ease;
}
.search-row input:focus,
.search-row select:focus {
  border-color: var(--brand-accent);
  outline: none;
}
.search-tabs {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
  flex-wrap: wrap;
}
.search-tabs a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.6rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}
.search-tabs a:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

/* ===== サービス紹介（2カラム） ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.split__media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.split--reverse .split__media {
  order: 2;
}
.prose p {
  margin: 0 0 var(--space-3);
}
.prose h3 {
  margin: var(--space-4) 0 var(--space-2);
  color: var(--brand-primary);
  font-size: 1.9rem;
}

/* ===== 重要なお知らせ ===== */
.alert {
  background: var(--surface-highlight-tint);
  border: 1px solid var(--brand-tint);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}
.alert h3 {
  color: var(--brand-primary);
  font-size: 1.8rem;
  margin-bottom: var(--space-2);
}

/* ===== 5つのこだわり ===== */
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}
.point {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.point:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.point__no {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-accent);
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.point__media {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.point h3 {
  color: #fff;
  margin-bottom: var(--space-1);
  background: var(--brand-accent);
  padding: var(--space-3) var(--space-4);
}
.point p {
  margin: 0;
  padding: var(--space-3) var(--space-4) var(--space-4);
}

/* ===== 応募ステップ（縦型タイムライン） ===== */
.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.timeline__item {
  position: relative;
  display: flex;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
}
.timeline__item:last-child {
  padding-bottom: 0;
}
.timeline__marker {
  position: relative;
  flex: none;
  display: flex;
  justify-content: center;
}
.timeline__item:not(:last-child) .timeline__marker::after {
  content: '';
  position: absolute;
  top: 3.8rem;
  bottom: calc(var(--space-6) * -1);
  left: 50%;
  border-left: 2px double var(--border);
  transform: translateX(-50%);
}
.timeline__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.4rem;
  height: 3.8rem;
  padding: 0 var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--brand-accent);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.timeline__body {
  padding-top: 0.4rem;
}
.timeline__body h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.9rem;
  color: var(--text-main);
}
.timeline__body p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}
@media (max-width: 560px) {
  .timeline__no {
    min-width: 5.2rem;
    height: 3.2rem;
    font-size: 1.4rem;
  }
}

/* ===== 数字で見るうたたね（コンセプトページ） ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}
.stat-card {
  background: var(--surface-muted);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-5);
  text-align: left;
}
.stat-card__value {
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #406d4c 0%, #8b9b76 50%);
  background-clip: border-box;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  margin-bottom: var(--space-5);
}
.stat-card__label {
  font-size: 1.86rem;
  font-weight: 600;
  margin-top: 0.4rem;
}
.stat-card__note {
  font-size: 1.38rem;
  margin: 0.8rem 0 0;
  line-height: 1.5;
}

/* ===== アクセス（個室情報カード） ===== */
.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
  max-width: 760px;
  margin: 0 auto;
}
.access-card {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
}
.access-card h3 {
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}
.access-card__address {
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.access-card__station {
  color: var(--text-soft);
  font-size: 1.4rem;
  margin-bottom: var(--space-3);
}

/* ===== GMPD特集：横流れ画像ギャラリー ===== */
.gmpd-marquee {
  overflow: hidden;
  width: 100%;
  padding: var(--space-2) 0;
}
.gmpd-marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: gmpd-marquee-scroll 32s linear infinite;
}
.gmpd-marquee:hover .gmpd-marquee__track {
  animation-play-state: paused;
}
.gmpd-marquee__item {
  flex: none;
  width: 260px;
  height: 180px;
  overflow: hidden;
}
.gmpd-marquee__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes gmpd-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gmpd-marquee__track {
    animation: none;
  }
}
@media (max-width: 520px) {
  .gmpd-marquee__item {
    width: 180px;
    height: 130px;
  }
}

/* ===== ライフスタイル別収入モデル（求人ページ） ===== */
.income-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
}
.income-card {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-4) var(--space-4);
}
.income-card__icon {
  display: block;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-3);
}
.income-card__title {
  font-size: 1.76rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: var(--space-2);
}
.income-card__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 1.3rem;
  color: var(--text-soft);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.income-card__value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin-top: var(--space-2);
}

/* ===== お客様の声（コンセプトページ） ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
}
.testimonial-card {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-4) var(--space-3);
}
.testimonial-card__quote {
  color: var(--brand-tint);
}
.testimonial-card__title {
  color: var(--brand-primary);
  margin: var(--space-2) 0 var(--space-2);
}
.testimonial-card__body {
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 var(--space-2);
}
.testimonial-card__person {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-soft);
  margin: 0;
}

/* ===== エリアマップ（PC：地図風配置） ===== */
.area-map {
  display: none;
}
@media (min-width: 835px) {
  .area-map {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    background-image: url('/wp-content/uploads/map-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .area-map__region {
    padding: var(--space-2);
  }

  /* 大まかな日本地図の位置関係に合わせた配置（北海道・札幌／東北／北陸・中部／関東／東海／中国／近畿／四国／九州／沖縄の順） */
  .area-map__region:nth-child(1) {
    grid-column: 4;
    grid-row: 1;
  }
  .area-map__region:nth-child(2) {
    grid-column: 3;
    grid-row: 3;
  }
  .area-map__region:nth-child(3) {
    grid-column: 3;
    grid-row: 4;
  }
  .area-map__region:nth-child(4) {
    grid-column: 4;
    grid-row: 4;
  }
  .area-map__region:nth-child(5) {
    grid-column: 3;
    grid-row: 5;
  }
  .area-map__region:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
  }
  .area-map__region:nth-child(7) {
    grid-column: 2;
    grid-row: 4;
  }
  .area-map__region:nth-child(8) {
    grid-column: 2;
    grid-row: 5;
  }
  .area-map__region:nth-child(9) {
    grid-column: 1;
    grid-row: 4;
  }
  .area-map__region:nth-child(10) {
    grid-column: 1;
    grid-row: 5;
  }
}
.area-map__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brand-accent);
}
.area-map__label-icon {
  flex-shrink: 0;
}
.area-map__children {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 0.8rem;
}
.area-map__children a {
  font-size: 1.4rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 40px;
  background: #fff;
  padding: 0 5px;
  font-weight: bold;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.area-map__children a:hover {
  color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-primary);
}

/* ===== エリアアコーディオン（スマホ） ===== */
.area-accordion {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (min-width: 835px) {
  .area-accordion {
    display: none;
  }
}
.area-accordion__item {
  background: var(--surface-card);
  overflow: hidden;
}
.area-accordion__item:not(:first-of-type) {
  border-top: 1px solid var(--border);
}
.area-accordion__item summary {
  cursor: pointer;
  padding: var(--space-2hf) var(--space-4);
  font-size: 1.6rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
}
.area-accordion__item summary::-webkit-details-marker {
  display: none;
}
.area-accordion__item summary a {
  position: relative;
  z-index: 1;
  color: var(--brand-primary);
}
.area-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s var(--ease-out);
}
.area-accordion__item[open] .area-accordion__panel {
  grid-template-rows: 1fr;
}
.area-accordion__panel > .area-accordion__grid {
  min-height: 0;
}
.area-accordion__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: calc(100% + 1px);
  margin-bottom: -1px;
}
.area-accordion__grid a {
  padding: 0.8rem 0;
  font-size: 1.4rem;
  color: var(--text-soft);
  background: var(--surface-page);
  border: 1px solid var(--border);
  text-align: center;
  margin: -1px 0 0 -1px;
  font-weight: 600;
}
.area-accordion__item--single {
  padding: var(--space-2hf) var(--space-4);
  font-size: 1.6rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.area-accordion__item--single a {
  color: var(--brand-primary);
}

/* ===== セラピストカード ===== */
.therapist-group {
  margin-bottom: var(--space-5);
}
.therapist-group__head {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--brand-tint);
}
.therapist-group__en {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
}
.therapist-group__ja {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: bold;
  color: var(--text-soft);
}
.therapist-group__all-link {
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.6rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
  white-space: nowrap;
}
.therapist-group__all-link:hover {
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}
.therapist-group .therapists {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  padding-top: var(--space-2);
  padding-right: var(--space-2);
  padding-left: var(--space-2);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.therapist-group .therapists .t-card {
  flex: 0 0 240px;
}
@media (max-width: 520px) {
  .therapist-group .therapists .t-card {
    flex: 0 0 176px;
  }
}
.therapists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-3);
}
.t-card {
  display: block;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.t-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.t-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}
.t-card__media {
  position: relative;
}
.t-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.t-card__name-overlay {
  position: absolute;
  left: var(--space-3);
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 1;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.t-card__name-overlay .roman {
  display: block;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}
.t-card__body {
  padding: var(--space-3);
}
.t-card__salon {
  font-weight: 600;
  font-size: 1.46rem;
  color: var(--brand-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t-card__catch {
  margin: 1.2rem 0 1.2rem;
  font-size: 1.36rem;
  color: var(--text-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t-card__meta {
  display: flex;
  flex-direction: column;
  margin-top: 0.8rem;
}
.t-card__meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.t-card__meta-row + .t-card__meta-row {
  border-top: 1px solid var(--border);
  margin-top: 0.8rem;
  padding-top: 1.4rem;
}
.t-card__meta-row--area svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--text-soft);
}
.t-card__meta .t-card__area {
  display: inline;
  background: none;
  color: var(--text-main);
  padding: 0;
  border-radius: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t-card__meta-row--tags {
  gap: 0.6rem;
  flex-wrap: wrap;
}
.t-card__meta-row--tags .tag {
  font-weight: bold;
  line-height: 1.4;
  padding: 0.3rem 1.1rem;
  font-size: 1.28rem;
}
.t-card__name {
  font-size: 1.4rem;
  color: var(--text-main);
  margin: 0.3rem 0;
  font-weight: 600;
}
.t-card__name .roman {
  color: var(--text-soft);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  display: block;
  font-weight: normal;
}
.t-card__area {
  display: inline-block;
  font-size: 1.28rem;
  font-weight: 600;
  background: var(--brand-tint);
  color: var(--brand-primary);
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}
.t-card__status {
  display: inline-block;
  font-size: 1.1rem;
  background: var(--surface-highlight-tint);
  color: var(--brand-highlight);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-left: 0.4rem;
}

/* ===== 新規所属セラピスト（円形サムネイル） ===== */
.new-therapists {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}
.t-card--round {
  text-align: center;
  background: transparent;
  box-shadow: none;
}
.t-card--round:hover {
  box-shadow: none;
}
.t-card--round img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
}
.t-card--round .t-card__media::after {
  content: none;
}
.t-card--round .t-card__body {
  padding: var(--space-2) 0 0;
}
.t-card--round__status {
  margin-top: 0.4rem;
}

/* ===== 求人バナー ===== */
.recruit-band {
  background-image: var(--brand-deep);
  color: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.recruit-band__copy {
  padding: var(--space-5);
}
.recruit-band__copy h2 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: var(--space-2);
}
.recruit-band__copy p {
  color: var(--text-on-dark-soft);
  margin-bottom: var(--space-3);
}
.recruit-band__media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

/* ===== 最新情報 ===== */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.news-item__date {
  font-size: 1.3rem;
  color: var(--text-soft);
  min-width: 110px;
  padding-top: 0.2rem;
}
.news-item__tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.tag {
  font-size: 1.28rem;
  background: var(--brand-tint);
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1.4;
  padding: 0.3rem 1rem;
}
.status-badge {
  display: inline-block;
  font-size: 1.28rem;
  font-weight: 600;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}
.t-card__status-badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1;
}
.status-badge--active {
  background: var(--active-badge);
  color: #fff;
}
.status-badge--tour {
  background: var(--tour-badge);
  color: #fff;
}
.status-badge--rest {
  background: var(--surface-muted);
  color: var(--text-soft);
}
.new-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.28rem;
  font-weight: 700;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--new-badge);
  color: #fff;
  line-height: 1.4;
}
.new-badge svg {
  width: 1.3rem;
  height: 1.3rem;
  color: #fff;
}
.tag--camp {
  background: var(--surface-page);
  color: var(--brand-badge);
  border: 1px solid var(--brand-badge);
}
.news-item__title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.24s ease;
}
.news-item__title:hover {
  color: var(--brand-accent);
}

/* ===== コラム記事 ===== */
.column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-3);
}
.column-card {
  display: block;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.column-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.column-card__media {
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
}
.column-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.column-card__body {
  padding: var(--space-3);
}
.column-card__title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0.6rem 0 0.4rem;
  line-height: 1.4;
}
.column-card__date {
  font-size: 1.3rem;
  color: var(--text-soft);
}

/* ===== コラム詳細：アイキャッチ・目次 ===== */
.column-thumb-hero {
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  margin-bottom: var(--space-3);
}
.column-thumb-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.toc {
  background: var(--surface-muted);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
}
.toc__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin: 0 0 var(--space-2);
}
.toc ol {
  margin: 0;
  padding-left: 1.8rem;
}
.toc li {
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
}
.toc a {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.toc a:hover {
  color: var(--brand-accent);
}
.column-template-default h2 {
  margin: var(--space-5) 0 var(--space-3) 0;
}

/* ===== お知らせリンクカード（個別ページ） ===== */
.news-link-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  margin: var(--space-2) 0 var(--space-3);
  padding: 1rem 1.4rem;
  background: var(--surface-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
}
.news-link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--brand-primary);
}
.news-link-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.news-link-card__date {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--text-soft);
}
.news-link-card__title {
  flex: 1;
  min-width: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-link-card__arrow {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--brand-primary);
}

/* ===== フィーチャー帯（濃グリーン） ===== */
.feature-band {
  background: var(--brand-deep);
  color: #fff;
}
.feature-band .h-sec,
.feature-band h2 {
  color: #fff;
}
.feature-band .lead {
  color: var(--text-on-dark-soft);
}

/* ===== パンくず ===== */
.crumbs {
  font-size: 1.3rem;
  color: var(--text-soft);
  padding: var(--space-3) 0;
}
.crumbs a:hover {
  color: var(--brand-accent);
}
.crumbs span {
  margin: 0 0.6rem;
}

/* ===== ページヘッダー（下層） ===== */
.page-head {
  background: var(--brand-deep);
  color: #fff;
  padding: var(--space-5) 0;
}
.page-head .en {
  font-size: 1.3rem;
  letter-spacing: var(--tracking-wide);
  color: var(--brand-highlight);
  font-weight: 700;
  text-transform: uppercase;
}
.page-head h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 600;
  color: #fff;
  margin-top: var(--space-1);
}
.page-head p {
  color: var(--text-on-dark-soft);
  margin-top: var(--space-2);
}

/* ===== こだわり詳細 ===== */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
  margin-bottom: var(--space-5);
}
.detail-row:nth-child(even) .detail-row__media {
  order: 2;
}
.detail-row img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.detail-row h2 {
  font-size: 2.2rem;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}
.detail-row .num {
  color: var(--brand-highlight);
  font-size: 1.8rem;
  font-weight: 700;
  margin-right: 0.6rem;
}

/* ===== 料金表 ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 1.6rem var(--space-3);
  border-bottom: 1px solid var(--border);
}
.price-table th {
  background: var(--brand-dark);
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
}
.price-table td.course {
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 1.7rem;
  white-space: nowrap;
}
.price-table td.fee {
  font-size: 1.7rem;
  font-weight: 700;
}
.price-table tr.popular td {
  background: var(--brand-highlight);
}
.price-table .badge {
  font-size: 1.1rem;
  background: var(--brand-badge);
  color: #fff;
  padding: 0.2rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-left: 0.8rem;
}

/* ===== 注意リスト ===== */
.note-list {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}
.note-list ul {
  margin: 0;
  padding-left: 2rem;
}
.note-list li {
  margin-bottom: var(--space-2);
  color: var(--text-soft);
}

/* ===== ギャラリーグリッド ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease-out);
}
.gallery-grid a:hover img {
  transform: scale(1.03);
}
.gallery-grid a[data-lightbox] {
  position: relative;
}
.gallery-grid__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-card);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  pointer-events: none;
}
.gallery-grid__zoom svg {
  width: 3.2rem;
  height: 3.2rem;
  color: #fff;
}
.gallery-grid a[data-lightbox]:hover .gallery-grid__zoom {
  opacity: 1;
  transform: scale(1);
}

/* ===== 個別ページ：プロフィール/ギャラリー タブ ===== */
.profile-tabs {
  margin-top: var(--space-5);
}
.profile-tabs__radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.profile-tabs__list {
  display: flex;
  gap: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.profile-tabs__label {
  position: relative;
  padding: var(--space-2) 0.2rem calc(var(--space-2) + 2px);
  font-size: clamp(1.6rem, 2.2vw, 1.8rem);
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.2s ease;
}
.profile-tabs__label::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: transparent;
  transition: background-color 0.2s ease;
}
.profile-tabs__label:hover {
  color: var(--text-main);
}
.profile-tabs__panel {
  display: none;
  margin-top: var(--space-4);
}
#tab-gallery:checked ~ .profile-tabs__list label[for='tab-gallery'],
#tab-profile:checked ~ .profile-tabs__list label[for='tab-profile'] {
  color: var(--brand-primary);
}
#tab-gallery:checked ~ .profile-tabs__list label[for='tab-gallery']::after,
#tab-profile:checked ~ .profile-tabs__list label[for='tab-profile']::after {
  background: var(--brand-primary);
}
#tab-gallery:checked ~ .profile-tabs__panel--gallery,
#tab-profile:checked ~ .profile-tabs__panel--profile {
  display: block;
}

/* ===== 個別ページ：利用規約・FAQへのテキストリンク ===== */
.legal-links {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--surface-muted);
  border-radius: var(--radius-card);
}
.legal-links p {
  font-size: 1.5rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 var(--space-2);
}
.legal-links__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: var(--space-3);
  color: var(--brand-primary);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s var(--ease-out);
}
.legal-links__item svg {
  width: 1.8rem;
  height: 1.8rem;
}
.legal-links__item:hover {
  transform: translateX(4px);
}

/* ===== 絞り込みフォーム ===== */
.filter-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.chip {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-input);
  background: #fff;
  color: var(--text-main);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.chip--active {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}

.filter-form {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-card);
}
.filter-group {
  margin-bottom: var(--space-3);
}
.filter-group__label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: var(--space-1);
  display: block;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* チップ選択トグル（チェックボックスは視覚的に隠し、labelをチップとして見せる） */
.chip-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-input);
  background: var(--surface-muted);
  color: var(--text-soft);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.chip-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.chip-toggle:has(input:checked) {
  background: var(--brand-tint);
  color: var(--brand-primary);
  border-color: var(--brand-accent);
}
.chip-toggle:has(input:focus-visible) {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}
.chip-toggle__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0;
  height: 1.6rem;
  margin-left: 0;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  transform: scale(0);
  opacity: 0;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), margin-left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}
.chip-toggle:has(input:checked) .chip-toggle__check {
  width: 1.6rem;
  margin-left: 0.6rem;
  transform: scale(1);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .chip-toggle:has(input:checked) .chip-toggle__check {
    transform: scale(1) !important;
  }
}

/* ===== FAQ（アコーディオン：detailsタグでJS不要） ===== */
.faq-cat {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brand-accent);
  margin: var(--space-4) 0 var(--space-2);
}
.faq-item {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-2);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: var(--space-3);
  font-size: 1.6rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: 'Q';
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 1.8rem;
}
.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s var(--ease-out);
}
.faq-item[open] .faq-item__body {
  grid-template-rows: 1fr;
}
.faq-item__body-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 var(--space-3) var(--space-3) 4rem;
  color: var(--text-soft);
}

/* ===== アコーディオン開閉アイコン（＋⇄－、FAQ・エリア一覧で共通） ===== */
.accordion-toggle-icon {
  position: relative;
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex-shrink: 0;
}
.accordion-toggle-icon::before,
.accordion-toggle-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-soft);
  transition: transform 0.22s var(--ease-out);
}
.accordion-toggle-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.accordion-toggle-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%) rotate(0deg);
}
details[open] .accordion-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* ===== 長文セクションの「もっと読む」 ===== */
.read-more {
  position: relative;
}
.read-more__content {
  position: relative;
  max-height: 9.2rem; /* 本文フォント1.6rem・line-height1.7を目安に約4行分 */
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.read-more__content::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.8rem;
  background: linear-gradient(to bottom, transparent, var(--read-more-fade, var(--surface-card)));
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}
.read-more.is-expanded .read-more__content::after {
  opacity: 0;
}
.read-more__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-2);
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-accent);
  font-size: 1.4rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.read-more__chevron {
  width: 1.6rem;
  height: 1.6rem;
  transition: transform 0.25s var(--ease-out);
}
.read-more.is-expanded .read-more__chevron {
  transform: rotate(180deg);
}
.read-more__toggle-label--open {
  display: none;
}
.read-more.is-expanded .read-more__toggle-label--closed {
  display: none;
}
.read-more.is-expanded .read-more__toggle-label--open {
  display: inline;
}
.read-more--fits .read-more__content {
  max-height: none;
}
.read-more--fits .read-more__content::after,
.read-more--fits .read-more__toggle {
  display: none;
}

/* ===== フォーム（求人応募） ===== */
.form-card {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
}
/* ===== 利用規約・ポリシー ===== */
.legal h2 {
  font-size: 1.9rem;
  color: var(--brand-primary);
  margin: var(--space-4) 0 var(--space-2);
}
.legal p,
.legal li {
  color: var(--text-soft);
}
.legal ol {
  padding-left: 2rem;
}

/* ===== 個別ページ：プロフィール ===== */
.profile {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: var(--space-6);
  align-items: start;
}
.profile__main {
  min-width: 0;
}
.profile__side {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: calc(var(--nav-h) + var(--space-5));
  align-self: start;
}
.profile img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.profile img.attachment-therapist_hero {
  width: 8.8rem;
  height: 8.8rem;
  border-radius: 50%;
  margin: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--active-badge);
}
.profile__identity {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.profile__identity-top {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.profile__photo--sm {
  flex-shrink: 0;
}
.profile__name {
  margin: 0;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 600;
}
.profile__name-roman {
  display: block;
  font-size: 1.3rem;
  font-weight: normal;
  color: var(--text-soft);
  margin-top: 0.2rem;
}
.profile__name-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.profile__review-link {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  width: fit-content;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s ease;
}
.profile__review-link:hover {
  color: var(--brand-primary);
}
.profile__review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  color: var(--star-rating);
}
.profile__review-link__icon {
  flex-shrink: 0;
  color: var(--text-soft);
}
.profile__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.profile__info-grid:has(.profile__info-box:only-child) {
  grid-template-columns: 1fr;
}
.profile__info-box {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.2rem;
  background: var(--surface-muted);
  border-radius: var(--radius-card);
}
.profile__info-label {
  font-size: 1.2rem;
  color: var(--text-soft);
}
.profile__salon {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}
.profile__partner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.profile__partner-link:hover {
  color: var(--brand-primary);
}
.profile__partner-link__icon {
  flex-shrink: 0;
  color: var(--text-soft);
}
.sns-links {
  display: flex;
  gap: 0.8rem;
}
.sns-links__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  color: var(--brand-primary);
  border: 1px solid var(--border);
  transition: 0.4s var(--ease-out);
}
.sns-links__item:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--brand-primary);
}
.sns-links__item svg {
  width: 2.4rem;
  height: 2.4rem;
}
.profile__cta-buttons {
  display: flex;
  gap: 0.8rem;
}
.profile__cta-buttons .btn {
  flex: 1;
  padding: 1.28rem 1.36rem;
}
.mobile-cta-bar {
  display: none;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-3);
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 1.1rem var(--space-2);
  border-bottom: 1px solid var(--border);
  font-size: 1.5rem;
}
.spec-table th {
  width: 34%;
  color: var(--text-soft);
  font-weight: 600;
}
.spec-table td a {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  line-height: 1.4;
  padding: 0.3rem 1rem;
  margin: 0.3rem 0.6rem 0.3rem 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.spec-table td a:hover {
  background: var(--brand-tint);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

/* ===== セクション補助 ===== */
.sec-head {
  margin-bottom: var(--space-4);
}
.cta-center {
  text-align: center;
  margin-top: var(--space-4);
}

/* ===== 並び替えセレクト（JS不要：detailsタグ） ===== */
.sort-select {
  position: relative;
}
.sort-select summary {
  list-style: none;
  cursor: pointer;
}
.sort-select summary::-webkit-details-marker {
  display: none;
}
.sort-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border: 3px solid var(--border-input);
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  font-size: 1.4rem;
  color: var(--text-main);
  font-weight: bold;
  transition: border-color 0.2s ease;
}
.sort-select[open] .sort-select__trigger {
  border-color: var(--brand-accent);
}
.sort-select__chevron {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--text-soft);
  transition: transform 0.2s var(--ease-out);
}
.sort-select[open] .sort-select__chevron {
  transform: rotate(180deg);
}
.sort-select__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  z-index: 5;
  min-width: 14rem;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  padding: 0.6rem;
  animation: sort-select-in 0.2s var(--ease-out);
}
@keyframes sort-select-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.sort-select__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  color: var(--text-main);
}
.sort-select__item:hover {
  background: var(--surface-muted);
}
.sort-select__check {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  color: var(--brand-primary);
  visibility: hidden;
}
.sort-select__item.is-active {
  font-weight: 600;
}
.sort-select__item.is-active .sort-select__check {
  visibility: visible;
}

/* ===== 並び順についての補足（sort-note.php） ===== */
.sort-note {
  margin: 0 0 var(--space-3);
  padding: var(--space-3);
  background: var(--surface-muted);
  border-radius: var(--radius-card);
  font-size: 1.3rem;
}
.sort-note__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 var(--space-2);
  color: var(--text-soft);
  font-weight: 600;
}
.sort-note__icon {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  color: var(--text-soft);
}
.sort-note__list dt {
  font-weight: 700;
  color: var(--text-main);
  margin-top: var(--space-2);
}
.sort-note__list dt:first-child {
  margin-top: 0;
}
.sort-note__list dd {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ===== ページネーション ===== */
.pager {
  display: flex;
  gap: var(--space-1);
  justify-content: center;
  margin-top: var(--space-4);
}
.pager a,
.pager > span {
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-input);
  font-size: 1.4rem;
  font-weight: 600;
  background: #fff;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pager a:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}
.pager .current {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.pager__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pager__arrow svg {
  width: 1.6rem;
  height: 1.6rem;
}
.pager .dots {
  padding: 0.8rem 0.4rem;
  color: var(--text-soft);
  border: 0;
  background: none;
}
@media (max-width: 480px) {
  .pager__arrow span {
    display: none;
  }
}

/* ===== フッター ===== */
.site-footer {
  background: var(--text-main);
  color: var(--text-on-dark-soft);
  padding: var(--space-6) 0 var(--space-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
}
.footer-brand .brand__mark {
  color: #fff;
}
/* ロゴ画像は黒文字の透過PNG想定。濃色背景のフッターでは白反転して視認性を確保する */
.footer-brand .custom-logo-link img {
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 1.3rem;
  margin-top: var(--space-2);
}
.footer-col h4 {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
}
.footer-col h4 .en {
  display: block;
  font-size: 1.1rem;
  letter-spacing: var(--tracking-wide);
  color: var(--brand-highlight);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: var(--space-1);
}
.footer-col a {
  font-size: 1.4rem;
  color: var(--text-on-dark-soft);
}
.footer-col a:hover {
  color: #fff;
}

/* ===== フッター：関連サイト（ピル型リンク） ===== */
.footer-related {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-related__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.8rem 1rem 0.8rem 0.8rem;
  font-size: 1.3rem;
  color: var(--text-on-dark-soft);
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.footer-related__link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.footer-related li:first-child {
  margin-top: 0.8rem;
}
.footer-related__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 1.2rem;
}

/* 上部へ戻る */
.to-top {
  position: fixed;
  right: 2rem;
  bottom: 7.4rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(65, 70, 69, 0.78);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-float);
  font-size: 2rem;
  z-index: 40;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.to-top:active {
  transform: translateY(0) scale(0.95);
}

/* ===== Lightbox（画像拡大表示） ===== */
body.lightbox-open {
  overflow: hidden;
}
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: var(--space-4);
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  background: var(--surface-muted);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--brand-accent);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  box-shadow: var(--shadow-float);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.lightbox-close {
  top: var(--space-3);
  right: var(--space-3);
  font-size: 2.6rem;
}
.lightbox-prev {
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-2px);
}
.lightbox-next:hover {
  transform: translateY(-50%) translateX(2px);
}
@media (max-width: 520px) {
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
  .lightbox-close {
    font-size: 2rem;
  }
}

/* ===== 検索ドロワー（スマホヘッダーの検索アイコンから開く） ===== */
body.search-drawer-open {
  overflow: hidden;
}
.search-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}
.search-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-drawer__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface-card);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: var(--shadow-float);
  padding: var(--space-4) var(--space-3) var(--space-5);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
}
.search-drawer.is-open {
  pointer-events: auto;
}
.search-drawer.is-open .search-drawer__overlay {
  opacity: 1;
}
.search-drawer.is-open .search-drawer__panel {
  transform: translateY(0);
}
.search-drawer__close {
  position: absolute;
  bottom: 202px;
  right: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--surface-muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-drawer.is-open .search-drawer__close {
  opacity: 1;
}
.search-drawer__more {
  display: block;
  text-align: center;
  margin-top: var(--space-3);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =============================================================
                                                                                       レスポンシブ
                                                                                       ============================================================= */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .recruit-band {
    grid-template-columns: 1fr;
  }
  .recruit-band__media img {
    min-height: 200px;
  }
}
@media (max-width: 834px) {
  :root {
    --space-6: 4.4rem;
    --space-5: 3.2rem;
  }
  .nav__links {
    display: none;
  }
  .nav__mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
  }
  .nav__icon-link {
    display: flex;
  }
  .nav__toggle {
    display: flex;
  }
  .mobile-toggle:checked ~ .mobile-menu {
    display: block;
  }
  .merits {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-link-card {
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
    padding-right: 3.6rem;
  }
  .news-link-card__meta {
    width: 100%;
  }
  .news-link-card__title {
    flex: 1 1 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .news-link-card__arrow {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .hero::after {
    top: 0;
    width: calc(100% - 70px);
    height: calc(100% - 100px);
  }
  .hero__collage {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(14px, 1.7vw + 8px, 22px);
    height: auto;
  }
  .hero__collage-img {
    position: static;
    width: clamp(84px, 5vw + 66px, 108px);
    height: auto;
    aspect-ratio: 108 / 260;
  }
  .hero__collage-img--main {
    margin-top: 6px;
    transform: none;
    animation-name: hero-fade-up;
  }
  .hero__collage-img--sub {
    margin-top: 22px;
  }
  .hero__collage-img--small {
    margin-top: 0;
  }
  .split,
  .detail-row,
  .profile {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .split--reverse .split__media,
  .detail-row:nth-child(even) .detail-row__media {
    order: 0;
  }
  .split__media img,
  .detail-row img,
  .profile img {
    height: 260px;
  }
  .profile__side {
    position: static;
    top: auto;
  }
  .profile__cta {
    display: none;
  }
  .mobile-cta-bar {
    display: flex;
    gap: 0.8rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    padding: var(--space-2) var(--space-3);
    padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
  }
  .mobile-cta-bar .btn {
    flex: 1;
    padding: 1.3rem 1.4rem;
  }
  .mobile-cta-bar .btn--outline {
    background: #fff;
  }
  body.single-therapist {
    padding-bottom: 7.2rem;
  }
  .search-row {
    flex-direction: column;
  }
  /* flex-basis(220px)は横並び時の幅の基準値。column化すると高さの基準値に
                                                                                         化けて縦に間延びするため、縦積み時は自然な高さにリセットする。 */
  .search-row input,
  .search-row select {
    flex: 0 1 auto;
    width: 100%;
  }
  .news-item {
    flex-direction: column;
    gap: 0.4rem;
  }
  .news-item__date {
    min-width: 0;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .therapists {
    grid-template-columns: 1fr 1fr;
  }
  .t-card img {
    height: 178px;
  }
  .t-card--round img {
    height: 130px;
  }
  .t-card__meta-row--tags .tag {
    padding: 0.3rem 0.9rem;
    font-size: 1.12rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid img {
    height: 208px;
  }
  .areas {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero::after {
    top: 0;
    width: 100%;
    height: calc(100% - 100px);
  }

  /* 新規所属セラピスト：横スクロールのカルーセルに切り替え（JS不要） */
  .new-therapists {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-2);
    padding-top: var(--space-2);
    gap: var(--space-3);
  }
  .new-therapists .t-card--round {
    flex: 0 0 auto;
    width: 130px;
    scroll-snap-align: start;
  }
}

/* アクセシビリティ：フォーカス可視化 / モーション抑制 */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
