@charset "utf-8";
/* ==========================================================================
   カンプ共通スタイル
   すべての値は tokens.css を参照します。生の色・生のサイズは書きません。
   ========================================================================== */

/* --- リセット ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* ページ内リンクは滑らかに移動する（担当者の指示 2026-08-26）。
   動きを減らす設定の環境では、これまでどおり一瞬で移動します。 */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: var(--w-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-tight);
  color: var(--c-ink);
  background: var(--c-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); }
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-head); font-weight: var(--w-heavy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin-inline: 0; }   /* ブラウザ既定の左右 40px を外す（幅がそろわなくなるため） */
table { border-collapse: collapse; width: 100%; }

/* --- 器 ----------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--s-block); }
/* 薄い青の地は、細い斜めの破線模様にする（担当者の指示 2026-08-26）。
   線は青（--c-navy）・0.3px・左下がり（-45deg が「／」、45deg が「＼」）。
   破線は、地と同じ色の帯を線と直交方向に重ねて切って作ります（画像は使いません）。

   間隔が 9.8995px なのは、10px ちょうどだと1本おきに位置がずれて
   不均等に見えるためです。45度の線は、横方向の繰り返しが「間隔×√2」になります。
   9.8995px = 14px ÷ √2 なので横の繰り返しがちょうど 14px（整数）になり、
   どの線も同じ位置・同じ濃さで出ます。見た目は 10px と変わりません。
   破線の周期 8px は、1.5倍細かくする前の値に戻したものです（担当者の指示）。
   線の色は --c-navy の不透明度15%（担当者の指示）。 */
.section--tint {
  background-color: var(--c-tint);
  background-image:
    repeating-linear-gradient(45deg, var(--c-tint) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(-45deg, color-mix(in srgb, var(--c-navy) 15%, transparent) 0 0.3px, transparent 0.3px 9.8995px);
}
.section--tight { padding-block: var(--s-6); }
/* 下だけ 50px 詰める（担当者の指示 2026-08-26。FV下の3つのカードの下） */
.section--tight-bottom { padding-bottom: calc(var(--s-6) - 50px); }
.section__head { margin-bottom: var(--s-5); }
.section__title {
  font-size: var(--fs-section);
  font-weight: var(--w-bold);
  color: var(--c-headline);
  padding-bottom: var(--s-2);
  border-bottom: var(--bw-rule) solid var(--c-red);
  display: inline-block;
}
.section__lead {
  margin-top: var(--s-3);
  font-size: var(--fs-body);
  max-width: 46em;
}

/* --- ヘッダー ------------------------------------------------------------ */
.site-header {
  background: var(--c-white);
  color: var(--c-headline);
  border-bottom: var(--bw-head) solid var(--c-navy);
}
.site-header__inner {
  max-width: none;
  margin-inline: 0;
  padding: 0 0 0 var(--s-4);
  min-height: 76px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--s-3);
}
/* ロゴと社名は縮めない。ナビのほうを画面幅に応じて詰める（下の .site-nav）。
   「ログイン」が増えて 1280px でナビが収まらなくなったための指定（2026-08-26）。 */
.site-brand { display: flex; align-items: center; gap: var(--s-2); flex: 0 0 auto; }
.site-title a { white-space: nowrap; }
.site-logo-link { display: flex; flex: 0 0 auto; }
.site-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}
.site-title {
  margin: 0;
  font-size: var(--fs-lead);
  font-weight: var(--w-heavy);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.site-title a { color: var(--c-headline); text-decoration: none; }
.site-title__sub {
  display: block;
  font-family: var(--f-num);
  font-size: var(--fs-mini);
  letter-spacing: 0.14em;
  color: var(--c-navy);
  font-weight: var(--w-regular);
}
.site-nav {
  display: flex;
  /* 画面幅に応じて間隔と文字を詰める（1280px で9項目が収まる下限）。 */
  gap: clamp(8px, 0.9vw, 24px);
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}
.site-nav__link {
  color: var(--c-headline);
  text-decoration: none;
  font-size: clamp(12px, 0.95vw, calc(var(--fs-note) + 2px));
  font-weight: var(--w-bold);
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.site-nav__link:hover { color: var(--c-red); }
.site-nav__link--cta {
  background: var(--c-line-brand);
  color: var(--c-white);
  align-self: stretch;
  border-radius: 0;
  padding-inline: clamp(12px, 1.4vw, 32px);
  gap: var(--s-1);
}
.nav-logo { width: 24px; height: 24px; flex: 0 0 auto; }
.site-nav__link--cta:hover { color: var(--c-white); opacity: 0.85; }

/* ヘッダーのログイン導線（実装の merci_the_account_nav が出す class 名）。 */
.site-nav__login {
  gap: var(--s-1);
  padding-inline: var(--s-1);
  border: var(--bw-hair) solid var(--c-navy);
  border-radius: var(--r-sm);
  color: var(--c-navy-deep);
}
.site-nav__login:hover { background: var(--c-tint-weak); color: var(--c-navy-deep); }
.site-nav__login .site-nav__pict { display: block; width: 18px; height: 18px; }

/* ハンバーガーとメニューのピクトアイコンは、1023px 以下でだけ出す。 */
.nav-toggle { display: none; }
.site-nav__pict { display: none; width: 28px; height: 28px; flex: 0 0 auto; }

/* --- 帯 ----------------------------------------------------------------- */
.band { background: var(--c-navy-deep); color: var(--c-white); }
.band__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: var(--s-2) var(--pad-x);
  font-size: var(--fs-lead);
  font-weight: var(--w-heavy);
}
.band__mark { color: var(--c-yellow); }

/* --- ファーストビュー（全幅の写真＋白50%のパネル） ---------------------- */
.hero { position: relative; background: var(--c-tint); overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: var(--s-6) var(--pad-x);
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero__panel {
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  max-width: 40em;
}
.hero__eyebrow {
  display: inline-block;
  background: var(--c-red);
  color: var(--c-white);
  font-size: var(--fs-note);
  font-weight: var(--w-bold);
  padding: var(--s-1) var(--s-2);
  border-radius: var(--r-sm);
  margin-bottom: var(--s-3);
}
.hero__title {
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: var(--w-bold);
  color: var(--c-headline);
}
.hero__lead { margin-top: var(--s-3); font-size: var(--fs-body); color: var(--c-ink); }

/* --- 見出しまわりの小物 -------------------------------------------------- */
.kicker {
  font-size: var(--fs-note);
  font-weight: var(--w-heavy);
  color: var(--c-red);
  letter-spacing: 0.08em;
  margin-bottom: var(--s-1);
}
.em-red { color: var(--c-red); font-weight: var(--w-heavy); }
.em-yellow { color: var(--c-red); font-weight: var(--w-bold); }
.em-big { font-family: var(--f-num); font-size: var(--fs-hero-sub); line-height: 1; }
.lead { font-size: var(--fs-lead); font-weight: var(--w-bold); color: var(--c-navy-deep); }
.center { text-align: center; }
.note { font-size: var(--fs-note); color: var(--c-ink-weak); margin-top: var(--s-2); }
.note--mini { font-size: var(--fs-mini); }
.stack > * + * { margin-top: var(--s-3); }

/* --- ラベル ------------------------------------------------------------- */
.label {
  display: inline-block;
  font-size: var(--fs-note);
  font-weight: var(--w-heavy);
  padding: 2px var(--s-1);
  border-radius: var(--r-sm);
}
.label--red { background: var(--c-red); color: var(--c-white); }
.label--navy { background: var(--c-navy); color: var(--c-white); }
.label--tint { background: var(--c-tint); color: var(--c-navy-deep); }

/* --- ボタン ------------------------------------------------------------- */
.btn-row { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-4); justify-content: center; }
/* 並んでいるボタンは幅をそろえる。単独のボタンはそのまま。 */
.btn-row > .btn:not(:only-child) { flex: 1 1 0; min-width: 14em; }
.btn__logo { width: 24px; height: 24px; flex: 0 0 auto; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-size: var(--fs-body);
  font-weight: var(--w-heavy);
  text-decoration: none;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-md);
  border: var(--bw-hair) solid transparent;
  justify-content: center;
}
.btn--primary { background: var(--c-red); color: var(--c-white); }
.btn--navy { background: var(--c-navy-deep); color: var(--c-white); }
.btn--ghost {
  background: var(--c-white);
  color: var(--c-navy-deep);
  border-color: var(--c-navy-deep);
}
.btn--line { background: var(--c-line-brand); color: var(--c-white); }
.btn__arrow { font-family: var(--f-num); }

