@charset "UTF-8";
/* ==========================================================
   JCoLa TOP デザイン案（2026/11 確認用）
   - モバイルファースト：基本はスマホ、@media (min-width: 768px) / 1080px でPCへ拡張
   - サイト固有の値（色・寸法）は :root の変数にまとめる
   ========================================================== */

/* ---------- 1. 変数（サイト固有の値はここだけ書き換える） ---------- */
:root {
  /* 色：白地を基本に、ロゴの赤は主ボタンと要所だけ（※配色は案） */
  --c-red: #d52b1e;          /* ブランドの赤（現行サイトのロゴ背景から） */
  --c-red-dark: #a81e14;     /* 赤のホバー・濃い部分 */
  --c-red-soft: #fdf1ef;     /* 赤の薄い背景 */
  --c-text: #1e2328;         /* 本文 */
  --c-text-sub: #56606b;     /* 補足文 */
  --c-line: #e3e6ea;         /* 罫線 */
  --c-bg: #ffffff;           /* 基本の背景 */
  --c-bg-soft: #f6f7f9;      /* 区切り用の薄い背景 */
  --c-navy: #1f3a5f;         /* 表の見出しなど落ち着いた部分 */
  --c-check-line: #c9a227;   /* 【未確認】の点線枠 */
  --c-check-bg: #fffbea;     /* 【未確認】の背景 */
  --c-check-text: #7a5c00;   /* 【未確認】ラベルの文字 */

  /* 文字 */
  --font-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --fs-body: 1rem;           /* 16px */
  --lh-body: 1.8;

  /* 寸法 */
  --container: 1120px;
  --gutter: 20px;            /* スマホの左右余白 */
  --radius: 12px;
  --header-h: 60px;
  --section-pad: 44px;       /* セクションの上下余白（スマホ）※ページの長さ調整で 56→44 */

  /*
    確認用URLのバッジよけの余白（スマホ下部の固定バーを、この分だけ上に浮かせる）。
    2026/12/1 確認用URLを Netlify から Cloudflare Pages に移したため 0px に（Cloudflare Pages はバッジが出ない）。
    ※ 以前は Netlify の「Powered by Netlify」バッジよけに 64px だった
  */
  --preview-badge-space: 0px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --header-h: 72px;
    --section-pad: 80px;     /* ページの長さ調整で 96→80 */
  }
}

