@charset "UTF-8";
/* ==========================================================================
   株式会社極眠テクノロジー — コーポレートサイト スタイルシート
   構成: 1.トークン 2.リセット 3.土台 4.部品 5.ヘッダー 6.セクション
        7.フォーム 8.フッター 9.アニメーション 10.レスポンシブ 11.印刷
   ========================================================================== */

/* ── 1. デザイントークン ────────────────────────────────────────────── */
:root {
  --navy-900: #08172b;
  --navy-800: #0e2340;
  --navy-700: #16345c;
  --navy-600: #1f4a80;
  --navy-500: #2c5f9e;
  --navy-300: #7fa2ce;
  --navy-100: #d7e3f3;

  --sand: #c9a66b;
  --sand-dark: #a9853f;
  --sand-text: #7d5c1c; /* 明るい背景の上に置く文字用（コントラスト比 4.5:1 以上を確保） */
  --sand-soft: #f3ead9;

  --ink: #16202e;
  --ink-mid: #3f4c5d;
  --ink-soft: #64707f;
  --line: #e3e9f1;
  --line-strong: #cbd6e4;

  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eaf1f9;

  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(14, 35, 64, 0.06), 0 2px 8px rgba(14, 35, 64, 0.05);
  --shadow: 0 4px 12px rgba(14, 35, 64, 0.07), 0 12px 32px rgba(14, 35, 64, 0.07);
  --shadow-lg: 0 12px 28px rgba(14, 35, 64, 0.1), 0 32px 64px rgba(14, 35, 64, 0.1);

  --header-h: 80px;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── 2. リセット ──────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--navy-500);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -200%);
  z-index: 300; background: var(--navy-800); color: #fff; padding: 10px 20px;
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 700;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* ── 3. 土台 ─────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.container--mid { max-width: 1000px; }

.section { padding-block: clamp(64px, 9vw, 116px); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.section--navy { background: var(--navy-800); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

.br-pc { display: inline; }
.br-sp { display: none; }

/* 見出し ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand-text);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sand); }
.section--navy .eyebrow { color: var(--sand); }
.section--navy .eyebrow::before { background: var(--sand); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.5; letter-spacing: 0.02em; font-weight: 600;
  margin: 0 0 18px;
}
.section-title .accent { color: var(--navy-600); }
.section--navy .section-title .accent { color: var(--sand); }

.section-lead { font-size: clamp(15px, 1.6vw, 17px); color: var(--ink-mid); max-width: 62ch; }
.section--navy .section-lead { color: rgba(255, 255, 255, 0.82); }

.section-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* ── 4. 部品 ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor;
  border-right: 2px solid currentColor; transform: rotate(45deg); flex: none;
  transition: transform 0.2s var(--ease);
}
.btn--noarrow::after { display: none; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: rotate(45deg) translate(2px, -2px); }

.btn--primary { background: var(--navy-700); color: #fff; box-shadow: 0 6px 18px rgba(22, 52, 92, 0.24); }
.btn--primary:hover { background: var(--navy-800); color: #fff; box-shadow: 0 10px 26px rgba(22, 52, 92, 0.3); }

.btn--accent { background: var(--sand); color: var(--navy-900); box-shadow: 0 6px 18px rgba(169, 133, 63, 0.28); }
.btn--accent:hover { background: var(--sand-dark); color: #fff; }

.btn--outline { background: transparent; color: var(--navy-700); border-color: var(--line-strong); }
.btn--outline:hover { background: var(--bg-soft); border-color: var(--navy-600); color: var(--navy-800); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; }

.btn--ghost { background: var(--bg-soft); color: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-tint); color: var(--navy-800); }

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--lg { padding: 18px 40px; font-size: 16px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--navy-600); text-decoration: none; font-size: 15px;
}
.textlink::after {
  content: ""; width: 6px; height: 6px; border-top: 2px solid currentColor;
  border-right: 2px solid currentColor; transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.textlink:hover { color: var(--navy-800); }
.textlink:hover::after { transform: rotate(45deg) translate(3px, -3px); }

/* カード ------------------------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy-100); }
.card__num {
  font-family: var(--font-en); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--sand-text); display: block; margin-bottom: 12px;
}
.card__title { font-size: clamp(17px, 2vw, 20px); margin: 0 0 12px; letter-spacing: 0.01em; }
.card__text { font-size: 14.5px; color: var(--ink-mid); line-height: 1.95; margin: 0; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* アイコン枠 -------------------------------------------------------- */
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--navy-700); margin-bottom: 18px; flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--sand { background: var(--sand-soft); color: var(--sand-text); }

/* 注記ボックス ------------------------------------------------------ */
.note {
  border-left: 3px solid var(--navy-100); background: var(--bg-soft);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px; color: var(--ink-mid); line-height: 1.9;
}
.note--sand { border-left-color: var(--sand); background: #fdfaf4; }
.note strong { color: var(--ink); }

/* パンくず ---------------------------------------------------------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 12.5px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-block: 12px; }
.breadcrumb li { color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "／"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy-600); text-decoration: underline; }

/* ── 5. ヘッダー ─────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(14, 35, 64, 0.06); }
.header__inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 24px;
}

/* ロゴ（実ロゴ画像）--------------------------------------------------
   マーク（ネットワーク状の横顔）＋ワードマークを横に並べます。
   濃紺の背景では白版に差し替わります（layout.js が出し分け）。 */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.logo__mark { width: auto; height: 40px; flex: none; }
.logo__word { width: auto; height: 23px; flex: none; }
.logo:hover { opacity: 0.82; }
.footer .logo__mark { height: 44px; }
.footer .logo__word { height: 25px; }

@media (max-width: 640px) {
  .logo__mark { height: 34px; }
  .logo__word { height: 19px; }
}

.header__nav { margin-left: auto; }
.header__nav ul { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 20px); }
.header__nav a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-mid); text-decoration: none;
  padding: 8px 2px; position: relative; white-space: nowrap;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--sand); transform: scaleX(0); transition: transform 0.24s var(--ease);
}
.header__nav a:hover { color: var(--navy-800); }
.header__nav a:hover::after,
.header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__nav a[aria-current="page"] { color: var(--navy-800); font-weight: 700; }