/* --- カード ------------------------------------------------------------- */
.cards { display: grid; gap: var(--s-3); }
.cards--1 { grid-template-columns: 1fr; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--c-white);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-xl);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.card--flat { background: var(--c-card); }
.card--row { flex-direction: row; align-items: flex-start; gap: var(--s-3); }
.card--nopad { padding: 0; overflow: hidden; }
.card__media { border-radius: var(--r-md); overflow: hidden; background: var(--c-tint-weak); }
.card__media--side { flex: 0 0 40%; }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.card__body--pad { padding: var(--s-3); }
.card__title { font-size: var(--fs-card-title); color: var(--c-navy-deep); }
.card__head { display: flex; align-items: center; gap: var(--s-2); }
.card__pict { width: 40px; height: 40px; flex: 0 0 auto; }
.card__title--sm { font-size: var(--fs-lead); }
.card__text { font-size: var(--fs-body); }
.card__num {
  font-family: var(--f-num);
  font-size: var(--fs-card-title);
  color: var(--c-red);
  line-height: 1;
}

/* --- 特長カード（白・角丸大・アイコン中央） ------------------------------ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.feature {
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--s-4) var(--s-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
}
.feature__icon { width: 72px; height: 72px; }
/* 支給された PNG のアイコン。枠は他のアイコンと同じ 72px。
   縦横比を変えない（＝加工しない）ため object-fit: contain で収める。 */
img.feature__icon { object-fit: contain; }
.feature__title { font-size: var(--fs-lead); color: var(--c-navy-deep); }
.feature__text { font-size: var(--fs-note); }

/* --- 商品グリッド（実装の class 名をそのまま使う） ----------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.product-card {
  background: var(--c-card);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.product-card__link { display: block; text-decoration: none; color: inherit; padding-bottom: var(--s-3); }
.product-card__thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card__thumb--empty {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-tint-weak);
  border-bottom: var(--bw-hair) dashed var(--c-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  padding: var(--s-3);
  text-align: center;
  font-size: var(--fs-note);
  color: var(--c-navy);
}
.product-card__title {
  font-size: var(--fs-lead);
  color: var(--c-navy-deep);
  margin: var(--s-3) var(--s-3) 0;
}
.product-card__price {
  font-family: var(--f-num);
  font-size: var(--fs-card-title);
  color: var(--c-red);
  margin: var(--s-2) var(--s-3) 0;
}
.product-card__tax { font-family: var(--f-sans); font-size: var(--fs-note); color: var(--c-ink); }
.product-card__shipping {
  font-size: var(--fs-note);
  color: var(--c-navy);
  margin: var(--s-1) var(--s-3) 0;
}

/* --- 納期区分のラベル -----------------------------------------------------
   class 名と区分のキーは実装のまま（merci_the_shipping_badge ／ Merci_Shipping）。
   商品カードでは画像の左上に重ねる（--on-thumb。担当者の指示 2026-08-26）。 */
.shipping-badge {
  display: inline-block;
  font-size: var(--fs-note);
  font-weight: var(--w-heavy);
  line-height: 1.2;
  padding: 6px var(--s-2);
  border-radius: var(--r-sm);
  border: var(--bw-hair) solid transparent;
}
.shipping-badge--on-thumb { position: absolute; top: var(--s-2); left: var(--s-2); z-index: 1; }
.shipping-badge--next_business_day { background: var(--c-navy-deep); color: var(--c-white); }
.shipping-badge--within_3_days { background: var(--c-navy); color: var(--c-white); }
.shipping-badge--within_5_days { background: var(--c-tint); color: var(--c-navy-deep); }
.shipping-badge--backorder { background: var(--c-white); color: var(--c-red); border-color: var(--c-red); }
.shipping-badge--contact { background: var(--c-gray-weak); color: var(--c-headline); }

/* --- 差し替え待ちの枠（商品の個体写真だけに使う） ------------------------ */
.ph {
  background: var(--c-tint-weak);
  border: var(--bw-hair) dashed var(--c-navy);
  border-radius: var(--r-md);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-1);
  min-height: 200px;
  text-align: center;
}
.ph__label {
  font-size: var(--fs-note);
  font-weight: var(--w-heavy);
  color: var(--c-red);
}
.ph__spec { font-size: var(--fs-note); color: var(--c-navy-deep); }

