@charset "UTF-8";
/* =====================================================
   AIスミズミ プロモーションサイト
   style.css

   デザイン：探偵スミズミ君を主役にした、ポップ×信頼のプロモLP
   - ティールグリーン（#1f9e93）×クリーム地、CTAは黄色で最強に目立たせる
   - 見出しは丸ゴシック（M PLUS Rounded 1c）、本文はNoto Sans JP
   - ギミック：スクロール出現・カウントアップ・チャット実演・
     補助金シミュレーター・代理店報酬スライダー・タブ・マーキー等
   - 角丸は大きめ（カード16〜24px・ボタンはピル）で「触りたくなる」手触り

   【目次】
   1. 変数（デザイントークン）
   2. リセット・ベース
   3. 共通パーツ（ボタン・見出し・セクション）
   4. ヘッダー
   5. ヒーロー＋チャット実演
   6. マーキー（業種ストリップ）
   7. お悩み・特長カード
   8. タブ（業種別事例）
   9. 比較表
   10. 料金カード
   11. 補助金シミュレーター
   12. 代理店（スライダー・ランク）
   13. 流れ（ステップ）
   14. FAQ・お知らせ
   15. CTAバンド・フッター
   16. フォーム
   17. 浮遊CTA・ギミック（出現/カウント/脈動）
   18. 下層ページ共通
   19. レスポンシブ

   ※色・角丸・余白はすべて「1. 変数」で一元管理。
===================================================== */

/* -----------------------------------------------------
   1. 変数（デザイントークン）
----------------------------------------------------- */
:root {
  /* ブランド */
  --teal:      #1f9e93;
  --teal-dark: #15756d;
  --teal-deep: #0d4742;   /* ヒーロー・フッターの深緑 */
  --teal-pale: #e4f4f2;

  /* CTA（最も熱い色） */
  --yellow:      #ffd43b;
  --yellow-hover:#ffc400;

  /* サブアクセント */
  --orange: #ef8a3c;
  --pink:   #f7b1a9;

  /* サーフェス */
  --cream: #fdf9f0;
  --white: #ffffff;
  --line:  #e8e4d8;

  /* テキスト */
  --ink:   #1f2d2c;
  --text:  #3a4a48;
  --muted: #7a8a88;

  /* 角丸・影 */
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 9999px;
  --shadow: 0 6px 20px rgba(13, 71, 66, 0.10);
  --shadow-lg: 0 14px 36px rgba(13, 71, 66, 0.16);

  /* フォント */
  --font-head: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  /* 余白 */
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 32px;
  --sp-xl: 48px;
  --sp-xxl: 64px;
  --sp-section: 96px;

  /* コンテンツ幅 */
  --w-content: 1160px;
}

/* -----------------------------------------------------
   2. リセット・ベース
----------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

/* マーカー風ハイライト */
.mark {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  font-weight: 700;
  color: var(--ink);
}

/* -----------------------------------------------------
   3. 共通パーツ
----------------------------------------------------- */
.section {
  padding: var(--sp-section) 0;
}

.section--cream {
  background: var(--cream);
}

.section--teal {
  background: var(--teal-pale);
}

.section__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 24px;
}

/* 見出し：吹き出し風ラベル＋丸ゴシック */
.section__title {
  text-align: center;
  margin-bottom: var(--sp-md);
}

.section__title-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--r-full);
  padding: 4px 18px;
  margin-bottom: 12px;
}

.section__title-jp {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.section__title-jp .teal { color: var(--teal-dark); }

.section__sub {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: var(--sp-xl);
}

/* --- ボタン --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 36px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  border: none;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

/* CTA（黄色・最重要）。波紋アニメ付き */
.btn--cta {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.45);
}

.btn--cta:hover {
  background: var(--yellow-hover);
}

.btn--cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  border: 2px solid var(--yellow);
  animation: cta-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes cta-pulse {
  0%   { transform: scale(1); opacity: 0.9; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* 矢印 */
.btn--cta .arrow {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1;
}

/* ティール枠ボタン（サブ） */
.btn--ghost {
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--teal-pale);
}

/* 小ぶり */
.btn--sm {
  min-height: 44px;
  padding: 10px 24px;
  font-size: 14px;
}

/* テキストリンク */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
  border-bottom: 2px dotted var(--teal);
  padding-bottom: 2px;
}

