/*
 * 問い合わせ・転換ページの追加CSS（pop.css の後に読まれる）
 *
 * 対象: page-contact.php / page-report.php / page-booking.php / page-self-check.php /
 *       template-parts/cta-contact.php / self-check-doors.php / page-hero-simple.php / page-hero-parallax.php
 *
 * 2種類のルールがある。
 *   1. このテーマの部品（.cv-〜）
 *   2. 親の画面に被せる見た目（.ct〜 = /contact・/report、.sc〜 = /self-check）。
 *      親の contact.js / self-check.js が掴むクラス・ID はそのまま。**ここで display を変えるときは
 *      [hidden] を必ず勝たせる**（JS は hidden 属性で出し分けている）
 *
 * - 16px 未満の font-size を書かない（tests/test-pop-theme.php が弾く）
 * - coral の面に白文字を載せない（文字は ink）
 * - 親の contact.css / self-check.css とどちらが後に読まれるかは決まっていないので、
 *   詳細度で勝つ（.pop を頭に付ける）
 */

/* ===== 0. 共通 ===== */
.cv-text { margin: 12px 0 0; }
/* data-ct-panel は除く（JS が無いとき page-contact.php の <noscript> が !important で全部出すため） */
.pop .ct [hidden]:not([data-ct-panel]), .pop .sc [hidden], .pop [data-tw8-booking-thanks][hidden] { display: none !important; }

/* ===== 1. 見出し帯（page-hero-simple / page-hero-parallax / 各ページ） ===== */
.cv-hero-note {
  display: inline-block; margin: 20px 0 0; padding: 10px 18px;
  background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700;
}
.cv-hero--photo .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .cv-hero--photo .wrap { grid-template-columns: 1.2fr 1fr; } }
.cv-hero-photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; transform: rotate(2deg); max-width: 520px; }
.cv-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 959px) { .cv-hero-photo { aspect-ratio: 16 / 9; max-width: none; transform: rotate(1deg); } }

/* ===== 2. 共通CTA（cta-contact）と記事下の出口（self-check-doors） ===== */
.p-cta .lead { margin-left: auto; margin-right: auto; }
.cv-cta__secondary { margin: 20px 0 0; }
.cv-doors { text-align: center; margin: 40px 0 0; }
.cv-doors .h3 { margin: 0; }
.cv-doors__text { margin: 12px auto 0; max-width: 40em; }
.cv-doors .btns { margin-top: 24px; }
.cv-doors__sub { margin: 20px 0 0; font-weight: 700; }
.pop .cv-doors .link-arrow { color: var(--ink); text-decoration: underline; }

/* ===== 3. /contact ===== */
/* 3-1 15分の無料相談（黄色の箱。.p-booking と .badge は pop.js が動かす） */
.cv-booking { position: relative; display: grid; gap: 20px; padding: 36px 24px 32px; background: var(--sun); }
@media (min-width: 900px) { .cv-booking { grid-template-columns: 1.2fr 1fr; padding: 48px; align-items: center; } }
.cv-booking .badge {
  position: absolute; top: -28px; right: 24px; margin: 0;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coral); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(10deg);
}
.cv-booking .badge svg { display: block; }
.cv-booking .eyebrow { color: var(--ink); }
.cv-booking__heading { margin: 8px 0 0; padding-right: 72px; font-weight: 900; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.4; }
.cv-booking__text { margin: 12px 0 0; }
.cv-booking__scope { margin: 14px 0 0; padding-top: 14px; border-top: 2px dashed var(--ink); font-size: 16px; }
.cv-booking__btn { width: 100%; min-height: 64px; font-size: 19px; }
.cv-booking__note { margin: 12px 0 0; font-size: 16px; text-align: center; }

.cv-or { display: flex; align-items: center; gap: 16px; margin: 48px 0; font-weight: 900; font-size: 18px; }
.cv-or::before, .cv-or::after { content: ""; flex: 1; height: 3px; background: var(--ink); border-radius: 3px; }