/* --- 表 ----------------------------------------------------------------- */
.table {
  background: var(--c-white);
  border: var(--bw-hair) solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: var(--fs-body);
}
.table th, .table td {
  padding: var(--s-2) var(--s-3);
  border-bottom: var(--bw-hair) solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
.table th {
  background: var(--c-tint-weak);
  color: var(--c-navy-deep);
  font-weight: var(--w-bold);
  white-space: nowrap;
}
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table td.table__num, .table th.table__num { font-family: var(--f-num); text-align: right; white-space: nowrap; }
.table__total th, .table__total td {
  background: var(--c-navy-deep);
  color: var(--c-white);
  font-weight: var(--w-heavy);
  font-size: var(--fs-lead);
}
.table--rates td:last-child {
  font-family: var(--f-num);
  font-size: var(--fs-card-title);
  color: var(--c-red);
  text-align: right;
}
/* 表の周りに線を出す（担当者の指示 2026-08-26）。太さはカードの線と同じ。
   角丸を出すため border-collapse を separate にする（collapse だと
   overflow:hidden に角が削られ、線が途切れて見える）。 */
.table--framed {
  border-collapse: separate;
  border-spacing: 0;
  border-width: var(--bw-card);
}
.table-scroll { overflow-x: auto; }

/* --- ステップ図 ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-2); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--c-white);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  position: relative;
}
.step--line { border-color: var(--c-navy); }
.step__num {
  font-family: var(--f-num);
  font-size: var(--fs-lead);
  color: var(--c-red);
  line-height: 1;
}
.step__icon { width: 44px; height: 44px; }
/* 番号・ピクトアイコン・見出しを1行に納める（担当者の指示 2026-08-26） */
.step__head { display: flex; align-items: center; gap: var(--s-1); flex-wrap: nowrap; }

/* --- 流れの図（カードの間に矢印）。列の数だけ 4／6 で分けます。 --------- */
.steps--flow { gap: 0; }
.steps--flow4 { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
.steps--flow6 { grid-template-columns: repeat(5, 1fr auto) 1fr; }
.steps--flow4 .step__num { color: var(--c-navy-deep); flex: 0 0 auto; }
.steps--flow4 .step__icon { width: 26px; height: 26px; flex: 0 0 auto; }
.steps--flow4 .step__title { font-size: var(--fs-note); white-space: nowrap; min-width: 0; }
.steps--flow4 .step__text { margin-top: var(--s-1); }
/* 6ステップはピクトアイコンを中央に置く（担当者の指示 2026-08-26） */
.steps--flow6 .step__icon { margin-inline: auto; }
/* カードの間の流れの印。色は本文と同じ。カードの線に重ねて、間隔をあけない
   （担当者の指示 2026-08-26）。重ねるので position と z-index を付けます。 */
.step-arrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: -6px;
  color: var(--c-ink);
  font-size: var(--fs-lead);
  line-height: 1;
}
.step-arrow::before { content: "▶"; }
/* 流れの図の下に置く図版は 50px あける（担当者の指示 2026-08-26） */
.steps--flow + .split { margin-top: 50px; }
.step__title { font-size: var(--fs-body); color: var(--c-navy-deep); font-weight: var(--w-heavy); }
.step__text { font-size: var(--fs-note); }

/* --- 図版まわり ---------------------------------------------------------- */
.figure {
  background: var(--c-white);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
}
.figure--tint { background: var(--c-tint-weak); }
/* 帯が伸びる・数値が増える（担当者の指示 2026-08-26）。
   画面に入った時点で comp.js が .is-on を付ける。動きを減らす設定のときは
   .is-instant も付き、最初から最後の状態で出す。 */
.speed__bar {
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-on .speed__bar { transform: scaleX(1); }
.is-instant .speed__bar { transition: none; }
.figure__svg { width: 100%; height: auto; display: block; }
.figure__title { font-size: var(--fs-lead); font-weight: var(--w-bold); color: var(--c-headline); }
.figure__lead { font-size: var(--fs-body); margin-top: var(--s-2); margin-bottom: var(--s-4); }

/* --- 3カラムの要約 ------------------------------------------------------- */
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.summary__col { display: flex; flex-direction: column; gap: var(--s-4); }
.summary__item { display: flex; flex-direction: column; gap: var(--s-2); }
.summary__title {
  font-size: var(--fs-lead);
  color: var(--c-navy-deep);
  padding-left: var(--s-2);
  border-left: var(--bw-rule) solid var(--c-red);
}
.summary__text { font-size: var(--fs-body); }

/* --- 割引の2枠・アフターの3枠（図版＋テキスト重ね） ---------------------- */
.tiles { display: grid; gap: var(--s-3); }
.tiles > li { display: flex; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile {
  background: var(--c-white);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-xl);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  text-align: center;
}
.tile__svg { width: 120px; height: 120px; }
.tile__small { font-size: var(--fs-note); color: var(--c-red); font-weight: var(--w-heavy); }
.tile__name { font-size: var(--fs-card-title); color: var(--c-navy-deep); }
.tile__num { font-family: var(--f-num); font-size: var(--fs-hero-sub); color: var(--c-red); line-height: 1; }

/* --- バナー風の2枠（トップ「おトクな割引制度」） ------------------------- */
.banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-xl);
  min-height: 160px;
  display: flex;
  align-items: center;
  padding: var(--s-4);
  text-decoration: none;
}
.banner--line { background: var(--c-line-brand); }
.banner--photo { background: var(--c-navy-deep); }
.banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.banner__body { position: relative; display: flex; flex-direction: column; gap: var(--s-1); }
.banner__head { display: flex; align-items: center; gap: var(--s-2); }
.banner__logo { width: 64px; height: 64px; }
.banner__small { font-size: var(--fs-body); font-weight: var(--w-bold); color: var(--c-white); }
.banner__name { font-size: var(--fs-card-title); font-weight: var(--w-heavy); color: var(--c-white); }
.banner__num { font-family: var(--f-num); font-size: var(--fs-hero-sub); line-height: 1; color: var(--c-yellow); }

/* --- チャットのモックアップ（SVG の入れ物） ------------------------------ */
.mock {
  background: var(--c-tint-weak);
  border-radius: var(--r-lg);
  padding: var(--s-3);
}
.mock__svg { width: 100%; height: auto; display: block; }

/* --- パンくず ------------------------------------------------------------ */
.breadcrumb {
  background: var(--c-tint-weak);
  border-bottom: var(--bw-hair) solid var(--c-line);
  padding-block: var(--s-2);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1);
  font-size: var(--fs-note);
  color: var(--c-ink-weak);
}
.breadcrumb__item { display: flex; align-items: center; gap: var(--s-1); }
.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  color: var(--c-line);
  font-weight: var(--w-bold);
}
.breadcrumb__link { color: var(--c-navy); text-decoration: none; }
.breadcrumb__link:hover { text-decoration: underline; }
.breadcrumb__item--current { color: var(--c-headline); font-weight: var(--w-bold); }

/* --- 2段組（図＋文） ----------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: start; }
.section__lead--flush { margin-top: 0; max-width: none; }
/* リード文をコンテンツ幅いっぱいに（担当者の指示 2026-08-26。ご購入方法ページ） */
.section__lead--wide { max-width: none; }
.split--wide-left { grid-template-columns: 1.4fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.4fr; }

