@charset "UTF-8";
/* =========================================================
   WEBはじめ  共通スタイル
   Figma「HP」の変数（color / space / radius）とテキストスタイルに対応
   PC：768px以上 ／ SP：767px以下
   ========================================================= */

/* ---------- 書体 ----------
   日本語は源柔ゴシックL（サブセット化したwoff2を fonts/ に置いている）。
   読み込めないとき・サブセットにない文字は、Google FontsのNoto Sans JPで表示する。
   文言を変えたら、サブセットを作り直す（python3 _font-src/make-subset.py）。
   太さ：400=Regular／500=Medium（共通/バッジ）／600・700=Bold／800・900=Heavy
*/
@font-face {
  font-family: "GenJyuu Gothic L";
  src: url("../fonts/GenJyuuGothicL-Regular-subset.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "GenJyuu Gothic L";
  src: url("../fonts/GenJyuuGothicL-Medium-subset.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "GenJyuu Gothic L";
  src: url("../fonts/GenJyuuGothicL-Bold-subset.woff2") format("woff2");
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "GenJyuu Gothic L";
  src: url("../fonts/GenJyuuGothicL-Heavy-subset.woff2") format("woff2");
  font-weight: 900; font-display: swap;
}

:root {
  /* color */
  --color-main: #333333;
  --color-second: #ffcd4a;
  --color-accent-1: #56cddc;
  --color-accent-2: #f25f5a;
  --color-accent-3: #96d671;
  --color-text: #333333;
  --color-text-yellow: #cca43b;
  --color-text-sub: #666666;
  --color-white: #ffffff;
  --color-bg: #f9f4f2;
  --color-bg-2: #ffffff;
  --color-bg-yellow: #eebf45;
  --color-line: #b3b3b3;
  --color-line-app: #06c755;
  --color-badge-bg: #eefafc;
  --color-text-badge: #37868f;

  /* radius */
  --radius-button: 8px;
  --radius-card: 12px;
  --radius-big-card: 20px;
  --radius-pill: 999px;

  /* font */
  --font-jp: "GenJyuu Gothic L", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Roboto", var(--font-jp);
  --font-num: "Arvo", serif;
  --font-step: "Quicksand", var(--font-jp);

  /* layout */
  --pad-x: 80px;
  --header-h: 104px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--color-text);
  background: var(--color-bg-2);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.sp-only { display: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- テキストスタイル ---------- */
.t-note { font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; }
.t-sub { color: var(--color-text-sub); }

/* ---------- セクションの余白ルール（11/17統一。Figmaも同じ） ----------
   ・ページ最初：上 ヘッダーの高さ＋ PC 64 ／ SP 48（PC 104＋64＝168 ／ SP 72＋48＝120）
     LPのFVだけ PC 168 ／ SP 116（見た目のバランス優先の例外。変数の値でなくてよい）
   ・波に接する側：PC 128 ／ SP 80
   ・カーブ（divider--frame）に接する側：PC 64 ／ SP 64（食い込む側・平らな側とも）
   ・フッターの前：PC 96 ／ SP 64
   ・見出しと中身の間：PC 48 ／ SP 32
   ------------------------------------------------------------------- */
/* ---------- セクション共通 ---------- */
.section { padding-left: var(--pad-x); padding-right: var(--pad-x); }
.bg-base { background: var(--color-bg); }
.bg-white { background: var(--color-bg-2); }
.inner { max-width: 1040px; margin: 0 auto; }

/* カーブ・波（区切り） */
.divider { display: block; width: 100%; line-height: 0; }
.divider svg { width: 100%; display: block; }
.divider--wave svg { height: clamp(18px, 4vw, 48px); }
.divider--wave-flow svg { height: clamp(18px, 3.83vw, 46px); } /* Figmaの波：PC（1200px）で高さ46px、SPは18px */
.divider--frame { height: min(10.67vw, 128px); } /* Figma「divider/curve」の枠：PC（1200px）で128px、SP（375px）で40px */
.divider--frame svg { height: min(6.42vw, 77px); } /* カーブ：PCで77px、SPで24px */
.divider--flip { display: flex; align-items: flex-end; } /* 上下反転：カーブを枠の下に置き、下の色が上へふくらむ */
.divider--vflip svg { transform: scaleY(-1); } /* 波の形をそのまま上下反転 */
.divider.on-base { background: var(--color-bg); }
.divider.on-white { background: var(--color-bg-2); }
.divider .fill-base { fill: var(--color-bg); }
.divider .fill-white { fill: var(--color-bg-2); }

/* セクション見出し（section-heading） */
.section-heading {
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.section-heading__titles { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.section-heading__en {
  font-family: var(--font-en); font-weight: 900; font-size: 15px; line-height: 1.6;
  letter-spacing: 0.16em; color: var(--color-text-sub);
}
.section-heading__title { font-weight: 900; font-size: 32px; line-height: 1.4; letter-spacing: 0.02em; }
.section-heading__stars { display: flex; gap: 8px; }
.section-heading__stars img { width: 13px; height: 13px; }
.section-heading__sub { padding-top: 8px; max-width: 640px; }

/* 小見出し（見出し） */
.sub-heading {
  display: flex; align-items: center; gap: 8px; padding: 4px 8px;
  font-weight: 700; font-size: 24px; line-height: 1.4; letter-spacing: 0.02em;
}
.sub-heading__star { width: 20px; height: 19px; flex-shrink: 0; }
.sub-heading__deco { display: none; width: 11px; height: 11px; } /* SP：見出しの上下に星1つずつ（Figma「見出し」SP） */
.sub-heading small { font-size: inherit; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 32px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px; line-height: 1.5; letter-spacing: 0.04em;
  white-space: nowrap;
  /* ホバーで「ポワン」と膨らむ：行き過ぎてから戻るイージング */
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
  will-change: transform;
}
.btn:hover, .btn:focus-visible { transform: scale(1.03); }
.btn:active { transform: scale(.98); transition-duration: .1s; }
/* 動きを減らす設定の人には拡大しない */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover, .btn:focus-visible, .btn:active { transform: none; }
  .sp-fixed-bar { transition: none; }
}
.btn img { width: 20px; height: 20px; flex-shrink: 0; }
.btn--main { background: var(--color-main); color: var(--color-white); }
.btn--sub { background: var(--color-bg-2); color: var(--color-text); border: 1px solid var(--color-main); }
.btn--line { background: var(--color-bg-2); color: var(--color-text); border: 1px solid var(--color-line-app); gap: 8px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* チェック付きリスト */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.8; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 15px; height: 20px; margin-top: 5px;
  background: url("../images/check.svg") no-repeat center / contain;
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 28px 48px;
  background: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(1px 1px 2.4px rgba(0, 0, 0, 0.2));
}
.header__logo img { width: 170px; height: auto; }
.menu-button {
  position: relative; z-index: 120;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-second); box-shadow: 1px 1px 4.8px -1px rgba(0, 0, 0, 0.2);
}
.menu-button img { width: 24px; height: 24px; }
/* ホバーで「ポワン」と膨らむ */
.menu-button { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.menu-button:hover, .menu-button:focus-visible { transform: scale(1.06); }
.menu-button:active { transform: scale(.96); transition-duration: .1s; }
@media (prefers-reduced-motion: reduce) {
  .menu-button { transition: none; }
  .menu-button:hover, .menu-button:focus-visible, .menu-button:active { transform: none; }
}
.menu-button[aria-expanded="true"] img { content: url("../images/icon-close.svg"); }

/* メニュー（ハンバーガーで開く） */
.global-nav {
  position: fixed; inset: 0; z-index: 95; padding-top: var(--header-h);
  display: flex; align-items: center; justify-content: center;
  background: rgba(249, 244, 242, 0.98);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.global-nav.is-open { opacity: 1; visibility: visible; }
.global-nav ul { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.global-nav a { font-weight: 700; font-size: 20px; }
/* メニュー項目の両端に星（申し込みボタンは除く） */
.global-nav a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; }
.global-nav a:not(.btn)::before, .global-nav a:not(.btn)::after {
  content: ""; flex-shrink: 0; width: 13px; height: 13px;
  background: url("../images/star.svg") no-repeat center / contain;
}
.global-nav .btn { font-size: 16px; }
/* 今いるページ（.is-current：今見ているセクション）：メニュー名に2pxの下線、両端の星を少し大きく（色は黄色のまま） */
.global-nav__label { position: relative; }
.global-nav a[aria-current="page"] .global-nav__label::after, .global-nav a.is-current .global-nav__label::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  border-radius: 999px; background: currentColor; /* 線の両端を丸く */
}
.global-nav a[aria-current="page"]::before, .global-nav a[aria-current="page"]::after,
.global-nav a.is-current::before, .global-nav a.is-current::after { width: 16px; height: 16px; }
body.is-menu-open { overflow: hidden; }

/* PC：右端の追従ボタン */
.side-cta {
  position: fixed; right: 0; bottom: 100px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}
.side-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 80px; height: 98px; padding: 14px 6px 12px;
    border-radius: 12px 0 0 12px; box-shadow: -1px 1px 4px rgba(0, 31, 64, 0.16);
  font-weight: 700; font-size: 11px; line-height: 1.3; letter-spacing: 0.02em; text-align: center;
}
.side-cta__contact {
  background: var(--color-main); color: var(--color-white);
  border: 2px solid transparent; border-right: 0; transition: border-color .2s;
}
/* フッター（同じ色）に重なっているときだけ縁を黄色に。JSでクラスを付け外し */
.side-cta__contact.is-over-footer { border-color: var(--color-second); }
.side-cta__contact img { width: 32px; height: 32px; }
.side-cta__line { background: var(--color-bg-2); border: 2px solid var(--color-line-app); border-right: 0; }
.side-cta__line img { width: 34px; height: 34px; }
/* ホバーで中のアイコンだけ「ポワン」と膨らむ */
.side-cta a img { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.side-cta a:hover img, .side-cta a:focus-visible img { transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) {
  .side-cta a img { transition: none; }
  .side-cta a:hover img, .side-cta a:focus-visible img { transform: none; }
}

/* SP：下部の固定バー */
.sp-fixed-bar { display: none; }

/* ---------- フッター ---------- */
.footer { background: var(--color-main); color: var(--color-white); padding: 64px 40px 40px; }
.footer__main { display: flex; gap: 48px; align-items: flex-start; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand img { width: 176px; height: auto; }
.footer__logo { display: block; width: fit-content; } /* クリックできる範囲をロゴの大きさだけに */
.footer__brand p { line-height: 1.8; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a:hover { text-decoration: underline; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--color-line); }

/* ---------- 相談ブロック（CTA） ---------- */
.cta { background: var(--color-bg); padding: 64px var(--pad-x) 96px; text-align: center; }
.cta--white { background: var(--color-bg-2); } /* 上のセクションがbgのとき（サンプル集ページ） */
.cta__title { font-weight: 900; font-size: 32px; line-height: 1.4; letter-spacing: 0.02em; }
.cta__title--question { font-weight: 700; font-size: 24px; } /* 問いかけの見出しは小さめ（料金ページの小見出しと同じ24px） */
.cta__text { margin-top: 28px; }
.cta__text p + p { margin-top: 12px; }
.cta .btn-row { justify-content: center; margin-top: 48px; } /* CTAボタンと上の要素の間 PC 48px */

/* =========================================================
   LP（index.html）
   ========================================================= */

/* FV */
.fv {
  display: flex; align-items: center; gap: 64px;
  padding: 168px var(--pad-x) 64px; background: var(--color-bg); overflow: hidden;
}
.fv__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 48px; } /* fv__body と CTAボタンの間 */
.fv__body { display: flex; flex-direction: column; gap: 40px; } /* 見出し・本文と価格の間 */
.fv__headline { display: flex; flex-direction: column; gap: 16px; }
.fv__eyebrow { font-weight: 700; font-size: 16px; line-height: 1.5; }
.fv__title { font-weight: 900; font-size: 44px; line-height: 1.4; letter-spacing: 0.02em; white-space: nowrap; }
.fv__title .c-red { color: var(--color-accent-2); }
.fv__title .c-blue { color: var(--color-accent-1); }
/* 見出し＋本文のまとまり。gapは画面幅ごとに下で指定 */
.fv__intro { display: flex; flex-direction: column; gap: 32px; } /* PC（1200px以上） */
.fv__lead p + p { margin-top: 12px; }
.fv__lead strong { font-weight: 700; }

/* 価格（price） */
.price-box {
  position: relative; width: 524px; max-width: calc(100% + var(--pad-x)); height: 236px;
  margin-left: calc(var(--pad-x) * -1);
}
.price-box__body {
  position: absolute; left: 0; right: 24px; top: 37px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
  padding: 32px 104px 28px 48px; background: var(--color-bg-2);
  border-radius: 0 99px 99px 0;
}
.price-box__inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.badge {
  display: inline-flex; align-items: center; padding: 4px 16px;
  background: var(--color-badge-bg); border: 1px solid var(--color-accent-1); border-radius: var(--radius-pill);
  font-weight: 500; font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; color: var(--color-text-badge); /* 共通/バッジ */
}
.price-box__main { display: flex; align-items: flex-end; gap: 6px; line-height: 1; }
.price-box__label { writing-mode: vertical-rl; font-weight: 700; font-size: 16px; line-height: 1.27; letter-spacing: 0.04em; align-self: center; }
.price-box__num { font-family: var(--font-num); font-weight: 700; font-size: 66px; color: var(--color-accent-2); letter-spacing: 0.03em; }
.price-box__num small { font-size: 44px; }
.price-box__unit { font-weight: 700; font-size: 16px; padding-bottom: 10px; }
.price-box__note { margin-top: 4px; text-align: right; }
.zero-badge {
  position: absolute; left: 400px; top: 0; width: 115px; height: 115px;
  background: url("../images/badge-zero.svg") no-repeat center / contain;
  text-align: center; font-weight: 700;
}
.zero-badge__label { position: absolute; top: 20px; left: 0; right: 0; font-size: 15px; line-height: 1.39; }
.zero-badge__num { position: absolute; top: 45px; left: 38px; font-family: var(--font-num); font-size: 50px; line-height: 1; }
.zero-badge__yen { position: absolute; top: 71px; left: 76px; font-size: 15px; }

/* デバイスのモックアップ（サンプル完成後に画像へ差し替え） */
.mockup { position: relative; flex-shrink: 0; width: 560px; height: 420px; }
.mockup__bg {
  position: absolute; left: 135px; top: -132px; width: 529px; height: 506px;
  background: var(--color-white); border-radius: 253px 0 0 0;
}
.laptop { position: absolute; left: 0; top: 20px; display: flex; flex-direction: column; align-items: center; }
.laptop__lid { width: 480px; height: 300px; padding: 10px; background: var(--color-text); border-radius: 14px; }
.laptop__screen, .phone__screen { width: 100%; height: 100%; background: var(--color-white); overflow: hidden; }
.laptop__screen { border-radius: 4px; padding: 12px 20px; display: flex; flex-direction: column; gap: 14px; }
.laptop__base { width: 560px; height: 14px; background: var(--color-text-sub); border-radius: 0 0 10px 10px; }
.phone {
  position: absolute; left: 400px; top: 100px; width: 160px; height: 320px; padding: 6px;
  background: var(--color-text); border-radius: 26px;
}
.phone__screen { border-radius: 20px; padding: 14px 10px 0; display: flex; flex-direction: column; gap: 8px; }
.ph { background: var(--color-line); border-radius: 3px; }
.ph--dark { background: var(--color-main); }
.laptop__hero { display: flex; gap: 16px; }
.laptop__hero-text { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.laptop__cards { display: flex; gap: 12px; }
.laptop__cards .ph { flex: 1; height: 60px; border-radius: 6px; }

/* ---------- FVのタブレット対応（範囲が重ならないように分けています） ---------- */
/* 1024〜1199px：横並びのまま、モックアップを縮小 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .fv { gap: 48px; }
  .fv__intro { gap: 32px; } /* 見出しと本文の間 */
  .fv__title { font-size: 40px; }
  .mockup { zoom: 0.75; } /* 560×420 → 420×315。中の配置ごと縮む */
  .mockup__bg { width: auto; right: -200px; } /* 縮小しても画面の右端まで届くように */
  .fv .btn-row { flex-wrap: nowrap; gap: 12px; } /* ボタンを横に並べたまま収める */
  .fv .btn { padding-left: 20px; padding-right: 20px; }
}
/* 1024〜1099px：もう一段小さく */
@media (min-width: 1024px) and (max-width: 1099px) {
  .mockup { zoom: 0.65; } /* 文章の列にボタン2つ分の幅を残す */
}
/* 768〜1023px：縦積みにして、モックアップは文章の下へ */
@media (min-width: 768px) and (max-width: 1023px) {
  .fv { flex-direction: column; align-items: stretch; gap: 48px; }
  .fv__title { font-size: 40px; }
  .fv__text { display: contents; }
  .fv__body { display: contents; }
  .fv__intro { order: 1; gap: 28px; align-items: center; text-align: center; } /* 見出しと本文の間／タイトル・本文も中央揃え */
  .fv__lead { max-width: 620px; text-align: left; }
  .mockup { order: 3; align-self: center; zoom: 0.9; } /* 縦積みのときは画面の中央に */
  .laptop { top: 60px; } /* PC：もとは20px。大きいほど下へ */
  .phone { top: 40px; }  /* スマホ：もとは100px。小さいほど上へ */
  .mockup__bg { top: 0; left: 0; right: 0; margin: 0 auto; width: 420px; height: 420px; border-radius: 50%; } /* 丸い背景をモックアップの中央に */
  .price-box { order: 4; align-self: center; width: auto; max-width: none; height: auto; margin-left: 0; padding-top: 37px; } /* 中央揃え。幅は中身＋paddingで決まる */
  .price-box__body { position: relative; inset: auto; padding: 32px 80px 28px; align-items: center; border-radius: 99px; } /* 左右のpaddingで箱の幅を調整 */
  .zero-badge { left: auto; right: -40px; } /* 箱の右上に乗せる */
  .fv .btn-row { order: 5; justify-content: center; }
}


/* お悩み */
.problem { padding-top: 64px; padding-bottom: 128px; }
.problem__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.problem__list {
  width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 28px;
  padding: 48px; border: 2px solid var(--color-main); border-radius: var(--radius-big-card);
}
.problem__list li { display: flex; align-items: center; gap: 16px; }
.problem__list li::before {
  content: ""; flex-shrink: 0; width: 15px; height: 20px;
  background: url("../images/check.svg") no-repeat center / contain;
}
.bridge { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.bridge__arrows { display: flex; flex-direction: column; gap: 4px; }
.bridge__arrows img { width: 19px; height: 14px; }
.bridge__text { font-weight: 900; font-size: 32px; line-height: 1.4; letter-spacing: 0.02em; text-align: center; }
.marker { position: relative; display: inline-block; z-index: 0; }
.marker::after {
  content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: -0.55em; height: 1.2em;
  background: url("../images/marker.svg") no-repeat center / 100% 100%; transform: rotate(-1deg);
}

/* 特長 */
.features { padding-top: 128px; padding-bottom: 128px; }
.features__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; } /* 見出しとカードの間 */
.feature-cards { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: 40px 32px; background: var(--color-bg-2);
  border: 2px solid var(--color-main); border-radius: var(--radius-big-card);
}
.feature-card__img { height: 98px; width: auto; }
.feature-card__body { display: flex; flex-direction: column; gap: 16px; }
.feature-card__title { font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: 0.02em; text-align: center; white-space: nowrap; }
.feature-card__body p + p { margin-top: 12px; }
/* 画面が狭くてカードが細いときは、見出しを折り返す */
@media (max-width: 1099px) { .feature-card__title { white-space: normal; } }


/* サービス内容 */
.service { padding-top: 128px; padding-bottom: 64px; }
.service__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; } /* service__body と CTAボタンの間 */
.service__body { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 48px; } /* 見出しと表の間 */
.service__content { width: 100%; max-width: 880px; display: flex; flex-direction: column; gap: 16px; } /* 表と注記の間 */
.service__table { width: 100%; padding: 16px; }
.service__row {
  display: flex; align-items: center; gap: 32px; padding: 24px 0;
  border-bottom: 1px solid var(--color-line);
}
.service__row:last-child { border-bottom: 0; }
.service__num { font-family: var(--font-num); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: 0.07em; color: var(--color-bg-yellow); }
.service__label { flex-shrink: 0; width: 170px; white-space: nowrap; font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: 0.02em; }
.service__value { flex: 1; }
.service__note { padding: 0 16px; }

/* サンプル */
.samples { padding-top: 64px; padding-bottom: 128px; }
.samples__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; } /* samples__body と CTAボタンの間 */
.samples__body { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 48px; } /* 見出しとカードの間 */
.sample-cards { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }

/* サンプルカード（LP・サンプル集ページ共通）：Figma「sample-card」
   カード全体がサンプルサイトへのリンク。画像の下に「業種名 ／ サイトを見る ●」の1行 */
.sample-card { display: flex; flex-direction: column; gap: 8px; }
.sample-card__thumb {
  display: grid; place-items: center; height: 240px; border-radius: var(--radius-card);
  background: var(--color-bg-2); color: var(--color-text-sub); overflow: hidden;
  transition: box-shadow .25s;
}
.sample-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sample-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; }
.sample-card__name { min-width: 0; font-weight: 700; font-size: 16px; line-height: 1.65; letter-spacing: 0.04em; word-break: keep-all; overflow-wrap: anywhere; } /* 長い業種名は「・」の後（<wbr>）で折り返す */
.sample-card__link {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-weight: 500; font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; /* 共通/バッジ */
}
.sample-card__link img { width: 15px; height: 15px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
/* ホバー：画像にうっすら影、矢印が「ポワン」と膨らむ */
.sample-card:hover .sample-card__thumb, .sample-card:focus-visible .sample-card__thumb { box-shadow: 0 6px 20px rgba(51, 51, 51, .12); }
.sample-card:hover .sample-card__link img, .sample-card:focus-visible .sample-card__link img { transform: scale(1.15); }
.sample-card:focus-visible { outline: 3px solid rgba(255, 205, 74, .8); outline-offset: 6px; border-radius: var(--radius-card); }
@media (prefers-reduced-motion: reduce) {
  .sample-card__thumb, .sample-card__link img { transition: none; }
  .sample-card:hover .sample-card__link img, .sample-card:focus-visible .sample-card__link img { transform: none; }
}
/* タブレット以下（1023px以下）：画像は幅に合わせて16:10 */
@media (max-width: 1023px) {
  .sample-card__thumb { height: auto; aspect-ratio: 16 / 10; }
}
/* タブレット（768〜1023px）：6つを2列×3段 */
@media (min-width: 768px) and (max-width: 1023px) {
  .sample-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
}
/* スマホ（767px以下）：飲食店・個人サロン・住まいの職人の3つだけ、縦並び */
@media (max-width: 767px) {
  .sample-cards { grid-template-columns: minmax(0, 1fr); gap: 48px; } /* minmax(0,1fr)：中身に押されて画面からはみ出さない */
  .sample-cards > .pc-tab-only { display: none; }
}

/* ご利用の流れ */
.flow { padding-top: 128px; padding-bottom: 64px; }
.flow__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; } /* 見出しとステップの間 */
.flow-steps {
  width: 100%; max-width: 1043px; display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: 26.5px; row-gap: 40px; counter-reset: step;
}
.flow-step {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px;
  min-height: 304px; padding: 40px 28px; background: var(--color-bg-2);
  border: 3px solid var(--color-main); border-radius: var(--radius-big-card);
}
/* 左上の三角と番号 */
.flow-step__no {
  position: absolute; left: -3px; top: -3px; width: 114px; height: 114px;
  color: var(--color-white); font-family: var(--font-step); font-weight: 700; line-height: 1;
  background: var(--color-main); clip-path: polygon(0 0, 100% 0, 0 100%);
  border-top-left-radius: var(--radius-big-card); padding: 12px 0 0 13px;
}
.flow-step__no span { display: block; font-size: 14px; letter-spacing: 0.06em; }
.flow-step__no b { display: block; font-size: 34px; margin: 4px 0 0 8px; font-weight: 700; }
.flow-step__img { height: 68px; width: auto; }
.flow-step__body { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.flow-step__title { font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: 0.02em; text-align: center; }
/* つなぎ線（横） */
.flow-step:not(:nth-child(3n))::after {
  content: ""; position: absolute; top: 50%; right: -29.5px; width: 26.5px; border-top: 3px solid var(--color-main);
}
/* 3つ目→4つ目の折り返し線 */
.flow-step:nth-child(3)::before {
  content: ""; position: absolute; left: 50%; bottom: -23px; height: 20px; border-left: 3px solid var(--color-main);
}
.flow-step:nth-child(4)::before {
  content: ""; position: absolute; left: 50%; top: -23px; height: 20px; border-left: 3px solid var(--color-main);
}
.flow-step__turn {
  position: absolute; left: 50%; top: -23px; width: calc(200% + 68px); border-top: 3px solid var(--color-main); /* カード2枚分＋すき間2つ＋枠線＋線の太さ */
}

/* =========================================================
   料金ページ（price.html）
   ========================================================= */
.price-intro { padding: calc(var(--header-h) + 64px) 0 64px; background: var(--color-bg); } /* 上：ヘッダー＋64 */
.price-intro__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.price-intro__lead { text-align: center; padding: 0 var(--pad-x); }
.price-facts {
  width: 100%; max-width: 1040px; display: flex; padding: 48px 64px 0; margin: 0 auto;
}
.price-fact {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 28px 20px; text-align: center;
}
.price-fact + .price-fact::before {
  content: ""; position: absolute; left: -4px; top: 5px; bottom: 5px; border-left: 1px solid var(--color-line);
}
.price-fact img { width: 64px; height: 64px; }
.price-fact__body { display: flex; flex-direction: column; gap: 12px; }
.price-fact__label { font-weight: 700; font-size: 16px; line-height: 1.5; }
.price-fact__detail { color: var(--color-text-sub); }

/* 月額プラン */
.plans { padding-top: 64px; padding-bottom: 128px; }
.plans__head, .block-head { display: flex; flex-direction: column; gap: 16px; }
.plans__body { display: flex; flex-direction: column; gap: 48px; margin-top: 32px; }
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 18px; }
.plan-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 28px; background: var(--color-bg-2);
  border: 1px solid var(--color-line); border-radius: var(--radius-big-card);
}
.plan-card--featured { border: 2px solid var(--color-accent-2); }
.plan-card__badge {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: var(--radius-pill); background: var(--color-accent-2);
  color: var(--color-white); font-weight: 700; font-size: 16px; line-height: 1.5; white-space: nowrap;
}
.plan-card__top { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.plan-card__en {
  font-family: var(--font-en); font-weight: 400; font-size: 13px; line-height: 1.6;
  letter-spacing: 0.16em; color: var(--color-text-yellow); text-align: center;
}
.plan-card__name { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; font-size: 20px; line-height: 1.5; }
.plan-card__name::before, .plan-card__name::after {
  content: ""; width: 15px; height: 15px; background: url("../images/star-heading.svg") no-repeat center / contain;
}
.plan-card__img { display: grid; place-items: center; height: 144px; }
.plan-card__img img { width: 143px; height: 89px; }
.plan-card__price { display: flex; align-items: baseline; gap: 8px; }
.plan-card__price b { font-family: var(--font-num); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: 0.07em; }
.plan-card__price span { font-weight: 700; font-size: 14px; }
.plan-card__divider { width: 100%; height: 1px; background: var(--color-line); border: 0; margin: 0; }
.plan-card__bottom { width: 100%; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.plan-card__freq { font-weight: 700; line-height: 1.5; }

/* ドメイン */
.domain { padding-top: 128px; padding-bottom: 128px; }
.domain-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.domain-option {
  display: flex; flex-direction: column; gap: 20px; padding: 28px;
  background: var(--color-bg-2); border: 1px solid var(--color-line); border-radius: var(--radius-big-card);
}
.domain-option__name { font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: 0.02em; }
.domain-option__body { display: flex; flex-direction: column; gap: 8px; }
.domain-option__fee { font-weight: 700; line-height: 1.5; }

/* プランの外の作業 */
.options { padding-top: 128px; padding-bottom: 64px; }
.option-menu { margin-top: 32px; padding: 0 16px; }
.option-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-line);
}
.option-row__item { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.option-row__price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; white-space: nowrap; }
.option-row__price b { font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: 0.02em; }

