@charset "UTF-8";
/* ===========================================================
 * /lp/ 個人向け広告LP 専用スタイル
 * このファイルは /lp/ ページ以外からは読み込まれない。
 * 共通CSS(/20251225assets/css/styles.css 等)には一切影響しない。
 * Figma「LP /lp/ SP390」(A: 1752:3 / B: 1770:66)の指定値を踏襲し、
 * 配色トーンは /guide/ と揃えている。
 * スマホ(390px)が正。PCでは max-width 480px で中央寄せ。
 * =========================================================== */

/* ---------- ベース ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: #EEF1F6;
  color: #1B2333;
}

img { max-width: 100%; }

p, h1, h2, h3, ul { margin: 0; }

/* ---------- ページ全体 ---------- */
.l-page {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

/* ---------- 共通セクション ---------- */
.l-sec {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FFFFFF;
}

.l-sec--gray { background: #F7F8FB; }

.l-sec__title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.7;
  color: #12264F;
}

/* ---------- 経路別の専用バナー(atype で出し分け・KV直下) ---------- */
.l-atype-bnr {
  padding: 20px 20px 4px;
  background: #FFFFFF;
}

.l-atype-bnr picture,
.l-atype-bnr__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- CTA ボタン ---------- */
.l-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #b51809;
  color: #FFFFFF;
  font-weight: 900;
  text-decoration: none;
  border-radius: 999px;
}

.l-cta--kv {
  height: 56px;
  font-size: 16px;
  line-height: 1.65;
}