.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header__tel { text-decoration: none; color: var(--navy-800); display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.header__tel-num { font-family: var(--font-en); font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }
.header__tel-hours { font-size: 10.5px; color: var(--ink-soft); }

.header__burger { display: none; background: none; border: 0; padding: 10px; margin-left: auto; }
.header__burger-lines { display: block; width: 24px; height: 16px; position: relative; }
.header__burger-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--navy-800);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.header__burger-lines span:nth-child(1) { top: 0; }
.header__burger-lines span:nth-child(2) { top: 7px; }
.header__burger-lines span:nth-child(3) { top: 14px; }
/* ★ .header__burger-lines を挟んで指定すること。
   button 直下の span（ラッパー自身と .sr-only）まで巻き込むと二重に回転する。 */
.header__burger[aria-expanded="true"] .header__burger-lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] .header__burger-lines span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] .header__burger-lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobilenav {
  position: fixed; inset: var(--header-h) 0 0; background: #fff; z-index: 99;
  overflow-y: auto; padding: 24px var(--gutter) 48px;
  animation: navIn 0.28s var(--ease);
}
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobilenav__list { border-top: 1px solid var(--line); }
.mobilenav__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15.5px;
}
.mobilenav__list a::after {
  content: ""; width: 7px; height: 7px; border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong); transform: rotate(45deg);
}
.mobilenav__list a[aria-current="page"] { color: var(--navy-700); font-weight: 700; }
.mobilenav__actions { display: grid; gap: 12px; margin-top: 28px; }
body.nav-open { overflow: hidden; }

/* ── 6. セクション ───────────────────────────────────────────────── */

/* 6.1 ヒーロー ------------------------------------------------------ */
.hero {
  position: relative; background: var(--navy-900); overflow: hidden;
  min-height: min(96vh, 940px); display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.86;
  /* 施術を受けている顔と手元が、文字を避けた明るい側に来るよう位置を調整 */
  object-position: 64% 48%; filter: saturate(0.82) contrast(1.06);
  transform: scale(1.08);
  animation: heroPan 26s var(--ease) forwards;
}
@keyframes heroPan { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 18, 34, 0.95) 0%, rgba(7, 20, 38, 0.88) 26%, rgba(9, 25, 46, 0.55) 48%, rgba(12, 31, 56, 0.18) 72%, rgba(14, 35, 64, 0.08) 100%),
    linear-gradient(0deg, rgba(6, 18, 34, 0.8) 0%, rgba(6, 18, 34, 0) 42%);
}
/* 縦の細いラインを重ね、写真だけに頼らない骨格をつくる */
.hero__rules { position: absolute; inset: 0; pointer-events: none; }
.hero__rules span {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.09) 30%, rgba(255, 255, 255, 0) 100%);
}
.hero__inner {
  position: relative; z-index: 1; width: 100%; max-width: var(--container); margin-inline: auto;
  padding: clamp(84px, 10.5vw, 132px) var(--gutter) clamp(34px, 4vw, 52px);
  color: #fff;
}
/* 左端の縦ラベル（編集的な骨格） */
.hero__side {
  position: absolute; left: calc(var(--gutter) - 30px); bottom: clamp(150px, 22vw, 260px);
  writing-mode: vertical-rl; font-family: var(--font-en); font-size: 11px;
  letter-spacing: 0.32em; color: rgba(255, 255, 255, 0.4); text-transform: uppercase;
  display: flex; align-items: center; gap: 16px;
}
.hero__side::after { content: ""; width: 1px; height: 64px; background: rgba(201, 166, 107, 0.55); }

.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--sand); margin-bottom: 22px;
}
.hero__tag::before { content: ""; width: 34px; height: 1px; background: var(--sand); }
.hero__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(36px, 8.4vw, 104px); line-height: 1.2; letter-spacing: -0.005em;
  margin: 0 0 20px; text-shadow: 0 4px 44px rgba(0, 0, 0, 0.42);
}
.hero__title .line { display: block; }
.hero__title .thin {
  display: block; font-family: var(--font-sans); font-size: clamp(15px, 2.1vw, 22px);
  font-weight: 500; letter-spacing: 0.14em; margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}
.hero__lead {
  font-size: clamp(14.5px, 1.6vw, 16.5px); line-height: 2; max-width: 40ch;
  color: rgba(255, 255, 255, 0.82); margin: 0 0 26px;
  padding-left: 18px; border-left: 1px solid rgba(201, 166, 107, 0.45);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(26px, 3.2vw, 40px); }

/* 数値の帯：次のセクションに少し重ねて置く */
.hero__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 760px;
}
.hero__fact { background: transparent; padding: 17px 24px 2px 0; }
.hero__fact:not(:first-child) { padding-left: 24px; }
.hero__fact dt { font-size: 11.5px; letter-spacing: 0.12em; color: var(--sand); margin-bottom: 8px; }
.hero__fact dd {
  margin: 0; font-family: var(--font-en); font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.01em;
}
.hero__fact dd .unit { font-size: 0.44em; font-family: var(--font-sans); margin-left: 5px; font-weight: 500; letter-spacing: 0; }

/* スクロールの合図 */
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(28px, 5vw, 48px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 10px; letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.45); writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 56px; background: rgba(255, 255, 255, 0.28); position: relative; overflow: hidden;
}
.hero__scroll i {
  display: block; width: 1px; height: 56px; background: linear-gradient(180deg, var(--sand), transparent);
  animation: scrollCue 2.2s var(--ease) infinite;
}
@keyframes scrollCue { 0% { transform: translateY(-100%); opacity: 0 } 30% { opacity: 1 } 100% { transform: translateY(100%); opacity: 0 } }

/* 段階的な立ち上がり */
.js .hero__tag, .js .hero__title .line, .js .hero__title .thin, .js .hero__lead,
.js .hero__actions, .js .hero__facts, .js .hero__side, .js .hero__scroll {
  opacity: 0; animation: heroRise 1s var(--ease) forwards;
}
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__tag { animation-delay: 0.15s; }
.hero__title .line:nth-of-type(1) { animation-delay: 0.3s; }
.hero__title .line:nth-of-type(2) { animation-delay: 0.44s; }
.hero__title .thin { animation-delay: 0.62s; }
.hero__lead { animation-delay: 0.76s; }
.hero__actions { animation-delay: 0.9s; }
.hero__facts { animation-delay: 1.04s; }
.hero__side { animation-delay: 1.3s; }
.hero__scroll { animation-delay: 1.5s; }