.text-link::after {
  content: "\2192";
  transition: transform 0.2s;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* バッジ */
.badge-new {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
  background: var(--orange);
  border-radius: var(--r-full);
  padding: 2px 12px;
  vertical-align: middle;
  margin-left: 8px;
}

.badge-soon {
  background: var(--muted);
}

/* -----------------------------------------------------
   4. ヘッダー
----------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s;
}

.header.is-scrolled {
  box-shadow: 0 2px 16px rgba(13, 71, 66, 0.12);
}

.header__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  height: 44px;
  width: auto;
}

.gnav__list {
  display: flex;
  gap: 2px;
  align-items: center;
}

.gnav__list a {
  display: block;
  white-space: nowrap;
  padding: 9px 13px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  border-radius: var(--r-full);
  transition: color 0.2s, background 0.2s;
}

.gnav__list a:hover {
  color: var(--teal-dark);
  background: var(--teal-pale);
}

.gnav__list a.is-current {
  color: var(--white);
  background: var(--teal);
}

.header__cta {
  min-height: 46px;
  padding: 10px 22px;
  font-size: 14px;
}

/* スマホ用メニューボタン */
.header__menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  background: var(--teal);
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.header__menu-btn span {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.header__menu-btn.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.header__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.header__menu-btn.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* -----------------------------------------------------
   5. ヒーロー＋チャット実演
----------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 212, 59, 0.18) 0 90px, transparent 91px),
    radial-gradient(circle at 88% 80%, rgba(239, 138, 60, 0.16) 0 120px, transparent 121px),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.08) 0 60px, transparent 61px),
    linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 55%, var(--teal) 100%);
  color: var(--white);
  overflow: hidden;
}

/* ドット紙吹雪 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.14) 2px, transparent 2.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 72px 24px 88px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--teal-deep);
  background: var(--yellow);
  border-radius: var(--r-full);
  padding: 5px 18px;
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.hero__title .yellow { color: var(--yellow); }

.hero__sub {
  font-size: 16px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 26px;
  max-width: 520px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.hero__points li {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--r-full);
  padding: 5px 16px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__buttons .btn--ghost {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.hero__buttons .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* --- チャット実演ウィンドウ --- */
.chat-demo {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.chat-demo__head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  padding: 12px 18px;
}

.chat-demo__head img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 2px;
}

.chat-demo__head .dot {
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7CFC9B;
  box-shadow: 0 0 8px #7CFC9B;
}

.chat-demo__body {
  padding: 18px 16px 20px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(180deg, #f7fbfa 0%, #eef6f4 100%);
}

.chat-msg {
  max-width: 85%;
  font-size: 13.5px;
  line-height: 1.7;
  padding: 10px 14px;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s, transform 0.45s;
}

.chat-msg.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--yellow);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-msg--bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--text);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(13, 71, 66, 0.08);
}

/* ボットの「画像つき回答」 */
.chat-msg--bot .chat-img {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-top: 8px;
  background: linear-gradient(135deg, #ffe9a8, #f9c97e);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* チャット内の実画像はタップで拡大できる */
.chat-msg--bot .chat-img {
  cursor: zoom-in;
}

/* キャンペーンバナー風 */
.chat-banner {
  display: block;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--orange), #f7a45c);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
  border-radius: 10px;
  padding: 10px 8px;
}

/* タイピング中ドット */
.chat-typing {
  align-self: flex-start;
  display: none;
  gap: 5px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(13, 71, 66, 0.08);
}

.chat-typing.is-shown {
  display: inline-flex;
}

.chat-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: typing 1s infinite;
}

.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* 実演ウィンドウの上で揺れるマスコット */
.chat-demo__mascot {
  position: absolute;
  top: -34px;
  right: -10px;
  width: 84px;
  animation: bob 3s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
  z-index: 2;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

/* ヒーロー下の波 */
.hero__wave {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: -1px;
}

/* -----------------------------------------------------
   6. マーキー（業種ストリップ）
----------------------------------------------------- */
.marquee {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 12px 0;
}

.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee__track span::before {
  content: "\2726 ";
  color: var(--yellow);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -----------------------------------------------------
   7. お悩み・特長カード
----------------------------------------------------- */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
  max-width: 860px;
  margin: 0 auto;
}

.worry-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
}

