/* SitePick — 自動生成（scripts/build.mjs）。編集しない。source は assets/css/ の分割ファイル。 */

/* ==== foundation/_reset.css ==== */
/* foundation/reset — 最小リセット */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

img,
picture,
video,
canvas,
svg,
iframe {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

/* ==== foundation/_tokens.css ==== */
/* foundation/tokens — デザイントークン（正。theme.json は補助）。docs/05 §2 */

:root {
  /* color */
  --sp-bg: #fff;
  --sp-ink: #333;
  --sp-ink-soft: #5c5c5c;
  --sp-muted: #6b6b6b;
  --sp-label: #8a8a8a;
  --sp-line: rgba(51, 51, 51, 0.12);
  --sp-line-strong: rgba(51, 51, 51, 0.26);
  --sp-rule: rgba(51, 51, 51, 0.42);
  --sp-accent: #b84b34;
  --sp-accent-ink: #a23f28;
  --sp-accent-soft: rgba(184, 75, 52, 0.09);
  --sp-dark: #333;

  /* type */
  /* 基本フォントは Noto Sans（和欧ともに Noto に統一）。 */
  --sp-font-sans: "Noto Sans JP", "Noto Sans", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  --sp-fs-body: 16px;
  --sp-fs-body-sp: 14px;
  --sp-fs-support: 15px;
  --sp-fs-meta: 13px;
  --sp-fs-label: 11px;
  --sp-lh-body: 1.8;
  --sp-lh-tight: 1.6;
  --sp-fs-h1-max: 64px;

  /* layout */
  --sp-max: 1660px;
  --sp-side: clamp(24px, 5vw, 92px);
  --sp-section-space: clamp(112px, 11vw, 192px);
  /* SP のセクション間余白は下の @media で 64px に上書き（2026-09-08 人間指示）。 */

  /* motion */
  --sp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sp-dur: 0.9s;
}

@media (max-width: 768px) {
  :root {
    --sp-section-space: 64px;
  }
}

/* ==== foundation/_base.css ==== */
/* foundation/base — 要素の既定スタイル */

html {
  background: var(--sp-bg);
  scroll-behavior: smooth;
}

body {
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: var(--sp-font-sans);
  font-size: var(--sp-fs-body);
  font-weight: 400;
  line-height: var(--sp-lh-body);
  letter-spacing: 0.012em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;

  /* 保険（FV ギャラリーの rotate/scale bleed 等の想定外の横はみ出しを止める）。
     Phase 10 の 375px 実機 QA で一時的に外し、原因を特定・修正してから
     必要性を再評価する（docs/13 §10）。意図的な内側スクロール
     （`.p-compare__scroll` 等）はこの影響を受けない。 */
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    font-size: var(--sp-fs-body-sp);
  }
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-feature-settings: "palt" 1;
  text-wrap: balance;
}

a {
  text-decoration-color: var(--sp-line-strong);
  text-underline-offset: 0.15em;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 2px;
  border-radius: 1px;
}

:target {
  scroll-margin-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==== layout/_container.css ==== */
/* layout/container — 中央寄せコンテナ */

.l-container {
  width: min(100%, var(--sp-max));
  margin-inline: auto;
  padding-inline: var(--sp-side);
}

/* ==== layout/_header.css ==== */
/* layout/header — サイトヘッダー */

.l-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--sp-bg) 92%, transparent);
  border-bottom: 1px solid var(--sp-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.l-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.l-header__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;

  /* ロゴを左端に、ナビ / アイコン / CTA を右側へひとまとめにする
     （space-between だと tools↔cta の間隔だけ極端に広くなるため）。 */
  margin-right: auto;

  /* ロゴ（inline-flex の <a> + block の <img>）が行ボックスの
     baseline に乗って上寄りに見えるのを防ぐ。行の高さも殺す。 */
  line-height: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.l-header__brand a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* サイトロゴ（WordPress custom-logo の <img> / テーマ同梱 SVG）。
   横長ワードマークを高さ基準で表示。core クラスに依存せず要素で当てる。 */
.l-header__brand img {
  display: block;
  width: auto;
  height: 38px;
  max-width: min(56vw, 300px);
  object-fit: contain;
}

.l-header--lp .l-header__brand img {
  height: 32px;
}

.l-header__nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.l-header__menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  white-space: nowrap;
}

.l-header__menu a {
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.25s var(--sp-ease);
}

.l-header__menu a:hover {
  opacity: 0.55;
}

/* お気に入り / 比較（Phase 4）。アイコンは 24×24px 以上、件数は右上に小さく。
   件数 0 のときは PHP が hidden（SP は _nav-drawer.css が打ち消してアイコンだけ表示）。 */
.l-header__tools {
  display: flex;
  align-items: center;

  /* アイコン同士の見た目の間隔を、隣の CTA ボタンとの間隔（inner の gap 24px）に合わせる。
     各アイコンは 44px 枠に 24px グリフ中央（左右 10px 余白）なので gap 14px で ≈34px に揃う。 */
  gap: 14px;
  margin: 0;
}

.l-header__tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.25s var(--sp-ease);
}

.l-header__tool:hover {
  opacity: 0.55;
}

.l-header__tool-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
}

.l-header__tool-count {
  position: absolute;
  top: 3px;
  right: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--sp-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

.l-header__tool-count.is-empty {
  display: none;
}

.l-header__cta {
  flex: 0 0 auto;
  margin: 0;
}

.l-header__cta .c-button {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .l-header__inner {
    gap: 12px;
    min-height: 56px;
  }

  /* PC の横並びナビは非表示（SP はハンバーガー。_nav-drawer.css）。 */
  .l-header__nav {
    display: none;
  }

  .l-header__brand {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
}

/* ==== layout/_nav-drawer.css ==== */
/*
 * layout/nav-drawer — SP（<=768px）用のハンバーガー + ドロワー。
 * PC の横並びナビは layout/_header.css（.l-header__nav）。
 * 動作は assets/js/nav.js。モノトーン・余白重視。
 */

/* ---- ハンバーガー ---- */

.l-header__burger {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sp-ink);
  cursor: pointer;
}

.l-header__burger-bars,
.l-header__burger-bars::before,
.l-header__burger-bars::after {
  display: block;
  width: 22px;
  height: 1px;
  margin-inline: auto;
  background: currentcolor;
  transition: transform 0.25s var(--sp-ease), opacity 0.2s linear;
}

.l-header__burger-bars {
  position: relative;
}

.l-header__burger-bars::before,
.l-header__burger-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.l-header__burger-bars::before {
  top: -6px;
}

.l-header__burger-bars::after {
  top: 6px;
}

.l-header__burger[aria-expanded="true"] .l-header__burger-bars {
  background: transparent;
}

.l-header__burger[aria-expanded="true"] .l-header__burger-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.l-header__burger[aria-expanded="true"] .l-header__burger-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- ドロワー本体 ---- */

.l-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.l-nav-drawer[hidden] {
  display: none;
}

.l-nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(51, 51, 51, 0.4);
  opacity: 0;
  transition: opacity 0.3s var(--sp-ease);
}

.l-nav-drawer.is-open .l-nav-drawer__backdrop {
  opacity: 1;
}

.l-nav-drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(86vw, 360px);
  height: 100%;
  padding: 20px clamp(20px, 6vw, 32px) max(24px, env(safe-area-inset-bottom, 0));
  background: var(--sp-bg);
  border-left: 1px solid var(--sp-line);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.32s var(--sp-ease);
}

.l-nav-drawer.is-open .l-nav-drawer__panel {
  transform: none;
}

.l-nav-drawer__panel:focus {
  outline: none;
}

.l-nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 12px;
}

.l-nav-drawer__label {
  font-size: var(--sp-fs-label);
  letter-spacing: 0.18em;
  color: var(--sp-label);
}

.l-nav-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--sp-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.l-nav-drawer__list,
.l-nav-drawer__tools {
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-nav-drawer__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--sp-line);
  color: var(--sp-ink);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.l-nav-drawer__tools {
  margin-top: 8px;
}

.l-nav-drawer__tools .l-nav-drawer__link {
  color: var(--sp-ink-soft);
  font-size: 14px;
}

.l-nav-drawer__count {
  min-width: 1.6em;
  padding: 1px 6px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.l-nav-drawer__count.is-empty,
.l-nav-drawer__count[hidden] {
  display: none;
}

.l-nav-drawer__cta {
  margin-top: auto;
  padding-top: 24px;
}

.l-nav-drawer__cta.c-button {
  margin-top: auto;
  width: 100%;
}

/* ---- 表示切替 ---- */

@media (max-width: 768px) {
  /* SP レイアウト: 左 ハンバーガー / 中央 ロゴ / 右 お気に入り・比較。
     ナビとカタログ CTA はハンバーガーに集約。ロゴは絶対配置で厳密に中央。 */

  /* SP はヘッダー左右余白を詰め、ハンバーガー / アイコンを画面端へ寄せる
     （44px タップ域は維持。中身の中央寄せを解除して端に揃える）。 */
  .l-header .l-container {
    padding-inline: 12px;
  }

  .l-header__burger {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    order: 1;
  }

  .l-header__burger-bars {
    margin-inline: 0 auto;
  }

  .l-header__cta {
    display: none;
  }

  .l-header__inner {
    position: relative;

    /* PC は base で space-between を外している（ロゴ左・その他右）。
       SP は在フローの子が「ハンバーガー / ツール」の 2 つなので両端に振り分ける。 */
    justify-content: space-between;
  }

  .l-header__tools {
    order: 3;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
  }

  /* アイコン同士を詰める: タップ域を 34px に絞り、グリフは中央のまま。
     min-height 44px は維持。 */
  .l-header__tool {
    min-width: 34px;
  }

  .l-header__brand {
    order: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

  .l-header__brand a {
    justify-content: center;
  }

  /* SP では件数 0 でもアイコンを常時表示（JS が付ける hidden を打ち消す）。
     件数バッジ自体は 0 のとき非表示のまま（_header.css の .is-empty）。 */
  .l-header__tool[hidden] {
    display: inline-flex;
  }
}

@media (min-width: 769px) {
  .l-nav-drawer {
    display: none;
  }
}

/* 背面スクロールのロック（facet シートと同じ方式）。 */
.has-nav-open,
.has-nav-open body {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .l-nav-drawer__backdrop,
  .l-nav-drawer__panel,
  .l-header__burger-bars,
  .l-header__burger-bars::before,
  .l-header__burger-bars::after {
    transition: none;
  }
}

/* ==== layout/_footer.css ==== */
/* layout/footer — サイトフッター */

.l-footer {
  /* 直前セクション（.l-section / .p-* の padding-bottom）で十分に離れているので、
     フッター自身の上マージンは控えめに。 */
  margin-top: clamp(48px, 6vw, 88px);
  padding-block: 40px 48px;
  background: var(--sp-dark);
  color: var(--sp-bg);
  border-top: 1px solid var(--sp-line);
}

.l-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.l-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.l-footer__menu a {
  text-decoration: none;
}

.l-footer__copyright {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.72;
}

/* 業種から探す（発見導線。カテゴリ / 市場ページがナビから孤立しないための 1 ブロック） */
.l-footer__discover {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.l-footer__discover-label {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.l-footer__discover-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.l-footer__discover-list a {
  text-decoration: none;
}

/* ==== layout/_main.css ==== */
/* layout/main — 本文領域 */

.l-main {
  display: block;
}

.l-main:focus {
  outline: none;
}

/* ==== layout/_section.css ==== */
/* layout/section — セクションの縦リズム */

.l-section {
  padding-block: var(--sp-section-space);
}

.l-section + .l-section {
  border-top: 1px solid var(--sp-line);
}

.l-section--invert {
  background: var(--sp-dark);
  color: var(--sp-bg);
}

/* ==== object/component/_button.css ==== */
/* object/component/button — CTA / 二次 / テキストリンク（docs/05 §6） */

.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 44px;
  padding: 12px 22px;
  background: var(--sp-accent);
  color: var(--sp-bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--sp-accent);
  transition:
    background 0.3s var(--sp-ease),
    color 0.3s var(--sp-ease);
}

.c-button:hover {
  background: color-mix(in srgb, var(--sp-accent) 88%, #000);
}

.c-button--secondary {
  background: transparent;
  color: var(--sp-accent);
}

.c-button--secondary:hover {
  background: var(--sp-accent);
  color: var(--sp-bg);
}

/* 中立（白地・線・黒系文字）: 購入（朱の線）より弱く、下線リンクより強い第 3 階層。
   「オリジナル制作を相談する」（販売導線 v2 Phase 1。docs/18 §1）に使う。差し色は使わない（docs/05 §4.1）。 */
.c-button--neutral {
  background: var(--sp-bg);
  border-color: var(--sp-line-strong);
  color: var(--sp-ink);
}

.c-button--neutral:hover {
  background: var(--sp-bg);
  border-color: var(--sp-ink);
  color: var(--sp-ink);
}

/* カードのフッターに 2 つ並べる用。 */
.c-button--sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
  gap: 0.4em;
}

.c-button--lg {
  min-height: 52px;
  padding: 16px 30px;
  font-size: 14px;
}

.c-button--buy[disabled],
.c-button--buy[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 取置き中（24 時間。reservation-notify）の disabled 表示。
   買えない状態を購入と同じ強さで見せないため、朱色の購入の塗り（c-button 既定 / --buy）は使わない。
   opacity で薄めず、文字色でコントラストを確保する（#5c5c5c / #fff = 6.7:1。暗色バーは _hold.css）。 */
.c-button--held,
.c-button--held:hover {
  background: var(--sp-bg);
  border-color: var(--sp-line-strong);
  color: var(--sp-ink-soft);
  cursor: not-allowed;
}

.l-section--invert .c-link,
.c-link--invert {
  color: var(--sp-bg);
}

.c-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  color: var(--sp-ink);
  font-size: var(--sp-fs-body);
  text-decoration: none;
  border-bottom: 1px solid var(--sp-line-strong);
  padding-bottom: 6px;
}

/* 「戻る」用。c-link は末尾に → を付けるため、戻り導線には使えない
   （← と → が並んで方向が分からなくなる）。 */
.c-backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--sp-ink-soft);
  font-size: 13px;
  text-decoration: none;
}

.c-backlink::before {
  content: "←";
  color: var(--sp-accent);
  transition: transform 0.3s var(--sp-ease);
}

.c-backlink:hover {
  color: var(--sp-ink);
}

.c-backlink:hover::before {
  transform: translateX(-3px);
}

.c-link::after {
  content: "→";
  color: var(--sp-accent);
  transition: transform 0.3s var(--sp-ease);
}

.c-link:hover::after {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .c-link {
    font-size: var(--sp-fs-body-sp);
  }
}

/* ==== object/component/_badge.css ==== */
/* object/component/badge — 状態バッジ（テキスト併記。色だけに依存しない。docs/05 §6） */

.c-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid var(--sp-line-strong);
  border-radius: 2px;
  background: var(--sp-bg);
  color: var(--sp-ink);
  white-space: nowrap;
}

.c-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentcolor;
}

.c-badge.is-available {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
}

.c-badge.is-reserved,
.c-badge.is-held {
  border-color: var(--sp-line-strong);
  color: var(--sp-ink);
}

/* 新着（商品カードのみ。販売開始から一定日数は core の ProductState が判定） */
.c-badge.is-new {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
}

.c-badge.is-sold {
  background: var(--sp-dark);
  border-color: var(--sp-dark);
  color: var(--sp-bg);
}

.c-badge.is-draft {
  color: var(--sp-muted);
  opacity: 0.7;
}

/* ==== object/component/_site-card.css ==== */
/* object/component/site-card — 一覧カード（docs/05 §6） */

.c-site-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
  transition:
    transform 0.35s var(--sp-ease),
    box-shadow 0.35s var(--sp-ease);
}

.c-site-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(51, 51, 51, 0.1);
}

.c-site-card__media {
  position: relative;
  display: block;
  /* スクリーンショット（1440x900 = 16:10）と同じ比率にして、FV を切らずに全部見せる。
     以前は 16:9（上から 810px）にして「FV より下の帯が写り込む」のを避けていたが、
     2026-09-26 に全 200 商品を実測したところ **105 商品**で FV のコピーが 810px より下にあり、
     キャッチコピーが途中で切れていた（人間報告）。一方 FV が 900px より低いのは 46 商品で、
     そちらは下端に次セクションが少し覗くだけ。切れる方が明らかに損なので 16:10 に合わせる。 */
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: color-mix(in srgb, var(--sp-ink) 6%, var(--sp-bg));
  /* サムネイルと本文の境目。写真の下端が背景へ溶けるのを防ぐ。 */
  border-bottom: 1px solid var(--sp-line);
}

.c-site-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 切り落とすのは必ず下側（FV の上端は残す）。 */
  object-position: 50% 0;
  display: block;
}

.c-site-card__img--placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0 12px,
      var(--sp-line) 12px 13px
    );
}

.c-site-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.c-site-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--sp-muted);
  text-transform: uppercase;
}

/* 状態バッジ（NEW / SOLD）はメタ行（商品番号・業種）の右端。画像の上には重ねない。 */
.c-site-card__badge {
  flex: 0 0 auto;
  margin-left: auto;
}

.c-site-card__title {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.c-site-card__title a {
  text-decoration: none;
}


.c-site-card__palette {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-site-card__swatch {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--sp-line-strong);
  background: var(--sp-swatch-color, #c9c9c9);
}

.c-site-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.c-site-card__tag {
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.06em;
  border: 1px solid var(--sp-line);
  color: var(--sp-muted);
}

.c-site-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 「詳細を見る」「実物を見る」を並べた分、狭い幅では価格と同じ行に収まらない。
     折り返しを許して、価格の途中で改行されるのを防ぐ。 */
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sp-line);
}

.c-site-card__price {
  font-size: 15px;
  white-space: nowrap;
}

.c-site-card__sold,
.c-site-card__price-tbd {
  font-size: 12px;
  color: var(--sp-muted);
}

/* 購入 lock 中の補助メッセージ（「約 N 分後に購入できる可能性があります」）。
   バッジではなく、価格・ボタンの下に 1 行。実際の lock があるときだけ出力される。 */
.c-site-card__lock {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sp-muted);
}

/* 「詳細を見る」（線）と「実物を見る」（塗り）を 1 行に並べる。狭いときだけ折り返す。 */
.c-site-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.c-site-card__utils {
  display: flex;
  gap: 8px;
}

.c-favorite-button,
.c-compare-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.25s var(--sp-ease);
}

.c-favorite-button:hover,
.c-compare-button:hover {
  border-color: var(--sp-accent);
}

.c-favorite-button.is-active,
.c-compare-button.is-active {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
}

/* 比較が上限に達しているとき、未選択のトグルは「追加不可」を控えめに示す（無効化はしない）。 */
.c-compare-button.is-disabled {
  opacity: 0.45;
}

@media (max-width: 768px) {
  .c-site-card__title {
    font-size: 16px;
  }
}

/* ---- SP のカードを短くする（2026-10-19 人間判断。優先順位は 画像の大きさ > 価格の視認性 > ボタンの押しやすさ > 高さ）。
   画像（16:10）は変えない。詰めるのは文字情報と重複した導線だけ:
   - タグは目的 / 印象 / 機能の先頭 1 つずつ（is-primary）。残りは詳細ページで見せる
   - 「詳細を見る」（線ボタン）は画像とタイトルが同じリンクなので出さない。「実物を見る」は押しやすい高さのまま
   - ♡ / ⇄ は別の行のまま（1 行に詰め込まない）。余白だけ少し詰める
   対象は一覧（.p-archive）と TOP（.p-front）だけ。業種 / 市場ページは広告の着地なので、評価期間（〜11/17）中は変えない。 */
@media (max-width: 768px) {
  .p-archive .c-site-card__body,
  .p-front .c-site-card__body {
    gap: 8px;
    padding: 16px 16px 14px;
  }

  .p-archive .c-site-card__tag:not(.is-primary),
  .p-front .c-site-card__tag:not(.is-primary) {
    display: none;
  }

  .p-archive .c-site-card__detail,
  .p-front .c-site-card__detail {
    display: none;
  }

  .p-archive .c-site-card__foot,
  .p-front .c-site-card__foot {
    padding-top: 10px;
  }

  .p-archive .c-site-card__price,
  .p-front .c-site-card__price {
    font-size: 16px;
  }

  .p-archive .c-site-card__preview,
  .p-front .c-site-card__preview {
    min-height: 44px;
    padding-inline: 22px;
  }

  .p-archive .c-site-card__utils,
  .p-front .c-site-card__utils {
    margin-top: -2px;
  }

  .p-archive .c-site-card:hover,
  .p-front .c-site-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ==== object/component/_accordion.css ==== */
/* object/component/accordion — 汎用アコーディオン（docs/05 §6） */

.c-accordion {
  border-top: 1px solid var(--sp-line);
}

.c-accordion__item {
  border-bottom: 1px solid var(--sp-line);
}

.c-accordion__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.c-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  color: inherit;
}

.c-accordion__trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 18px;
  color: var(--sp-ink-soft);
  transition: transform 0.35s var(--sp-ease);
}

.c-accordion__item.is-open .c-accordion__trigger::after {
  transform: rotate(45deg);
}

/*
 * 折りたたみは max-height + opacity を同時にトランジションさせる。
 * grid の 0fr は一部ブラウザで行が完全に潰れず、閉じても回答分の余白が残るため使わない。
 * max-height は確実に 0 になり（余白が残らない）、閉じるときは高さと不透明度が
 * 一緒に減衰するので回答が急に消えず、徐々にフェードして畳まれる。
 */
.c-accordion__panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s var(--sp-ease),
    opacity 0.3s linear;
}

.c-accordion__body {
  padding-bottom: 24px;
}

/* 回答は段落ごとに <p>。段落間は 0.7em（FAQ の可読性。2026-09-19 人間指示）。 */
.c-accordion__body p {
  margin: 0;
  line-height: 1.9;
}

.c-accordion__body p + p {
  margin-top: 0.7em;
}

/* 段落を分けた分だけ回答が長くなるので、開いたときの上限を広げる（SP の長い回答が切れない値）。 */
.c-accordion__item.is-open .c-accordion__panel {
  max-height: 80rem;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .c-accordion__panel {
    transition: none;
  }
}

/* ==== object/component/_reveal.css ==== */
/*
 * object/component/reveal — スクロールイン（docs/05 §7）
 *
 * progressive enhancement: 既定（`.c-reveal` 素）は**表示**。
 * assets/js/reveal.js が動いたときだけ `<html data-sp-reveal-armed>` が付き、
 * そこから初めて「初期非表示 → is-visible で表示」になる。
 * → JS 未読込 / 例外時も本文は必ず見える。
 */

[data-sp-reveal-armed] .c-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--sp-dur) var(--sp-ease),
    transform var(--sp-dur) var(--sp-ease);
}

[data-sp-reveal-armed] .c-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-sp-reveal-armed] .c-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==== object/component/_mock.css ==== */
/*
 * object/component/mock — ブラウザ枠のモックショット。
 * app/static の `.site-shot` + `.mock-*` を FLOCSS 化（実スクリーンショットのプレースホルダ）。
 */

.c-mock {
  position: relative;
  aspect-ratio: 16 / 10.3;
  overflow: hidden;
  background: var(--sp-bg);
  border: 1px solid var(--sp-line);
  box-shadow: 0 24px 60px rgba(51, 51, 51, 0.09);
  transition:
    transform 0.55s var(--sp-ease),
    box-shadow 0.55s var(--sp-ease);
}

.c-mock__bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 9%;
  padding: 0 6%;
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
}

.c-mock__bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(51, 51, 51, 0.32);
}

.c-mock__content {
  display: grid;
  gap: 7%;
  height: 91%;
  padding: 8%;
  align-content: start;
}

.c-mock--split .c-mock__content {
  grid-template-columns: 1fr 0.85fr;
  align-content: stretch;
}

.c-mock--split-r .c-mock__content {
  grid-template-columns: 0.75fr 1.25fr;
  align-content: stretch;
}

.c-mock--dark {
  background: #333;
  color: #fff;
}

.c-mock__line {
  height: 7px;
  background: currentcolor;
  opacity: 0.62;
}

.c-mock__line.is-sm {
  width: 42%;
  opacity: 0.3;
}

.c-mock__line.is-md {
  width: 68%;
  opacity: 0.45;
}

.c-mock__visual {
  min-height: 64px;
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.16), rgba(51, 51, 51, 0.04));
}

.c-mock--dark .c-mock__visual {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.c-mock--accent .c-mock__visual {
  background: linear-gradient(135deg, var(--sp-accent), var(--sp-accent-soft));
}

.c-mock--fill {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  box-shadow: none;
}

/* 実商品サムネを載せるショット（ブラウザ枠 + 画像）。 */
.c-mock--photo {
  background: color-mix(in srgb, var(--sp-ink) 4%, var(--sp-bg));
}

.c-mock__shot {
  height: 91%;
  overflow: hidden;
}

.c-mock__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ==== object/component/_gallery.css ==== */
/*
 * object/component/gallery — 斜めにドリフトするモック列（app/static の `.hero-gallery`）。
 *
 * 各 `.c-gallery__col` は同じ 4 ショットを 3 セット続けて持つ（PHP 側）。
 * アニメーションは translateY(0) → translateY(-33.333%)（＝ちょうど 1 セット分）。
 * 3 セットあるので、1 セット分ずらしても常に 2 セット分が画面を覆い、
 * 背の低い列でも「動いている要素が途中で無くなる」ことがない。全セットが同一なので継ぎ目も出ない。
 * prefers-reduced-motion で停止。
 */

.c-gallery {
  position: relative;
  min-height: 48vh;
  overflow: hidden;
  background: var(--sp-bg);
  border-top: 1px solid var(--sp-line);
}

.c-gallery__track {
  position: absolute;
  inset: -6% -4%;
  display: grid;

  /* minmax(0,1fr) で 6 列を必ず器に収める（min 幅を持たせると中間幅で右端が見切れる）。 */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  transform: rotate(-3deg) scale(1.04);
}

.c-gallery__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: sp-drift 44s linear infinite;
  will-change: transform;
}

/* 装飾の小さなモックが 70 枚以上、常時 transform で動く。重いぼかし影は落として
   合成レイヤーの負荷を下げる（見た目はほぼ変わらない）。 */
.c-gallery .c-mock {
  box-shadow: none;
  transition: none;
}

/* 偶数列は逆再生 = 下方向へ流れる。静的な transform は使わない（アニメに上書きされて
   開始時に飛ぶだけなので削除）。 */
.c-gallery__col:nth-child(2n) {
  animation-direction: reverse;
}

/* 列ごとに速度を少し散らす（全部同じ速度だと機械的に見える）。 */
.c-gallery__col:nth-child(3n) {
  animation-duration: 56s;
}

.c-gallery__col:nth-child(3n + 2) {
  animation-duration: 50s;
}

@keyframes sp-drift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-33.3333%);
  }
}

.c-gallery--showcase .c-gallery__track {
  inset: -4% -14%;
  transform: rotate(-4deg) scale(1.04);
}

@media (max-width: 1000px) {
  .c-gallery__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .c-gallery__col:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 768px) {
  .c-gallery {
    min-height: 32vh;
  }

  .c-gallery__track {
    inset: -8% -14%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .c-gallery__col {
    gap: 10px;
  }

  .c-gallery__col:nth-child(n + 4) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-gallery__col {
    animation: none;
  }

  .c-gallery__track {
    position: relative;
    inset: auto;
    transform: none;
    grid-template-columns: repeat(3, 1fr);
  }

  /* 停止時は 2・3 セット目を隠して、静的な 1 枚グリッドとして見せる（1 セット = 4 枚）。 */
  .c-gallery__col > .c-mock:nth-child(n + 5) {
    display: none;
  }

  .c-gallery {
    min-height: 0;
  }
}

/* クーポン入力（商品詳細）。既存トーンに合わせ、SALE 感を出さない控えめな見た目。 */
.c-coupon {
  margin-top: 16px;
  border-top: 1px solid var(--color-border, #e6e6e6);
  padding-top: 12px;
}

.c-coupon__summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text-muted, #666);
}

.c-coupon__body {
  margin-top: 10px;
}

.c-coupon__label {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted, #666);
  margin-bottom: 4px;
}

.c-coupon__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-coupon__input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--color-border, #ddd);
  border-radius: 2px;
  font-size: 14px;
}

.c-coupon__status {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-muted, #666);
}

.c-coupon__status.is-error {
  color: var(--color-accent, #b84b34);
}

.c-coupon__clear {
  margin-top: 8px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--color-text-muted, #666);
  text-decoration: underline;
  cursor: pointer;
}

/* パートナー制度の注記（クーポン欄の下。制度 ON のときだけテーマが出す。docs/21 §3.3）。
   SALE 感を出さない控えめな見た目はクーポン欄と同じ。適用中だけ文字の色で状態を示す（面で塗らない）。 */
.c-coupon-partner {
  margin-top: 8px;
}

.c-coupon-partner__status,
.c-coupon-partner__self {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-ink-soft);
}

.c-coupon-partner__status.is-applied {
  font-weight: 600;
  color: var(--sp-accent-ink);
}

.c-coupon-partner__clear {
  margin-top: 4px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--sp-ink-soft);
  text-decoration: underline;
  cursor: pointer;
}

/* ==== object/component/_section-head.css ==== */
/*
 * object/component/section-head — 編集的なセクション見出し（app/static の `.section-head`）。
 * ラベル（罫線 + 小さな英字）+ タイトル + リード。
 */

.c-section-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px);
  margin-bottom: clamp(66px, 7vw, 112px);
}

.c-section-head__label {
  position: relative;
  padding-top: 10px;
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.c-section-head__label::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-bottom: 15px;
  background: var(--sp-rule);
}

/* グリッド外（大声明の本文側など）で単独ラベルとして使う場合。 */
.c-section-head__label--static {
  display: block;
  margin-bottom: 24px;
  padding-top: 0;
}

