/* ==========================================================================
   GNO株式会社 ホームページ制作・運用サービス LP
   ・色・書体・角丸など、変える可能性がある値は :root にまとめています。
   ・スマホ向けを基本に書き、PC 向けの調整はファイル末尾にあります。
   ・動き（表示アニメーション・制作例の横スクロール）は「動きを減らす」設定では止まります。
   ========================================================================== */

:root {
  /* 色（01_デザインルール.md 2章） */
  --ground: #ffffff;
  --tint: #f6f4ef;
  --navy: #13294b;
  --navy-deep: #0c1d36;
  --navy-soft: #2a4067;
  --navy-pale: #e8edf5;
  --ink: #1d2530;
  --ink-2: #3f4856;
  --line: #e2ddd3;
  --gold: #b08549;
  --gold-light: #dcbd80;
  --gold-text: #7a5a26;
  --gold-soft: #f5eedf;
  --free: #f3c552;
  --line-green: #06873d; /* LINEボタン（白文字 4.6:1。公式色 #06C755 は白文字が読みにくいため少し濃く） */
  --line-green-deep: #006f31;
  --cta: #c2531a;
  --cta-deep: #a3441a;
  --on-dark: #e6ebf3;
  --tbc-bg: #fff3b0;
  --tbc-ink: #5c4a00;
  --err: #b42318;

  /* 書体（読み込めない場合は端末のゴシック体） */
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;

  /* 形 */
  --radius: 10px;
  --radius-l: 16px;
  --shadow-s: 0 2px 10px rgba(19, 41, 75, .08);
  --shadow-m: 0 10px 30px rgba(19, 41, 75, .12);
  --shadow-l: 0 24px 60px rgba(5, 15, 35, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* 余白・幅 */
  --sec-pad: 72px;
  --gut: 20px;
  --maxw: 1080px;
  --maxw-text: 720px;
  --hd-h: 60px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: auto-phrase; /* 文節で改行（対応ブラウザのみ。非対応は通常の改行） */
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
section[id], div[id], p[id], aside { scroll-margin-top: calc(var(--hd-h) + 12px); }

/* 見出しは文節で改行（対応ブラウザのみ）・行のバランスを整える */
h1, h2, h3, .midcta__title, .final__title, summary { word-break: auto-phrase; text-wrap: balance; }
.nw { display: inline-block; }
.br-pc { display: none; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip:focus { top: 8px; }

/* 【要確認】【要接続】マーカー（公開前に確認が済んだものから消す） */
.tbc {
  display: inline-block; margin: 2px 2px 2px 0; padding: 0 6px;
  background: var(--tbc-bg); color: var(--tbc-ink);
  font-size: 13px; font-weight: 500; line-height: 1.7; border-radius: 4px;
}
.fine { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* ---------- ヘッダー ---------- */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.hd.is-scrolled { box-shadow: 0 6px 20px rgba(19, 41, 75, .08); }
.hd__in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  height: var(--hd-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; color: var(--navy); }
.logo__mark {
  font-size: 24px; font-weight: 700; letter-spacing: .06em; line-height: 1;
  padding-bottom: 3px; border-bottom: 2px solid var(--gold);
}
.logo__sub { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.hd__nav { display: none; }

/* ---------- ボタン（同じ目的のボタンは文言・色・形を揃える） ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 12px 16px;
  border-radius: 999px; border: 2px solid transparent;
  font-size: 17px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn__icon { width: 24px; height: 24px; flex: none; }
.btn--line { background: var(--line-green); color: #fff; box-shadow: 0 8px 20px rgba(6, 135, 61, .28); }
.btn--line::after { /* ホバー時に光が横切る（控えめ） */
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn--line:hover { background: var(--line-green-deep); transform: translateY(-2px); }
.btn--line:hover::after { left: 120%; }
.btn--sub { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--sub:hover { background: var(--navy-pale); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--submit { width: 100%; background: var(--navy); color: #fff; }
.btn--submit:hover:not(:disabled) { background: var(--navy-soft); }
.btn--submit:disabled { background: #8c95a3; cursor: not-allowed; }

.cta-set { display: flex; flex-direction: column; gap: 12px; }
.cta-set .btn { width: 100%; }
.cta-note { margin-top: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }

/* ---------- 区分ラベル（料金欄と同じ区分＋制作例の区分） ---------- */
.label {
  display: inline-block; padding: 2px 10px; border-radius: 4px;
  font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: .02em;
}
.label--free { background: var(--gold-soft); color: var(--gold-text); border: 1px solid #e3d3b2; }
.label--monthly { background: var(--navy-pale); color: var(--navy); border: 1px solid #c9d3e3; }
.label--plan30 { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.label--extra { background: #fff; color: var(--ink-2); border: 1px solid #b9bfc8; }
.label--case { background: var(--navy); color: #fff; }
.label--demo { background: #fff; color: var(--navy); border: 1px dashed var(--navy); }

/* ---------- 01 ファーストビュー（紺の帯） ---------- */
.fv {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #1c3c69 100%);
  color: #fff;
}
.fv__bg { /* ゆっくり流れる方眼と、右上の光 */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 75%);
  animation: grid-drift 40s linear infinite;
}
.fv::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 189, 128, .35) 0%, rgba(194, 83, 26, .12) 45%, transparent 70%);
  filter: blur(10px);
  animation: glow-float 14s ease-in-out infinite alternate;
}
@keyframes grid-drift { to { background-position: 48px 48px, 48px 48px; } }
@keyframes glow-float { to { transform: translate(-60px, 50px) scale(1.08); } }

.fv__in {
  max-width: var(--maxw); margin: 0 auto; padding: 32px var(--gut) 48px;
  display: grid; gap: 22px;
  grid-template-areas: "head" "side" "cta" "phase";
}
.fv__head { grid-area: head; }
.fv__side { grid-area: side; }
.fv__cta { grid-area: cta; }
.fv__phase { grid-area: phase; }

/* 最初の画面の登場（CSS だけで動くので、JS が無くても内容は表示される） */
.anim { animation: fade-up .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.fv__eyebrow {
  display: inline-block; margin-bottom: 12px; padding-left: 12px;
  border-left: 4px solid var(--gold-light);
  font-size: 15px; font-weight: 700; color: var(--gold-light); line-height: 1.5; letter-spacing: .04em;
}
.fv__title { font-size: clamp(28px, 7.6vw, 46px); line-height: 1.4; font-weight: 700; color: #fff; letter-spacing: .02em; }
.fv__lead { margin-top: 16px; font-size: 16px; color: var(--on-dark); line-height: 1.9; }
.free-em {
  display: inline-block; margin: 0 4px 0 0; padding: 0 .35em;
  background: var(--free); color: var(--navy-deep);
  font-size: 1.45em; font-weight: 700; line-height: 1.35; border-radius: 6px;
  transform: rotate(-2deg);
}

.fv .cta-note { color: #d5dde9; }
.fv .cta-note a, .fv .keyfacts__link a { color: #fff; }
.fv .btn--sub { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.fv .btn--sub:hover { background: rgba(255, 255, 255, .12); }
.fv :focus-visible { outline-color: #fff; }

.keyfacts {
  background: #fff; color: var(--ink); border-radius: var(--radius-l); box-shadow: var(--shadow-l);
  padding: 4px 18px 0; overflow: hidden; border-top: 4px solid var(--gold-light);
}
.keyfacts__row { display: grid; grid-template-columns: 136px 1fr; column-gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.keyfacts__row--stack { display: block; }
.keyfacts__row:last-child { border-bottom: 0; }
.keyfacts dt { font-size: 15px; font-weight: 700; color: var(--ink-2); line-height: 1.5; margin-bottom: 2px; }
.keyfacts dd { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.keyfacts .taxin { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.keyfacts__row--em {
  display: block; margin: 0 -18px; padding: 14px 18px 16px;
  background: var(--gold-soft); border-top: 1px solid #e8d9b8;
}
.keyfacts__row--em dt { color: var(--gold-text); }
.keyfacts__row--em dd { display: flex; align-items: center; gap: 8px; font-size: 21px; color: var(--navy-deep); }
.keyfacts__check { width: 26px; height: 26px; flex: none; color: #fff; background: var(--cta); border-radius: 50%; padding: 4px; }
.num { font-size: 30px; font-weight: 700; letter-spacing: .01em; margin: 0 2px; line-height: 1.1; }
.tax { font-size: 15px; font-weight: 500; }
.keyfacts__link { margin-top: 10px; font-size: 15px; font-weight: 500; }

.fv__phase { display: grid; gap: 8px; font-size: 15px; line-height: 1.7; color: var(--on-dark); }
.fv__phase li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 10px 14px; }
.fv__phase-tag { display: block; font-size: 14px; font-weight: 700; color: var(--gold-light); }
.fv__phase-tag--after { color: #fff; }

/* ---------- スクロールで現れる動き（JS が .reveal を付けたものだけ） ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- セクション共通 ---------- */
.sec { padding: var(--sec-pad) 0; }
.sec--tint { background: var(--tint); }
.sec__in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.sec__in--narrow { max-width: calc(var(--maxw-text) + var(--gut) * 2); }
.sec__en {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .24em; color: var(--gold-text); line-height: 1.4;
}
.sec__en::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.sec__title { font-size: 25px; line-height: 1.45; font-weight: 700; color: var(--navy); }
.sec__lead { margin-top: 14px; max-width: var(--maxw-text); }
.sec__lead + *, .sec__title + * { margin-top: 32px; }
.sec__title + .sec__lead { margin-top: 14px; }
.sub-title { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 14px; }

/* カードの浮き上がり（控えめ） */
.card, .reason, .support, .plan, .box--plain { transition: transform .3s var(--ease), box-shadow .3s; }
@media (hover: hover) {
  .card:hover, .reason:hover, .support:hover, .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
}

/* ---------- 02 頼めること ---------- */
.cards { display: grid; gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px 20px; }
.card__title { margin: 10px 0 6px; font-size: 18px; line-height: 1.5; color: var(--navy); }
.card__list { display: grid; gap: 4px; }
.card__list li { position: relative; padding-left: 1.2em; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.card__note { margin-top: 4px; }
.split { display: grid; gap: 14px; margin-top: 24px; }
.box { background: var(--navy-pale); border-radius: var(--radius-l); padding: 22px 20px; }
.box--plain { background: #fff; border: 1px solid var(--line); }
.box__title { font-size: 17px; line-height: 1.5; color: var(--navy); margin-bottom: 8px; }
.box__title .label { margin-right: 8px; vertical-align: 2px; }
.box p + p { margin-top: 4px; }

/* ---------- 03 制作例（横に流れる帯） ---------- */
.works { margin-top: 32px; }
.works__viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.works.is-marquee .works__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.works__track { display: flex; width: max-content; padding: 8px 0 20px 20px; }
.works.is-marquee .works__track { padding-left: 0; animation: marquee var(--dur, 90s) linear infinite; }
.works.is-marquee:hover .works__track,
.works.is-marquee .works__track:focus-within,
.works.is-paused .works__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.works__item { flex: none; width: 264px; margin-right: 18px; }
.work {
  display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.work picture { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy-pale); }
.work img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.work:hover img { transform: scale(1.04); }
.work__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px 14px; }
.work__title { font-weight: 700; color: var(--navy); line-height: 1.5; }
.works__foot { max-width: var(--maxw); margin: 4px auto 0; padding: 0 var(--gut); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 20px; }
.works__toggle {
  min-height: 44px; padding: 6px 18px; border-radius: 999px; border: 1px solid var(--navy);
  background: #fff; color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.works__toggle:hover { background: var(--navy-pale); }

/* ---------- 04 安心して相談できる理由 ---------- */
.reasons { display: grid; gap: 14px; }
.reason { position: relative; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 20px; }
.reason__no { display: block; font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; letter-spacing: .04em; margin-bottom: 10px; }
.reason__title { font-size: 18px; line-height: 1.5; color: var(--navy); margin-bottom: 6px; }

/* ---------- 05 流れ ---------- */
.phase { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--gold-text); display: flex; align-items: center; gap: 12px; }
.phase::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .6; }
.phase--after { margin-top: 32px; color: var(--navy); }
.phase--after::after { background: var(--navy); opacity: .4; }
.sec__lead + .phase { margin-top: 32px; }
.steps { display: grid; gap: 12px; counter-reset: step; }
.steps[start="4"] { counter-reset: step 3; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 64px; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 16px; line-height: 1;
  box-shadow: 0 0 0 4px var(--navy-pale);
}
.step__title { font-size: 17px; line-height: 1.5; color: var(--navy); margin-bottom: 4px; }
.step p + p { margin-top: 6px; }
.checks { margin-top: 8px; display: grid; gap: 4px; }
.checks li { position: relative; padding-left: 1.4em; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }

/* ---------- 途中の相談入口 ---------- */
.midcta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; padding: 48px 0; }
.midcta__in { max-width: 640px; margin: 0 auto; padding: 0 var(--gut); text-align: center; }
.midcta__title { font-size: 21px; font-weight: 700; line-height: 1.5; margin-bottom: 20px; }
.midcta .btn--sub { background: transparent; color: #fff; border-color: #fff; }
.midcta .btn--sub:hover { background: rgba(255, 255, 255, .12); }
.midcta .cta-note { color: #e3e8f0; }
.midcta .cta-note a { color: #fff; }
.midcta :focus-visible { outline-color: #fff; }

/* ---------- 06 料金 ---------- */
.free-strip { display: grid; gap: 8px; background: var(--gold-soft); border: 1px solid #e3d3b2; border-radius: var(--radius-l); padding: 16px 20px; margin-bottom: 24px; }
.free-strip .label { justify-self: start; background: #fff; }
.plans { display: grid; gap: 20px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px 20px; }
.plan--featured { border: 2px solid var(--navy); box-shadow: var(--shadow-m); margin-top: 10px; }
.plan__ribbon {
  position: absolute; top: -15px; left: 20px; padding: 3px 14px; border-radius: 999px;
  background: var(--cta); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.6;
}
.plan__price { margin: 10px 0 0; font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.plan__price--text { font-size: 20px; padding: 8px 0 14px; }
.plan__taxin { margin: 6px 0 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); line-height: 1.6; }
.plan__year { display: inline-block; margin-left: 4px; font-weight: 700; color: var(--navy); }
.plan__year::before { content: "／"; margin-right: 4px; color: var(--ink-2); font-weight: 500; }
.plan__taxin .tbc { display: block; width: fit-content; }
.plan__list { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.plan__list li { position: relative; padding-left: 1.2em; line-height: 1.7; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.plan__monthly { margin-top: 14px; font-weight: 700; color: var(--navy); }
.plan__note { margin-top: 14px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.plans__note { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.sub-title:not(:first-child) { margin-top: 44px; }
.terms { border-top: 2px solid var(--navy); }
.terms__row { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 700; color: var(--navy); }

/* ---------- 07 集客の支援と追加のご相談 ---------- */
.supports { display: grid; gap: 14px; }
.support { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.support .label { margin-bottom: 8px; }
.support__title { font-size: 17px; line-height: 1.5; color: var(--navy); margin-bottom: 6px; }
.support p + p { margin-top: 6px; }
.abbr { font-size: 15px; font-weight: 500; color: var(--ink-2); }

/* ---------- 08 FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 40px 18px 34px; font-weight: 700; color: var(--navy); line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; top: 17px; font-weight: 700; color: var(--gold-text); }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 26px; width: 10px; height: 10px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details[open] .faq__a { animation: fade-up .4s var(--ease) both; }
.faq__a { padding: 0 8px 20px 34px; }
.faq__a p + p { margin-top: 4px; }

/* ---------- 09 運営情報とご相談窓口 ---------- */
.company { max-width: var(--maxw-text); }
.info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; }
.info > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info > div:last-child { border-bottom: 0; }
.info dt { font-size: 15px; font-weight: 700; color: var(--ink-2); }

.final {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 44px; border-radius: 20px; padding: 32px 16px 24px;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #1c3c69);
  color: #fff;
}
.final::before {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -180px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 189, 128, .28), transparent 70%);
}
.final__title { font-size: 22px; font-weight: 700; line-height: 1.5; text-align: center; }
.final__lead { margin: 10px 0 24px; text-align: center; color: var(--on-dark); }
.final :focus-visible { outline-color: #fff; }

/* LINE＋かんたんフォーム（白いカード） */
.consult { max-width: 560px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 20px; padding: 26px 18px 22px; box-shadow: var(--shadow-l); }
.consult :focus-visible { outline-color: var(--navy); }
.consult__title { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.consult__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.consult__chips li { padding: 3px 12px; border-radius: 999px; background: #eef1f5; color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1.7; }
.consult__note { margin-top: 10px; text-align: center; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.consult__divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--ink-2); font-size: 14px; }
.consult__divider::before, .consult__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.form__notice { border: 2px solid #e0c34a; background: #fffbe6; border-radius: var(--radius); padding: 10px 12px; margin-bottom: 16px; font-size: 15px; line-height: 1.7; }
.form { display: grid; gap: 16px; }
.field label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); line-height: 1.5; margin-bottom: 8px; }
.req, .opt { flex: none; white-space: nowrap; font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 4px; line-height: 1.6; }
.req { background: #c0392b; color: #fff; }
.opt { background: #eef0f3; color: var(--ink-2); }
.field input {
  width: 100%; min-height: 56px; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 16px; border: 1px solid #c9ced6; border-radius: 12px; background: #fafafa;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #6b7380; }
.field input:focus-visible { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(19, 41, 75, .2); }
.field [aria-invalid="true"] { border: 2px solid var(--err); background: #fff7f6; }
.field__err { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--err); line-height: 1.6; }
.field__err::before { content: "！ "; }
.form__dest, .form__privacy { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.form__status { border-radius: var(--radius); padding: 12px 14px; font-weight: 700; line-height: 1.7; background: #fff7f6; border: 2px solid var(--err); color: var(--err); }
.form__status.is-ok { background: #f0f7f1; border-color: #2f7a43; color: #1f5a30; }

.howto { max-width: 560px; margin: 20px auto 0; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 18px; color: var(--on-dark); }
.howto__title { font-size: 17px; color: #fff; margin-bottom: 8px; }
.howto__list { list-style: decimal; padding-left: 1.4em; display: grid; gap: 6px; }
.howto__list b { color: #fff; }
.howto__note { margin-top: 10px; font-weight: 700; color: #fff; }

/* ---------- フッター ---------- */
.ft { background: var(--navy-deep); color: #fff; padding: 40px 0 28px; }
.ft__in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.ft__logo { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.ft__logo .logo__mark { color: #fff; border-color: var(--gold-light); }
.ft__logo-sub { font-size: 14px; color: #d5dbe5; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.ft__nav a { color: #fff; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.ft__copy { margin-top: 16px; font-size: 14px; color: #c9d1dd; }
.ft :focus-visible { outline-color: #fff; }

/* ---------- スマホの追従ボタン ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  transition: opacity .25s, transform .25s var(--ease);
}
.sticky .btn { width: 100%; min-height: 54px; }
.sticky:not(.is-visible) { opacity: 0; transform: translateY(100%); pointer-events: none; }
body.has-sticky { padding-bottom: 80px; } /* 追従ボタンで本文の最後が隠れないように */

/* ---------- プライバシーポリシー（privacy.html） ---------- */
.policy { max-width: calc(var(--maxw-text) + var(--gut) * 2); margin: 0 auto; padding: 48px var(--gut) 72px; }
.policy h1 { font-size: 26px; color: var(--navy); line-height: 1.45; margin-bottom: 20px; }
.policy h2 { font-size: 18px; color: var(--navy); line-height: 1.5; margin: 32px 0 8px; padding-left: 12px; border-left: 4px solid var(--gold); }
.policy p + p, .policy p + ul, .policy ul + p { margin-top: 8px; }
.policy ul { list-style: disc; padding-left: 1.4em; display: grid; gap: 4px; }
.policy__date { margin-top: 32px; color: var(--ink-2); }
.policy__back { margin-top: 24px; }

/* ==========================================================================
   タブレット・PC
   ========================================================================== */
@media (min-width: 640px) {
  .cta-set { flex-direction: row; flex-wrap: wrap; }
  .cta-set .btn { width: auto; padding-left: 28px; padding-right: 28px; }
  .midcta .cta-set { justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .supports { grid-template-columns: 1fr 1fr; }
  .support--wide { grid-column: 1 / -1; }
  .terms__row { grid-template-columns: 11em 1fr; gap: 20px; }
  .free-strip { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
  .info > div { grid-template-columns: 7.5em 1fr; gap: 16px; }
  .works__item { width: 320px; margin-right: 22px; }
  .consult { padding: 32px 32px 28px; }
  .final { padding: 44px 32px 32px; }
}

@media (min-width: 900px) {
  :root { --sec-pad: 112px; --gut: 32px; --hd-h: 68px; }
  body { font-size: 17px; }
  .br-pc { display: inline; }
  .hd__nav { display: block; }
  .hd__nav ul { display: flex; gap: 22px; }
  .hd__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); position: relative; }
  .hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .hd__nav a:hover { color: var(--navy); }
  .hd__nav a:hover::after { transform: scaleX(1); }

  .fv__in {
    padding: 72px var(--gut) 84px; column-gap: 48px; row-gap: 28px;
    grid-template-columns: 1fr 360px;
    grid-template-areas: "head side" "phase side" "cta side";
    align-items: start;
  }
  .fv__lead { font-size: 17px; }
  .fv__phase { grid-template-columns: 1fr 1.6fr; }
  .fv__side { align-self: center; }
  .keyfacts { padding: 8px 24px 0; }
  .keyfacts__row--em { margin: 0 -24px; padding: 16px 24px 18px; }
  .num { font-size: 40px; }

  .sec__en { font-size: 14px; }
  .sec__title { font-size: 34px; }
  .sec__lead + *, .sec__title + * { margin-top: 48px; }
  .sec__lead + .phase { margin-top: 48px; }
  .works { margin-top: 44px; }
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .plan--featured { margin-top: -8px; }
  .plan__price .num { font-size: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .final__title { font-size: 28px; }
  .midcta { padding: 64px 0; }
  .midcta__title { font-size: 25px; }

  .sticky { display: none !important; }
  body.has-sticky { padding-bottom: 0; }
}

/* 動きを減らす設定：動きを止め、すべて最初から表示する */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