/* --- FAQ（実装の class 名をそのまま使う） -------------------------------- */
.faq-page { display: flex; flex-direction: column; gap: var(--s-5); }
.faq-cta {
  background: var(--c-gray-weak);
  color: var(--c-headline);
}
.faq-cta__title {
  font-size: var(--fs-section);
  font-weight: var(--w-bold);
  color: var(--c-headline);
  padding-bottom: var(--s-2);
  border-bottom: var(--bw-rule) solid var(--c-red);
  display: inline-block;
}
/* リード文はコンテンツ幅いっぱい（担当者の指示 2026-08-26） */
.faq-cta__text { margin-top: var(--s-3); font-size: var(--fs-body); color: var(--c-headline); }
.pagination {
  display: flex;
  gap: var(--s-1);
  justify-content: center;
  align-items: center;
  margin-top: var(--s-4);
}
.pagination__link {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--s-2);
  border: var(--bw-hair) solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-navy-deep);
  font-weight: var(--w-bold);
  text-decoration: none;
}
.pagination__link--current {
  background: var(--c-navy-deep);
  color: var(--c-white);
  border-color: var(--c-navy-deep);
}
.pagination__gap { color: var(--c-ink-weak); padding-inline: var(--s-1); }
.page-title {
  font-size: var(--fs-section);
  font-weight: var(--w-bold);
  color: var(--c-headline);
  padding-bottom: var(--s-2);
  border-bottom: var(--bw-rule) solid var(--c-red);
}
.faq-search {
  background: var(--c-tint);
  border-radius: var(--r-lg);
  padding: var(--s-4);
}
.faq-search__row { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.faq-search__label { font-weight: var(--w-bold); color: var(--c-navy-deep); width: 100%; }
.faq-search__field {
  flex: 1 1 20em;
  font-size: var(--fs-body);
  font-family: var(--f-sans);
  padding: var(--s-2);
  border: var(--bw-hair) solid var(--c-navy);
  border-radius: var(--r-sm);
  background: var(--c-white);
}
.faq-search__submit {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: var(--w-heavy);
  color: var(--c-white);
  background: var(--c-red);
  border: 0;
  border-radius: var(--r-sm);
  padding: var(--s-2) var(--s-4);
  cursor: pointer;
}
.faq-results { display: flex; flex-direction: column; gap: var(--s-2); }
.faq-results__title { font-size: var(--fs-lead); color: var(--c-navy-deep); }
.faq-results__message { font-size: var(--fs-note); color: var(--c-ink-weak); }
.faq-section { display: flex; flex-direction: column; gap: var(--s-3); }
.faq-section__title {
  font-size: var(--fs-lead);
  color: var(--c-navy-deep);
  padding-left: var(--s-2);
  border-left: var(--bw-rule) solid var(--c-red);
}
.faq-list { display: flex; flex-direction: column; gap: var(--s-2); }
.faq-item {
  background: var(--c-card);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-3);
}
.faq-item__question { font-size: var(--fs-body); font-weight: var(--w-heavy); color: var(--c-navy-deep); }
.faq-item__answer { font-size: var(--fs-body); margin-top: var(--s-2); }
.faq-item__link { font-size: var(--fs-note); margin-top: var(--s-2); display: inline-block; }
.faq-item__meta { margin-top: var(--s-2); }
.faq-categories { display: block; }
.faq-categories__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.faq-categories__link {
  display: flex;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  justify-content: space-between;
  gap: var(--s-2);
  text-decoration: none;
  background: var(--c-white);
  border: var(--bw-hair) solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-2) var(--s-3);
  color: var(--c-navy-deep);
  font-weight: var(--w-bold);
  font-size: calc(var(--fs-note) + 4px);   /* 担当者の指示 2026-08-26 */
}
/* オンマウスで太線に変わる（担当者の指示 2026-08-26）。
   枠の太さを変えると位置がずれるため、内側の影で太らせています。 */
.faq-categories__link:hover, .faq-categories__link:focus-visible {
  background: var(--c-tint);
  border-color: var(--c-navy);
  box-shadow: inset 0 0 0 2px var(--c-navy);
}
/* 現在地は線の太さを他と同じにし、色だけ濃くする（担当者の指示 2026-08-26）。 */
.faq-categories__link--current {
  border-color: var(--c-navy-deep);
}
.faq-categories__name { min-width: 0; }
.faq-categories__count { font-family: var(--f-num); color: var(--c-red); }
.faq-chat-note {
  background: var(--c-navy-deep);
  color: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  font-size: var(--fs-body);
}