/* ---------- 2. リセット・基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
  line-break: strict;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }

/* 文節で改行させる（スマホで単語の途中で折れないように） */
.nb { display: inline-block; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
/* 読み上げ用の隠し文字。absolute なので、横スクロール枠の中で使うときは枠に position: relative が必要（ないと枠の外＝ページの右へ出て、iPhoneで縮小したときに画面が縮む） */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- 3. 共通パーツ ---------- */

/* セクションの背景
   - 背景色は「何番目か」では決めず、各セクションのクラス（.worries など）で決める（下の「セクション別」の各ブロックの先頭）
   - --section-bg：セクションの背景／--section-card：セクションの中の箱（流れの手順の枠・注意事項・FAQ）の背景
   - 2つは必ず組で切り替える。順番を入れ替えて同じ色が隣り合ったら、片方のセクションで2つとも書き換える（docs/08） */
.section {
  --section-bg: var(--c-bg);          /* 白のセクション（初期値） */
  --section-card: var(--c-bg-soft);
  padding: var(--section-pad) 0;
  background: var(--section-bg);
}
/* 薄いグレーのセクション：各セクションのクラスにこの2行を書く */
.worries, .estimate, .flow, .target, .notice, .company {
  --section-bg: var(--c-bg-soft);
  --section-card: #fff;
}
.section-head { text-align: center; margin-bottom: 24px; }
.section-head__en { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; color: var(--c-red); margin-bottom: 6px; }
.section-head__title { font-size: 1.625rem; line-height: 1.45; font-weight: 700; }
.section-head__lead { margin-top: 12px; color: var(--c-text-sub); }
@media (min-width: 768px) {
  .section-head { margin-bottom: 48px; }
  .section-head__lead { margin-top: 16px; }
  .section-head__title { font-size: 2.125rem; }
}

/* ボタン（主・副・文字リンクの3段階） */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 12px 28px;
  border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn small { display: block; font-size: 0.75rem; font-weight: 500; }
/* 2行ボタン（ボタン名＋補足） */
.btn--2line { flex-direction: column; gap: 2px; padding-top: 10px; padding-bottom: 10px; }
.btn--primary { background: var(--c-red); color: #fff; box-shadow: 0 4px 0 var(--c-red-dark); }
.btn--primary:hover { background: var(--c-red-dark); }
.btn--secondary { background: #fff; color: var(--c-text); border-color: var(--c-text); }
.btn--secondary:hover { background: var(--c-bg-soft); }
.btn--sm { min-height: 40px; padding: 6px 16px; font-size: 0.875rem; border-radius: 8px; box-shadow: none; }
.btn__icon { width: 1.1em; height: 1.1em; flex: none; }
.text-link { color: var(--c-text); font-weight: 500; text-underline-offset: 3px; }
.text-link:hover { color: var(--c-red); }

/* 【未確認】の枠：内容の確認が取れるまで、見た目で区別する */
.unconfirmed {
  position: relative;
  border: 2px dashed var(--c-check-line);
  background: var(--c-check-bg);
  border-radius: var(--radius);
  padding: 12px 16px 16px;
}
/* ラベルは枠の左上。長い文でも本文と重ならないよう通常の配置にする */
.unconfirmed__label {
  margin-bottom: 12px;
  font-size: 0.75rem; font-weight: 700; line-height: 1.5; color: var(--c-check-text);
}
.tag-unconfirmed {
  display: inline-block; padding: 0 6px; margin-left: 4px;
  border: 1px dashed var(--c-check-line); border-radius: 4px; background: var(--c-check-bg);
  font-size: 0.6875rem; font-weight: 700; color: var(--c-check-text); vertical-align: middle; line-height: 1.6;
}

/* 写真・画像の仮枠（差し替え前提） */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 2px dashed #b8bfc7; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 10px, #eceef1 10px, #eceef1 20px);
  color: var(--c-text-sub); font-size: 0.8125rem; text-align: center; padding: 16px;
}
.ph strong { font-size: 0.875rem; color: var(--c-text); }

/* ---------- 4. セクション別 ---------- */

/* ===== 1. ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: blur(6px);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 12px; }
/* ロゴは白一色のデータしかないため、赤い小枠に載せる（※白背景用のロゴデータに差し替え予定） */
.site-header__logo {
  display: flex; align-items: center; gap: 2px;
  height: 40px; padding: 0 12px 0 4px;
  background: var(--c-red); border-radius: 8px; text-decoration: none; flex: none;
}
.site-header__logo-mark { height: 36px; width: auto; margin-right: -6px; }
.site-header__logo-text { height: 26px; width: auto; }
.site-header__nav { display: none; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-header__login,
.site-header__register { display: none; }
.menu-btn {
  width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* スマホ用メニュー（開いたとき） */
.sp-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: #fff; border-bottom: 1px solid var(--c-line);
  padding: 8px var(--gutter) 24px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}
.sp-menu[hidden] { display: none; }
.sp-menu__list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--c-line); text-decoration: none; font-weight: 500; }
.sp-menu__actions { display: grid; gap: 12px; margin-top: 20px; }
.sp-menu__login { text-align: center; margin-top: 4px; }

@media (min-width: 1080px) {
  .site-header__logo { height: 44px; }
  .site-header__nav { display: block; margin-left: 24px; }
  .site-header__nav ul { display: flex; gap: 24px; }
  .site-header__nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
  .site-header__nav a:hover { color: var(--c-red); }
  .site-header__login { display: inline; font-size: 0.9375rem; margin-right: 8px; }
  .site-header__register { display: inline-flex; }
  .menu-btn, .sp-menu { display: none !important; }
}

/* ===== 1.5 電話でのご相談（ヘッダーのすぐ下） ===== */
/* スマホ：文の下に、押しやすい大きさ（高さ52px）の電話ボタン。PC：1行で右寄せ */
.tel-bar { background: var(--c-navy); color: #fff; }
.tel-bar__inner { display: grid; gap: 6px; padding-top: 10px; padding-bottom: 12px; text-align: center; }
.tel-bar__text { font-size: 0.875rem; font-weight: 500; line-height: 1.5; }
.tel-bar__num { display: grid; gap: 6px; justify-items: center; }
.tel-bar__link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; max-width: 420px; min-height: 52px; padding: 6px 16px;
  border-radius: 10px; background: #fff; color: var(--c-navy); text-decoration: none;
}
.tel-bar__link:hover { background: var(--c-bg-soft); }
.tel-bar__icon { width: 22px; height: 22px; flex: none; }
.tel-bar__digits { font-size: 1.375rem; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.tel-bar__tag { margin-left: 0; }
@media (min-width: 768px) {
  .tel-bar__inner { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
  .tel-bar__text { font-size: 0.9375rem; }
  .tel-bar__num { display: flex; align-items: center; gap: 10px; }
  /* PCは電話をかけない端末も多いため、ボタンにせず文字の番号に（tel: のリンクはそのまま） */
  .tel-bar__link { width: auto; min-height: 40px; padding: 0 4px; background: transparent; color: #fff; }
  .tel-bar__link:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; }
  .tel-bar__icon { width: 20px; height: 20px; }
  .tel-bar__digits { font-size: 1.375rem; }
}

/* ===== 2. FV ===== */
.fv {
  position: relative; overflow: hidden;
  padding: 32px 0 48px;
  background:
    radial-gradient(circle at 100% 0%, var(--c-red-soft) 0, var(--c-red-soft) 38%, transparent 38.2%),
    var(--c-bg);
}
.fv__inner { display: grid; gap: 32px; }
.fv__eyebrow {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-line);
  font-size: 0.8125rem; font-weight: 700; color: var(--c-text-sub);
}
.fv__title { margin-top: 16px; font-size: 2rem; line-height: 1.35; font-weight: 700; letter-spacing: 0.02em; }
.fv__title .nb:last-child { color: var(--c-red); }
.fv__lead { margin-top: 16px; font-size: 1rem; color: var(--c-text); }
.fv__points { margin-top: 20px; display: grid; gap: 8px; }
.fv__points li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.fv__points strong { color: var(--c-red); font-weight: 700; }
.fv__check { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--c-red); color: #fff; flex: none; }
.fv__cta { margin-top: 28px; display: grid; gap: 12px; }
.fv__btn { width: 100%; }
.fv__login { margin-top: 14px; font-size: 0.875rem; color: var(--c-text-sub); text-align: center; }
.fv__login a { margin-left: 4px; }
.fv__visual { position: relative; padding-bottom: 28px; }
.fv__ph-main { justify-content: flex-start; padding-top: 16%; aspect-ratio: 4 / 3; background-color: #fff; box-shadow: 0 16px 40px rgba(30, 35, 40, .10); }
.fv__ph-sub { position: absolute; right: -4px; bottom: 0; width: 40%; aspect-ratio: 1 / 1; background-color: #fff; box-shadow: 0 10px 24px rgba(30, 35, 40, .12); }

@media (min-width: 768px) {
  .fv { padding: 64px 0 80px; }
  .fv__title { font-size: 2.75rem; }
  .fv__lead { font-size: 1.125rem; }
  .fv__points { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 24px; }
  .fv__cta { grid-template-columns: repeat(2, minmax(0, 280px)); }
  .fv__login { text-align: left; }
}
@media (min-width: 1080px) {
  .fv { padding: 72px 0 96px; }
  .fv__inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .fv__title { font-size: 3.25rem; }
  .fv__points { grid-template-columns: 1fr; }
}

/* ===== 3. お悩みと解決 ===== */
.worries__list { display: grid; gap: 14px; }
.worry { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(30, 35, 40, .06); overflow: hidden; display: flex; flex-direction: column; }
.worry__q {
  position: relative; padding: 14px 18px 20px;
  background: #eef0f3; font-weight: 700; line-height: 1.6; color: var(--c-text);
}
/* 悩み → 答え の向きを示す三角 */
.worry__q::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
  border: 12px solid transparent; border-bottom: 0; border-top-color: #eef0f3;
}
.worry__num { display: block; font-size: 0.75rem; letter-spacing: .1em; color: var(--c-text-sub); margin-bottom: 2px; }
.worry__a { padding: 20px 18px 18px; flex: 1; }
.worry__a-label { display: inline-block; padding: 0 10px; border-radius: 4px; background: var(--c-red); color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1.8; }
.worry__a-title { margin-top: 8px; font-size: 1.125rem; line-height: 1.5; font-weight: 700; color: var(--c-red); }
.worry__a-text { margin-top: 6px; font-size: 0.9375rem; line-height: 1.7; color: var(--c-text); }
@media (min-width: 768px) {
  .worry__q { padding: 20px 20px 28px; }
  .worry__a { padding: 28px 20px 24px; }
  .worry__a-title { margin-top: 10px; font-size: 1.25rem; }
  .worry__a-text { margin-top: 8px; line-height: var(--lh-body); }
}
@media (min-width: 1080px) {
  .worries__list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .worry__q { min-height: 112px; }
}

/* PCだけ改行 */
.pc-only { display: none; }
@media (min-width: 768px) { .pc-only { display: inline; } }

/* ===== 4. 料金の目安 ===== */
/* 割引率の仮枠（数字は確認後に入れる） */
.price__rate { margin-bottom: 16px; text-align: center; font-size: 1rem; font-weight: 700; line-height: 1.6; }
.price__rate-num { margin-left: 6px; font-size: 1.375rem; color: var(--c-red); white-space: nowrap; }
.price__tables { display: grid; gap: 24px; }
/* スマホ：2つの表をタブで切り替え（JSが is-tabbed を付けたときだけ。PCは2つ並べる） */
.price-tabs { display: flex; margin-bottom: 14px; border-bottom: 2px solid var(--c-line); }
.price-tabs[hidden] { display: none; }
.price-tabs__btn {
  flex: 1; min-height: 48px; padding: 8px 6px; margin-bottom: -2px;
  border: 0; border-bottom: 3px solid transparent; background: transparent; cursor: pointer;
  font-weight: 700; font-size: 0.9375rem; line-height: 1.4; color: var(--c-text-sub);
}
.price-tabs__btn[aria-selected="true"] { color: var(--c-text); border-bottom-color: var(--c-red); }
.price-tabs__btn .tag-unconfirmed { margin-left: 2px; }
.price__tables.is-tabbed > .price__table-wrap:not(.is-active) { display: none; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; font-weight: 700; font-size: 1.0625rem; padding-bottom: 8px; }
.price-table th, .price-table td { border: 1px solid var(--c-line); padding: 10px 8px; text-align: center; }
.price-table thead th { background: var(--c-navy); color: #fff; font-size: 0.875rem; line-height: 1.4; }
.price-table thead small { font-weight: 400; font-size: 0.6875rem; }
.price-table--import thead th { background: #2f5d50; }
.price-table tbody th { background: #f1f3f6; font-weight: 700; width: 26%; }
.price-table td { font-size: 1.125rem; font-weight: 700; text-align: right; padding-right: 14px; }
.price-table td span { font-size: 0.75rem; margin-left: 2px; }
.price-table td.is-down { color: var(--c-red); background: #fff6f4; }
.price__point { margin-top: 16px; font-size: 0.9375rem; line-height: 1.7; }
.price__point strong { color: var(--c-red); }
.price__notes { margin-top: 12px; font-size: 0.8125rem; color: var(--c-text-sub); line-height: 1.7; }

.compare { margin-top: 24px; }
.compare__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 12px; }
.compare__hint { font-size: 0.75rem; color: var(--c-text-sub); margin-bottom: 6px; }
@media (min-width: 768px) { .compare__hint { display: none; } }
.compare__scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; } /* relative：中の隠し文字を枠の外に出さない */
.compare-table { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; font-size: 0.875rem; }
.compare-table th, .compare-table td { border: 1px solid var(--c-line); padding: 10px; text-align: center; line-height: 1.5; }
.compare-table thead th { background: #f1f3f6; font-size: 0.875rem; }
.compare-table thead th.is-jcola { background: var(--c-red); color: #fff; }
.compare-table tbody th { background: #f8f9fa; text-align: left; width: 28%; }
.compare-table td.is-jcola { font-weight: 700; color: var(--c-red); background: #fff6f4; }
.compare-table small { font-weight: 400; color: var(--c-text-sub); font-size: 0.6875rem; }
.compare-table td { color: var(--c-text-sub); }

.price__cta { margin-top: 28px; text-align: center; }
.price__cta .btn { width: 100%; max-width: 420px; }

@media (min-width: 768px) {
  .price-tabs { display: none; }
  .price__tables.is-tabbed > .price__table-wrap:not(.is-active) { display: block; }
  .compare { margin-top: 32px; }
  .price__cta { margin-top: 40px; }
  .price__tables { grid-template-columns: 1fr 1fr; gap: 32px; }
  .unconfirmed.price__box, .unconfirmed.compare { padding: 16px 32px 28px; }
}

/* ===== 5. かんたん見積り ===== */
.estimate__layout { display: grid; gap: 24px; }
.est-form {
  background: #fff; border-radius: 16px; padding: 24px 16px;
  box-shadow: 0 8px 32px rgba(30, 35, 40, .08); border-top: 4px solid var(--c-red);
}
.est-form__group { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.est-form__legend { font-weight: 700; font-size: 0.9375rem; padding: 0 0 6px; margin-bottom: 10px; border-bottom: 1px solid var(--c-line); width: 100%; }
.est-form__pair {
  display: grid; grid-template-columns: 6.5em 1fr;
  border: 1px solid #cfd5dc; border-radius: 8px; overflow: hidden;
}
.est-form__pair > * { min-height: 48px; }
.est-form__key { display: flex; align-items: center; padding: 0 12px; background: #f1f3f6; font-size: 0.8125rem; color: var(--c-text-sub); }
.est-form__pair > .est-form__key:nth-of-type(2), .est-form__pair > .est-form__input:nth-of-type(2) { border-top: 1px solid #cfd5dc; }
.est-form__pair .est-form__input { border: 0; border-radius: 0; }
.est-form__input {
  width: 100%; min-height: 48px; padding: 8px 12px;
  border: 1px solid #cfd5dc; border-radius: 8px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--c-text); /* 16px：iPhoneで入力時に拡大されない */
}
.est-form__input--full { width: 100%; }
.est-form__label { display: block; font-size: 0.8125rem; color: var(--c-text-sub); margin: 0 0 6px; }
.est-form__check { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 0.875rem; line-height: 1.6; cursor: pointer; }
.est-form__check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--c-red); }
.est-form__box { margin-top: 16px; padding: 16px; border-radius: 10px; background: #f6f7f9; border: 1px solid var(--c-line); }
.est-form__row2 { display: grid; gap: 12px; margin-bottom: 16px; }
.req { color: var(--c-red); }
.est-form__unit { display: flex; }
.est-form__unit .est-form__input { flex: 1; min-width: 0; }
.est-form__unit span { flex: none; white-space: nowrap; }
.est-form__unit .est-form__input { border-radius: 8px 0 0 8px; }
.est-form__unit span, .est-form__size span:last-child { display: flex; align-items: center; padding: 0 12px; background: #e9ecf0; border: 1px solid #cfd5dc; border-left: 0; border-radius: 0 8px 8px 0; font-size: 0.875rem; }
.est-form__help { font-size: 0.75rem; color: var(--c-text-sub); line-height: 1.6; margin: 4px 0 8px; }
.est-form__size { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto; align-items: center; }
.est-form__size .est-form__input { border-radius: 0; min-width: 0; text-align: center; }
.est-form__size .est-form__input:first-child { border-radius: 8px 0 0 8px; }
.est-form__size span[aria-hidden] { padding: 0 4px; color: var(--c-text-sub); font-size: 0.75rem; }
.est-form__movie { margin-top: 10px; font-size: 0.8125rem; }
.est-form__add { margin-top: 12px; font-size: 0.875rem; font-weight: 700; color: var(--c-red); }
.est-form__pair--single { grid-template-columns: 6.5em 1fr; }
.est-form__submit { width: 100%; font-size: 1.125rem; }

.estimate__next { background: #fff; border-radius: 16px; padding: 24px 20px; border: 1px solid var(--c-line); align-self: start; }
.estimate__next-title { font-size: 1.125rem; font-weight: 700; }
.estimate__next-text { margin-top: 8px; font-size: 0.9375rem; }
.estimate__next-text strong { color: var(--c-red); }
.estimate__next-points { margin: 12px 0 16px; font-size: 0.875rem; display: grid; gap: 4px; }
.estimate__next-points li { padding-left: 1.2em; position: relative; }
.estimate__next-points li::before { content: "・"; position: absolute; left: 0; }
.estimate__next-btn { width: 100%; }
.estimate__result { margin-top: 20px; }
.estimate__result-text { font-size: 0.8125rem; line-height: 1.7; }

@media (min-width: 768px) {
  .est-form { padding: 32px; }
  .est-form__row2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) {
  .estimate__layout { grid-template-columns: minmax(0, 680px) 1fr; gap: 32px; justify-content: center; }
  .estimate__next { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ===== 6. JCoLaの特長 ===== */
.features__lead { max-width: 760px; margin-left: auto; margin-right: auto; text-align: left; }
/* スマホは2列（アイコンを上、説明文を下）。PCは4列 */
.features__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature {
  position: relative; padding: 16px 12px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--c-line);
  display: grid; grid-template-columns: 1fr; align-items: start; align-content: start;
}
.feature__num { position: absolute; top: 10px; right: 12px; font-size: 0.75rem; font-weight: 700; color: #c4cad1; letter-spacing: .08em; }
.feature__icon { width: 44px; height: 44px; padding: 8px; margin-bottom: 10px; border-radius: 50%; background: var(--c-red-soft); color: var(--c-red); }
.feature__title { font-size: 1rem; font-weight: 700; line-height: 1.45; }
.feature__sub { display: inline-block; font-size: 0.8125rem; font-weight: 500; }
.feature__text { margin-top: 6px; font-size: 0.8125rem; line-height: 1.65; color: var(--c-text); }
.feature--unconfirmed { border: 2px dashed var(--c-check-line); background: var(--c-check-bg); }
.feature__tag { justify-self: start; max-width: calc(100% - 22px); margin: 0 0 8px; } /* 右上の番号と重ならない幅に */
@media (min-width: 768px) {
  .features__list { gap: 20px; }
  .feature { padding: 24px 20px; }
  .feature__num { top: 12px; right: 16px; font-size: 0.8125rem; }
  .feature__icon { width: 56px; height: 56px; padding: 10px; margin-bottom: 14px; }
  .feature__title { font-size: 1.125rem; line-height: 1.5; padding-right: 24px; }
  .feature__sub { font-size: 0.875rem; }
  .feature__text { font-size: 0.9375rem; line-height: var(--lh-body); }
}
@media (min-width: 1080px) {
  .features__list { grid-template-columns: repeat(4, 1fr); }
  .feature { padding: 28px 22px; }
  .feature__icon { margin-bottom: 16px; width: 64px; height: 64px; }
}

/* ===== 7. ご利用の流れ ===== */
.flow__pre {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-content: center;
  max-width: 760px; margin: 0 auto 20px; padding: 10px 14px;
  background: #fff; border-radius: 14px; border: 1px solid var(--c-line); font-size: 0.9375rem; line-height: 1.6; text-align: center;
}
.flow__pre-label { padding: 0 10px; border-radius: 4px; background: var(--c-text); color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1.8; }
.flow__block { background: var(--section-card); border-radius: 16px; padding: 18px 14px; }
.flow__block + .flow__block { margin-top: 16px; }
.flow__block--first { border: 2px solid var(--c-red); }
.flow__block-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 1.0625rem; font-weight: 700; margin-bottom: 14px; }
.flow__block-badge { padding: 2px 12px; border-radius: 999px; background: var(--c-red); color: #fff; font-size: 0.8125rem; }
.flow__block-badge--navy { background: var(--c-navy); }
.flow__steps { display: grid; gap: 10px; counter-reset: none; }
/* 「初回のみ」はスマホでも縦に並べる（登録前に必ず見てほしい手順のため） */
.step { position: relative; padding: 12px 12px 12px 54px; border-radius: 10px; background: var(--section-bg); } /* 枠（--section-card）と逆の色 */
.step__num {
  position: absolute; left: 12px; top: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-text); color: #fff; font-weight: 700; font-size: 0.875rem;
}
.flow__block--first .step__num { background: var(--c-red); }
.step__title { font-size: 1rem; font-weight: 700; line-height: 1.5; }
.step__text { margin-top: 2px; font-size: 0.875rem; line-height: 1.65; }
.step__badge {
  display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 6px;
  background: #fff3cd; color: #6b4e00; font-size: 0.8125rem; font-weight: 700; line-height: 1.5;
}
/* 承認時間の注記（「※土日・祝日を除く」） */
.step__note { margin-top: 4px; font-size: 0.75rem; color: var(--c-text-sub); line-height: 1.6; }
/* 縦の矢印（スマホ） */
.step + .step::before {
  content: ""; position: absolute; left: 25px; top: -10px; width: 6px; height: 10px; background: #cfd5dc;
}
/* 「発送のたびに」はスマホで横スクロール（カードを少しはみ出させて、続きがあることを示す） */
.flow__steps--scroll {
  position: relative; /* 中の absolute 要素を枠の外に出さない */
  grid-auto-flow: column; grid-auto-columns: 76%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 -14px; padding: 0 14px 8px; scroll-padding: 0 14px;
}
.flow__steps--scroll .step { scroll-snap-align: start; padding: 50px 14px 14px; }
.flow__steps--scroll .step__num { left: 14px; top: 12px; }
.flow__steps--scroll .step + .step::before {
  left: -12px; top: 50%; width: 0; height: 0; background: none;
  border: 6px solid transparent; border-right: 0; border-left-color: #b8c0c8; transform: translateY(-50%);
}
/* 横スクロールの案内（スマホのみ） */
.scroll-hint { font-size: 0.75rem; color: var(--c-text-sub); text-align: right; margin: -4px 0 6px; }
.flow__prepare { margin-top: 16px; padding: 14px 14px 16px; border-radius: 16px; background: #fff; border: 1px dashed #9aa5b1; }
.flow__prepare-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.flow__prepare-list { display: grid; gap: 8px; }
.flow__prepare-list li { padding-left: 26px; position: relative; font-size: 0.8125rem; line-height: 1.6; }
.flow__prepare-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--c-red);
}
.flow__prepare-list strong { display: block; font-size: 0.9375rem; }
.flow__prepare-list span { color: var(--c-text-sub); }
/* ショッパーサポート（別サービス）の案内：JCoLaの手順と区別するため、紺の線で控えめに見せる */
.flow__other { margin-top: 16px; padding: 14px 14px 16px; border-radius: 16px; background: #fff; border-left: 4px solid var(--c-navy); }
.flow__other-title { font-size: 1rem; font-weight: 700; color: var(--c-navy); }
.flow__other-text { margin-top: 6px; font-size: 0.875rem; line-height: 1.7; }
.flow__other-link { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 0.875rem; }
.flow__other-link .tag-unconfirmed { margin-left: 0; }
.flow__cta { margin-top: 24px; text-align: center; }
.flow__cta .btn { width: 100%; max-width: 420px; }
.flow__cta-sub { margin-top: 12px; font-size: 0.875rem; color: var(--c-text-sub); }
.flow__cta-sub a { margin: 0 2px; }

@media (min-width: 768px) {
  .scroll-hint { display: none; }
  .flow__pre { margin-bottom: 32px; padding: 14px 16px; }
  .flow__block { padding: 28px 32px 32px; }
  .flow__block + .flow__block { margin-top: 20px; }
  .flow__block-title { font-size: 1.125rem; gap: 8px 12px; margin-bottom: 20px; }
  .flow__steps,
  .flow__steps--scroll { grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; gap: 28px; overflow: visible; margin: 0; padding: 0; }
  .step,
  .flow__steps--scroll .step { padding: 56px 20px 20px; }
  .step__num,
  .flow__steps--scroll .step__num { left: 16px; top: 16px; width: 34px; height: 34px; font-size: 0.9375rem; }
  .step__text { margin-top: 4px; line-height: 1.7; }
  .step + .step::before,
  .flow__steps--scroll .step + .step::before {
    left: -22px; top: 50%; width: 0; height: 0; background: none;
    border: 9px solid transparent; border-right: 0; border-left-color: #b8c0c8; transform: translateY(-50%);
  }
  .flow__prepare { margin-top: 24px; padding: 24px 32px; }
  .flow__prepare-title { font-size: 1.0625rem; margin-bottom: 12px; }
  .flow__prepare-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .flow__prepare-list li { font-size: 0.875rem; padding-left: 28px; }
  .flow__other { margin-top: 24px; padding: 20px 32px 22px; }
  .flow__other-title { font-size: 1.0625rem; }
  .flow__other-text { font-size: 0.9375rem; max-width: 42em; } /* PCで2行目に1語だけ残らないよう、行の長さをそろえる */
  .flow__cta { margin-top: 32px; }
}

/* ===== 8. 動画でわかるJCoLa ===== */
/* スマホは横スクロール（1本半が見える幅）。PCは3列 */
.movie__list {
  position: relative; /* 中の隠し文字（新しいタブで開きます）を枠の外に出さない。これがないとページ幅が広がる */
  display: grid; grid-auto-flow: column; grid-auto-columns: 66%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter);
}
.movie__list > li { scroll-snap-align: start; }
.movie-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); display: flex; flex-direction: column; }
.movie-card__player {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  background: #000; cursor: pointer; overflow: hidden;
}
.movie-card__player img { width: 100%; height: 100%; object-fit: cover; }
.movie-card__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.movie-card__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 12px; background: rgba(213, 43, 30, .92);
}
.movie-card__play::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border: 10px solid transparent; border-right: 0; border-left: 16px solid #fff;
}
.movie-card__player:hover .movie-card__play { background: var(--c-red-dark); }
.movie-card__body { padding: 12px 14px 16px; flex: 1; display: flex; flex-direction: column; }
/* YouTubeで見る（新しいタブ）：カードの下端にそろえる */
.movie-card__link { margin-top: auto; padding-top: 10px; font-size: 0.8125rem; }
.movie-card__link a { color: var(--c-text-sub); }
.movie-card__title { font-size: 1rem; font-weight: 700; }
.movie-card__text { margin-top: 4px; font-size: 0.8125rem; color: var(--c-text-sub); line-height: 1.65; }
@media (min-width: 768px) {
  .movie__list { grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; gap: 24px; overflow: visible; margin: 0; padding: 0; }
  .movie-card__body { padding: 16px 18px 20px; }
  .movie-card__title { font-size: 1.0625rem; }
  .movie-card__text { font-size: 0.875rem; line-height: 1.7; }
}

/* ===== 9. こんな方におすすめ ===== */
/* スマホは2列。PCは4列 */
.target__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.target-card { position: relative; background: #fff; border-radius: var(--radius); padding: 14px 12px; border: 1px solid var(--c-line); }
.target-card__icon { display: block; width: 34px; height: 34px; color: var(--c-red); margin-bottom: 6px; }
.target-card__title { font-size: 0.9375rem; font-weight: 700; line-height: 1.45; }
.target-card__text { margin-top: 6px; font-size: 0.8125rem; line-height: 1.65; }
.target-card--unconfirmed { border: 2px dashed var(--c-check-line); background: var(--c-check-bg); }
.target-card__tag { display: inline-block; margin: 0 0 6px; }
@media (min-width: 768px) {
  .target__list { gap: 20px; }
  .target-card { padding: 20px; }
  .target-card__icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .target-card__title { font-size: 1.125rem; line-height: 1.5; }
  .target-card__text { margin-top: 8px; font-size: 0.9375rem; line-height: var(--lh-body); }
  .target-card__tag { margin-bottom: 8px; }
}
@media (min-width: 1080px) {
  .target__list { grid-template-columns: repeat(4, 1fr); }
}

/* ===== 10. 対応クーリエ ===== */
.courier__list { display: grid; gap: 22px; max-width: 880px; margin: 0 auto; }
.courier-card { position: relative; padding: 22px 16px 16px; border-radius: var(--radius); border: 1px solid var(--c-line); background: var(--c-bg-soft); text-align: center; }
.courier-card--active { background: #fff; border: 2px solid var(--c-text); }
.courier-card__status {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 2px 14px; border-radius: 999px; background: var(--c-text); color: #fff; font-size: 0.75rem; font-weight: 700;
}
.courier-card__status--soon { background: #8a949e; }
.courier-card__name { font-size: 1.75rem; font-weight: 700; letter-spacing: .02em; }
.courier-card:not(.courier-card--active) .courier-card__name { color: var(--c-text-sub); }
.courier-card__text { margin-top: 4px; font-size: 0.9375rem; color: var(--c-text-sub); }
.courier__note { margin-top: 12px; text-align: center; font-size: 0.8125rem; color: var(--c-text-sub); }
@media (min-width: 768px) {
  .courier__list { grid-template-columns: 1fr 1fr; gap: 24px; }
  .courier-card { padding: 28px 20px 24px; }
  .courier__note { margin-top: 16px; }
}

/* ===== 11. 安心してご利用いただくために ===== */
/* 開閉式にしない（登録前に必ず目に入ってほしい内容のため）。余白と行間だけ詰める */
.notice__box { max-width: 880px; margin: 0 auto; background: var(--section-card); border-radius: var(--radius); border-left: 6px solid var(--c-navy); padding: 6px 16px; }
.notice__list { display: grid; gap: 0; }
.notice__list li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--c-line); font-size: 0.9375rem; line-height: 1.55; }
.notice__list li:last-child { border-bottom: 0; }
.notice__list li::before {
  content: "!"; position: absolute; left: 0; top: 9px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--c-navy); color: #fff;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; line-height: 1;
}
@media (min-width: 768px) {
  .notice__box { padding: 28px 40px; }
  .notice__list { gap: 4px; }
  .notice__list li { padding: 10px 0 10px 32px; line-height: 1.6; }
  .notice__list li::before { top: 11px; width: 22px; height: 22px; }
  .notice__list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .notice__list li:nth-last-child(2) { border-bottom: 0; }
}

/* ===== 12. よくあるご質問 ===== */
/* 開閉式（details/summary）。質問文と【未確認】ラベルは閉じた状態でも見える */
.faq__list { max-width: 880px; margin: 0 auto; display: grid; gap: 8px; }
.faq-item { border-radius: var(--radius); background: var(--section-card); }
.faq-item__q {
  position: relative; display: block; padding: 13px 44px 13px 54px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1rem; line-height: 1.6;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__a { position: relative; margin: 0 14px; padding: 10px 0 14px 40px; border-top: 1px solid var(--c-line); font-size: 0.9375rem; }
.faq-item__q::before, .faq-item__a::before {
  position: absolute; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.875rem; line-height: 1;
}
.faq-item__q::before { content: "Q"; left: 14px; top: 12px; background: var(--c-red); color: #fff; }
.faq-item__a::before { content: "A"; left: 0; top: 10px; background: #fff; color: var(--c-red); border: 1.5px solid var(--c-red); }
/* 開閉の矢印（閉：下向き／開：上向き） */
.faq-item__q::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--c-text-sub); border-bottom: 2px solid var(--c-text-sub);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item[open] > .faq-item__q::after { transform: translateY(-30%) rotate(-135deg); }
@media (hover: hover) { .faq-item__q:hover { color: var(--c-red); } } /* タッチ端末では色が残らないように */
.faq-item--unconfirmed { border: 2px dashed var(--c-check-line); background: var(--c-check-bg); }
/* 承認時間の注記（「※土日・祝日を除く」） */
.faq-item__note { font-size: 0.8125rem; color: var(--c-text-sub); }
/* 答えの補足（本人確認書類の例など） */
.faq-item__sub { display: inline-block; margin-top: 6px; font-size: 0.875rem; color: var(--c-text-sub); line-height: 1.7; }
@media (min-width: 768px) {
  .faq__list { gap: 12px; }
  .faq-item__q { padding: 18px 56px 18px 68px; }
  .faq-item__q::before { left: 28px; top: 17px; }
  .faq-item__q::after { right: 28px; }
  .faq-item__a { margin: 0 28px; padding: 12px 0 20px 40px; }
}

/* ===== 13. 運営会社・ご相談 ===== */
.company__layout { display: grid; gap: 16px; }
.company__lead { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 12px; }
.company__table { background: #fff; border-radius: 10px; border: 1px solid var(--c-line); }
.company__table > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--c-line); font-size: 0.9375rem; line-height: 1.55; }
.company__table > div:last-child { border-bottom: 0; }
.company__table dt { font-weight: 700; color: var(--c-text-sub); }
.company__contact-title { font-size: 1.25rem; font-weight: 700; line-height: 1.5; }
.company__contact-text { margin-top: 8px; font-size: 0.9375rem; }
.company__contact-btn { margin-top: 16px; width: 100%; }
.company__contact-text { line-height: 1.7; }
@media (min-width: 768px) {
  .unconfirmed.company__info, .unconfirmed.company__contact { padding: 16px 28px 28px; }
  .company__table > div { grid-template-columns: 6em 1fr; padding: 12px 14px; line-height: 1.6; }
  .company__lead { margin-bottom: 16px; }
}
@media (min-width: 1080px) {
  .company__layout { grid-template-columns: 3fr 2fr; gap: 28px; align-items: start; }
}

/* ===== 14. 最後のCTA ===== */
.final-cta { padding: var(--section-pad) 0; }
.final-cta__box {
  position: relative; overflow: hidden;
  padding: 32px 18px; border-radius: 20px; text-align: center;
  background:
    radial-gradient(circle at 0% 100%, rgba(213, 43, 30, .10) 0, rgba(213, 43, 30, .10) 30%, transparent 30.2%),
    var(--c-red-soft);
  border: 1px solid #f6d5d0;
}
.final-cta__title { font-size: 1.75rem; line-height: 1.45; font-weight: 700; }
.final-cta__text { margin-top: 12px; font-size: 1rem; }
.final-cta__btns { margin: 28px auto 0; display: grid; gap: 12px; max-width: 420px; }
.final-cta__btns .btn { width: 100%; }
.final-cta__login { margin-top: 14px; font-size: 0.875rem; color: var(--c-text-sub); }
.final-cta__login a { margin-left: 4px; }
@media (min-width: 768px) {
  .final-cta__box { padding: 64px 40px; }
  .final-cta__title { font-size: 2.25rem; }
  .final-cta__btns { grid-template-columns: 1fr 1fr; max-width: 640px; }
}

/* ===== 15. フッター ===== */
.site-footer { background: #1e2328; color: #d9dde2; padding: 48px 0 24px; font-size: 0.875rem; }
.site-footer__top { display: grid; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #3a4148; }
.site-footer__logo { display: inline-flex; }
.site-footer__desc { margin-top: 12px; line-height: 1.7; }
.site-footer__label { font-weight: 700; color: #fff; margin-bottom: 4px; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 20px 0; }
.site-footer__nav a { color: #d9dde2; text-decoration: none; }
.site-footer__nav a:hover { color: #fff; text-decoration: underline; }
.site-footer__copy { color: #9aa3ac; font-size: 0.75rem; text-align: center; }
@media (min-width: 768px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__nav ul { justify-content: center; }
}

/* ===== スマホ下部の固定バー ===== */
.sticky-bar {
  position: fixed; left: 0; right: 0; z-index: 40;
  bottom: var(--preview-badge-space); /* 確認用URLのバッジよけ（いまは 0px） */
  display: grid; grid-template-columns: 3fr 2fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 16px rgba(30, 35, 40, .08);
  transform: translateY(calc(100% + var(--preview-badge-space))); transition: transform .25s;
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__btn { min-height: 48px; padding: 6px 10px; font-size: 0.9375rem; box-shadow: none; }
/* 固定バーの分だけページ下に余白（フッターが隠れないように） */
body { padding-bottom: calc(64px + var(--preview-badge-space)); }
@media (min-width: 768px) {
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
}
