/* =========================================================
   O Y こんまり®流 片づけコンサルタント
   テーマ：ブランドガイドライン準拠（ウッディ・ラテ）
   配色：オフホワイト × クリーム × ウッディブラウン × アプリコット
   ・#eac2a6 アプリコット / #f5efd3 クリーム / #715a40 ブラウン
   ・#f3f0ec オフホワイト / #1b1609 焦茶（文字）/ #ffffff
   フォント：本文=丸ゴシック / 見出し=明朝 / 欧文=Poppins
   ========================================================= */

:root {
  --cream:        #F3F0EC;  /* 背景（オフホワイト） */
  --cream-deep:   #F5EFD3;  /* セクション背景（クリーム） */
  --terracotta:   #715A40;  /* メインアクセント・CTA（ウッディブラウン） */
  --terracotta-d: #5D4A34;  /* CTAホバー */
  --sage:         #A9805A;  /* サブアクセント・リンク（ミドルブラウン） */
  --sage-deep:    #715A40;  /* リンク濃色 */
  --apricot:      #EAC2A6;  /* ハイライト・バッジ（アプリコット） */
  --apricot-soft: #F6E7D6;  /* 淡いアプリコット背景 */
  --text:         #2A2118;  /* 本文（焦茶・やや軟） */
  --text-soft:    #6B5A46;  /* 補足テキスト（クリーム背景でWCAG AAを満たすよう濃色化） */
  --text-head:    #1B1609;  /* 見出し（ブランド指定の焦茶） */
  --line:         #E7DECF;  /* 境界線 */
  --white:        #FFFFFF;
  --shadow:       0 6px 22px rgba(113, 90, 64, 0.13);
  --shadow-soft:  0 4px 14px rgba(113, 90, 64, 0.09);
  --radius:       24px;
  --maxw:         1080px;
  --font-base:    "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-head:    "Shippori Mincho", "Noto Sans JP", serif;
  --font-en:      "Poppins", "Zen Maru Gothic", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* 共通：セクション見出し */
.sec-en {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 6px;
}
.sec-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.5vw, 30px);
  color: var(--text-head);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  text-wrap: balance; /* 折り返し時に1単語だけ浮く「孤立語」を防ぐ（対応ブラウザのみ・非対応時は現状どおり） */
}
.center { text-align: center; }
.sec-en.center, .sec-title.center { text-align: center; }

.link-arrow {
  display: inline-block;
  color: var(--sage-deep);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1.5px solid var(--sage);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.link-arrow:hover { opacity: .7; }

/* 手描きの葉 */
.ico { width: 14px; height: 14px; vertical-align: -2px; }
.deco-leaf { position: absolute; opacity: .4; pointer-events: none; }

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(251, 246, 239, 0.85);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s, padding .3s;
}
.header.is-scrolled {
  box-shadow: 0 2px 16px rgba(150, 110, 70, 0.1);
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--sage-deep);
  line-height: 1.2;
}
.logo small {
  display: block;
  font-family: var(--font-base);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #B5A48E;
  margin-top: 2px;
}
/* ロゴ画像（管理画面でアップロードした場合）。高さ・角の丸みは管理画面のインライン指定で上書き。
   枠は高さ基準の正方形に切り抜き（object-fit: cover）。border-radius はインラインで 0〜50% を指定。 */
.logo-img {
  height: 44px; aspect-ratio: 1 / 1; width: auto; max-width: 60vw;
  object-fit: cover; display: block;
  border-radius: 50%;            /* 既定（インライン未指定時のフォールバック） */
  border: 1px solid var(--line);
  background: var(--white);
}
/* フッターは背景が暗いため、白プレートを外して薄いリングだけ残す */
.logo-img--footer { background: transparent; border-color: rgba(255,255,255,0.28); }
/* ロゴ横テキスト */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text small { display: block; font-family: var(--font-base); font-size: 9px; font-weight: 400; letter-spacing: 0.2em; color: #B5A48E; margin-top: 2px; }
.nav { display: flex; gap: clamp(14px, 2.5vw, 26px); }
.nav a {
  font-size: 14px;
  color: var(--text-soft);
  transition: color .2s;
}
.nav a:hover { color: var(--terracotta); }
.btn-cta-header {
  background: var(--terracotta);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 99px;
  box-shadow: 0 3px 10px rgba(113, 90, 64, 0.3);
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn-cta-header:hover { background: var(--terracotta-d); transform: translateY(-1px); }
.btn-cta-header:active { transform: translateY(0) scale(0.97); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-head);
  cursor: pointer;
}

/* =========================================================
   ファーストビュー
   ========================================================= */
.hero {
  position: relative;
  background: radial-gradient(120% 130% at 85% 0%, #F6E7D6 0%, var(--cream) 60%);
  padding: clamp(40px, 7vw, 70px) clamp(20px, 5vw, 48px);
  overflow: hidden;
}
.deco-leaf--1 { top: 16px; right: 16px; width: 30px; color: var(--sage); }
.deco-leaf--2 { bottom: 16px; right: 16px; width: 40px; color: var(--apricot); opacity: .6; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 50px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--terracotta);
  background: var(--apricot-soft);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.eyebrow-break { display: none; }          /* PCは1行（全角スペースで繋ぐ）。スマホのみ改行 */
.eyebrow-name { white-space: nowrap; }     /* 氏名（岡田 百合子）は途中で折り返さない */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--text-head);
  margin-bottom: 16px;
  text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--terracotta); }