/* --- お知らせ（トップの新着3件・お知らせ一覧ページ） ---------------------- */
.news-list { display: flex; flex-direction: column; gap: var(--s-3); }
.news-item { border-bottom: var(--bw-hair) solid var(--c-line); padding-bottom: var(--s-3); }
.news-item__link {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  text-decoration: none;
  color: inherit;
}
.news-item__thumb {
  width: var(--thumb-news);
  height: var(--thumb-news);
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--r-md);
}
.news-item__thumb--empty {
  background: var(--c-tint-weak);
  border: var(--bw-hair) dashed var(--c-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  text-align: center;
}
.news-item__thumb-icon { width: 44px; height: 44px; }
.news-item__thumb-label { font-size: var(--fs-mini); color: var(--c-navy-deep); }
.news-item__body { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.news-item__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
.news-item__date { font-family: var(--f-num); font-size: var(--fs-note); color: var(--c-ink-weak); }
/* 太字にするのは見出しだけ（担当者の指示 2026-08-26） */
.news-item__title { font-size: var(--fs-lead); font-weight: var(--w-bold); color: var(--c-navy-deep); }
.news-item__excerpt { font-size: var(--fs-body); color: var(--c-ink); }
.news-item__link:hover .news-item__title { text-decoration: underline; }
/* トップの新着だけ小さくする（担当者の指示 2026-08-26）。お知らせページの一覧は 150×150 のまま。 */
.news-list--top .news-item__thumb { width: var(--thumb-news-top); height: var(--thumb-news-top); }

/* --- 下層の法務ページ（実装の class 名をそのまま使う） -------------------- */
.static-page__content { display: flex; flex-direction: column; gap: var(--s-4); }
.static-page__updated { font-size: var(--fs-note); color: var(--c-ink-weak); }
.entry-content { display: flex; flex-direction: column; gap: var(--s-3); font-size: var(--fs-body); }
.entry-content h2 {
  font-size: var(--fs-lead);
  color: var(--c-navy-deep);
  padding-left: var(--s-2);
  border-left: var(--bw-rule) solid var(--c-red);
  margin-top: var(--s-3);
}
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content li { margin-bottom: var(--s-1); }

/* --- マイページ（実装の class 名をそのまま使う） --------------------------
   出所: templates/account/*.php ／ template-parts/account/*.php。
   見出し・並び・文言も実装のとおり。ピクトアイコンだけカンプで足しています。 */
.account { display: flex; flex-direction: column; gap: var(--s-4); }
.account--narrow { max-width: 32em; margin-inline: auto; }
/* 既定はメニューを上に積む。注文の表は6列あり、左にメニューを置くと
   1280px では列がつぶれるため（実測: 注文日の欄が3行になる）。
   1440px 以上でだけ、左にメニューを置く2段組にします。 */
.account__layout { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.account__main { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }

/* 左のサイド（誰のアカウントか＋メニュー） */
.account__side {
  background: var(--c-card);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.account-user { font-size: var(--fs-note); color: var(--c-ink-weak); line-height: 1.6; }
.account-user strong { display: inline-block; font-size: var(--fs-body); color: var(--c-navy-deep); }
.account-nav { display: flex; flex-wrap: wrap; }
.account-nav > li + li { border-left: var(--bw-dot) dotted var(--c-navy); }
.account-nav a {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 52px;
  padding-inline: var(--s-1);
  color: var(--c-navy-deep);
  font-weight: var(--w-bold);
  text-decoration: none;
  transition: background-color 0.25s ease;
}
.account-nav a:hover { background: var(--c-tint); }
.account-nav__pict { width: 24px; height: 24px; flex: 0 0 auto; }
.account-nav > li.is-current a { background: var(--c-tint); color: var(--c-navy-deep); }
.account-nav > li.is-current a { box-shadow: inset 0 -4px 0 var(--c-red); }

/* 1440px 以上: メニューを左の列に置く */
@media (min-width: 1440px) {
  .account__layout { grid-template-columns: 17em 1fr; gap: var(--s-5); align-items: start; }
  .account-nav { flex-direction: column; flex-wrap: nowrap; }
  .account-nav > li + li { border-left: 0; border-top: var(--bw-dot) dotted var(--c-navy); }
  .account-nav > li.is-current a { box-shadow: inset 4px 0 0 var(--c-red); }
}

/* 見出し */
.account__section-title {
  font-size: var(--fs-lead);
  color: var(--c-navy-deep);
  padding-left: var(--s-2);
  border-left: var(--bw-rule) solid var(--c-red);
  margin-top: var(--s-4);
  margin-bottom: var(--s-2);
}
.account__section-title--sub { font-size: var(--fs-body); border-left-width: var(--bw-card); }

/* 注文の表 */
.account-orders__wrap { overflow-x: auto; }
.account-orders {
  background: var(--c-white);
  border: var(--bw-card) solid var(--c-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--r-md);
  font-size: var(--fs-note);
}
.account-orders th, .account-orders td {
  padding: var(--s-2);
  border-bottom: var(--bw-hair) solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
.account-orders thead th { background: var(--c-tint-weak); color: var(--c-navy-deep); white-space: nowrap; }
.account-orders tbody tr:last-child th, .account-orders tbody tr:last-child td { border-bottom: 0; }
.account-orders__num { font-family: var(--f-num); text-align: right; white-space: nowrap; }
.account-orders td a { font-family: var(--f-num); font-weight: var(--w-bold); }
.account-form__hint { display: block; font-size: var(--fs-mini); color: var(--c-ink-weak); margin-top: 2px; }

/* 状況のラベル */
.account-status {
  display: inline-block;
  font-size: var(--fs-mini);
  font-weight: var(--w-heavy);
  line-height: 1.2;
  padding: 5px var(--s-2);
  border-radius: var(--r-sm);
  border: var(--bw-hair) solid transparent;
}
.account-status--awaiting { background: var(--c-white); color: var(--c-red); border-color: var(--c-red); }
.account-status--link-sent { background: var(--c-gray-weak); color: var(--c-headline); }
.account-status--paid, .account-status--preparing { background: var(--c-tint); color: var(--c-navy-deep); }
.account-status--shipped { background: var(--c-navy-deep); color: var(--c-white); }
.account-status--cancelled { background: var(--c-gray-weak); color: var(--c-ink-weak); }

/* 内訳・会員情報の定義リスト */
.account-summary {
  display: grid;
  grid-template-columns: 14em 1fr;
  gap: var(--s-1) var(--s-3);
  margin: 0;
  font-size: var(--fs-body);
  background: var(--c-tint-weak);
  border-radius: var(--r-md);
  padding: var(--s-3);
}
.account-summary dt { color: var(--c-navy-deep); font-weight: var(--w-bold); }
.account-summary dd { margin: 0; min-width: 0; }
.account-summary--amount dd { font-family: var(--f-num); text-align: right; }
.account-address { white-space: pre-line; }

/* 呼びかけの枠（入金待ちなど） */
.account-alert {
  background: var(--c-white);
  border: var(--bw-card) solid var(--c-red);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.account-alert > .account__section-title { margin-top: 0; }
.account-empty { font-size: var(--fs-body); color: var(--c-ink-weak); }
.account-hint { font-size: var(--fs-note); color: var(--c-ink-weak); }
.account-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); font-size: var(--fs-note); }

/* ボタン */
.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--s-2) var(--s-4);
  border: var(--bw-hair) solid var(--c-navy-deep);
  border-radius: var(--r-md);
  background: var(--c-white);
  color: var(--c-navy-deep);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: var(--w-heavy);
  letter-spacing: var(--ls-tight);
  text-decoration: none;
  cursor: pointer;
}
.account-button:hover { background: var(--c-tint); }
.account-button--small { min-height: 36px; padding: var(--s-1) var(--s-2); font-size: var(--fs-note); }
.account-docs { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.account-docs__redownload { margin: 0; }
.account-docs__reissue { display: inline-block; margin-left: var(--s-1); color: var(--c-red); }
.account-docs-form { gap: var(--s-2); }
.account-docs-history td { vertical-align: middle; }

/* フォーム */
.account-form { display: flex; flex-direction: column; gap: var(--s-3); }
.account-form__field { display: flex; flex-direction: column; gap: var(--s-1); }
.account-form__field label { font-weight: var(--w-bold); color: var(--c-navy-deep); font-size: var(--fs-note); }
.account-form__field input[type="text"],
.account-form__field input[type="email"],
.account-form__field input[type="tel"],
.account-form__field input[type="password"] {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  padding: var(--s-2);
  border: var(--bw-hair) solid var(--c-navy);
  border-radius: var(--r-sm);
  background: var(--c-white);
  min-height: 48px;
}
.account-form__field--check label { display: flex; align-items: flex-start; gap: var(--s-1); font-weight: var(--w-regular); font-size: var(--fs-body); color: var(--c-ink); }
.account-form__field--check input { margin-top: 4px; width: 20px; height: 20px; flex: 0 0 auto; }
.account-form__required { color: var(--c-red); }
.account-form__error { display: block; font-size: var(--fs-note); color: var(--c-red); font-weight: var(--w-bold); }
.account-form__group { display: flex; flex-direction: column; gap: var(--s-3); }
.account-form__billing {
  background: var(--c-tint-weak);
  border-radius: var(--r-md);
  padding: var(--s-3);
}
.account-form__submit-row { margin: 0; }
.account-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: var(--s-2) var(--s-6);
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--f-sans);
  font-size: var(--fs-lead);
  font-weight: var(--w-heavy);
  letter-spacing: var(--ls-tight);
  cursor: pointer;
}
.account-form__submit:hover { opacity: 0.88; }

/* 案内の帯（決済からの戻り・保存の結果） */
.checkout-notice {
  border-radius: var(--r-md);
  padding: var(--s-3);
  font-size: var(--fs-body);
  border: var(--bw-card) solid var(--c-line);
  background: var(--c-tint-weak);
}
.checkout-notice--success { border-color: var(--c-navy); background: var(--c-tint-weak); }
.checkout-notice--info { border-color: var(--c-line); }
.checkout-notice--error { border-color: var(--c-red); background: var(--c-white); color: var(--c-red); font-weight: var(--w-bold); }

/* --- 会員登録のハニーポット ------------------------------------------------
   出所: templates/account/register.php。ボット対策の欄で、人には見せません。
   display:none にすると読み飛ばすボットがあるため、画面外に逃がして隠します。 */
.account-form__field--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 取り消しのボタン（ご注文のキャンセル）。押し間違いを避けるため、
   通常の送信ボタン（赤ベタ）より弱く、白地＋赤枠にします。 */
.account-form__submit--danger {
  background: var(--c-white);
  color: var(--c-red);
  border: var(--bw-dot) solid var(--c-red);
  min-height: 52px;
  font-size: var(--fs-body);
}
.account-form__submit--danger:hover { background: var(--c-red); color: var(--c-white); opacity: 1; }

/* --- 質問ページの「関連する質問」 ------------------------------------------
   出所: single-merci_faq.php。リセットで ul の点を消しているため、
   ここで行の形を作ります。他のリンクの一覧（.account-links）と同じ組み方。 */
.faq-related {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.faq-related > li::before {
  content: "\25B6";
  color: var(--c-red);
  font-size: var(--fs-note);
  margin-right: var(--s-1);
}

/* --- ご購入手続き（銀行振込） ----------------------------------------------
   出所: templates/order/bank-transfer-form.php ／ bank-transfer-complete.php。
   マークアップは実装のとおりで、ここでは見え方だけを決めています
   （実装の class 名を変えていないため、テンプレートの変更は要りません）。
   組み方はマイページ（.account-*）と同じ語彙にそろえています。 */
.bank-form,
.bank-complete { display: flex; flex-direction: column; gap: var(--s-4); }

/* 左に「ご注文内容」、右に入力欄。1024px 未満は縦に積む。
   縦のときも DOM の順（内容 → 入力）のままで、何を買うのかを先に見せる。 */
.bank-form__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
@media (min-width: 1024px) {
  .bank-form__layout { grid-template-columns: minmax(0, 24em) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
}

/* 注文内容の枠 */
.bank-form__summary {
  background: var(--c-card);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-3);
}
.bank-form__section-title {
  font-size: var(--fs-lead);
  color: var(--c-navy-deep);
  padding-left: var(--s-2);
  border-left: var(--bw-rule) solid var(--c-red);
  margin-top: var(--s-4);
  margin-bottom: var(--s-2);
}
.bank-form__summary > .bank-form__section-title:first-child,
.bank-form__form > .bank-form__section-title:first-of-type,
.bank-complete__account > .bank-form__section-title { margin-top: 0; }

.bank-form__items,
.bank-form__totals {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--fs-note);
}
.bank-form__items th,
.bank-form__items td,
.bank-form__totals th,
.bank-form__totals td {
  padding: var(--s-1) 0;
  border-bottom: var(--bw-hair) solid var(--c-line);
  text-align: left;
  vertical-align: top;
  font-weight: var(--w-regular);
}
.bank-form__items th { color: var(--c-navy-deep); font-weight: var(--w-bold); }
.bank-form__item-options {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-mini);
  font-weight: var(--w-regular);
  color: var(--c-ink-weak);
}
.bank-form__num { font-family: var(--f-num); text-align: right; white-space: nowrap; }
.bank-form__totals { margin-top: var(--s-2); }
.bank-form__totals th { color: var(--c-ink-weak); }
.bank-form__total th,
.bank-form__total td {
  border-bottom: 0;
  border-top: var(--bw-dot) solid var(--c-navy);
  padding-top: var(--s-2);
  color: var(--c-navy-deep);
  font-size: var(--fs-body);
  font-weight: var(--w-heavy);
}
.bank-form__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-1) var(--s-3);
  margin: var(--s-3) 0 0;
  font-size: var(--fs-note);
}
.bank-form__meta dt { color: var(--c-navy-deep); font-weight: var(--w-bold); }
.bank-form__meta dd { margin: 0; }
.bank-form__notes {
  margin: var(--s-3) 0 0;
  padding-left: 1.3em;
  list-style: disc;
  font-size: var(--fs-note);
  color: var(--c-ink-weak);
  line-height: 1.6;
}
.bank-form__notes > li + li { margin-top: var(--s-1); }