/* =========================================================
   お問い合わせページ（contact.html）
   ========================================================= */
.contact-intro { padding: calc(var(--header-h) + 64px) var(--pad-x) 64px; background: var(--color-bg); } /* 上：ヘッダー＋64 */
.contact-intro__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; } /* 見出しと本文の間 */
.contact-intro__body { display: flex; flex-direction: column; align-items: center; gap: 40px; } /* 本文と「よくある質問」リンクの間 */
.contact-intro__line { display: inline-block; margin-right: 4px; vertical-align: -1px; color: var(--color-main); transition: color .2s; } /* LINE公式アカウントのロゴ（リンク）。色はcolorで変える */
.contact-intro__line svg { display: block; width: auto; height: 14px; fill: currentColor; }
.contact-intro__line:hover, .contact-intro__line:focus-visible { color: var(--color-line-app); }
.contact-intro__faq { text-decoration: underline; text-underline-offset: 4px; color: var(--color-text-sub); }
.contact-intro__faq:hover { color: var(--color-text); }

/* フォーム */
.contact-form-area { padding-top: 64px; padding-bottom: 128px; }
.contact-form-area .inner { max-width: 760px; }
.contact-form { display: flex; flex-direction: column; gap: 48px; margin-top: 40px; } /* 入力部分（form-body）と送信部分（form-footer）の間 */
.form-body { display: flex; flex-direction: column; gap: 28px; } /* 入力項目どうしの間 */
.form-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form-field__label { display: flex; align-items: center; gap: 8px; padding: 0; font-weight: 700; line-height: 1.5; }
.form-field__control { display: flex; flex-direction: column; gap: 8px; } /* 入力欄と注記の間 */
legend.form-field__label { margin-bottom: 10px; } /* legendはfieldsetのgapが効かないため、他の項目と同じ10pxをここで付ける */
.form-badge {
  display: inline-block; padding: 1px 8px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: 0.04em; /* 共通/バッジ */
  background: var(--color-bg); color: var(--color-text-sub);
}
.form-badge--req { background: var(--color-accent-2); color: var(--color-white); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-input {
  width: 100%; padding: 12px 16px; font: inherit; font-size: 16px; line-height: 1.65; color: var(--color-text);
  background: var(--color-bg-2); border: 1px solid var(--color-line); border-radius: var(--radius-button);
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: var(--color-line); }
.form-input:focus { outline: none; border-color: var(--color-main); box-shadow: 0 0 0 3px rgba(255, 205, 74, .5); } /* 黄色のふちで入力中がわかるように */
.form-input--textarea { resize: vertical; min-height: 160px; }
.form-select { position: relative; }
.form-select::after { /* 下向きの矢印 */
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--color-main); border-bottom: 2px solid var(--color-main); transform: rotate(45deg); pointer-events: none;
}
.form-select .form-input { padding-right: 44px; cursor: pointer; }