.wave { background: linear-gradient(transparent 68%, #EAC2A6 68%); padding: 0 3px; }
.hero-lead {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  margin-bottom: 30px;
  min-height: 90px; /* 3行固定（テキスト変化でレイアウトがずれない） */
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 99px;
  box-shadow: 0 6px 18px rgba(113, 90, 64, 0.38);
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--terracotta-d); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  font-size: 14px;
  color: var(--sage-deep);
  border-bottom: 1.5px solid var(--apricot);
  padding-bottom: 3px;
  transition: opacity .2s;
}
.btn-ghost:hover { opacity: .7; }

/* スマホ用の画面下固定CTA（既定は非表示。@media で表示） */
.sp-cta-fixed { display: none; }

/* ハニーポット（スパム対策）：画面外に隠す。display:none を避けボットに入力させる */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* よくあるご質問（FAQ）：他セクションと同じく「フル幅セクション＋内側を中央寄せ」 */
.faq { padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 48px); }
.faq-list { max-width: 720px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 20px 52px 20px 22px;
  font-weight: 600;
  color: var(--text-head);
  font-size: 15px;
  position: relative;
  transition: color .2s;
}
.faq-q:hover { color: var(--terracotta); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--terracotta);
  transition: transform .25s ease;
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a { padding: 0 22px 20px; color: var(--text-soft); line-height: 1.95; font-size: 14px; }
/* 開いたときにゆっくりフェード＋スライドで表示 */
.faq-item[open] .faq-a { animation: faqFadeIn .45s ease both; }
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-a { animation: none; }
}

/* 写真エリア */
.hero-photo-wrap { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 5/5;
  background: linear-gradient(160deg, #EAD9C2, #F1E7D6);
  border-radius: 50% 50% 50% 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.photo-placeholder {
  text-align: center;
  font-size: 13px;
  color: #B79377;
  line-height: 1.8;
}
.photo-placeholder small { font-size: 11px; opacity: .8; }

/* =========================================================
   お悩み
   ========================================================= */
.pain {
  background: var(--cream-deep);
  padding: clamp(40px, 6vw, 60px) clamp(20px, 5vw, 48px);
  text-align: center;
}
.pain-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 3.5vw, 28px);
  color: var(--text-head);
  font-weight: 600;
  margin-bottom: 8px;
  text-wrap: balance;
}
.pain-sub { font-size: 14px; color: var(--text-soft); margin-bottom: 32px; }
.pain-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   想い ティザー（トップページ）
   ========================================================= */
.omoi-teaser {
  position: relative;
  background: linear-gradient(135deg, #F6E7D6 0%, #F3F0EC 100%);
  padding: clamp(50px, 8vw, 80px) clamp(20px, 5vw, 48px);
  overflow: hidden;
  text-align: center;
}
.omoi-teaser-inner { max-width: 640px; margin: 0 auto; }
.omoi-teaser .deco-leaf--1 { top: 16px; right: 16px; width: 28px; color: var(--sage); }
.omoi-teaser p { font-size: 16px; line-height: 2.05; color: var(--text); margin-bottom: 28px; }

/* =========================================================
   プロフィール
   ========================================================= */
.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.about-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #EAD9C2, #F1E7D6);
  border-radius: 60px 24px 60px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.about-text p { font-size: 15px; color: var(--text); margin-bottom: 16px; }
.about-text .link-arrow { margin-top: 4px; }

/* =========================================================
   サービス・料金
   ========================================================= */
.service {
  background: var(--cream-deep);
  padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 48px);
}
.service-grid {
  max-width: 880px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.service-icon { font-size: 38px; margin-bottom: 14px; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--text-head);
  margin-bottom: 12px;
}
.service-card p { font-size: 14px; color: var(--text-soft); line-height: 1.8; }