/* 入力欄（マイページのフォームと同じ作り） */
.bank-form__form { display: flex; flex-direction: column; gap: var(--s-3); }
.bank-form__required-note { margin: 0; font-size: var(--fs-note); color: var(--c-ink-weak); }
.bank-form__required { color: var(--c-red); }
.bank-form__field { display: flex; flex-direction: column; gap: var(--s-1); margin: 0; }
.bank-form__field label { font-weight: var(--w-bold); color: var(--c-navy-deep); font-size: var(--fs-note); }
.bank-form__field input[type="text"],
.bank-form__field input[type="email"],
.bank-form__field input[type="tel"] {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  padding: var(--s-2);
  border: var(--bw-hair) solid var(--c-navy);
  border-radius: var(--r-sm);
  background: var(--c-white);
  min-height: 48px;
}
.bank-form__field--check label {
  display: flex;
  align-items: flex-start;
  gap: var(--s-1);
  font-weight: var(--w-regular);
  font-size: var(--fs-body);
  color: var(--c-ink);
}
.bank-form__field--check input[type="checkbox"] {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.bank-form__hint { display: block; font-size: var(--fs-mini); color: var(--c-ink-weak); }
.bank-form__error { margin: 0; font-size: var(--fs-note); color: var(--c-red); font-weight: var(--w-bold); }
.bank-form__group { display: flex; flex-direction: column; gap: var(--s-3); }
.bank-form__billing {
  background: var(--c-tint-weak);
  border-radius: var(--r-md);
  padding: var(--s-3);
}
.bank-form__billing[hidden] { display: none; }
.bank-form__submit-row { margin: var(--s-2) 0 0; }
.bank-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: var(--s-2) var(--s-5);
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--f-sans);
  font-size: var(--fs-lead);
  font-weight: var(--w-heavy);
  letter-spacing: var(--ls-tight);
  cursor: pointer;
}
.bank-form__submit:hover { opacity: 0.88; }
/* 送信するとテンプレートが disabled にする（二重送信の防止）。押せないことを見せる。 */
.bank-form__submit:disabled { background: var(--c-ink-weak); cursor: default; opacity: 1; }

/* 法務ページへのリンク（手続きの決定点に置く） */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-3);
  margin: 0;
  font-size: var(--fs-note);
}
.legal-links a { color: var(--c-ink-weak); text-decoration: underline; }
.bank-form__legal { margin-top: var(--s-3); justify-content: center; }

/* 受け付け完了 */
.bank-complete__summary {
  display: grid;
  grid-template-columns: 12em 1fr;
  gap: var(--s-2) var(--s-3);
  margin: 0;
  padding: var(--s-3);
  background: var(--c-tint-weak);
  border-radius: var(--r-md);
  font-size: var(--fs-body);
}
.bank-complete__summary dt { color: var(--c-navy-deep); font-weight: var(--w-bold); }
.bank-complete__summary dd { margin: 0; min-width: 0; }
.bank-complete__summary dd strong {
  font-family: var(--f-num);
  font-size: var(--fs-lead);
  color: var(--c-navy-deep);
}
/* 振込先は、この画面でいちばん見たいもの。赤枠で立てる。 */
.bank-complete__account-lines {
  list-style: none;
  margin: 0;
  padding: var(--s-3);
  background: var(--c-white);
  border: var(--bw-card) solid var(--c-red);
  border-radius: var(--r-md);
  font-size: var(--fs-lead);
  font-weight: var(--w-bold);
  color: var(--c-navy-deep);
  line-height: 1.5;
}
.bank-complete__note { margin: var(--s-2) 0 0; font-size: var(--fs-note); }
.bank-complete__back { margin: 0; }

@media (max-width: 599px) {
  /* 見出しの語が長く（「お振込金額（税込）」など）、12em では値が入らない */
  .bank-complete__summary { grid-template-columns: 1fr; gap: 2px; }
  .bank-complete__summary dt + dd { margin-bottom: var(--s-2); }
  .bank-form__summary { padding: var(--s-2); }
  /* 明細は、商品名を1行目に置き、台数と金額を2行目に分ける。
     3列のままだと商品名の折り返しに台数・金額が食い込んで読めない。 */
  .bank-form__items tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    border-bottom: var(--bw-hair) solid var(--c-line);
  }
  .bank-form__items th { grid-column: 1 / -1; border-bottom: 0; padding-bottom: 2px; }
  .bank-form__items td { border-bottom: 0; padding-top: 0; }
  .bank-form__items td:first-of-type { text-align: left; }
}