.c-section-head__title {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(34px, 3.8vw, 61px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.c-section-head__lead {
  max-width: 680px;
  margin: 32px 0 0;
  font-size: var(--sp-fs-body);
  line-height: 1.9;
  color: var(--sp-ink);
}

.l-section--invert .c-section-head__label {
  color: rgba(255, 255, 255, 0.82);
}

.l-section--invert .c-section-head__label::before {
  background: rgba(255, 255, 255, 0.4);
}

.l-section--invert .c-section-head__lead {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1000px) {
  .c-section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .c-section-head__label::before {
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .c-section-head__title {
    /* 420px 時点でちょうど最小の 24px（24 / 420 ≒ 5.75vw）。 */
    font-size: clamp(24px, 5.75vw, 39px);
    line-height: 1.32;
  }

  .c-section-head__lead {
    margin-top: 24px;
    font-size: var(--sp-fs-body-sp);
    line-height: 2;
  }
}

/* 「ただいま N 件のサイトが購入できます。」（2026-09-08 人間指示）。
   見出しとリードの間に置く一行。数字だけ本文色で少し強くする。 */
.c-section-head__count {
  margin: 14px 0 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.8;
}

.c-section-head__count strong {
  color: var(--sp-ink);
  font-weight: 500;
}

/* ==== object/component/_figure.css ==== */
/*
 * object/component/figure — 購入ガイドの説明図（ダイアグラム）。
 *
 * 文字は SVG に焼かず HTML で組む（翻訳・検索・読み上げのため）。
 * 罫線と余白だけで構成し、朱色は「要点 1 か所」にとどめる。
 * 375px では横スクロールさせず縦積みへ切り替える。
 */

.c-figure {
  margin: 28px 0 0;
  padding: 24px;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
}

.c-figure__caption {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--sp-muted);
}

/* ---- 比較（時間軸を 2 本並べる） ---- */

.c-figure__row + .c-figure__row {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--sp-line);
}

.c-figure__row-label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sp-muted);
}

.c-figure__row.is-primary .c-figure__row-label {
  color: var(--sp-ink);
}

.c-figure__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.c-figure__step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.c-figure__step span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--sp-line-strong);
}

/* 「完成形が見えるタイミング」だけを朱色にする。 */
.c-figure__step.is-mark span {
  border-color: var(--sp-accent);
  background: var(--sp-accent-soft);
  color: var(--sp-accent-ink, var(--sp-ink));
}

.c-figure__step:not(:last-child)::after {
  content: "→";
  color: var(--sp-muted);
}

.c-figure__row-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--sp-muted);
}

.c-figure__row.is-primary .c-figure__row-note {
  color: var(--sp-accent);
}

@media (max-width: 768px) {
  .c-figure {
    padding: 18px;
  }

  .c-figure__steps {
    flex-direction: column;
    align-items: stretch;
  }

  .c-figure__step {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .c-figure__step span {
    justify-content: center;
  }

  .c-figure__step:not(:last-child)::after {
    content: "↓";
    text-align: center;
  }

}

/* ==== object/component/_illust.css ==== */
/*
 * object/component/illust — セクションに添える視覚要素。
 *
 * 2 種類あり、役割で使い分ける（意図的に揃えていない）:
 *
 *   .c-illust--step       仕組み。サービスの説明そのものなので、
 *                         「買う人に何が起きているか」を情景として描いた生成画像。
 *   .c-illust--guidepost  もっと知る。下層ページへのナビゲーションなので、
 *                         4 つを素早く見分けられるアイコン（Lucide / ISC）。
 *                         情景を小さく置くと 4 枚とも「机に向かう人」になり
 *                         区別がつかなかったため、輪郭で分ける形にしている。
 */

.c-illust {
  display: block;
  height: auto;
}

/* ---- 仕組み（生成画像・透過 webp） ---- */

.c-illust--step {
  width: 176px;
  /* 画像ごとに縦横比が違うため高さを固定し、続くテキストの開始位置を 4 枚で揃える。 */
  height: 176px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
  background: none;
}

/* ---- もっと知る（Lucide アイコン） ---- */

.c-illust--guidepost {
  width: 28px;
  margin-bottom: 14px;
  color: var(--sp-accent);
}

.c-illust--guidepost svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .c-illust--step {
    width: 148px;
    margin-bottom: 14px;
  }
}

/* ==== object/component/_live-region.css ==== */
/* object/component/live-region — 共通 aria-live（視覚的には隠す。docs/06 §16） */

.c-live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- ボタン近傍の一時ヒント（比較上限など「なぜ押せないか」） ---- */

.c-toggle-hint {
  position: absolute;
  /* 位置は JS が押したボタンを基準に決める（カード外へ出さないため）。
     ここでは既定値だけ持たせる。 */
  left: 0;
  bottom: 0;
  z-index: 5;
  width: max-content;
  max-width: min(240px, 60vw);
  padding: 7px 11px;
  background: var(--sp-dark);
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.25s var(--sp-ease),
    transform 0.25s var(--sp-ease);
}

.c-toggle-hint.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .c-toggle-hint {
    transition: none;
  }
}

/* 横に置けない幅では、ボタン列の真下へ逃がす（CTA を隠さない）。 */
@media (max-width: 480px) {
  .c-toggle-hint {
    left: 0;
    bottom: auto;
    top: calc(100% + 6px);
    max-width: 100%;
  }
}

/* ==== object/component/_device-toggle.css ==== */
/* object/component/device-toggle — Preview のデバイス幅切替（PC / タブレット / スマホ） */

.c-device-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.c-device-toggle__btn {
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s var(--sp-ease);
}

.c-device-toggle__btn:first-child {
  border-left: 0;
}

.c-device-toggle__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.c-device-toggle__btn.is-active {
  background: var(--sp-accent);
  color: #fff;
}

/* ==== object/component/_color-toggle.css ==== */
/* object/component/color-toggle — 実物確認画面のカラー切替（docs/07 §13）。上部バー（暗い地）に置く */

.c-color-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.c-color-toggle[hidden] {
  display: none;
}

.c-color-toggle__label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.c-color-toggle__list {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.c-color-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* 見本: 主の色と地の色を斜めに分けた丸。色は live-colors.js が検査済みの #hex をカスタムプロパティで渡す。 */
.c-color-toggle__chip {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sp-chip-1, #888) 0 50%, var(--sp-chip-2, #ccc) 50% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: box-shadow 0.2s var(--sp-ease), transform 0.2s var(--sp-ease);
}

.c-color-toggle__btn:hover .c-color-toggle__chip {
  transform: scale(1.08);
}

.c-color-toggle__btn.is-active .c-color-toggle__chip {
  box-shadow: 0 0 0 2px var(--sp-dark), 0 0 0 4px #fff;
}

.c-color-toggle__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

@media (max-width: 768px) {
  .c-color-toggle__label {
    display: none;
  }

  /* 指で押すので 24px 以上（2026-10-21 人間指示）。押せる範囲は 40px。 */
  .c-color-toggle__btn {
    width: 40px;
    height: 40px;
  }

  .c-color-toggle__chip {
    width: 26px;
    height: 26px;
  }
}

/* ==== object/component/_color-pick.css ==== */
/* object/component/color-pick — 一覧カード / 商品詳細のカラー切替（docs/07 §13） */

.c-color-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.c-color-pick__label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--sp-ink, #333);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.c-color-pick__icon {
  flex: none;
  color: var(--sp-accent);
}

.c-color-pick__list {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.c-color-pick__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

/* 見本: 主の色と地の色を斜めに分けた丸（実物確認画面の c-color-toggle と同じ見せ方）。 */
.c-color-pick__chip {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sp-chip-1, #888) 0 50%, var(--sp-chip-2, #ccc) 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s var(--sp-ease), transform 0.2s var(--sp-ease);
}

.c-color-pick__btn:hover .c-color-pick__chip {
  transform: scale(1.12);
}

.c-color-pick__btn.is-active .c-color-pick__chip {
  box-shadow: 0 0 0 2px var(--sp-bg, #fff), 0 0 0 4px var(--sp-ink, #333);
}

.c-color-pick__btn:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 0;
}

/* ---- カード: サムネのすぐ下に 1 行（枠なし。サムネが主役なので余白とサイズは最小。2026-10-21 人間指示） ---- */
.c-color-pick--card {
  flex-wrap: nowrap;
  gap: 6px;
  padding: 10px 20px 0;
}

.c-color-pick--card .c-color-pick__label {
  font-size: 12px;
}

.c-color-pick--card .c-color-pick__btn {
  width: 28px;
  height: 28px;
}

.c-color-pick--card .c-color-pick__chip {
  width: 20px;
  height: 20px;
}

.c-color-pick--card .c-color-pick__btn.is-active .c-color-pick__chip {
  box-shadow: 0 0 0 2px var(--sp-bg, #fff), 0 0 0 3.5px var(--sp-ink, #333);
}

/* 色ボタンの直後のカード本文は上の余白を詰める（ボタンと本文が離れて見えないように）。 */
.c-color-pick--card + .c-site-card__body {
  padding-top: 8px;
}

/* ---- 詳細: デバイス枠の下 ---- */
.c-color-pick--detail {
  margin-top: 16px;
}

.c-color-pick__name {
  min-width: 4em;
  color: var(--sp-ink, #333);
  font-size: 13px;
}

.c-color-pick__note {
  flex-basis: 100%;
  color: var(--sp-muted, #666);
  font-size: 12px;
}

/* スマホは指で押すので大きく（見本 26〜28px・押せる範囲 36〜40px。2026-10-21 人間指示 = 24px 以上）。 */
@media (max-width: 768px) {
  /* 一覧のカード本文（SP は左右 16px）に揃える。 */
  .c-color-pick--card {
    padding: 8px 16px 0;
  }

  .c-color-pick--card .c-color-pick__btn {
    width: 34px;
    height: 34px;
  }

  .c-color-pick--card .c-color-pick__chip {
    width: 26px;
    height: 26px;
  }

  .p-archive .c-color-pick--card + .c-site-card__body,
  .p-front .c-color-pick--card + .c-site-card__body {
    padding-top: 6px;
  }

  .c-color-pick--detail .c-color-pick__name {
    order: 1;
    min-width: 0;
  }

  .c-color-pick--detail .c-color-pick__list {
    order: 2;
    flex-basis: 100%;
    gap: 6px;
  }

  .c-color-pick--detail .c-color-pick__note {
    order: 3;
  }

  .c-color-pick--detail .c-color-pick__btn {
    width: 40px;
    height: 40px;
  }

  .c-color-pick--detail .c-color-pick__chip {
    width: 28px;
    height: 28px;
  }
}

/* 一覧のコンパクト表示（小さいサムネ）では重ねない（通常表示で切り替えられる）。 */
@media (min-width: 769px) {
  .p-archive__grid[data-sp-view="compact"] .c-color-pick {
    display: none;
  }
}

/* ==== object/component/_device-shot.css ==== */
/*
 * object/component/device-shot — 端末フレーム内の商品スクショ + デモ iframe（詳細ページ FV）。
 *
 * 初期はポスター（スクショ）。スクロール到達で iframe（実物）を起動し `.is-live` が付く。
 * iframe は基準サイズ固定（PC 1280×800 / SP 390×845）で描画し、site-devices.js が
 * `--sp-shot-scale`（= 枠幅 / 基準幅）を設定 → transform: scale で枠にぴったり収める。
 * スクロール不可・非インタラクティブ（実物のサムネ）。高さ追従・postMessage は使わない。
 */

.c-device-shot {
  position: relative;

  /* 枠ごとに重なりを閉じる。リンク（z-index: 4）が、PC 枠に重ねた SP 枠（z-index: 2）の上へ出ないように。 */
  isolation: isolate;
  margin: 0;
}

/* サムネ全体を「実物を見る」へのリンクにする（2026-10-05）。iframe（pointer-events: none）と読み込み表示より前面。 */
.c-device-shot__link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  cursor: pointer;
}

.c-device-shot__link:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: -3px;
}

.c-device-shot--pc {
  border: 1px solid var(--sp-line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--sp-bg);
  box-shadow: 0 24px 60px rgba(51, 51, 51, 0.1);
}

.c-device-shot--sp {
  position: relative;
  width: clamp(170px, 26vw, 250px);
  padding: 4px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 14px;
  background: var(--sp-bg);
  box-shadow: 0 24px 60px rgba(51, 51, 51, 0.12);
}

/* ---- 画面（クロップ枠） ---- */
.c-device-shot__screen {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sp-bg);
}

.c-device-shot--pc .c-device-shot__screen {
  aspect-ratio: 16 / 10;
}

.c-device-shot--sp .c-device-shot__screen {
  aspect-ratio: 9 / 19.5;
  border-radius: 10px;
}

/* フォールバック静止画（デモが無い商品）。 */
.c-device-shot__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.c-device-shot__poster--empty {
  background: color-mix(in srgb, var(--sp-ink) 6%, var(--sp-bg));
}

/* iframe（実物）: 基準サイズ固定 → 枠幅へ縮小。クリック/スクロール不可。 */
.c-device-shot__iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  background: var(--sp-bg);
  transform-origin: top left;
  transform: scale(var(--sp-shot-scale, 0.5));
  pointer-events: none;

  /* foundation/_reset.css の `iframe { max-width: 100% }` を打ち消す（固定幅で描画するため）。 */
  max-width: none;
}

.c-device-shot--pc .c-device-shot__iframe {
  width: 1280px;
  height: 800px;
}

.c-device-shot--sp .c-device-shot__iframe {
  width: 390px;
  height: 845px;
}

/* ---- 読み込み / フォールバック（iframe より前面。load で JS が hidden にする） ---- */
.c-device-shot__loading,
.c-device-shot__fallback {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background: var(--sp-bg);
  font-size: 12px;
}

.c-device-shot__loading[hidden],
.c-device-shot__fallback[hidden] {
  display: none;
}

.c-device-shot__spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--sp-line);
  border-top-color: var(--sp-accent);
  border-radius: 50%;
  animation: sp-shot-spin 0.9s linear infinite;
}

@keyframes sp-shot-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- 端末の装飾 ---- */
.c-device-shot--pc .c-device-shot__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--sp-line);
}

.c-device-shot--pc .c-device-shot__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-line-strong);
}

@media (prefers-reduced-motion: reduce) {
  .c-device-shot__poster {
    transition: none;
  }

  .c-device-shot__spinner {
    animation-duration: 2s;
  }
}

/* ==== object/component/_process.css ==== */
/*
 * object/component/process — 一般的な制作 vs SITE PICK の工程比較（parts/process-compare.php）。
 * LP「選ばれる理由」にあった `.p-lp__process` を TOP / LP 共通の部品にしたもの。
 * 箱で並べた工程 + 矢印。契約・購入後にお客様が関わる工程（.is-you）だけを朱で色付けする。
 * 白背景が既定、暗い背景（l-section--invert）では --invert。
 */

.c-process {
  margin-top: 94px;
  border-top: 1px solid var(--sp-line-strong);
}

/* 見出し直下（TOP）では c-section-head が余白を持つので詰める。 */
.c-section-head + .c-process {
  margin-top: 0;
}

.c-process__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 18px 0 4px;
  color: var(--sp-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.c-process__swatch {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 1px solid var(--sp-accent);
  background: var(--sp-accent-soft);
}

.c-process__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--sp-line);
}

.c-process__label {
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.12em;
}

.c-process__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.c-process__step {
  padding: 10px 14px;
  border: 1px solid var(--sp-line-strong);
  font-size: 11px;
  white-space: nowrap;
}

.c-process__arrow {
  font-style: normal;
  color: var(--sp-muted);
}

/* お客様が関わる工程。 */
.c-process__step.is-you {
  border-color: var(--sp-accent);
  color: var(--sp-ink);
  background: var(--sp-accent-soft);
}

.c-process__note {
  grid-column: 2;
  margin: -10px 0 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.85;
}

/* 「購入したら、あとこれだけ。」 */
.c-process__lead {
  display: block;
  margin-bottom: 2px;
  color: var(--sp-ink);
  font-size: 17px;
  font-weight: 500;
}

/* ---- 暗い背景 ---- */

.c-process--invert {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.c-process--invert .c-process__row {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.c-process--invert .c-process__legend,
.c-process--invert .c-process__label {
  color: rgba(255, 255, 255, 0.6);
}

.c-process--invert .c-process__swatch {
  background: rgba(184, 75, 52, 0.18);
}

.c-process--invert .c-process__step {
  border-color: rgba(255, 255, 255, 0.17);
}

.c-process--invert .c-process__arrow {
  color: rgba(255, 255, 255, 0.35);
}

.c-process--invert .c-process__step.is-you {
  border-color: var(--sp-accent);
  color: #fff;
  background: rgba(184, 75, 52, 0.18);
}

.c-process--invert .c-process__note {
  color: rgba(255, 255, 255, 0.82);
}

.c-process--invert .c-process__lead {
  color: #fff;
}

@media (max-width: 1000px) {
  .c-process__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .c-process__note {
    grid-column: 1;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .c-process {
    margin-top: 56px;
  }

  .c-process__row {
    padding: 26px 0;
  }

  .c-process__flow {
    gap: 8px;
  }

  .c-process__step {
    padding: 8px 10px;
  }

  .c-process__lead {
    font-size: 16px;
  }
}

/* ==== object/component/_after-purchase.css ==== */
/*
 * object/component/after-purchase — 「購入したら、あとこれだけ。」（parts/after-purchase.php）。
 * 商品詳細の購入の囲み（p-site-cta）の直下（.p-site-cta__more の先頭）に置く。
 * 見た目は TOP / LP の工程比較（c-process）の SITE PICK 行と同じ箱 + 矢印。並びは 見出し → 工程 → 注記。
 * 箱・矢印・色付けのスタイルは c-process（_process.css）のものをそのまま使う。
 * 文字は .p-site-cta__more の 1 ルール（--sp-cta-more-title / --sp-cta-more-body / --sp-cta-more-gap）に従う。
 */

.c-after-purchase {
  margin-top: 18px;
}

.c-after-purchase__flow {
  margin: 12px 0 10px;
}

.c-after-purchase__title {
  margin: 0;
  font-size: var(--sp-cta-more-title, 15px);
  font-weight: 600;
  line-height: 1.7;
}

.c-after-purchase__note {
  margin: 2px 0 0;
  padding-bottom: var(--sp-cta-more-gap, 14px);
  border-bottom: 1px solid var(--sp-line);
  color: var(--sp-ink-soft);
  font-size: var(--sp-cta-more-body, 13px);
  line-height: 1.8;
}

/* 標準期限の短文（FIX-09。文言の正は core の DeliveryTerms） */
.c-after-purchase__timing {
  display: block;
  margin-top: 2px;
}

/* 「何を載せるか、ゼロから考える必要はありません。」 */
.c-after-purchase__structure {
  margin: 0;
  padding: var(--sp-cta-more-gap, 14px) 0;
  border-bottom: 1px solid var(--sp-line);
  font-size: var(--sp-cta-more-body, 13px);
  line-height: 1.8;
}

.c-after-purchase__structure strong {
  display: block;
  color: var(--sp-ink);
  font-size: var(--sp-cta-more-title, 15px);
  font-weight: 600;
  line-height: 1.7;
}

.c-after-purchase__structure span {
  display: block;
  margin-top: 2px;
  color: var(--sp-ink-soft);
}

@media (max-width: 768px) {
  .c-after-purchase__flow {
    margin: 10px 0 8px;
  }

}

/* ==== object/component/_share.css ==== */
/*
 * object/component/share — 共有ボタン + パネル（site-share spec §4.6 / §9.5）。
 *
 * `<details class="c-share">` の summary を、お気に入り・比較（.c-favorite-button / .c-compare-button）と
 * 同じ寸法・トーンにする（ツール群は「最も軽い」段階。アクセント色の面は使わない）。
 * パネル: PC はボタン直下（下部バー・浮動ピルでは上向き）のポップオーバー、SP（<=768px）は下からのシート。
 * SP のシートは比較トレイ（z-index 60）と SP 追従バー（custom-chat。z-index 55）より上に出す（z-index 70。
 * 基盤 spec §5.4）。ナビのドロワー（120）より下。
 * 「LINEで送る」は「メール」と同じ中立のテキストリンク（LINE の色・アイコンを使わない。spec §7.3）。
 */

.c-share {
  --sp-share-panel-z: 70;

  position: relative;
  display: inline-block;
}

.c-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-size: 13px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s var(--sp-ease);
}

.c-share__button::-webkit-details-marker {
  display: none;
}

.c-share__button::marker {
  content: "";
}

.c-share__button:hover,
.c-share.is-open > .c-share__button {
  border-color: var(--sp-accent);
}

.c-share__icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.c-share.is-busy > .c-share__button {
  opacity: 0.6;
  cursor: progress;
}

.c-share__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: var(--sp-share-panel-z);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(280px, calc(100vw - 32px));
  padding: 16px;
  background: var(--sp-bg);
  color: var(--sp-ink);
  border: 1px solid var(--sp-line-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

/* 下部バー・浮動ピルは画面の下端にあるので、PC のポップオーバーは上向き・右寄せ。 */
.c-share--foot .c-share__panel,
.c-share--float .c-share__panel {
  top: auto;
  right: 0;
  bottom: calc(100% + 8px);
  left: auto;
}

.c-share__title {
  margin: 0 0 4px;
  color: var(--sp-ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.c-share__url {
  display: block;
}

.c-share__input {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--sp-line-strong);
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-size: 16px;
}

.c-share__copy,
.c-share__native {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--sp-ink);
  background: var(--sp-ink);
  color: var(--sp-bg);
  font-size: 14px;
  cursor: pointer;
}

.c-share__native {
  border-color: var(--sp-line-strong);
  background: var(--sp-bg);
  color: var(--sp-ink);
}

.c-share.is-copied .c-share__copy {
  border-color: var(--sp-line-strong);
  background: var(--sp-bg);
  color: var(--sp-ink);
}

.c-share__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--sp-ink);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--sp-line-strong);
  text-underline-offset: 3px;
}

.c-share__link:hover {
  text-decoration-color: var(--sp-ink);
}

.c-share__note {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: 13px;
}

.c-share__copy[hidden],
.c-share__native[hidden],
.c-share__note[hidden] {
  display: none;
}

/* 全画面の浮動ピル（暗色）の中のボタン。 */
.c-share--float .c-share__button {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: #fff;
}

@media (max-width: 768px) {
  /* 下からのシート。比較トレイ / SP 追従バーより上（z-index 70 > 60 > 55）。 */
  .c-share__panel,
  .c-share--foot .c-share__panel,
  .c-share--float .c-share__panel {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-height: 80vh;
    overflow-y: auto;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.18);
  }

  /* /live/ 下部バーはアイコンのみ（aria-label="共有"。SHARE-02=A）。 */
  .c-share--foot .c-share__label {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .c-share.is-open .c-share__panel {
    animation: sp-share-in 0.18s var(--sp-ease);
  }
}

@keyframes sp-share-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ==== object/component/_sale.css ==== */
/* ==========================================================================
   Component: サイト全体セール（お知らせ帯・終了日時とカウントダウン）
   朱色は面で使わない（CLAUDE.md §6）。帯は淡い地 + 細い罫線、朱色はセール名と残り時間の数字だけ。
   ========================================================================== */

.c-sale-bar {
  border-bottom: 1px solid color-mix(in srgb, var(--sp-accent) 35%, transparent);
  background: color-mix(in srgb, var(--sp-accent) 6%, var(--sp-bg));
  color: var(--sp-ink);
}

.c-sale-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 18px;
  padding-block: 9px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.c-sale-bar__text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px;
  margin: 0;
}

.c-sale-bar__name {
  color: var(--sp-accent-ink);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.c-sale-bar__summary {
  font-weight: 500;
}

.c-sale-deadline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
}

.c-sale-deadline__date {
  color: var(--sp-ink-soft);
}

.c-sale-deadline__remaining {
  color: var(--sp-accent-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.c-sale-deadline__remaining:empty {
  display: none;
}

.c-sale-deadline.is-ended .c-sale-deadline__remaining {
  color: var(--sp-ink-soft);
  font-weight: 500;
}

/* 商品詳細: 価格の下に 1 行で */
.c-sale-deadline--detail {
  display: flex;
  margin-top: 6px;
  font-size: 13px;
}

/* ---- 告知ブロック（TOP / LP は FV の真下・全幅、一覧・カテゴリはページの見出しの直後・本文の枠の内側） ----
   暗色の面に白文字（サイトの反転セクションと同じ配色）。朱色は #333 上でコントラスト不足のため、
   ラベルは朱色の塗り + 白文字にし、数字は白で大きく見せる（_live.css の暗色バーと同じ扱い）。 */
.c-sale-feature {
  background: var(--sp-dark);
  color: #fff;
}

.c-sale-feature__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 48px;
  padding-block: clamp(26px, 3.4vw, 40px);
}

.c-sale-feature--inline {
  margin-block: clamp(24px, 3vw, 36px);
}

.c-sale-feature--inline .c-sale-feature__inner {
  padding: clamp(22px, 2.6vw, 32px) clamp(20px, 3vw, 40px);
}

.c-sale-feature__kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 0.4em 0.8em;
  background: var(--sp-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}

.c-sale-feature__title {
  margin: 0;
  /* 「全サイト / 88,000円（税込）以下」のように空白でだけ折り返し、金額の途中で切らない。 */
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.c-sale-feature__lead {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.8;
}

.c-sale-feature__side {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.c-sale-deadline--feature {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.c-sale-deadline--feature .c-sale-deadline__date {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.c-sale-deadline--feature .c-sale-deadline__remaining {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.c-sale-deadline--feature.is-ended .c-sale-deadline__remaining {
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
}

.c-sale-feature__cta {
  min-width: 260px;
}

@media (max-width: 768px) {
  .c-sale-feature__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 22px 26px;
  }

  .c-sale-feature--inline .c-sale-feature__inner {
    padding: 20px 18px 22px;
  }

  .c-sale-feature__title {
    font-size: 22px;
  }

  .c-sale-feature__side,
  .c-sale-deadline--feature {
    justify-items: start;
  }

  .c-sale-feature__cta {
    width: 100%;
    min-width: 0;
  }

  .c-sale-bar__inner {
    gap: 2px 12px;
    padding-block: 8px;
    font-size: 12px;
  }

  /* SP の帯は 1 行（セール名 + 概要）。終了日時とカウントダウンは商品詳細の価格ブロックと TOP / 一覧の特集が出すので帯では畳む。
     帯が 2 行（約 110px）だと 375×812 で商品詳細の「実物を見る」が一画面目から落ちる（detail-fold G4-1 / 2026-10-04 監査 P-11）。 */
  .c-sale-bar .c-sale-deadline {
    display: none;
  }

  .c-sale-bar__text {
    gap: 0 8px;
  }
}

/* ==== object/project/_page.css ==== */
/* object/project/page — 汎用ページ / 一覧 / 404 の最小スタイル（Phase 1 基盤） */

.p-page__title {
  font-size: clamp(31px, 6vw, 48px);
  margin-bottom: 1.2em;
}

.p-page__body {
  max-width: 44rem;
}

.p-page__body :where(h2) {
  margin-top: 1.8em;
  font-size: clamp(24px, 3vw, 34px);
}

.p-page__body :where(h3) {
  margin-top: 1.6em;
  font-size: 20px;
}

.p-page__body :where(p, ul, ol) {
  margin-top: 1em;
}

.p-page__body :where(a) {
  color: var(--sp-accent-ink);
}

.p-post-list {
  display: grid;
  gap: 32px;
}

.p-post-list__title {
  font-size: 20px;
  margin-bottom: 0.5em;
}

.p-post-list__title a {
  text-decoration: none;
}

.p-post-list__excerpt {
  color: var(--sp-ink);
}

.p-error {
  max-width: 44rem;
}

.p-error__code {
  font-size: clamp(48px, 12vw, 96px);
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--sp-line-strong);
  line-height: 1;
}

.p-error__title {
  margin: 0.4em 0 0.6em;
  font-size: clamp(24px, 4vw, 34px);
}

.p-error__lead {
  margin-bottom: 2em;
}

/* ==== object/project/_breadcrumb.css ==== */
/* object/project/breadcrumb — パンくず */

.p-breadcrumb {
  padding-block: 20px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--sp-muted);
}

.p-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.p-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-breadcrumb__item + .p-breadcrumb__item::before {
  content: "/";
  color: var(--sp-line-strong);
}

.p-breadcrumb__link {
  color: inherit;
  text-decoration: none;
}

.p-breadcrumb__link:hover {
  color: var(--sp-accent);
}

.p-breadcrumb__current {
  color: var(--sp-ink);
}

/* ==== object/project/_facet-bar.css ==== */
/*
 * object/project/facet-bar — `/sites/` の絞り込みパネル。
 *
 * **既定は「ドロワー（閉じている）」= 画面外・非表示**（JS が来る前提。ランディング時に
 * パネルが一瞬インライン表示されてから畳まれる “ちらつき” を防ぐ）。
 * 「絞り込み」ボタン（`.js-sp-facet-toggle` → facet.js）で `.is-facet-open` が付き開く。
 * JS 無し（`<noscript>`）のときは archive-sitepick_site.php 内の `<style>` がインライン表示へ上書きする。
 * ツールバー / チップ / 表示形式トグルは object/project/_catalog.css。
 */

.p-facet-bar {
  display: block;
}

/* ---- パネル = 右オフキャンバスのドロワー（既定は閉） ---- */

.p-facet-bar__panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(92vw, 400px);
  background: var(--sp-bg);
  border-left: 1px solid var(--sp-line);
  overflow: hidden;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform 0.32s var(--sp-ease),
    visibility 0s linear 0.32s;
}

.p-facet-bar.is-facet-open .p-facet-bar__panel {
  visibility: visible;
  transform: none;
  transition:
    transform 0.32s var(--sp-ease),
    visibility 0s;
}

.p-facet-bar__backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 119;
  background: rgba(51, 51, 51, 0.4);
}

.p-facet-bar__backdrop[hidden] {
  display: none;
}

.p-facet-bar__sheet-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 28px);
  border-bottom: 1px solid var(--sp-line);
  font-size: 13px;
  font-weight: 500;
}

.p-facet-bar__close {
  min-width: 44px;
  min-height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--sp-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* ---- グループ / 各コントロール（ドロワー・noscript 共通の見た目） ---- */

.p-facet-bar__groups {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: clamp(18px, 5vw, 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.p-facet-bar__group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.p-facet-bar__legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sp-label);
}

.p-facet-bar__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.p-facet-bar__option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}

.p-facet-bar__option input {
  width: 16px;
  height: 16px;
  accent-color: var(--sp-accent);
}

/* ---- カラースウォッチ（色調） ---- */

.p-facet-bar__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

/* 選択肢の件数「(3)」。ラベル直後に小さく・控えめに（例: サービス業(3)）。 */
.p-facet-bar__count {
  margin-left: 0.15em;
  font-size: 0.92em;
  color: var(--sp-muted);
  font-variant-numeric: tabular-nums;
}