/* 下層ページのヒーロー */
.pagehero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.pagehero__media { position: absolute; inset: 0; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.58; }
.pagehero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(6, 18, 34, 0.93) 0%, rgba(9, 25, 46, 0.74) 42%, rgba(14, 35, 64, 0.34) 100%);
}
.pagehero__inner {
  position: relative; z-index: 1; max-width: var(--container); margin-inline: auto;
  padding: clamp(52px, 8vw, 92px) var(--gutter);
}
.pagehero__en {
  font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--sand); margin: 0 0 12px;
}
.pagehero__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(26px, 4.4vw, 44px); line-height: 1.45; margin: 0 0 16px; letter-spacing: 0.03em;
}
.pagehero__lead { font-size: clamp(14.5px, 1.6vw, 17px); color: rgba(255, 255, 255, 0.82); max-width: 58ch; margin: 0; }

/* 6.2 課題提起 ------------------------------------------------------ */
.issues { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.issue {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; font-size: 15px; line-height: 1.8; color: var(--ink-mid);
}
.issue__check {
  flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--bg-tint);
  color: var(--navy-600); display: grid; place-items: center; font-size: 12px; margin-top: 3px;
}

/* 6.3 交互レイアウト（画像＋文章） ---------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__badge {
  position: absolute; bottom: -18px; left: -18px; background: var(--navy-800); color: #fff;
  border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow);
  max-width: 260px;
}
.split__badge strong { display: block; font-family: var(--font-en); font-size: 24px; line-height: 1.1; color: var(--sand); }
.split__badge span { font-size: 12px; color: rgba(255, 255, 255, 0.82); }
.split__body h3 { font-family: var(--font-serif); font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; margin: 0 0 16px; line-height: 1.55; }

/* 6.4 特徴リスト ---------------------------------------------------- */
.checklist { display: grid; gap: 12px; }
/* li は block のまま（flex にすると strong と地の文が別の列に割れてしまう） */
.checklist li {
  position: relative; padding-left: 32px; font-size: 15px;
  color: var(--ink-mid); line-height: 1.9;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9853f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist li strong { color: var(--ink); }
.section--navy .checklist li strong { color: #fff; }
.section--navy .checklist li { color: rgba(255, 255, 255, 0.85); }

/* 6.5 ステップ（導入の流れ） ---------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step; position: relative; display: grid;
  grid-template-columns: 86px 1fr; gap: clamp(18px, 3vw, 34px);
  padding-bottom: 40px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 34px; top: 78px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--navy-100), var(--line));
}
.step:last-child::before { display: none; }
.step__num {
  width: 68px; height: 68px; border-radius: 50%; background: #fff;
  border: 2px solid var(--navy-100); color: var(--navy-700);
  display: grid; place-items: center; font-family: var(--font-en); font-weight: 600;
  position: relative; z-index: 1; line-height: 1.05; text-align: center;
}
.step__num small { display: block; font-size: 9px; letter-spacing: 0.14em; color: var(--ink-soft); }
.step__num b { font-size: 22px; }
.step__body { padding-top: 8px; }
.step__title { font-size: clamp(17px, 2.2vw, 21px); margin: 0 0 10px; }
.step__meta {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--sand-text); background: var(--sand-soft); border-radius: 999px;
  padding: 4px 12px; margin-bottom: 10px;
}
.step__text { font-size: 14.5px; color: var(--ink-mid); margin: 0; line-height: 1.95; }

/* 横並びステップ（トップページ用） */
.steps-h { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; counter-reset: hstep; }
.steps-h__item {
  counter-increment: hstep; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 16px; text-align: center; position: relative;
}
.steps-h__item::before {
  content: "0" counter(hstep); display: block; font-family: var(--font-en); font-size: 12px;
  font-weight: 600; letter-spacing: 0.12em; color: var(--sand-text); margin-bottom: 8px;
}
.steps-h__item span { font-size: 14px; font-weight: 700; line-height: 1.5; }

/* 6.6 料金 ---------------------------------------------------------- */
.setupfee {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--navy-800); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 34px) clamp(26px, 4vw, 42px); margin-bottom: 28px;
}
.setupfee__label { font-size: 15px; font-weight: 700; margin: 0; }
.setupfee__label small { display: block; font-weight: 400; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); margin-top: 4px; }
.setupfee__price { font-family: var(--font-en); font-size: clamp(28px, 4vw, 40px); font-weight: 600; color: var(--sand); line-height: 1; }
.setupfee__price .tax { font-family: var(--font-sans); font-size: 13px; color: rgba(255, 255, 255, 0.72); margin-left: 8px; font-weight: 400; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 38px); display: flex; flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border-color: var(--sand); box-shadow: 0 0 0 1px var(--sand); }
.plan__flag {
  position: absolute; top: -13px; left: clamp(26px, 3.4vw, 38px);
  background: var(--sand); color: var(--navy-900); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.06em; padding: 5px 14px; border-radius: 999px;
}
.plan__time {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  color: var(--navy-600); background: var(--bg-tint); border-radius: 999px; padding: 6px 14px;
  margin-bottom: 16px;
}
.plan--featured .plan__time { color: var(--sand-text); background: var(--sand-soft); }
.plan__name { font-family: var(--font-serif); font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; margin: 0 0 6px; }
.plan__range { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 22px; }
.plan__price {
  display: flex; align-items: baseline; gap: 6px; padding-bottom: 20px;
  border-bottom: 1px dashed var(--line-strong); margin-bottom: 20px;
}
.plan__price b { font-family: var(--font-en); font-size: clamp(34px, 5vw, 46px); font-weight: 600; color: var(--navy-800); line-height: 1; letter-spacing: -0.01em; }
.plan__price .yen { font-size: 17px; font-weight: 700; color: var(--navy-800); }
.plan__price .per { font-size: 13px; color: var(--ink-soft); margin-left: auto; text-align: right; line-height: 1.5; }
.plan__spec { display: grid; gap: 10px; margin-bottom: 24px; }
.plan__spec div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.plan__spec dt { color: var(--ink-soft); flex: none; }
.plan__spec dd { margin: 0; font-weight: 700; text-align: right; }
.plan__foot { margin-top: auto; }
.plan__unit {
  background: var(--bg-soft); border-radius: var(--radius); padding: 14px 16px;
  font-size: 13px; color: var(--ink-mid); margin-bottom: 18px; line-height: 1.7;
}
.plan__unit b { color: var(--navy-700); font-family: var(--font-en); font-size: 17px; }