.worry-item::before {
  content: "!";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

/* 特長カード（3つのビジュアル機能など） */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.feature-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--teal-pale);
  border-radius: 50%;
  margin-bottom: 14px;
  color: var(--teal-dark);
}

.feature-card__icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 13.5px;
  text-align: left;
  color: var(--text);
}

.feature-card__num {
  position: absolute;
  top: -14px;
  left: -6px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  background: var(--teal);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

/* 数字カウンター帯 */
.counter-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.counter-cell {
  padding: var(--sp-lg) var(--sp-sm);
  text-align: center;
}

.counter-cell + .counter-cell {
  border-left: 2px dashed var(--line);
}

.counter-cell__value {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.2;
}

.counter-cell__value small {
  font-size: 16px;
  color: var(--muted);
}

.counter-cell__label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 2px;
}

/* スクショ見せ（額装＋傾き） */
.shot-frame {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  transition: transform 0.3s;
}

.shot-frame:hover {
  transform: scale(1.02) rotate(0.4deg);
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  align-items: start;
}

.shot-caption {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

/* -----------------------------------------------------
   8. タブ（業種別事例）
----------------------------------------------------- */
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--sp-lg);
}

.tabs__btn {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--r-full);
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.tabs__btn:hover {
  transform: translateY(-2px);
}

.tabs__btn.is-active {
  background: var(--teal);
  color: var(--white);
}

.tabs__panel {
  display: none;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: var(--sp-lg);
}

.tabs__panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
  animation: fadein 0.4s;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tabs__panel h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.tabs__panel .check-list {
  margin-top: 10px;
}

.check-list li {
  position: relative;
  font-size: 14px;
  padding-left: 28px;
  margin-bottom: 8px;
}

.check-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--white);
  background: var(--teal);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -----------------------------------------------------
   9. 比較表
----------------------------------------------------- */
.compare-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
}

.compare-table thead th.hl {
  background: var(--teal);
  font-size: 15px;
}

.compare-table tbody th {
  background: var(--cream);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.compare-table td.hl {
  background: var(--teal-pale);
  font-weight: 700;
  color: var(--teal-dark);
}

.compare-table .ok { color: var(--teal-dark); font-weight: 800; }
.compare-table .ng { color: #c66; }

/* 罫線入りの表（料金のオプション表など、行×列が多い表に使う） */
.compare-table--lined {
  border: 1px solid var(--line);
}

.compare-table--lined th,
.compare-table--lined td {
  border-right: 1px solid var(--line);
}

.compare-table--lined th:last-child,
.compare-table--lined td:last-child {
  border-right: none;
}

.compare-table--lined thead th {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.compare-table--lined thead th:last-child {
  border-right: none;
}

/* -----------------------------------------------------
   10. 料金カード
----------------------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 3px solid var(--teal);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.price-card--medical {
  border-color: var(--orange);
}

.price-card__tag {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--r-full);
  padding: 4px 22px;
  white-space: nowrap;
}

.price-card--medical .price-card__tag {
  background: var(--orange);
}

.price-card__name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 14px 0 2px;
}

.price-card__for {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.price-card__initial {
  font-size: 14px;
  color: var(--text);
}

.price-card__monthly {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.price-card__monthly .num {
  font-size: 44px;
  font-weight: 800;
  color: var(--teal-dark);
  letter-spacing: 0;
}

.price-card--medical .price-card__monthly .num {
  color: var(--orange);
}

.price-card__tax {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.price-card__list {
  text-align: left;
  border-top: 2px dashed var(--line);
  padding-top: 16px;
  margin-bottom: 20px;
}

/* -----------------------------------------------------
   11. 補助金シミュレーター
----------------------------------------------------- */
.sim-box {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-lg);
}

.sim-box__switch {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}

.sim-switch {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--r-full);
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.sim-switch.is-active {
  background: var(--teal);
  color: var(--white);
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.sim-plan {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  text-align: center;
}

.sim-plan__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.sim-plan__row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 5px 4px;
  border-bottom: 1px dashed var(--line);
}

.sim-plan__row .num {
  font-family: var(--font-head);
  font-weight: 700;
}

.sim-plan__result {
  margin-top: 14px;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--r-md);
  padding: 12px;
}

.sim-plan__result-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-dark);
}