.p-facet-bar__swatch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  cursor: pointer;
}

.p-facet-bar__swatch-dot {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;

  /* 白などの明色は背景と同化するため、常に淡いグレーの枠線を付ける。 */
  border: 1px solid var(--sp-line-strong);
  background: var(--sp-swatch-color, #c9c9c9);
  transition: box-shadow 0.15s var(--sp-ease);
}

.p-facet-bar__swatch input:checked ~ .p-facet-bar__swatch-dot {
  box-shadow: 0 0 0 2px var(--sp-bg), 0 0 0 4px var(--sp-accent);
}

.p-facet-bar__swatch input:focus-visible ~ .p-facet-bar__swatch-dot {
  outline: 2px solid var(--sp-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .p-facet-bar__swatch-dot {
    transition: none;
  }
}

.p-facet-bar__group--range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.p-facet-bar__group--range .p-facet-bar__legend {
  flex: 1 0 100%;
}

.p-facet-bar__field input {
  max-width: 9rem;
  padding: 8px 10px;
  border: 1px solid var(--sp-line-strong);
  background: var(--sp-bg);
  color: var(--sp-ink);
  font: inherit;
  font-size: 13px;
}

.p-facet-bar__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 14px clamp(20px, 5vw, 28px) max(14px, env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--sp-line);
}

.p-facet-bar__submit {
  display: none;
}

.p-facet-bar__done {
  display: inline-flex;
  flex: 1 1 auto;
  justify-content: center;
}

/* SP = ボトムシート */
@media (max-width: 768px) {
  .p-facet-bar__panel {
    inset: auto 0 0;
    width: auto;
    max-height: 86dvh;
    border-left: 0;
    border-top: 1px solid var(--sp-line-strong);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -18px 50px rgba(51, 51, 51, 0.28);
    transform: translateY(100%);
  }

  .p-facet-bar.is-facet-open .p-facet-bar__panel {
    transform: none;
  }
}

/* 背面スクロールのロック（ドロワー開） */
.has-facet-sheet,
.has-facet-sheet body {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .p-facet-bar__panel {
    transition: visibility 0s;
  }
}

/* 色調の補足（カラー切替で選べる色も当てる。docs/07 §13）。 */
.p-facet-bar__note {
  margin-top: 8px;
  color: var(--sp-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ==== object/project/_catalog.css ==== */
/*
 * object/project/catalog — `/sites/` のカタログ UI（ツールバー / 適用中チップ / 表示形式トグル）。
 * フィルターパネル本体のスタイルは object/project/_facet-bar.css。
 * モノトーン・細い罫・十分な余白。EC テンプレート然とさせない。
 */

/* ---- ツールバー ---- */

.p-catalog-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-block: 12px;
  border-top: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
}

.p-catalog-bar__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid var(--sp-line-strong);
  background: var(--sp-bg);
  color: var(--sp-ink);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--sp-ease);
}

.p-catalog-bar__filter:hover {
  border-color: var(--sp-ink);
}

.p-catalog-bar__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  height: 1.5em;
  padding: 0 0.4em;
  border-radius: 999px;
  background: var(--sp-accent);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.p-catalog-bar__filter-count.is-empty {
  display: none;
}

.p-catalog-bar__end {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.p-catalog-bar__sort select {
  min-height: 40px;
  padding: 6px 32px 6px 12px;
  border: 1px solid var(--sp-line-strong);
  background: var(--sp-bg);
  color: var(--sp-ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.p-catalog-bar__view {
  display: inline-flex;
  border: 1px solid var(--sp-line-strong);
}

.p-catalog-bar__view button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--sp-line-strong);
  background: var(--sp-bg);
  color: var(--sp-ink);
  cursor: pointer;
  transition: background-color 0.18s var(--sp-ease);
}

.p-catalog-bar__view button:first-child {
  border-left: 0;
}

.p-catalog-bar__view button[aria-pressed="true"] {
  background: var(--sp-ink);
  color: var(--sp-bg);
}

/* CSS で描く簡易アイコン（絵文字を使わない）。 */
.p-catalog-bar__view-icon {
  display: block;
  width: 14px;
  height: 14px;
}

.p-catalog-bar__view-icon--grid {
  background:
    linear-gradient(currentcolor 0 0) 0 0 / 6px 6px no-repeat,
    linear-gradient(currentcolor 0 0) 100% 0 / 6px 6px no-repeat,
    linear-gradient(currentcolor 0 0) 0 100% / 6px 6px no-repeat,
    linear-gradient(currentcolor 0 0) 100% 100% / 6px 6px no-repeat;
}

.p-catalog-bar__view-icon--compact {
  background:
    linear-gradient(currentcolor 0 0) 0 1px / 100% 2px no-repeat,
    linear-gradient(currentcolor 0 0) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentcolor 0 0) 0 calc(100% - 1px) / 100% 2px no-repeat;
}

/* ---- 適用中チップ ---- */

.p-catalog-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 14px;
}

.p-catalog-chips__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 12px;
  border: 1px solid var(--sp-line-strong);
  color: var(--sp-ink);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.2s var(--sp-ease);
}

.p-catalog-chips__item:hover {
  border-color: var(--sp-ink);
}

.p-catalog-chips__x {
  font-size: 14px;
  line-height: 1;
  color: var(--sp-muted);
}

.p-catalog-chips__clear {
  margin-left: 4px;
  color: var(--sp-ink-soft);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 768px) {
  .p-catalog-bar {
    gap: 10px 12px;
  }

  .p-catalog-bar__filter {
    flex: 1 1 auto;
    justify-content: center;
  }

  .p-catalog-bar__end {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .p-catalog-bar__sort select {
    width: 100%;
  }
}

/* ---- 件数（ツールバー内）---- */

.p-catalog-bar__count {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sp-muted);
}

/* ---- SP は 1 段にまとめる（2026-10-19 人間判断。絞り込みの使いやすさは維持: ボタンは 44px・ドロワーはそのまま）。
   グリッド / リスト切替は SP では 1 列しかないので出さない。 ---- */
@media (max-width: 768px) {
  .p-catalog-bar {
    flex-wrap: nowrap;
    gap: 10px;
    padding-block: 10px;
  }

  .p-catalog-bar__filter {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 18px;
  }

  .p-catalog-bar__count {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
  }

  .p-catalog-bar__end {
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .p-catalog-bar__sort select {
    width: auto;
    min-height: 44px;
  }

  .p-catalog-bar__view {
    display: none;
  }
}

/* 320〜359px では件数が並び替えに隠れるので、件数だけ 2 行目へ。 */
@media (max-width: 359px) {
  .p-catalog-bar {
    flex-wrap: wrap;
  }

  .p-catalog-bar__count {
    order: 3;
    flex-basis: 100%;
  }
}

/* ==== object/project/_archive.css ==== */
/* object/project/archive — /sites/ カタログ。
   一覧ヘッダー（eyebrow / H1 / lead）は他の情報ページと同じ .p-marketing__* を使う。
   縦リズムもそれに揃える（p-marketing の padding-bottom / p-marketing__head の margin）。 */

.p-archive__count {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sp-muted);
}

/* ---- グリッド ---- */

.p-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 30px);
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .p-archive__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .p-archive__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- コンパクト表示（横長 row。DOM は同じ。CSS だけで切替） ---- */

.p-archive__grid[data-sp-view="compact"] {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--sp-line);
}

@media (min-width: 769px) {
  .p-archive__grid[data-sp-view="compact"] .c-site-card {
    display: grid;
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    border: 0;
    border-bottom: 1px solid var(--sp-line);
    padding: 16px 4px;
  }

  .p-archive__grid[data-sp-view="compact"] .c-site-card:hover {
    transform: none;
    box-shadow: none;
    background: color-mix(in srgb, var(--sp-ink) 3%, var(--sp-bg));
  }

  .p-archive__grid[data-sp-view="compact"] .c-site-card__media {
    aspect-ratio: 16 / 10;
    border: 1px solid var(--sp-line);
  }

  .p-archive__grid[data-sp-view="compact"] .c-site-card__body {
    padding: 0;
    gap: 6px;
  }

  .p-archive__grid[data-sp-view="compact"] .c-site-card__excerpt {
    display: none;
  }

  .p-archive__grid[data-sp-view="compact"] .c-site-card__foot {
    padding-top: 0;
    border-top: 0;
  }

  .p-archive__grid[data-sp-view="compact"] .c-site-card__utils {
    margin-top: 0;
  }
}

/* リロードなし絞り込み中: 結果を薄く + 操作不可（フォームは触れる）。 */
.p-archive.is-facet-loading .p-archive__grid,
.p-archive.is-facet-loading .p-archive__empty,
.p-archive.is-facet-loading .p-pagination {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.2s var(--sp-ease);
}

@media (prefers-reduced-motion: reduce) {
  .p-archive.is-facet-loading .p-archive__grid,
  .p-archive.is-facet-loading .p-archive__empty,
  .p-archive.is-facet-loading .p-pagination {
    transition: none;
  }
}

/* ---- 0 件 ---- */

.p-archive__empty {
  margin-top: 24px;
  padding: clamp(40px, 7vw, 72px) 0;
  border-top: 1px solid var(--sp-line);
  text-align: center;
}

.p-archive__empty-text {
  margin: 0 0 16px;
  font-size: var(--sp-fs-body);
  color: var(--sp-ink);
}

/* ---- ページャ ---- */

.p-pagination {
  margin-top: 40px;
}

.p-pagination > * {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.p-pagination a,
.p-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--sp-line);
  text-decoration: none;
  font-size: 13px;
}

.p-pagination [aria-current="page"] {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
}

/* 割引価格の表示（セール名ラベル + 割引後）。
   Promotion が無ければこのブロック自体が出ないので、通常時の見た目は変わらない。
   セール装飾は最小限にとどめ、既存の価格表示のトーンを崩さない。
   ラベル（小さい文字 + 枠）は価格の文字と上下中央でそろえる。baseline だと枠ごと下に下がって見える
   （2026-10-01 人間指摘「値段に対してラベルが下にずれています」）。 */
.p-price-block {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
}

/* 元値（取り消し線）。文字はグレー、線は太めで金額の中央を通す。
   線は <s> ではなく中の金額（.p-price）自身に引く — <s>（0.82em）と .p-price（1.5em）で
   文字サイズが違うため、<s> 側の線は金額の中央からずれる。 */
.p-price-block__regular {
  color: var(--sp-ink-soft);
  font-size: 0.82em;
  text-decoration: none;
}

.p-price-block__regular .p-price {
  color: inherit;
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentcolor;
}

/* SALE ラベル。アクセントは面で多用しないルールに従い、小さなラベル 1 個だけに留める。 */
.p-price-block__label {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.32em 0.5em;
  border: 1px solid var(--sp-accent);
  color: var(--sp-accent-ink);
  border-radius: 2px;
  white-space: nowrap;
}

.p-price-block__sale {
  color: var(--sp-accent-ink);
  font-weight: 700;
}

/* 朱色はセール価格の数字だけ。.p-price 自身は通常価格の黒（_site-detail.css）を持つので、
   セール側では親（.p-price-block__sale）の色を継承させる（2026-09-07 人間判断: Sale 価格だけ朱色）。 */
.p-price-block__sale .p-price {
  color: inherit;
}

/* ---- 一覧ヘッダーを小さく（2026-10-19 人間判断「SP の一画面目に商品を」） ----
   件数と最低価格の 1 行は業種ページ（.p-taxonomy__fv-note）と同じ見た目。 */

.p-archive__head {
  margin-bottom: clamp(20px, 3vw, 40px);
}

.p-archive__fv-note {
  margin: 10px 0 0;
  color: var(--sp-muted);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.04em;
}

.p-archive__lead {
  margin-top: 16px;
}

/* 診断の入口（商品の間）。PC は 1 行目の 3 枚の直後に 1 行で。 */
.p-archive__diagnosis {
  grid-column: 1 / -1;
  padding: 2px 0;
}

.p-archive__diagnosis .c-diagnosis-entry--row {
  margin: 0;
}

@media (max-width: 768px) {
  /* 英字の eyebrow（SITES）とリード文は SP では出さない。H1 と件数の行だけで一覧へ入る。 */
  .p-archive__eyebrow,
  .p-archive__lead {
    display: none;
  }

  .p-archive .p-breadcrumb {
    padding-block: 12px;
  }

  .p-archive__head {
    margin: 10px 0 14px;
  }

  .p-archive__head .p-marketing__title {
    font-size: 26px;
  }

  .p-archive__fv-note {
    margin-top: 6px;
  }

  .p-archive__grid {
    margin-top: 14px;
  }

  /* SP は診断の入口を 1 枚目の直後に見せる（DOM は 3 枚目の後。order で前へ）。 */
  .p-archive__grid > .c-site-card:nth-of-type(n + 2) {
    order: 2;
  }

  .p-archive__diagnosis {
    order: 1;
    padding: 0;
  }
}

/* ==== object/project/_site-detail.css ==== */
/* object/project/site-detail — /sites/{slug}/ 商品詳細 */

.p-price {
  font-size: 1.5em;
  font-weight: 500;
  letter-spacing: -0.02em;
  /* 通常価格は黒（2026-09-07 人間判断）。朱色はセール価格（.p-price-block__sale）だけに残す。 */
  color: var(--sp-ink);
}

.p-price__unit {
  font-size: 0.6em;
  margin-left: 0.15em;
}

.p-site-detail {
  padding-block: clamp(24px, 3.5vw, 52px) clamp(48px, 7vw, 96px);
}

/* パンくずと同じ幅（l-container いっぱい）。独自の max-width で狭めない。 */
.p-site-detail__article {
  max-width: none;
}

/*
 * デスクトップ: 画像（左・スクロール追従）+ テキスト（右）の 2 カラム 1:1。
 * タブレット / スマホ: 1 カラム（画像を上、テキストを下）。
 */
.p-site-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 3.5vw, 48px);
  align-items: start;
}

/* パンくず → 戻る → ビジュアルが詰まって見えないよう間隔を取る。 */
.p-site-detail__back {
  margin: 4px 0 clamp(20px, 3vw, 34px);
}

.p-site-detail__visual {
  position: sticky;
  top: clamp(60px, 9vh, 96px);
  align-self: start;
}

.p-site-detail__main {
  min-width: 0;
}

@media (max-width: 1000px) {
  .p-site-detail__layout {
    grid-template-columns: 1fr;

    /* 1 カラム時は固定 36px（2026-09-22 人間指示）。以前は clamp(20px, 5vw, 36px) で、
       720px 未満（= スマホ）だけ 20〜36px に縮んでいた。720px 以上は元から 36px。 */
    gap: 36px;
  }

  .p-site-detail__visual {
    position: static;
    width: min(600px, 100%);
    margin-inline: auto;
  }
}

.p-site-detail__fv {
  padding-block: 0 clamp(12px, 2vw, 20px);
}

.p-site-detail__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sp-muted);
  margin-bottom: 18px;
}

/* 商品名は最大 30px（2026-09-18 人間指示。以前は最大 56px）。 */
.p-site-detail__title {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.35;
  margin-bottom: 0.5em;
}

.p-site-detail__lead {
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
  color: var(--sp-ink);
  max-width: 40rem;
}

/* 状態ラベル（NEW / SOLD）は SKU・業種と同じ行の右端（2026-09-22 人間指示）。 */
.p-site-detail__badge {
  margin-left: auto;
}

/* 金額は購入の囲み（p-site-cta）の先頭に置く（2026-09-18 人間指示）。 */
.p-site-cta__price {
  margin: 0 0 18px;
  line-height: 1.2;
}

.p-site-cta__price-note {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--sp-muted);
  letter-spacing: 0.04em;
}

/* FV: PC 枠を主役に、SP 枠は右下に重ねる（デバイスデュオ）。 */
.p-site-detail__devices {
  position: relative;
}

.p-site-detail__devices .c-device-shot--pc {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.p-site-detail__devices .c-device-shot--sp {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(92px, 26%, 150px);
  min-width: 0;
  margin: 0;
  transform: translate(8%, 12%);
}

/* セクションは詰めた縦リズム + 見出し自体が区切りを兼ねる形で分ける
 * （旧 l-section の巨大余白は使わない）。
 * 罫線の太さや番号ラベルではなく、**見出しを罫線で挟む編集的な区切り**
 * （h2 自身の右側に罫線を伸ばす）を境目の手がかりにする（人間フィードバックで確定:
 * 線の太さだけの調整・番号ラベルはどちらも「不自然」「まだわかりにくい」との
 * 指摘を受け、複数案から選定）。本文が左寄せの1カラムなので、見出しも中央寄せに
 * せず左寄せのまま右へ罫線を伸ばす（中央寄せだと本文の並びと揃わず浮く）。
 * セクション全体を囲う上罫線は持たない（見出しの罫線と二重にならないように）。 */
.p-site-detail__section {
  margin-block: clamp(28px, 4vw, 44px) 0;
  padding-top: clamp(24px, 3.6vw, 40px);
}

.p-site-detail__fv + .p-site-detail__section {
  padding-top: 0;
}

.p-site-detail__h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  margin-bottom: 0.8em;
}

.p-site-detail__h2::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--sp-line-strong);
}

.p-site-detail__prose {
  max-width: 42rem;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

.p-site-detail__classify-row,
.p-site-detail__spec > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--sp-line);
}

/* 先頭行は見出しの罫線（.p-site-detail__h2::after）とすぐ隣接して二重線に見えるため、
 * 先頭行だけ上罫線を持たない（行区切りは行と行の"間"にだけ要る）。 */
.p-site-detail__classify-row:first-child,
.p-site-detail__spec > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.p-site-detail__classify dd a {
  margin-right: 12px;
  color: var(--sp-accent-ink);
}

/* 見出しの罫線（.p-site-detail__h2::after）とすぐ隣接して二重線に見えるため、
 * リスト自体の上罫線は持たない（各行の border-bottom だけで行区切りは足りる）。 */
.p-site-detail__structure {
  list-style: none;
}

/* label（短い見出し語）+ note（長めの説明文）は横並びだと note の行数が
 * 増えたときに label と上端が揃わず不自然に見えるため、縦積みにする
 * （人間フィードバックで是正）。 */
.p-site-detail__structure li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 12px;
  border-bottom: 1px solid var(--sp-line);
}

.p-site-detail__structure-label {
  font-weight: 500;
}

.p-site-detail__structure-note {
  color: var(--sp-muted);
  font-size: 13px;
  line-height: 1.6;
}

.p-site-detail__list {
  list-style: none;
}

.p-site-detail__list li {
  position: relative;
  padding-left: 1.4em;
  padding-block: 6px;
}

.p-site-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 12px;
  height: 1px;
  background: var(--sp-rule);
}

.p-site-detail__more {
  margin-top: 12px;
}

/* デモを見る前の前提（FV ヘッダー内。docs/01 §1.1a）。 */
.p-site-detail__premise {
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--sp-line);
}

.p-site-detail__premise-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.p-site-detail__premise-body {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

/* SP 用の畳み（purchase-path-fixes §2 / FIX-02=B）。PC では出さず、PC は上の 2 段落のまま。
   SP は第 1・2 文を <details> に畳み、第 3 文（価格に含まれる主な内容）は外に出して常に見せる。
   開閉の印はクーポン（.c-coupon__summary）と同じ既定の三角。JS は使わない。 */
.p-site-detail__premise-fold,
.p-site-detail__premise-included {
  display: none;
}

@media (max-width: 768px) {
  /* G4-1 の実測で「実物を見る」が一画面目に入らなかったため、SP だけ前提の囲みを詰める
     （spec §2.2。文言・順序は変えない）。上の余白は summary の padding が担うので、
     見出しの文字の位置は PC 版の囲み（padding 14px）と同じ高さに見える。
     margin-top は H1 の margin-bottom（12px）と相殺されるので、0 にしても縮まない（実測）。 */
  .p-site-detail__premise {
    margin-top: 10px;
    padding: 4px 16px 12px;
  }

  .p-site-detail__premise-title,
  .p-site-detail__premise-body {
    display: none;
  }

  .p-site-detail__premise-fold {
    display: block;
  }

  /* タップ領域 44px 以上。文字は SP 本文と同じ 14px。 */
  .p-site-detail__premise-summary {
    min-height: 44px;
    padding-block: 10px;
    cursor: pointer;
    font-size: var(--sp-fs-body-sp);
    font-weight: 600;
    line-height: 1.7;
  }

  .p-site-detail__premise-folded {
    margin: 0 0 8px;
    color: var(--sp-ink-soft);
    font-size: var(--sp-fs-body-sp);
    line-height: 1.9;
  }

  .p-site-detail__premise-included {
    display: block;
    margin: 0;
    color: var(--sp-ink-soft);
    font-size: var(--sp-fs-body-sp);
    line-height: 1.8;
  }
}

/* 本文（リストの前後に置く説明文）。 */
.p-site-detail__text {
  margin: 0 0 14px;
  line-height: 1.9;
}

.p-site-detail__list + .p-site-detail__text {
  margin-top: 14px;
}

/* 追加費用の注記。本文より一段弱く（主要訴求にしない。docs/01 §1.1a）。 */
.p-site-detail__note {
  margin-top: 10px;
  color: var(--sp-muted);
  font-size: 13px;
  line-height: 1.8;
}

.p-site-detail__palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-site-detail__palette-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.p-site-detail__swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--sp-line-strong);
  background: var(--sp-swatch-color, #c9c9c9);
}

.p-site-detail__palette-label {
  font-size: 13px;
}

/* .p-site-detail__related は .p-site-detail__section の外だが見出しは同じ
 * .p-site-detail__h2 を使う（＝見出し自体が罫線を兼ねる）ため、こちらにも
 * 独自の上罫線は持たせない（人間フィードバックで是正: 見出し直後の二重線）。 */
.p-site-detail__related {
  max-width: none;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 44px);
}

/* CTA
 *
 * 意図した重心（上から下へ「見る（最強）→ 買う（強いが従）→ 相談する（軽い）→
 * ツール（最も軽い）」の 4 段階。**幅を揃えて段差を作らず、余白と罫線でだけ段階を作る**
 * ——「見る」だけ幅いっぱいで「買う」だけ小さく浮くと、意図しない空白ができてバランスが
 * 崩れて見えるため（人間フィードバックで是正）。
 */

.p-site-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--sp-line-strong);
}

/* ページ末尾でもう一度出す購入 CTA。 */
.p-site-cta--foot {
  margin-top: clamp(32px, 5vw, 56px);
  border-color: var(--sp-line-strong);
}

/* SP の一画面目に「実物を見る」を届かせる（purchase-path-fixes §2 / G4-1）。SP だけ・PC は変えない。
   - パンくずの現在地（商品名）は 1 行にして末尾を省略する。商品名の全文は直下の H1 にあり、
     省略は見た目だけ（text-overflow）なので読み上げでは全文が読まれる。
   - FV の購入の囲みの上の余白を詰める（末尾の購入 CTA は変えない）。 */
@media (max-width: 768px) {
  .p-site-detail .p-breadcrumb__list {
    flex-wrap: nowrap;
  }

  .p-site-detail .p-breadcrumb__item {
    flex: none;
  }

  .p-site-detail .p-breadcrumb__item:last-child {
    flex: 0 1 auto;
    min-width: 0;
  }

  .p-site-detail .p-breadcrumb__current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .p-site-detail__fv .p-site-cta {
    margin-top: 16px;
    padding-top: 16px;
  }
}

.p-site-cta__primary {
  text-align: center;
}

/* 「買う」は「見る」と同じ幅で 1 段下のトーン（アウトライン）にする。
 * 見た目の強弱は幅ではなく塗り/アウトラインの差だけで付ける（幅を揃えて空白を作らない）。 */
.p-site-cta__buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 10px;
}

.p-site-cta__buy .c-button--buy {
  width: 100%;
}

.p-site-cta__buy-note,
.p-site-cta__sub {
  font-size: 11px;
  color: var(--sp-muted);
}

/* 購入前の注記（キャンセル・再販・条件へのリンク。FIX-07 / FIX-12） */
.p-site-cta__terms-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--sp-ink-soft);
}

.p-site-cta__terms-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.p-site-cta__notice {
  font-size: 13px;
  line-height: 1.7;
}

/* オリジナル制作を相談する（セミオーダー。docs/18 §2）: 購入の下に、リード 1 行 + 中立ボタン（全幅）。
 * 購入ボタンの続きに見えないよう上に少し間を取る。320px でもリード・ボタンとも 1 行に収まる長さ（確定文言）。 */
.p-site-cta__semiorder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.p-site-cta__semiorder-lead {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sp-ink-soft);
}

.p-site-cta__semiorder-link {
  width: 100%;
}

/* 請求書払い（後払い・申込制。docs/18 §1）: 購入ボタンの直下の補助導線。ラベル + 注記 + 下線リンク。ボタンにしない（主 CTA にしない）。 */
.p-site-cta__invoice {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sp-line);
}

.p-site-cta__invoice-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.p-site-cta__invoice-note {
  margin: 4px 0 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sp-ink-soft);
}

/* クーポン（申込みボタンの直上・畳んだ 1 行。2026-10-09）。囲みの中では罫線を引かず、ボタンの間に収める。 */
.p-site-cta .c-coupon {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

/* 無料相談の強調（変種 consult）: 購入ボタンの直下。中立の輪郭ボタン（全幅）+ 受付方式の注記。 */
.p-site-cta__consult-strong {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 0;
}

.p-site-cta__consult-btn {
  width: 100%;
}

/* すぐに決められない方へ（取置き・オリジナル制作）: 見出し 1 つの下にまとめる。畳まない（2026-10-05 人間指示）。 */
.p-site-cta__alt {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sp-line);
}

/* 見出しは請求書払いの見出し（.p-site-cta__invoice-label）と同じ扱い。 */
.p-site-cta__alt-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.p-site-cta__alt-body {
  padding: 0 0 6px;
}

.p-site-cta__alt-body .p-site-cta__semiorder {
  margin-top: 12px;
}

/* 取置き・一般相談と同じ「下線リンク」の階層（docs/18 §1 の主従）。c-link（罫線 + 朱の矢印）は使わない。
   タップ領域は 44px 以上（2026-10-04 監査 P-10）。 */
.p-site-cta__invoice-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: var(--sp-ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--sp-line-strong);
  text-underline-offset: 3px;
}

.p-site-cta__invoice-link:hover {
  color: var(--sp-ink);
  text-decoration-color: var(--sp-ink);
}

/* 「相談する」は囲みの直下。買うボタンの続きに見えないよう軽いトーンで置く
 * （c-link の下線+矢印は使わない＝購入ボタンと同格に見えてしまうため）。 */
.p-site-cta__consult {
  margin: 14px 0 0;
  font-size: 13px;
}

/* 囲みの下の補足（あとこれだけ → 基本構成 → 安心材料）。囲みには金額と導線だけを残す。
 * 文字は全項目 1 ルール: 見出し --sp-cta-more-title（15px / 600）+ 本文 --sp-cta-more-body（13px / ink-soft）。
 * 項目は罫線で区切り、上下 14px。 */
.p-site-cta__more {
  --sp-cta-more-title: 15px;
  --sp-cta-more-body: 13px;
  --sp-cta-more-gap: 14px;

  margin-top: 24px;
  border-top: 1px solid var(--sp-line);
}

.p-site-cta__more .c-after-purchase {
  margin-top: 0;
  padding-top: var(--sp-cta-more-gap);
}

/* 各項目の見出し（太字）の左にアクセントのドット（2026-09-18 人間指示。SP の hero リードと同じ 7px）。 */
.p-site-cta__more .c-after-purchase__title,
.p-site-cta__more .c-after-purchase__structure strong,
.p-site-cta__more .p-site-detail__assurance-title {
  position: relative;
  padding-left: 17px;
}

.p-site-cta__more .c-after-purchase__title::before,
.p-site-cta__more .c-after-purchase__structure strong::before,
.p-site-cta__more .p-site-detail__assurance-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sp-accent);
}

/* 見出しの下の本文・工程・リンクも見出しの文頭に揃える。 */
.p-site-cta__more .c-after-purchase__flow,
.p-site-cta__more .c-after-purchase__note,
.p-site-cta__more .c-after-purchase__structure span,
.p-site-cta__more .p-site-detail__assurance-note,
.p-site-cta__more .p-site-detail__assurance-link {
  margin-left: 17px;
}

.p-site-cta__more .p-site-detail__assurance {
  margin-top: 0;
  border-top: 0;
}

.p-site-cta__consult-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--sp-muted);
  text-decoration: underline;
  text-decoration-color: var(--sp-line-strong);
  text-underline-offset: 3px;
}

.p-site-cta__consult-link:hover {
  color: var(--sp-ink);
  text-decoration-color: var(--sp-ink);
}

/* ツール（お気に入り/比較）は「購入の意思決定」とは別の階層なので、
 * 罫線で明確に区切って独立したグループに見せる。 */
.p-site-cta__utils {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--sp-line);
}

@media (max-width: 768px) {
  .p-site-detail__classify-row,
  .p-site-detail__spec > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* 安心材料（docs/01 §1.1a / §1.1b。購入の囲みの下 .p-site-cta__more 内）。
   既存の罫線・muted・字送りをそのまま使う。バッジやアイコンは足さない。 */
.p-site-detail__assurance {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sp-line);
}

.p-site-detail__assurance li {
  padding: var(--sp-cta-more-gap, 14px) 0;
  border-bottom: 1px solid var(--sp-line);
}

.p-site-detail__assurance-title {
  display: block;
  font-size: var(--sp-cta-more-title, 15px);
  font-weight: 600;
  line-height: 1.7;
}

.p-site-detail__assurance-note {
  display: block;
  margin-top: 2px;
  color: var(--sp-ink-soft);
  font-size: var(--sp-cta-more-body, 13px);
  line-height: 1.8;
}

/* 「詳しく見る」は上の本文から離す（2026-09-18 人間指示）。 */
.p-site-detail__assurance-link {
  margin-top: 16px;
  font-size: 14px;
}

/* 相談の受付方式の注記（sitepick_ask_status_label。在席を示す文言は出さない。custom-chat spec §4.1）。 */
.p-site-cta__consult-note {
  display: block;
  margin-top: 2px;
  color: var(--sp-ink-soft);
  font-size: 12px;
}