/* 料金ボックス（訪問／オンラインを並べて表示） */
.price-grid {
  max-width: 880px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.price-box {
  background: var(--white);
  border: 2px dashed var(--apricot);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
}
.price-main { margin-bottom: 18px; }
.price-label {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  font-size: 13px;
  padding: 4px 16px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.price-num {
  display: block;
  font-family: var(--font-head);
  /* 訪問／オンラインを並べて表示する際、狭い列幅でも金額が窮屈にならないよう可変にする */
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1.1;
  white-space: nowrap;
}
.price-unit { font-size: 24px; margin-left: 4px; }
.price-note { display: block; font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.price-desc { font-size: 15px; color: var(--text); line-height: 1.9; text-align: left; }
.price-desc strong { color: var(--terracotta); }

/* PC幅では説明文（箇条書き）を折り返し幅いっぱいに広げず、
   .price-box の text-align:center を利用してブロックごと中央寄せにする。
   文中の各行は text-align:left のまま（右側だけ余白が偏るのを防ぐ）。
   スマホ幅（max-width:600pxの1カラム表示）は現状のまま変更しない。 */
@media (min-width: 601px) {
  .price-desc { display: inline-block; text-align: left; }
}

/* 個別無料相談会（SERVICE & PRICE の前）。直前の PROFILE(cream) と地続きにならないよう
   ふんわりしたグラデーションで区切る（新規の色は追加せず既存トークンのみ使用） */
.consult {
  background: linear-gradient(180deg, var(--apricot-soft) 0%, var(--cream) 100%);
  padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 48px);
}
.consult-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.consult-lead {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 28px;
}
.consult-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 5vw, 44px) clamp(22px, 5vw, 40px);
  text-align: center;
}
.consult-body {
  font-size: 15px;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 24px;
}
.consult-reco-head {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--text-head);
  margin-bottom: 14px;
}
.consult-reco {
  list-style: none;
  max-width: 460px;
  margin: 0 auto 26px;
  text-align: left;
}
.consult-reco li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}
.consult-reco li:last-child { border-bottom: none; }
.consult-reco li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sage);
  font-weight: 700;
}
.consult-price {
  display: inline-block;
  background: var(--apricot-soft);
  color: var(--text-head);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 99px;
  margin-bottom: 26px;
}

/* レッスン回数の目安（SERVICE & PRICE 内・料金の後） */
.lesson-count { max-width: var(--maxw); margin: 0 auto 44px; }
.lesson-count-title {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--text-head);
  text-align: center;
  margin-bottom: 24px;
}
.lesson-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.lesson-card {
  flex: 1 1 250px;
  max-width: 280px;
  background: var(--white);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}
.lesson-card-label {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--terracotta);
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px dashed var(--apricot);
}
.lesson-card-body { font-size: 14px; color: var(--text-soft); line-height: 1.9; }
.lesson-count-note {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  text-align: center;
  margin-top: 20px;
}

/* 流れ */
.flow {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.flow-step {
  flex: 1;
  min-width: 110px;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 99px;
  background: var(--apricot-soft);
  color: var(--sage-deep);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  margin-bottom: 8px;
}
.flow-step p { font-size: 14px; font-weight: 500; color: var(--text-head); }
.flow-step small { display: block; font-size: 11px; font-weight: 400; color: var(--text-soft); margin-top: 2px; }
.flow-arrow { color: var(--terracotta); font-size: 18px; }

/* =========================================================
   実績 ビフォーアフター
   ========================================================= */
.works {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 48px);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.work-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.work-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  /* stretch させると縦横比の違う写真の背景余白にバッジが浮いてしまうため、
     各カラムを自身の写真の高さぴったりに合わせる */
  align-items: start;
}
.work-before, .work-after {
  position: relative;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  overflow: hidden;
  min-width: 0;
}
.work-before { background: #E8DCCB; color: #A38E72; }
.work-after { background: #EFE2CD; color: var(--sage-deep); }
/* アップロードされた写真の縦横比はそのまま保持（トリミングしない）。
   幅は必ずカラム幅いっぱいに広げる（width:autoで中央寄せにすると、
   写真の左右に余白ができてBEFORE/AFTERラベルが写真からはみ出して見えるため） */
.work-before img, .work-after img {
  display: block;
  width: 100%;
  height: auto;
}
.work-badge {
  position: absolute;
  top: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--white);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-badge--before { left: 8px; background: rgba(113, 90, 64, 0.88); }
.work-badge--after { right: 8px; background: rgba(169, 128, 90, 0.92); }
.work-cap { font-size: 14px; padding: 14px 16px; color: var(--text-soft); }

/* =========================================================
   お客様の声
   ========================================================= */
.voice {
  background: var(--cream-deep);
  padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 48px);
}
.voice-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.voice-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.voice-card::before {
  content: "“";
  font-family: var(--font-head);
  font-size: 56px;
  color: #EAC2A6;
  position: absolute;
  top: 6px; left: 16px;
  line-height: 1;
}
.voice-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.6;
  margin: 18px 0 4px;
  position: relative;
}
.voice-title + .voice-text { margin-top: 4px; }
.voice-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
  margin: 18px 0 16px;
  position: relative;
}
.voice-name { font-size: 13px; color: var(--terracotta); font-weight: 500; }
.voice-person { display: flex; align-items: center; gap: 10px; }
.voice-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: block; }

