@charset "UTF-8";

/* =========================================================
   AIスキル実践活用研修 LP（プロフェッショナル写真版） style.css
   コンセプト：和モダン編集デザイン × 上質な日本企業品質
   ベース：ホワイト／メイン：ネイビー／アクセント：ゴールド細罫
   署名要素：英字セリフのゴースト数字・金細罫の二重フレーム・縦書き英字レール
   ※漫画版LPとブランド統一（同一トークン系）
   スマホファースト（375px 基準）
   ========================================================= */

/* ===== 変数 ===== */
:root{
  /* カラー */
  --white:     #ffffff;
  --paper:     #fbfbfa;
  --tint:      #f3f5f8;
  --navy:      #14304f;
  --navy-deep: #0a1d33;
  --blue:      #2e6cb0;
  --gold:      #ac8a48;
  --gold-deep: #93753a;
  --gold-soft: #d9c596;
  --gold-pale: rgba(172,138,72,.14);
  --ink:       #1f2a36;
  --ink-soft:  #5f6b78;
  --line:      #e1e6ec;
  --line-navy: rgba(20,48,79,.5);

  /* タイポ */
  --font-body:    "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-display: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-serif-en:"Cormorant Garamond", "Zen Old Mincho", serif;

  /* レイアウト */
  --container: 1080px;
  --container-narrow: 760px;
  --pad-x: 20px;
  --sec-y:     clamp(72px, 13vw, 136px);
  --head-mb:   clamp(40px, 8vw, 64px);
  --block-gap: clamp(28px, 6vw, 52px);
  --radius: 2px;
  --header-h: 64px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== リセット ===== */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 12px); -webkit-text-size-adjust:100%; }
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:2.05;
  font-size:15.5px;
  font-weight:400;
  letter-spacing:.02em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  font-feature-settings:"palt";
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
.is-noimg > img{ display:none; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
b, strong{ color:var(--navy); }

:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; }
::selection{ background:var(--navy); color:#fff; }

/* ===== 表示制御 ===== */
.pc-only{ display:none; }
.sp-only{ display:inline; }

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

/* ===== コンテナ ===== */
.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:var(--pad-x);
}
.container--narrow{ max-width:var(--container-narrow); }

/* =========================================================
   セクション共通（ゴースト数字＋英ラベル＋明朝見出し）
   ========================================================= */
.section{ position:relative; padding-block:var(--sec-y); background:var(--paper); }

.section__head{ position:relative; text-align:center; margin-bottom:var(--head-mb); }
.section__head[data-num]::before{
  content:attr(data-num);
  position:absolute;
  left:50%; top:-0.52em;
  transform:translateX(-50%);
  font-family:var(--font-serif-en);
  font-weight:500;
  font-size:clamp(96px, 24vw, 168px);
  line-height:1;
  letter-spacing:.02em;
  color:transparent;
  -webkit-text-stroke:1px rgba(20,48,79,.13);
  pointer-events:none;
  user-select:none;
  z-index:0;
}

.section__label{
  position:relative; z-index:1;
  display:inline-flex;
  align-items:center;
  gap:14px;
  font-family:var(--font-serif-en);
  font-style:italic;
  font-weight:600;
  font-size:15px;
  letter-spacing:.22em;
  color:var(--gold);
  margin-bottom:20px;
  padding-top:clamp(26px, 6vw, 44px);
}
.section__label::before,
.section__label::after{
  content:"";
  width:34px; height:1px;
  background:var(--gold-soft);
}
.section__title{
  position:relative; z-index:1;
  font-family:var(--font-display);
  font-size:clamp(19px, 5vw, 36px);
  font-weight:700;
  line-height:1.6;
  color:var(--navy);
  letter-spacing:.07em;
}
.section__desc{
  position:relative; z-index:1;
  margin-top:24px;
  font-size:13px;
  line-height:2.15;
  color:var(--ink-soft);
}

/* スマホでは英ラベルをコンパクトに */
@media (max-width:479px){
  .section__label{ gap:10px; font-size:13.5px; letter-spacing:.12em; white-space:nowrap; }
  .section__label::before, .section__label::after{ width:16px; }
}

/* スクロール表示（JSが .reveal / .is-visible を付与） */
.reveal{ opacity:0; transform:translateY(20px); transition:opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
}

/* =========================================================
   ボタン（金シャインスイープ）
   ========================================================= */
.btn{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:700; letter-spacing:.06em; text-align:center;
  border:1px solid transparent; border-radius:var(--radius);
  padding:16px 22px; font-size:14.5px;
  transition:background-color .3s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  cursor:pointer;
}
.btn::before{
  content:""; position:absolute; top:0; bottom:0; left:-40%;
  width:36%;
  background:linear-gradient(105deg, transparent, rgba(255,255,255,.3), transparent);
  transform:skewX(-22deg);
  transition:left .65s var(--ease);
}
.btn:hover::before{ left:116%; }

.btn--gold{
  background:linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  color:#fff;
  box-shadow:0 12px 26px -10px rgba(147,117,58,.55);
  border-bottom:2px solid var(--navy);
}
.btn--gold:hover{ transform:translateY(-2px); box-shadow:0 18px 32px -12px rgba(147,117,58,.6); }

.btn--primary{
  background:linear-gradient(135deg, var(--navy) 0%, #1b3d63 100%);
  color:#fff;
  box-shadow:0 12px 26px -10px rgba(20,48,79,.5);
  border-bottom:2px solid var(--gold);
}
.btn--primary:hover{ transform:translateY(-2px); box-shadow:0 18px 32px -12px rgba(20,48,79,.55); }

.btn--ghost{
  background:var(--white);
  color:var(--navy);
  border:1px solid var(--line-navy);
}
.btn--ghost::before{ background:linear-gradient(105deg, transparent, rgba(20,48,79,.06), transparent); }
.btn--ghost:hover{ border-color:var(--navy); transform:translateY(-2px); box-shadow:0 10px 22px -12px rgba(20,48,79,.3); }

.btn--ghost-light{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.55);
}
.btn--ghost-light:hover{ border-color:var(--gold-soft); color:var(--gold-soft); transform:translateY(-2px); }

.btn--lg{ padding:19px 20px; font-size:15px; }
.btn--block{ width:100%; }

/* CTAリード（＼ ～ ／） */
.cta-lead{
  text-align:center;
  font-size:13.5px; font-weight:700; letter-spacing:.1em;
  color:var(--navy);
  margin-bottom:14px;
}
.cta-lead--dark{ color:var(--gold-soft); }

/* 安心ポイント（✓リスト） */
.assure{
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.assure li{
  position:relative;
  padding-left:24px;
  font-size:13.5px; font-weight:500; letter-spacing:.05em;
  color:var(--navy);
}
.assure li::before{
  content:""; position:absolute; left:2px; top:.62em;
  width:10px; height:6px;
  border-left:1.8px solid var(--gold);
  border-bottom:1.8px solid var(--gold);
  transform:rotate(-45deg);
}
.assure--dark li{ color:rgba(255,255,255,.92); }
.assure--dark li::before{ border-color:var(--gold-soft); }

/* =========================================================
   ヘッダー（ガラス＋金の極細トップライン）
   ========================================================= */
.header{
  position:fixed; inset:0 0 auto 0; z-index:200; height:var(--header-h);
  border-bottom:1px solid var(--line);
}
.header::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(251,251,250,.86);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
}
.header::before{
  content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
}
.header.is-scrolled{ box-shadow:0 6px 24px -8px rgba(10,29,51,.14); }
.header__inner{
  height:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--pad-x);
  display:flex; align-items:center; justify-content:space-between;
}
.header__logo{ display:flex; align-items:center; gap:11px; min-width:0; }
.header__logo-mark{
  flex:none; display:inline-grid; place-items:center;
  width:34px; height:34px; background:var(--navy); color:#fff;
  font-family:var(--font-serif-en); font-weight:600; font-size:14px;
  position:relative;
}
.header__logo-mark::after{
  content:""; position:absolute; inset:3px;
  border:1px solid rgba(217,197,150,.55);
  pointer-events:none;
}
.header__logo-text{
  display:flex; flex-direction:column; line-height:1.25;
  white-space:nowrap; overflow:hidden;
}
.header__logo-ja{
  font-family:var(--font-display); font-weight:700; font-size:14px;
  letter-spacing:.06em; color:var(--navy);
  text-overflow:ellipsis; overflow:hidden;
}
.header__logo-en{
  font-family:var(--font-serif-en); font-style:italic; font-weight:500;
  font-size:10px; letter-spacing:.2em; color:var(--gold);
}