.sim-plan__result-num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.3;
}

.sim-plan__result-num small {
  font-size: 15px;
}

.sim-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* -----------------------------------------------------
   12. 代理店（スライダー・ランク）
----------------------------------------------------- */
.margin-sim {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-lg);
}

.margin-sim__label {
  text-align: center;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.margin-sim__count {
  text-align: center;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.2;
}

.margin-sim__count small {
  font-size: 18px;
  color: var(--muted);
}

.margin-sim input[type="range"] {
  width: 100%;
  margin: 18px 0 6px;
  accent-color: var(--teal);
  height: 8px;
  cursor: grab;
}

.margin-sim__scale {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.margin-sim__rank {
  text-align: center;
  margin-bottom: 16px;
}

.rank-pill {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--r-full);
  padding: 5px 22px;
  transition: background 0.3s;
}

.rank-pill.rank-2 { background: var(--orange); }
.rank-pill.rank-3 { background: #d4486f; }

.margin-sim__result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.margin-sim__cell {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
}

.margin-sim__cell-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.margin-sim__cell-num {
  font-family: var(--font-head);
  font-size: 31px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.3;
}

.margin-sim__cell-num small {
  font-size: 14px;
}

/* マージンステップ図 */
.rank-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  max-width: 880px;
  margin: 0 auto;
}

.rank-step {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: var(--sp-md);
  text-align: center;
  border-top: 6px solid var(--teal);
}

.rank-step:nth-child(2) { border-top-color: var(--orange); }
.rank-step:nth-child(3) { border-top-color: #d4486f; }

.rank-step__name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}

.rank-step__rate {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.rank-step__cond {
  font-size: 12.5px;
  color: var(--muted);
}

/* -----------------------------------------------------
   13. 流れ（ステップ）
----------------------------------------------------- */
.flow-list {
  counter-reset: flow;
  max-width: 820px;
  margin: 0 auto;
}

.flow-item {
  position: relative;
  display: flex;
  gap: var(--sp-md);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: var(--sp-md) var(--sp-lg);
  margin-bottom: 34px;
}

.flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: var(--teal);
}

.flow-item__num {
  counter-increment: flow;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
}

.flow-item__num::before {
  content: counter(flow);
}

.flow-item__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.flow-item__text {
  font-size: 13.5px;
}

/* 導入の流れ：各ステップの添え写真 */
.flow-item__photo {
  flex-shrink: 0;
  width: 210px;
  height: 132px;
  object-fit: cover;
  border-radius: 10px;
  margin-left: auto;
  align-self: center;
}

/* 注意ボックス */
.notice-box {
  background: #fff7e8;
  border: 2px solid var(--yellow);
  border-radius: var(--r-md);
  padding: 20px 26px;
  font-size: 13.5px;
}

.notice-box__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.notice-box__title::before {
  content: "\26A0 ";
  color: var(--orange);
}

/* -----------------------------------------------------
   14. FAQ
----------------------------------------------------- */
.faq-group {
  max-width: 860px;
  margin: 0 auto var(--sp-xl);
}

.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item__q {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 56px;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::before {
  content: "Q";
  position: absolute;
  left: 18px;
  top: 14px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--white);
  background: var(--teal);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 14px;
  font-size: 24px;
  font-weight: 400;
  color: var(--teal);
  transition: transform 0.25s;
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  padding: 0 24px 18px 56px;
  font-size: 14px;
}

.heading-2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-md);
  padding-left: 14px;
  border-left: 6px solid var(--teal);
  border-radius: 3px;
}