/* ==== object/project/_live.css ==== */
/*
 * object/project/live — Preview（/sites/{slug}/live/）。docs/07。
 * `.sitepick-live` body スコープに閉じ、通常ページへ影響を出さない。
 * デバイス切替は frame の max-width のみ変更（transform: scale() は使わない）。
 */

.is-sitepick-live {
  /* svh/dvh 非対応ブラウザ用のフォールバック順。 */
  --sp-live-vh: 100vh;

  background: var(--sp-dark);
}

@supports (height: 100svh) {
  .is-sitepick-live {
    --sp-live-vh: 100svh;
  }
}

@supports (height: 100dvh) {
  .is-sitepick-live {
    --sp-live-vh: 100dvh;
  }
}

.p-live {
  --sp-live-mini-h: 52px;

  display: flex;
  flex-direction: column;
  min-height: var(--sp-live-vh);
}

/* ---- 上部バー ---- */
.p-live__bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  flex-wrap: wrap;
  padding: 10px clamp(12px, 3vw, 28px);
  padding-top: max(10px, env(safe-area-inset-top));
  background: var(--sp-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.p-live__bar-left,
.p-live__bar-right {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 18px);
}

.p-live__bar-right {
  margin-left: auto;
  flex-wrap: wrap;
}

.p-live__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.p-live__back:hover {
  color: var(--sp-accent);
}

.p-live__brand {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.p-live__title {
  flex: 1 1 240px;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-live__newtab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
}

.p-live__newtab:hover {
  color: var(--sp-accent);
}

/* 「全画面で見る」（site-share SHARE-03=B。生のデモ URL を開く「新しいタブで開く」の置き換え）。 */
.p-live__full {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.p-live__full[hidden] {
  display: none;
}

.p-live__full:hover {
  color: var(--sp-accent);
}

/* 暗い上部バー上でしっかり見える状態バッジ（白背景/白文字にしない・目立たせる）。 */
.p-live__status .c-badge {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: #fff;
  border-color: #fff;
  color: var(--sp-dark);
}

/* 実物確認バーの状態ラベルは NEW / SOLD だけ（sitepick_card_badge）。NEW は朱色の塗りで目立たせる。 */
.p-live__status .c-badge.is-new {
  background: var(--sp-accent);
  border-color: var(--sp-accent);
  color: #fff;
}

.p-live__status .c-badge.is-draft {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  opacity: 1;
}

/* ---- ステージ（iframe 領域） ---- */
.p-live__stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding-bottom: env(safe-area-inset-bottom);
  overflow: auto;
}

/* scale 縮小中はステージ側のはみ出しを隠す（transform は layout box を縮めないため）。 */
.p-live__stage.is-scaled {
  overflow: hidden;
}

/*
 * PC: **デザイン時に想定している 1440px 固定**でレンダリングする。
 *
 * 以前は `width: 100%; min-width: 1280px` としてブラウザ全幅に広げていたが、それでは
 * 1920px のモニタでは 1920px 幅のレイアウトが表示され、実際に設計・QA・スクリーンショット
 * 撮影を行った幅（1440px。`capture-screenshots.mjs` の desktop-1440 / 各商品 qa.md の
 * 「1440 で確認」）と違う見え方になってしまう。購入前に完成形を確認してもらうのが
 * この画面の役目なので、常に設計時の幅で見せる（`--sp-live-pc-width` が単一の正）。
 *
 * ステージが 1440px より狭いときは preview.js が `.is-scaled` を付け、1440px の実
 * レンダリングを transform: scale で縮小する（横スクロールを避け、スマホでも全体を確認）。
 * 1440px より広いときは拡大せず中央寄せにする（引き伸ばすとデザインが崩れるため）。
 */
.p-live__frame {
  --sp-live-pc-width: 1440px;
  position: relative;
  flex: 0 0 auto;
  width: var(--sp-live-pc-width);
  min-width: var(--sp-live-pc-width);
  margin-inline: auto;
  background: var(--sp-bg);
}

.p-live__frame.is-scaled {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--sp-live-pc-width);
  min-width: var(--sp-live-pc-width);
  height: calc(100% / var(--sp-live-scale, 1));
  margin-inline: 0;
  transform: scale(var(--sp-live-scale, 1));
  transform-origin: top left;
}

/*
 * スマホ表示（端末より広いビューア = PC など）: デモの viewport を 390×844 に固定する（2026-09-30 人間指示）。
 * 「ビューアの空いている高さ」を iframe の高さにしない。iframe の中で innerWidth = 390・innerHeight = 844・
 * 100vh = 100dvh = 100svh = 844 になり、実際に 390×844 で直接開いたときと同じ条件でレンダリングされる。
 * 枠線・影は outline / box-shadow で iframe の外側に描き、内側の 390px を削らない（border は使わない）。
 * ステージが 390×844 より小さいときは preview.js が --sp-live-sp-scale を入れ、端末全体を外側から
 * transform: scale で縮めて見せる（見た目だけ。iframe の viewport とレスポンシブ条件は変わらない）。
 */
.p-live__frame[data-sp-preview-device="sp"] {
  --sp-live-sp-width: 390px;
  --sp-live-sp-height: 844px;
  --sp-live-sp-gap: clamp(14px, 3vw, 36px);

  position: absolute;
  top: var(--sp-live-sp-gap);
  left: 50%;
  width: var(--sp-live-sp-width);
  min-width: var(--sp-live-sp-width);
  max-width: none;
  height: var(--sp-live-sp-height);
  margin: 0;
  border: 0;
  outline: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%) scale(var(--sp-live-sp-scale, 1));
  transform-origin: top center;
}

/* transform は layout box を縮めないので、縮小表示中の 844px がステージからはみ出してスクロールにならないようにする。 */
.p-live.is-sp-device .p-live__stage {
  overflow: hidden;
}

/* スマホ表示の操作ボタン（実スマホの全画面表示でだけ出す。preview.js が作る）。 */
.p-live__dock-toggle {
  display: none;
}

/* 実スマホのスマホ表示のコンパクトバー（購入・無料で相談・詳細・その他）。PC 幅 / PC 表示では出さない。高さは .p-live の --sp-live-mini-h。 */
.p-live__mini {
  display: none;
}

.p-live__iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--sp-bg);
}

/* ---- 読み込み中 / フォールバック / 準備中 ---- */
.p-live__loading,
.p-live__fallback,
.p-live__unavailable {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-size: 13px;
}

.p-live__loading[hidden],
.p-live__fallback[hidden] {
  display: none;
}

.p-live__unavailable {
  position: static;
  inset: auto;
}

.p-live__spinner {
  width: 26px;
  height: 26px;
  border: 2px solid var(--sp-line);
  border-top-color: var(--sp-accent);
  border-radius: 50%;
  animation: sp-live-spin 0.9s linear infinite;
}

@keyframes sp-live-spin {
  to {
    transform: rotate(360deg);
  }
}

.p-live__noscript {
  position: absolute;
  inset: auto 0 12px;
  text-align: center;
  font-size: 13px;
}

/* JS 無効時に stage いっぱいに出す iframe（noscript 内の style が JS 用の枠を隠す）。 */
.p-live__noscript-frame {
  display: block;
  background: var(--sp-bg);
}

/* 読み込み中の逃げ道（JS が有効でバンドルだけ失敗した場合）。正常時は JS が loading ごと隠すので見えない。
   timeout（9 秒）より後の 12 秒で表示する。動きの無い表示切替なので reduced-motion の対象外。 */
.p-live__loading-help {
  margin: 0;
  visibility: hidden;
  animation: sp-live-help 0s linear 12s forwards;
}

.p-live__loading-help a {
  color: var(--sp-ink);
  text-decoration: underline;
}

@keyframes sp-live-help {
  to {
    visibility: visible;
  }
}

.p-live__fallback .c-backlink {
  font-size: 13px;
}

/* ---- 下部情報 ---- */
.p-live__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px clamp(12px, 3vw, 28px);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: var(--sp-dark);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.p-live__foot-info {
  margin: 0;
}

.p-live__foot-info .p-price {
  color: #fff;
}

/* 暗色バー上のセール表示。朱色（#b84b34 / #a23f28）は #333 の上ではコントラスト不足（約 2:1）のため、
   ここだけはセール価格を白のまま残し、元値を薄い白 + 取り消し線、SALE ラベルを朱色の塗り + 白文字にする。 */
.p-live__foot-info .p-price-block__label {
  background: var(--sp-accent);
  border-color: var(--sp-accent);
  color: #fff;
}

.p-live__foot-info .p-price-block__regular {
  color: rgba(255, 255, 255, 0.62);
}

.p-live__foot-info .p-price-block__regular .p-price {
  color: inherit;
}

.p-live__foot-info .p-price-block__sale .p-price {
  color: #fff;
}

.p-live__foot-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.p-live__foot-actions .c-link {
  color: #fff;
}

/* 暗色バー上の購入ボタン。線だけの二次ボタン（朱色の文字）は #333 の上で約 2.5:1 と読みにくいため、
   ここでは朱色の塗り + 白文字にする（白 × #b84b34 = 5.1:1、hover 白 × #a23f28 = 6.4:1。WCAG AA）。
   既存トークンだけを使い、影・グラデーション・動きは足さない（docs/05）。 */
.p-live__foot .c-button--buy {
  background: var(--sp-accent);
  border-color: var(--sp-accent);
  color: var(--sp-bg);
}

.p-live__foot .c-button--buy:hover {
  background: var(--sp-accent-ink);
  border-color: var(--sp-accent-ink);
  color: var(--sp-bg);
}

/* 既定の朱色の輪郭線は #333 の上で 3:1 に届かないので、下部バーの中だけ白にする（WCAG 1.4.11）。 */
.p-live__foot :focus-visible {
  outline-color: var(--sp-bg);
}

@media (max-width: 768px) {
  /* 上下バーを詰めて、デモの表示領域を最大化する。 */
  .p-live__bar {
    gap: 6px 10px;
    padding: 5px 12px;
    padding-top: max(5px, env(safe-area-inset-top));
  }

  .p-live__brand {
    display: none;
  }

  .p-live__back {
    min-height: 34px;
    font-size: 12px;
  }

  .p-live__title {
    order: 3;
    flex: 1 1 100%;
    font-size: 10px;
    line-height: 1.2;
    opacity: 0.7;
  }

  .p-live__bar-right {
    gap: 8px;
  }

  .p-live__newtab {
    min-height: 34px;
    font-size: 16px;
  }

  .p-live__newtab-text {
    display: none;
  }

  .p-live__status .c-badge {
    padding: 3px 9px;
    font-size: 10px;
  }

  .c-device-toggle__btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  /* SP は「上部バー / デモ / 下部 CTA」を画面ちょうどに収める（2026-09-30 人間指示）。
     高さは min-height ではなく visual viewport（100dvh。非対応は svh / vh）に固定し、
     ステージが上下の UI の残りをすべて使う（flex: 1 1 0 + min-height: 0。固定 px の calc は使わない）。
     外側の頁はスクロールせず、デモの続きは iframe の中でスクロールする。 */
  .p-live {
    height: var(--sp-live-vh);
    min-height: 0;
    overflow: hidden;
  }

  .p-live__bar,
  .p-live__foot {
    flex: 0 0 auto;
  }

  .p-live__stage {
    flex: 1 1 0;
    min-height: 0;
    padding: 6px;
  }

  /* 実スマホで「スマホ」表示のとき（2026-09-30 人間指示）: 390×844 のプリセットは再現せず、
     その端末・そのブラウザの表示領域（fixed + inset: 0 = 100vw × 100dvh）をそのままデモの viewport にする。
     SitePick の上部バー・下部 CTA で iframe の高さを削らない（= デモを直接開いたときと同じ viewport）。
     操作 UI（戻る・PC/スマホ切替・購入に進む など）は、画面右端の「操作」ボタンで開閉し、開いたときだけ
     デモの上に重ねる（閉じている間はデモを覆わない）。 */
  .p-live__frame[data-sp-preview-device="sp"] {
    position: fixed;
    inset: 0 0 calc(var(--sp-live-mini-h) + env(safe-area-inset-bottom, 0px));
    z-index: 20;
    width: auto;
    min-width: 0;
    height: auto;
    outline: 0;
    box-shadow: none;
    transform: none;
  }

  .p-live.is-sp-device .p-live__bar,
  .p-live.is-sp-device .p-live__foot {
    display: none;
  }

  .p-live.is-sp-device.is-dock-open .p-live__bar,
  .p-live.is-sp-device.is-dock-open .p-live__foot {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 30;
  }

  .p-live.is-sp-device.is-dock-open .p-live__bar {
    top: 0;
  }

  .p-live.is-sp-device.is-dock-open .p-live__foot {
    bottom: calc(var(--sp-live-mini-h) + env(safe-area-inset-bottom, 0px));
  }

  /* コンパクトバー（parts/live.php .p-live__mini）があるときは従来の浮動ボタンを出さない。 */
  .p-live.is-sp-device .p-live__mini ~ .p-live__dock-toggle {
    display: none;
  }

  .p-live.is-sp-device .p-live__mini {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 31;
    display: flex;
    align-items: center;
    gap: 6px;
    height: var(--sp-live-mini-h);
    padding: 0 8px env(safe-area-inset-bottom, 0);
    box-sizing: content-box;
    background: #2b2b2b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  .p-live__mini a,
  .p-live__mini button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .p-live__mini-back,
  .p-live__mini-more {
    flex: 0 0 auto;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
  }

  .p-live__mini-ask {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    color: #fff;
    text-decoration: none;
  }

  .p-live__mini-buy.c-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
  }

  .p-live__mini a:focus-visible,
  .p-live__mini button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -3px;
  }

  /* 閉じている間はこのボタンだけ。デモの上下端（ヘッダー・下部の固定ボタン）を避けて右端の中ほどに置く。 */
  .p-live.is-sp-device .p-live__dock-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 31;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 64px;
    min-height: 44px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: rgba(51, 51, 51, 0.86);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.06em;
    transform: translateY(-50%);
    cursor: pointer;
  }

  /* 2 段の表示: 上 = 誰のボタンか（SITE PICK・小さく）/ 下 = 何ができるか（購入・戻る）。 */
  .p-live__dock-brand {
    font-size: 9px;
    letter-spacing: 0.12em;
    line-height: 1.2;
    opacity: 0.75;
    white-space: nowrap;
  }

  .p-live__dock-label {
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .p-live.is-sp-device .p-live__dock-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
  }

  .p-live__foot {
    gap: 6px 12px;
    padding: 5px 12px;
    padding-bottom: max(5px, env(safe-area-inset-bottom));
    font-size: 11px;
  }

  .p-live__foot-info .p-price {
    font-size: 1.15em;
  }

  .p-live__foot-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .p-live__foot-actions .c-favorite-button,
  .p-live__foot-actions .c-compare-button {
    min-width: 34px;
    min-height: 34px;
    padding: 4px 6px;
  }

  /* 共有（アイコンのみ）は購入の後ろ。幅が足りずに折り返すときは右端に寄せ、購入ボタンの下に置く。 */
  .p-live__foot-actions .c-share--foot {
    margin-left: auto;
  }

  /* SP でも購入導線を出す（実物を見た画面から直接購入に進めるように）。タップ領域 44px は保つ。 */
  .p-live__foot .c-button--buy {
    margin-left: auto;
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* ---- 全画面（site-share SHARE-03=B。CSS の表示切替。Fullscreen API は使わない） ---- */
.has-live-fullscreen,
.has-live-fullscreen body {
  overflow: hidden;
}

.p-live.is-fullscreen .p-live__bar,
.p-live.is-fullscreen .p-live__foot {
  display: none;
}

.p-live.is-fullscreen .p-live__stage {
  position: fixed;
  inset: 0;
  z-index: 80;
  height: 100vh;
  height: var(--sp-live-vh, 100vh);
  padding: 0;
  background: var(--sp-dark);
}

/* 浮動ピル「商品詳細 ｜ 共有 ｜ 全画面を閉じる」。通常時は出さない。iframe の外・最前面（デモ側の固定バーより優先）。 */
.p-live__float {
  display: none;
}

.p-live.is-fullscreen .p-live__float {
  position: fixed;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(51, 51, 51, 0.94);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* すりガラスは疑似要素に載せる（ピル自身に backdrop-filter を付けると、中の共有シート（position: fixed）の
   基準がピルになってしまうため）。未対応のブラウザは上の不透明に近い背景のまま。 */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .p-live.is-fullscreen .p-live__float {
    background: transparent;
  }

  .p-live.is-fullscreen .p-live__float::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(51, 51, 51, 0.78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.p-live__float-link,
.p-live__float-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.p-live__float-close {
  background: #fff;
  color: var(--sp-dark);
}

.p-live__float-link:hover {
  text-decoration: underline;
}

.p-live__float :focus-visible {
  outline-color: var(--sp-bg);
}

.p-live__float .c-share__button {
  border-radius: 999px;
}

@media (max-width: 768px) {
  .p-live__full {
    min-height: 34px;
    font-size: 16px;
  }

  .p-live__full-text {
    display: none;
  }

  .p-live.is-fullscreen .p-live__float {
    right: max(8px, env(safe-area-inset-right, 0px));
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
    gap: 2px;
    padding: 4px;
  }

  .p-live__float-link,
  .p-live__float-close {
    padding: 0 10px;
    font-size: 11px;
  }

  .p-live__float .c-share__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-live__frame {
    transition: none;
  }

  .p-live__spinner {
    animation-duration: 2s;
  }
}

/* PC プレビューの仮想ビューポート比率（2026-09-08 人間指摘）。
   is-scaled の height は「ステージの高さ ÷ 縮小率」なので、縦長なスマホでは
   1440×2700 相当の PC ビューポートになり、デモの 100vh FV が極端に縦長に見えていた。
   実機の PC に近い 1440×900 を上限にし、余った縦はステージの地色に返す（上下中央）。 */
@media (max-width: 768px) {
  .p-live__frame.is-scaled {
    --sp-live-pc-height: 900px;

    height: min(calc(100% / var(--sp-live-scale, 1)), var(--sp-live-pc-height));
    top: max(0px, calc((100% - (var(--sp-live-pc-height) * var(--sp-live-scale, 1))) / 2));
  }
}

/* 相談の入口（parts/ask-entry.php。custom-chat spec §9.1）。SP でも表示し、並びは 購入 > 相談 > 共有（SHARED-16=A）。
   fix/sp-live-buy-button の merge 後は SP の購入ボタンが出るので、このブロックは SP ブロックの後ろに置く。 */
.p-live__ask {
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .p-live__ask {
    font-size: 12px;
  }
}

/* ==== object/project/_taxonomy.css ==== */
/* object/project/taxonomy — 業種 / 目的 / 印象 の SEO ページ */

.p-taxonomy {
  padding-block: clamp(32px, 5vw, 72px) clamp(64px, 9vw, 128px);
}

.p-taxonomy__head {
  max-width: 52rem;
  margin-bottom: 8px;
}

/* 業種 / 市場ページは 1 ページ内に 6〜7 ブロック（一覧 / 一次情報 / ポイント / 本文 / 業態 / 関連 / FAQ）が
   縦に並ぶので、サイト共通の --sp-section-space（112〜192px）では間延びする。ページ内の小見出し単位の
   リズムに詰める（2026-09-16 人間指摘）。 */
.p-taxonomy .l-section {
  padding-block: clamp(36px, 4.5vw, 64px);
}

@media (max-width: 768px) {
  .p-taxonomy .l-section {
    padding-block: 32px;
  }
}

.p-taxonomy__title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 0.6em;
}

.p-taxonomy__lead {
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

/* ファーストビューから実物デモへ直行する CTA（2026-09-23）。
   広告文の約束（購入前に実物を確認）を最初の画面で果たすため、リード文の直後に置く。
   面で主張せず、ボタン 1 つと件数・最低価格の 1 行だけにする。 */
.p-taxonomy__fv-cta {
  margin-top: 20px;
}

.p-taxonomy__fv-note {
  margin-top: 8px;
  color: var(--sp-muted);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.04em;
}

/* 広告と同じ約束（1 サイト 1 社限定 / 下層ページまで実物で確認 / 事前に総額 / 3 か月の動作保証。2026-09-30）。
   CTA の補足として小さく 1〜2 行。面にせず、朱色の点だけで区切る。 */
.p-taxonomy__promises {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.04em;
}

.p-taxonomy__promise {
  position: relative;
  padding-left: 12px;
}

.p-taxonomy__promise::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sp-accent);
}

@media (max-width: 768px) {
  /* SP は初期画面（約 844px）に収めたいので、見出し周りの余白を詰めて CTA を押し上げる。 */
  .p-taxonomy__title {
    margin-bottom: 0.4em;
  }

  .p-taxonomy__fv-cta {
    margin-top: 16px;
  }

  .p-taxonomy__fv-preview {
    width: 100%;
    justify-content: center;
  }
}

/* 最初の画面で商品を見せる（2026-10-11 人間指示）。見出しの下は件数・価格の 1 行と
   テキストリンクだけ（parts/fv-preview-cta.php の compact）。一覧を見出しのすぐ下へ寄せる。 */
.p-taxonomy__fv-cta--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 24px;
  margin-top: 0;
}

.p-taxonomy__fv-cta--compact .p-taxonomy__fv-note {
  order: -1;
  margin-top: 0;
}

.p-taxonomy__fv-link {
  font-size: var(--sp-fs-label);
  padding-bottom: 2px;
  border-bottom-color: var(--sp-accent);
}

.p-taxonomy__fv-link::after {
  content: "→";
  color: var(--sp-accent);
}

.p-taxonomy__head:has(.p-taxonomy__fv-cta--compact) .p-taxonomy__title {
  margin-bottom: 0.35em;
}

.p-taxonomy__head:has(.p-taxonomy__fv-cta--compact) + .p-taxonomy__list {
  padding-top: 24px;
}

.p-taxonomy__head:has(.p-taxonomy__fv-cta--compact) + .p-taxonomy__list .p-taxonomy__h2 {
  font-size: clamp(18px, 1.8vw, 22px);
  margin-bottom: 0.7em;
}

.p-taxonomy:has(.p-taxonomy__fv-cta--compact) {
  padding-top: clamp(20px, 3vw, 40px);
}

/* 一覧の直後に移したリード文・約束・総額の範囲・診断の入口。 */
.p-taxonomy__intro {
  max-width: 52rem;
  padding-top: clamp(8px, 2vw, 24px);
}

.p-taxonomy__intro .p-taxonomy__lead {
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .p-taxonomy:has(.p-taxonomy__fv-cta--compact) {
    padding-top: 20px;
  }

  .p-taxonomy__head:has(.p-taxonomy__fv-cta--compact) + .p-taxonomy__list {
    padding-top: 16px;
  }
}

.p-taxonomy__body {
  max-width: 44rem;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

.p-taxonomy__body p {
  margin-block: 1em;
}

.p-taxonomy__h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 0.8em;
}

.p-taxonomy__point-list {
  list-style: none;
  max-width: 44rem;
}

.p-taxonomy__point-list li {
  position: relative;
  padding-left: 1.5em;
  padding-block: 8px;
  border-bottom: 1px solid var(--sp-line);
}

.p-taxonomy__point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 14px;
  height: 1px;
  background: var(--sp-rule);
}

.p-taxonomy__faq {
  max-width: 44rem;
}

/* 他の業種 / 目的 / 印象への内部リンク（チップ）。見た目は /sites/ の適用中チップに揃える。 */

.p-taxonomy__related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
}

.p-taxonomy__related-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--sp-line-strong);
  color: var(--sp-ink);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.2s var(--sp-ease);
}

.p-taxonomy__related-link:hover {
  border-color: var(--sp-ink);
}

.p-taxonomy__related-link--all {
  border-color: var(--sp-ink);
  color: var(--sp-ink);
  font-weight: 500;
}

/* --- 一次情報ブロック（商品数 / 価格帯 / ページ数 / 構成 / 機能）。L1 / L2 / ガイドで共通 --- */

.p-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
}

.p-stats__item {
  padding: 14px 16px;
  border: 1px solid var(--sp-line);
}

.p-stats__item--wide {
  grid-column: 1 / -1;
}

.p-stats__item dt {
  margin-bottom: 6px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.12em;
  color: var(--sp-muted);
}

.p-stats__item dd {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--sp-ink);
}

.p-stats__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 400;
}

.p-stats__tags li {
  padding: 4px 10px;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
}

.p-stats__count {
  margin-left: 4px;
  font-size: 11px;
  color: var(--sp-accent);
}

.p-stats__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sp-muted);
}

.p-taxonomy__related-count {
  margin-left: 6px;
  font-size: 11px;
  color: var(--sp-accent);
}

.p-taxonomy__related-link--guide::before {
  content: "GUIDE";
  margin-right: 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--sp-accent);
}

@media (max-width: 768px) {
  .p-stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .p-stats__item dd {
    font-size: 16px;
  }
}

/* ==== object/project/_editorial.css ==== */
/*
 * object/project/editorial — TOP と LP が共有する編集的セクション群。
 * app/static/index.html のデザイン言語（FV / バンド / facts / 業種グリッド /
 * 大きな声明 / ステップ / クロージング）を FLOCSS 化。
 * 朱色は面で使わない。ラベル・序数・装飾罫は中立トークン（--sp-label / --sp-rule）。
 */

/* ---- 上部のお知らせ帯 ---- */

.p-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  background: var(--sp-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- FV（hero + gallery） ---- */

.p-hero {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(100svh - 108px);
  overflow: hidden;
  border-bottom: 1px solid var(--sp-line);
}

.p-hero__copy {
  width: min(100%, var(--sp-max));
  margin: 0 auto;
  padding: clamp(64px, 7.8vw, 126px) var(--sp-side) clamp(48px, 5vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.58fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: end;
}

.p-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px, 3vw, 42px);
  color: var(--sp-ink);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.65;
  letter-spacing: 0.015em;
}

.p-hero__kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 38px;
  height: 1px;
  background: var(--sp-rule);
}

.p-hero__title {
  max-width: 950px;
  margin: 0;
  font-size: clamp(46px, 4.2vw, 64px);
  line-height: 1.38;
  letter-spacing: -0.048em;
  font-weight: 400;
}

/* 語の途中で折らない（320px で「ホーム / ページ」と割れないように）。 */
.p-hero__nowrap {
  display: inline-block;
}

.p-hero__title .is-accent {
  color: var(--sp-accent);
}

.p-hero__desc {
  max-width: 500px;
  justify-self: end;
  padding-bottom: 2px;
}

.p-hero__lead {
  margin: 0;
  color: var(--sp-ink);
  font-size: clamp(14px, 1.08vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.p-hero__sub {
  margin: 14px 0 0;
  color: var(--sp-ink-soft);
  font-size: clamp(13px, 0.95vw, 14px);
  line-height: 1.95;
}

.p-hero__desc .c-link {
  margin-top: 30px;
}

/* FV の主導線。テキストリンクではなくボタンとして最初に目に入るようにする。 */
.p-hero__cta {
  margin-top: 30px;
}

/* ---- 1 社限定バンド ---- */

.p-band {
  border-top: 2px solid var(--sp-rule);
  border-bottom: 1px solid var(--sp-line);
  background: var(--sp-bg);
}

.p-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 142px;
}

.p-band__lead {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 31px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.p-band__lead::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 16px;
  border-radius: 50%;
  background: var(--sp-rule);
  vertical-align: 0.18em;
}

.p-band__sub {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: 12px;
  line-height: 1.9;
  text-align: right;
}

/* ---- facts ---- */

.p-facts {
  border-bottom: 1px solid var(--sp-line);
  background: var(--sp-bg);
}

.p-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.p-facts__item {
  padding: 34px 28px;
  border-right: 1px solid var(--sp-line);
}

.p-facts__item:first-child {
  padding-left: 0;
}

.p-facts__item:last-child {
  border-right: 0;
}

.p-facts__item small {
  display: block;
  margin-bottom: 12px;
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.p-facts__item strong {
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
}

/* ---- 業種グリッド ---- */

.p-industry {
  display: grid;
  /* 「すべて」＋商品のある業種、という可変の枚数を並べる。固定 4 列だと
     枚数によって最終行が欠けて罫線が途切れるため、幅で列数を決める。 */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  /* 外周はコンテナが描く。カード枚数が列数の倍数でないとき（例: 5 列に 8 枚）でも
     矩形が閉じる。内側の区切りはカード側（下記）が描き、外周と二重にならないよう
     カードの右下の線はコンテナの内側へ重ねる（負の margin）。 */
  border: 1px solid var(--sp-line);
  /* カードが描く右端・下端の線をコンテナ枠に重ねて、2px に見えるのを防ぐ。 */
  margin-right: 0;
}

.p-industry__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  padding: 32px;
  /* 内側の区切り線。外周はコンテナが描くので、右端・下端では重なって 2px に
     見えないよう 1px 分だけ外へずらす。 */
  border-right: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
  margin: 0 -1px -1px 0;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.35s var(--sp-ease),
    color 0.35s var(--sp-ease);
}

.p-industry__card:hover {
  background: var(--sp-dark);
  color: #fff;
}

.p-industry__card small {
  color: var(--sp-label);
  font-size: 10px;
  letter-spacing: 0.09em;
}

/* 「すべて」は業種ではなく一覧全体への導線なので、番号付きの業種カードと区別する。 */
.p-industry__card--all small {
  color: var(--sp-accent);
}

.p-industry__card--all h3 {
  font-weight: 500;
}

.p-industry__card h3 {
  margin: 0;
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 400;
}

.p-industry__arrow {
  align-self: flex-end;
  font-size: 18px;
  color: var(--sp-muted);
}

.p-industry__card:hover .p-industry__arrow {
  color: inherit;
}

/* ---- 大きな声明（1 サイト 1 社限定） ---- */

.p-oneonly {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(64px, 9vw, 148px);
  align-items: center;
  min-height: 88vh;
}

.p-oneonly__statement {
  max-width: 640px;
  color: var(--sp-ink);
  font-size: clamp(38px, 4.6vw, 70px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  font-weight: 400;
}

.p-oneonly__statement::before {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-bottom: 32px;
  background: var(--sp-rule);
}

.p-oneonly__body h2 {
  margin: 0 0 30px;
  font-size: clamp(33px, 3.7vw, 56px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.p-oneonly__body > p {
  max-width: 620px;
  margin: 0;
  color: var(--sp-ink);
  font-size: var(--sp-fs-body);
  line-height: 1.8;
}

.p-oneonly__list {
  margin-top: 58px;
  border-top: 1px solid var(--sp-line);
}

.p-oneonly__list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--sp-line);
  font-size: 12px;
}

.p-oneonly__list div span:first-child {
  color: var(--sp-label);
}

/* ---- ステップ ---- */

.p-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--sp-line-strong);
}