/* =========================================================
   もっと見る（実績／お客様の声：PCは7件目以降、スマホは4件目以降を
   アコーディオンで開閉。同じ .is-expanded トグルで両方まとめて開閉する）
   ========================================================= */
.has-more .is-more-item { display: none; }
.has-more.is-expanded .is-more-item { display: block; }
@media (max-width: 600px) {
  .has-more-mobile .is-more-item-mobile { display: none; }
  .has-more-mobile.is-expanded .is-more-item-mobile { display: block; }
}
.btn-more {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin: 4px auto 0;
  padding: 12px 30px;
  border: 1.5px solid var(--apricot);
  border-radius: 99px;
  background: transparent;
  color: var(--terracotta);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.btn-more:hover { background: var(--apricot-soft); }
.btn-more-icon { font-size: 11px; transition: transform .25s; }
.btn-more[aria-expanded="true"] .btn-more-icon { transform: rotate(180deg); }
/* PCでは6件までは開閉不要な場合（登録件数が4〜6件）にボタンを非表示にする */
@media (min-width: 601px) {
  .btn-more--mobile-only { display: none; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: linear-gradient(135deg, #715A40 0%, #5D4A34 100%);
  padding: clamp(50px, 8vw, 80px) clamp(20px, 5vw, 48px);
  text-align: center;
  border-radius: 40px 40px 0 0;
  margin-top: clamp(40px, 6vw, 60px);
}
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 4vw, 32px);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  text-wrap: balance;
}
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.92); line-height: 1.9; margin-bottom: 28px; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--terracotta);
  font-size: 17px;
  font-weight: 700;
  padding: 17px 40px;
  border-radius: 99px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
  transition: transform .2s;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn:active { transform: translateY(0) scale(0.98); }
.cta-foot { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 16px; }

/* =========================================================
   フッター
   ========================================================= */
.footer {
  background: var(--text-head);
  color: rgba(255,255,255,0.85);
  padding: clamp(36px, 5vw, 50px) clamp(20px, 5vw, 48px) 24px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.logo--footer { color: var(--apricot); }
.logo--footer small { color: rgba(255,255,255,0.5); }
.logo--footer .logo-text small { color: rgba(255,255,255,0.5); }
.footer-area {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-top: 14px;
  max-width: 420px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.8); transition: color .2s; }
.footer-nav a:hover { color: var(--apricot); }

/* SNSリンク */
.sns-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sns-links--footer { margin-top: 18px; }
.sns-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--white); background: rgba(255,255,255,0.12);
  transition: background .2s, color .2s, transform .2s;
}
.sns-link:hover { background: var(--apricot); color: var(--terracotta); transform: translateY(-2px); }
.copyright {
  max-width: var(--maxw);
  margin: 20px auto 0;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer-legal { max-width: var(--maxw); margin: 24px auto 0; text-align: center; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.9); text-decoration: underline; }

/* 現在地ナビ */
.nav a.is-current { color: var(--terracotta); border-bottom: 2px solid var(--terracotta); padding-bottom: 2px; }

/* =========================================================
   ページ共通ヘッダー（ブログ・予約など下層ページ）
   ========================================================= */
.page-head {
  background: radial-gradient(120% 130% at 50% 0%, #F6E7D6 0%, var(--cream) 65%);
  padding: clamp(40px, 7vw, 70px) clamp(20px, 5vw, 48px);
  text-align: center;
}
.page-head-inner { max-width: 720px; margin: 0 auto; }
.page-head-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: 0.05em;
  margin: 4px 0 14px;
  text-wrap: balance;
}
.page-head-lead { font-size: 15px; line-height: 1.9; color: var(--text-soft); }

/* =========================================================
   エリア別ページ
   ========================================================= */
