/* =========================================================
   LPデザインの型「セールスレター」
   元: インフォトップの情報商材LP（YTM Final Edition／バナナデスク）の作り。
   パソコンでは全幅に背景（写真や光の模様）を敷き、中央に半透明の白いカラムを置く。
   章の頭は「赤い点線のレール＋札」→「明朝の一言＋赤い箱の見出し」。本文は小さな灰色の字。
   色・書体はここ（:root）が正本。
   ========================================================= */
:root {
  --red: #d7000f;
  --red-deep: #9e0a0e;
  --black: #111;
  --gray-text: #8a8a8a;     /* 本文の灰色 */
  --ink: #222;
  --gold: linear-gradient(180deg, #fff3b0 0%, #f2c94c 35%, #b8860b 60%, #f7d774 80%, #a8761a 100%);
  --cta-1: #3fd25a;
  --cta-2: #12922b;
  --yellow: #fff200;
  --col-bg: rgba(255, 255, 255, .9);   /* 中央カラムの白（少し透ける） */
  --col: 700px;
  --text-pad: 56px;                    /* 本文の左右の余白（パソコン） */

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Oswald", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #1b2230; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }
h2, h3, .claim { text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }

/* 見本だけの部品名札（本番では消す） */
.part-label { position: relative; z-index: 2; margin: 0; padding: 6px 12px; font: 700 11px/1.4 var(--sans); color: #fff; background: #555; }
.part-label b { display: inline-block; margin-right: 8px; padding: 0 6px; background: #000; border-radius: 3px; }
.part-label code { margin-left: 8px; padding: 0 6px; background: #777; border-radius: 3px; font-size: 11px; }
.col .part-label { margin: 24px calc(var(--text-pad) * -1) 0; }

/* ---------- 全幅の背景＋中央の半透明の白いカラム（この型の骨組み） ---------- */
.band { position: relative; background: var(--photo, none) center / cover fixed, var(--bg); }
.col { max-width: var(--col); margin: 0 auto; padding: 36px var(--text-pad) 48px; background: var(--col-bg); }
.col--dark { background: rgba(0, 0, 0, .85); padding-left: 0; padding-right: 0; }
@media (max-width: 720px) { :root { --text-pad: 18px; } }

/* 背景（写真なしで作る4種類。写真を使うときは style="--photo:url(...)"） */
.bg-blue {   /* 青い光の筋 */
  --bg:
    radial-gradient(ellipse 40% 30% at 85% 30%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(ellipse 30% 20% at 12% 70%, rgba(255, 255, 255, .35), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 9px),
    linear-gradient(90deg, #0a3d8f, #1c8fe0 30%, #0b5fb8 55%, #062c6b);
}
.bg-office { /* 明るいオフィスのぼかし */
  --bg:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .5) 0 14px, rgba(200, 205, 210, .35) 14px 18px),
    linear-gradient(90deg, #cfd3d6, #eef0f1 50%, #c7cbcf);
}
.bg-dark {   /* 濃い紺の金属 */
  --bg:
    linear-gradient(180deg, transparent 47%, rgba(255, 255, 255, .25) 48%, rgba(0, 0, 0, .4) 50%, transparent 52%) 0 0 / 100% 420px,
    linear-gradient(90deg, #121c27, #2a3a4c 50%, #121c27);
}
.bg-steel {  /* 灰色の鋼 */
  --bg: radial-gradient(ellipse at 30% 40%, #5a636b, #262b30 70%);
}

/* ---------- 章の頭：赤い点線のレール＋中央の札 ---------- */
.rail { position: relative; height: 44px; margin: 40px calc(var(--text-pad) * -1) 18px; display: grid; place-items: center; }
.rail:first-child { margin-top: -36px; }
.rail::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 9px; transform: translateY(-50%);
  background:
    linear-gradient(var(--red), var(--red)) top / 100% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) bottom / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, var(--red) 0 4px, transparent 4px 7px) center / 100% 3px no-repeat;
}
.rail__tab {
  position: relative; display: grid; place-items: center; min-width: 74px; padding: 4px 10px 6px; border-radius: 10px; background: var(--red);
  color: #fff; font: 700 15px/1 var(--sans); letter-spacing: -.02em; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #c99a3a;
}
.rail__tab small { font: 500 9px/1.3 var(--sans); color: #ffd7d7; }

/* ---------- 見出し：明朝の一言＋赤い箱＋明朝の一言（この型の主役） ---------- */
.hl { margin: 6px 0 26px; text-align: center; }
.letter + .hl, .chart + .hl, .topic + .hl { margin-top: 56px; }
.hl__pre, .hl__post { display: block; font: 500 clamp(22px, 5.4vw, 38px)/1.35 var(--serif); color: var(--black); letter-spacing: .02em; }
.hl__post { font-family: var(--sans); font-weight: 900; }
.hl__box {
  display: inline-block; margin: 4px 0; padding: .06em .45em .12em; border-radius: 4px; background: var(--red); color: #fff;
  font: 900 clamp(20px, 5vw, 34px)/1.35 var(--sans); letter-spacing: .02em;
}
.hl__box--wide { display: block; font-size: min(30px, 5vw); padding-left: .3em; padding-right: .3em; }
.hl--serif .hl__box { font-size: clamp(22px, 5.4vw, 36px); }

/* ---------- 本文：小さな灰色の字（短く改行しながら淡々と） ---------- */
.letter { color: var(--gray-text); font-size: 13px; line-height: 1.75; letter-spacing: .1em; }
.letter p { margin-bottom: 1.6em; }
.letter p:last-child { margin-bottom: 0; }
.letter + .letter, .chart + .letter, .biglist + .letter { margin-top: 24px; }
.r { color: var(--red); font-weight: 700; }
.y { background: var(--yellow); color: var(--black); }
mark { background: var(--yellow); color: inherit; padding: 0 .1em; }
.letter u { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 480px) { .letter { font-size: 12.5px; letter-spacing: .06em; } }

/* グラフ：黒い丸帯のタイトル */
.chart { position: relative; margin: 26px 0; padding: 40px 0 0; background: #fff; }
.chart figcaption { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 76%; padding: 5px 10px; border-radius: 999px; background: var(--black); color: #fff; text-align: center; font: 900 16px/1.4 var(--sans); }
.chart small { display: block; padding: 4px 6px; text-align: right; font-size: 10px; color: var(--gray-text); }
.ph { display: grid; place-items: center; aspect-ratio: var(--r, 4/3); background: #e7e9ec; color: #9aa0a6; font-size: 12px; }

/* ---------- 大きな箇条書き ---------- */
.biglist { margin: 30px 0; }
.biglist li { font: 900 clamp(24px, 6vw, 40px)/1.35 var(--sans); color: var(--black); letter-spacing: .01em; }
.biglist b { color: var(--red); }

/* 黒い箱の話題 */
.topic { margin: 30px 0; padding: 0 10px 14px; background: var(--black); border-top: 5px solid var(--red); }
.topic__ttl { padding: 12px 6px; color: #fff; font: 900 clamp(20px, 5vw, 28px)/1.4 var(--sans); }
.topic__ttl b { color: var(--red); }
.topic__body { padding: 22px 18px; background: #fff; }
.topic__big { margin-bottom: 18px; font: 900 clamp(26px, 6.6vw, 40px)/1.35 var(--sans); color: var(--ink); }

/* ---------- 理由の見出しと太枠カード ---------- */
.reason { display: flex; align-items: flex-end; gap: 10px; margin: 34px 0 10px; }
.reason__no { flex: none; display: grid; width: 64px; text-align: center; font: 500 34px/1.1 var(--serif); color: #fff; background: var(--red); padding-bottom: 4px; }
.reason__no small { display: block; margin-bottom: 4px; padding: 2px 0; background: var(--black); font: 700 13px/1.4 var(--sans); }
.reason__ttl { font: 900 clamp(22px, 5.6vw, 34px)/1.25 var(--serif); color: var(--black); }
.reason__ttl small { display: block; font: 500 clamp(12px, 3vw, 17px)/1.5 var(--serif); }
.card { padding: 24px 26px; background: #fff; border: 6px solid var(--red); border-radius: 12px; box-shadow: 0 0 0 4px var(--black); margin: 0 4px 10px; }
.card .ph { margin-bottom: 22px; border-radius: 6px; }

/* ---------- 数字と表 ---------- */
.bignum { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 4px 12px; background: var(--black); color: #fff; }
.bignum span { font: 900 15px/1.1 var(--serif); }
.bignum b { font: 900 clamp(44px, 11vw, 66px)/1.1 var(--serif); letter-spacing: -.02em; }
.bignum small { font: 900 16px/1 var(--serif); align-self: flex-end; margin-bottom: 10px; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 8px 0 18px; }
.chips i { padding: 3px 2px; background: var(--red); color: #fff; font: normal 700 10px/1.4 var(--sans); text-align: center; border-radius: 3px; }
.tbl { margin: 24px 0; }
.tbl caption { padding-bottom: 6px; font: 700 15px var(--serif); color: var(--red); }
.tbl th, .tbl td { padding: 10px 14px; border-bottom: 1px solid #fff; font-size: 13px; }
.tbl th { background: var(--red); color: #fff; text-align: center; font-weight: 700; }
.tbl td { background: #666; color: #fff; text-align: center; font-weight: 700; width: 40%; }
.tbl-cap { margin: 20px 0 0; padding: 6px; background: var(--red); color: #fff; text-align: center; font-weight: 700; font-size: 14px; }
.darklist { margin-top: 24px; border: 3px solid var(--black); background: #fff; }
.darklist h3 { padding: 10px; background: var(--black); color: #fff; text-align: center; font: 900 16px/1.4 var(--serif); }
.darklist ul { padding: 8px 14px; }
.darklist li { position: relative; padding: 6px 0 6px 24px; border-bottom: 1px solid #ddd; font-size: 13px; }
.darklist li::before { content: "●"; position: absolute; left: 2px; top: 6px; font-size: 10px; }

/* ---------- 実績の年表 ---------- */
.years__y { padding: 8px; background: linear-gradient(#3a3a3a, #111); color: #fff; text-align: center; font: 700 18px var(--sans); }
.years__body { padding: 18px 20px; background: #fff; }

/* ---------- 申込ボックス ---------- */
.apply-box { padding: 28px 24px 34px; text-align: center; color: #fff; }
.apply-box__lead { font: 500 clamp(22px, 5.4vw, 30px)/1.4 var(--serif); color: #ddd; letter-spacing: .1em; }
.arrows { display: flex; justify-content: center; gap: 28px; margin: 10px 0 16px; }
.arrows i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red); animation: bob 1.2s ease-in-out infinite; }
.arrows i::before { content: "↓"; font-style: normal; font-weight: 900; font-size: 13px; color: #fff; }
@keyframes bob { 50% { transform: translateY(4px); } }
.btn {
  display: block; max-width: 520px; margin: 0 auto; padding: 16px 12px; border-radius: 6px; text-decoration: none;
  background: linear-gradient(180deg, var(--cta-1), var(--cta-2)); color: #fff; font: 900 clamp(14px, 3.6vw, 18px)/1.4 var(--sans);
  box-shadow: 0 4px 0 #0a5c1a, 0 0 0 2px rgba(255, 255, 255, .35) inset;
}
.apply-box__price, .price-big { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 0 0; }
.apply-box__price span, .price-big span { font: 900 16px/1.1 var(--serif); }
.apply-box__price b { font: 900 clamp(48px, 12vw, 72px)/1 var(--serif); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apply-box__price small, .price-big small { font: 700 12px/1.3 var(--serif); text-align: left; }
.price-big b { font: 900 clamp(56px, 14vw, 84px)/1 var(--serif); color: var(--red); letter-spacing: -.02em; }
.claim { margin: 20px 0 30px; text-align: left; font: 900 clamp(26px, 6vw, 36px)/1.4 var(--serif); }
.claim small { font-size: .55em; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 10px 10px 10px 40px; border-bottom: 1px solid #eee; font-size: 13px; color: var(--gray-text); }
.steps li::before { content: "【" counter(s) "】"; position: absolute; left: 0; font-weight: 900; color: var(--ink); }

/* ---------- お客様の声 ---------- */
.voice { margin-bottom: 24px; border: 4px solid var(--red); }
.voice__head { position: relative; padding: 12px 14px 12px 60px; background: var(--black); color: #fff; font: 900 15px/1.5 var(--sans); }
.voice__head::before { content: "▶"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 28px; border-radius: 8px; background: var(--red); font-size: 13px; }
.voice__head small { display: block; text-align: right; font-size: 11px; color: #ccc; }
.voice__body { padding: 16px 14px 4px; background: var(--red); color: #fff; font-size: 13px; line-height: 1.8; }
.voice__body p { margin-bottom: 1em; }

.ps { font: 900 22px/1.4 var(--serif); color: var(--ink); }
.sign { text-align: right; font: 700 18px/1.4 var(--serif); color: var(--ink); }
.ft { padding: 24px; background: var(--black); color: #aaa; text-align: center; font-size: 11px; }
.ft a { color: #ddd; }
@media (prefers-reduced-motion: reduce) { .arrows i { animation: none; } }