/* 比較表 ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); }
.table { min-width: 640px; background: #fff; font-size: 14.5px; }
.table th, .table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th {
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.04em; border-bottom: 0; white-space: nowrap;
}
.table tbody th { background: var(--bg-soft); font-weight: 700; width: 26%; color: var(--ink); white-space: nowrap; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table--compare tbody td:first-of-type { background: #fdfaf4; }
.table td .mark-o { color: var(--sand-text); font-weight: 700; }
.table td .mark-x { color: var(--ink-soft); font-weight: 700; }
.table__note { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }

/* 会社概要テーブル */
.table--info tbody th { width: 30%; }

/* 6.7 事例 ---------------------------------------------------------- */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.case__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.case:hover .case__media img { transform: scale(1.04); }
.case__body { padding: clamp(20px, 2.6vw, 28px); display: flex; flex-direction: column; flex: 1; }
.case__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.case__tag { font-size: 11.5px; font-weight: 700; color: var(--navy-600); background: var(--bg-tint); border-radius: 999px; padding: 4px 11px; }
.case__title { font-size: 17.5px; margin: 0 0 12px; line-height: 1.6; }
.case__text { font-size: 14px; color: var(--ink-mid); line-height: 1.9; margin: 0; }

.voice {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px); position: relative;
}
.voice::before {
  content: "“"; position: absolute; top: 10px; right: 22px; font-family: var(--font-serif);
  font-size: 76px; line-height: 1; color: var(--bg-tint);
}
.voice__text { font-size: 15px; line-height: 2.0; color: var(--ink-mid); margin: 0 0 18px; position: relative; }
.voice__who { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; }
.voice__who b { color: var(--ink); font-size: 13.5px; }

.placeholder-card {
  border: 2px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--bg-soft);
  padding: clamp(28px, 4vw, 44px); text-align: center; color: var(--ink-soft);
}
.placeholder-card h3 { font-size: 17px; color: var(--ink-mid); margin: 0 0 10px; }
.placeholder-card p { font-size: 14px; margin: 0; }

/* 6.8 FAQ ----------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; gap: 14px; text-align: left;
  padding: 20px 22px; background: none; border: 0; font-size: 15.5px; font-weight: 700;
  line-height: 1.7; color: var(--ink);
}
.faq__q:hover { background: var(--bg-soft); }
.faq__q-mark {
  flex: none; font-family: var(--font-en); font-weight: 600; color: var(--sand-text);
  font-size: 16px; line-height: 1.7;
}
.faq__q-icon { flex: none; margin-left: auto; width: 18px; height: 18px; position: relative; margin-top: 5px; }
.faq__q-icon::before, .faq__q-icon::after {
  content: ""; position: absolute; background: var(--navy-600); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.faq__q-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__q-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__q[aria-expanded="true"] .faq__q-icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 22px 22px 56px; font-size: 14.5px; color: var(--ink-mid); line-height: 1.95; }
.faq__a > *:last-child { margin-bottom: 0; }
.faq__item[hidden] { display: none; }

/* 6.9 CTAバンド ----------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.18), transparent 68%);
  top: -180px; right: -120px;
}
.cta-band__inner { position: relative; text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.cta-band__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--sand); margin: 0 0 14px; }
.cta-band__title { font-family: var(--font-serif); font-size: clamp(24px, 4vw, 38px); font-weight: 600; margin: 0 0 18px; letter-spacing: 0.03em; }
.cta-band__lead { font-size: clamp(14.5px, 1.7vw, 16.5px); color: rgba(255, 255, 255, 0.85); margin: 0 0 32px; line-height: 2; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 20px; }
.cta-band__note { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin: 0; }

/* 6.10 図解 --------------------------------------------------------- */
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); }
.diagram__title { font-size: 15px; margin: 0 0 6px; }
.diagram__note { font-size: 13px; color: var(--ink-soft); margin: 0 0 20px; }
.diagram svg { width: 100%; height: auto; }

.timeline-bar { display: grid; gap: 10px; }
.timeline-row { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; }
.timeline-row__time {
  font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--navy-700);
  background: var(--bg-tint); border-radius: var(--radius-sm); padding: 7px 8px; text-align: center;
}
.timeline-row__text { font-size: 14.5px; color: var(--ink-mid); }
.timeline-row__text b { color: var(--ink); }

/* 6.11 プロフィール ------------------------------------------------- */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile__photo {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-tint);
  aspect-ratio: 3 / 4; display: grid; place-items: center; border: 1px solid var(--line);
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__photo-empty { text-align: center; color: var(--ink-soft); font-size: 13px; padding: 24px; line-height: 1.8; }
.profile__photo-empty svg { width: 44px; height: 44px; margin: 0 auto 12px; opacity: 0.4; }
.profile__meta { margin-top: 20px; }
.profile__role { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.08em; margin: 0 0 4px; }
.profile__name { font-family: var(--font-serif); font-size: 26px; font-weight: 600; margin: 0 0 4px; }
.profile__name-en { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.14em; color: var(--ink-soft); }

.story { display: grid; gap: clamp(28px, 4vw, 44px); }
.story__chapter { position: relative; padding-left: 26px; }
.story__chapter::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, var(--sand), var(--line));
}
.story__chapter h3 { font-family: var(--font-serif); font-size: clamp(19px, 2.4vw, 24px); font-weight: 600; margin: 0 0 14px; line-height: 1.55; }
.story__chapter p { font-size: 15px; color: var(--ink-mid); line-height: 2.05; }

.pullquote {
  font-family: var(--font-serif); font-size: clamp(19px, 2.8vw, 27px); font-weight: 600;
  line-height: 1.85; color: var(--navy-800); text-align: center;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  letter-spacing: 0.03em;
}