.l-cta--close {
  padding: 16px 0;
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- ① KV ---------- */
.l-kv {
  background: #12264F;
  padding: 28px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.l-kv__band {
  align-self: stretch;
  /* 左右余白に12pxずつはみ出して幅を確保 */
  margin: 0 -12px;
  /* A/B共通。長いB帯(実測約21.8em)が1行に収まる最大サイズ(390px幅で約17px・320px幅で約14px) */
  font-size: clamp(12px, calc((min(100vw, 480px) - 16px) / 22.2), 20px);
  font-weight: 900;
  line-height: 1.65;
  color: #ffde59;
  text-align: center;
  white-space: nowrap;
}

.l-kv__headline {
  align-self: stretch;
  margin-top: 10px;
  /* 2行固定(<br>)。最長行13字が1行に収まる最大サイズ(390px幅で約26px) */
  font-size: clamp(18px, calc((min(100vw, 480px) - 40px) / 13.5), 32px);
  font-weight: 900;
  line-height: 1.3;
  color: #FFFFFF;
  text-align: center;
}

.l-kv__headline span { white-space: nowrap; }

/* 財団+リフォーム産業新聞のバッジ */
.l-kv__badges {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  max-width: 100%;
}

.l-kv__badge {
  display: block;
  width: auto;
  object-fit: contain;
}

.l-kv__badge--fos  { height: 33px; max-width: 51%; }
.l-kv__badge--news { height: 53px; max-width: 48%; }

.l-kv__name {
  margin-top: 8px;
  /* 14文字を1行に収める(390px幅で25px、狭い端末では縮小) */
  font-size: min(25px, calc((100vw - 40px) / 14.5));
  white-space: nowrap;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.65;
  color: #FFFFFF;
  text-align: center;
}

/* 広告ビジュアル(A: kv-a.webp / B: kv-b.webp) */
.l-kv__visual {
  margin-top: 12px;
  width: 100%;
  aspect-ratio: 350 / 197;
  border-radius: 10px;
  overflow: hidden;
}

.l-kv__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.l-kv__record {
  margin-top: 14px;
  font-weight: 900;
  line-height: 1.65;
  color: #FFFFFF;
  text-align: center;
}

.l-kv__record-s { font-size: 12px; }

.l-kv__record-num {
  font-size: 24px;
  margin: 0 1px;
}

.l-kv__pill {
  margin-top: 6px;
  background: #ffde59;
  color: #12264F;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.65;
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

.l-kv__pill-price { font-size: 16px; }
.l-kv__pill-tax   { font-size: 11px; }

.l-cta--kv { margin-top: 16px; }

/* ---------- ② 手に入るもの ---------- */
.l-card {
  border: 1px solid #DDE2EC;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
}

.l-card--img { min-height: 156px; }

.l-card__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: flex-start;
}

.l-card__title {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
  color: #12264F;
}

.l-card__body {
  font-size: 13px;
  line-height: 1.7;
  color: #44506B;
}

.l-card--img .l-card__title { white-space: nowrap; }

.l-card__media {
  flex: 0 0 auto;
  margin-top: 16px;
}

.l-card__media--logo   { width: 84px; }
.l-card__media--cert   { width: 84px; }
.l-card__media--search { width: 124px; }

.l-card__img {
  display: block;
  width: 100%;
  height: auto;
}

.l-gain__note {
  background: #F7F8FB;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #44506B;
}

/* 「合格」の定義の注記(極小・控えめ) */
.l-gain__fine {
  margin-top: -8px;
  font-size: 10.5px;
  line-height: 1.6;
  color: #8A93A6;
}

/* ---------- ③ どんな資格? ---------- */
.l-checks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.l-checks__item {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #44506B;
}

.l-checks__mark {
  flex: 0 0 auto;
  font-weight: 900;
  color: #1E7E4D;
}

/* ---------- ④ 仕事を止めずに取れます ---------- */
.l-chips {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 8px;
}

.l-chip {
  border: 1.5px solid #12264F;
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.7;
  color: #12264F;
  white-space: nowrap;
}

/* ---------- ⑤ 例題 ---------- */
.l-quiz { gap: 12px; }

.l-quiz__card {
  background: #FFFFFF;
  border: 1px solid #DDE2EC;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.l-quiz__intro {
  font-size: 13px;
  line-height: 1.7;
  color: #44506B;
}

.l-quiz__voice {
  background: #F7F8FB;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #44506B;
}

.l-quiz__q {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  color: #12264F;
}

.l-quiz__opt {
  display: block;
  width: 100%;
  margin: 0;
  background: #FFFFFF;
  border: 1.5px solid #C9D2E4;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.7;
  color: #44506B;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

/* タップした選択肢 */
.l-quiz__opt.is-selected {
  border-color: #12264F;
  box-shadow: inset 0 0 0 1px #12264F;
  background: #EEF1F7;
  color: #12264F;
}

/* 答え合わせ後: 正解Cを緑で強調 */
.is-answered .l-quiz__opt[data-correct] {
  background: #E4F3EA;
  border-color: #1E7E4D;
  box-shadow: none;
  font-weight: 700;
  color: #44506B;
}

.is-answered .l-quiz__opt[data-correct].is-selected {
  box-shadow: inset 0 0 0 1px #1E7E4D;
}

.l-quiz__answer {
  background: #E4F3EA;
  border: 1.5px solid #1E7E4D;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.7;
}

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

.l-quiz__answer-title {
  font-size: 14px;
  font-weight: 900;
  color: #1E7E4D;
}

.l-quiz__answer-body {
  font-size: 12.5px;
  color: #44506B;
}

.l-quiz__more {
  font-size: 12.5px;
  font-weight: 700;
  color: #b51809;
}

.l-quiz__more a { color: #b51809; }

/* ---------- ⑥ 価格 ---------- */
.l-price__card {
  border: 2px solid #12264F;
  border-radius: 14px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.l-price__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  color: #44506B;
}

.l-price__value {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.7;
  color: #12264F;
}

.l-price__tax { font-size: 20px; }

.l-price__note {
  max-width: 300px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #5A6478;
}

/* ---------- ⑦ 締めCTA ---------- */
.l-close {
  background: #12264F;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.l-close__title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.7;
  color: #FFFFFF;
  text-align: center;
}

.l-close__link {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  color: #ffde59;
  text-decoration: underline;
}

/* ---------- ⑧ 法人バナー ---------- */
.l-corp__banner {
  border: 1.5px solid #12264F;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #12264F;
  text-decoration: none;
}

.l-corp__text {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
}

.l-corp__arrow {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.7;
}