/* 3-2 メールで相談（パネル＝フォームの箱。hidden を壊さないよう :not([hidden]) にだけ grid を当てる） */
.pop .ct .cv-mail { margin: 0; padding: 32px 22px; }
.pop .ct .cv-mail:not([hidden]) { display: grid; gap: 28px; }
@media (min-width: 900px) { .pop .ct .cv-mail { padding: 48px; } .pop .ct .cv-mail:not([hidden]) { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.pop .ct .ct-panel__heading { margin: 0; font-weight: 900; font-size: clamp(24px, 3vw, 32px); line-height: 1.4; color: var(--ink); }
.pop .ct .ct-quotes { margin: 16px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }
.pop .ct .ct-quotes__item {
  justify-self: start; padding: 6px 16px; font-weight: 700; font-size: 16px; line-height: 1.7; color: var(--ink);
  background: var(--foam); border: 2px solid var(--ink); border-radius: 18px;
}
.pop .ct .ct-panel__text { margin: 14px 0 0; font-size: 17px; color: var(--ink); }
.pop .ct .ct-panel__form { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }

/* 2択（いまは用件が1つなので出ないが、2本目を出したときのために） */
.pop .ct .ct-chooser { margin: 0 0 40px; }
.pop .ct .ct-chooser__heading { font-weight: 900; font-size: clamp(22px, 2.6vw, 28px); color: var(--ink); }
.pop .ct .ct-chooser__note { color: var(--muted); }
.pop .ct .ct-card { background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s; }
.pop .ct .ct-card:hover { background: var(--foam); border-color: var(--ink); }
.pop .ct .ct-card:has(input:checked) { background: var(--sun); border-color: var(--ink); transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.pop .ct .ct-card input[type="radio"] { accent-color: var(--ocean); width: 22px; height: 22px; }
.pop .ct .ct-card__label { color: var(--ink); font-weight: 900; }
.pop .ct .ct-card__text { color: var(--muted); }

/* 3-3 CF7 が吐く中身（クラス名は親の inc/contact-helpers.php が組み立てる） */
.pop .ct .ct-field { margin: 0 0 20px; }
.pop .ct .ct-label { color: var(--ink); font-weight: 900; font-size: 17px; margin-bottom: 6px; }
.pop .ct .ct-req, .pop .ct .ct-opt {
  margin-left: 8px; padding: 0 10px; font-size: 16px; line-height: 1.5; font-weight: 900;
  color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; vertical-align: 1px;
}
.pop .ct .ct-req { background: var(--coral); }
.pop .ct .ct-opt { background: var(--white); }
.pop .ct .ct-hint { color: var(--muted); font-size: 16px; }
.pop .ct .ct-warn { color: #8a1c14; background: var(--sand); border: 2px solid var(--ink); border-left-width: 8px; border-radius: 12px; font-size: 16px; }
.pop .ct .ct-input {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--sky);
  border: 3px solid var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: none;
}
.pop .ct textarea.ct-input { min-height: 160px; }
.pop .ct .ct-input:focus { outline: 3px solid var(--ocean); outline-offset: 2px; background: var(--white); border-color: var(--ink); box-shadow: none; }
.pop .ct .ct-choices .wpcf7-list-item label {
  border: 2px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); font-size: 16px;
}
.pop .ct .ct-choices .wpcf7-list-item label:hover { background: var(--foam); border-color: var(--ink); }
.pop .ct .ct-choices .wpcf7-list-item label:has(input:checked) { background: var(--sun); border-color: var(--ink); box-shadow: none; }
.pop .ct .ct-choices .wpcf7-list-item input[type="checkbox"] { accent-color: var(--ocean); }
.pop .ct .ct-field--file { background: var(--foam); border: 2px dashed var(--ink); border-radius: 16px; }
.pop .ct input.ct-file { background: var(--white); border: 2px dashed var(--ink); border-radius: 12px; font-size: 16px; }
.pop .ct input.ct-file::file-selector-button {
  font-family: var(--sans); font-weight: 900; font-size: 16px; color: var(--ink);
  background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 16px;
}
.pop .ct input.ct-file::file-selector-button:hover { background: var(--lagoon); }
.pop .ct .ct-file-name { color: var(--muted); font-size: 16px; }
.pop .ct .ct-file-error { color: #8a1c14; background: var(--sand); border: 2px solid var(--ink); font-size: 16px; }
.pop .ct .ct-field--consent { margin-top: 24px; font-weight: 700; }
.pop .ct .ct-submit-row { margin-top: 20px; }
.pop .ct input.ct-submit, .pop .ct.ct--report input.ct-submit {
  width: auto; min-height: 56px; padding: 12px 36px;
  font-family: var(--sans); font-weight: 900; font-size: 18px; letter-spacing: 0; color: var(--ink);
  background-color: var(--coral); background-image: none;
  border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.pop .ct input.ct-submit:hover, .pop .ct.ct--report input.ct-submit:hover { background-color: var(--coral); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.pop .ct input.ct-submit:active, .pop .ct.ct--report input.ct-submit:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.pop .ct input.ct-submit:focus-visible, .pop .ct.ct--report input.ct-submit:focus-visible { outline: 3px solid var(--ocean); outline-offset: 4px; }
.pop .ct .ct-submit-note { color: var(--muted); font-size: 16px; text-align: left; }

/* 3-4 送信後 */
.pop .ct .ct-thanks { margin: 0; padding: 24px; background: var(--moss); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
.pop .ct .ct-thanks:focus { outline: 3px solid var(--ocean); outline-offset: 4px; }
.pop .ct .ct-thanks__heading { color: var(--ink); font-weight: 900; font-size: 20px; }
.pop .ct .ct-thanks__text { color: var(--ink); font-size: 17px; }

/* 3-5 ご相談の流れ（.p-flow > .p-track li は pop.js が動かす）と電話 */
.cv-flow { margin-top: 32px; display: grid; gap: 28px; }
@media (min-width: 900px) { .cv-flow { grid-template-columns: 1fr 1fr; } }
.cv-track__label { margin: 0 0 18px; font-weight: 900; font-size: 20px; line-height: 1.5; }
.cv-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.cv-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.cv-steps__no {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: var(--lagoon);
  display: grid; place-items: center; font-weight: 800; font-size: 20px; line-height: 1;
}
.p-track:nth-child(2) .cv-steps__no { background: var(--sun); }
.cv-steps__title { display: block; font-weight: 900; }
.cv-steps__text { display: block; color: var(--muted); }
.cv-flow__note { margin: 28px 0 0; text-align: center; font-weight: 700; }
.cv-phone { margin-top: 56px; text-align: center; }
.cv-phone__box { margin: 20px auto 0; max-width: 520px; display: flex; gap: 18px; align-items: center; justify-content: center; text-align: left; }
.cv-phone__icon { width: 40px; height: 40px; flex: none; color: var(--ocean); }
.cv-phone__label { margin: 0; font-weight: 900; }
.cv-phone__number { margin: 4px 0; font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; }
.cv-phone__hours { margin: 0; color: var(--muted); }

/* ===== 4. /report（広告の着地。ナビもフッターのリンクも無い） ===== */
.cv-report-header { background: var(--sky); border-bottom: 3px solid var(--ink); }
.cv-report-header .wrap { display: flex; align-items: center; min-height: 64px; }
.cv-report-header__logo { height: 32px; width: auto; display: block; }
.pop .cv-report { padding: 48px 0 64px; }
@media (min-width: 768px) { .pop .cv-report { padding: 72px 0 88px; } }
.pop .ct .cv-report__panel { margin: 0; }
.cv-report__panel .eyebrow { margin-bottom: 6px; }
.cv-report__panel .ct-panel__form { margin-top: 24px !important; }
.cv-report-footer { background: var(--ink); color: var(--foam); padding: 28px 16px; text-align: center; font-size: 16px; }
.cv-report-footer p { margin: 0; }
.cv-report-footer p + p { margin-top: 6px; }
.pop .cv-report-footer a { color: var(--sun); font-weight: 700; }
.pop .ct.ct--report .ct-label::before { background: var(--lagoon); }
.pop .ct.ct--report .ct-label { color: var(--ink); }
.pop .ct.ct--report select.ct-input { background-color: var(--sky); border-color: var(--ink); }
.pop .ct.ct--report .ct-field--consent a { color: var(--ocean); }
/* 親の contact.css は /report だけ外部LPの配色（紺・金・橙）を .ct.ct--report で当てている。
   読み込み順に頼らず、詳細度で pop の見た目に揃える */
.pop .ct.ct--report .ct-panel__form { border: 0; border-radius: 0; box-shadow: none; }
.pop .ct.ct--report input.ct-input, .pop .ct.ct--report select.ct-input, .pop .ct.ct--report textarea.ct-input { padding: 12px 14px; background-color: var(--sky); border: 3px solid var(--ink); border-radius: 14px; }
.pop .ct.ct--report select.ct-input { padding-right: 44px; }
.pop .ct.ct--report .ct-input:focus { background-color: var(--white); border-color: var(--ink); box-shadow: none; outline: 3px solid var(--ocean); outline-offset: 2px; }
.pop .ct.ct--report .ct-req { color: var(--ink); background: var(--coral); }
.pop .ct.ct--report .ct-opt { color: var(--ink); background: var(--white); }
.pop .ct.ct--report .ct-hint { color: var(--muted); }
.pop .ct.ct--report input[type="checkbox"] { accent-color: var(--ocean); }
.pop .ct.ct--report .ct-choices .wpcf7-list-item label { background: var(--white); }
/* LP に埋め込まれたとき（html.is-embedded）。枠も余白も LP 側が持つ */
html.is-embedded body.pop { background: transparent; }
html.is-embedded .pop .cv-report { padding: 0; background: none; }
html.is-embedded .cv-report__panel { border: 0; box-shadow: none; padding: 0; background: transparent; }
html.is-embedded .cv-report__panel .eyebrow { display: none; }
html.is-embedded .cv-report__panel .ct-panel__form { margin-top: 0 !important; }

/* ===== 5. /booking ===== */
.cv-booking-page__scope { margin: 0 0 32px; padding: 18px 22px; font-weight: 700; }
.cv-booking-page__thanks { margin: 0 0 28px; }
.cv-calendar { padding: 12px; overflow: hidden; }
@media (min-width: 768px) { .cv-calendar { padding: 20px; } }
.cv-booking-page__note { margin: 28px 0 0; text-align: center; color: var(--muted); }
.cv-booking-page__mail { margin: 20px 0 0; text-align: center; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; align-items: baseline; }
.cv-booking-page__or { font-weight: 900; color: var(--muted); }

/* ===== 6. /self-check（.sc の中に被せる。ID とクラスは親の self-check.js のまま） ===== */
.pop .sc { background: var(--sky); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.85; }
.pop .sc h1, .pop .sc h2, .pop .sc h3, .pop .sc h4 { color: var(--ink); }
.pop .sc .page-hero .eyebrow { color: var(--ocean); margin: 0; font-size: 16px; letter-spacing: 0.16em; font-weight: 800; }
.pop .sc .page-hero .h1 { margin: 10px 0 0; line-height: 1.3; font-weight: 900; }
.pop .sc .lede { margin: 16px 0 0; max-width: 46em; color: var(--muted); font-size: 18px; }
.pop .sc .callout { margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--ink); border-radius: var(--radius); color: var(--ink); font-size: 17px; background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.pop .sc .callout p + p { margin-top: 8px; }
.pop .sc .sc__main { padding-top: 56px; padding-bottom: 88px; }

/* 設問カード（fieldset.step）。pop.css のトップの .step（サービス3段）と名前がぶつかるので全部打ち消す */
.pop .sc .step, .pop .sc .step:nth-child(n) {
  display: block; position: static; margin: 0 0 24px; padding: 24px 22px; min-width: 0;
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink);
  transition: background 0.15s;
}
.pop .sc .step:nth-child(n):has(input:checked) { background: var(--foam); border-color: var(--ink); }
.pop .sc .step > legend { padding: 0; margin: 0 0 6px; float: left; width: 100%; }
.pop .sc .step > legend + * { clear: both; }
.pop .sc .step__no {
  display: inline-block; margin-right: 10px; padding: 0 14px; font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--sun); border: 2px solid var(--ink); border-radius: 999px;
}
.pop .sc .step:has(input:checked) .step__no { background: var(--moss); }
.pop .sc .step__q { font-weight: 900; font-size: 19px; color: var(--ink); }
.pop .sc .step__hint { margin: 8px 0 14px; color: var(--muted); font-size: 16px; }
.pop .sc .opts { gap: 10px; margin: 0; }
.pop .sc .opt { border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; background: var(--white); transition: background 0.12s, transform 0.12s var(--ease), box-shadow 0.12s var(--ease); }
.pop .sc .opt:hover { background: var(--sky); border-color: var(--ink); }
.pop .sc .opt:has(input:checked) { background: var(--sun); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pop .sc .opt input { accent-color: var(--ocean); width: 20px; height: 20px; margin-top: 6px; }
.pop .sc .opt span { color: var(--ink); font-size: 16px; }
.pop .sc .opt__label { color: var(--ink); font-weight: 700; }
.pop .sc .opt__note { color: var(--muted); }

/* ボタン（pop.css の .btn と同じ形。.sc .btn の親の見た目を打ち消す） */
.pop .sc .actions { gap: 14px; margin-top: 28px; }
.pop .sc .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px;
  font-family: var(--sans); font-weight: 900; font-size: 17px; line-height: 1.4; color: var(--ink); text-decoration: none;
  background: var(--white); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.pop .sc .btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.pop .sc .btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.pop .sc .btn:focus-visible { outline: 3px solid var(--ocean); outline-offset: 4px; }
.pop .sc .btn--primary, .pop .sc .btn--primary:hover { background: var(--coral); color: var(--ink); }
.pop .sc .btn--accent, .pop .sc .btn--accent:hover { background: var(--coral); color: var(--ink); }
.pop .sc .btn--ghost, .pop .sc .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.pop .sc .btn--on-dark, .pop .sc .btn--on-dark:hover { background: var(--coral); color: var(--ink); box-shadow: 4px 4px 0 var(--lagoon); }
.pop .sc .err { color: #b3261e; font-weight: 700; }

/* 結果。見出しの色は親の JS が付け替える2つの完成したクラス（--build / --keep）で決まる */
.pop .sc .result { margin-top: 48px; }
.pop .sc .result__head { padding: 24px 24px 26px; border: 3px solid var(--ink); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.pop .sc .result__head--build { background: var(--ocean); }
.pop .sc .result__head--keep { background: var(--forest); }
.pop .sc .result__head p { color: var(--foam); font-family: var(--display); font-weight: 800; letter-spacing: 0.12em; }
.pop .sc .result__head h2 { color: var(--white); font-weight: 900; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.45; }
.pop .sc .result__body { padding: 22px; background: var(--foam); border: 3px solid var(--ink); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 6px 6px 0 var(--ink); }
.pop .sc .row { margin-bottom: 16px; padding: 18px 20px; background: var(--white); border: 3px solid var(--ink); border-left-width: 10px; border-left-color: var(--muted); border-radius: 16px; box-shadow: none; }
.pop .sc .row--how, .pop .sc .row--step, .pop .sc .row--means { border-left-color: var(--ocean); }
.pop .sc .row--size, .pop .sc .row--need, .pop .sc .row--term { border-left-color: var(--lagoon); }
.pop .sc .row--hours, .pop .sc .row--notai { background: transparent; border: 0; padding: 0; }
.pop .sc .row__label { color: var(--ocean); font-weight: 900; letter-spacing: 0.08em; font-size: 16px; }
.pop .sc .row--now .row__label { color: var(--muted); }
.pop .sc .row--size .row__label, .pop .sc .row--need .row__label, .pop .sc .row--term .row__label { color: var(--forest); }
.pop .sc .row__value { color: var(--ink); }
.pop .sc .row__sub, .pop .sc .row__note { color: var(--muted); }
.pop .sc .row__example { background: var(--sky); border-left: 4px solid var(--lagoon); color: var(--ink); }
.pop .sc .verdict { color: var(--ink); font-weight: 900; }
.pop .sc .verdict--none { color: var(--muted); }
.pop .sc .verdict--low { color: var(--forest); }
.pop .sc .verdict--mid { color: #8a4b00; }
.pop .sc .verdict--high { color: #b3261e; }
.pop .sc .row--size .verdict, .pop .sc .row--term .verdict { color: var(--forest); }
.pop .sc .method__main { background: var(--sun); border: 2px solid var(--ink); border-radius: 12px; }
.pop .sc .method__main strong { color: var(--ink); }
.pop .sc .hours { background: var(--ink); border: 3px solid var(--ink); border-radius: 16px; padding: 22px; box-shadow: 6px 6px 0 var(--lagoon); }
.pop .sc .hours .row__label { color: var(--lagoon); }
.pop .sc .hours__lead { color: var(--foam); }
.pop .sc .hours .big { color: var(--sun); font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 48px); line-height: 1.2; }
.pop .sc .hours__after { color: var(--sky); }
.pop .sc .hours small { color: var(--foam); font-size: 16px; border-top: 2px dashed rgba(226, 243, 239, 0.4); }
.pop .sc .notai { background: var(--sand); border: 3px solid var(--ink); border-left-width: 10px; border-left-color: var(--coral); border-radius: 16px; }
.pop .sc .notai .row__label { color: #8a4b00; }
.pop .sc .notai ul.plain li { color: var(--ink); }
.pop .sc ul.plain li::marker { color: var(--coral); }

/* 軽い受け皿（資料）。pop.css の .lead（リード文の段落）と名前がぶつかるので打ち消す */
.pop .sc .lead {
  max-width: none; margin: 24px 0 0; padding: 28px 22px; font-size: 17px; color: var(--ink);
  background: var(--sand); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink);
}
.pop .sc .lead h3 { font-weight: 900; font-size: 22px; }
.pop .sc .lead__text, .pop .sc .lead__topics { color: var(--ink); }
.pop .sc .lead__promise { color: var(--forest); font-weight: 900; }
.pop .sc .lead__report-label { color: var(--muted); }
.pop .sc .lead__report { background: var(--white); border: 2px solid var(--ink); border-radius: 12px; color: var(--ink); }
.pop .sc .lead__note { color: var(--muted); font-size: 16px; }
.pop .sc .flow__step { background: var(--white); border: 2px solid var(--ink); border-top-width: 2px; border-radius: 14px; }
.pop .sc .flow__no { border: 2px solid var(--ink); background: var(--white); color: var(--ink); font-family: var(--display); font-weight: 800; width: 32px; height: 32px; }
.pop .sc .flow__label { color: var(--ink); }
.pop .sc .flow__note { color: var(--muted); }
.pop .sc .flow__step--done { background: var(--moss); border-top-color: var(--ink); }
.pop .sc .flow__step--done .flow__no { background: var(--white); color: var(--ink); }
.pop .sc .flow__step--done .flow__state { color: var(--ink); }
.pop .sc .flow__step--here { background: var(--sun); border-top-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pop .sc .flow__step--here .flow__no { background: var(--white); color: var(--ink); }
.pop .sc .flow__step--here .flow__state { color: var(--ink); }
.pop .sc .field > label { color: var(--ink); font-weight: 900; }
.pop .sc .req, .pop .sc .opt-tag { font-size: 16px; font-weight: 900; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 0 10px; }
.pop .sc .req { background: var(--coral); }
.pop .sc .opt-tag { background: var(--white); }
.pop .sc .field input, .pop .sc .field select, .pop .sc .field textarea {
  font-size: 17px; color: var(--ink); background: var(--sky); border: 3px solid var(--ink); border-radius: 14px; padding: 12px 14px;
}
.pop .sc .field input:focus, .pop .sc .field select:focus, .pop .sc .field textarea:focus { outline: 3px solid var(--ocean); outline-offset: 2px; border-color: var(--ink); background: var(--white); }
.pop .sc .field .hint { color: var(--muted); }
.pop .sc .check input { accent-color: var(--ocean); width: 20px; height: 20px; }
.pop .sc .check span { color: var(--ink); }
.pop .sc .lead__done h3 { color: var(--forest); }

/* 重い受け皿（相談）。濃い面。ボタンは coral に ink の文字 */
.pop .sc .cta { margin-top: 24px; padding: 32px 22px; background: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--lagoon); }
.pop .sc .cta p { color: var(--foam); }
.pop .sc .cta__limit { border-bottom: 2px dashed rgba(226, 243, 239, 0.3); }
.pop .sc .cta__label { color: var(--sky) !important; font-weight: 900; }
.pop .sc .cta__sub { color: var(--lagoon) !important; font-family: var(--display); }
.pop .sc .cta__note { color: var(--foam) !important; }
.pop .sc .cta__alt a { color: var(--sun); font-weight: 700; }
.pop .sc .disclaimer { color: var(--muted); }

/* よくある質問。pop.css の .faq（details 用の grid）と名前がぶつかるので打ち消す */
.pop .sc .faq { display: block; margin-top: 56px; padding: 28px 22px; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); }
.pop .sc .faq h2 { font-weight: 900; font-size: clamp(22px, 2.6vw, 28px); }
.pop .sc .faq dt { color: var(--ink); font-weight: 900; border-left: 6px solid var(--coral); }
.pop .sc .faq dd { color: var(--muted); border-left: 6px solid var(--foam); font-size: 16px; }
@media (min-width: 768px) {
  .pop .sc .step, .pop .sc .step:nth-child(n) { padding: 28px 30px; }
  .pop .sc .lead, .pop .sc .cta, .pop .sc .faq { padding: 36px 36px; }
}