/* 6.12 数値・実績 --------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.stat { text-align: center; padding: clamp(22px, 3vw, 32px) 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat__value { font-family: var(--font-en); font-size: clamp(30px, 4.6vw, 44px); font-weight: 600; color: var(--navy-700); line-height: 1.1; }
.stat__value .unit { font-family: var(--font-sans); font-size: 0.4em; margin-left: 4px; color: var(--ink-mid); }
.stat__label { font-size: 13.5px; color: var(--ink-mid); margin-top: 10px; font-weight: 500; }

/* ── 7. フォーム ─────────────────────────────────────────────────── */
.form { display: grid; gap: 26px; }
.form__group { display: grid; gap: 8px; }
.form__label { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.form__req {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 4px;
  background: #fdeeee; color: #b03a3a;
}
.form__opt { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 4px; background: var(--bg-tint); color: var(--ink-soft); }
.form__hint { font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364707f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
  padding-right: 44px;
}
.form textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(31, 74, 128, 0.14);
}
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"], .form select[aria-invalid="true"] {
  border-color: #c04a4a; box-shadow: 0 0 0 3px rgba(192, 74, 74, 0.12);
}
.form__error { font-size: 12.5px; color: #b03a3a; font-weight: 500; min-height: 0; }
.form__error:empty { display: none; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-card__box {
  display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line-strong);
  border-radius: var(--radius); padding: 16px 18px; cursor: pointer; height: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  background: #fff;
}
.radio-card__box:hover { border-color: var(--navy-300); }
.radio-card input:checked + .radio-card__box {
  border-color: var(--navy-600); background: #f7fafd; box-shadow: 0 0 0 2px rgba(31, 74, 128, 0.12);
}
.radio-card input:focus-visible + .radio-card__box { outline: 3px solid var(--navy-500); outline-offset: 2px; }
.radio-card__dot {
  flex: none; width: 19px; height: 19px; border-radius: 50%; border: 2px solid var(--line-strong);
  margin-top: 3px; position: relative; transition: border-color 0.2s var(--ease);
}
.radio-card input:checked + .radio-card__box .radio-card__dot { border-color: var(--navy-600); }
.radio-card input:checked + .radio-card__box .radio-card__dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--navy-600);
}
.radio-card__text b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.radio-card__text span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-mid); }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--navy-600); flex: none; }

.form__submit { display: grid; gap: 14px; justify-items: center; }
.form__submit .btn { min-width: 280px; }
.form__status { font-size: 14px; font-weight: 700; text-align: center; }
.form__status--ok { color: #1f7a4d; }
.form__status--ng { color: #b03a3a; }
.form__honey { position: absolute !important; left: -9999px !important; }

.contact-aside { display: grid; gap: 16px; }
.contact-aside__box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.contact-aside__box h3 { font-size: 15.5px; margin: 0 0 10px; }
.contact-aside__box p { font-size: 13.5px; color: var(--ink-mid); line-height: 1.9; margin: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* ── 8. フッター ─────────────────────────────────────────────────── */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.footer__inner {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 72px);
}
.footer__tagline { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 20px 0 20px; line-height: 1.9; }
.footer__addr, .footer__tel, .footer__mail { font-size: 13px; margin: 0 0 6px; color: rgba(255, 255, 255, 0.6); }
.footer__tel a, .footer__mail a { color: #fff; text-decoration: none; }
.footer__tel a:hover, .footer__mail a:hover { color: var(--sand); }
.footer__tel span { font-size: 11.5px; margin-left: 8px; }
.footer__socials { display: flex; gap: 16px; margin-top: 14px; }
.footer__socials a { color: rgba(255, 255, 255, 0.72); font-size: 13px; }

.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.footer__col-title { font-size: 12.5px; letter-spacing: 0.1em; color: var(--sand); margin: 0 0 16px; font-weight: 700; }
.footer__col li { margin-bottom: 11px; }
.footer__col a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 13.5px; }
.footer__col a:hover { color: #fff; text-decoration: underline; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding-block: 20px; font-size: 12px; color: rgba(255, 255, 255, 0.5);
}
.footer__bottom-inner p { margin: 0; }

/* フローティングCTA（モバイル） */
.floating-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none;
  transform: translateY(140%); transition: transform 0.35s var(--ease);
}
.floating-cta.is-visible { transform: none; }
.floating-cta__btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--navy-700); color: #fff; text-decoration: none;
  padding: 13px 20px; border-radius: 999px; box-shadow: 0 8px 28px rgba(8, 23, 43, 0.35);
}
.floating-cta__label { font-weight: 700; font-size: 15px; }
.floating-cta__sub { font-size: 11px; color: rgba(255, 255, 255, 0.75); }

/* ── 9. アニメーション ───────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* 写真の現れ方：下から布をめくるように見せる */
.split__media img, .case__media img, .pagehero__media img {
  clip-path: inset(0 0 0 0);
}
.js .split__media.reveal img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s var(--ease), transform 1.4s var(--ease);
  transform: scale(1.06);
}
.js .split__media.reveal.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* 見出し下の金線が伸びる */
.section-head .section-title { position: relative; }
.section-head--center .section-title::after { left: 50%; transform: translateX(-50%); }
.section-head .section-title::after {
  content: ""; position: absolute; left: 0; bottom: -10px; height: 2px; width: 0;
  background: var(--sand); transition: width 0.9s var(--ease) 0.25s;
}
.section-head.is-in .section-title::after { width: 46px; }

/* 数値のせり上がり（カウントアップと併用） */
.countup { display: inline-block; font-variant-numeric: tabular-nums; }