/* --- LINE の誘い（実装のフッター直前の部品） ----------------------------- */
.line-invite {
  background: var(--c-navy);
  color: var(--c-white);
  padding: var(--s-4) 0;
}
.line-invite__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;   /* 中央揃え（担当者の指示 2026-08-26） */
  text-align: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.line-invite__text { font-size: var(--fs-lead); font-weight: var(--w-heavy); }
.line-invite .btn-row { margin-top: 0; }

/* --- フッター ------------------------------------------------------------ */
.site-footer { background: var(--c-navy-deep); color: var(--c-white); }
.site-footer__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: var(--s-5) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.site-footer__nav { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.site-footer__link { color: var(--c-white); font-size: var(--fs-note); text-decoration: none; }
.site-footer__link:hover { color: var(--c-yellow); }
.site-footer__info { font-size: var(--fs-note); color: var(--c-tint); }
.site-footer__copyright { font-size: var(--fs-mini); color: var(--c-tint); }

/* --- チャットボットの常設ボタンのアイコン（担当者の指示 2026-08-26） -------
   大きさ・色・位置は実装（chatbot.css）のまま。中身を横並びにするための
   指定と、アイコンの大きさだけをカンプ側で足しています。 */
.merci-chatbot-launcher { display: inline-flex; align-items: center; gap: var(--s-1); }
.merci-chatbot-launcher__icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* --- スマートフォンの画面下に常に出す2列のCTA（担当者の指示 2026-08-26） -- */
.sp-cta { display: none; }
.sp-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  min-height: var(--sp-cta-h);
  padding: var(--s-1);
  border: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-note);
  font-weight: var(--w-heavy);
  line-height: 1.2;
  letter-spacing: var(--ls-tight);
  text-align: center;
  text-decoration: none;
  color: var(--c-white);
  cursor: pointer;
}
.sp-cta__btn--line { background: var(--c-line-brand); }
.sp-cta__btn--chat { background: var(--c-navy-deep); }
.sp-cta__logo { width: 24px; height: 24px; flex: 0 0 auto; }
.sp-cta__label { min-width: 0; }

/* --- カンプ一覧 ---------------------------------------------------------- */
.comp-index { padding-block: var(--s-6); }
.comp-index__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.comp-index__link {
  display: block;
  background: var(--c-card);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-3);
  text-decoration: none;
  color: var(--c-navy-deep);
  font-weight: var(--w-bold);
}
.comp-index__no { font-family: var(--f-num); color: var(--c-red); margin-right: var(--s-1); }
.comp-index__note { display: block; font-size: var(--fs-note); font-weight: var(--w-regular); color: var(--c-ink); margin-top: var(--s-1); }


/* --- 吹き出し（リユースPCについて FV の3つの不安） ---------------------- */
.bubbles { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); }
.bubble {
  position: relative;
  align-self: flex-start;
  background: var(--c-white);
  color: var(--c-ink);
  border-radius: var(--r-lg);
  padding: var(--s-2) var(--s-3);
  font-size: var(--fs-body);
  font-weight: var(--w-bold);
  max-width: 34em;
}
.bubble::after {
  content: "";
  position: absolute;
  left: var(--s-4);
  bottom: -8px;
  border-top: 10px solid var(--c-white);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

/* --- カードの補助 -------------------------------------------------------- */
.card__link-row { font-size: var(--fs-note); margin-top: auto; }
.card--wide { align-items: center; }
.card__price {
  font-family: var(--f-num);
  font-size: var(--fs-hero-sub);
  line-height: 1;
  color: var(--c-red);
}
.card__price-tax {
  font-family: var(--f-sans);
  font-size: var(--fs-note);
  color: var(--c-ink);
  margin-left: var(--s-1);
}
.deflist {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-1) var(--s-2);
  font-size: var(--fs-note);
}
.deflist dt { color: var(--c-navy-deep); font-weight: var(--w-bold); }
.deflist dd { margin: 0; }

/* --- 図版の中の写真・アイコン -------------------------------------------- */
.figure__img { width: 100%; border-radius: var(--r-md); }
.fig-icon { width: 96px; height: 96px; }

/* --- 小見出し（セクション見出しの下の段） -------------------------------- */
.subhead {
  font-size: var(--fs-lead);
  color: var(--c-navy-deep);
  padding-left: var(--s-2);
  border-left: var(--bw-rule) solid var(--c-red);
  margin-top: var(--s-5);
  margin-bottom: var(--s-3);
}

/* --- 条件表（行ごとにアイコン） ------------------------------------------ */
.table--cond th { white-space: normal; }
.th-icon { display: inline-flex; vertical-align: middle; margin-right: var(--s-1); }
.table__icon { width: 24px; height: 24px; }

/* --- 商品ページ（実装の class 名をそのまま使う） --------------------------
   出所: single-merci_product.php ／ template-parts/product/*.php ／
        inc/template-functions.php（価格・発送区分の出力）。
   並びも実装のとおり: 見出し → ギャラリー → 価格 → 発送区分 → 本文 →
   スペック → オプション → 保証情報 → ご購入。
   カンプでは、ギャラリーと価格・発送・ご購入を2段組にして上にまとめています。 */
.product-detail { display: flex; flex-direction: column; }
.product-detail__header { margin-bottom: var(--s-5); }
.product-detail__code { font-size: var(--fs-note); color: var(--c-ink-weak); margin-top: var(--s-2); }
.product-detail__lead { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-5); align-items: start; }
.product-detail__buy { display: flex; flex-direction: column; gap: var(--s-3); }

/* ギャラリー（メイン1枚＋サムネイル。実装は JS で差し替え） */
.product-gallery { display: flex; flex-direction: column; gap: var(--s-2); }
.product-gallery__main {
  background: var(--c-tint-weak);
  border: var(--bw-card) dashed var(--c-navy);
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4);
  text-align: center;
}
.product-gallery__shot {
  font-size: var(--fs-card-title);
  font-weight: var(--w-heavy);
  color: var(--c-navy-deep);
}
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-1); }
.product-gallery__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: var(--s-1);
  border: var(--bw-hair) solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-navy-deep);
  text-decoration: none;
  text-align: center;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-gallery__thumb:hover { background: var(--c-tint); border-color: var(--c-navy); }
.product-gallery__thumb.is-active {
  border-color: var(--c-navy-deep);
  box-shadow: inset 0 0 0 2px var(--c-navy-deep);
}
.product-gallery__thumb-label { font-size: var(--fs-mini); font-weight: var(--w-bold); }