.area-intro { max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 60px) clamp(20px, 5vw, 32px); }
.area-intro p { font-size: 16px; line-height: 2.1; color: var(--text); margin-bottom: 18px; }
.area-cities { background: var(--cream-deep); padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 48px); text-align: center; }
.area-cities-lead { font-size: 14px; color: var(--text-soft); margin-bottom: 24px; }
.area-city-list {
  list-style: none; max-width: 820px; margin: 0 auto 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.area-city-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 99px;
  padding: 8px 18px; font-size: 14px; color: var(--text-head);
}
.area-cities-note { font-size: 14px; color: var(--text-soft); }
.area-cities-note strong { color: var(--terracotta); }

/* フッターのエリア見出し */
.footer-nav-head { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: .08em; margin-bottom: 2px; }

/* =========================================================
   ブログ一覧
   ========================================================= */
.blog-list-wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 48px); }
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-thumb { aspect-ratio: 16/9; background: linear-gradient(160deg, #F1E7D6, #EAD9C2); display: flex; align-items: center; justify-content: center; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { font-size: 12px; color: var(--terracotta); font-weight: 500; }
.blog-card-title { font-family: var(--font-head); font-size: 18px; color: var(--text-head); line-height: 1.5; margin: 8px 0 10px; }
.blog-card-excerpt { font-size: 14px; color: var(--text-soft); line-height: 1.8; flex: 1; margin-bottom: 14px; }

/* =========================================================
   ブログ個別記事
   ========================================================= */
.post { max-width: 720px; margin: 0 auto; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 32px); }
.breadcrumb { font-size: 13px; color: var(--text-soft); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--terracotta); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--text-soft); }
.post-header { text-align: center; margin-bottom: 28px; }
.post-date { font-size: 13px; color: var(--terracotta); font-weight: 500; }
.post-title { font-family: var(--font-head); font-size: clamp(24px, 4vw, 34px); font-weight: 700; line-height: 1.6; color: var(--text-head); margin-top: 10px; letter-spacing: 0.03em; text-wrap: balance; }
.post-cover { border-radius: 20px; overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.post-cover img { width: 100%; display: block; }
.post-body p { font-size: 16px; line-height: 2.15; color: var(--text); margin-bottom: 20px; }
.post-foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* 法務ページ（プライバシーポリシー等） */
.legal .post-body h2 { font-size: 18px; margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--text); }
.legal .post-body h2:first-child { margin-top: 0; }
.legal .post-body ul { margin: 0 0 20px; padding-left: 1.3em; }
.legal .post-body li { font-size: 16px; line-height: 2; color: var(--text); }
.legal .post-body a { color: inherit; text-decoration: underline; }
.legal .legal-date { margin-top: 32px; font-size: 14px; color: var(--text-soft); }

/* =========================================================
   予約ページ
   ========================================================= */