/* -----------------------------------------------------
   15. CTAバンド・フッター
----------------------------------------------------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 212, 59, 0.25) 0 80px, transparent 81px),
    linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.cta-band__mascot {
  width: 88px;
  margin-bottom: 10px;
  animation: bob 3s ease-in-out infinite;
}

.cta-band__title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 8px;
}

.cta-band__text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 26px;
}

.cta-band__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-band .btn--ghost {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cta-band__tel {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 16px;
}

.cta-band__tel strong {
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--white);
}

/* フッター */
.footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--sp-xxl) 0 0;
}

.footer__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 24px var(--sp-xl);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--sp-xl);
}

.footer__logo img {
  height: 44px;
  width: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 6px 12px;
}

.footer__company {
  font-size: 13px;
  line-height: 2.0;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 14px;
}

.footer__head {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 10px;
}

.footer__nav li {
  margin-bottom: 8px;
}

.footer__nav a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

.footer__nav a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* -----------------------------------------------------
   16. フォーム
----------------------------------------------------- */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 44px;
}

.form-row {
  padding: 16px 0;
}

.form-row + .form-row {
  border-top: 1px dashed var(--line);
}

.form-row__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-required,
.form-optional {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--r-full);
  padding: 1px 12px;
}

.form-required {
  color: var(--white);
  background: var(--orange);
}

.form-optional {
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
}

.form-row__field input[type="text"],
.form-row__field input[type="email"],
.form-row__field input[type="tel"],
.form-row__field select,
.form-row__field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 13px 16px;
  min-height: 50px;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-row__field input::placeholder,
.form-row__field textarea::placeholder {
  color: #b9c2c0;
}

.form-row__field input:focus,
.form-row__field select:focus,
.form-row__field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(31, 158, 147, 0.15);
}

.form-row__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f9e93' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-row__field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row__note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-checks label {
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--r-full);
  padding: 8px 18px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

.form-checks label:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.form-checks label:has(input:checked) {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  font-weight: 700;
}

.form-checks input[type="checkbox"] {
  accent-color: var(--white);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.form-agree {
  text-align: center;
  font-size: 13px;
  margin: 26px 0 18px;
}

.form-agree a {
  text-decoration: underline;
}

.form-agree input[type="checkbox"] {
  accent-color: var(--teal);
  margin-right: 8px;
}

.form-submit {
  text-align: center;
}

.form-submit .btn {
  min-width: 320px;
}

/* -----------------------------------------------------
   17. 浮遊CTA・ギミック
----------------------------------------------------- */

/* スクロール出現 */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 子要素の時間差出現 */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.6s; }

/* 浮遊マスコットCTA（右下） */
.float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 3px solid var(--teal);
  border-radius: var(--r-lg);
  padding: 10px 14px 8px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
  text-align: center;
}

.float-cta:hover {
  transform: translateY(-4px) scale(1.04);
}

.float-cta img {
  width: 56px;
  animation: bob 3s ease-in-out infinite;
}

.float-cta span {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.3;
}

/* スマホ用 追従CTAバー */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 -4px 16px rgba(13, 71, 66, 0.15);
  padding: 10px 12px;
  gap: 10px;
}

.sticky-cta .btn {
  flex: 1;
  min-height: 48px;
  padding: 10px;
  font-size: 14px;
}



/* チャット実演内のキャンペーンバナー（画像） */
.chat-banner-img {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-top: 8px;
  cursor: zoom-in;
  box-shadow: 0 3px 10px rgba(13, 71, 66, 0.18);
}

/* 業種タブの操作ガイド */
.tabs__guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  text-align: center;
  margin-bottom: 14px;
}

.tabs__guide strong {
  color: var(--teal-dark);
}

/* 指アイコン（CSS製・上下にゆれる） */
.tabs__guide-hand {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow);
  position: relative;
  animation: tap-bounce 1.4s ease-in-out infinite;
}

.tabs__guide-hand::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 3px;
  height: 10px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
}

@keyframes tap-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px) scale(0.94); }
}

/* アクティブなタブに下向きの矢印（パネルとつながって見える） */
.tabs__btn {
  position: relative;
}

.tabs__btn.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--teal);
}

/* ライトボックス（画像タップで拡大） */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 30, 28, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 0.25s;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  font-size: 22px;
  font-family: var(--font-head);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  text-align: center;
  max-width: 88vw;
}