/* 価格・発送区分（出力の形は inc/template-functions.php のとおり） */
.product-detail__price { margin: 0; }
/* 税抜を大きく、税込を下の行に置く。実装の出力は「税抜 / 税込」の1行で、
   区切りの「/」は素のテキストです。2行に分けると宙に浮くため、
   親を font-size: 0 にして消し、金額は各 span で大きさを指定しています。 */
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1); font-size: 0; }
.product-price__ex {
  font-family: var(--f-num);
  font-size: var(--fs-hero-sub);
  line-height: 1;
  color: var(--c-red);
}
.product-price__in { flex-basis: 100%; font-size: var(--fs-body); color: var(--c-ink); }
.product-detail__shipping { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1); }
.shipping-estimate { font-size: var(--fs-body); font-weight: var(--w-bold); color: var(--c-navy-deep); }
.shipping-estimate__note { font-size: var(--fs-note); color: var(--c-ink-weak); }

/* 各セクション */
.product-detail__section { margin-top: var(--s-5); }
.product-detail__section-title {
  font-size: var(--fs-lead);
  color: var(--c-navy-deep);
  padding-left: var(--s-2);
  border-left: var(--bw-rule) solid var(--c-red);
  margin-bottom: var(--s-3);
}
.product-spec th { width: 12em; }
.product-options { display: flex; flex-direction: column; gap: var(--s-2); }
.product-options > li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-1) var(--s-3);
  background: var(--c-card);
  border: var(--bw-card) solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-2) var(--s-3);
}
.product-options__name { font-weight: var(--w-bold); color: var(--c-navy-deep); min-width: 0; }
.product-options__price { font-family: var(--f-num); color: var(--c-red); white-space: nowrap; }
.product-warranty { font-size: var(--fs-body); }

/* ご購入（実装は button でチャットボットを開く） */
.product-purchase { margin-top: var(--s-2); }
.product-purchase__cta-row { margin: 0; }
.product-purchase__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  width: 100%;
  min-height: 60px;
  padding: var(--s-2) var(--s-4);
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--f-sans);
  font-size: var(--fs-lead);
  font-weight: var(--w-heavy);
  letter-spacing: var(--ls-tight);
  cursor: pointer;
}
.product-purchase__cta:hover { opacity: 0.88; }
.product-purchase__note { font-size: var(--fs-note); color: var(--c-ink-weak); margin-top: var(--s-2); }

/* ==========================================================================
   画面幅（375 / 768 / 1280 / 1920 で確認）
   ========================================================================== */
/* ヘッダーの切り替えだけ、段組みより先に効かせる（1280px 未満）。 */
@media (max-width: 1279px) {
  /* ヘッダーはハンバーガーメニューにする（担当者の指示 2026-08-26）。
     1279px 以下で切り替える。ナビが1行に収まらなくなるのが 1280px 未満のため。
     （2026-08-26 修正。1023px 以下にしていたが、1024px で横に溢れていた。
     実測 scrollWidth 1227 > clientWidth 1009。段組みの切り替えは 1023px 以下のまま。） */
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: var(--s-2) var(--pad-x);
    gap: var(--s-2);
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    margin-left: auto;
    min-height: 44px;
    padding-inline: var(--s-3);
    background: var(--c-white);
    border: var(--bw-hair) solid var(--c-navy);
    border-radius: var(--r-sm);
    color: var(--c-navy-deep);
    font-family: var(--f-sans);
    font-size: var(--fs-note);
    font-weight: var(--w-bold);
    letter-spacing: var(--ls-tight);
    cursor: pointer;
  }
  .nav-toggle__bars { display: flex; flex-direction: column; gap: 4px; width: 20px; }
  .nav-toggle__label { white-space: nowrap; }
  .nav-toggle__bar { display: block; height: 3px; border-radius: 2px; background: var(--c-navy); }
  /* 展開後の地は薄いブルー。項目の区切りは点線（担当者の指示）。 */
  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-left: 0;
    background: var(--c-tint);
    border-radius: var(--r-md);
    padding-inline: var(--s-3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { gap: var(--s-2); min-height: 52px; font-size: var(--fs-body); }
  .site-nav__link + .site-nav__link { border-top: var(--bw-dot) dotted var(--c-navy); }
  .site-nav__pict { display: block; }
  .site-nav .site-nav__link--cta {
    border-top: 0;
    align-self: stretch;
    margin-block: var(--s-2);
    padding-inline: var(--s-2);
    border-radius: var(--r-sm);
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  .cards--4, .cards--5, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .cards--3, .product-grid, .summary, .tiles--3, .faq-categories__list,
  .comp-index__list { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .product-detail__lead { grid-template-columns: 1fr; }
  .account__layout { grid-template-columns: 1fr; gap: var(--s-3); }
  .account-summary { grid-template-columns: 1fr; }
  .account-summary dt { margin-top: var(--s-1); }
  .account-summary--amount dd { text-align: left; }

  /* 流れの図は縦に積み、間の印を▼にする（担当者の指示）。 */
  .steps--flow4, .steps--flow6 { grid-template-columns: 1fr; }
  .steps--flow4 .step__icon { width: 32px; height: 32px; }
  .steps--flow4 .step__title { font-size: var(--fs-body); }
  .step-arrow { margin-inline: 0; margin-block: -6px; }
  .step-arrow::before { content: "▼"; }
  .news-item__head { gap: var(--s-1); flex-direction: column; }
}

@media (max-width: 767px) {
  .cards--2, .cards--3, .cards--4, .cards--5,
  .features, .steps, .product-grid, .summary,
  .tiles--2, .tiles--3, .faq-categories__list, .comp-index__list {
    grid-template-columns: 1fr;
  }
  /* マイページのメニューは縦に積む（折り返すと区切りの点線が行頭に出るため）。 */
  .account-nav { flex-direction: column; flex-wrap: nowrap; }
  .account-nav > li + li { border-left: 0; border-top: var(--bw-dot) dotted var(--c-navy); }
  .account-nav > li.is-current a { box-shadow: inset 4px 0 0 var(--c-red); }
  .card--row { flex-direction: column; }
  .card__media--side { flex: 1 1 auto; width: 100%; }
  .tile__svg { width: 88px; height: 88px; }
  /* 画面下のCTAの分だけ、ページの下に余白を置く（本文が隠れないように）。 */
  body { padding-bottom: var(--sp-cta-h); }
  .sp-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99980;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--bw-hair);
    background: var(--c-line);
    border-top: var(--bw-hair) solid var(--c-line);
  }
  /* スマートフォンではPC用の常設ボタンを出さない。入口は画面下のCTAの
     「チャットで質問・購入」に一本化する（担当者の指示 2026-08-26）。 */
  .merci-chatbot-launcher { display: none; }
  /* フッターも出さない。CTA（画面下の2列・LINEの誘い）は残す（担当者の指示）。 */
  .site-footer { display: none; }
  .news-item__link { gap: var(--s-2); }
}

/* PC では表の幅を縮めて中央に置く（担当者の指示 2026-08-26。お得な購入割引ページ）。
   幅 77%（＝826px）は、3つの表のどれも行が折り返さないぎりぎりの値です
   （必要なのは「割引の併用」820px・「ご利用の条件」822px。実測）。 */
@media (min-width: 1024px) {
  .table-scroll--75 { width: 77%; margin-inline: auto; }
}

@media (min-width: 1920px) {
  .wrap, .hero__inner, .band__inner,
  .site-footer__inner, .line-invite__inner { max-width: 1280px; }
}