.p-steps__item {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 32px 28px 58px 0;
  border-right: 1px solid var(--sp-line);
}

.p-steps__item + .p-steps__item {
  padding-left: 28px;
}

.p-steps__item:last-child {
  border-right: 0;
}

.p-steps__num {
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.1em;
}

.p-steps__item h3 {
  /* 上寄せ: イラスト直下からテキストを始める（margin auto の下寄せをやめる。2026-09-08 人間指示）。 */
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 400;
}

.p-steps__item p {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.85;
}

/* ---- 購入後に整えられること（TOP / docs/01 §1.1a） ---- */

.p-adapt {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--sp-line-strong);
}

.p-adapt__item {
  padding: 28px 24px 32px 0;
  border-right: 1px solid var(--sp-line);
}

.p-adapt__item + .p-adapt__item {
  padding-left: 24px;
}

.p-adapt__item:last-child {
  border-right: 0;
}

.p-adapt__title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.p-adapt__body {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.85;
}

/* 追加費用の注記。本文より一段弱く（主要訴求にしない）。 */
.p-adapt__note {
  margin-top: 28px;
  color: var(--sp-muted);
  font-size: var(--sp-fs-support);
  line-height: 1.85;
}

@media (max-width: 768px) {
  .p-adapt {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .p-adapt__item {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--sp-line);
  }

  .p-adapt__item + .p-adapt__item {
    padding-left: 0;
  }

  .p-adapt__item:last-child {
    border-bottom: 0;
  }
}

/* ---- クロージング（invert セクション内で使う） ---- */

.p-closing {
  display: flex;
  align-items: center;
  min-height: 82vh;
}

.p-closing__inner {
  width: 100%;
}

.p-closing small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p-closing h2 {
  max-width: 1160px;
  margin: 38px 0 72px;
  font-size: clamp(48px, 6.7vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 400;
}

.p-closing__contact {
  margin: 22px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- reveal のずらし（連続グリッド） ---- */

.p-industry .c-reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.p-industry .c-reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.p-industry .c-reveal:nth-child(4) {
  transition-delay: 0.18s;
}

/* ---- レスポンシブ ---- */

@media (max-width: 1000px) {
  .p-hero__copy {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .p-hero__desc {
    max-width: 610px;
    justify-self: start;
  }

  .p-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-facts__item:nth-child(2) {
    border-right: 0;
  }

  .p-facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--sp-line);
  }

  .p-industry {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-oneonly {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .p-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-steps__item:nth-child(2) {
    border-right: 0;
  }

  .p-steps__item:nth-child(n + 3) {
    border-top: 1px solid var(--sp-line);
  }
}

@media (max-width: 768px) {
  /* SP は「kicker + title → gallery → lead 以下」の順（2026-09-08 人間指示）。
     __copy を display:contents で解き、__desc に order を付けて gallery の後ろへ。
     __copy が持っていた左右パディングは子要素側へ移す。 */
  .p-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .p-hero__copy {
    display: contents;
  }

  .p-hero__copy > div:first-child {
    padding: 60px var(--sp-side) 40px;
  }

  .p-hero__desc {
    order: 1;
    max-width: none;
    padding: 36px var(--sp-side) 48px;
  }

  .p-hero__kicker {
    font-size: 14px;
  }

  .p-hero__kicker::before {
    width: 12px;
  }

  .p-hero__title {
    /* 420px 時点でちょうど最小の 28px になる係数（28 / 420 ≒ 6.7vw）。 */
    font-size: clamp(28px, 6.7vw, 56px);
    line-height: 1.2;
  }

  /* リード文が下の補足と同じ階層に見えないよう、先頭にアクセントのドット（2026-09-08 人間指示）。
     ドットは絶対配置にし、折り返し行（「公開まで。」）のインデントを 1 行目の文頭に揃える。 */
  .p-hero__lead {
    position: relative;
    padding-left: 17px;
  }

  .p-hero__lead::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sp-accent);
  }

  .p-band__lead {
    font-size: 15px;
  }

  .p-band__inner {
    display: block;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .p-band__sub {
    margin-top: 10px;
    text-align: left;
  }

  /* SP は 4 項目を縦に積むと FV から最初のセクションまでが遠くなるため 2×2 に畳む
     （2026-09-08 人間指示）。項目自体は残す（「3 か月動作保証」を SP でも見せる）。 */
  .p-facts__grid {
    grid-template-columns: 1fr 1fr;
  }

  .p-facts__item {
    padding: 16px 14px;
    border-right: 1px solid var(--sp-line);
    border-top: 1px solid var(--sp-line);
  }

  .p-facts__item:nth-child(2n) {
    border-right: 0;
  }

  .p-facts__item:nth-child(-n + 2) {
    border-top: 0;
  }

  .p-facts__item small {
    margin-bottom: 8px;
  }

  .p-facts__item strong {
    font-size: 13px;
    line-height: 1.6;
  }

  .p-industry {
    grid-template-columns: 1fr;
  }

  .p-industry__card {
    min-height: 0;
    padding: 20px 22px;
  }

  .p-oneonly {
    gap: 40px;
  }

  .p-oneonly__list div {
    grid-template-columns: 14px 1fr;
  }

  /* 「選ばれたサイトは、そこで販売終了。」まわりの見出しは、他セクションの
     見出し（c-section-head__title の SP サイズ）に合わせる（2026-09-08 人間指示）。 */
  .p-oneonly__statement {
    font-size: clamp(24px, 5.75vw, 39px);
    line-height: 1.4;
  }

  .p-oneonly__body h2 {
    margin-bottom: 20px;
    font-size: clamp(24px, 5.75vw, 39px);
    line-height: 1.4;
  }

  .p-oneonly__statement::before {
    margin-bottom: 20px;
  }

  .p-steps {
    grid-template-columns: 1fr;
  }

  /* 仕組み: SP は縦積みだと 1 項目が高くなりすぎるため、イラストを左・
     テキストを右の 2 カラムにして高さを抑える（2026-09-08 人間指示）。 */
  .p-steps__item,
  .p-steps__item + .p-steps__item {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 20px;
    align-items: start;
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-top: 1px solid var(--sp-line);
  }

  .p-steps__num {
    grid-column: 1 / -1;
    margin-bottom: 10px;
  }

  .p-steps__item .c-illust--step {
    grid-row: span 2;
    width: 96px;
    height: 96px;
    margin-bottom: 0;
  }

  .p-steps__item h3 {
    margin: 0 0 8px;
    font-size: 18px;
  }

  .p-closing {
    min-height: 72vh;
  }

  .p-closing h2 {
    margin-bottom: 52px;
    font-size: clamp(42px, 12vw, 62px);
    line-height: 1.08;
  }
}

/* 仕組みの 4 ステップの締め。「公開まで代行」で終わらせず公開後へつなぐ 1 文
   （docs/01 §1.1b。詳細は購入ガイドが持つ）。 */
.p-steps__after {
  margin: 28px 0 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.85;
}

.p-steps__after strong {
  color: var(--sp-ink);
  font-weight: 500;
}

.p-steps__after .c-link {
  margin-left: 8px;
}

/* --- 一次情報ガイド（/guide/cost/ 等。page-guide-insight.php）--- */

.p-insight__source {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--sp-muted);
}

.p-insight__bars {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-insight__bar {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr) 5em;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
}

.p-insight__bar-track {
  display: block;
  height: 10px;
  background: color-mix(in srgb, var(--sp-ink) 6%, var(--sp-bg));
}

.p-insight__bar-fill {
  display: block;
  height: 100%;
  background: var(--sp-accent);
}

.p-insight__bar-value {
  text-align: right;
  color: var(--sp-ink-soft);
}

.p-insight__note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sp-muted);
}

.p-insight__formula {
  margin: 16px 0 20px;
  padding: 16px 20px;
  border-left: 3px solid var(--sp-accent);
  background: color-mix(in srgb, var(--sp-ink) 3%, var(--sp-bg));
}

.p-insight__formula p {
  margin: 0 0 6px;
}

.p-insight__table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.p-insight__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.p-insight__table caption {
  padding-bottom: 8px;
  font-size: 12px;
  text-align: left;
  color: var(--sp-muted);
}

.p-insight__table th,
.p-insight__table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--sp-line);
  text-align: left;
  vertical-align: top;
}

.p-insight__table thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sp-muted);
}

@media (max-width: 768px) {
  .p-insight__bar {
    grid-template-columns: 6.5em minmax(0, 1fr) 4.5em;
    font-size: 13px;
  }
}

/* ---- TOP ヒーローの SP（2026-10-19 人間判断）----
   順序を「見出し → リード → ボタン → ギャラリー → 補足（料金の範囲の説明）」にして、
   ボタンを一画面目に入れる。補足の文は省略しない（基本カスタマイズの条件を誤解させない）。
   ギャラリー全体は一覧へのリンク（前は押せない装飾だった）。 */

.p-hero__gallery-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.p-hero__gallery-link:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: -2px;
}

@media (max-width: 768px) {
  .p-hero__desc {
    display: contents;
  }

  .p-hero__copy > div:first-child {
    order: 0;
    padding: 44px var(--sp-side) 18px;
  }

  .p-hero__lead {
    order: 1;
    margin: 0;
    padding-inline: var(--sp-side);
    padding-left: calc(var(--sp-side) + 17px);
  }

  .p-hero__lead::before {
    left: var(--sp-side);
  }

  .p-hero__cta {
    order: 2;
    align-self: start;
    margin: 22px var(--sp-side) 28px;
  }

  .p-hero__gallery-link {
    order: 3;
  }

  .p-hero__gallery-link .c-gallery {
    min-height: 0;
    height: clamp(180px, 27vh, 240px);
  }

  .p-hero .p-industry-chips {
    order: 4;
    border-top: 1px solid var(--sp-line);
    border-bottom: 0;
  }

  .p-hero__sub {
    order: 5;
    margin: 0;
    padding: 22px var(--sp-side) 30px;
    border-top: 1px solid var(--sp-line);
  }
}

/* PC: ヒーローは「コピー / ギャラリー / 業種の 1 行」の 3 段。 */
@media (min-width: 769px) {
  .p-hero {
    grid-template-rows: auto 1fr auto;
  }

  .p-hero .p-industry-chips {
    border-top: 1px solid var(--sp-line);
    border-bottom: 0;
  }
}

/* ---- 業種から探す（ヒーロー直下の 1 行・parts/industry-chips.php）---- */

.p-industry-chips {
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--sp-line);
}

.p-industry-chips__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
}

.p-industry-chips__label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.12em;
}

.p-industry-chips__list {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.p-industry-chips__list::-webkit-scrollbar {
  display: none;
}

.p-industry-chips__item {
  flex: 0 0 auto;
}

.p-industry-chips__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--sp-line-strong);
  color: var(--sp-ink);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s var(--sp-ease), color 0.2s var(--sp-ease);
}

.p-industry-chips__chip:hover,
.p-industry-chips__chip:focus-visible {
  border-color: var(--sp-accent);
  color: var(--sp-accent-ink);
}

.p-industry-chips__chip--all {
  border-color: var(--sp-ink);
}

@media (max-width: 768px) {
  .p-industry-chips__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-block: 14px;
  }

  /* 端まで横に流す（コンテナの左右パディングを打ち消し、先頭だけ揃える）。 */
  .p-industry-chips__list {
    margin-inline: calc(var(--sp-side) * -1);
    padding-inline: var(--sp-side);
  }

  .p-industry-chips__chip {
    min-height: 40px;
  }

  /* 「完成サイト」節の見出しまわりは SP では短く（リード文を畳む）。見出しと件数は残す。 */
  .p-front #products .c-section-head__lead {
    display: none;
  }
}

/* ==== object/project/_front.css ==== */
/*
 * object/project/front — 通常 TOP。
 * FV / バンド / facts / 業種グリッド / 大声明 / ステップ / クロージングは _editorial.css を共有。
 * ここは TOP 固有の器（商品抜粋まわり）だけを持つ。LP とはセクション量・文言で差別化。
 */

.p-front__picks-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.p-front__picks-top p {
  max-width: 520px;
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.p-front__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 30px);
}

.p-front__grid .c-site-card:nth-child(2) {
  transition-delay: 0.06s;
}

.p-front__grid .c-site-card:nth-child(3) {
  transition-delay: 0.12s;
}

.p-front__more {
  margin-top: 34px;
}

.p-front__brand-link {
  margin: 22px 0 0;
}

@media (max-width: 1000px) {
  .p-front__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .p-front__picks-top {
    flex-direction: column;
    align-items: start;
  }

  .p-front__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- 下層ページへの導線（TOP「もっと知る」） ---- */

.p-guidepost {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--sp-line);
  border: 1px solid var(--sp-line);
}

.p-guidepost__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  background: var(--sp-bg);
  color: inherit;
  text-decoration: none;
  transition: background 0.3s var(--sp-ease);
}

.p-guidepost__card:hover {
  background: var(--sp-accent-soft);
}

.p-guidepost__title {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.p-guidepost__desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.85;
  color: var(--sp-muted);
}

.p-guidepost__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 13px;
  color: var(--sp-accent);
}

.p-guidepost__card:hover .p-guidepost__cta span {
  transform: translateX(3px);
}

.p-guidepost__cta span {
  transition: transform 0.3s var(--sp-ease);
}

@media (max-width: 768px) {
  .p-guidepost__card {
    padding: 24px 20px;
  }
}

/* ==== object/project/_lp.css ==== */
/*
 * object/project/lp — 広告 LP のうち、LP 固有のセクション。
 * 共有する FV / バンド / facts / 業種グリッド / 大声明 / ステップ / クロージングは _editorial.css。
 * デザイン・レイアウト・余白は app/static/index.html 準拠。文言・価格は SitePick の現行仕様。
 * 朱色は面で使わない。序数・eyebrow・装飾罫は中立トークン。列の網掛け（is-ours）と
 * 完了ステップ（is-done）だけ視線誘導として朱を残す。
 */

.l-header--lp .l-header__inner {
  min-height: 72px;
}

/* ---- 在庫カウント / 一覧上部 ---- */

.p-lp__inventory {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--sp-line-strong);
}

.p-lp__inventory-num {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.p-lp__inventory-num strong {
  font-size: clamp(52px, 5.8vw, 88px);
  line-height: 0.8;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.p-lp__inventory-num span {
  color: var(--sp-label);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.p-lp__inventory p {
  margin: 0;
  max-width: 480px;
  color: var(--sp-ink-soft);
  font-size: 12px;
  line-height: 1.9;
  text-align: right;
}

.p-lp__products-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.p-lp__products-top p {
  max-width: 520px;
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

/* ---- 悩みグリッド ---- */

.p-lp__pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--sp-line-strong);
}

.p-lp__pain {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 40px 24px 40px 0;
  border-bottom: 1px solid var(--sp-line);
}

.p-lp__pain:nth-child(odd) {
  border-right: 1px solid var(--sp-line);
}

.p-lp__pain:nth-child(even) {
  padding-left: 34px;
}

.p-lp__pain-num {
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
}

.p-lp__pain h3 {
  margin: 0 0 9px;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
}

.p-lp__pain p {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.85;
}

/* ---- 解決ブリッジ ---- */

.p-lp__bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: end;
  margin-top: clamp(76px, 8vw, 126px);
  padding-top: 44px;
  border-top: 1px solid var(--sp-line-strong);
}

.p-lp__bridge-eyebrow {
  margin: 0 0 18px;
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.16em;
}

.p-lp__bridge h3 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(29px, 3vw, 47px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.p-lp__bridge p {
  margin: 0;
  max-width: 520px;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

/* ---- ベネフィットグリッド ---- */

.p-lp__benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
  border-top: 1px solid var(--sp-line);
  border-left: 1px solid var(--sp-line);
}

.p-lp__benefit {
  display: flex;
  flex-direction: column;
  /* 上寄せ: 本文の行数に関わらず見出しの開始位置を 4 枚で揃える
     （space-between の下寄せをやめる。2026-09-08 人間指示）。 */
  justify-content: flex-start;
  min-height: 270px;
  padding: 32px;
  border-right: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
}

.p-lp__benefit-num {
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
}

.p-lp__benefit h3 {
  margin: 70px 0 12px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.p-lp__benefit p {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.85;
}

.p-lp__benefit-grid .c-reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.p-lp__benefit-grid .c-reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.p-lp__benefit-grid .c-reveal:nth-child(4) {
  transition-delay: 0.18s;
}

/* ---- 選ばれる理由（invert） ---- */

.p-lp__why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.p-lp__why-card {
  padding: 44px 32px 72px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.p-lp__why-card + .p-lp__why-card {
  padding-left: 32px;
}

.p-lp__why-card:last-child {
  border-right: 0;
}

.p-lp__why-num {
  display: block;
  margin-bottom: 112px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.p-lp__why-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
}

.p-lp__why-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

/* ---- カスタマイズ ---- */

.p-lp__customize {
  display: grid;
  grid-template-columns: 1fr 84px 1fr;
  gap: 30px;
  align-items: center;
}

.p-lp__customize-card {
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
  box-shadow: 0 18px 45px rgba(51, 51, 51, 0.06);
}

.p-lp__customize-head {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--sp-line);
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.14em;
}

.p-lp__customize-screen {
  aspect-ratio: 16 / 10;
  padding: 7%;
  overflow: hidden;
  background: var(--sp-bg);
}

.p-lp__customize-arrow {
  color: var(--sp-rule);
  font-size: 32px;
  text-align: center;
}

.p-lp__customize-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 52px;
  border-top: 1px solid var(--sp-line);
  border-left: 1px solid var(--sp-line);
}

.p-lp__customize-list span {
  padding: 19px 14px;
  border-right: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
  font-size: 10px;
  text-align: center;
}

/* ---- 料金 ---- */

.p-lp__price {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  align-items: start;
}

.p-lp__price-big {
  color: var(--sp-ink);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.p-lp__price-big small {
  display: block;
  margin-top: 20px;
  color: var(--sp-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.p-lp__included {
  border-top: 1px solid var(--sp-line);
}

.p-lp__included div {
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 21px 0;
  border-bottom: 1px solid var(--sp-line);
  font-size: 12px;
  line-height: 1.6;
}

.p-lp__included div span:first-child {
  color: var(--sp-label);
}

.p-lp__price-amount {
  display: block;
  letter-spacing: -0.04em;
}

.p-lp__price-amount em {
  font-style: normal;
  font-size: 0.4em;
  letter-spacing: 0.04em;
  margin-left: 0.15em;
}

.p-lp__price-note {
  margin-top: 26px;
  color: var(--sp-ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.p-lp__price-more {
  margin-top: 18px;
}

.p-lp__faq-more {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}

/* ---- 比較 ---- */

.p-lp__comparison-intro {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px);
  margin-bottom: 50px;
}

.p-lp__compare {
  margin-top: 8px;
  border-top: 1px solid var(--sp-line);
}

.p-lp__compare-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border-bottom: 1px solid var(--sp-line);
}

.p-lp__compare-row > div {
  padding: 21px 18px;
  border-right: 1px solid var(--sp-line);
  font-size: var(--sp-fs-support);
  line-height: 1.5;
}

.p-lp__compare-row > div:last-child {
  border-right: 0;
}

.p-lp__compare-row.is-head > div {
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.08em;
}

.p-lp__compare-row .is-ours {
  background: var(--sp-accent-soft);
}

.p-lp__comparison-conclusion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 34px;
}

.p-lp__comparison-conclusion div {
  padding: 30px;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

.p-lp__comparison-conclusion strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sp-ink);
  font-weight: 500;
}

/* ---- 向いている / 向いていない ---- */

.p-lp__fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.p-lp__fit-card {
  padding: clamp(38px, 4.8vw, 70px);
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
}

.p-lp__fit-card h3 {
  margin: 0 0 35px;
  font-size: 25px;
  font-weight: 400;
}

.p-lp__fit-card.is-yes h3 {
  color: var(--sp-ink);
}

.p-lp__fit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-lp__fit-card li {
  padding: 19px 0;
  border-top: 1px solid var(--sp-line);
  font-size: var(--sp-fs-support);
  line-height: 1.75;
}

/* ---- レスポンシブ ---- */

@media (max-width: 1000px) {
  .p-lp__benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-lp__why-grid {
    grid-template-columns: 1fr;
  }

  .p-lp__why-card,
  .p-lp__why-card + .p-lp__why-card {
    padding: 34px 0 48px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .p-lp__why-num {
    margin-bottom: 45px;
  }

  .p-lp__customize {
    grid-template-columns: 1fr;
  }

  .p-lp__customize-arrow {
    transform: rotate(90deg);
  }

  .p-lp__customize-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-lp__price {
    grid-template-columns: 1fr;
  }

  .p-lp__comparison-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

}

@media (max-width: 768px) {
  .p-lp__inventory {
    display: block;
  }

  .p-lp__inventory p {
    margin-top: 18px;
    text-align: left;
  }

  .p-lp__products-top {
    flex-direction: column;
    align-items: start;
  }

  .p-lp__benefit-grid,
  .p-lp__pain-grid,
  .p-lp__fit-grid {
    grid-template-columns: 1fr;
  }

  .p-lp__pain,
  .p-lp__pain:nth-child(odd),
  .p-lp__pain:nth-child(even) {
    grid-template-columns: 14px 1fr;
    padding: 26px 0;
    border-right: 0;
  }

  .p-lp__bridge {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 56px;
    padding-top: 28px;
  }

  .p-lp__benefit {
    min-height: 205px;
    padding: 26px;
  }

  .p-lp__benefit h3 {
    margin-top: 24px;
  }

  .p-lp__customize-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-lp__compare {
    overflow-x: auto;
  }

  .p-lp__compare-row {
    grid-template-columns: 1fr 1fr 1fr;
    min-width: 700px;
  }

  .p-lp__comparison-conclusion {
    grid-template-columns: 1fr;
  }

  /* 「完成済みサイトが向く場合」は上の比較表の自社列（.is-ours）と同じ色付け。
     オーダーメイド側は変えない（2026-09-08 人間指示・SP のみ）。 */
  .p-lp__comparison-conclusion div:first-child {
    background: var(--sp-accent-soft);
  }
}

/* ==== object/project/_brand.css ==== */
/*
 * object/project/brand — ブランドページ（app/static/brand.html の視覚言語を忠実に再構築）。
 * Purpose/Vision/Mission → Problem → Belief(invert) → Concept → Service → Value → Principles → Closing。
 * 朱色は面で使わない。eyebrow / 序数 / 装飾罫は中立トークン。反転セクションの Belief の
 * 大きな一語だけ、グラフィックとして朱を残す。
 */

/* ---- FV ---- */

.p-brand__hero {
  display: grid;
  align-content: space-between;
  min-height: calc(100svh - 108px);
  overflow: hidden;
  border-bottom: 1px solid var(--sp-line);
}

.p-brand__hero-inner {
  width: min(100%, var(--sp-max));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 150px) var(--sp-side) clamp(64px, 8vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 7vw;
  align-items: end;
}

.p-brand__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 28px;
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p-brand__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sp-rule);
}

.p-brand__title {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(46px, 7.1vw, 96px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.p-brand__hero-side {
  max-width: 470px;
  justify-self: end;
  padding-bottom: 8px;
}

.p-brand__hero-side p {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

.p-brand__hero-side strong {
  display: block;
  margin-top: 26px;
  color: var(--sp-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.p-brand__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 140px;
  border-top: 1px solid var(--sp-line);
}

.p-brand__strip div {
  padding: 28px var(--sp-side) 24px 24px;
  border-right: 1px solid var(--sp-line);
}

.p-brand__strip div:first-child {
  padding-left: var(--sp-side);
}

.p-brand__strip div:last-child {
  border-right: 0;
}

.p-brand__strip small {
  display: block;
  margin-bottom: 13px;
  color: var(--sp-label);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.p-brand__strip strong {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

/* ---- Purpose / Vision / Mission グリッド ---- */

.p-brand__philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sp-line);
  border-left: 1px solid var(--sp-line);
}

.p-brand__philosophy-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 34px;
  border-right: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
}

.p-brand__philosophy-card small {
  color: var(--sp-label);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.p-brand__philosophy-card h3 {
  margin: auto 0 24px;
  font-size: clamp(25px, 2.5vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.p-brand__philosophy-card p {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

/* ---- The Problem ---- */

.p-brand__problem-list {
  border-top: 1px solid var(--sp-line);
}

.p-brand__problem-row {
  display: grid;
  grid-template-columns: 90px minmax(220px, 0.8fr) 1.2fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--sp-line);
  align-items: start;
}

.p-brand__problem-row span {
  color: var(--sp-label);
  font-size: 10px;
}

.p-brand__problem-row h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
}

.p-brand__problem-row p {
  margin: 0;
  max-width: 700px;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

/* ---- Our Belief（invert） ---- */

.p-brand__belief {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8vw;
  align-items: center;
  min-height: 82vh;
}

.p-brand__belief-word {
  color: var(--sp-accent);
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 400;
}

.p-brand__belief-content h2 {
  margin: 0 0 34px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.p-brand__belief-content p {
  margin: 0 0 18px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

.p-brand__belief-content .is-em {
  margin-top: 34px;
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.6;
}

.p-brand__sequence {
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.p-brand__sequence-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.p-brand__sequence-row span:first-child {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.p-brand__sequence-row strong {
  font-size: var(--sp-fs-support);
  font-weight: 400;
}

.p-brand__sequence-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.8;
}

/* ---- Business Concept（大きな声明） ---- */

.p-brand__concept {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 72vh;
}

.p-brand__concept small {
  margin-bottom: 32px;
  color: var(--sp-label);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.p-brand__concept h2 {
  max-width: 1250px;
  margin: 0;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 400;
}

.p-brand__concept p {
  max-width: 720px;
  margin: 48px 0 0 auto;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

/* ---- First Service ---- */

.p-brand__service {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  min-height: 78vh;
  border-top: 1px solid var(--sp-line);
}

.p-brand__service-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(50px, 6vw, 92px) var(--sp-side);
  border-right: 1px solid var(--sp-line);
}

.p-brand__service-copy small {
  color: var(--sp-label);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.p-brand__service-copy h2 {
  margin: 40px 0 24px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 400;
}

.p-brand__service-copy h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}

.p-brand__service-copy p {
  margin: 24px 0 0;
  max-width: 500px;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

.p-brand__service-lead {
  margin: 0 0 24px;
  max-width: 620px;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

.p-brand__service-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--sp-bg);
}

/* ---- Customer Value ---- */

.p-brand__value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sp-line);
  border-left: 1px solid var(--sp-line);
}

.p-brand__value-card {
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
}

.p-brand__value-card span {
  color: var(--sp-label);
  font-size: 10px;
}

.p-brand__value-card h3 {
  margin: 76px 0 16px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 400;
}

.p-brand__value-card p {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.85;
}

/* ---- Brand Principles ---- */

.p-brand__principles {
  border-top: 1px solid var(--sp-line);
}

.p-brand__principle {
  display: grid;
  grid-template-columns: 80px minmax(230px, 0.7fr) 1.3fr;
  gap: 30px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--sp-line);
}

.p-brand__principle span {
  color: var(--sp-label);
  font-size: 10px;
}

.p-brand__principle h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.45;
}

.p-brand__principle p {
  margin: 0;
  max-width: 720px;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

/* ---- Closing（invert） ---- */

.p-brand__closing {
  display: flex;
  align-items: center;
  min-height: 88vh;
}

.p-brand__closing small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.p-brand__closing h2 {
  max-width: 1300px;
  margin: 34px 0 52px;
  font-size: clamp(44px, 7vw, 100px);
  line-height: 0.97;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.p-brand__closing p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--sp-fs-support);
  line-height: 1.9;
}

/* ---- reveal stagger ---- */

.p-brand__philosophy-grid .c-reveal:nth-child(2),
.p-brand__value-grid .c-reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.p-brand__philosophy-grid .c-reveal:nth-child(3),
.p-brand__value-grid .c-reveal:nth-child(3) {
  transition-delay: 0.12s;
}

/* ---- レスポンシブ ---- */

@media (max-width: 1000px) {
  .p-brand__hero-inner,
  .p-brand__belief,
  .p-brand__service {
    grid-template-columns: 1fr;
  }

  .p-brand__hero-side {
    justify-self: start;
  }

  .p-brand__strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-brand__strip div:nth-child(2) {
    border-right: 0;
  }

  .p-brand__strip div:nth-child(n + 3) {
    border-top: 1px solid var(--sp-line);
  }

  .p-brand__philosophy-grid,
  .p-brand__value-grid {
    grid-template-columns: 1fr;
  }

  .p-brand__philosophy-card {
    min-height: 320px;
  }

  .p-brand__service-copy {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--sp-line);
  }
}

@media (max-width: 768px) {
  .p-brand__hero-inner {
    padding-top: 64px;
    gap: 42px;
  }

  .p-brand__title {
    font-size: clamp(44px, 14vw, 64px);
  }

  .p-brand__strip {
    grid-template-columns: 1fr;
  }

  .p-brand__strip div {
    padding-left: var(--sp-side);
    border-right: 0;
    border-top: 1px solid var(--sp-line);
  }

  .p-brand__strip div:first-child {
    border-top: 0;
  }

  .p-brand__problem-row,
  .p-brand__principle {
    grid-template-columns: 45px 1fr;
    gap: 18px;
  }

  .p-brand__problem-row p,
  .p-brand__principle p {
    grid-column: 2;
  }

  .p-brand__belief-word {
    font-size: 56px;
  }

  .p-brand__sequence-row {
    grid-template-columns: 50px 1fr;
  }

  .p-brand__sequence-row p {
    grid-column: 2;
  }

  .p-brand__concept p {
    margin-left: 0;
  }

  .p-brand__service-visual {
    min-height: 480px;
  }
}

/* ==== object/project/_favorites.css ==== */
/* object/project/favorites — /favorites/（docs/06 §4） */

.p-favorites {
  padding-block: clamp(48px, 8vw, 104px);
}

.p-favorites__head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.p-favorites__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 10px 0 16px;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.p-favorites__count {
  font-size: 0.5em;
  color: var(--sp-accent);
}

.p-favorites__lead {
  margin: 0;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
  color: var(--sp-ink);
}

.p-favorites__state {
  padding: clamp(32px, 6vw, 72px) 0;
  border-top: 1px solid var(--sp-line);
  text-align: center;
}

.p-favorites__state p {
  margin: 0 0 20px;
  font-size: var(--sp-fs-body);
  color: var(--sp-ink);
}

.p-favorites__state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.p-favorites__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
}

.p-favorites__grid:empty {
  display: none;
}

.p-favorites__unavailable {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--sp-muted);
}

.p-favorites__noscript {
  padding: 32px 0;
  border-top: 1px solid var(--sp-line);
  font-size: 14px;
}

@media (max-width: 1000px) {
  .p-favorites__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .p-favorites__grid {
    grid-template-columns: 1fr;
  }
}

/* ==== object/project/_compare.css ==== */
/* object/project/compare — /compare/（docs/06 §5。SP は横スクロール） */

.p-compare {
  padding-block: clamp(48px, 8vw, 104px);
}

.p-compare__head {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.p-compare__title {
  margin: 10px 0 16px;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.p-compare__lead {
  margin: 0;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

.p-compare__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.p-compare__impression {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.p-compare__impression select {
  padding: 8px 10px;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
  color: var(--sp-ink);
  font: inherit;
}

.p-compare__state {
  padding: clamp(32px, 6vw, 72px) 0;
  border-top: 1px solid var(--sp-line);
  text-align: center;
}

.p-compare__state p {
  margin: 0 0 20px;
  font-size: var(--sp-fs-body);
}

.p-compare__state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* 横スクロールコンテナ（本文は絶対に画面幅を破壊しない） */
.p-compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.p-compare__table {
  width: 100%;
  /* 見出し列 132px + 商品列 3 つ（最大 3 件比較）× 180px。
     これ以下は .p-compare__scroll が横スクロールを受け持つ。 */
  min-width: 672px;
  /* 列幅を内容（タイトルの長さ）で決めさせない。商品列は等幅になる。 */
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}

.p-compare__table th,
.p-compare__table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--sp-line);
  text-align: left;
  vertical-align: top;
  /* 固定レイアウトでは長い語がセルからはみ出しうるので折り返す。 */
  overflow-wrap: anywhere;
}

.p-compare__rowhead {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 132px;
  background: var(--sp-bg);
  font-weight: 500;
  color: var(--sp-muted);
}

.p-compare__colhead {
  /* table-layout: fixed のため幅は指定しない。残り幅が商品列で等分される
     （比較 2 件でも 3 件でも各列が同じ幅になる）。 */
  width: auto;
}

.p-compare__colname {
  display: block;
  font-weight: 500;
}

.p-compare__remove {
  margin-top: 6px;
  padding: 2px 8px;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}

.p-compare__remove:hover {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
}

.p-compare__thumb {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 8px;
  border: 1px solid var(--sp-line);
}

.p-compare__thumb--placeholder {
  aspect-ratio: 16 / 10;
  background: color-mix(in srgb, var(--sp-ink) 6%, var(--sp-bg));
}

.p-compare__name {
  font-weight: 500;
  text-decoration: none;
}

/* 「販売状態」行。SOLD だけ c-badge、それ以外は文字（バッジにしない）。RESERVED は残り分の案内文。 */
.p-compare__status {
  font-size: 13px;
  line-height: 1.6;
  color: var(--sp-ink-soft);
}

.p-compare__terms,
.p-compare__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-compare__term.is-match {
  color: var(--sp-accent);
  font-weight: 500;
}

.p-compare__term.is-match::before {
  content: "\25cf";
  margin-right: 5px;
  font-size: 0.7em;
}

.p-compare__noscript {
  padding: 24px 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .p-compare__rowhead {
    width: 104px;
  }
}

/* ==== object/project/_compare-tray.css ==== */
/* object/project/compare-tray — 全ページ共通の比較トレイ（1 行のコンパクトバー / docs/06 §36〜§38） */

.p-compare-tray {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  background: var(--sp-dark);
  color: #fff;
  border-top: 2px solid var(--sp-accent);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.p-compare-tray[hidden] {
  display: none;
}

/* トレイ表示中は、フッター下端がトレイに隠れないよう余白を足す
   （--sp-tray-h は compare-tray.js が :root に設定。トレイと同じ暗色なので padding で伸ばす）。 */
.has-sp-compare-tray .l-footer {
  padding-bottom: calc(48px + var(--sp-tray-h, 0px));
}

.p-compare-tray__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
}

.p-compare-tray__head {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.p-compare-tray__count {
  font-size: 15px;
  font-weight: 600;
}

.p-compare-tray__count::after {
  content: "件";
  margin-left: 1px;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
}

.p-compare-tray__list {
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.p-compare-tray__list::-webkit-scrollbar {
  display: none;
}

.p-compare-tray__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 3px 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 2px;
  font-size: 11px;
  white-space: nowrap;
}

.p-compare-tray__remove {
  min-width: 22px;
  min-height: 22px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.p-compare-tray__remove:hover {
  color: var(--sp-accent);
}

.p-compare-tray__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

.p-compare-tray__clear {
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.p-compare-tray__cta {
  padding: 8px 16px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .p-compare-tray__inner {
    gap: 10px;
    padding-block: 7px;
  }

  /* SP は個別チップを出さず、件数 + 解除 + CTA の 1 行に絞る（表示領域を圧迫しない）。 */
  .p-compare-tray__list {
    display: none;
  }

  .p-compare-tray__head {
    flex: 1 1 auto;
  }
}

/* ==== object/project/_purchase.css ==== */
/*
 * object/project/purchase — /purchase/complete/（決済完了）。docs/08 §6。
 * 上質・静か・最小。noindex はプラグイン側の wp_robots で付与。
 */

.p-purchase {
  padding-block: clamp(48px, 9vw, 112px);
}

.p-purchase__inner {
  max-width: 46rem;
}

.p-purchase__eyebrow {
  margin-bottom: 12px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sp-label);
}

.p-purchase__title {
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.2;
  margin-bottom: 0.8em;
}

.p-purchase__summary {
  margin: 0 0 clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--sp-line);
}

.p-purchase__summary > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 12px 20px;
  padding-block: 12px;
  border-bottom: 1px solid var(--sp-line);
}

.p-purchase__summary dt {
  color: var(--sp-muted);
  font-size: 13px;
}

.p-purchase__summary dd {
  margin: 0;
  font-weight: 500;
}

.p-purchase__next {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--sp-line-strong);
}

.p-purchase__next-title {
  font-size: 15px;
  margin-bottom: 0.8em;
}

.p-purchase__notice {
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

.p-purchase__resend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 20px;
}

.p-purchase__resend-note {
  font-size: 13px;
  color: var(--sp-muted);
}

.p-purchase__hint {
  margin-top: 18px;
  font-size: 12px;
  color: var(--sp-muted);
}

.p-purchase__spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  border: 2px solid var(--sp-line);
  border-top-color: var(--sp-accent);
  border-radius: 50%;
  animation: sp-purchase-spin 0.9s linear infinite;
}

@keyframes sp-purchase-spin {
  to {
    transform: rotate(360deg);
  }
}

.js-sp-checkout.is-loading,
.js-sp-resend.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.c-button--buy.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .p-purchase__summary > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-purchase__spinner {
    animation-duration: 2s;
  }
}

/* ==== object/project/_onboarding.css ==== */
/*
 * object/project/onboarding — /onboarding/ 購入後入力フォーム。docs/09 §4。
 * noindex / no-store はプラグイン側。ここは表示のみ。
 */

.p-onboarding {
  padding-block: clamp(40px, 7vw, 88px);
}

.p-onboarding__inner {
  max-width: 44rem;
}

.p-onboarding__eyebrow {
  margin-bottom: 10px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sp-label);
}

.p-onboarding__title {
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.2;
  margin-bottom: 0.6em;
}

.p-onboarding__meta {
  font-size: 14px;
  color: var(--sp-ink);
}

.p-onboarding__ordernum {
  margin-left: 10px;
  font-size: 12px;
  color: var(--sp-muted);
}

.p-onboarding__lead {
  margin-top: 12px;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
  color: var(--sp-ink);
}

.p-onboarding__saved {
  margin: 16px 0 0;
  padding: 8px 14px;
  border-left: 3px solid var(--sp-line-strong);
  background: color-mix(in srgb, var(--sp-ink) 3%, var(--sp-bg));
  font-size: 13px;
}

/* 差し戻し通知。上部の「機密情報」注意書き（--caution）とは別物として、
   白カード + アクセントの天バー + タグチップで「対応が必要な連絡」に見せる。 */
.p-onboarding__reopen {
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--sp-line-strong);
  border-top: 3px solid var(--sp-accent);
  background: var(--sp-bg);
}

.p-onboarding__reopen-tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--sp-accent);
}