/* 拡大できる画像の合図 */
.js-lb,
.shot-frame img {
  cursor: zoom-in;
}

.shot-frame {
  position: relative;
}

.shot-frame::after {
  content: "\2295";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(13, 71, 66, 0.78);
  color: #fff;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* 事例カードの写真 */
.case-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  display: block;
}

/* 見出し用の小アイコン */
.h2-icon {
  display: inline-flex;
  vertical-align: -4px;
  margin-right: 8px;
  color: var(--teal-dark);
}

.h2-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* -----------------------------------------------------
   18. 下層ページ共通
----------------------------------------------------- */
.page-header {
  position: relative;
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 212, 59, 0.2) 0 70px, transparent 71px),
    linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.13) 2px, transparent 2.5px);
  background-size: 28px 28px;
}

.page-header__label {
  position: relative;
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--teal-deep);
  background: var(--yellow);
  border-radius: var(--r-full);
  padding: 3px 16px;
  margin-bottom: 10px;
}

.page-header__title {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* パンくず */
.breadcrumb {
  background: var(--cream);
  font-size: 12.5px;
}

.breadcrumb ol {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: "\203A";
  margin: 0 10px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
}

.breadcrumb li {
  color: var(--text);
}

/* -----------------------------------------------------
   19. レスポンシブ
----------------------------------------------------- */

/* === ナビ折りたたみ（〜1080px） === */
@media (max-width: 1080px) {
  .header__cta {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }

  .gnav {
    display: none;
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--white);
    z-index: 99;
    border-top: 4px solid var(--teal);
    overflow-y: auto;
  }

  .gnav.is-open {
    display: block;
  }

  .gnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
  }

  .gnav__list a {
    padding: 16px 4px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* === タブレット（〜1024px） === */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
    padding: 56px 24px 72px;
  }

  .hero__title {
    font-size: 40px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .counter-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .counter-cell:nth-child(3),
  .counter-cell:nth-child(4) {
    border-top: 2px dashed var(--line);
  }

  .counter-cell:nth-child(3) {
    border-left: none;
  }

  .shot-row {
    grid-template-columns: 1fr;
  }

  .rank-steps {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* === スマホ（〜768px） === */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  body {
    padding-bottom: 72px; /* 追従CTAバーぶん */
  }

  .header__inner {
    padding: 0 16px;
    height: 64px;
  }

  .gnav {
    inset: 64px 0 0 0;
  }

  .logo img {
    height: 36px;
  }

  /* --- ヒーロー --- */
  .hero__inner {
    padding: 44px 20px 64px;
  }

  .hero__title {
    font-size: 31px;
  }

  .hero__sub {
    font-size: 14px;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .chat-demo {
    max-width: 100%;
  }

  .chat-demo__mascot {
    top: -28px;
    width: 64px;
  }

  /* --- セクション --- */
  .section {
    padding: 60px 0;
  }

  .section__inner {
    padding: 0 20px;
  }

  .section__title-jp {
    font-size: 25px;
  }

  .worry-grid {
    grid-template-columns: 1fr;
  }

  .tabs__panel.is-active {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .sim-grid {
    grid-template-columns: 1fr;
  }

  .margin-sim__result {
    grid-template-columns: 1fr;
  }

  .flow-item {
    flex-direction: column;
    gap: 10px;
  }

  .flow-item__photo {
    width: 100%;
    height: 160px;
    margin-left: 0;
  }

  .contact-form {
    padding: 24px 20px 32px;
  }

  .form-submit .btn {
    min-width: 0;
    width: 100%;
  }

  .cta-band {
    padding: 60px 20px;
  }

  .cta-band__title {
    font-size: 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  /* 浮遊CTAは追従バーと重なるため上へ */
  .float-cta {
    bottom: 84px;
    right: 12px;
    padding: 8px 10px 6px;
  }

  .float-cta img {
    width: 44px;
  }

  .sticky-cta {
    display: flex;
  }

  .page-header__title {
    font-size: 25px;
  }
}

/* 動きを抑えたい環境への配慮 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn--cta::after,
  .chat-demo__mascot,
  .cta-band__mascot,
  .float-cta img,
  .marquee__track {
    animation: none;
  }
}