/* ご用件：丸いボタン型の選択肢 */
.form-choices { display: flex; flex-wrap: wrap; gap: 12px; }
.form-choice { position: relative; cursor: pointer; }
.form-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form-choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; line-height: 1.5;
  border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-bg-2);
  transition: background .2s, border-color .2s;
}
.form-choice span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--color-line); background: var(--color-bg-2); flex-shrink: 0;
}
.form-choice input:checked + span { border-color: var(--color-main); background: var(--color-bg); font-weight: 700; }
.form-choice input:checked + span::before { border: 5px solid var(--color-main); }
.form-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 205, 74, .5); }

/* 同意チェック＋送信ボタン（ひとつのフレーム） */
.form-footer { display: flex; flex-direction: column; gap: 28px; }
.form-agree { display: flex; justify-content: center; }
.form-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-main); flex-shrink: 0; }
.form-check a { text-decoration: underline; text-underline-offset: 3px; }
.form-submit { display: flex; justify-content: center; }
.form-submit .btn { min-width: 280px; }

/* よくある質問 */
.faq { padding-top: 128px; padding-bottom: 96px; } /* 下はフッターの前 */
.faq__body { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 48px; } /* 見出しとアコーディオンの間 */
.faq-list { width: 100%; max-width: 860px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--color-bg-2); border-radius: var(--radius-card); }
.faq-item__q {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 64px 20px 24px;
  font-weight: 700; line-height: 1.65; cursor: pointer; list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::before, .faq-item__q::after { /* 開閉の「＋」 */
  content: ""; position: absolute; right: 28px; top: 50%; width: 14px; height: 2px; margin-top: -1px;
  background: var(--color-main); transition: transform .3s;
}
.faq-item__q::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__q::after { transform: rotate(0deg); } /* 開いたら「－」 */
.faq-item__mark {
  display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  font-family: var(--font-step); font-weight: 700; font-size: 16px; line-height: 1;
  background: var(--color-second); color: var(--color-main);
}
.faq-item__mark--a { background: var(--color-main); color: var(--color-white); }
.faq-item__a { display: flex; align-items: flex-start; gap: 16px; padding: 0 24px 24px; }
.faq-item__a p { padding-top: 3px; line-height: 1.65; } /* PC/本文 */

/* =========================================================
   SP（767px以下）
   ========================================================= */
@media (max-width: 767px) {
  :root { --pad-x: 20px; --header-h: 72px; }
  .pc-only { display: none !important; }
  .sp-only { display: initial; }

  .header { padding: 16px 20px 12px 28px; }
  .header__logo img { width: 132px; }
  .menu-button { width: 44px; height: 44px; }

  .side-cta { display: none; }
  .sp-fixed-bar {
    display: flex; gap: 12px; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--color-bg-2); border-top: 1px solid var(--color-line);
    /* ふだんは画面の下に隠しておき、JSで is-visible が付いたら出す */
    transform: translateY(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .sp-fixed-bar.is-visible { transform: none; visibility: visible; }
  .sp-fixed-bar .btn { min-height: 48px; padding: 12px; font-size: 14px; gap: 8px; }
  .sp-fixed-bar .btn { flex: 1 1 0; width: auto; min-width: 0; } /* 左右のボタンを同じ幅に */

  .section-heading { gap: 20px; }
  .section-heading__titles { gap: 8px; }
  .section-heading__title { font-weight: 800; font-size: 22px; }
  .section-heading__stars img { width: 11px; height: 11px; }
  .section-heading__sub { max-width: 343px; }

  .sub-heading {
    flex-direction: column; justify-content: center; gap: 12px; width: 100%;
    font-size: 22px; font-weight: 600; text-align: center; /* Figma「見出し」SP：SemiBold 22 */
  }
  .sub-heading__star { display: none; }
  .sub-heading__deco { display: block; }
  .sub-heading small { font-size: 16px; }

  /* ボタンは横幅いっぱいにしない（文字の長さに合わせる）。縦に並ぶときは、いちばん長いボタンに幅をそろえる */
  .btn-row { display: grid; justify-content: center; gap: 12px; }

  .footer { padding: 48px 20px; }
  .footer__main { flex-direction: column; gap: 28px; }
  .footer__brand { gap: 16px; }
  .footer__links a { line-height: 1.8; }
  .footer__bottom { margin-top: 40px; }

  .cta { padding: 64px 20px; }
  .cta__title { font-size: 22px; }
  .cta__title--question { font-size: 20px; }
  .cta__text { margin-top: 20px; line-height: 1.8; }
  .cta__text p + p { margin-top: 0; }
  .cta .btn-row { margin-top: 40px; } /* スマホ 40px */

  /* LP */
  .fv { flex-direction: column; align-items: stretch; gap: 32px; padding: 116px 20px 64px; }
  .fv__text { display: contents; }
  .fv__body { display: contents; }
  .fv__intro { order: 1; gap: 20px; } /* 見出しと本文の間 */
  .fv__eyebrow { font-size: 14px; }
  .fv__title { font-size: 28px; }
  .fv__lead { line-height: 1.8; }
  .mockup { order: 3; width: 100%; height: 332px; padding-top: 12px; }
  .mockup__bg { left: 0; right: 0; margin: 0 auto; top: 40px; width: 238px; height: 238px; border-radius: 50%; } /* 横方向の中央に */
  .laptop { display: none; }
  .phone { left: 50%; top: 12px; transform: translateX(-50%); }
  .price-box { order: 4; align-self: center; width: auto; max-width: none; height: auto; margin: 0; padding-top: 20px; } /* タブレットと同じ：中央の丸い箱。幅は中身＋paddingで決まる */
  .price-box__body { position: relative; inset: auto; padding: 24px 52px; align-items: center; border-radius: 99px; } /* 左右のpaddingで箱の幅を調整 */
  .price-box__num { font-size: 44px; }
  .price-box__num small { font-size: 30px; }
  .price-box__unit { font-size: 14px; padding-bottom: 6px; }
  .zero-badge { left: auto; right: 16px; transform: scale(.88); transform-origin: top right; }
  .fv .btn-row { order: 5; margin-top: 8px; } /* スマホ：.fvのgap 32px＋8px＝CTAボタンの上 40px（間に画面イメージが入るためフレームで分けられない） */


  .problem { padding-top: 64px; padding-bottom: 80px; }
  .problem__inner { gap: 32px; }
  .problem__list { padding: 28px 20px; gap: 20px; }
  .problem__list li { align-items: flex-start; line-height: 1.8; }
  .problem__list li::before { margin-top: 5px; }
  .bridge { gap: 24px; }
  .bridge__text { font-size: 22px; }

  .features { padding-top: 80px; padding-bottom: 80px; }
  .features__inner { gap: 32px; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card { padding: 32px 24px; }
  .feature-card__title { font-size: 18px; white-space: normal; }
  .feature-card__body { line-height: 1.8; }

  .service { padding-top: 80px; padding-bottom: 64px; }
  .service__inner { gap: 40px; }
  .service__body { gap: 32px; } /* 見出しと表の間 */
  .service__table { padding: 0; }
  .service__row { display: grid; grid-template-columns: auto 1fr; gap: 16px 16px; padding: 24px 0; }
  .service__num { font-size: 28px; }
  .service__label { width: auto; font-size: 18px; }
  .service__value { grid-column: 1 / -1; line-height: 1.8; }
  .service__note { padding: 0; }
  .service__more.btn { width: auto; }

  .samples { padding-top: 64px; padding-bottom: 80px; }
  .samples__inner { gap: 40px; }
  .samples__body { gap: 32px; } /* 見出しとカードの間 */
  .samples .btn { width: auto; }

  .flow { padding-top: 80px; padding-bottom: 64px; }
  .flow__inner { gap: 32px; } /* 見出しとステップの間 */
  .flow-steps { grid-template-columns: 1fr; row-gap: 24px; }
  .flow-step__turn { display: none; }
  .flow-step { min-height: 0; padding: 32px 24px; gap: 20px; }
  .flow-step::after, .flow-step:nth-child(3)::before, .flow-step:nth-child(4)::before { display: none; }
  .flow-step:not(:last-child)::after {
    display: block; content: ""; position: absolute; top: auto; right: auto; left: 50%; bottom: -27px;
    width: 0; height: 24px; border-top: 0; border-left: 3px solid var(--color-main);
  }
  .flow-step__no { width: 88px; height: 88px; padding: 9px 0 0 11px; }
  .flow-step__no span { font-size: 12px; }
  .flow-step__no b { font-size: 28px; margin-left: 6px; }
  .flow-step__title { font-size: 18px; }

  /* 料金ページ */
  .price-intro { padding: calc(var(--header-h) + 48px) 20px 64px; } /* 上：ヘッダー＋48 */
  .price-intro__inner { gap: 32px; }
  .price-intro__lead { padding: 0; line-height: 1.8; }
  .price-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 0; }
  .price-fact { flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: 20px 12px; }
  .price-fact img { width: 48px; height: 48px; }
  .price-fact__detail { display: none; }
  .price-fact + .price-fact::before { display: none; }
  /* タイル同士の区切り線（真ん中で交わらない） */
  .price-fact:nth-child(odd)::after {
    content: ""; position: absolute; right: -8px; top: 5px; bottom: 5px; border-right: 1px solid var(--color-line);
  }
  .price-fact:nth-child(-n + 2)::before {
    display: block; content: ""; position: absolute; left: 5px; right: 5px; top: auto; bottom: -10px; border-left: 0; border-bottom: 1px solid var(--color-line); /* top・border-left：PC用の縦線の指定を打ち消す */
  }

  .plans { padding-top: 64px; padding-bottom: 80px; }
  .plans__body { gap: 40px; }
  .plan-cards { grid-template-columns: 1fr; gap: 36px; }
  .plan-card { padding: 20px 16px; gap: 16px; }
  .plan-card__top { gap: 12px; }
  .plan-card__name { font-size: 18px; }
  .plan-card__img { height: auto; }
  .plan-card__bottom { gap: 12px; }
  .plans .check-list li { line-height: 1.8; }

  .domain { padding-top: 80px; padding-bottom: 80px; }
  .options { padding-top: 80px; padding-bottom: 64px; }
  .domain-options { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .domain-option { padding: 20px; gap: 16px; }
  .domain-option__name { font-size: 18px; }
  .domain-option__detail { line-height: 1.8; }

  .option-menu { margin-top: 28px; padding: 0; }
  .option-row { flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 0; }
  .option-row__item { gap: 8px; }
  .option-row__item > p:first-child { line-height: 1.8; }
  .option-row__price { flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 8px; align-self: flex-end; }
  .option-row__price b { font-size: 18px; }
}
/* 561〜767px：ボタンは横並び（560px以下で縦積み） */
@media (min-width: 561px) and (max-width: 767px) {
  .btn-row { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; }
  .btn-row .btn { width: auto; padding-left: 24px; padding-right: 24px; }
  .feature-card { padding: 40px 12%; } /* カードは縦並び。左右のpaddingを広くして文章の間延びを防ぐ */
}

/* お問い合わせページ：スマホ（767px以下） */
@media (max-width: 767px) {
  .contact-intro { padding: calc(var(--header-h) + 48px) 20px 64px; } /* 上：ヘッダー＋48 */
  .contact-intro__inner { gap: 32px; } /* 見出しと本文の間 */
  .contact-intro__body { gap: 28px; }
  .contact-intro__lead { line-height: 1.8; }
  .contact-form-area { padding-top: 64px; padding-bottom: 80px; }
  .contact-form { gap: 40px; margin-top: 28px; } /* スマホ：入力部分と送信部分の間 */
  .form-body { gap: 24px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .form-choices { gap: 8px; }
  .form-choice span { padding: 8px 16px; }
  .form-footer { gap: 24px; }
  .faq { padding-top: 80px; padding-bottom: 64px; }
  .faq__body { gap: 32px; }
  .faq-item__q { gap: 12px; padding: 16px 48px 16px 16px; }
  .faq-item__q::before, .faq-item__q::after { right: 18px; width: 12px; }
  .faq-item__mark { width: 28px; height: 28px; font-size: 14px; }
  .faq-item__a { gap: 12px; padding: 0 16px 20px; }
  .faq-item__a p { line-height: 1.8; } /* SP/本文 */
}

/* =========================================================
   サンプル集ページ（samples.html）
   Figma「サンプル集 / PC・SP」、カードは「sample-card」
   カードはLPと共通の .sample-card を使う
   ========================================================= */
.samples-list { padding: calc(var(--header-h) + 64px) var(--pad-x) 64px; background: var(--color-bg); } /* 上：ヘッダー＋64 */
.samples-list__inner { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.samples-list__lead { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.samples-list__note { width: 100%; }
.sample-list-cards { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }

/* 小さいボタン（Figma「button」size=small：共通/追随ボタン 11px） */
.btn--small {
  min-height: 0; padding: 8px 16px; gap: 12px;
  font-size: 11px; line-height: 1.3; letter-spacing: 0.02em;
}
.btn--small img { width: 15px; height: 15px; }

/* タブレット（768〜1023px）：2列 */
@media (min-width: 768px) and (max-width: 1023px) {
  .sample-list-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* スマホ（767px以下）：1列 */
@media (max-width: 767px) {
  .samples-list { padding: calc(var(--header-h) + 48px) 20px 64px; } /* 上：ヘッダー＋48 */
  .samples-list__inner { gap: 32px; }
  .samples-list__lead { gap: 0; line-height: 1.8; }
  .sample-list-cards { grid-template-columns: minmax(0, 1fr); gap: 64px; }
}

/* ---------- 規約ページ（利用規約・プライバシーポリシー・特商法表記） ---------- */
.legal-intro { padding: calc(var(--header-h) + 64px) var(--pad-x) 64px; background: var(--color-bg); } /* 上：ヘッダー＋64 */
.legal { padding-top: 64px; padding-bottom: 96px; } /* 上：カーブに接する側／下：フッターの前 */
.legal__inner { max-width: 760px; }
.legal__body { display: flex; flex-direction: column; gap: 48px; } /* 条と条の間 */
.legal-article { display: flex; flex-direction: column; gap: 16px; } /* 条の見出しと本文の間 */
.legal-article__title { font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: 0.02em; } /* PC/H3 */
.legal-list { display: flex; flex-direction: column; gap: 8px; padding-left: 1.5em; list-style: decimal; }
.legal-list > li { padding-left: 4px; }
.legal-item { display: flex; flex-direction: column; gap: 8px; } /* 項目の文と、その下の箇条書きの間 */
.legal-sublist { display: flex; flex-direction: column; gap: 4px; padding-left: 1.2em; list-style: disc; }
.legal-link, .legal-table a { text-decoration: underline; text-underline-offset: 4px; }
.legal-link:hover, .legal-table a:hover { color: var(--color-text-sub); }
.legal-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--color-line); }
.legal-table th, .legal-table td { padding: 16px 20px; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.legal-table th { width: 220px; font-weight: 700; background: var(--color-bg); }
.legal-table thead th { width: auto; }
.legal__date { text-align: right; color: var(--color-text-sub); }

@media (max-width: 767px) {
  .legal-intro { padding: calc(var(--header-h) + 48px) 20px 64px; } /* 上：ヘッダー＋48 */
  .legal { padding-top: 64px; padding-bottom: 64px; }
  .legal__body { gap: 40px; }
  .legal-article__title { font-size: 18px; } /* SP/H3 */
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table thead { display: none; } /* スマホは縦積みにするので列見出しは出さない */
  .legal-table th { padding: 12px 16px; border-bottom: 0; }
  .legal-table td { padding: 12px 16px 16px; }
}

/* ---------- サンキューページ ---------- */
.thanks-intro { padding: calc(var(--header-h) + 64px) var(--pad-x) 64px; background: var(--color-bg); } /* 上：ヘッダー＋64 */
.thanks-heading { display: flex; align-items: stretch; justify-content: center; gap: 32px; text-align: center; } /* 見出し（2行）を、星5つの「（ ）」で挟む */
.thanks-bracket { flex-shrink: 0; width: 28px; display: flex; flex-direction: column; justify-content: space-between; align-self: flex-end; height: calc(32px * 1.4 * 2); } /* PC：見出し2行の高さ（32px×行間1.4×2行） */
.thanks-bracket img { width: 13px; height: 13px; }
/* 弧の形：上下の端の星は見出し寄り、真ん中ほど外側へ（ずれ幅 0／9／14／9／0px） */
.thanks-bracket--left { align-items: flex-end; }
.thanks-bracket--left img:nth-child(2), .thanks-bracket--left img:nth-child(4) { transform: translateX(-9px); }
.thanks-bracket--left img:nth-child(3) { transform: translateX(-14px); }
.thanks-bracket--right { align-items: flex-start; }
.thanks-bracket--right img:nth-child(2), .thanks-bracket--right img:nth-child(4) { transform: translateX(9px); }
.thanks-bracket--right img:nth-child(3) { transform: translateX(14px); }
.thanks { padding-top: 64px; padding-bottom: 96px; } /* 上：カーブに接する側／下：フッターの前 */
.thanks__body { display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; } /* 文章とボタンの間 */
.thanks__text { display: flex; flex-direction: column; gap: 32px; } /* 文章どうしの間 */
.thanks__text strong { font-weight: 700; }

@media (max-width: 767px) {
  .thanks-intro { padding: calc(var(--header-h) + 48px) 20px 64px; } /* 上：ヘッダー＋48 */
  .thanks-heading { gap: 20px; }
  .thanks-bracket { align-self: stretch; height: auto; transform: translateY(4px); } /* スマホ：「THANK YOU!」から見出しまでを囲む高さ。星の縦の間隔も広がる。見た目のバランスで4px下げる */
  .thanks { padding-top: 64px; padding-bottom: 64px; }
  .thanks__body { gap: 32px; }
  .thanks__text { text-align: left; }
}