/* ナビ（モバイル：ドロワー） */
.gnav{
  position:fixed; top:var(--header-h); right:0; bottom:0; z-index:210;
  width:min(82vw, 320px);
  background:var(--navy-deep);
  padding:40px 32px;
  display:flex; flex-direction:column; gap:26px;
  transform:translateX(100%);
  transition:transform .45s var(--ease);
  overflow-y:auto;
}
.gnav::before{
  content:""; position:absolute; top:0; bottom:0; left:0; width:1px;
  background:linear-gradient(180deg, var(--gold), transparent 70%);
}
.gnav.is-open{ transform:none; box-shadow:-20px 0 60px rgba(10,29,51,.4); }
.gnav__list{ display:flex; flex-direction:column; gap:2px; }
.gnav__link{
  display:block; padding:14px 2px; font-size:14px; letter-spacing:.1em;
  font-weight:500; color:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.gnav__cta{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center;
  padding:15px 20px; font-size:13.5px; font-weight:700; letter-spacing:.06em;
  background:linear-gradient(135deg, var(--gold-deep), var(--gold));
  color:#fff; border-radius:var(--radius);
  border-bottom:2px solid rgba(255,255,255,.35);
}

.hamburger{
  width:44px; height:44px;
  display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:6.5px;
  position:relative; z-index:220;
}
.hamburger span{ display:block; width:24px; height:1.5px; background:var(--navy); transition:transform .35s var(--ease), opacity .3s ease; }
.hamburger.is-active span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.hamburger.is-active span:nth-child(2){ opacity:0; }
.hamburger.is-active span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* =========================================================
   ファーストビュー（写真ビジュアルを「額装」）
   ========================================================= */
.hero{
  position:relative;
  padding:calc(var(--header-h) + clamp(36px, 8vw, 72px)) 0 clamp(56px, 10vw, 96px);
  background:linear-gradient(180deg, #f2f5f9 0%, var(--paper) 90%);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; top:0; right:0;
  width:min(62vw, 640px); height:70%;
  background-image:radial-gradient(rgba(20,48,79,.14) 1px, transparent 1px);
  background-size:22px 22px;
  -webkit-mask-image:radial-gradient(ellipse at 82% 8%, #000 18%, transparent 72%);
  mask-image:radial-gradient(ellipse at 82% 8%, #000 18%, transparent 72%);
  pointer-events:none;
}
.hero::after{
  content:""; position:absolute; top:calc(var(--header-h) + 24px); bottom:48px;
  left:max(calc((100vw - var(--container)) / 2 - 44px), 8px);
  width:1px;
  background:linear-gradient(180deg, transparent, var(--gold-soft) 18%, var(--gold-soft) 82%, transparent);
  pointer-events:none;
}

.hero__visual{
  position:relative; z-index:1;
  width:calc(100% - 2 * var(--pad-x));
  max-width:920px;
  margin-inline:auto;
  border:1px solid var(--line-navy);
  background:var(--white);
  box-shadow:0 22px 52px -22px rgba(10,29,51,.35);
}
.hero__visual::before{
  content:""; position:absolute; inset:12px -13px -13px 12px;
  border:1px solid var(--gold-soft);
  pointer-events:none; z-index:-1;
}
.hero__visual::after{
  content:""; position:absolute; top:-1px; left:-1px;
  width:26px; height:26px;
  border-top:2px solid var(--gold); border-left:2px solid var(--gold);
  pointer-events:none;
}
.hero__img{ width:100%; height:auto; display:block; }
.hero__visual picture{ display:block; }
.hero__image-cta{
  position:absolute;
  z-index:3;
  display:block;
  left:8%;
  right:8%;
  top:86%;
  height:8%;
  border-radius:999px;
  cursor:pointer;
  pointer-events:auto;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.hero__image-cta:focus-visible{
  outline:4px solid var(--gold);
  outline-offset:4px;
}
@media (max-width:767px){
  .hero__image-cta{
    left:4%;
    right:4%;
    top:83.5%;
    height:13%;
  }
}

.hero__visual.is-noimg{ aspect-ratio:4 / 3; display:grid; place-items:center; }
.hero__visual.is-noimg::after{
  content:"メインビジュアル（images/01.png）";
  position:static; width:auto; height:auto; border:0;
  font-size:13px; color:var(--ink-soft); letter-spacing:.1em;
}

/* 縦書き英字レール（PCのみ） */
.hero__rail{
  display:none;
  position:absolute; z-index:1;
  top:calc(var(--header-h) + 40px);
  right:max(calc((100vw - var(--container)) / 2 - 36px), 10px);
  writing-mode:vertical-rl;
  font-family:var(--font-serif-en); font-style:italic; font-weight:500;
  font-size:12px; letter-spacing:.42em;
  color:rgba(20,48,79,.42);
}
.hero__rail::after{
  content:""; display:block; width:1px; height:64px;
  background:var(--gold-soft); margin:18px auto 0;
}

.hero__inner{
  position:relative; z-index:1;
  max-width:680px; margin:34px auto 0;
  padding-inline:var(--pad-x);
  text-align:center;
}
.assure--hero{ margin:0 auto; display:inline-flex; }
.hero__cta{
  margin-top:8px;
  display:flex; flex-direction:column; gap:12px;
  max-width:440px; margin-inline:auto;
}
.cta-lead{ margin-top:26px; }
.hero__note{
  margin-top:18px;
  font-size:11.5px; line-height:1.9; letter-spacing:.03em;
  color:var(--ink-soft);
}

/* =========================================================
   PC無料貸出帯
   ========================================================= */
.pcloan{ padding-block:clamp(28px, 6vw, 44px); background:var(--paper); }
.pcloan__card{
  position:relative;
  display:flex; align-items:center; gap:18px;
  max-width:760px; margin-inline:auto;
  background:var(--white);
  border:1px solid var(--line);
  border-left:3px solid var(--gold);
  padding:20px 22px;
  box-shadow:0 14px 32px -20px rgba(10,29,51,.25);
}
.pcloan__icon{
  flex:none; width:52px; height:52px;
  display:grid; place-items:center;
  color:var(--navy);
  border:1px solid var(--gold-soft);
  background:var(--paper);
}
.pcloan__icon svg{ width:32px; height:32px; }
.pcloan__head{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  font-family:var(--font-display);
  font-size:clamp(16px, 4.4vw, 19px); font-weight:700;
  letter-spacing:.06em; color:var(--navy);
  line-height:1.5;
}
.pcloan__tag{
  flex:none;
  font-family:var(--font-body);
  font-size:11px; font-weight:700; letter-spacing:.14em;
  color:#fff; background:var(--gold);
  padding:3px 9px;
}
.pcloan__sub{ margin-top:6px; font-size:13.5px; line-height:1.9; color:var(--ink-soft); }

/* =========================================================
   中心メッセージ（編集的な引用ブロック）
   ========================================================= */
.mission{ padding-block:clamp(48px, 9vw, 80px); background:var(--paper); }
.mission__text{
  position:relative;
  max-width:760px; margin-inline:auto;
  padding:clamp(28px, 6vw, 44px) var(--pad-x);
  text-align:center;
  font-family:var(--font-display);
  font-size:clamp(14px, 3.7vw, 18px);
  font-weight:500;
  line-height:2.4;
  letter-spacing:.08em;
  color:var(--navy);
}
.mission__text::before,
.mission__text::after{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  width:56px; height:1px;
  background:linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.mission__text::before{ top:0; }
.mission__text::after{ bottom:0; }
.mission__text strong{ font-weight:700; background:linear-gradient(transparent 76%, var(--gold-pale) 76%, var(--gold-pale) 96%, transparent 96%); }

/* =========================================================
   課題提起
   ========================================================= */
.problem{ background:var(--tint); }
.problem::before, .problem::after{
  content:""; position:absolute; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.problem::before{ top:0; }
.problem::after{ bottom:0; }

.problem__layout{ display:flex; flex-direction:column; gap:var(--block-gap); }
.problem__img{
  position:relative;
  max-width:560px; width:100%; margin-inline:auto;
  border:1px solid var(--line-navy);
  background:var(--white);
  box-shadow:0 14px 36px -18px rgba(10,29,51,.28);
}
.problem__img::before{
  content:""; position:absolute; inset:10px -11px -11px 10px;
  border:1px solid var(--gold-soft);
  pointer-events:none; z-index:-1;
}
.problem__img.is-noimg{ aspect-ratio:4/3; display:grid; place-items:center; }
.problem__img.is-noimg::after{ content:"画像（images/02.png）"; font-size:13px; color:var(--ink-soft); }

.problem__list{
  max-width:700px; width:100%; margin-inline:auto;
  border-top:1px solid var(--line);
}
.problem__item{
  position:relative;
  display:flex; align-items:flex-start; gap:14px;
  padding:18px 4px;
  border-bottom:1px solid var(--line);
  font-size:15px; font-weight:500; letter-spacing:.04em; line-height:1.85;
  transition:background-color .3s ease;
}
.problem__item:hover{ background:rgba(255,255,255,.8); }
.problem__icon{
  flex:none;
  width:26px; height:26px; margin-top:2px;
  display:grid; place-items:center;
  font-family:var(--font-serif-en); font-style:italic; font-weight:600;
  font-size:15px; color:var(--gold);
  border:1px solid var(--gold-soft);
  background:var(--white);
}

/* =========================================================
   解決策
   ========================================================= */
.solution__layout{ display:flex; flex-direction:column-reverse; gap:var(--block-gap); }
.solution__img{
  position:relative;
  max-width:560px; width:100%; margin-inline:auto;
  border:1px solid var(--line-navy);
  background:var(--white);
  box-shadow:0 14px 36px -18px rgba(10,29,51,.28);
}
.solution__img::before{
  content:""; position:absolute; inset:10px -11px -11px 10px;
  border:1px solid var(--gold-soft);
  pointer-events:none; z-index:-1;
}
.solution__img.is-noimg{ aspect-ratio:4/3; display:grid; place-items:center; }
.solution__img.is-noimg::after{ content:"画像（images/03.png）"; font-size:13px; color:var(--ink-soft); }

.solution__list{
  max-width:700px; width:100%; margin-inline:auto;
  border-top:1px solid var(--line);
  counter-reset:sol;
}
.solution__item{
  counter-increment:sol;
  padding:26px 4px;
  border-bottom:1px solid var(--line);
}
.solution__item-title{
  display:flex; align-items:baseline; gap:16px;
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(16.5px, 4.6vw, 19.5px);
  letter-spacing:.06em; color:var(--navy);
  line-height:1.6;
}
.solution__item-title::before{
  content:"0" counter(sol);
  flex:none;
  font-family:var(--font-serif-en); font-weight:600; font-style:italic;
  font-size:16px; letter-spacing:.02em;
  color:var(--gold);
}
.solution__item p{ margin-top:11px; font-size:14.5px; line-height:2.05; color:var(--ink-soft); }

/* =========================================================
   AIで効率化できる業務（9カード）
   ========================================================= */
.works{ background:var(--tint); }
.works::before, .works::after{
  content:""; position:absolute; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.works::before{ top:0; }
.works::after{ bottom:0; }

.usecase{
  display:grid; grid-template-columns:1fr; gap:14px;
  max-width:780px; margin-inline:auto;
}
.usecase__item{
  position:relative;
  display:flex; align-items:flex-start; gap:16px;
  background:var(--white);
  border:1px solid var(--line);
  padding:22px 22px;
  transition:border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.usecase__item::before{
  content:""; position:absolute; top:-1px; left:-1px;
  width:16px; height:16px;
  border-top:2px solid var(--gold-soft); border-left:2px solid var(--gold-soft);
  transition:border-color .35s ease, width .35s ease, height .35s ease;
}
.usecase__item:hover{
  border-color:var(--line-navy);
  box-shadow:0 16px 34px -18px rgba(10,29,51,.3);
  transform:translateY(-3px);
}
.usecase__item:hover::before{ border-color:var(--gold); width:22px; height:22px; }
.usecase__no{
  flex:none;
  font-family:var(--font-serif-en); font-weight:600; font-style:italic;
  font-size:21px; line-height:1.3; letter-spacing:.02em;
  color:var(--gold);
}
.usecase__title{
  font-family:var(--font-display); font-weight:700;
  font-size:14px; letter-spacing:.04em; line-height:1.65;
  color:var(--navy);
}
.usecase__text{ margin-top:7px; font-size:13.5px; line-height:1.95; color:var(--ink-soft); }

/* =========================================================
   選ばれる理由（6カード・ゴースト番号）
   ========================================================= */
.reasons__grid{
  display:grid; grid-template-columns:1fr; gap:14px;
  max-width:780px; margin-inline:auto;
}
.reason{
  position:relative;
  background:var(--white);
  border:1px solid var(--line);
  padding:26px 24px 24px;
  overflow:hidden;
  transition:border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.reason:hover{
  border-color:var(--line-navy);
  box-shadow:0 16px 34px -18px rgba(10,29,51,.3);
  transform:translateY(-3px);
}
.reason__no{
  position:absolute; top:-14px; right:6px;
  font-family:var(--font-serif-en); font-weight:500;
  font-size:64px; line-height:1; letter-spacing:.02em;
  color:transparent;
  -webkit-text-stroke:1px rgba(172,138,72,.4);
  pointer-events:none; user-select:none;
}
.reason__title{
  position:relative;
  font-family:var(--font-display); font-weight:700;
  font-size:16px; letter-spacing:.04em; line-height:1.7;
  color:var(--navy);
  padding-bottom:13px; margin-bottom:13px;
}
.reason__title::after{
  content:""; position:absolute; bottom:0; left:0;
  width:32px; height:1.5px;
  background:linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.reason__text{ font-size:13.5px; line-height:2; color:var(--ink-soft); }

/* =========================================================
   対象事業所（上品なタグリスト）
   ========================================================= */
.target__list{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px;
}
.target__item{
  position:relative;
  padding:10px 18px 10px 32px;
  background:var(--white);
  border:1px solid var(--line);
  font-size:11px; font-weight:500; letter-spacing:.06em;
  color:var(--navy);
  transition:border-color .3s ease;
}
.target__item::before{
  content:""; position:absolute; left:14px; top:50%;
  width:7px; height:7px;
  background:var(--gold);
  transform:translateY(-50%) rotate(45deg);
}
.target__item:hover{ border-color:var(--gold-soft); }
.target__note{
  margin-top:26px;
  text-align:center;
  font-size:12.5px; line-height:2; color:var(--ink-soft);
}

/* =========================================================
   研修風景 帯
   ========================================================= */
.showcase{ padding-block:clamp(40px, 8vw, 72px); background:var(--paper); }
.showcase__grid{ display:flex; justify-content:center; }
.showcase__item{ max-width:760px; width:100%; }
.showcase__img{
  position:relative;
  border:1px solid var(--line-navy);
  background:var(--white);
  box-shadow:0 14px 36px -18px rgba(10,29,51,.28);
}
.showcase__img::before{
  content:""; position:absolute; inset:10px -11px -11px 10px;
  border:1px solid var(--gold-soft);
  pointer-events:none; z-index:-1;
}
.showcase__img::after{
  content:""; position:absolute; top:-1px; left:-1px;
  width:22px; height:22px;
  border-top:2px solid var(--gold); border-left:2px solid var(--gold);
}
.showcase__img.is-noimg{ aspect-ratio:3/2; display:grid; place-items:center; }
.showcase__img.is-noimg::after{
  content:"画像（images/04.png）"; position:static; width:auto; height:auto; border:0;
  font-size:13px; color:var(--ink-soft);
}
.showcase__cap{
  margin-top:16px;
  text-align:center;
  font-size:13px; letter-spacing:.05em; line-height:2;
  color:var(--ink-soft);
}

/* =========================================================
   助成金（金天罫の編集ボックス＋カウントアップ）
   ========================================================= */
.subsidy{ background:var(--tint); }
.subsidy::before, .subsidy::after{
  content:""; position:absolute; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.subsidy::before{ top:0; }
.subsidy::after{ bottom:0; }

.subsidy__box{
  max-width:840px; margin-inline:auto;
  background:var(--white);
  border:1px solid var(--line);
  border-top:3px solid var(--gold);
  padding:clamp(30px, 6vw, 52px) clamp(22px, 5vw, 48px);
  box-shadow:0 22px 50px -28px rgba(10,29,51,.3);
}
.subsidy__head{ text-align:center; margin-bottom:clamp(26px, 5vw, 38px); }
.subsidy__head .section__label{ padding-top:0; }
.subsidy__title{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(21px, 5.6vw, 30px);
  line-height:1.65; letter-spacing:.06em;
  color:var(--navy);
}

.subsidy__list{
  max-width:560px; margin-inline:auto;
  border-top:1px solid var(--line);
}
.subsidy__list li{
  position:relative;
  padding:13px 4px 13px 30px;
  border-bottom:1px solid var(--line);
  font-size:14px; line-height:1.95; letter-spacing:.03em;
}
.subsidy__list li::before{
  content:""; position:absolute; left:4px; top:1.05em;
  width:14px; height:1.5px; background:var(--gold);
}

.subsidy__scheme{
  margin-top:clamp(24px, 5vw, 34px);
  text-align:center;
  background:var(--paper);
  border:1px solid var(--line);
  padding:24px 20px;
  position:relative;
}
.subsidy__scheme::before{
  content:""; position:absolute; top:-1px; left:50%; transform:translateX(-50%);
  width:56px; height:2px; background:var(--gold);
}
.subsidy__scheme-label{
  font-family:var(--font-serif-en); font-style:italic; font-weight:600;
  font-size:13px; letter-spacing:.16em; color:var(--gold);
}
.subsidy__scheme-name{
  margin-top:10px;
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(18px, 5vw, 23px); letter-spacing:.06em;
  color:var(--navy); line-height:1.6;
}
.subsidy__scheme-name span{ font-size:.62em; color:var(--ink-soft); font-weight:500; margin-left:4px; }
.subsidy__scheme-sub{
  margin-top:4px;
  font-size:13.5px; font-weight:500; letter-spacing:.05em;
  color:var(--ink);
}
.subsidy__scheme-desc{ margin-top:10px; font-size:12px; line-height:1.9; color:var(--ink-soft); }

.subsidy__ref{ margin-top:clamp(26px, 5vw, 36px); }
.subsidy__ref-label{
  text-align:center;
  font-size:12.5px; font-weight:700; letter-spacing:.16em;
  color:var(--gold);
  margin-bottom:18px;
}
.price{
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.price__col{ display:flex; flex-direction:column; align-items:center; gap:2px; }
.price__cap{ font-size:12.5px; font-weight:500; letter-spacing:.05em; color:var(--ink-soft); }
.price__before{
  font-family:var(--font-serif-en); font-weight:600;
  font-size:26px; color:var(--ink-soft);
  font-variant-numeric:tabular-nums;
}
.price__before .count{
  text-decoration:line-through;
  text-decoration-color:rgba(172,138,72,.6);
  text-decoration-thickness:1.5px;
}
.price__before small, .price__after small{
  font-size:12px; font-family:var(--font-body); font-weight:400; margin-left:3px;
  text-decoration:none;
}
.price__arrow{
  font-size:20px; color:var(--gold);
  transform:rotate(90deg);
}
.price__after{
  font-family:var(--font-serif-en); font-weight:600;
  font-size:clamp(36px, 10vw, 48px); line-height:1.1;
  color:var(--navy);
  font-variant-numeric:tabular-nums;
  background:linear-gradient(transparent 72%, var(--gold-pale) 72%, var(--gold-pale) 94%, transparent 94%);
  padding:0 4px;
}
.price__rate{
  margin-top:16px;
  text-align:center;
  font-size:14.5px; letter-spacing:.05em; line-height:1.9;
  color:var(--ink);
}
.price__rate b{
  font-family:var(--font-display);
  font-size:1.18em; color:var(--navy);
}
.subsidy__small{ font-size:11.5px; color:var(--ink-soft); }
.subsidy__ref-text{
  margin-top:10px; text-align:center;
  font-size:12px; line-height:1.9; color:var(--ink-soft);
}

.subsidy__note{
  margin-top:clamp(22px, 4vw, 30px);
  padding-top:18px;
  border-top:1px solid var(--line);
  font-size:11px; line-height:1.95; color:var(--ink-soft);
  text-align:center;
}
.subsidy__cta{ margin-top:24px; text-align:center; }
.subsidy__cta .btn{ width:100%; max-width:420px; }

/* =========================================================
   受講形式（罫線リスト）
   ========================================================= */
.format__list{
  max-width:700px; margin-inline:auto;
  border-top:1px solid var(--line);
}
.format__item{
  padding:26px 4px;
  border-bottom:1px solid var(--line);
}
.format__title{
  position:relative;
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(16px, 4.4vw, 18.5px);
  letter-spacing:.05em; line-height:1.65;
  color:var(--navy);
  padding-left:22px;
}
.format__title::before{
  content:""; position:absolute; left:2px; top:.62em;
  width:9px; height:9px;
  background:var(--gold);
  transform:rotate(45deg);
}
.format__text{ margin-top:10px; font-size:14px; line-height:2; color:var(--ink-soft); padding-left:22px; }

/* =========================================================
   受講までの流れ（タイムライン）
   ========================================================= */
.flow{ background:var(--tint); }
.flow::before, .flow::after{
  content:""; position:absolute; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.flow::before{ top:0; }
.flow::after{ bottom:0; }

.flow__list{
  max-width:560px; margin-inline:auto;
  position:relative;
}
.flow__step{
  position:relative;
  padding:0 0 32px 34px;
}
.flow__step::before{
  content:""; position:absolute; left:5px; top:10px; bottom:-10px;
  width:1px;
  background:linear-gradient(180deg, var(--gold-soft), var(--line));
}
.flow__step:last-child{ padding-bottom:0; }
.flow__step:last-child::before{ display:none; }
.flow__step::after{
  content:""; position:absolute; left:0; top:7px;
  width:11px; height:11px;
  background:var(--tint);
  border:1.5px solid var(--gold);
  transform:rotate(45deg);
}
.flow__step:first-child::after{ background:var(--gold); }
.flow__num{
  display:block;
  font-family:var(--font-serif-en); font-weight:600; font-style:italic;
  font-size:13px; letter-spacing:.26em; color:var(--gold);
  margin-bottom:7px;
}
.flow__title{
  font-family:var(--font-display); font-weight:700;
  font-size:17px; letter-spacing:.06em; color:var(--navy);
  line-height:1.6;
}
.flow__text{ margin-top:7px; font-size:14px; line-height:2; color:var(--ink-soft); }

/* =========================================================
   FAQ（details / summary）
   ========================================================= */
.faq__list{ border-top:1px solid var(--line); }
.faq__item{ border-bottom:1px solid var(--line); transition:background-color .3s ease; }
.faq__item[open]{ background:rgba(243,245,248,.6); }
.faq__q{
  position:relative;
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
  padding:20px 8px 20px 38px;
  font-size:15px; font-weight:700; letter-spacing:.03em; line-height:1.8;
  color:var(--navy);
  cursor:pointer;
  list-style:none;
}
.faq__q::-webkit-details-marker{ display:none; }
.faq__q::before{
  content:"Q"; position:absolute; left:4px; top:17px;
  font-family:var(--font-serif-en); font-weight:600; font-style:italic;
  font-size:19px; color:var(--gold);
}
.faq__mark{
  flex:none; position:relative;
  width:22px; height:22px; margin-top:4px;
}
.faq__mark::before,
.faq__mark::after{
  content:""; position:absolute; top:50%; left:50%;
  background:var(--gold);
  transition:transform .35s var(--ease);
}
.faq__mark::before{ width:13px; height:1.5px; transform:translate(-50%,-50%); }
.faq__mark::after{ width:1.5px; height:13px; transform:translate(-50%,-50%); }
.faq__item[open] .faq__mark::after{ transform:translate(-50%,-50%) rotate(90deg); }
.faq__a{
  padding:0 12px 24px 38px;
  font-size:14.5px; line-height:2.05; color:var(--ink-soft);
}

/* =========================================================
   担当者様へ（深藍の額装カード）
   ========================================================= */
.message__card{
  position:relative;
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(46,108,176,.25), transparent 60%),
    var(--navy-deep);
  color:#fff;
  padding:clamp(36px, 7vw, 56px) clamp(22px, 5vw, 48px);
  overflow:hidden;
}
.message__card::before{
  content:""; position:absolute; inset:clamp(10px, 2.5vw, 18px);
  border:1px solid rgba(217,197,150,.25);
  pointer-events:none;
}
.message__card::after{
  content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-soft) 50%, var(--gold) 70%, transparent);
}
.message__eyebrow{
  position:relative; z-index:1;
  display:flex; align-items:center; justify-content:center; gap:14px;
  font-size:12px; font-weight:500; letter-spacing:.3em;
  color:var(--gold-soft);
  margin-bottom:18px;
}
.message__eyebrow::before, .message__eyebrow::after{
  content:""; width:30px; height:1px; background:rgba(217,197,150,.45);
}
.message__title{
  position:relative; z-index:1;
  text-align:center;
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(19px, 5vw, 27px);
  line-height:1.8; letter-spacing:.05em;
  color:#fff;
}
.message__diagram{
  position:relative; z-index:1;
  margin-top:clamp(28px, 5vw, 38px);
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.md-step{
  display:flex; flex-direction:column; align-items:center; gap:10px;
  width:min(100%, 240px);
  padding:18px 14px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.04);
  text-align:center;
}
.md-step--mid{ border-color:rgba(217,197,150,.5); background:rgba(217,197,150,.08); }
.md-step--goal{ border-color:rgba(255,255,255,.35); }
.md-ico{ width:44px; height:44px; color:var(--gold-soft); }
.md-step--goal .md-ico{ color:#fff; }
.md-ico svg{ width:100%; height:100%; }
.md-label{ font-size:13px; font-weight:500; line-height:1.8; letter-spacing:.04em; color:rgba(255,255,255,.92); }
.md-arrow{ width:22px; height:22px; color:var(--gold-soft); transform:rotate(90deg); }
.md-arrow svg{ width:100%; height:100%; }
.message__text{
  position:relative; z-index:1;
  margin-top:clamp(26px, 5vw, 34px);
  max-width:560px; margin-inline:auto;
  font-size:14px; line-height:2.15; letter-spacing:.03em;
  color:rgba(255,255,255,.88);
}
.message__text b{ color:var(--gold-soft); }

/* =========================================================
   会社情報
   ========================================================= */
.company__table{ border-top:1px solid var(--line); }
.company__row{
  display:flex; flex-direction:column; gap:4px;
  padding:19px 4px;
  border-bottom:1px solid var(--line);
}
.company__row dt{
  font-size:12.5px; font-weight:700; letter-spacing:.16em;
  color:var(--gold);
}
.company__row dd{ font-size:14.5px; line-height:2; }
.company__row dd a{ color:var(--blue); border-bottom:1px solid currentColor; }
.company__link{ word-break:break-all; transition:color .25s var(--ease); }
.company__link:hover{ color:var(--navy); }
.company__memo{
  margin-top:18px;
  font-size:11.5px; line-height:1.9; color:var(--ink-soft);
}

/* =========================================================
   最終CTA（深藍×金細罫の額装）
   ========================================================= */
.final-cta{
  position:relative;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(46,108,176,.22), transparent 60%),
    var(--navy-deep);
  color:#fff;
  overflow:hidden;
}
.final-cta::before{
  content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-soft) 50%, var(--gold) 70%, transparent);
}
.final-cta::after{
  content:""; position:absolute;
  inset:clamp(16px, 3.5vw, 32px);
  border:1px solid rgba(217,197,150,.22);
  pointer-events:none;
}
.final-cta__inner{
  position:relative; z-index:1;
  text-align:center;
  display:flex; flex-direction:column; align-items:center;
}
.final-cta__visual{
  position:relative;
  max-width:560px; width:100%;
  border:1px solid rgba(255,255,255,.32);
  background:var(--navy-deep);
  box-shadow:0 22px 52px -22px rgba(0,0,0,.5);
  margin-bottom:clamp(28px, 5vw, 40px);
}
.final-cta__visual::before{
  content:""; position:absolute; inset:10px -11px -11px 10px;
  border:1px solid rgba(217,197,150,.4);
  pointer-events:none; z-index:-1;
}
.final-cta__visual.is-noimg{ aspect-ratio:3/2; display:grid; place-items:center; }
.final-cta__visual.is-noimg::after{ content:"画像（images/06.png）"; font-size:13px; color:rgba(255,255,255,.6); }
.final-cta__label{
  display:flex; align-items:center; gap:14px;
  font-family:var(--font-serif-en); font-style:italic; font-weight:600;
  font-size:15px; letter-spacing:.22em;
  color:var(--gold-soft);
  margin-bottom:18px;
}
.final-cta__label::before, .final-cta__label::after{
  content:""; width:34px; height:1px; background:rgba(217,197,150,.45);
}
.final-cta__title{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(17px, 4.5vw, 36px);
  line-height:1.7; letter-spacing:.06em;
  color:#fff;
}
.final-cta__lead{
  margin-top:20px;
  font-size:14px; line-height:2.15; letter-spacing:.03em;
  color:rgba(255,255,255,.82);
}
.final-cta .assure--dark{ margin-top:26px; }
.final-cta .cta-lead{ margin-top:30px; }
.final-cta__btns{
  display:flex; flex-direction:column; gap:12px;
  width:100%; max-width:440px;
}
.final-cta__tel{
  margin-top:26px;
  font-size:13px; letter-spacing:.04em; color:rgba(255,255,255,.7);
}
.final-cta__tel a{
  display:inline-block; margin-left:6px;
  font-family:var(--font-serif-en); font-weight:600;
  font-size:clamp(22px, 6vw, 28px); letter-spacing:.04em; color:#fff;
  border-bottom:1px solid var(--gold);
  padding-bottom:2px;
  font-variant-numeric:tabular-nums;
  transition:color .3s ease;
}
.final-cta__tel a:hover{ color:var(--gold-soft); }
.final-cta__note{
  margin-top:22px;
  font-size:11.5px; line-height:1.95;
  color:rgba(255,255,255,.55);
  max-width:560px;
}

/* =========================================================
   お問い合わせフォーム（CTA下部・確認画面付き）
   ========================================================= */
.cform{
  width:100%;
  max-width:680px;
  margin:clamp(40px, 7vw, 64px) auto 0;
  background:var(--white);
  border:1px solid var(--line);
  box-shadow:0 28px 60px -28px rgba(0,0,0,.55);
  padding:clamp(26px, 5.5vw, 48px) clamp(20px, 5vw, 44px);
  text-align:left;
  color:var(--ink);
  scroll-margin-top:calc(var(--header-h) + 16px);
}
.cform__head{ text-align:center; margin-bottom:clamp(26px, 5vw, 38px); }
.cform__eyebrow{
  display:flex; align-items:center; justify-content:center; gap:12px;
  font-family:var(--font-serif-en); font-style:italic; font-weight:600;
  font-size:13px; letter-spacing:.2em; color:var(--gold-deep);
  margin-bottom:12px;
}
.cform__eyebrow::before, .cform__eyebrow::after{
  content:""; width:28px; height:1px; background:var(--gold-soft);
}
.cform__title{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(21px, 5vw, 28px); line-height:1.5; letter-spacing:.08em;
  color:var(--navy);
}
.cform__lead{
  margin-top:10px;
  font-size:12.5px; line-height:1.9; letter-spacing:.03em; color:var(--ink-soft);
}

/* フォーム共通 */
.cform__form{ display:flex; flex-direction:column; gap:clamp(18px, 3.5vw, 24px); }
.cform__row{ display:flex; flex-direction:column; gap:clamp(18px, 3.5vw, 24px); }
.cform__group{ display:flex; flex-direction:column; }

.cform__label{
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
  font-size:13.5px; font-weight:700; color:var(--navy);
  letter-spacing:.04em; margin-bottom:9px;
}
.cform__req{
  display:inline-block;
  font-size:10.5px; font-weight:700; letter-spacing:.06em;
  color:#fff; background:var(--gold-deep);
  padding:2px 8px; border-radius:2px; line-height:1.6;
}
.cform__hint{ font-size:11.5px; font-weight:500; color:var(--blue); letter-spacing:.02em; }

.cform__input,
.cform__textarea{
  width:100%;
  font-family:inherit; font-size:15px; color:var(--ink);
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:13px 14px;
  line-height:1.7; letter-spacing:.02em;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.cform__textarea{ resize:vertical; min-height:130px; }
.cform__input::placeholder,
.cform__textarea::placeholder{ color:#a9b1bb; }
.cform__input:focus,
.cform__textarea:focus{
  outline:none;
  border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(46,108,176,.14);
}
.cform__input:disabled{ background:var(--tint); color:#a9b1bb; cursor:not-allowed; }

/* チェックボックス群（2列） */
.cform__checks{
  display:grid; grid-template-columns:1fr 1fr;
  gap:10px 18px;
}
.cform__check label{
  display:flex; align-items:flex-start; gap:9px;
  font-size:13.5px; line-height:1.55; color:var(--ink);
  cursor:pointer;
}
.cform__check input[type="checkbox"],
.cform__agree input[type="checkbox"]{
  flex:none;
  width:19px; height:19px; margin-top:1px;
  accent-color:var(--navy);
  cursor:pointer;
}
.cform__check span{ padding-top:1px; }

/* その他（同一li内・右に自由記入欄・横幅いっぱい） */
.cform__check--other{
  grid-column:1 / -1;
  display:flex; align-items:center; gap:12px;
}
.cform__check--other label{ flex:none; white-space:nowrap; align-items:center; }
.cform__other-input{ flex:1 1 auto; min-width:0; padding:10px 12px; font-size:14px; }

/* 同意チェック */
.cform__agree{
  background:var(--tint);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px 16px;
}
.cform__agree label{
  display:flex; align-items:center; gap:10px;
  font-size:13.5px; font-weight:500; color:var(--ink); cursor:pointer;
}
.cform__agree .cform__req{ margin-left:2px; }

.cform__submit{ text-align:center; margin-top:6px; }
.cform__submit .btn{ width:100%; max-width:360px; }

/* ハニーポット（視覚的に隠す／読み上げ・タブ移動からも除外） */
.cform__hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

@media (min-width:768px){
  .cform__row{ flex-direction:row; }
  .cform__row .cform__group{ flex:1; }
}

/* ----- 確認画面 / 送信完了画面（独立ページ） ----- */
.formpage{
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(46,108,176,.18), transparent 60%),
    var(--navy-deep);
  min-height:100vh;
}
.formpage__main{
  padding-block:clamp(48px, 10vw, 96px);
  display:flex; align-items:center; justify-content:center;
}
.cform--page{ margin:0 auto; }

.cform__errors{
  margin:0 0 26px;
  background:#fdf3f3; border:1px solid #e6c3c3; border-radius:var(--radius);
  padding:16px 18px 16px 20px;
  color:#9a3838; font-size:13.5px; line-height:1.9;
}
.cform__errors li{ list-style:disc; margin-left:18px; }

/* 確認内容のリスト */
.cform__confirm{
  border-top:1px solid var(--line);
  margin-bottom:clamp(26px, 5vw, 36px);
}
.cform__confirm-row{
  display:flex; flex-direction:column; gap:5px;
  padding:16px 4px;
  border-bottom:1px solid var(--line);
}
.cform__confirm-row dt{
  font-size:12px; font-weight:700; color:var(--gold-deep); letter-spacing:.06em;
}
.cform__confirm-row dd{
  font-size:15px; color:var(--ink); line-height:1.85; word-break:break-word;
}
@media (min-width:600px){
  .cform__confirm-row{ flex-direction:row; gap:0; align-items:baseline; }
  .cform__confirm-row dt{ flex:none; width:170px; padding-top:2px; }
  .cform__confirm-row dd{ flex:1; }
}

/* 確認画面のボタン2列 */
.cform__actions{
  display:flex; flex-direction:column-reverse; gap:12px;
}
.cform__actions .btn{ width:100%; }
@media (min-width:600px){
  .cform__actions{ flex-direction:row; justify-content:center; }
  .cform__actions .btn{ width:auto; min-width:240px; }
}

/* 送信完了 */
.cform--thanks{ text-align:center; }
.cform__check-icon{
  display:block; width:64px; height:64px; margin:6px auto 18px; color:var(--gold-deep);
}
.cform__check-icon svg{ width:100%; height:100%; }
.cform__thanks-note{
  margin:0 0 30px;
  font-size:12.5px; line-height:1.95; color:var(--ink-soft);
  background:var(--tint); border:1px solid var(--line); border-radius:var(--radius);
  padding:16px 18px;
}
.cform__thanks-note a{ color:var(--navy); font-weight:700; border-bottom:1px solid var(--gold); }

/* =========================================================
   フッター
   ========================================================= */
.footer{
  position:relative;
  background:var(--navy-deep); color:#fff;
  padding:52px 0 116px;
}
.footer::before{
  content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(217,197,150,.5), transparent);
}
.footer__inner{ display:flex; flex-direction:column; align-items:center; gap:22px; text-align:center; }
.footer__brand{ display:flex; align-items:center; gap:11px; }
.footer__brand .header__logo-mark{ background:#fff; color:var(--navy); }
.footer__brand .header__logo-mark::after{ border-color:rgba(20,48,79,.3); }
.footer__brand-text{
  font-family:var(--font-display); font-weight:700; font-size:15px;
  letter-spacing:.08em; color:#fff;
}
.footer__desc{ font-size:12.5px; letter-spacing:.05em; color:rgba(255,255,255,.65); }
.footer__nav{
  display:flex; flex-wrap:wrap; justify-content:center;
  column-gap:24px; row-gap:10px;
}
.footer__nav a{ font-size:12.5px; letter-spacing:.07em; color:rgba(255,255,255,.75); transition:color .3s ease; }
.footer__nav a:hover{ color:var(--gold-soft); }
.footer__copy{ font-size:11px; letter-spacing:.08em; color:rgba(255,255,255,.45); }
.footer__privacy{ max-width:760px; margin:28px auto 18px; padding-top:18px; border-top:1px solid rgba(255,255,255,.14); text-align:left; }
.footer__privacy-title{ font-size:12px; font-weight:700; letter-spacing:.06em; color:rgba(255,255,255,.8); margin-bottom:6px; }
.footer__privacy-text{ font-size:11px; line-height:1.9; color:rgba(255,255,255,.55); }

/* =========================================================
   固定CTA（スマホ）
   ========================================================= */
.sticky-cta{
  position:fixed; left:12px; right:12px; bottom:12px; z-index:190;
  transform:translateY(140%);
  transition:transform .45s var(--ease);
}
.sticky-cta.is-show{ transform:none; }
.sticky-cta__btn{
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  padding:17px 18px;
  background:linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  color:#fff;
  font-size:14.5px; font-weight:700; letter-spacing:.07em;
  border-radius:var(--radius);
  border-bottom:2px solid var(--navy);
  box-shadow:0 14px 32px rgba(10,29,51,.4);
}
.sticky-cta__btn::before{
  content:""; position:absolute; top:0; bottom:0; left:-40%;
  width:36%;
  background:linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform:skewX(-22deg);
  animation:stickyshine 4.5s ease-in-out infinite;
}
@keyframes stickyshine{
  0%, 62%{ left:-40%; }
  85%, 100%{ left:116%; }
}
@media (prefers-reduced-motion: reduce){ .sticky-cta__btn::before{ animation:none; } }

/* =========================================================
   タブレット（768px〜）
   ========================================================= */
@media (min-width:768px){
  :root{ --pad-x:32px; }
  body{ font-size:16px; }
  .pc-only{ display:inline; }
  .sp-only{ display:none; }

  .header__logo-ja{ font-size:15px; }

  .hero__inner{ max-width:760px; }
  .hero__cta{ flex-direction:row; max-width:none; justify-content:center; }
  .hero__cta .btn{ flex:0 1 auto; min-width:260px; }
  .assure--hero{ flex-direction:row; flex-wrap:wrap; justify-content:center; gap:8px 22px; }
  .assure--dark{ flex-direction:row; flex-wrap:wrap; justify-content:center; gap:8px 22px; }

  .pcloan__card{ padding:22px 30px; gap:22px; }

  .problem__layout{ flex-direction:row; align-items:center; gap:56px; }
  .problem__img{ flex:none; width:42%; max-width:460px; margin:0; }
  .problem__list{ flex:1; margin:0; }

  .solution__layout{ flex-direction:row; align-items:center; gap:56px; }
  .solution__list{ flex:1; margin:0; }
  .solution__img{ flex:none; width:42%; max-width:460px; margin:0; }

  .usecase{ grid-template-columns:1fr 1fr; gap:16px; max-width:880px; }
  .reasons__grid{ grid-template-columns:1fr 1fr; gap:16px; max-width:880px; }

  .price{
    flex-direction:row; justify-content:center; align-items:flex-end; gap:26px;
  }
  .price__arrow{ transform:none; padding-bottom:10px; }
  .subsidy__cta .btn{ width:auto; min-width:340px; }

  .message__diagram{ flex-direction:row; justify-content:center; align-items:stretch; gap:0; }
  .md-step{ width:200px; }
  .md-arrow{ transform:none; align-self:center; margin:0 8px; }

  .company__row{ flex-direction:row; gap:0; padding:21px 8px; }
  .company__row dt{ flex:none; width:168px; padding-top:3px; }
  .company__row dd{ flex:1; }

  .final-cta__btns{ flex-direction:row; justify-content:center; max-width:none; }
  .final-cta__btns .btn{ flex:0 1 auto; min-width:280px; }

  .footer{ padding:60px 0; }
  .footer__inner{ gap:24px; }
  .sticky-cta{ left:auto; right:24px; bottom:24px; }
  .sticky-cta__btn{ padding:16px 30px; }
}

/* =========================================================
   PC（1024px〜）
   ========================================================= */
@media (min-width:1024px){
  .hamburger{ display:none; }
  .gnav{
    position:static; width:auto; padding:0; background:none;
    flex-direction:row; align-items:center; gap:18px;
    transform:none; transition:none; overflow:visible;
  }
  .gnav::before{ display:none; }
  .gnav__list{ flex-direction:row; gap:2px; }
  .gnav__link{
    padding:8px 13px; border:0; font-size:13.5px; position:relative; white-space:nowrap;
    color:var(--navy); letter-spacing:.06em; font-weight:500;
  }
  .gnav__link::after{
    content:""; position:absolute; left:13px; right:13px; bottom:2px;
    height:1px; background:var(--gold); transform:scaleX(0); transform-origin:left;
    transition:transform .3s var(--ease);
  }
  .gnav__link:hover::after{ transform:scaleX(1); }
  .gnav__cta{
    padding:11px 20px; font-size:13px; white-space:nowrap;
    box-shadow:0 8px 18px -8px rgba(147,117,58,.5);
    transition:transform .25s var(--ease), box-shadow .3s var(--ease);
  }
  .gnav__cta:hover{ transform:translateY(-1px); box-shadow:0 12px 22px -8px rgba(147,117,58,.55); }

  .hero__rail{ display:block; }

  .usecase{ grid-template-columns:1fr 1fr 1fr; max-width:none; }
  .reasons__grid{ grid-template-columns:1fr 1fr 1fr; max-width:none; }

  /* 受講までの流れ：PCは横並びタイムライン */
  .flow__list{
    max-width:none;
    display:grid; grid-template-columns:repeat(5, 1fr); gap:0 26px;
  }
  .flow__step{ padding:30px 0 0; }
  .flow__step::before{
    left:18px; right:calc(-26px - 7px); top:5px; bottom:auto;
    width:auto; height:1px;
    background:linear-gradient(90deg, var(--gold-soft), var(--line));
  }
  .flow__step:last-child::before{ display:none; }
  .flow__step::after{ left:0; top:0; }
}

/* ============================================================
   [追加ブロック] カリキュラム & 活用例テーブル
   ※lp-hukushi3 への後付け。不要になったら、本ブロックと
     index.html の「[追加]」コメント付き <section> 2つを削除し、
     後続セクションの data-num を 06→04 のように戻せば元通りです。
   ============================================================ */

/* --- カリキュラム（3部構成カード） --- */
.curriculum__grid{
  display:grid; grid-template-columns:1fr; gap:16px;
  max-width:980px; margin-inline:auto;
}
.curriculum__part{
  position:relative;
  background:var(--white);
  border:1px solid var(--line);
  padding:30px 26px 28px;
  overflow:hidden;
  transition:border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.curriculum__part:hover{
  border-color:var(--line-navy);
  box-shadow:0 16px 34px -18px rgba(10,29,51,.3);
  transform:translateY(-3px);
}
.curriculum__no{
  position:absolute; top:-14px; right:8px;
  font-family:var(--font-serif-en); font-weight:500;
  font-size:64px; line-height:1; letter-spacing:.02em;
  color:transparent; -webkit-text-stroke:1px rgba(172,138,72,.4);
  pointer-events:none; user-select:none;
}
.curriculum__part-title{
  position:relative;
  font-family:var(--font-display); font-weight:700;
  font-size:18px; letter-spacing:.05em; color:var(--navy);
  padding-bottom:14px; margin-bottom:16px;
}
.curriculum__part-title small{
  display:block; margin-top:7px;
  font-family:var(--font-serif-en); font-style:italic; font-weight:600;
  font-size:12px; letter-spacing:.16em; color:var(--gold);
}
.curriculum__part-title::after{
  content:""; position:absolute; bottom:0; left:0;
  width:32px; height:1.5px;
  background:linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.curriculum__topics{ display:flex; flex-direction:column; gap:11px; }
.curriculum__topics li{
  position:relative; padding-left:22px;
  font-size:13.5px; line-height:1.85; color:var(--ink);
}
.curriculum__topics li::before{
  content:""; position:absolute; left:5px; top:.7em;
  width:7px; height:7px; background:var(--gold);
  transform:translateY(-50%) rotate(45deg);
}
.curriculum__note{
  margin-top:26px; text-align:center;
  font-size:12.5px; line-height:2; color:var(--ink-soft);
}
@media (min-width:768px){
  .curriculum__grid{ grid-template-columns:repeat(3, 1fr); gap:18px; align-items:start; }
}

/* --- 活用例テーブル --- */
.usecase-table{ background:var(--tint); }
.extable__wrap{ max-width:840px; margin-inline:auto; }
.extable{
  width:100%; border-collapse:collapse;
  background:var(--white);
  border:1px solid var(--line);
  font-size:13.5px;
  box-shadow:0 14px 36px -22px rgba(10,29,51,.28);
}
.extable th, .extable td{
  text-align:left; vertical-align:top;
  padding:15px 18px; border-bottom:1px solid var(--line);
  line-height:1.85;
}
.extable thead th{
  background:var(--navy); color:#fff;
  font-family:var(--font-display); font-weight:700;
  font-size:14px; letter-spacing:.08em;
}
.extable tbody th{
  width:33%; color:var(--navy); font-weight:700;
  background:var(--tint); letter-spacing:.03em;
}
.extable tbody td{ color:var(--ink-soft); }
.extable tbody tr:last-child th,
.extable tbody tr:last-child td{ border-bottom:0; }
@media (max-width:479px){
  .extable th, .extable td{ padding:12px 13px; }
  .extable tbody th{ width:36%; }
}


/* =========================================================
   30秒AI化診断（モーダル）2026-08-31 追記
   ---------------------------------------------------------
   配色はこの :root ブロックだけで調整できます。
   本LPの既存変数を var() で参照しているため、
   LP側の配色を変えると診断モーダルも自動で追従します。
   ========================================================= */
:root{
  --dx-main:        var(--navy);       /* #14304f 見出し・濃色面（白文字が乗る濃さ） */
  --dx-main-deep:   var(--navy-deep);  /* #0a1d33 */
  --dx-accent:      var(--gold-deep);  /* #93753a 白文字を乗せるCTAの地色（LPの .btn--gold と同系） */
  --dx-edge:        var(--gold);       /* #ac8a48 装飾専用（細罫・上端） */
  --dx-sub:         var(--navy);       /* 白地に小さく乗るラベル文字（金は薄いので濃紺を使う） */
  --dx-sub-soft:    var(--gold-soft);  /* #d9c596 細罫・装飾 */
  --dx-sub-pale:    var(--gold-pale);  /* rgba(172,138,72,.14) タグの地色 */
  --dx-white:       var(--white);
  --dx-bg:          var(--paper);      /* #fbfbfa モーダルの地色 */
  --dx-tint:        var(--tint);       /* #f3f5f8 淡い面 */
  --dx-hover-bg:    #f7f9fc;
  --dx-line:        var(--line);       /* #e1e6ec */
  --dx-line-tint:   #d7dee7;
  --dx-line-main:   var(--line-navy);  /* rgba(20,48,79,.5) */
  --dx-ink:         var(--ink);        /* #1f2a36 */
  --dx-ink-soft:    var(--ink-soft);   /* #5f6b78 */
  --dx-ink-dark:    var(--navy);       /* #14304f */
  --dx-muted:       #a9b1bb;           /* 既存のプレースホルダー色と同じ */
  --dx-alert:       #9b2f1f;
  --dx-alert-line:  #e0b3a8;
  --dx-backdrop:    rgba(10,29,51,.62);

  --dx-font-display: var(--font-display);
  --dx-font-en:      var(--font-serif-en);
  --dx-radius:       var(--radius);    /* 2px（本LPの角丸） */
  --dx-ease:         var(--ease);
}

/* ---------- 前提：ボックスモデルを固定する ---------- */
.dx, .dx *, .dx *::before, .dx *::after,
.dxcarry, .dxcarry *, .dxbtn, .dxbtn *{ box-sizing:border-box; }

/* ---------- 起動ボタン（サブCTA） ---------- */
.dx-launch{ text-align:center; }
.dxbtn{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; flex-wrap:wrap;
  width:100%; max-width:420px;
  min-height:56px; padding:15px 22px;
  font-family:var(--font-body); font-size:14.5px; font-weight:700; letter-spacing:.06em;
  line-height:1.5; text-align:center; cursor:pointer;
  color:var(--dx-main);
  background:var(--dx-white);
  border:1px solid var(--dx-line-main);
  border-radius:var(--dx-radius);
  transition:background-color .3s var(--dx-ease), color .3s var(--dx-ease),
             border-color .3s var(--dx-ease),
             transform .25s var(--dx-ease), box-shadow .3s var(--dx-ease);
}
.dxbtn:hover{
  background:var(--dx-main); color:#fff; border-color:var(--dx-main);
  transform:translateY(-2px);
  box-shadow:0 12px 24px -12px rgba(20,48,79,.5);
}
.dxbtn__ico{ flex:none; width:20px; height:20px; display:inline-grid; place-items:center; }
.dxbtn__ico svg{ width:100%; height:100%; }
.dxbtn__tag{
  flex:none; padding:4px 9px; border-radius:var(--dx-radius);
  background:var(--dx-sub-pale); color:var(--dx-sub);
  font-size:10.5px; font-weight:700; letter-spacing:.08em; line-height:1;
  transition:background-color .3s ease, color .3s ease;
}
.dxbtn:hover .dxbtn__tag{ background:rgba(255,255,255,.2); color:var(--dx-sub-soft); }
.dxbtn__note{
  margin-top:10px;
  font-size:12px; line-height:1.85; letter-spacing:.02em;
  color:var(--dx-ink-soft);
  text-align:center;
}
.dxbtn__note b{ color:inherit; font-weight:700; }
/* 濃色背景（最終CTA）の上に置く場合 */
.final-cta .dxbtn__note{ color:rgba(255,255,255,.82); }
.final-cta .dxbtn__note b{ color:var(--gold-soft); }

/* ---------- 診断ボタンの設置ブロック ---------- */
.dx-launch--hero{ padding:30px 0 4px; background:var(--paper); }
.dx-launch--works{ margin-top:44px; }
/* 最終CTA：メインCTAより目立たせないよう、幅をメインCTAに合わせる */
.dx-launch--final{ margin-top:22px; width:100%; }
.dx-launch--final .dxbtn{ max-width:280px; }

/* ---------- モーダル本体 ---------- */
.dx{
  position:fixed; inset:0; z-index:300;
  display:flex; align-items:flex-end; justify-content:center;
}
.dx[hidden]{ display:none; }
body.is-dx-open{ overflow:hidden; }

.dx__backdrop{
  position:absolute; inset:0;
  background:var(--dx-backdrop);
  -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
  opacity:0;
  transition:opacity .3s var(--dx-ease);
}
.dx.is-open .dx__backdrop{ opacity:1; }

.dx__panel{
  position:relative;
  width:100%; max-width:720px;
  max-height:92dvh;
  display:flex; flex-direction:column;
  background:var(--dx-bg);
  border-top:4px solid var(--dx-edge);
  box-shadow:0 -20px 60px rgba(10,29,51,.4);
  transform:translateY(24px);
  opacity:0;
  transition:transform .38s var(--dx-ease), opacity .3s var(--dx-ease);
}
.dx.is-open .dx__panel{ transform:none; opacity:1; }
.dx__panel:focus{ outline:none; }

.dx__close{
  position:absolute; top:12px; right:12px; z-index:2;
  width:38px; height:38px;
  display:grid; place-items:center;
  cursor:pointer;
  color:var(--dx-ink-soft);
  background:var(--dx-white);
  border:1px solid var(--dx-line);
  border-radius:var(--dx-radius);
  transition:color .25s ease, border-color .25s ease;
}
.dx__close svg{ width:19px; height:19px; }
.dx__close:hover{ color:var(--dx-main); border-color:var(--dx-line-main); }

.dx__head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:18px 58px 12px 20px;
}
.dx__eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--dx-font-display); font-weight:700;
  font-size:13px; letter-spacing:.14em; line-height:1.5;
  color:var(--dx-main);
}
.dx__eyebrow::before{ content:""; width:4px; height:15px; background:var(--dx-edge); }
.dx__count{
  font-family:var(--dx-font-en); font-weight:600;
  font-size:14px; letter-spacing:.1em; color:var(--dx-ink-soft);
  font-variant-numeric:tabular-nums; line-height:1.5;
}
.dx__progress{ height:3px; margin:0 20px; background:var(--dx-line); overflow:hidden; }
.dx__bar{
  display:block; height:100%; width:50%;
  background:linear-gradient(90deg, var(--dx-main), var(--dx-edge));
  transition:width .45s var(--dx-ease);
}

.dx__body{
  flex:1 1 auto; overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  padding:20px 20px 26px;
}
.dx__step{ display:none; }
.dx__step.is-active{ display:block; animation:dxin .35s var(--dx-ease) both; }
@keyframes dxin{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){
  .dx__step.is-active{ animation:none; }
  .dx__panel, .dx__backdrop{ transition:none; }
}

.dx__q{
  font-family:var(--dx-font-display); font-weight:700;
  font-size:clamp(17px, 4.8vw, 22px);
  line-height:1.6; letter-spacing:.06em;
  color:var(--dx-ink-dark);
  text-align:center;
}
.dx__sub{
  margin-top:8px; text-align:center;
  font-size:12.5px; line-height:1.8; letter-spacing:.04em; color:var(--dx-ink-soft);
}

/* STEP1：2択カード */
.dx__choices{ display:grid; grid-template-columns:1fr; gap:12px; margin-top:20px; list-style:none; }
.dxcard{
  display:flex; flex-direction:column; gap:9px;
  width:100%; padding:20px 18px;
  text-align:left; cursor:pointer;
  font-family:var(--font-body);
  background:var(--dx-white);
  border:1px solid var(--dx-line);
  border-left:4px solid var(--dx-line-main);
  border-radius:var(--dx-radius);
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.dxcard:hover, .dxcard:focus-visible{
  border-color:var(--dx-sub-soft);
  border-left-color:var(--dx-accent);
  box-shadow:0 16px 32px -20px rgba(10,29,51,.6);
  transform:translateY(-2px);
}
.dxcard__head{
  font-family:var(--dx-font-display); font-weight:700;
  font-size:clamp(15px, 4.2vw, 17px); line-height:1.65; letter-spacing:.04em;
  color:var(--dx-ink-dark);
}
.dxcard__text{ font-size:13px; line-height:1.9; color:var(--dx-ink-soft); }
.dxcard__go{
  display:inline-flex; align-items:center; gap:7px;
  align-self:flex-start;
  font-size:13px; font-weight:700; letter-spacing:.04em;
  color:var(--dx-accent);
}
.dxcard__go::before{ content:"\25B6"; font-size:.82em; line-height:1; }

/* STEP2：業務カード */
.dx__tasks{ display:grid; grid-template-columns:1fr; gap:9px; margin-top:18px; list-style:none; }
.dxtask{
  display:flex; align-items:center; gap:12px;
  width:100%; padding:14px 15px;
  text-align:left; cursor:pointer;
  font-family:var(--font-body);
  background:var(--dx-white);
  border:1px solid var(--dx-line);
  border-radius:var(--dx-radius);
  transition:border-color .25s ease, background-color .25s ease, transform .2s ease;
}
.dxtask:hover, .dxtask:focus-visible{
  border-color:var(--dx-main);
  background:var(--dx-hover-bg);
  transform:translateX(3px);
}
.dxtask__cat{
  flex:none; min-width:58px; padding:5px 0;
  text-align:center;
  font-size:11.5px; font-weight:700; letter-spacing:.08em; line-height:1.5;
  white-space:nowrap;
  color:#fff; background:var(--dx-main);
  border-radius:var(--dx-radius);
}
.dxtask__name{
  font-size:14px; font-weight:700; line-height:1.6; letter-spacing:.02em;
  color:var(--dx-ink-dark);
}
.dx__back{
  display:inline-flex; align-items:center;
  margin-top:18px;
  font-family:var(--font-body); font-size:13px; letter-spacing:.04em; line-height:1.6;
  cursor:pointer; background:none; border:none;
  color:var(--dx-ink-soft);
  border-bottom:1px solid transparent;
  transition:color .25s ease, border-color .25s ease;
}
.dx__back:hover{ color:var(--dx-main); border-bottom-color:currentColor; }
.dx__step--result .dx__back{ display:block; margin-inline:auto; margin-top:16px; }

/* STEP2：自由記入 */
.dxtask-other{ grid-column:1 / -1; }
.dxtask--other{ border-style:dashed; border-color:var(--dx-line-main); }
.dxtask--other:hover,
.dxtask--other:focus-visible,
.dxtask--other.is-active{
  border-style:solid;
  border-color:var(--dx-main);
  background:var(--dx-hover-bg);
}
.dxtask__cat--other{ background:var(--dx-ink-soft); }

.dx__other{
  margin-top:12px; padding:16px;
  background:var(--dx-white);
  border:1px solid var(--dx-main);
  border-radius:var(--dx-radius);
}
.dx__other[hidden]{ display:none; }
.dx__other-label{
  display:block; margin-bottom:9px;
  font-size:12.5px; font-weight:700; letter-spacing:.03em; line-height:1.7;
  color:var(--dx-ink-dark);
}
.dx__other-row{ display:flex; gap:8px; align-items:stretch; }
.dx__other-input{
  flex:1 1 auto; min-width:0;
  padding:12px 13px;
  font-family:var(--font-body); font-size:15px; line-height:1.7;
  color:var(--dx-ink);
  background:var(--dx-white);
  border:1px solid var(--dx-line);
  border-radius:var(--dx-radius);
  transition:border-color .22s ease, box-shadow .22s ease;
}
.dx__other-input::placeholder{ color:var(--dx-muted); font-size:13.5px; }
.dx__other-input:focus{
  outline:none;
  border-color:var(--dx-main);
  box-shadow:0 0 0 3px rgba(46,108,176,.14);
}
.dx__other-go{
  flex:none; min-width:80px; padding:12px 18px;
  font-family:var(--font-body); font-size:14px; font-weight:700; letter-spacing:.06em;
  cursor:pointer;
  color:#fff;
  background:var(--dx-main);
  border:1px solid var(--dx-main);
  border-radius:var(--dx-radius);
  transition:background-color .22s ease;
}
.dx__other-go:hover{ background:var(--dx-main-deep); }
.dx__other-err{ margin-top:9px; font-size:12px; line-height:1.7; color:var(--dx-alert); }
.dx__other-err[hidden]{ display:none; }

/* 診断結果 */
.dx__result-eyebrow{
  text-align:center;
  font-family:var(--dx-font-en); font-style:italic; font-weight:600;
  font-size:13px; letter-spacing:.2em; color:var(--dx-accent);
  line-height:1.6;
  margin-bottom:12px;
}
.dx__result-title{
  text-align:center;
  font-family:var(--dx-font-display); font-weight:700;
  font-size:clamp(17px, 4.8vw, 23px);
  line-height:1.65; letter-spacing:.06em;
  color:var(--dx-ink-dark);
}
.dx__result-title b{
  color:var(--dx-ink-dark);
  background:linear-gradient(transparent 64%, var(--dx-sub-soft) 64%);
}
.dx__result-card{
  margin-top:18px; padding:18px;
  background:var(--dx-white);
  border:1px solid var(--dx-line);
  border-top:3px solid var(--dx-edge);
  border-radius:var(--dx-radius);
}
.dx__result-text{ font-size:14px; line-height:2.05; color:var(--dx-ink); }
.dx__result-plan{
  margin-top:14px; padding:16px 18px;
  background:var(--dx-tint);
  border:1px solid var(--dx-line-tint);
  border-radius:var(--dx-radius);
}
.dx__result-plan-label{
  font-size:11.5px; font-weight:700; letter-spacing:.12em; line-height:1.6;
  color:var(--dx-main); margin-bottom:8px;
}
.dx__result-plan-text{ font-size:13.5px; line-height:1.95; color:var(--dx-ink); }
.dx__result-assure{
  display:flex; flex-direction:column; gap:7px;
  margin-top:18px; margin-bottom:20px;
  list-style:none; padding:0;
}
.dx__result-assure li{
  position:relative; padding-left:23px;
  font-size:13px; line-height:1.75; color:var(--dx-ink-dark); font-weight:500;
}
.dx__result-assure li::before{
  content:""; position:absolute; left:2px; top:.55em;
  width:10px; height:6px;
  border-left:1.8px solid var(--dx-accent);
  border-bottom:1.8px solid var(--dx-accent);
  transform:rotate(-45deg);
}
/* 結果画面のCTA（LPの .btn--gold と同じ見え方に揃えたもの） */
.dx__cta{
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  width:100%; min-height:58px; padding:16px 22px;
  font-family:var(--font-body); font-size:15px; font-weight:700; letter-spacing:.06em;
  line-height:1.5; text-align:center; cursor:pointer;
  color:#fff;
  background:linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  border:1px solid transparent;
  border-bottom:2px solid var(--navy);
  border-radius:var(--dx-radius);
  box-shadow:0 12px 26px -10px rgba(147,117,58,.55);
  transition:transform .25s var(--dx-ease), box-shadow .3s var(--dx-ease);
}
.dx__cta:hover{ transform:translateY(-2px); box-shadow:0 18px 32px -12px rgba(147,117,58,.6); }

/* ---------- フォーム上部の引き継ぎ表示 ---------- */
.dxcarry{
  margin-bottom:24px;
  padding:16px 18px;
  background:var(--dx-tint);
  border:1px solid var(--dx-line-tint);
  border-left:4px solid var(--dx-main);
  border-radius:var(--dx-radius);
  text-align:left;
}
.dxcarry[hidden]{ display:none; }
.dxcarry__label{
  font-size:11.5px; font-weight:700; letter-spacing:.12em; line-height:1.6;
  color:var(--dx-main);
  margin-bottom:9px;
}
.dxcarry__list{ display:flex; flex-direction:column; gap:6px; list-style:none; margin:0; padding:0; }
.dxcarry__row{
  display:flex; flex-wrap:wrap; align-items:baseline;
  gap:4px 10px; padding:7px 0;
  border-bottom:1px dashed var(--dx-line-tint);
}
.dxcarry__row:last-child{ border-bottom:0; }
.dxcarry__key{
  flex:none; min-width:88px;
  font-size:11.5px; font-weight:700; letter-spacing:.06em; line-height:1.7;
  color:var(--dx-ink-soft);
}
.dxcarry__val{
  flex:1 1 160px; min-width:0;
  font-size:13px; line-height:1.7; font-weight:700;
  color:var(--dx-ink-dark);
}
.dxcarry__edit{
  flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  min-height:36px; padding:8px 16px;
  font-family:var(--font-body); font-size:11.5px; font-weight:700; letter-spacing:.04em;
  line-height:1.5; cursor:pointer;
  color:var(--dx-main);
  background:var(--dx-white);
  border:1px solid var(--dx-line-main);
  border-radius:var(--dx-radius);
  transition:background-color .22s ease, color .22s ease, border-color .22s ease;
}
.dxcarry__edit:hover{ background:var(--dx-main); color:#fff; border-color:var(--dx-main); }
/* 「この内容を送らない」：同じ大きさで色だけ変え、取り消し操作だと分かるようにする */
.dxcarry__clear{
  flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  min-height:36px; padding:8px 16px;
  font-family:var(--font-body); font-size:11.5px; font-weight:700; letter-spacing:.04em;
  line-height:1.5; cursor:pointer;
  color:var(--dx-alert);
  background:var(--dx-white);
  border:1px solid var(--dx-alert-line);
  border-radius:var(--dx-radius);
  transition:background-color .22s ease, color .22s ease, border-color .22s ease;
}
.dxcarry__clear:hover{ background:var(--dx-alert); color:#fff; border-color:var(--dx-alert); }
.dxcarry__row--action{ border-bottom:0; padding-top:10px; }
.dxcarry__row--action .dxcarry__val{
  flex:1 1 160px; font-weight:500; font-size:11.5px; color:var(--dx-ink-soft);
}
.dxcarry__note{ margin-top:10px; font-size:11.5px; line-height:1.7; color:var(--dx-ink-soft); }

/* ---------- タブレット以上 ---------- */
@media (min-width:768px){
  .dx{ align-items:center; padding:24px; }
  .dx__panel{
    max-height:86dvh;
    border-top:4px solid var(--dx-edge);
    box-shadow:0 30px 80px rgba(10,29,51,.45);
  }
  .dx__head{ padding:22px 60px 14px 26px; }
  .dx__progress{ margin:0 26px; }
  .dx__body{ padding:24px 26px 30px; }
  .dx__tasks{ grid-template-columns:1fr 1fr; }
  .dx__choices{ grid-template-columns:1fr 1fr; }
  .dxcard{ padding:24px 20px; }
}

/* ---------- 都道府県セレクト（既存の .cform__input と同じ見た目にそろえる） ---------- */
.cform__select{
  box-sizing:border-box;
  width:100%;
  font-family:inherit;
  font-size:15px;
  color:var(--ink);
  background-color:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:13px 42px 13px 14px;
  /* .cform__input の line-height:1.7 と同じ行高にして、入力欄と高さをそろえる */
  line-height:1.7;
  letter-spacing:.02em;
  height:auto;
  cursor:pointer;
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5l5-5' fill='none' stroke='%2314304f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 15px center;
  background-size:12px 8px;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.cform__select:focus{
  outline:none;
  border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(46,108,176,.14);
}
/* 未選択のあいだだけ、プレースホルダーらしく淡くする */
.cform__select:invalid{ color:var(--ink-soft); }

/* ---------- 都道府県の下に置く補足ブロック ---------- */
.contact-form__aside{
  box-sizing:border-box;
  padding:12px 15px;
  background:var(--dx-tint);
  border:1px solid var(--dx-line);
  border-left:3px solid var(--dx-edge);
  border-radius:var(--radius);
}
.contact-form__aside-list{
  display:flex; flex-direction:column; gap:4px;
  list-style:none; margin:0; padding:0;
}
.contact-form__aside-list li{
  position:relative;
  padding-left:17px;
  font-size:11.5px; line-height:1.7; letter-spacing:.02em;
  color:var(--dx-ink-soft);
}
.contact-form__aside-list li::before{
  content:""; position:absolute; left:1px; top:.6em;
  width:8px; height:5px;
  border-left:1.6px solid var(--dx-accent);
  border-bottom:1.6px solid var(--dx-accent);
  transform:rotate(-45deg);
}

/* ---------- フォーム内「デモ・ご相談を希望する」チェック ---------- */
.dxdemo{
  box-sizing:border-box;
  padding:16px 18px;
  background:var(--dx-tint);
  border:1px solid var(--dx-line-tint);
  border-left:4px solid var(--dx-accent);
  border-radius:var(--radius);
}
.dxdemo__label{
  display:flex; align-items:flex-start; gap:11px;
  cursor:pointer;
  font-size:14.5px; font-weight:700; line-height:1.7;
  color:var(--dx-ink-dark);
}
.dxdemo__label input{
  flex:none; width:19px; height:19px; margin-top:3px;
  accent-color:var(--dx-main);
  cursor:pointer;
}
.dxdemo__tag{
  display:inline-block; margin-left:6px; padding:3px 8px;
  font-size:10.5px; font-weight:700; letter-spacing:.08em; line-height:1;
  color:var(--dx-sub); background:var(--dx-sub-pale);
  border-radius:var(--radius);
  vertical-align:1px;
  white-space:nowrap;
}
.dxdemo__note{
  margin:9px 0 0 30px;
  font-size:12px; line-height:1.85;
  color:var(--dx-ink-soft);
}
@media (max-width:768px){
  .dxdemo__note{ margin-left:0; }
  /* スマホでの自動ズームを防ぐ（行高は px 指定にして入力欄と同じ高さに保つ） */
  .cform__select{ font-size:16px; line-height:25.5px; }
}

/* ---------- 同意チェック内の「必須」バッジが縦に折れるのを防ぐ ---------- */
.cform__agree .cform__req{ white-space:nowrap; }

/* ---------- スマホ：同意チェックの「必須」バッジが単独で改行落ちするのを防ぐ ---------- */
@media (max-width: 767px) {
  .cform__req {
    padding: 2px 5px;
    margin-left: 5px;
    font-size: 10px;
    white-space: nowrap;
  }
}
/* =========================================================
   スマホ統一基準 20260902
   ・本文14px以上／注釈12.5px以上（8〜11pxを全廃）
   ・タップ領域44px以上
   ・CTA高さ64px以上
   ・日本語の改行を文節単位に統一
   ========================================================= */
@media (max-width: 767px){

  /* --- 1. 文字サイズの下限を揃える --- */
  .hero__note, .subsidy__note, .subsidy__small, .final-cta__note,
  .target__note, .price__note, .company__note, .dxbtn__note,
  .midcta__note, .contact-form__aside-list li, .cf-aside li,
  .form__note, .contact__note, .voice__meta, .note, .notes,
  .trust-band__note, .company-url-link, .text-xs{
    font-size: 12.5px !important;
    line-height: 1.85 !important;
  }
  .target__item{ font-size: 12.5px !important; }

  /* 本文 */
  .section__desc, .problem__item, .solution__item p, .reason__text,
  .format__text, .flow__text, .faq__a, .usecase__text, .body-text,
  .lead, .desc{
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  /* --- 2. タップ領域 44px 以上 --- */
  .footer__nav a, footer nav a, footer a,
  .company__link, .company-url-link,
  a[href^="tel"], .header__logo, .site-header a{
    display: inline-flex; align-items: center;
    min-height: 44px;
  }
  .footer__nav li{ margin: 0; }

  /* --- 3. CTAボタンの高さを揃える --- */
  .btn--gold, .btn--primary, .btn-entry, .hero-cta__btn,
  .sticky-cta__btn, .f-entry, .fv-pc-cta, .midcta__btn,
  button[type="submit"], .form-submit, .cf-submit{
    min-height: 64px !important;
  }

  /* --- 4. 日本語の改行ルール --- */
  h1, h2, h3, .heading, .section__title, .cta-lead,
  .midcta__lead, .hero__catch, .answer-copy, .hero__headline{
    word-break: auto-phrase;
  }
  p, li, dd, .section__desc, .usecase__text, .faq__a{
    text-wrap: pretty;
  }
}

/* --- 5. 中間CTA（活用例の直後） --- */
.midcta{ padding: 40px 0; background: #f4f8fb; }
.midcta__lead{
  text-align:center; font-weight:800; line-height:1.8; font-size:15px;
}
.midcta__btns{ max-width:480px; margin:16px auto 0; }
.midcta__btn{
  display:flex; align-items:center; justify-content:center;
  min-height:64px; padding:0 20px;
  font-size:16px; font-weight:800; letter-spacing:.04em;
  text-align:center; text-decoration:none; border-radius:10px;
}
.midcta__note{ margin-top:12px; text-align:center; font-size:12.5px; line-height:1.85; }
@media (max-width:767px){
  .midcta{ padding:32px 0; }
  .midcta__lead{ font-size:14px; }
}
/* ---------- FV直下：問い合わせCTAと30秒診断を同一ブロックに並べる ---------- */
.dxbtn-inline{
  display: inline-flex !important;
  align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap;
  min-height: 64px;
}
.dxbtn-inline .dxbtn__ico{ flex:none; width:20px; height:20px; display:inline-grid; place-items:center; }
.dxbtn-inline .dxbtn__ico svg{ width:100%; height:100%; }
.dxbtn-inline .dxbtn__tag{
  flex:none; padding:3px 8px; border-radius:4px;
  font-size:10.5px; font-weight:700; letter-spacing:.08em;
  background: rgba(0,0,0,.08);
}
@media (max-width: 767px){
  .hero__cta{ display:flex; flex-direction:column; gap:12px; }
  .dxbtn-inline{ width:100%; }
}
/* 診断ボタン直下の説明文 */
.dx-hero-note{
  margin-top: 8px; text-align:center;
  font-size: 12.5px; line-height:1.8;
}
/* ---------- カリキュラム：アコーディオン ---------- */
details.curriculum__part{ position:relative; }
details.curriculum__part > summary{
  display:flex; align-items:center; gap:12px;
  cursor:pointer; list-style:none;
  min-height: 56px; padding-right: 34px;
}
details.curriculum__part > summary::-webkit-details-marker{ display:none; }
details.curriculum__part > summary::after{
  content:""; position:absolute; right:14px; top:22px;
  width:10px; height:10px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform: rotate(45deg); transition: transform .25s ease;
  opacity:.6;
}
details.curriculum__part[open] > summary::after{ transform: rotate(-135deg); }
details.curriculum__part > summary h3{ margin:0; }
/* ---------- 診断ボタン＋説明文を縦に組む（横並びCTAの中でも崩れないように） ---------- */
.dx-inline-wrap{
  display: flex; flex-direction: column; align-items: stretch;
  flex: 1 1 0; min-width: 0;
}
.dx-inline-wrap .dxbtn-inline{ width: 100%; }
.dx-inline-wrap .dx-hero-note{
  width: 100%;
  margin-top: 8px;
  text-align: center;
  font-size: 12.5px; line-height: 1.8;
}
@media (max-width: 767px){
  .dx-inline-wrap{ width: 100%; }
}
/* 横並びCTA内で高さが引き伸ばされないよう上端揃えに */
.hero__cta{ align-items: flex-start; }
.hero__cta > .btn--gold,
.hero__cta > .btn--demo{ flex: 1 1 0; min-width: 0; }
.dx-inline-wrap .dx-hero-note{ display:block; width:auto; }
/* =========================================================
   右端の見切れ対策 20260902
   100vw はスクロールバー幅を含むため、縦スクロールがある環境で
   約15px 右にはみ出す（body の overflow-x:hidden で切れて見える）。
   幅指定を親基準（100%）に上書きする。
   ========================================================= */
/* 対象は 100vw 指定の要素のみ。.container / .hero__visual の
   デザイン上の最大幅（額装枠920px 等）は絶対に潰さないこと。 */
.hero .container{ width: 100% !important; max-width: 100% !important; }
.hero-visual,
.hero-visual picture,
.fv-hero-link,
.fv-hero-image{ max-width: 100% !important; }
.hero-visual picture{ width: 100% !important; }
html, body{ overflow-x: clip; }
/* =========================================================
   スマホCTAサイズの適正化 20260902
   64px は画面占有が大きいため 56px に。タップ領域44pxは十分確保。
   ========================================================= */
@media (max-width: 767px){
  .btn--gold, .btn--primary, .btn-entry, .hero-cta__btn,
  .f-entry, .fv-pc-cta, .midcta__btn, .btn-orange,
  .fv-mobile-action__button, .fv-sp-cta__btn,
  button[type="submit"], .form-submit, .cf-submit,
  .dxbtn, .dxbtn-inline, .btn--ghost{
    min-height: 56px !important;
  }
  /* 上下パディングが効いて肥大するボタンを抑制 */
  .hero__cta .btn, .hero-cta__btn, .midcta__btn,
  .fv-mobile-action__button, .fv-sp-cta__btn{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  /* 固定CTAは押し間違い防止のため据え置き（66px） */
  .sticky-cta__btn, .sticky-cta__phone,
  .sp-fixed-cta a, .fixbar-cta{ min-height: 60px !important; }
}
/* =========================================================
   スマホCTA 追い込み 20260902b
   padding + line-height(2.0) の合算で 68〜72px になっていたため、
   行間を詰めて min-height 56px を実効値にする。
   ========================================================= */
@media (max-width: 767px){
  a.btn, button.btn, .btn-cta, .btn--primary, .btn--gold, .btn--ghost-light,
  .btn-orange, .btn-primary, .btn-entry, .midcta__btn,
  .fv-mobile-action__button, .fv-sp-cta__btn,
  input[type="submit"], button[type="submit"], .form-submit{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    line-height: 1.4 !important;
    min-height: 56px !important;
  }
  /* 2行になるボタンだけ 高さを許容（上限64px） */
  .cta-actions__main, .quick-demo-btn{ max-height: none !important; }
  /* 固定CTAは据え置き */
  .sticky-cta__btn, .sticky-cta__phone{
    padding-top: 0 !important; padding-bottom: 0 !important;
    min-height: 60px !important; line-height: 1.35 !important;
  }
}
/* =========================================================
   スマホ用ヘッダーCTA 20260902s
   ロゴとハンバーガーの間に常時表示。色は各LPのCTA配色を継承。
   ========================================================= */
.header-cta-sp{ display: none; }
@media (max-width: 1023px){
  .header-cta-sp{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 10px;
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 6px;
    font-size: 12.5px !important;
    font-weight: 700;
    line-height: 1.25 !important;
    letter-spacing: .02em;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.16);
  }
  .header__inner, .header-inner{ flex-wrap: nowrap; }
  .header__logo, .logo{ min-width: 0; flex: 0 1 auto; }
}
@media (max-width: 359px){
  .header-cta-sp{ font-size: 11.5px !important; padding: 0 10px !important; margin-right: 8px; }
}
/* スマホ用ヘッダーCTA：幅とロゴの取り合いを調整 20260902t */
@media (max-width: 1023px){
  .header-cta-sp{
    width: auto !important;
    max-width: 132px !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-inner, .header__inner{
    display: flex !important;
    align-items: center;
    gap: 8px;
  }
  .logo, .header__logo{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden;
  }
  .logo-text, .header__logo-text{ min-width: 0; overflow: hidden; }
  .logo-ja, .header__logo-ja{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hamburger{ flex: 0 0 auto; margin-left: 0 !important; }
}
@media (max-width: 359px){
  .header-cta-sp{ max-width: 112px !important; }
}
/* =========================================================
   中間CTAボタンに背景色を付与（LPのメインCTAと同色） 20260902u
   これまで背景・文字色の指定がなく、ただのテキストに見えていた。
   ========================================================= */
.midcta__btn{
  background: linear-gradient(135deg,#93753a,#ac8a48) !important;
  color: #ffffff !important;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 22px -10px rgba(147,117,58,.40);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.midcta__btn:hover,
.midcta__btn:focus-visible{
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -10px rgba(147,117,58,.40);
}
/* =========================================================
   スマホヘッダー：会社名が省略されないよう再配分 20260902w
   ロゴ(マーク+社名) / CTA / ハンバーガー の3点が
   375px幅に収まるようサイズを詰める。
   ========================================================= */
@media (max-width: 1023px){
  .header-inner, .header__inner{ gap: 6px !important; }

  .logo-mark, .header__logo-mark{
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 14px !important;
  }
  .logo, .header__logo{ gap: 6px !important; }

  .logo-ja, .header__logo-ja{
    font-size: 12.5px !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .logo-en, .header__logo-en{
    font-size: 9px !important;
    letter-spacing: .06em !important;
    white-space: nowrap !important;
  }
  .logo-text, .header__logo-text{ overflow: visible !important; }

  .header-cta-sp{
    max-width: 96px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
    letter-spacing: 0 !important;
  }
}
@media (max-width: 359px){
  .logo-ja, .header__logo-ja{ font-size: 11.5px !important; }
  .header-cta-sp{ max-width: 84px !important; padding: 0 8px !important; font-size: 11px !important; }
}
/* スマホでは社名の「株式会社」を省く（aria-label には残す） 20260902w */
@media (max-width: 1023px){
  .logo-corp{ display: none; }
}
/* =========================================================
   中間CTAの背景・文字を各LPのベースカラー／フォントに合わせる 20260902y
   これまで全LP共通で #f4f8fb（青白）＋既定フォントだったため浮いていた。
   ========================================================= */
.midcta{
  background: #f3f5f8 !important;
  border-top: 1px solid rgba(0,0,0,.055);
  border-bottom: 1px solid rgba(0,0,0,.055);
}
.midcta__lead{
  font-family: 'Zen Old Mincho','Hiragino Mincho ProN',serif !important;
  color: #14304f !important;
}
.midcta__note{
  color: rgba(31,42,54,.82) !important;
}
/* =========================================================
   日本語の改行ルールを全テキストに適用 20260902z
   ・禁則処理（行頭に句読点・閉じ括弧を置かない）
   ・見出しは文節単位で折り返し＋行長を均す
   ・本文は最終行に1〜2文字だけ残さない
   ・.nb は分割禁止（電話番号＋受付時間など）
   ========================================================= */
p, li, dd, dt, td, th, figcaption, blockquote, small, label, address,
.lead, .desc, .note, .text, [class*="__text"], [class*="__lead"],
[class*="__desc"], [class*="__note"], [class*="-text"], [class*="-note"]{
  line-break: strict;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, summary,
.heading, .catch, .eyebrow,
[class*="__title"], [class*="-title"], [class*="__head"], [class*="__q"],
.cta-lead, .midcta__lead, .section__title, .sec-title, .fv-title{
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* ボタン内の文言は文節で折り返す */
.btn, a.btn, button.btn, .btn-cta, .midcta__btn, .dxbtn,
.header-cta-sp, [class*="cta__btn"], [class*="cta-btn"]{
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
}

/* 途中で切ってはいけないかたまり */
.nb{ white-space: nowrap; display: inline-block; }