/* カードが順に持ち上がる（トップの一覧など） */
.lift { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.lift:hover { transform: translateY(-6px); }

/* ヘッダー：下スクロールで隠れ、上スクロールで戻る */
.header { transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.4s var(--ease); }
.header.is-hidden { transform: translateY(-100%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .split__media.reveal img { clip-path: none; transform: none; }
  .hero__media img { animation: none; transform: none; }
  .hero__tag, .hero__title .line, .hero__title .thin, .hero__lead,
  .hero__actions, .hero__facts, .hero__side, .hero__scroll { opacity: 1; animation: none; }
  .header.is-hidden { transform: none; }
  .section-head .section-title::after { width: 46px; transition: none; }
}

/* ── 10. レスポンシブ ────────────────────────────────────────────── */
@media (max-width: 1340px) {
  .header__tel { display: none; }
  .header__inner { gap: 14px; padding-inline: clamp(16px, 2.4vw, 28px); }
  .header__nav ul { gap: 11px; }
  .header__nav a { font-size: 12.5px; }
  .header__cta { padding: 10px 16px; font-size: 13px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .header__nav, .header__actions { display: none; }
  .header__burger { display: block; }
  .floating-cta { display: block; }
  .footer__inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .steps-h { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile { grid-template-columns: 260px 1fr; }
}

@media (max-width: 820px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__badge { position: static; margin-top: 16px; max-width: none; }
  .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 300px; aspect-ratio: 4 / 5; }
  .hero__facts { grid-template-columns: 1fr; background: transparent; border-top: 0; }
  .hero__fact,
  .hero__fact:not(:first-child) {
    padding: 15px 0 13px; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  }
  .hero__fact dt { margin-bottom: 0; }
}

@media (max-width: 900px) {
  .hero__side, .hero__scroll { display: none; }
  .hero__rules span:nth-child(2) { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: min(88vh, 720px); }
  .hero__facts { grid-template-columns: 1fr; background: transparent; border-top: 0; }
  .hero__fact { border-top: 1px solid rgba(255,255,255,0.16); padding: 14px 0 12px !important; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
  .hero__fact dt { margin-bottom: 0; }
  .hero__lead { padding-left: 14px; }
  body { font-size: 15px; line-height: 1.85; }
  .br-pc { display: none; }
  .br-sp { display: inline; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .issues { grid-template-columns: 1fr; }
  .steps-h { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { grid-template-columns: 54px 1fr; gap: 16px; }
  .step__num { width: 54px; height: 54px; }
  .step__num b { font-size: 18px; }
  .step::before { left: 27px; top: 62px; }
  .form__row { grid-template-columns: 1fr; }
  .radio-cards { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; gap: 26px; }
  .setupfee { flex-direction: column; align-items: flex-start; }
  .faq__a { padding-left: 22px; }
  .form__submit .btn { min-width: 0; width: 100%; }
  .btn { width: 100%; }
  .btn-row .btn, .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
  .timeline-row { grid-template-columns: 78px 1fr; gap: 12px; }
}

/* ── 11. 印刷（法人営業の説明資料として配布する場合） ──────────── */
@media print {
  .header, .footer__nav, .floating-cta, .cta-band, .skip-link, .mobilenav { display: none !important; }
  body { font-size: 11pt; line-height: 1.7; color: #000; }
  .hero, .pagehero { background: #fff !important; color: #000 !important; }
  .hero__media, .pagehero__media { display: none; }
  .hero__title, .pagehero__title, .hero__lead, .pagehero__lead { color: #000 !important; }
  .section { padding-block: 18pt; }
  .card, .plan, .table-wrap { break-inside: avoid; box-shadow: none; }
  a { color: #000; text-decoration: underline; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   12. オンライン相談窓口（チャット形式のご案内）
   ────────────────────────────────────────────────────────────────
   ・サイト内の情報から回答します。外部サービスへの送信はありません。
   ・見た目は「機械が喋る画面」ではなく、受付窓口の落ち着いた印象に寄せています。
   ══════════════════════════════════════════════════════════════════ */
.ask-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 22px 13px 16px; border: 0; border-radius: 999px;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 30px rgba(8, 23, 43, 0.32);
  transform: translateY(24px); opacity: 0; pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease), background 0.25s var(--ease);
}
.ask-launch.is-ready { transform: none; opacity: 1; pointer-events: auto; }
.ask-launch:hover { background: var(--navy-700); }
.ask-launch__icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--sand);
  display: grid; place-items: center; flex: none;
}
.ask-launch__icon svg { width: 15px; height: 15px; color: var(--navy-900); }
.ask-launch__dot {
  position: absolute; top: 9px; right: 15px; width: 8px; height: 8px; border-radius: 50%;
  background: #46b17b; box-shadow: 0 0 0 3px rgba(70, 177, 123, 0.22);
}
.ask-launch[aria-expanded="true"] .ask-launch__dot { display: none; }

.ask {
  position: fixed; right: 20px; bottom: 20px; z-index: 121;
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 40px));
  background: #fff; border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 70px rgba(8, 23, 43, 0.34), 0 2px 8px rgba(8, 23, 43, 0.12);
  transform: translateY(20px) scale(0.98); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}
.ask.is-open { transform: none; opacity: 1; pointer-events: auto; }

.ask__head {
  background: var(--navy-800); color: #fff; padding: 18px 20px;
  display: flex; align-items: center; gap: 12px; flex: none;
}
.ask__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, 0.1); display: grid; place-items: center;
  border: 1px solid rgba(201, 166, 107, 0.5);
}
.ask__avatar svg { width: 22px; height: 22px; color: var(--sand); }
.ask__titles { min-width: 0; }
.ask__title { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.4; }
.ask__sub { font-size: 11.5px; color: rgba(255, 255, 255, 0.62); margin: 2px 0 0; line-height: 1.5; }
.ask__close {
  margin-left: auto; background: rgba(255, 255, 255, 0.1); border: 0; color: #fff;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
}
.ask__close:hover { background: rgba(255, 255, 255, 0.2); }
.ask__close svg { width: 15px; height: 15px; }

.ask__log {
  flex: 1; overflow-y: auto; padding: 20px; background: var(--bg-soft);
  display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth;
}
.ask__row { display: flex; gap: 9px; align-items: flex-end; max-width: 100%; }
.ask__row--me { flex-direction: row-reverse; }
.ask__pin {
  width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--navy-700);
  display: grid; place-items: center; margin-bottom: 2px;
}
.ask__pin svg { width: 14px; height: 14px; color: var(--sand); }
.ask__row--me .ask__pin { display: none; }
.ask__bubble {
  background: #fff; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px;
  padding: 13px 16px; font-size: 14px; line-height: 1.85; color: var(--ink);
  max-width: 78%; box-shadow: 0 1px 2px rgba(14, 35, 64, 0.04);
}
.ask__bubble p { margin: 0 0 10px; }
.ask__bubble p:last-child { margin-bottom: 0; }
.ask__bubble strong { color: var(--navy-800); }
.ask__bubble a { color: var(--navy-600); font-weight: 700; }
.ask__bubble ul { margin: 8px 0 0; display: grid; gap: 6px; }
.ask__bubble li { padding-left: 15px; position: relative; font-size: 13.5px; }
.ask__bubble li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 1px; background: var(--sand-dark); }
.ask__row--me .ask__bubble {
  background: var(--navy-700); color: #fff; border-color: var(--navy-700);
  border-radius: 16px 4px 16px 16px;
}
.ask__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--navy-600); text-decoration: none;
  border-top: 1px solid var(--line); padding-top: 10px; width: 100%;
}
.ask__more::after {
  content: ""; width: 5px; height: 5px; border-top: 2px solid currentColor;
  border-right: 2px solid currentColor; transform: rotate(45deg);
}