.reserve-wrap { max-width: 880px; margin: 0 auto; padding: clamp(36px, 6vw, 60px) clamp(20px, 5vw, 32px); }
.reserve-step { font-family: var(--font-head); font-size: 18px; color: var(--text-head); margin-bottom: 16px; }
.reserve-alert { background: #FBE6E1; color: #A23B2A; border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 24px; }
.reserve-empty { text-align: center; color: var(--text-soft); padding: 40px 0; }

.reserve-cal { margin-bottom: 40px; }
.cal-day { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; flex-wrap: wrap; }
.cal-date { min-width: 160px; font-weight: 600; color: var(--text-head); font-size: 15px; padding-top: 8px; }
.cal-times { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.cal-time { position: relative; }
.cal-time input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cal-time span {
  display: inline-block; padding: 10px 22px; border-radius: 99px;
  border: 1.5px solid #D9CBB6; background: var(--white);
  font-size: 15px; color: var(--text-head); transition: all .15s; cursor: pointer;
}
.cal-time input:checked + span { background: var(--terracotta); color: #fff; border-color: var(--terracotta); box-shadow: 0 4px 12px rgba(113,90,64,.32); }

.cal-time input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }

.reserve-form { background: var(--cream-deep); border-radius: var(--radius); padding: 28px 26px; }
.reserve-form label { display: block; font-size: 14px; font-weight: 500; color: var(--text-head); margin: 16px 0 6px; }
.reserve-form input[type=text], .reserve-form input[type=email], .reserve-form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 16px; font-family: inherit; color: var(--text); background: var(--white);
}
.reserve-form input:focus, .reserve-form textarea:focus { outline: none; border-color: var(--sage); }
.reserve-form input:focus-visible, .reserve-form textarea:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.reserve-form textarea { resize: vertical; line-height: 1.8; }
.req { font-size: 11px; color: #fff; background: var(--terracotta); padding: 2px 8px; border-radius: 99px; margin-left: 6px; }
.reserve-method { display: flex; gap: 20px; flex-wrap: wrap; }
.reserve-method label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin: 6px 0; }
.reserve-submit { margin-top: 24px; width: 100%; justify-content: center; border: none; cursor: pointer; font-family: inherit; }
.reserve-note { font-size: 12px; color: var(--text-soft); text-align: center; margin-top: 12px; }

.reserve-done { text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 28px; max-width: 560px; margin: 0 auto; }
.reserve-done-ico { font-size: 44px; margin-bottom: 12px; }
.reserve-done h2 { font-family: var(--font-head); font-size: 24px; color: var(--text-head); margin-bottom: 14px; }
.reserve-done p { font-size: 15px; color: var(--text); line-height: 1.9; }
.reserve-done-slot { font-family: var(--font-head); font-size: 20px; color: var(--terracotta); margin: 18px 0 24px; }

/* 予約 確認画面 */
.reserve-confirm { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px clamp(20px, 5vw, 40px); max-width: 620px; margin: 0 auto; }
.reserve-confirm-lead { font-size: 14px; color: var(--text-soft); margin-bottom: 22px; }
.confirm-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.confirm-list > div { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.confirm-list dt { flex: 0 0 120px; font-size: 13px; color: var(--text-soft); font-weight: 500; }
.confirm-list dd { flex: 1; font-size: 15px; color: var(--text-head); line-height: 1.8; word-break: break-word; }
.reserve-confirm-actions { margin-top: 4px; }
.reserve-confirm-actions .reserve-submit { width: 100%; justify-content: center; }
.reserve-confirm-back { text-align: center; margin-top: 16px; }
@media (max-width: 600px) {
  .confirm-list > div { flex-direction: column; gap: 4px; }
  .confirm-list dt { flex-basis: auto; }
}

/* 住所ブロック */
.reserve-address { background: #F9F5F0; border-radius: 10px; padding: 20px 20px 8px; margin: 4px 0 18px; }
.reserve-address-note { font-size: 13px; color: var(--text-soft); margin-bottom: 14px; }
.reserve-zip-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.reserve-zip-row input { max-width: 140px; flex: 0 0 auto; }
.reserve-zip-error { font-size: 13px; color: #C85A5A; margin-top: 4px; }

/* 都道府県プルダウン：PC・スマホ共通で他のテキスト入力と同デザインに統一。
   appearance:none で枠だけ揃え、タップ時はOS標準ピッカーが開く挙動を維持する。 */
.reserve-pref-wrap { position: relative; display: block; }
.reserve-pref-wrap select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 40px 13px 15px;
  font-size: 16px;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s;
}
.reserve-pref-wrap select:focus {
  outline: none;
  border-color: var(--sage);
}
.reserve-pref-wrap select:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
/* カスタム▼矢印 */
.reserve-pref-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background: var(--sage-deep);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

/* 住所検索ボタンをinputと揃える */
.reserve-zip-row .btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--sage);
  border-bottom: 1.5px solid var(--sage);
  border-radius: 10px;
  background: var(--white);
  color: var(--sage-deep);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
  padding-bottom: 0;
}
.reserve-zip-row .btn-ghost:hover { background: var(--cream); opacity: 1; }

/* 確認画面のカード */
.confirm-list-card {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
}
.confirm-list-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--text-soft);
  background: var(--apricot-soft);
  padding: 10px 20px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.confirm-list { margin-bottom: 0; }
.confirm-list > div { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.confirm-list > div:last-child { border-bottom: none; }

/* 確認画面の「修正する」ボタンをテキストリンクではなくボーダーボタンに */
.reserve-confirm-back .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  border: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
  padding-bottom: 0;
}
.reserve-confirm-back .btn-ghost:hover { background: var(--cream); opacity: 1; }

/* =========================================================
   想い ページ
   ========================================================= */
.omoi-hero {
  position: relative;
  background: radial-gradient(120% 130% at 50% 0%, #F6E7D6 0%, var(--cream) 65%);
  padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 48px);
  text-align: center;
  overflow: hidden;
}
.omoi-hero-inner { max-width: 720px; margin: 0 auto; }
.omoi-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--text-head);
  margin-bottom: 18px;
  text-wrap: balance;
}
.omoi-lead { font-size: 16px; line-height: 2.1; color: var(--text-soft); }