.p-onboarding__reopen-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 21px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--sp-ink);
}

.p-onboarding__reopen-lead {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sp-muted);
}

.p-onboarding__reopen-note {
  padding: 14px 16px;
  border-left: 3px solid var(--sp-accent);
  background: var(--sp-accent-soft);
}

.p-onboarding__reopen-note-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-accent);
}

.p-onboarding__reopen-note-body {
  font-size: var(--sp-fs-body);
  font-weight: 500;
  line-height: 1.8;
  color: var(--sp-ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.p-onboarding__reopen-foot {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sp-muted);
}

@media (max-width: 768px) {
  .p-onboarding__reopen-note-body {
    font-size: var(--sp-fs-body-sp);
  }
}

.p-onboarding__form {
  margin-top: clamp(24px, 4vw, 40px);
}

.p-onboarding__group {
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--sp-line);
}

.p-onboarding__legend {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sp-ink);
}

.p-onboarding__field {
  margin: 0 0 16px;
}

.p-onboarding__field:last-child {
  margin-bottom: 0;
}

.p-onboarding__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
}

.p-onboarding__input,
.p-onboarding__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 3px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--sp-ink);
}

.p-onboarding__input:focus-visible,
.p-onboarding__textarea:focus-visible,
.p-onboarding__file:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 1px;
}

.p-onboarding__textarea {
  min-height: 5.5em;
  resize: vertical;
}

.p-onboarding__hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--sp-muted);
  line-height: 1.6;
}

.p-onboarding__logo-preview-wrap {
  display: block;
  margin-bottom: 10px;
}

.p-onboarding__logo-preview-wrap[hidden] {
  display: none;
}

.p-onboarding__logo-preview {
  display: block;
  max-width: 160px;
  height: auto;
  margin-bottom: 4px;
  border: 1px solid var(--sp-line);
}

/* ファイル選択直後のクライアント側プレビュー（送信前） */
.p-onboarding__file-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.p-onboarding__file-pick[hidden] {
  display: none;
}

.p-onboarding__file-pick-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 160px;
  font-size: 12px;
  color: var(--sp-muted);
}

.p-onboarding__file-pick-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--sp-line);
}

.p-onboarding__file-pick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 56px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--sp-ink);
}

.p-onboarding__file-pick-cap {
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.p-onboarding__logo-uploaded {
  display: inline-block;
  font-size: 12px;
  color: var(--sp-muted);
}

.p-onboarding__file {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 13px;
}

.p-onboarding__status {
  min-height: 1.4em;
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--sp-ink-soft);
}

.p-onboarding__status.has-error {
  font-weight: 600;
  color: var(--sp-accent);
}

/* 一時保存 / 入力確定 は画面下に追従（長いフォームでも常に押せる。2026-09-14 人間指示）。
   sticky なので JS 不要・印刷や非対応環境では通常フローに落ちる。 */
.p-onboarding__bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 16px calc(-1 * var(--sp-side)) 0;
  padding: 12px var(--sp-side) max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--sp-line);
  background: var(--sp-bg);
}

.p-onboarding__bar .p-onboarding__status {
  margin-bottom: 8px;
}

.p-onboarding__bar .p-onboarding__status:empty {
  display: none;
}

.p-onboarding__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.p-onboarding__notice {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--sp-line-strong);
}

/* --- Phase 7.5: スキーマ駆動の section / field / repeater / choice --- */

.p-onboarding__lead--caution {
  margin-top: 10px;
  padding: 10px 14px;
  border-left: 3px solid var(--sp-accent);
  background: var(--sp-accent-soft);
  font-size: 13px;
}

/* --- ページ（h2）: 1 枚のカード。制作するサイトの 1 ページ単位で入力を区切る --- */

.p-onboarding__page {
  margin: 0 0 clamp(28px, 5vw, 56px);
  border: 1px solid var(--sp-line-strong);
  border-top: 3px solid var(--sp-accent);
  background: var(--sp-bg);
}

.p-onboarding__page-head {
  padding: clamp(16px, 3vw, 26px) clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--sp-line);
  background: color-mix(in srgb, var(--sp-ink) 3%, var(--sp-bg));
}

.p-onboarding__page-num {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--sp-accent);
}

.p-onboarding__page-title {
  margin: 0;
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.3;
  font-weight: 600;
}

.p-onboarding__page-desc {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sp-muted);
}

/* --- セクション（h3）: ページの中の情報のまとまり --- */

.p-onboarding__section {
  padding: clamp(18px, 3vw, 26px) clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--sp-line);
}

.p-onboarding__page > .p-onboarding__section:last-child {
  border-bottom: 0;
}

.p-onboarding__section-title {
  position: relative;
  margin: 0 0 0.5em;
  padding-left: 12px;
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 600;
  line-height: 1.4;
}

.p-onboarding__section-title::before {
  content: "";
  position: absolute;
  inset-block: 0.15em;
  left: 0;
  width: 3px;
  background: var(--sp-accent);
}

.p-onboarding__section-desc {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-muted);
}

.p-onboarding__fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.p-onboarding__fields > .p-onboarding__field {
  margin: 0;
}

.p-onboarding__page--confirm {
  border-top-color: var(--sp-line-strong);
}

.p-onboarding__page--confirm .p-onboarding__field {
  padding: clamp(18px, 3vw, 26px) clamp(16px, 3vw, 28px);
}

.p-onboarding__req {
  color: var(--sp-accent);
}

.p-onboarding__choices {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.p-onboarding__choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.p-onboarding__choice input {
  margin-top: 3px;
}

.p-onboarding__files {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.p-onboarding__file-current {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.p-onboarding__repeater {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--sp-line);
  border-radius: 3px;
  background: color-mix(in srgb, var(--sp-ink) 2%, var(--sp-bg));
}

.p-onboarding__rep-head {
  margin-bottom: 10px;
}

.p-onboarding__rep-item {
  /* fieldset の既定 min-width: min-content を解除（file input の固有幅で SP の枠をはみ出す。2026-09-14 人間指摘） */
  min-width: 0;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--sp-line);
  border-radius: 3px;
  background: #fff;
}

.p-onboarding__rep-legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-ink);
}

.p-onboarding__errors {
  /* 追従バーの裏に隠れないよう、scrollIntoView の余白を取る */
  scroll-margin-bottom: 160px;
  margin: 12px 0;
  padding: 12px 14px 12px 32px;
  border: 1px solid var(--sp-accent);
  background: var(--sp-accent-soft);
  font-size: 13px;
  line-height: 1.7;
}

.p-onboarding__errors[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .p-onboarding__actions {
    gap: 10px;
  }

  /* 追従バー内では 2 つを横並びにして画面を占有しすぎない */
  .p-onboarding__actions .c-button {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding-inline: 12px;
    text-align: center;
  }

  /* ソフトキーボード表示中（入力欄にフォーカスがある間）は追従をやめて通常フローに戻す。
     キーボードで狭くなった画面をバーがさらに占有しないようにする（2026-09-14 人間指摘）。
     checkbox / radio はキーボードを出さないので対象外。:has() 非対応の古い環境は従来どおり追従。 */
  .p-onboarding__form:has(.p-onboarding__input:focus, .p-onboarding__textarea:focus, .p-onboarding__file:focus) .p-onboarding__bar {
    position: static;
    margin-top: 24px;
  }
}

/* iOS Safari は 16px 未満の入力欄にフォーカスすると自動でズームし、ページが横に揺れる
   （フォーム・チャット画面で実害。2026-09-12 人間指摘）。SP では入力欄を 16px にして防ぐ。
   基本ルール（15px）より後ろに置く（同じ詳細度なので順序で勝たせる）。 */
@media (max-width: 768px) {
  .p-onboarding__input,
  .p-onboarding__textarea,
  .p-onboarding__file {
    font-size: 16px;
  }
}

/* --- 変更希望フォーム「公開の準備と費用の確認」（docs/09 §4c-2） --- */

.p-onboarding__setup {
  margin-top: clamp(32px, 5vw, 48px);
}

.p-onboarding__setup-head {
  padding: clamp(18px, 3vw, 24px) clamp(16px, 3vw, 24px);
  border-radius: 8px;
  background: #f7f5f3;
}

.p-onboarding__setup-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 21px);
  font-weight: 600;
  line-height: 1.4;
}

.p-onboarding__setup-lead {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--sp-ink-soft);
}

.p-onboarding__legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--sp-ink-soft);
}

.p-onboarding__legend-list > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-onboarding__legend-list dt,
.p-onboarding__legend-list dd {
  margin: 0;
}

/* 見出しごとのカード */
.p-onboarding__setup > .p-onboarding__qgroup {
  margin-top: 16px;
  padding: clamp(18px, 3vw, 26px) clamp(16px, 3vw, 26px);
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  background: #fff;
}

.p-onboarding__qgroup > .p-onboarding__fields {
  gap: 22px;
}

.p-onboarding__qgroup[hidden],
.p-onboarding__q[hidden] {
  display: none;
}

/* 質問 */
.p-onboarding__fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.p-onboarding__fieldset > .p-onboarding__label {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

.p-onboarding__q > .p-onboarding__label {
  font-size: 14px;
  font-weight: 600;
}

.p-onboarding__q > .p-onboarding__hint {
  margin: -2px 0 10px;
}

/* 前の答えで出てくる質問は、つながりが分かるように左に線を引く */
.p-onboarding__q--sub {
  padding-left: 14px;
  border-left: 2px solid var(--sp-accent-soft);
}

.p-onboarding__cond {
  font-size: 12px;
  font-weight: 400;
  color: var(--sp-muted);
}

.js-sp-setup.is-enhanced [data-sp-cond-hint] {
  display: none;
}

/* 選択肢（行ごとに押せるカード） */
.p-onboarding__options {
  display: grid;
  gap: 8px;
}

.p-onboarding__option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.p-onboarding__option:hover {
  border-color: var(--sp-rule);
}

.p-onboarding__option:has(input:checked) {
  border-color: var(--sp-accent);
  background: var(--sp-accent-soft);
}

.p-onboarding__option:has(input:focus-visible) {
  outline: 2px solid var(--sp-accent);
  outline-offset: 2px;
}

.p-onboarding__option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--sp-accent);
}

.p-onboarding__opt-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

/* 費用の表示 */
.p-onboarding__cost {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.p-onboarding__cost--quote {
  background: var(--sp-accent);
  color: #fff;
}

.p-onboarding__cost--maybe {
  border: 1px solid var(--sp-accent);
  color: var(--sp-accent-ink);
  background: #fff;
}

/* 送信ボタンは最後のカードから離す */
.p-onboarding__setup + .p-onboarding__actions {
  margin-top: clamp(28px, 4vw, 40px);
}

/* エラー */
.p-onboarding__field.has-error > .p-onboarding__label,
.p-onboarding__field-error {
  color: var(--sp-accent);
}

.p-onboarding__field.has-error .p-onboarding__option {
  border-color: var(--sp-accent);
}

.p-onboarding__field-error {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

@media (min-width: 769px) {
  /* 短い選択肢が 4 つ以上の質問は 2 列（長い文は 1 列のまま折り返す） */
  .p-onboarding__options:has(> .p-onboarding__option:nth-child(4)) {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  }
}

@media (max-width: 768px) {
  .p-onboarding__setup ~ .p-onboarding__actions .c-button,
  .p-onboarding__form .p-onboarding__actions .c-button {
    width: 100%;
  }
}

/* ==== object/project/_hold.css ==== */
/*
 * object/project/hold — 24 時間取置き / 再販通知（reservation-notify §9）。
 *
 * - 商品詳細の CTA: 「24 時間取置きする」の下線リンク（購入より弱い）+ 展開フォーム、
 *   取置き中の disabled「取置き中」、「購入できるようになったらメールで受け取る」、holder 本人の表示。
 * - 実物確認バー（暗色）: disabled「取置き中」と再販通知の詰めた表示。朱色の購入の塗りは使わない。
 * - 取置き / 再販通知ページ（p-onboarding の最小レイアウトに上乗せ）。
 * SP（≤768px）でも横スクロールを出さない（入力欄は 16px で iOS のズームを防ぐ）。
 */

/* ---- CTA（商品詳細） ---- */

/* holder 本人と分かったら hold.js が他ユーザー向けの要素に hidden を付ける。
   display を持つ部品は [hidden] が効かないので、ここで明示的に消す。 */
.p-site-cta__buy[hidden],
.p-live__foot .c-button--held[hidden],
.p-hold-page__copy[hidden] {
  display: none;
}

.p-site-cta__buy .c-button--held {
  width: 100%;
}

.p-site-cta__notice--hold {
  margin-bottom: 12px;
}

.p-site-cta__holder:not([hidden]) {
  display: block;
  margin-top: 10px;
}

.p-site-cta__notice--holder {
  margin: 0;
  font-weight: 500;
  color: var(--sp-ink);
}

.p-site-cta__holder-link {
  color: var(--sp-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 取置きリンク: 購入より弱い（塗り・枠なしの下線テキスト）。 */
.p-hold-link {
  margin-top: 12px;
  text-align: center;
}

.p-hold-link__toggle,
.p-restock__toggle {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.p-hold-link__toggle {
  max-width: 100%;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--sp-ink-soft);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: var(--sp-line-strong);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.p-hold-link__toggle:hover {
  color: var(--sp-ink);
  text-decoration-color: currentcolor;
}

.p-hold-link__toggle:focus-visible,
.p-restock__toggle:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 2px;
}

/* 再販通知の登録ボタン（取置き中の他ユーザー向け）。 */
.p-restock {
  margin-top: 12px;
}

.p-restock__toggle {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--sp-line-strong);
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-size: 13px;
  line-height: 1.5;
}

.p-restock__toggle:hover {
  border-color: var(--sp-ink);
}

/* ---- 展開フォーム（取置き / 再販通知で共通） ---- */
.p-hold-form {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
  color: var(--sp-ink);
  text-align: left;
}

.p-hold-form[hidden] {
  display: none;
}

.p-hold-form__lead,
.p-hold-form__consent {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-ink-soft);
}

.p-hold-form__consent-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.p-hold-form__row {
  margin: 0 0 12px;
}

.p-hold-form__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
}

.p-hold-form__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 0;
  background: var(--sp-bg);
  color: var(--sp-ink);
  font: inherit;
  font-size: 15px;
}

.p-hold-form__input:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 1px;
}

.p-hold-form__input[aria-invalid="true"] {
  border-color: var(--sp-accent);
}

.p-hold-form__error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--sp-accent-ink);
}

.p-hold-form__error[hidden] {
  display: none;
}

.p-hold-form__turnstile {
  max-width: 100%;
  margin: 0 0 12px;
  overflow: hidden;
}

.p-hold-form__actions {
  margin: 0;
}

.p-hold-form__actions .c-button {
  width: 100%;
}

.p-hold-form__status {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-ink);
}

.p-hold-form.is-done .p-hold-form__status {
  margin-top: 0;
}

.p-hold-form.is-loading {
  cursor: progress;
}

/* ---- 実物確認バー（暗色 #333） ---- */
.p-live__foot .c-button--held,
.p-live__foot .c-button--held:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #f2f2f2; /* #333 上で 11:1。購入の朱色の塗りは使わない */
}

.p-live__holder:not([hidden]) {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.p-live__holder-text {
  color: #fff;
}

.p-live__holder-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.p-restock--compact {
  flex: 0 1 auto;
  margin-top: 0;
}

.p-restock--compact.is-open {
  flex-basis: 100%;
}

.p-restock--compact .p-restock__toggle {
  width: auto;
  max-width: 100%;
  min-height: 34px;
  padding: 6px 12px;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
  font-size: 12px;
}

.p-restock--compact .p-restock__toggle:hover {
  border-color: #fff;
}

.p-restock--compact .p-hold-form {
  max-width: 32rem;
}

/* ---- 取置き / 再販通知ページ ---- */
.p-hold-page__body > * + * {
  margin-top: 16px;
}

.p-hold-page__status {
  font-size: 18px;
  color: var(--sp-ink);
}

.p-hold-page__product {
  color: var(--sp-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.p-hold-page__facts {
  margin: 0;
  border-top: 1px solid var(--sp-line);
}

.p-hold-page__fact {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sp-line);
}

.p-hold-page__fact dt {
  font-size: 13px;
  color: var(--sp-muted);
}

.p-hold-page__fact dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.p-hold-page__notes {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.8;
  list-style: disc;
}

.p-hold-page__notice {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid var(--sp-line-strong);
  font-size: 14px;
  line-height: 1.7;
}

.p-hold-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-hold-page__section {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--sp-line);
}

.p-hold-page__h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.p-hold-page__share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 0;
}

.p-hold-page__share-input {
  flex: 1 1 16rem;
  min-width: 0;
}

.p-hold-page__check {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
}

.p-hold-page__check input {
  margin-right: 6px;
}

.p-hold-page__form {
  margin-top: 16px;
}

.p-hold-page__coupon {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .p-hold-form {
    padding: 12px;
  }

  /* iOS Safari のフォーカス時ズームを防ぐ（16px 未満だと画面が横に揺れる）。 */
  .p-hold-form__input {
    font-size: 16px;
  }

  .p-hold-page__fact {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .p-hold-page__status {
    font-size: 16px;
  }

  .p-hold-page__share .c-button {
    width: 100%;
  }

  .p-live__holder-text {
    font-size: 11px;
  }
}

/* ==== object/project/_chat.css ==== */
/*
 * object/project/chat — 注文専用チャット（docs/09 §4d）。
 * p-onboarding のデザイン言語（余白・罫線・タイポ）を土台に、timeline だけを足す。
 * 派手な吹き出し UI にはしない（制作案件の履歴が追いやすいことを優先）。
 */

.p-chat__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 14px 0 0;
  color: var(--sp-ink-soft);
  font-size: 13px;
}

.p-chat__demo-link {
  margin-left: auto;
  color: var(--sp-accent);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.p-chat__demo-link:hover {
  text-decoration: underline;
}

.p-chat__status.is-open {
  color: var(--sp-accent);
}

.p-chat__status.is-closed {
  color: var(--sp-muted);
}

.p-chat__timeline {
  margin-top: 8px;

  /* 最後のメッセージが入力バーの下に隠れないよう、バーの高さぶん余白を取る（JS が更新）。 */
  padding-bottom: calc(var(--sp-chat-bar-h, 72px) + 16px);
}

.p-chat__empty {
  padding: 28px 0;
  color: var(--sp-muted);
  font-size: 13px;
}

.p-chat__msg {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--sp-line);
}

/* 送り手の識別（2026-09-12 人間指摘「自分が送ったものが分かりづらい」）:
   お客様（＝この画面を見ている本人）の投稿は薄い地色 + 濃い左罫線 + 太い送信者名で「自分」と
   一目で分かるようにし、SITE PICK からの返信は白地 + アクセント色の左罫線 + アクセント色の
   送信者名で対比させる。吹き出し UI にはしない（履歴の追いやすさを優先）。 */
.p-chat__msg--customer {
  margin: 14px 0;
  padding: 16px 18px 18px;
  border: 1px solid var(--sp-line);
  border-left: 3px solid var(--sp-ink);
  border-radius: 3px;
  background: rgba(51, 51, 51, 0.045); /* 白地の返信と並んだときに「自分の投稿」と分かる薄い地色 */
}

.p-chat__msg--customer + .p-chat__msg--customer {
  margin-top: 0;
}

.p-chat__msg--customer .p-chat__msg-sender {
  color: var(--sp-ink);
  font-weight: 700;
}

.p-chat__msg--customer .p-chat__msg-sender::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--sp-ink);
  vertical-align: 1px;
}

.p-chat__msg--admin {
  border-left: 3px solid var(--sp-accent);
  padding-left: 16px;
}

.p-chat__msg--admin .p-chat__msg-sender {
  color: var(--sp-accent);
  font-weight: 700;
}

.p-chat__msg--system {
  border-left: 3px solid transparent;
  padding-left: 16px;
  background: var(--sp-bg);
}

.p-chat__msg-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--sp-ink-soft);
}

.p-chat__msg-sender {
  font-weight: 500;
  color: var(--sp-ink);
}

.p-chat__msg--system .p-chat__msg-sender {
  color: var(--sp-muted);
  font-weight: 400;
}

.p-chat__msg-body {
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere; /* 長い URL・ファイル名で横にはみ出さない */
}

.p-chat__file-link {
  overflow-wrap: anywhere;
}

.p-chat__msg--system .p-chat__msg-body {
  color: var(--sp-ink-soft);
  font-size: 13px;
}

.p-chat__msg-action {
  margin: 12px 0 0;
}

.p-chat__files {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.p-chat__file {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 6px 0;
  font-size: 13px;
}

.p-chat__file-thumb {
  display: block;
  max-width: 220px;
  max-height: 160px;
  width: auto;
  height: auto;
  border: 1px solid var(--sp-line);
}

.p-chat__file-size {
  color: var(--sp-muted);
  font-size: 12px;
}

.p-chat__closed {
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
  font-size: 13px;
  line-height: 1.9;
}

/* --- 画面構成（2026-09-12 人間指示）: 見出しを上に固定、入力欄を下に小さく固定 --------------- */

/* チャット画面はサイトヘッダー無しで、見出しが画面上端から始まる。 */
.p-chat.p-onboarding {
  padding-block: 0;
}

/* 見出し: 画面上端に貼り付く（チャット画面はサイトヘッダー無し。ヘッダーがある画面では JS が
   --sp-header-h にその高さを入れる）。 */
.p-chat__head {
  position: sticky;
  top: var(--sp-header-h, 0);
  z-index: 20;
  margin: 0 calc(-1 * var(--sp-side, 16px));
  padding: 12px var(--sp-side, 16px) 10px;
  background: var(--sp-bg);
  border-bottom: 1px solid var(--sp-line);
}

.p-chat__head .p-onboarding__eyebrow {
  margin-bottom: 4px;
}

.p-chat__title {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.4;
}

.p-chat__head .p-chat__meta {
  margin-top: 6px;
  font-size: 12px;
}

/* 入力バー: 画面下に貼り付く 1 行のバー。長文は最大 6 行まで自動で伸びる。 */
.p-chat__form {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin: 0 calc(-1 * var(--sp-side, 16px));
  padding: 8px var(--sp-side, 16px) max(8px, env(safe-area-inset-bottom));
  background: var(--sp-bg);
  border-top: 1px solid var(--sp-line);
}

.p-chat__bar {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.p-chat__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  max-height: 10.5em;
  padding: 10px 14px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 21px;
  background: #fff;
  color: var(--sp-ink);
  font: inherit;
  font-size: 16px; /* iOS の自動ズームを防ぐ */
  line-height: 1.4;
  resize: none;
  overflow-y: auto;
}

.p-chat__input:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 1px;
}