.ask__typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.ask__typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--navy-300);
  animation: askDot 1.2s infinite ease-in-out;
}
.ask__typing span:nth-child(2) { animation-delay: 0.16s; }
.ask__typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes askDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0) } 30% { opacity: 1; transform: translateY(-3px) } }

.ask__chips { padding: 0 20px 14px; background: var(--bg-soft); display: flex; flex-wrap: wrap; gap: 7px; flex: none; }
.ask__chip {
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 14px; font-size: 12.5px; color: var(--navy-700); font-weight: 500;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.ask__chip:hover { border-color: var(--navy-600); background: var(--bg-tint); }

.ask__form { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: #fff; flex: none; }
.ask__input {
  flex: 1; min-width: 0; padding: 12px 15px; border: 1.5px solid var(--line-strong);
  border-radius: 999px; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.ask__input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(31, 74, 128, 0.12); }
.ask__send {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy-700);
  color: #fff; display: grid; place-items: center; flex: none;
  transition: background 0.2s var(--ease);
}
.ask__send:hover { background: var(--navy-800); }
.ask__send:disabled { background: var(--line-strong); cursor: default; }
.ask__send svg { width: 17px; height: 17px; }
.ask__note {
  padding: 0 16px 12px; font-size: 10.5px; color: var(--ink-soft); background: #fff;
  text-align: center; line-height: 1.6; flex: none;
}

@media (max-width: 1024px) {
  /* 下部の申し込みバーと重ならないよう、少し持ち上げる */
  /* 下部の申し込みバー（高さ76px＋余白12px）と重ならない位置に置く */
  .ask-launch { bottom: 100px; right: 14px; padding: 11px 18px 11px 13px; font-size: 13px; }
  .ask { bottom: 0; right: 0; width: 100vw; height: 100dvh; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ask, .ask-launch { transition: none; }
  .ask__typing span { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════
   13. 意匠 — 圧のひろがり／呼吸／ほどける
   ────────────────────────────────────────────────────────────────
   写真素材のサロン感に頼らず、線と光でサービスの感覚を伝えるための層。
   すべて「気づかないほど遅い」動きにしています。派手さではなく静けさ。
   ══════════════════════════════════════════════════════════════════ */

/* ── 圧のひろがり（同心円のさざなみ） ───────────────────────── */
.ripple { width: 100%; height: 100%; overflow: visible; }
.ripple__ring {
  transform-origin: 300px 300px;
  animation: rippleOut 11s cubic-bezier(0.2, 0.5, 0.2, 1) infinite;
  animation-delay: var(--d, 0s);
}
@keyframes rippleOut {
  0%   { transform: scale(0.34); opacity: 0; }
  14%  { opacity: var(--o, 0.4); }
  50%  { opacity: var(--o, 0.4); }
  78%  { opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.ripple__core { animation: coreBreath 7.5s ease-in-out infinite; transform-origin: 300px 300px; }
@keyframes coreBreath {
  0%, 100% { transform: scale(0.9); opacity: 0.75; }
  50%      { transform: scale(1.12); opacity: 1; }
}

/* ── ヒーローに重ねる層 ─────────────────────────────────────── */
.hero__ripple {
  position: absolute; z-index: 1; pointer-events: none;
  width: min(88vh, 780px); aspect-ratio: 1;
  right: -22%; top: 44%; transform: translateY(-50%);
  opacity: 0; animation: heroFadeIn 2.4s var(--ease) 0.7s forwards; mix-blend-mode: screen;
}
@keyframes heroFadeIn { to { opacity: 0.62; } }

/* 全体がゆっくり呼吸する光。7.5秒周期＝落ち着いた呼吸の速さ */
.hero__breath {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(58% 64% at 76% 47%, rgba(201, 166, 107, 0.24), transparent 74%);
  animation: breathe 7.5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

/* カーソルにそっとついてくる光（PCのみ） */
.hero__cursor {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 66%);
  transform: translate(-50%, -50%);
  transition: opacity 0.6s var(--ease);
  will-change: left, top;
}
.hero:hover .hero__cursor { opacity: 1; }

/* 縦組みの一行。日本語の佇まいで「何のサービスか」を伝える */
.hero__vertical {
  position: absolute; z-index: 2; right: clamp(28px, 5vw, 72px); top: clamp(120px, 17vw, 190px);
  writing-mode: vertical-rl; font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(16px, 1.75vw, 23px); line-height: 2.15; letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.9); margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  opacity: 0; animation: heroRise 1.2s var(--ease) 1.15s forwards;
}
.hero__vertical::after {
  content: ""; display: block; width: 1px; height: 42px; margin: 18px auto 0;
  background: linear-gradient(180deg, var(--sand), transparent);
}

/* ── 15分の可視化 ───────────────────────────────────────────── */
.marc { width: min(300px, 72vw); height: auto; }
.marc__fill {
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
.is-in .marc__fill { stroke-dashoffset: 0; }

.minutes {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.minutes__figure { display: grid; place-items: center; }
.minutes__caption { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; text-align: center; }

/* ── 区切りの波 ─────────────────────────────────────────────── */
.wave-divider { line-height: 0; opacity: 0.9; }
.wave-divider svg { width: 100%; height: 34px; display: block; }

/* ── 上部のスクロール進捗（細い金線） ───────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 200;
  background: linear-gradient(90deg, var(--sand-dark), var(--sand));
  width: 0; transition: width 0.12s linear; pointer-events: none;
}

/* ── ページ遷移のとばり ─────────────────────────────────────── */
.veil {
  position: fixed; inset: 0; z-index: 300; background: var(--navy-900);
  opacity: 0; pointer-events: none; transition: opacity 0.42s var(--ease);
}
.veil.is-on { opacity: 1; }

/* ── ほどける文字（見出し用の現れ方） ───────────────────────── */
.js .unfurl {
  opacity: 0; filter: blur(9px); letter-spacing: 0.24em; transform: translateY(14px);
  transition: opacity 1s var(--ease), filter 1.1s var(--ease),
              letter-spacing 1.2s var(--ease), transform 1s var(--ease);
}
.js .unfurl.is-in,
.js .is-in .unfurl { opacity: 1; filter: blur(0); letter-spacing: 0.02em; transform: none; }

/* ── セクション番号（余白に置く編集的な符号） ───────────────── */
.section { position: relative; }
.section__index {
  position: absolute; left: clamp(8px, 2vw, 26px); top: clamp(56px, 8vw, 100px);
  font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: 0.24em;
  color: var(--line-strong); writing-mode: vertical-rl;
}
.section--navy .section__index { color: rgba(255, 255, 255, 0.28); }
@media (max-width: 1320px) { .section__index { display: none; } }

@media (max-width: 700px) {
  /* 縦向き写真に合わせ、施術を受けている顔と手元が見える位置へ寄せる */
  .hero__media img { object-position: 30% 22%; opacity: 0.92; }
  /* 横方向ではなく上下方向で覆い、上部に写真、下部に文字という重なりにする */
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(6, 18, 34, 0.30) 0%,
      rgba(6, 18, 34, 0.55) 34%,
      rgba(6, 18, 34, 0.86) 62%,
      rgba(6, 18, 34, 0.94) 100%);
  }
}

@media (max-width: 900px) {
  .hero__vertical { display: none; }
  .hero__ripple { width: min(96vw, 560px); right: -22%; top: 34%; opacity: .55; }
  .hero__cursor { display: none; }
  .minutes { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ripple__ring, .ripple__core, .hero__breath { animation: none; }
  .ripple__ring { opacity: var(--o); }
  .hero__ripple, .hero__vertical { opacity: 1; animation: none; }
  .marc__fill { transition: none; stroke-dashoffset: 0; }
  .js .unfurl { opacity: 1; filter: none; letter-spacing: 0.02em; transform: none; }
  .veil, .progress { transition: none; }
}

/* セクションに敷く大きな波紋（背景の意匠） */
.section__motif {
  position: absolute; pointer-events: none; z-index: 0;
  width: min(120vh, 1000px); aspect-ratio: 1;
  left: -16%; top: 50%; transform: translateY(-50%);
  opacity: 0.34;
}
.section--navy > .container { position: relative; z-index: 1; }
@media (max-width: 900px) { .section__motif { opacity: 0.16; left: -46%; } }

/* ══════════════════════════════════════════════════════════════════
   14. 推薦の声（写真＋吹き出し）
   ────────────────────────────────────────────────────────────────
   お顔を出してご協力いただいた方の声を、会話のように見せるための枠。
   写真とコメントを分け、コメントは吹き出しで表示します。
   ══════════════════════════════════════════════════════════════════ */
.endorse {
  display: grid; grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px); align-items: center; margin: 0;
}
.endorse__photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1; background: var(--bg-tint); box-shadow: var(--shadow);
}
.endorse__photo img { width: 100%; height: 100%; object-fit: cover; }

.endorse__bubble {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(24px, 3vw, 34px) clamp(24px, 3.2vw, 38px);
  box-shadow: var(--shadow); margin: 0;
}
/* 写真を指す吹き出しの先端（枠線つきのため二重に重ねる） */
.endorse__bubble::before,
.endorse__bubble::after {
  content: ""; position: absolute; top: 56px; width: 0; height: 0;
  border-style: solid; border-width: 13px 18px 13px 0;
}
.endorse__bubble::before { left: -18px; border-color: transparent var(--line) transparent transparent; }
.endorse__bubble::after { left: -16px; border-color: transparent #fff transparent transparent; }

.endorse__quote {
  font-size: clamp(15px, 1.7vw, 17px); line-height: 2.05; color: var(--ink); margin: 0;
}
.endorse__quote p { margin: 0 0 1.1em; }
.endorse__quote p:last-child { margin-bottom: 0; }
.endorse__quote strong { color: var(--navy-800); }

.endorse__who {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 3px;
}
.endorse__company { font-size: 13px; color: var(--ink-soft); }
.endorse__name { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.endorse__name small { font-size: 12.5px; font-weight: 500; color: var(--ink-soft); margin-left: 8px; }

/* コメント掲載前の枠（文面をいただき次第、吹き出しに差し替わります） */
.endorse__pending {
  border: 2px dashed var(--line-strong); border-radius: 14px; background: var(--bg-soft);
  padding: 26px; text-align: center; color: var(--ink-soft); font-size: 14px; line-height: 1.9;
}

@media (max-width: 820px) {
  .endorse { grid-template-columns: 1fr; justify-items: center; }
  .endorse__photo { width: min(260px, 70vw); }
  .endorse__bubble { width: 100%; }
  /* 縦並びでは先端を上向きにする */
  .endorse__bubble::before, .endorse__bubble::after {
    top: auto; left: 50%; border-width: 0 13px 18px 13px;
  }
  .endorse__bubble::before { top: -18px; transform: translateX(-50%); border-color: transparent transparent var(--line) transparent; }
  .endorse__bubble::after { top: -16px; transform: translateX(-50%); border-color: transparent transparent #fff transparent; }
  .endorse__who { align-items: center; text-align: center; }
}

/* 写真と吹き出しを左右入れ替える（並べたときの単調さを避ける） */
.endorse--reverse { grid-template-columns: minmax(0, 1fr) 260px; }
.endorse--reverse .endorse__photo { order: 2; }
.endorse--reverse .endorse__bubble::before,
.endorse--reverse .endorse__bubble::after {
  left: auto; border-width: 13px 0 13px 18px;
}
.endorse--reverse .endorse__bubble::before { right: -18px; border-color: transparent transparent transparent var(--line); }
.endorse--reverse .endorse__bubble::after { right: -16px; border-color: transparent transparent transparent #fff; }
.endorse--reverse .endorse__who { align-items: flex-end; text-align: right; }

@media (max-width: 820px) {
  .endorse--reverse { grid-template-columns: 1fr; }
  .endorse--reverse .endorse__photo { order: 0; }
  /* 縦並びでは、どちらも先端を上向きに戻す */
  .endorse--reverse .endorse__bubble::before,
  .endorse--reverse .endorse__bubble::after {
    right: auto; left: 50%; border-width: 0 13px 18px 13px;
  }
  .endorse--reverse .endorse__bubble::before { border-color: transparent transparent var(--line) transparent; }
  .endorse--reverse .endorse__bubble::after { border-color: transparent transparent #fff transparent; }
  .endorse--reverse .endorse__who { align-items: center; text-align: center; }
}