.omoi-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 32px);
}
.omoi-block { margin-bottom: clamp(40px, 6vw, 64px); }
.omoi-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--terracotta);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.omoi-h2 {
  font-family: var(--font-head);
  font-size: clamp(20px, 3.5vw, 27px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-head);
  margin-bottom: 20px;
}
.omoi-block p {
  font-size: 16px;
  line-height: 2.15;
  color: var(--text);
  margin-bottom: 18px;
}
.omoi-quote {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 32px 30px;
  text-align: center;
  margin: 0 auto clamp(40px, 6vw, 64px);
  max-width: 640px;
}
.omoi-quote .ico { margin-bottom: 12px; }
.omoi-quote p {
  font-family: var(--font-head);
  font-size: clamp(17px, 2.5vw, 21px);
  line-height: 1.9;
  color: var(--text-head);
}
.omoi-promise { list-style: none; margin-top: 8px; }
.omoi-promise li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}
.omoi-promise li span {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.omoi-sign {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(17px, 2.5vw, 21px);
  line-height: 2;
  color: var(--text-head);
  margin-top: clamp(30px, 5vw, 50px);
}
.omoi-sign span { display: inline-block; font-size: 15px; color: var(--terracotta); margin-top: 10px; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 860px) {
  /* ナビのリンクはハンバーガーに収納。予約CTAは常時表示（集客の要） */
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 16px 24px;
    box-shadow: var(--shadow);
    gap: 16px;
    z-index: 100;
  }
  .nav-toggle { display: block; order: 3; }
  .btn-cta-header { font-size: 12px; padding: 9px 14px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; max-width: 320px; margin: 0 auto; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .service-grid, .works-grid, .voice-grid, .price-grid {
    grid-template-columns: 1fr;
  }
  .work-badge { font-size: 9px; padding: 3px 7px; top: 6px; }
  .work-badge--before { left: 6px; }
  .work-badge--after { right: 6px; }
  .lesson-card { max-width: 100%; flex-basis: 100%; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow-step { width: 100%; min-width: unset; }
  /* 縦並びでは矢印を真下向き（↓）にする。回転ではなく実グリフで明示 */
  .flow-arrow { font-size: 0; line-height: 1; align-self: center; }
  .flow-arrow::before { content: "↓"; font-size: 20px; }

  /* eyebrow（肩書き＋氏名）はスマホのみ「コンサルタント」の後で改行。
     2行でピル（角丸背景）が縦長になるのを避け、背景を外してテキストのみの軽い見た目にする */
  .eyebrow {
    align-items: flex-start;
    background: transparent;
    padding: 0;
    margin-bottom: 12px;
  }
  .eyebrow-break { display: inline; }

  /* ファーストビューを縦に圧縮し、見出しを早く見せる */
  .hero { padding: 24px 20px 30px; }
  .hero-inner { gap: 16px; }
  .hero-photo-wrap { max-width: 230px; }   /* 写真枠を小さくして見出しを上げる */
  .hero-title { margin-bottom: 12px; }
  .hero-lead { margin-bottom: 20px; min-height: 0; }

  /* 画面下に固定CTAを出すため、ヘッダーの「無料相談はこちら」は非表示にする（重複回避） */
  .btn-cta-header { display: none; }

  /* 画面下に「無料相談」ボタンを常時表示（予約導線の強化） */
  .sp-cta-fixed {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    background: var(--terracotta); color: var(--white);
    font-size: 15px; font-weight: 600; padding: 14px 20px;
    border-radius: 99px; box-shadow: 0 8px 22px rgba(113, 90, 64, 0.45);
  }
  body { padding-bottom: 76px; }   /* 固定CTAでフッターが隠れないよう余白を確保 */
  /* ヒーロー・MY THOUGHTS の葉っぱをテキストと被らないよう右上隅に固定 */
  .deco-leaf--1 { top: 10px; right: 10px; width: 22px; opacity: .25; }
  .deco-leaf--2 { bottom: 10px; right: 10px; width: 26px; opacity: .25; }
  .omoi-teaser .deco-leaf--1 { top: 10px; right: 10px; width: 22px; opacity: .25; }

  /* 予約カレンダー：日付と時間ボタンを縦積みに */
  .cal-day { flex-direction: column; gap: 8px; }
  .cal-date { padding-top: 0; }
  .cal-time span { padding: 12px 20px; }   /* タップしやすく */
  .reserve-form { padding: 22px 18px; }

  /* ヘッダーが詰まらないようロゴを少し小さく */
  .logo { font-size: 17px; }
}

/* =========================================================
   アニメーション (animations.js 連動)
   各ブロックは animations.config.js の ANIM フラグで制御。
   ========================================================= */

/* ---------- A: スクロールフェードイン ---------- */
.js-fade {
  opacity: 0;
  /* 移動量を控えめにし、視覚的な安定性を高める（transformは合成処理されレイアウトに影響しない） */
  transform: translateY(12px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* アニメーション完了後は will-change を立てない（常時GPU確保によるメモリ負荷を避ける） */
@media (prefers-reduced-motion: reduce) {
  .js-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- B: ヒーローテキスト切り替え ---------- */
.js-hero-cycle {
  display: block;
  transition: opacity 1s ease;
}
.js-hero-exit {
  opacity: 0;
}
.js-hero-enter {
  opacity: 0;
  animation: hero-enter 0.5s ease forwards;
}
@keyframes hero-enter {
  to { opacity: 1; }
}

/* ---------- C: フォーム送信ローディング ---------- */
.js-btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.js-btn-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.75s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ---------- C2: 予約日時カードUI ---------- */
.js-time-card { cursor: pointer; position: relative; }
.js-time-card input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.js-time-card span {
  display: inline-block;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: background 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.15s ease;
}
.js-time-card:hover span {
  border-color: var(--sage);
  background: var(--apricot-soft);
}
.js-time-card.is-selected span {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
  transform: scale(1.05);
}

/* ---------- D: マイクロインタラクション ---------- */
/* Ripple: ボタンが position:relative / overflow:hidden を持つよう上書き */
body.js-anim-micro .btn-primary,
body.js-anim-micro .btn-ghost,
body.js-anim-micro .btn-cta-header,
body.js-anim-micro .btn-save,
body.js-anim-micro .btn-admin {
  position: relative;
  overflow: hidden;
}
.js-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transform: scale(0);
  animation: ripple-anim 0.65s linear forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}
/* カードホバー浮き上がり（MICRO_INTERACTIONSがONのときのみ） */
body.js-anim-micro .pain-box,
body.js-anim-micro .service-card,
body.js-anim-micro .work-card,
body.js-anim-micro .voice-card,
body.js-anim-micro .blog-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
body.js-anim-micro .pain-box:hover,
body.js-anim-micro .service-card:hover,
body.js-anim-micro .work-card:hover,
body.js-anim-micro .voice-card:hover,
body.js-anim-micro .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(113, 90, 64, 0.17);
}

/* =========================================================
   E: ビフォーアフター演出（WORKS_AFTER_SLIDE / WORKS_SPARKLE）
   ========================================================= */

/* -- E1: アフタースライドイン -- */
body.js-anim-works .work-after {
  opacity: 0;
  transform: translateX(20px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}
body.js-anim-works .work-after.js-after-enter {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  body.js-anim-works .work-after {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -- E2: キラキラパーティクル -- */
.js-sparkle {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  color: #F5C842;
  line-height: 1;
  z-index: 5;
  user-select: none;
  /* 写真の色に埋もれないよう、白いシャドウで輪郭を出す */
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.95), 0 0 6px rgba(255, 255, 255, 0.7);
}
.js-sparkle::before {
  content: '✦';
  display: block;
  font-size: inherit;
}
.js-sparkle.js-sparkle-active {
  animation: sparkle-anim 2.4s ease-in-out infinite;
  animation-delay: inherit;
}
@keyframes sparkle-anim {
  0%   { opacity: 0;   transform: scale(0.4) rotate(0deg); }
  20%  { opacity: 1;   transform: scale(1.2) rotate(30deg); }
  50%  { opacity: 0.7; transform: scale(0.9) rotate(60deg); }
  75%  { opacity: 1;   transform: scale(1.1) rotate(90deg); }
  100% { opacity: 0;   transform: scale(0.4) rotate(120deg); }
}
@media (prefers-reduced-motion: reduce) {
  .js-sparkle { display: none; }
}

/* =========================================================
   F2: ページイントロ オーバーレイ（INTRO_OVERLAY）
   ========================================================= */
.js-intro-overlay {
  position: fixed;
  inset: 0;
  background: #F3F0EC;
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.js-intro-overlay.js-intro-exit { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js-intro-overlay { display: none; }
}

/* =========================================================
   F1: ページイントロ キラキラバースト（INTRO_SPARKLE）
   画面中央から放射状に広がる。
   ========================================================= */
.js-intro-stage {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 10000;
}
.js-intro-sparkle {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  animation: intro-burst 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.js-intro-sparkle::before {
  content: '✦';
  display: block;
}
@keyframes intro-burst {
  0%   {
    transform: translate(-50%, -50%) translate(0, 0) scale(0.2) rotate(0deg);
    opacity: 0;
  }
  15%  { opacity: 1; }
  70%  { opacity: 1; }
  100% {
    transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(1.1) rotate(160deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-intro-stage { display: none; }
}

/* =========================================================
   H: お客様の声 自動スライダー（VOICE_SLIDER）
   ========================================================= */
.js-voice-wrap {
  overflow: hidden;
}
.js-voice-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0;
}
.js-voice-slide {
  flex: 0 0 33.333%;
  padding: 0 12px;
  box-sizing: border-box;
}