.p-chat__attach-btn,
.p-chat__send {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--sp-ink-soft);
  cursor: pointer;
}

.p-chat__attach-btn:hover,
.p-chat__send:hover {
  color: var(--sp-ink);
}

.p-chat__send {
  color: var(--sp-accent);
}

.p-chat__attach-btn:focus-visible,
.p-chat__send:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 1px;
}

/* file input 本体は見せない（ラベルのクリップアイコンで開く）。 */
.p-chat__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.p-chat__picked {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--sp-ink-soft);
  overflow-wrap: anywhere;
}

.p-chat__attach-note {
  margin: 4px 0 0;
  color: var(--sp-muted);
  font-size: 11px;
  line-height: 1.5;
}

.p-chat__submit {
  margin-top: 22px;
}

@media (max-width: 768px) {
  .p-chat__file-thumb {
    max-width: 160px;
  }

  .p-chat__head {
    top: var(--sp-header-h, 0);
  }

  .p-chat__attach-note {
    display: none; /* SP では入力の邪魔にならないよう非表示（ファイル選択時に選んだ名前だけ出す） */
  }
}

.p-chat__error {
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid var(--sp-accent);
  color: var(--sp-accent);
  font-size: 13px;
}

/* ==== object/project/_ask.css ==== */
/*
 * object/project/ask — 購入前の相談チャット（/ask/*。custom-chat spec §9.2）。
 * p-onboarding のデザイン言語（余白・罫線・タイポ）を土台に、_chat.css の timeline の作法を流用する。
 * 吹き出しにはしない。待ち時間は文言だけ（カウントダウン・残り時間の数字は出さない）。
 */

.p-ask__lead,
.p-ask__notice {
  margin: 12px 0 0;
  font-size: var(--sp-fs-body);
}

.p-ask__notice {
  padding: 12px 14px;
  border-left: 3px solid var(--sp-accent);
  background: var(--sp-bg);
}

.p-ask__product {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--sp-line);
  border-radius: 3px;
}

.p-ask__product-thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--sp-line);
}

.p-ask__product-title {
  margin: 0;
  font-weight: 600;
  line-height: var(--sp-lh-tight);
}

.p-ask__product-industry {
  margin: 2px 0 0;
  color: var(--sp-ink-soft);
  font-size: 12px;
}

.p-ask__product-status {
  margin: 4px 0 0;
  color: var(--sp-ink-soft);
  font-size: 13px;
}

.p-ask__product-status:empty {
  display: none;
}

.p-ask__product-links {
  margin: 4px 0 0;
  font-size: 13px;
}

.p-ask__start {
  margin-top: 20px;
}

/* 相談種別（radio。販売導線 v2 Phase 1）。fieldset の既定の枠は使わない。 */
.p-ask__types {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.p-ask__types legend {
  padding: 0;
}

.p-ask__type {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
}

.p-ask__type input {
  flex: 0 0 auto;
  margin-top: 5px;
}

.p-ask__type-note {
  margin: 8px 0 0;
  padding-left: 24px;
  color: var(--sp-ink-soft);
  font-size: 13px;
}

.p-ask__type-note[hidden] {
  display: none;
}

.p-ask__note,
.p-ask__status {
  margin: 8px 0 0;
  color: var(--sp-ink-soft);
  font-size: 13px;
}

.p-ask__error {
  margin: 8px 0;
  color: var(--sp-accent);
  font-size: 14px;
}

.p-ask__input {
  width: 100%;
  font-size: 16px; /* iOS のフォーカス時ズームを防ぐ */
  resize: none;
}

.p-ask__state {
  margin: 18px 0 0;
}

.p-ask__waiting,
.p-ask__handoff {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--sp-accent);
  background: var(--sp-bg);
  font-size: 14px;
  line-height: var(--sp-lh-body);
}

.p-ask__spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid var(--sp-line-strong);
  border-top-color: var(--sp-accent);
  border-radius: 50%;
  vertical-align: -2px;
  animation: p-ask-spin 1s linear infinite;
}

@keyframes p-ask-spin {
  to {
    transform: rotate(360deg);
  }
}

.p-ask__soft {
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 14px;
}

.p-ask__bar {
  margin: 8px 0 0;
  color: var(--sp-ink-soft);
  font-size: 12px;
}

.p-ask__timeline {
  margin-top: 8px;
}

.p-ask__msg {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--sp-line);
}

.p-ask__msg--visitor {
  margin: 12px 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--sp-line);
  border-left: 3px solid var(--sp-ink);
  border-radius: 3px;
  background: rgba(51, 51, 51, 0.045);
}

.p-ask__msg--admin {
  padding-left: 16px;
  border-left: 3px solid var(--sp-accent);
}

.p-ask__msg--admin .p-ask__msg-sender {
  color: var(--sp-accent);
  font-weight: 700;
}

.p-ask__msg--system {
  padding-left: 16px;
  border-left: 3px solid transparent;
  background: var(--sp-bg);
  color: var(--sp-ink-soft);
  font-size: 14px;
}

.p-ask__msg-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 6px;
  color: var(--sp-ink-soft);
  font-size: 12px;
}

.p-ask__msg-sender {
  color: var(--sp-ink);
  font-weight: 500;
}

.p-ask__msg-body {
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
  overflow-wrap: anywhere;
}

.p-ask__msg-body a {
  color: var(--sp-accent);
}

.p-ask__waiting-note {
  margin: 12px 0 0;
  color: var(--sp-ink-soft);
  font-size: 13px;
}

.p-ask__waiting-note:empty {
  display: none;
}

.p-ask__next {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin: 18px 0 0;
}

.p-ask__next[hidden] {
  display: none;
}

.p-ask__form {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin: 18px calc(var(--sp-side) * -1) 0;
  padding: 10px var(--sp-side) calc(10px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--sp-line);
  background: #fff;
}

.p-ask__bar-input {
  display: flex;
  gap: 8px;
  align-items: stretch; /* 入力欄（p-form__input）と送信ボタンの高さをそろえる */
}

.p-ask__send {
  flex: 0 0 auto;
}

.p-ask__form.is-loading .p-ask__send,
.p-ask__start.is-loading .c-button {
  opacity: 0.6;
  pointer-events: none;
}

.p-ask__aux {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 14px 0 0;
}

.p-ask__aux form {
  margin: 0;
}

.p-ask__aux-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  text-align: left; /* button の既定の中央寄せで折り返しが崩れていた */
  cursor: pointer;
}

.p-ask__contact {
  margin: 24px 0 40px;
  font-size: 13px;
}

.p-ask__guide-product {
  font-weight: 600;
}

@media (max-width: 768px) {
  .p-ask__lead,
  .p-ask__notice,
  .p-ask__msg-body {
    font-size: var(--sp-fs-body-sp);
  }

  .p-ask__form {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0));
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-ask__spinner {
    animation-duration: 3s;
  }
}

/* ==== object/project/_sticky-cta.css ==== */
/*
 * object/project/sticky-cta — SP 追従バー（商品詳細・<=768px。custom-chat spec §9.1 / SHARED-16=A の最終形）。
 *
 * 重なりの規則（基盤 spec §5.4）:
 *  (1) 末尾の CTA 囲みを覆わない … JS が末尾 CTA の可視中は is-visible を外す
 *  (2) 比較トレイを覆わない … トレイ表示中（:root.has-sp-compare-tray）は bottom: var(--sp-tray-h) で上に積む。
 *      z-index はトレイ（60）より下の 55
 *  (3) 共有パネル（site-share）は追従バーの上に開く … パネル側が 55 より上。この部品は 55 を超えない
 * 表示中は body.has-sp-sticky-cta で本文の下余白を足す（最下部の本文・フッターのリンクを隠さない）。
 */

.p-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .p-sticky-cta {
    --sp-sticky-cta-h: 64px;

    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 55;
    display: flex;
    gap: 8px;
    padding: 8px var(--sp-side) calc(8px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid var(--sp-line);
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform var(--sp-dur) var(--sp-ease), visibility var(--sp-dur);
  }

  .p-sticky-cta.is-visible {
    transform: translateY(0);
    visibility: visible;
  }

  .has-sp-compare-tray .p-sticky-cta {
    bottom: var(--sp-tray-h, 0);
    padding-bottom: 8px;
  }

  /* 2 つとも 1 行（改行しない）。相談は文字の幅ちょうど、残りを「実物を見る」へ（2026-10-05: 413px 以下で「無料で相談する」が 2 行になっていた）。 */
  .p-sticky-cta__primary,
  .p-sticky-cta__ask {
    justify-content: center;
    min-height: 48px;
    padding-inline: 16px;
    white-space: nowrap;
  }

  .p-sticky-cta__primary {
    flex: 1 1 auto;
  }

  .p-sticky-cta__ask {
    flex: 0 0 auto;
  }

  body.has-sp-sticky-cta {
    padding-bottom: calc(var(--sp-sticky-cta-h, 64px) + env(safe-area-inset-bottom, 0px));
  }

  .has-sp-compare-tray body.has-sp-sticky-cta {
    padding-bottom: calc(64px + var(--sp-tray-h, 0px) + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .p-sticky-cta {
    transition: none;
  }
}

/* ==== object/project/_marketing.css ==== */
/*
 * object/project/marketing — 公開情報ページ共通（Phase 8）
 * Guide 索引 / Guide 記事 / プラン・料金 / FAQ / お問い合わせ / 特商法 で使い回す。
 * 上質・ミニマル・編集的。余白大きめ、細めのタイポ。
 * 朱色は CTA・フォームの必須/エラー・管理者向け注記のみ。eyebrow / 序数 / 箇条書きの
 * マーカー / 装飾罫は中立トークン（--sp-label / --sp-muted / --sp-rule）。
 */

.p-marketing {
  padding-bottom: clamp(48px, 7vw, 88px);
}

.p-marketing__head {
  max-width: 46rem;
  margin: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 96px);
}

.p-marketing__eyebrow {
  margin: 0 0 18px;
  color: var(--sp-label);
  font-size: var(--sp-fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.p-marketing__eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--sp-rule);
}

.p-marketing__title {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.p-marketing__lead {
  margin: 28px 0 0;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
  color: var(--sp-ink);
}

.p-marketing__aside {
  margin-top: clamp(56px, 8vw, 104px);
  padding-top: 28px;
  border-top: 1px solid var(--sp-line);
  font-size: 14px;
  color: var(--sp-ink);
}

.p-marketing__aside a {
  color: var(--sp-accent-ink);
}

/* ---- Guide 索引 ---- */

.p-guide-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sp-line);
}

.p-guide-list__item {
  border-bottom: 1px solid var(--sp-line);
}

.p-guide-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 32px;
  align-items: start;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 4vw, 48px) 4px;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--sp-dur) var(--sp-ease);
}

.p-guide-card:hover {
  background: color-mix(in srgb, var(--sp-ink) 4%, var(--sp-bg));
}

.p-guide-card__no {
  color: var(--sp-label);
  font-size: var(--sp-fs-meta);
  letter-spacing: 0.1em;
  padding-top: 6px;
}

.p-guide-card__title {
  display: block;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 500;
  line-height: 1.5;
}

.p-guide-card__lead {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--sp-ink-soft);
}

.p-guide-card__arrow {
  align-self: center;
  color: var(--sp-muted);
  font-size: 18px;
  transition: transform var(--sp-dur) var(--sp-ease);
}

.p-guide-card:hover .p-guide-card__arrow {
  transform: translateX(4px);
}

/* ---- Guide 記事 ---- */

.p-article__wrap {
  max-width: 52rem;
}

.p-article__body {
  margin-top: clamp(8px, 2vw, 24px);
}

.p-article__block {
  margin-top: clamp(40px, 6vw, 72px);
}

.p-article__block:first-child {
  margin-top: 0;
}

.p-article__h2 {
  margin: 0 0 18px;
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* 記事内の小見出し（/articles/ の実商品比較「〜が向いているケース」など）。h2 より一段小さく、本文より強い。 */
.p-article__h3 {
  margin: 28px 0 12px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.p-article__body p {
  margin: 0 0 1em;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

.p-article__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.p-article__list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--sp-line);
  font-size: 15px;
  line-height: 1.8;
}

.p-article__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 8px;
  height: 1px;
  background: var(--sp-rule);
}

.p-article__related {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 28px;
  border-top: 1px solid var(--sp-line);
}

.p-article__related-label {
  margin: 0 0 12px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sp-label);
}

.p-article__related ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

/* ---- プラン・料金（/plan/。器は .p-plan__*。商品詳細の .p-price とは別） ---- */

.p-plan__figure {
  margin: 0;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 56px);
  border: 1px solid var(--sp-line-strong);
  text-align: center;
}

.p-plan__from-label {
  margin: 0;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sp-label);
}

.p-plan__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 14px 0 0;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sp-ink);
}

.p-plan__num {
  font-size: clamp(44px, 8vw, 76px);
}

.p-plan__unit {
  margin-left: 6px;
  font-size: clamp(15px, 2vw, 20px);
  color: var(--sp-muted);
}

/* 販売中サイトが 0 件のとき: 数字ではなく短い文を出す */
.p-plan__amount--text {
  margin-top: 16px;
}

.p-plan__amount--text .p-plan__num {
  font-size: clamp(17px, 2.4vw, 21px);
}

.p-plan__note {
  max-width: 32rem;
  margin: 18px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--sp-line);
  font-size: var(--sp-fs-meta);
  line-height: 1.8;
  color: var(--sp-muted);
}

.p-plan__actions {
  margin: 24px 0 0;
}

/* 「含まれるもの」/「別費用」の 2 カラム。天罫で並列パネルに見せる。 */
.p-plan__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
  margin-top: clamp(56px, 8vw, 96px);
}

.p-plan__col {
  padding-top: 24px;
  border-top: 2px solid var(--sp-rule);
}

.p-plan__col .p-article__h2 {
  margin-bottom: 20px;
}

/*
 * 別途になる側は一段弱める。含まれるものとの境界を、見出しの線と本文の濃さで示す。
 * ただし本文なので AA（4.5:1）は割らない。--sp-muted は白地で 5.33:1。
 * より薄い --sp-label（#8a8a8a）は 3.54:1 で本文には使えない。
 */
.p-plan__col--extra {
  border-top-color: var(--sp-line-strong);
}

.p-plan__col--extra .p-article__list li {
  color: var(--sp-muted);
}

.p-plan__hint {
  margin: 18px 0 0;
  font-size: var(--sp-fs-meta);
  line-height: 1.85;
  color: var(--sp-muted);
}

.p-plan__hint .c-link {
  font-size: inherit;
  padding-bottom: 2px;
}

/* 購入後の流れ / お支払い / オーダーメイド: 罫線区切りで縦リズムを揃える */
.p-plan__flow,
.p-plan__pay,
.p-plan__ordermade {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--sp-line);
}

.p-plan__flow p,
.p-plan__pay p,
.p-plan__ordermade p {
  max-width: 44rem;
  margin: 0 0 1em;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

.p-plan__flow p:last-child,
.p-plan__pay p:last-child,
.p-plan__ordermade p:last-child {
  margin-bottom: 0;
}

/* 「購入したら、あとこれだけ。」+ 箱 + 矢印の工程（c-process__flow を流用。商品詳細と同じ）。 */
.p-plan__flow-lead {
  font-weight: 600;
}

.p-plan__flow-track {
  margin: 0 0 18px;
}

.p-plan__todo {
  max-width: 44rem;
  padding-left: 14px;
  border-left: 2px solid var(--sp-line-strong);
  font-size: var(--sp-fs-meta);
  line-height: 1.8;
  color: var(--sp-muted);
}

/* オーダーメイドは「商品が合わなかった人の第二の選択肢」。控えめに置く。 */
.p-plan__ordermade .p-article__h2 {
  font-size: clamp(17px, 2vw, 20px);
}

.p-plan__ordermade p {
  font-size: var(--sp-fs-support);
  color: var(--sp-ink-soft);
}

/* ---- FAQ ---- */

.p-faq__group {
  margin-top: clamp(40px, 6vw, 72px);
}

.p-faq__group:first-of-type {
  margin-top: 0;
}

.p-faq__cat {
  margin: 0 0 12px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-label);
}

/* ---- 特商法 ---- */

.p-legal__dl {
  margin: 0;
  border-top: 1px solid var(--sp-line);
}

.p-legal__row {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 8px clamp(16px, 3vw, 40px);
  padding: 20px 0;
  border-bottom: 1px solid var(--sp-line);
}

.p-legal__term {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--sp-ink);
}

.p-legal__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

.p-legal__desc.is-unset {
  color: var(--sp-accent-ink);
}

.p-legal__notice {
  padding: 20px 0;
  color: var(--sp-ink);
}

.p-legal__admin-note {
  margin: 0 0 32px;
  padding: 14px 16px;
  border: 1px solid var(--sp-accent);
  background: var(--sp-accent-soft);
  font-size: 13px;
  line-height: 1.7;
}

.p-legal__admin-note a {
  color: var(--sp-accent-ink);
}

/* ---- 法務ドキュメント（プライバシー / 規約 の条文） ---- */

.p-doc__meta {
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--sp-muted);
}

.p-doc__body {
  max-width: 46rem;
  counter-reset: sp-doc;
}

.p-doc__section {
  margin-top: clamp(36px, 5vw, 60px);
}

.p-doc__section:first-child {
  margin-top: 0;
}

.p-doc__h2 {
  margin: 0 0 14px;
  font-size: clamp(18px, 2.3vw, 23px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.p-doc__num {
  display: inline-block;
  margin-right: 0.6em;
  color: var(--sp-label);
  font-size: 0.8em;
  letter-spacing: 0.04em;
}

.p-doc__body p {
  margin: 0 0 1em;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

.p-doc__list,
.p-doc__ol {
  margin: 12px 0 1em;
  padding-left: 1.4em;
}

.p-doc__list {
  list-style: none;
  padding-left: 0;
}

.p-doc__list li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--sp-line);
  font-size: 15px;
  line-height: 1.8;
}

.p-doc__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 8px;
  height: 1px;
  background: var(--sp-rule);
}

.p-doc__ol li {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.8;
}

/* 規約の項番号（「第 1 項」「前項」の参照先。sitepick_render_legal_doc の number_paragraphs） */
.p-doc__pnum {
  display: inline-block;
  min-width: 1.6em;
  color: var(--sp-label);
  font-size: 0.9em;
  font-weight: 500;
}

/* 段落に続く号（本文に「(1)」を含む） */
.p-doc__items {
  margin: -0.4em 0 1em;
  padding-left: 1.6em;
  list-style: none;
}

.p-doc__items li {
  margin: 4px 0;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

/* ---- お問い合わせ ---- */

.p-contact__back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: clamp(24px, 4vw, 40px);
}

.p-contact__noscript {
  margin: 0 0 32px;
  padding: 14px 16px;
  border-left: 2px solid var(--sp-line-strong);
  font-size: 14px;
}

.p-form {
  max-width: 40rem;
}

.p-form__row {
  margin: 0 0 24px;
}

.p-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.p-form__req {
  color: var(--sp-accent);
  font-size: 12px;
}

.p-form__opt {
  margin-left: 6px;
  font-size: 11px;
  color: var(--sp-muted);
  letter-spacing: 0.06em;
}

.p-form__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 0;
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color var(--sp-dur) var(--sp-ease);
}

.p-form__input:focus {
  outline: 2px solid var(--sp-accent);
  outline-offset: 1px;
  border-color: var(--sp-accent);
}

.p-form__input--area {
  resize: vertical;
  min-height: 160px;
}

.p-form__row.has-error .p-form__input {
  border-color: var(--sp-accent);
}

.p-form__error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--sp-accent);
}

.p-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.p-form__turnstile {
  min-height: 65px; /* Turnstile ウィジェットの高さ予約（CLS 回避） */
  margin: 24px 0 0;
}

.p-form__actions {
  margin: 32px 0 0;
}

.p-form__status {
  margin: 16px 0 0;
  font-size: 14px;
}

.p-form__note {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sp-ink-soft);
}

.p-form__note a {
  color: var(--sp-accent-ink);
}

/* ---- 締め CTA バンド ---- */

/* 締め CTA バンドは .l-section の巨大な縦 padding を使わず、詰めた余白にする
   （content → CTA → フッター の連続で空きすぎるのを防ぐ）。 */
.p-cta {
  padding-block: clamp(64px, 8vw, 112px) clamp(48px, 6vw, 80px);
}

.p-cta__inner {
  text-align: center;
}

.p-cta__heading {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.p-cta__lead {
  margin: 20px auto 0;
  max-width: 40rem;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
  color: var(--sp-ink);
}

.p-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 32px 0 0;
}

.p-cta__contact {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--sp-muted);
}

@media (max-width: 768px) {
  .p-guide-card {
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    gap: 14px;
    padding: 24px 2px;
  }

  .p-plan__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 48px;
  }

  .p-plan__col {
    padding-top: 20px;
  }

  .p-legal__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .p-plan__figure {
    padding: 32px 20px;
  }
}

/* ==== object/project/_article.css ==== */
/*
 * object/project/article — /articles/（調査・比較の読みもの）専用。docs/10 §8.6。
 *
 * 購入ガイド（p-article / p-insight）と部品は共有するが、読みものとしての「読ませる骨格」を持つ:
 *   ヒーロー（画像 + 要約 + 調査対象）→ 数字カード → 目次（PC は左に固定）+ 本文 → 実物カード → 回遊。
 * 朱色は面で使わない（数字カードの値・目次の現在位置・チップの件数だけ）。
 */

/* ---- ヒーロー ---- */

.p-artc__hero {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(8px, 2vw, 24px);
  padding-bottom: clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--sp-line);
}

@media (min-width: 769px) {
  .p-artc__hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
  }
}

@media (min-width: 1200px) {
  .p-artc__hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.p-artc__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 18px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-label);
}

.p-artc__kind {
  color: var(--sp-accent-ink);
}

.p-artc__title {
  margin: 0;
  max-width: 22em;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-wrap: balance; /* 3 行になるとき各行の長さを揃える */
  word-break: auto-phrase; /* 対応ブラウザでは文節で折り返す（「リニュー／アル」を避ける） */
}

.p-artc__summary {
  margin: 24px 0 0;
  max-width: 36em;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.9;
  color: var(--sp-ink-soft);
}

/* 調査対象（出典）は記事の末尾に独立した節として置く（2026-09-24 人間判断） */

.p-artc__provenance {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--sp-line);
}

@media (min-width: 769px) {
  .p-artc__provenance {
    padding-left: calc(220px + clamp(28px, 4vw, 48px));
  }
}

.p-artc__provenance-heading {
  margin: 0 0 12px;
  font-size: var(--sp-fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--sp-label);
}

.p-artc__source {
  margin: 0;
  max-width: 42rem;
  font-size: var(--sp-fs-meta);
  line-height: 1.9;
  color: var(--sp-muted);
}

/* 本文が引いた外部の資料（出典一覧） */

.p-artc__source--label {
  margin-top: 16px;
  color: var(--sp-label);
}

.p-artc__refs {
  margin: 6px 0 0;
  padding-left: 1.4em;
  max-width: 42rem;
  font-size: var(--sp-fs-meta);
  line-height: 1.8;
  color: var(--sp-muted);
}

.p-artc__refs li + li {
  margin-top: 4px;
}

.p-artc__refs-date {
  white-space: nowrap;
}

.p-artc__hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--sp-line);
  background: #f7f5f1;
}

.p-artc__hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---- 目次 + 本文 ---- */

.p-artc__layout {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(36px, 5vw, 64px);
}

@media (min-width: 769px) {
  .p-artc__layout {
    grid-template-columns: 220px minmax(0, 42rem);
    align-items: start;
  }
}

.p-artc__toc {
  padding: 18px 20px;
  border: 1px solid var(--sp-line);
  background: #faf9f7;
}

@media (min-width: 769px) {
  .p-artc__toc {
    position: sticky;
    top: 96px;
  }
}

.p-artc__toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.p-artc__toc-list li {
  counter-increment: toc;
}

.p-artc__toc-list li + li {
  margin-top: 6px;
}

.p-artc__toc-list a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--sp-ink-soft);
  text-decoration: none;
}

.p-artc__toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sp-label);
  padding-top: 2px;
}

.p-artc__toc-list a:hover {
  color: var(--sp-accent-ink);
}


/* ---- 共通見出し・リード ---- */

.p-artc__h2 {
  margin: 0 0 24px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.p-artc__lead {
  margin: 0 0 22px;
  font-size: var(--sp-fs-support);
  line-height: 1.85;
  color: var(--sp-ink-soft);
}

/* ---- 実物カード ---- */

.p-artc__more {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--sp-line-strong);
}


@media (min-width: 769px) {
  .p-artc__products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

.p-artc-product {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg);
}

.p-artc-product__media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--sp-line);
  background: #f3f2ee;
}

.p-artc-product__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform var(--sp-dur) var(--sp-ease);
}

.p-artc-product__media:hover .p-artc-product__img {
  transform: scale(1.02);
}

.p-artc-product__img--placeholder {
  display: block;
  aspect-ratio: 16 / 10;
}


.p-artc-product__kicker {
  margin: 0 0 6px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.1em;
  color: var(--sp-label);
}

.p-artc-product__title {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.5;
}

.p-artc-product__title a {
  color: inherit;
  text-decoration: none;
}

.p-artc-product__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 14px 0 0;
}

.p-artc-product__facts div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.p-artc-product__facts dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sp-label);
}

.p-artc-product__facts dd {
  margin: 0;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.p-artc-product__note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sp-ink-soft);
}


/* ---- あわせて読みたい ---- */

.p-artc__more-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 769px) {
  .p-artc__more-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.p-artc__more-label {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.p-artc__more-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-artc__more-list li + li {
  margin-top: 10px;
}

.p-artc__more-list a {
  font-size: 14px;
  line-height: 1.7;
}

/* ---- 関連する読みもの（他ページからの回遊ブロック） ---- */

.p-artc-links {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--sp-line);
}

.p-artc-links__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 769px) {
  .p-artc-links__list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.p-artc-links__card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--sp-line);
  color: var(--sp-ink);
  text-decoration: none;
  transition: border-color var(--sp-dur) var(--sp-ease);
}

.p-artc-links__card:hover {
  border-color: var(--sp-accent);
}

.p-artc-links__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #f7f5f1;
}

.p-artc-links__kind {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-accent-ink);
}

.p-artc-links__title {
  display: block;
  font-size: 14px;
  line-height: 1.6;
}

/* ---- 一覧カード（/articles/） ---- */

.p-artc-grid {
  display: grid;
  gap: 28px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 769px) {
  .p-artc-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 36px;
  }
}

.p-artc-card {
  display: grid;
  /* 同じ行のカードは高さがそろう（height: 100%）。余った高さを本文へ回し、サムネイルの枠は 3:2 のまま変えない。 */
  grid-template-rows: auto 1fr;
  height: 100%;
  border: 1px solid var(--sp-line);
  color: var(--sp-ink);
  text-decoration: none;
  transition: border-color var(--sp-dur) var(--sp-ease);
}

.p-artc-card:hover {
  border-color: var(--sp-accent);
}

.p-artc-card__media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--sp-line);
  background: #f7f5f1;
}

.p-artc-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.p-artc-card__img--placeholder {
  display: block;
  aspect-ratio: 3 / 2;
}

.p-artc-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.p-artc-card__kicker {
  display: flex;
  gap: 14px;
  font-size: var(--sp-fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-label);
}

.p-artc-card__title {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 500;
  line-height: 1.5;
}

.p-artc-card__lead {
  font-size: 13px;
  line-height: 1.85;
  color: var(--sp-ink-soft);
}

.p-artc-card__more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  color: var(--sp-accent-ink);
}

/* 本文内の比較表。数字と機能は折り返さず、長いページ構成だけ折り返す（横スクロールは table-wrap 側）。 */
.p-artc-compare th[scope="row"] a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--sp-line-strong);
}

.p-artc-compare td:nth-child(2),
.p-artc-compare td:nth-child(3) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.p-artc-compare td:nth-child(4) {
  min-width: 14em;
}

.p-artc-compare td:nth-child(5) {
  min-width: 18em;
}

.p-artc-compare th[scope="row"] {
  min-width: 11em;
}

/* ---- 読みものの組版（本文） ---- */

.p-artc__body {
  min-width: 0;
  font-size: 17px;
  line-height: 2;
}

@media (max-width: 768px) {
  .p-artc__body {
    font-size: 16px;
    line-height: 1.95;
  }
}

.p-artc__body p {
  margin: 0 0 1.6em;
  font-size: inherit;
  line-height: inherit;
}

.p-artc__body p:last-child {
  margin-bottom: 0;
}

/* 本文のリスト・表の下は段落と同じ間隔を空ける（foundation の ul[class] リセットより優先させる） */

.p-artc__body .p-artc-steps,
.p-artc__body .p-artc-cases,
.p-artc__body .p-artc-check {
  margin: 0 0 1.6em;
}

.p-artc__body .p-insight__table-wrap {
  margin: 0 0 1.6em;
}

.p-artc__body .p-artc-steps:last-child,
.p-artc__body .p-artc-cases:last-child,
.p-artc__body .p-artc-check:last-child,
.p-artc__body .p-insight__table-wrap:last-child {
  margin-bottom: 0;
}

.p-artc__body .p-article__block {
  margin-top: 0;
  padding-top: clamp(48px, 6vw, 72px);
}

.p-artc__body .p-article__block:first-child {
  padding-top: 0;
}

.p-artc__body .p-article__h2 {
  margin: 0 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--sp-line-strong);
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.5;
  scroll-margin-top: 96px;
}

.p-artc__body .p-artc-note {
  margin: 0 0 1.6em;
  padding: 16px 20px;
  border: 1px solid var(--sp-line);
  background: #faf9f7;
  font-size: 14px;
  line-height: 1.9;
  color: var(--sp-ink-soft);
}

/* 手順（番号つき）。番号は中立色で細く */

.p-artc-steps {
  margin: 0 0 1.6em;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.p-artc-steps li {
  position: relative;
  padding: 10px 0 10px 40px;
  counter-increment: steps;
  border-bottom: 1px solid var(--sp-line);
  line-height: 1.9;
}

.p-artc-steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 13px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sp-label);
  font-variant-numeric: tabular-nums;
}

/* 選択肢（見出し + 説明の 2 行） */

.p-artc-cases {
  margin: 0 0 1.6em;
  padding: 0;
  list-style: none;
}

.p-artc-cases li {
  display: grid;
  gap: 4px;
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid var(--sp-line);
  position: relative;
}

.p-artc-cases li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 30px;
  width: 8px;
  height: 1px;
  background: var(--sp-rule);
}

.p-artc-cases strong {
  font-weight: 500;
  font-size: 1em;
  line-height: 1.7;
}

.p-artc-cases span {
  font-size: 0.9em;
  line-height: 1.85;
  color: var(--sp-ink-soft);
}

/* 選択肢ごとの導線（「作り方は 3 つある」で、選択肢の中に 1 本ずつ置く） */

.p-artc-cases__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 6px 0 0;
}

/* ワークシート表 */

.p-artc-sheet {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.p-artc-sheet caption {
  padding: 0 0 10px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sp-muted);
}

.p-artc-sheet th,
.p-artc-sheet td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--sp-line);
  text-align: left;
  vertical-align: top;
}

.p-artc-sheet thead th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--sp-label);
  border-bottom-color: var(--sp-line-strong);
}

.p-artc-sheet tbody th {
  font-weight: 500;
  white-space: nowrap;
}

.p-artc-sheet__check {
  width: 5.5em;
  text-align: center;
}

.p-artc-sheet__box {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid var(--sp-rule);
  vertical-align: middle;
}

.p-artc-sheet__num {
  width: 4.5em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--sp-accent-ink);
}

.p-artc-sheet--plain td:nth-child(2) {
  white-space: nowrap;
}

/* SP: 4 列を横に並べると説明列が 1 文字幅に潰れるため、行を「役割 / 印 / 数値」+「説明」の 2 段に組み直す */

@media (max-width: 768px) {
  .p-artc-sheet thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .p-artc-sheet tbody tr {
    display: grid;
    grid-template-columns: 1fr auto auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--sp-line);
  }

  .p-artc-sheet tbody th,
  .p-artc-sheet tbody td {
    display: block;
    width: auto;
    padding: 0;
    border-bottom: 0;
  }

  .p-artc-sheet tbody th {
    grid-column: 1;
    grid-row: 1;
    white-space: normal;
  }

  .p-artc-sheet__check {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
  }

  .p-artc-sheet__num {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }

  /* 数字の列が 2 つある行（置いていた / 必須にしていた など）は、2 つを並べ、列名を上に小さく出す
     （同じ位置に重なっていた。2026-09-25） */
  .p-artc-sheet tbody td.p-artc-sheet__num:has(+ td.p-artc-sheet__num) {
    grid-column: 2;
  }

  .p-artc-sheet tbody tr:has(> td.p-artc-sheet__num + td.p-artc-sheet__num) > td.p-artc-sheet__num::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    letter-spacing: 0.04em;
    color: var(--sp-label);
  }

  /* 文章の列は 2 行目以降に 1 列ずつ積む（行を固定すると、文章の列が 2 つ以上ある表で重なる） */
  .p-artc-sheet tbody td:not(.p-artc-sheet__check, .p-artc-sheet__num) {
    grid-column: 1 / -1;
    font-size: 13px;
    line-height: 1.75;
    color: var(--sp-ink-soft);
  }

  /* 見出しの行を隠すので、どの列かを欄の上に出す（data-label は inc/articles.php が付ける） */
  .p-artc-sheet tbody td[data-label]:not(.p-artc-sheet__check, .p-artc-sheet__num)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--sp-label);
  }

  /* 見出し 4 割・2 列目 6 割で、どちらも折り返す。「1fr auto」だと 2 列目が長い文章のとき
     見出しが 1 文字幅に潰れていた（会社概要のひな形。2026-09-25） */
  .p-artc-sheet--plain tbody tr {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .p-artc-sheet--plain tbody td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
    color: var(--sp-ink);
    white-space: normal;
  }

  .p-artc-sheet--plain tbody td:nth-child(3) {
    grid-column: 1 / -1;
  }

  /* 文章の列が 3 つ以上ある表（工程ごとの担当など）は、2 列目も右に置かず、全部を下に積む */
  .p-artc-sheet--plain tbody tr:has(> td:nth-child(4)) {
    grid-template-columns: 1fr;
  }

  .p-artc-sheet--plain tbody tr:has(> td:nth-child(4)) > td:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: auto;
    font-size: 13px;
    color: var(--sp-ink-soft);
  }
}

/* 持ち帰り用チェックリスト */

.p-artc-check {
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
}

.p-artc-check li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--sp-line);
  line-height: 1.85;
}

.p-artc-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--sp-rule);
}

/* 本文内の実物カード（実例節）。ボタンは置かない */

.p-artc__products-grid {
  display: grid;
  gap: 24px;
  margin: 8px 0 24px;
}

.p-artc-product__actions {
  margin: 12px 0 0;
}

.p-artc-product__body {
  padding: 16px 18px 18px;
}

/* 状況のラベル（対応状況の表など）。色だけに頼らず、文字で状況が分かるようにする（2026-10-22） */
.p-artc-status {
  --p-artc-status-ink: var(--sp-muted);
  --p-artc-status-bg: rgba(51, 51, 51, 0.06);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--p-artc-status-bg);
  color: var(--p-artc-status-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.p-artc-status--stop {
  --p-artc-status-ink: var(--sp-accent-ink);
  --p-artc-status-bg: var(--sp-accent-soft);
}

.p-artc-status--partial {
  --p-artc-status-ink: #7a5200;
  --p-artc-status-bg: rgba(196, 140, 0, 0.14);
}

.p-artc-status--work {
  --p-artc-status-ink: #2b557f;
  --p-artc-status-bg: rgba(43, 85, 127, 0.1);
}

.p-artc-status--ok {
  --p-artc-status-ink: #2c6a3d;
  --p-artc-status-bg: rgba(44, 106, 61, 0.11);
}

/* ==== object/project/_share-note.css ==== */
/*
 * object/project/share-note — 共有リンクから来た受け手向けの案内（site-share spec §4.4 / SHARE-08=A）。
 * 面は塗らず、罫線と朱色の小ラベルだけ（CLAUDE.md §6「アクセントは面で多用しない」）。
 * 置き場所は FV の末尾（CTA ブロックの後ろ）。CTA 本体の「実物を見る」を一画面目から押し出さない（Gate G-SHARE-08）。
 */

.p-share-note {
  position: relative;
  margin: 28px 0 0;
  padding: 16px 52px 16px 18px;
  border: 1px solid var(--sp-line-strong);
  border-left: 2px solid var(--sp-accent);
  background: var(--sp-bg);
}

.p-share-note.is-closed {
  display: none;
}

.p-share-note__label {
  margin: 0 0 6px;
  color: var(--sp-accent);
  font-size: var(--sp-fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.p-share-note__body {
  margin: 0;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

.p-share-note__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 12px;
}

.p-share-note__consult {
  color: var(--sp-muted);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--sp-line-strong);
  text-underline-offset: 3px;
}

.p-share-note__consult:hover {
  color: var(--sp-ink);
  text-decoration-color: var(--sp-ink);
}

.p-share-note__close {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--sp-muted);
  font-size: 12px;
  cursor: pointer;
}

.p-share-note__close[hidden] {
  display: none;
}

.p-share-note__close:hover {
  color: var(--sp-ink);
}

@media (max-width: 768px) {
  .p-share-note {
    margin-top: 24px;
    padding: 12px 48px 12px 14px;
  }

  .p-share-note__body {
    font-size: var(--sp-fs-body-sp);
    line-height: 1.7;
  }

  .p-share-note__actions {
    margin-top: 10px;
  }
}

/* ==== object/project/_diagnosis.css ==== */
/* object/project/diagnosis — /diagnosis/（設問）と /diagnosis/result/（結果）、入口（c-diagnosis-entry）。販売導線 v2 Phase 2（docs/18 §3） */

/* ---- 入口（TOP の帯 / 一覧の行 / 0 件 / フッターのリンク）。購入導線の邪魔をしない控えめなトーン ---- */
.c-diagnosis-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sp-ink-soft);
}

.c-diagnosis-entry--band {
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid var(--sp-line);
}

.c-diagnosis-entry--row {
  margin: 12px 0 20px;
  font-size: 13px;
}

.c-diagnosis-entry--inline {
  justify-content: center;
  margin-top: 16px;
  font-size: 13px;
}

.c-diagnosis-entry__sep {
  color: var(--sp-line-strong);
}

.c-diagnosis-entry__link,
.c-diagnosis-entry--link {
  color: var(--sp-ink);
  text-decoration: underline;
  text-decoration-color: var(--sp-line-strong);
  text-underline-offset: 3px;
}

.c-diagnosis-entry__link:hover,
.c-diagnosis-entry--link:hover {
  text-decoration-color: var(--sp-ink);
}

.l-footer__diagnosis {
  margin: 16px 0 0;
  font-size: 13px;
}

/* ---- 設問 ---- */
.p-diagnosis__form {
  max-width: 720px;
  margin-top: 32px;
}

.p-diagnosis__error {
  margin: 0 0 16px;
  color: var(--sp-accent);
  font-size: 14px;
}

.p-diagnosis__progress {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sp-muted);
}

.p-diagnosis__q {
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.p-diagnosis__legend {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.p-diagnosis__num {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--sp-accent);
}

.p-diagnosis__help {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--sp-ink-soft);
}

.p-diagnosis__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.p-diagnosis__options--many {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 選択肢は 44px 以上のタップ領域。選択中は線を濃く（塗りの差し色は使わない）。 */
.p-diagnosis__opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--sp-line);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.p-diagnosis__opt:hover {
  border-color: var(--sp-line-strong);
}

.p-diagnosis__opt:has(input:checked) {
  border-color: var(--sp-ink);
}

.p-diagnosis__opt:has(input:focus-visible) {
  outline: 2px solid var(--sp-accent);
  outline-offset: 2px;
}

.p-diagnosis__opt input {
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.p-diagnosis__opt input:disabled + span {
  color: var(--sp-muted);
}

/* 「好みの印象」は、実際に購入できるサイトのサムネイルを見本として添える（2026-10-11）。
   画像は選ぶための手がかりなので、選択の線（:has(input:checked)）は画像の外枠ごと示す。 */
.p-diagnosis__options--thumbs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.p-diagnosis__opt--thumb {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "thumb thumb"
    "input label"
    ". cap";
  column-gap: 8px;
  row-gap: 8px;
  padding: 8px 8px 10px;
}

.p-diagnosis__opt--thumb input {
  grid-area: input;
}

.p-diagnosis__opt--thumb > span:not(.p-diagnosis__thumb) {
  grid-area: label;
  font-weight: 500;
}

.p-diagnosis__thumb {
  grid-area: thumb;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sp-surface, #f4f4f2);
}

.p-diagnosis__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.p-diagnosis__thumb-cap {
  grid-area: cap;
  font-size: 11px;
  line-height: 1.5;
  color: var(--sp-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-diagnosis__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.p-diagnosis__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--sp-muted);
}

/* JS のステップ表示: 現在の設問だけを見せる（JS 無しは全部出る）。 */
.p-diagnosis__form.is-stepper .p-diagnosis__q:not(.is-current) {
  display: none;
}

.p-diagnosis__form.is-stepper .p-diagnosis__q.is-current {
  display: block;
}

.p-diagnosis__form.is-stepper .p-diagnosis__q.has-error .p-diagnosis__legend {
  color: var(--sp-accent);
}

.p-diagnosis__prev[hidden],
.p-diagnosis__next[hidden],
.p-diagnosis__submit[hidden],
.p-diagnosis__progress[hidden],
.js-sp-market-group[hidden] {
  display: none;
}

.p-diagnosis__opt.is-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ---- 結果 ---- */
.p-diagnosis__summary {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--sp-line);
}

.p-diagnosis__conditions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 20px;
  margin: 0;
}

.p-diagnosis__condition {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.p-diagnosis__condition dt {
  flex: 0 0 auto;
  color: var(--sp-muted);
}

.p-diagnosis__condition dd {
  margin: 0;
}

.p-diagnosis__change {
  margin: 12px 0 0;
  font-size: 13px;
}

.p-diagnosis__list {
  padding-top: 32px;
}

.p-diagnosis__alt {
  margin-top: 16px;
  padding: 24px 20px;
  border-top: 1px solid var(--sp-line);
}

.p-diagnosis__alt-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.p-diagnosis__alt-lead {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--sp-ink-soft);
}

.p-diagnosis__alt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 16px 0 0;
}

/* 結果カードの層（おすすめ / 近い候補）と推薦理由。 */
.c-site-card__tier {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid var(--sp-line-strong);
  color: var(--sp-ink);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.c-site-card__tier--top {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
}

.c-site-card__badge + .c-site-card__tier {
  margin-left: 0;
}

.c-site-card__reasons {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sp-ink-soft);
}

.c-site-card__reasons li {
  position: relative;
  padding-left: 14px;
}

.c-site-card__reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sp-accent);
}

@media (max-width: 768px) {
  .c-diagnosis-entry--band {
    margin-top: 20px;
    padding: 14px 16px;
  }

  .p-diagnosis__legend {
    font-size: 16px;
  }

  .p-diagnosis__options,
  .p-diagnosis__options--many,
  .p-diagnosis__options--thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-diagnosis__nav .c-button {
    flex: 1 1 auto;
  }
}

/* 320px: 選択肢は 1 列（2 列に無理に詰めない）。 */
@media (max-width: 359px) {
  .p-diagnosis__options,
  .p-diagnosis__options--many {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==== object/project/_invoice.css ==== */
/* ==========================================================================
 * 請求書払いの申請（/purchase/invoice/・販売導線 v2 Phase 3・docs/18 §4.5）
 * PC は「商品の要約 | フォーム」の 2 列、SP（<=768px）は縦積み。320px でも横スクロールしない。
 * ========================================================================== */

.p-invoice__inner {
  max-width: 1040px;
}

.p-invoice__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}

.p-invoice__summary {
  padding: 20px;
  border: 1px solid var(--sp-line);
}

.p-invoice__thumb {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border: 1px solid var(--sp-line);
}

.p-invoice__product {
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.p-invoice__facts {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.p-invoice__facts div {
  display: grid;
  gap: 2px;
}

.p-invoice__facts dt {
  font-size: 12px;
  color: var(--sp-muted);
}

.p-invoice__facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.p-invoice__sale {
  margin-left: 8px;
  font-size: 12px;
  color: var(--sp-accent);
}

/* 紹介コード（パートナー制度 ON のときだけ。docs/21 §3.2-7・§A.1） */
.p-invoice__partner-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-ink-soft);
}

.p-invoice__partner-note {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-ink-soft);
}

.p-invoice__partner-note.is-applied {
  color: var(--sp-accent-ink);
}

.p-invoice__points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-ink-soft);
}

.p-invoice__alert {
  margin: 0 0 16px;
  color: var(--sp-accent);
  font-size: 14px;
}

.p-invoice__kinds {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.p-invoice__kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: 20px;
  font-size: 15px;
  cursor: pointer;
}

.p-invoice__consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.7;
}

.p-invoice__consent input {
  flex: 0 0 auto;
  margin-top: 5px;
}

.p-invoice__submit {
  width: 100%;
}

.p-invoice__done .p-invoice__points {
  max-width: 640px;
  margin-top: 24px;
}

.p-invoice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .p-invoice__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 20px;
  }

  .p-invoice__summary {
    padding: 16px;
  }

  .p-invoice__kind {
    margin-right: 16px;
  }
}

/* ==== object/project/_partner.css ==== */
/* ==========================================================================
 * パートナープログラム（/partners/・/partners/terms/・署名付きのパートナーページ。docs/21 §2・§3）
 *
 * - 案内・申請・完了・リンク再送は p-marketing / p-form、署名付きページは p-onboarding / p-hold-page の上に最小限だけ足す。
 * - 案内（.p-partner--landing）は 要点の数字 → 対象 → 流れ → 条件 → ご注意 → よくある質問 → フォーム の順。
 *   見出し・箇条書き・定義リストは /plan/・特商法と同じ部品（p-article__h2 / p-article__list / p-legal__dl）。
 * - アクセントの朱色は CTA・数字（要点の数字だけ）・フォームの必須 / エラーに限定（面で使わない。docs/05 §4.1）。
 *   序数（01〜06）・罫線は中立トークン。SP（<=768px）でも横スクロールを出さない
 *   （成果の表だけは枠の中で横にスクロールする）。入力欄は 16px で iOS のズームを防ぐ。
 * ========================================================================== */

.p-partner__inner {
  max-width: 880px;
}

.p-partner--landing .p-partner__inner {
  max-width: 1080px;
}

.p-partner__alert {
  margin: 0 0 16px;
  color: var(--sp-accent);
  font-size: 14px;
}

/* ---- 案内: ヘッダー ---- */

.p-partner__hero {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.p-partner__phrase {
  display: inline-block;
}

.p-partner__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 32px 0 0;
}

/* ---- 案内: 要点の数字（朱は数字だけ） ---- */

.p-partner__figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sp-line-strong);
  border-bottom: 1px solid var(--sp-line-strong);
  list-style: none;
}

.p-partner__figures--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-partner__figure {
  padding: clamp(24px, 3.4vw, 40px) clamp(16px, 2.6vw, 32px);
}

.p-partner__figure + .p-partner__figure {
  border-left: 1px solid var(--sp-line);
}

.p-partner__figure-label {
  margin: 0;
  color: var(--sp-ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.p-partner__figure-num {
  display: flex;
  align-items: baseline;
  margin: 12px 0 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

.p-partner__figure-val {
  color: var(--sp-accent);
  font-size: clamp(44px, 5.6vw, 64px);
  font-weight: 400;
}

.p-partner__figure-unit {
  margin-left: 6px;
  color: var(--sp-ink);
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: 0.02em;
}

.p-partner__figure-note {
  margin: 16px 0 0;
  color: var(--sp-ink-soft);
  font-size: var(--sp-fs-support);
  line-height: 1.8;
}

/* ---- 案内: セクション ---- */

.p-partner__section {
  margin-top: clamp(64px, 9vw, 112px);
}

.p-partner__section-lead {
  margin: 0 0 24px;
  font-size: var(--sp-fs-body);
  line-height: var(--sp-lh-body);
}

.p-partner__h3 {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 500;
  line-height: 1.5;
}

.p-partner__targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-partner__target-card {
  padding-top: 20px;
  border-top: 2px solid var(--sp-rule);
}

.p-partner__target-card--buyer {
  border-top-color: var(--sp-line-strong);
}

.p-partner__target-card p,
.p-partner__step p {
  margin: 0;
  font-size: var(--sp-fs-support);
  line-height: 1.8;
}

/* 流れ: PC は 3 列 × 2 段。順序があるので番号付き（序数は中立色）。 */
.p-partner__flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3.4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-partner__step {
  padding: 24px 0 28px;
  border-top: 1px solid var(--sp-line-strong);
}

.p-partner__step-no {
  display: block;
  margin: 0 0 10px;
  color: var(--sp-label);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.p-partner__aside {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 2px solid var(--sp-line-strong);
  background: rgba(51, 51, 51, 0.03);
}

.p-partner__aside p {
  margin: 0;
  font-size: var(--sp-fs-support);
  line-height: 1.8;
}

.p-partner__aside .p-partner__aside-title {
  margin-bottom: 6px;
  font-weight: 500;
}

/* 条件: 特商法と同じ定義リスト（.p-legal__dl）。項目名の列だけ短くする。 */
.p-partner__dl .p-legal__row {
  grid-template-columns: 13rem minmax(0, 1fr);
}

/* よくある質問: 開閉なしで読める Q / A（JS に依存しない）。 */
.p-partner__faq {
  margin: 0;
  border-top: 1px solid var(--sp-line);
}

.p-partner__faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--sp-line);
}

.p-partner__faq-q {
  margin: 0;
  font-size: var(--sp-fs-body);
  font-weight: 500;
  line-height: 1.6;
}

.p-partner__faq-q::before {
  content: "Q.";
  margin-right: 8px;
  color: var(--sp-label);
  font-weight: 400;
}

.p-partner__faq-a {
  margin: 10px 0 0;
  font-size: var(--sp-fs-support);
  line-height: 1.8;
  color: var(--sp-ink);
}

/* ---- 案内: 申し込みフォーム ---- */

.p-partner__apply {
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--sp-line-strong);
  scroll-margin-top: 96px;
}

.p-partner__more {
  margin-top: 24px;
}

.p-partner__target {
  margin: 0 0 24px;
  line-height: var(--sp-lh-body);
}

.p-partner__hint {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-ink-soft);
}

.p-partner__choice {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
  line-height: 1.6;
}

.p-partner__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border: 1px solid var(--sp-accent);
  color: var(--sp-accent-ink);
  font-size: 14px;
}

.p-partner__code {
  max-width: 14em;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.p-partner__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.p-partner__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.p-partner__table th,
.p-partner__table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--sp-line);
  text-align: left;
  vertical-align: top;
}

.p-partner__table th {
  color: var(--sp-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.p-partner__details {
  margin-top: 12px;
}

.p-partner__details > summary {
  cursor: pointer;
  color: var(--sp-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.p-partner__details > summary:focus-visible {
  outline: 2px solid var(--sp-accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .p-partner__figures,
  .p-partner__figures--two {
    grid-template-columns: 1fr;
  }

  .p-partner__figure {
    padding: 22px 0;
  }

  .p-partner__figure + .p-partner__figure {
    border-top: 1px solid var(--sp-line);
    border-left: 0;
  }

  .p-partner__figure-label,
  .p-partner__target-card p,
  .p-partner__step p,
  .p-partner__aside p,
  .p-partner__figure-note,
  .p-partner__faq-a {
    font-size: var(--sp-fs-body-sp);
  }

  .p-partner__section {
    margin-top: 56px;
  }

  .p-partner__section-lead,
  .p-partner__faq-q {
    font-size: 15px;
  }

  .p-partner__targets,
  .p-partner__flow {
    grid-template-columns: 1fr;
  }

  .p-partner__targets {
    gap: 28px;
  }

  .p-partner__step {
    padding: 20px 0 22px;
  }

  .p-partner__dl .p-legal__row {
    grid-template-columns: 1fr;
  }

  .p-partner__apply {
    padding: 28px 18px;
  }

  .p-partner__code {
    font-size: 16px;
  }
}

/* ==== object/utility/_responsive.css ==== */
/*
 * object/utility/responsive — 表示切り替えユーティリティ。
 * SP（<=768px）だけで改行したい <br> 等に使う。ブレークポイントは docs/05 に従う。
 */

.u-sp-only {
  display: none;
}

@media (max-width: 768px) {
  .u-sp-only {
    display: inline;
  }
}

/* ==== object/utility/_visually-hidden.css ==== */
/* object/utility/visually-hidden — スクリーンリーダー専用 / skip-link */

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

.u-visually-hidden--focusable:focus,
.u-visually-hidden--focusable:focus-visible {
  position: fixed !important;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  background: var(--sp-ink);
  color: var(--sp-bg);
  z-index: 1000;
}

/* ---- SITE PICK のバナー（2026-10-23） ---- */

.p-artc__side {
  display: none;
}

@media (min-width: 1400px) {
  .p-artc__layout:has(.p-artc__side) {
    grid-template-columns: 220px minmax(0, 42rem) 240px;
  }

  .p-artc__side {
    display: block;
    position: sticky;
    top: 96px;
  }
}

.p-artc-banner {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 8px 24px rgb(0 0 0 / 6%);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.p-artc-banner:hover,
.p-artc-banner:focus-visible {
  box-shadow: 0 2px 4px rgb(0 0 0 / 8%), 0 12px 32px rgb(0 0 0 / 10%);
  transform: translateY(-1px);
}

.p-artc-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.p-artc-banner-wrap {
  margin-block: clamp(32px, 5vw, 48px);
}

@media (prefers-reduced-motion: reduce) {
  .p-artc-banner {
    transition: none;
  }

  .p-artc-banner:hover,
  .p-artc-banner:focus-visible {
    transform: none;
  }
}

/* ---- 長い表の折りたたみ（2026-10-23: 時系列が長すぎる） ---- */

.p-artc-more {
  margin-top: 16px;
}

.p-artc-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}

.p-artc-more > summary::-webkit-details-marker {
  display: none;
}

.p-artc-more > summary::after {
  content: "＋";
  color: var(--sp-accent, #b84b34);
}

.p-artc-more[open] > summary {
  margin-bottom: 16px;
}

.p-artc-more[open] > summary::after {
  content: "－";
}

.p-artc-more > summary:focus-visible {
  outline: 2px solid var(--sp-accent, #b84b34);
  outline-offset: 2px;
}

/* ---- 本文中のリンクと、結論・相談の囲み（2026-10-23 人間指摘: リンク・ボタン・余白が洗練されていない） ---- */

/* 文の途中のリンク。c-link（行を占める「→」付きの導線）を文中で使うと、行が割れて読みにくい。 */
.p-artc-ilink {
  color: var(--sp-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: color-mix(in srgb, var(--sp-accent) 45%, transparent);
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.2s var(--sp-ease);
}

.p-artc-ilink:hover,
.p-artc-ilink:focus-visible {
  text-decoration-color: var(--sp-accent);
}

.p-artc__body .p-artc-box {
  margin: 0 0 2.2em;
  padding: 26px 28px 28px;
  border: 1px solid var(--sp-line);
  border-top: 3px solid var(--sp-accent);
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 3%), 0 10px 30px rgb(0 0 0 / 4%);
}

.p-artc__body .p-artc-box--cta {
  margin-top: 2.4em;
  background: #fbfaf8;
}

.p-artc__body .p-artc-box > p {
  margin: 0 0 1em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--sp-ink-soft);
}

.p-artc__body .p-artc-box .p-artc-box__label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--sp-accent);
}

.p-artc__body .p-artc-box .p-artc-box__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--sp-ink);
}

.p-artc__body .p-artc-box .p-artc-steps {
  margin-bottom: 0;
}

.p-artc-box__cta {
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--sp-line);
}

.p-artc__body .p-artc-box__cta p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--sp-ink-soft);
}

.p-artc-box__button.c-button {
  min-height: 50px;
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.p-artc-box__button.c-button::after {
  content: "→";
  transition: transform 0.3s var(--sp-ease);
}

.p-artc-box__button.c-button:hover::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .p-artc__body .p-artc-box {
    padding: 20px 18px 22px;
  }

  .p-artc__body .p-artc-box .p-artc-box__title {
    font-size: 16px;
  }

  .p-artc-box__button.c-button {
    display: flex;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-artc-box__button.c-button::after,
  .p-artc-ilink {
    transition: none;
  }
}

.p-artc__body .p-artc-box .p-artc-steps li {
  padding: 12px 0 12px 34px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--sp-ink);
}

.p-artc__body .p-artc-box .p-artc-steps li::before {
  top: 15px;
  color: var(--sp-accent);
  font-weight: 600;
}

.p-artc__body .p-artc-box .p-artc-steps li:last-child {
  border-bottom: 0;
}

.p-artc__body .p-artc-box .p-artc-steps li:first-child {
  padding-top: 4px;
}

.p-artc__body .p-artc-box .p-artc-steps li:first-child::before {
  top: 7px;
}

/* 出来事の一覧（/articles/cyber-attacks/）: 公表日と種別のラベルが 1 列に収まるように */
@media (min-width: 769px) {
  .p-artc-sheet--incidents th[scope="row"] {
    min-width: 8.5em;
  }
}

/* ---- 関連する記事（「作り方は 3 つ」の前。2026-10-23） ---- */

.p-artc-related {
  margin: clamp(40px, 6vw, 64px) 0 clamp(8px, 2vw, 16px);
}

.p-artc-related__label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--sp-accent);
}

.p-artc-related__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 769px) {
  .p-artc-related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.p-artc-related__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--sp-line);
  background: #fff;
  color: var(--sp-ink);
  text-decoration: none;
  transition: border-color 0.2s var(--sp-ease), box-shadow 0.2s var(--sp-ease);
}

.p-artc-related__link:hover,
.p-artc-related__link:focus-visible {
  border-color: var(--sp-line-strong);
  box-shadow: 0 6px 20px rgb(0 0 0 / 6%);
}

.p-artc-related__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.p-artc-related__title::after {
  content: " →";
  color: var(--sp-accent);
}

.p-artc-related__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  .p-artc-related__link {
    transition: none;
  }
}

.p-artc__body .p-artc-related__label {
  margin: 0 0 12px;
}

.p-artc__body .p-artc-related__list li {
  margin: 0;
  padding: 0;
}

.p-artc__body .p-artc-related__link {
  padding: 14px 18px 16px;
}

.p-artc-related__title::after {
  content: "\00a0→";
}

/* ---- 出典一覧（2026-10-23 人間指摘: 無駄に長く、見た目が悪い） ---- */

.p-artc__refs {
  margin: 8px 0 0;
  padding-left: 1.8em;
  font-size: 13px;
  line-height: 1.65;
}

.p-artc__refs li {
  padding-left: 2px;
}

.p-artc__refs li + li {
  margin-top: 6px;
}

.p-artc__refs li::marker {
  color: var(--sp-label);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.p-artc__refs-link {
  color: var(--sp-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--sp-line-strong);
  overflow-wrap: anywhere;
}

.p-artc__refs-link:hover,
.p-artc__refs-link:focus-visible {
  color: var(--sp-accent);
  text-decoration-color: var(--sp-accent);
}

.p-artc__refs-meta {
  margin-left: 0.6em;
  font-size: 11px;
  color: var(--sp-muted);
  white-space: nowrap;
}

.p-artc__refs-more {
  margin-top: 12px;
}

.p-artc__refs-more > summary {
  font-size: 13px;
  padding: 8px 16px;
}
