@charset "utf-8";

/* ============================================================
   DM→LP 汎用部品CSS（templates/base.css）
   新案件では: これをコピー → 変数を案件の色に差し替え → 案件固有のセクションCSSを追記
   実績: 感激の10日間 v14（output/2601_感激の10日間/v3_pro/）
   ============================================================ */

:root {
  /* ▼案件ごとに差し替える色（例は赤系キャンペーン） */
  --c-bg: #2b0304;          /* ページ最深部の背景 */
  --c-accent: #c11830;      /* メインアクセント */
  --c-gold-l: #ffe9a0;      /* 金グラデ明 */
  --c-gold-m: #f5c948;      /* 金グラデ中 */
  --c-gold-d: #d99b16;      /* 金グラデ暗 */
  --c-gold-line: #e6b422;   /* 金縁・ライン */
}

/* ---------- リセット・基本 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
body {
  background: var(--c-bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #fff;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

/* ---------- セクション骨格 ----------
   注意: overflow:hidden はバッジ半掛け(.badge)を切るので、必要なセクションだけに付ける */
.sec { position: relative; }
.sec .inn { position: relative; max-width: 1000px; margin: 0 auto; }

/* ---------- PC/スマホ出し分け（ブレークポイント768px） ---------- */
.smt_only { display: none; }
.pc_only { display: block; }
@media (max-width: 768px) {
  .smt_only { display: block; }
  .pc_only { display: none; }
}

/* ---------- 登場アニメーション（JSのIntersectionObserverとセット） ---------- */
.anim { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.anim.in-view { opacity: 1; transform: translateY(0); }
.anim.d1 { transition-delay: .15s; }
.anim.d2 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .anim { opacity: 1; transform: none; transition: none; } }

/* ---------- キラキラ（scripts/make_sparkle.py で生成した2枚を2層重ね） ---------- */
.sparkles {
  position: absolute;
  inset: 0;
  background-image: url("../images/sparkle_a.png");
  background-size: 900px 900px;
  pointer-events: none;
  z-index: 3;
  animation: twinkle 2s ease-in-out infinite;
}
.sparkles::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/sparkle_b.png");
  background-size: 900px 900px;
  background-position: 300px 400px;
  animation: twinkle 2.9s ease-in-out .9s infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
  70% { opacity: .25; }
}
@media (prefers-reduced-motion: reduce) {
  .sparkles, .sparkles::after { animation: none; opacity: .95; }
}

/* ---------- シャインが走るグラデボタン ---------- */
.btn-img {
  display: inline-block;
  position: relative;
  overflow: hidden;
  min-width: 300px;
  padding: 16px 34px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, .9);
  box-shadow: 0 5px 12px rgba(0,0,0,.35), inset 0 2px 6px rgba(255,255,255,.5), 0 0 0 3px var(--c-gold-line);
  cursor: pointer;
  transition: transform .15s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.btn-img::before {
  content: "";
  position: absolute;
  top: -20%; left: -60%;
  width: 34%; height: 140%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: shine 2.8s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}
.btn-img:hover { transform: translateY(-2px); }
.btn-img span { font-size: .8em; }
.btn-green { background: linear-gradient(180deg, #7ed957 0%, #2e9e44 55%, #187a2f 100%); }
.btn-blue  { background: linear-gradient(180deg, #7adcf5 0%, #1f8fd0 55%, #0d6bb0 100%); }
.btn-red   { background: linear-gradient(180deg, #ff9a9a 0%, #e8384f 55%, #c11830 100%); }
.btn-row { text-align: center; padding: 8px 16px 30px; position: relative; z-index: 6; }
@media (max-width: 768px) {
  .btn-img { min-width: 0; width: 88%; font-size: 16px; padding: 14px 20px; }
}

/* ---------- 金の斜めリボン見出し（金キラ素材があれば background を画像に差し替え） ---------- */
.ribbon {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 94%;
  padding: 16px 60px;
  font-size: clamp(19px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: .04em;
  color: #4a2000;
  background: linear-gradient(100deg, var(--c-gold-m), var(--c-gold-l) 40%, var(--c-gold-d));
  border-top: 3px solid #fff2c9;
  border-bottom: 3px solid #b8860b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
  text-shadow: 0 1px 0 #fff, 0 2px 6px rgba(255, 255, 255, .8);
}
.ribbon-tl { margin: 0 0 30px -10px; transform: rotate(-2.5deg) skewX(-6deg); border-radius: 0 10px 10px 0; }
.ribbon-tl > * { transform: skewX(6deg); }
.ribbon-br { margin: 8px -10px 34px auto; transform: rotate(-2.5deg) skewX(-6deg); border-radius: 10px 0 0 10px; }
.ribbon-br > * { transform: skewX(6deg); }
@media (max-width: 768px) { .ribbon { font-size: 15px; padding: 10px 22px; } }

/* ---------- 章バッジ（セクション境界に半分乗せる・プロの定石） ----------
   位置はスクショ実測→補間で追い込む。中の img には必ず width:100% を付ける（枠内左寄せ事故防止） */
.badge {
  width: 380px;
  margin: 0 auto -62px;
  position: relative;
  top: -80px;
  z-index: 30;
  text-align: center;
  filter: drop-shadow(4px 6px 8px rgba(0, 0, 0, .55));
}
.badge img { width: 100%; }
@media (max-width: 768px) { .badge { width: 240px; } }

/* ---------- セクションを分かつライン（境界の白+金） ---------- */
.sec-line::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: linear-gradient(180deg, #fff 0 3px, var(--c-gold-line) 3px 6px, rgba(0,0,0,.25) 6px 10px);
  z-index: 20;
}

/* ---------- 白ぼかし円（ブロックをカード枠なしで浮かせる） ---------- */
.blk {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px 22px;
  text-align: center;
  background: radial-gradient(closest-side, rgba(255,255,255,.95) 55%, rgba(255,255,255,.55) 75%, rgba(255,255,255,0) 100%);
  border-radius: 50%;
}
@media (max-width: 768px) { .blk { border-radius: 26px; padding: 26px 18px; } }

/* ---------- 誘導フキダシ ---------- */
.fukidashi {
  position: relative;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}
.fukidashi::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -9px;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-bottom: none;
}
.fk-green { background: #2e9e44; } .fk-green::after { border-top-color: #2e9e44; } .fk-green b { color: #ffe95e; }
.fk-blue  { background: #1f8fd0; } .fk-blue::after  { border-top-color: #1f8fd0; } .fk-blue b  { color: #ffe95e; }

/* ---------- クーポン等のモーダル ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; }
.modal.open { display: block; }
.modal__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); }
.modal__content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(86vw, 340px);
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
}
.modal__content img { width: 100%; }
.modal__note { font-size: 12px; color: #333; text-align: center; padding-top: 10px; }
.modal__close {
  position: absolute;
  top: 6px; right: 8px;
  width: 34px; height: 34px;
  font-size: 20px;
  border: none;
  border-radius: 50%;
  background: var(--c-bg);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

/* ---------- ページトップへ ---------- */
.totop {
  position: fixed;
  right: 16px; bottom: 16px;
  width: 52px; height: 52px;
  border: 2px solid #fff2c9;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--c-gold-l), var(--c-gold-d));
  color: #5c1500;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
}
.totop.active { opacity: 1; pointer-events: auto; }

/* ---------- 法定注記 ---------- */
.note { font-size: 11px; line-height: 1.7; color: #ffe3e3; padding: 14px 4% 26px; position: relative; z-index: 5; }

/* ---------- キャラ浮遊 ---------- */
@keyframes fuwa {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

/* ---------- 走る車（道路帯 + road_cars.png） ---------- */
.road {
  height: 56px;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, #fff 0 46px, rgba(255,255,255,0) 46px 92px) center / 100% 6px no-repeat,
    #565d63;
}
.road::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 200%; height: 60px;
  margin-top: -30px;
  background: url("../images/road_cars.png") 0 center / 900px 60px repeat-x;
  animation: drive 14s linear infinite;
}
@keyframes drive { from { transform: translateX(0); } to { transform: translateX(-900px); } }
@media (prefers-reduced-motion: reduce) { .road::after { animation: none; } }


/* ---------- マーキー（流れる帯。開催情報などを流す） ----------
   HTML: <div class="marquee"><div class="marquee-track"><span>文言　</span><span>文言　</span></div></div>
   ※spanは同じ内容を2つ並べる（-50%移動でシームレスループになる仕組み） */
.marquee {
  overflow: hidden;
  background: #1a1a1a;
  border-top: 3px solid var(--c-gold-line);
  border-bottom: 3px solid var(--c-gold-line);
  padding: 10px 0;
  position: relative;
  z-index: 8;
}
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee-track span {
  white-space: nowrap;
  font-weight: 900;
  font-size: clamp(15px, 1.8vw, 21px);
  color: #ffe95e;
  letter-spacing: .06em;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }


/* ---------- QRオーバーレイボタン共通（QR白箱に重ねる。個別クラスでleft/top/width/height%を指定） ---------- */
.btn-ov {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  margin: 0;
  line-height: 1.35;
  text-align: center;
}
.btn-qr {
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  text-shadow: none;
  color: #d5001e;
  font-weight: 900;
}
.btn-qr::before { display: none; }
.btn-qr:hover { background: #ffeef0; filter: none; transform: none; }

/* ============================================================
   大創業祭の答え合わせで確立した汎用部品（2026-07-31追加）
   ============================================================ */

/* ---------- 装飾フィールド ----------
   風船・キラキラ・紙吹雪などの装飾素材を「全編の左右余白に大量配置」するための仕組み。
   ヒーローだけに数個置くのは臆病＝ページ全体の賑わいが出ない（実LP検証で判明）。
   使い方:
     <div class="deco-field">
       <img class="deco dl1" src="images/balloon1.png" alt="">
       <img class="deco dr2" src="images/balloon2.png" alt="">
       …
     </div>
   親セクションに position:relative が必要。装飾は本文の下(z-index:2)に敷かれる。 */
.deco-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.deco { position: absolute; width: 9%; min-width: 54px; max-width: 150px; animation: deco-float 4s ease-in-out infinite; }
/* 左端に沿って散らす */
.dl1 { left: 1%;  top: 4%;  animation-delay: 0s; }
.dl2 { left: 4%;  top: 20%; animation-delay: .5s; }
.dl3 { left: 0.5%; top: 38%; animation-delay: 1.1s; }
.dl4 { left: 3%;  top: 56%; animation-delay: 1.7s; }
.dl5 { left: 1%;  top: 74%; animation-delay: 2.3s; }
.dl6 { left: 4%;  top: 89%; animation-delay: 2.9s; }
/* 右端に沿って散らす */
.dr1 { right: 2%;  top: 8%;  animation-delay: .3s; }
.dr2 { right: 0.5%; top: 26%; animation-delay: .9s; }
.dr3 { right: 3%;  top: 44%; animation-delay: 1.5s; }
.dr4 { right: 1%;  top: 62%; animation-delay: 2.1s; }
.dr5 { right: 3.5%; top: 80%; animation-delay: 2.7s; }
.dr6 { right: 1%;  top: 94%; animation-delay: 3.3s; }
@keyframes deco-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) { .deco { animation: none; } }
/* スマホでは端の装飾を小さく・数を減らす（本文の可読性優先） */
@media (max-width: 768px) {
  .deco { width: 13%; min-width: 40px; }
  .dl2, .dl4, .dl6, .dr2, .dr4, .dr6 { display: none; }
}

/* ---------- 商品ラインナップ（1商品=1大バナーで縦積み） ----------
   2カラムに詰めると商材が小さくなり訴求が死ぬ。1台ずつ大きく見せるのが正解。 */
.product-stack { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 92%; margin: 0 auto; position: relative; z-index: 5; }
.product-item { width: 100%; max-width: 1100px; }
.product-item img { width: 100%; }
@media (max-width: 768px) { .product-stack { width: 96%; gap: 22px; } }

/* ---------- PUSH大ボタン（遊び心のあるCTA。対で使うと効く） ---------- */
.push-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(96px, 11vw, 140px);
  height: clamp(96px, 11vw, 140px);
  border-radius: 50%;
  border: none;
  font-family: inherit;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 0 rgba(0,0,0,.22), 0 12px 22px rgba(0,0,0,.25), inset 0 4px 10px rgba(255,255,255,.5);
  transition: transform .12s ease, box-shadow .12s ease;
}
.push-btn:active { transform: translateY(6px); box-shadow: 0 2px 0 rgba(0,0,0,.22), 0 4px 8px rgba(0,0,0,.25), inset 0 4px 10px rgba(255,255,255,.5); }
.push-blue  { background: radial-gradient(circle at 35% 30%, #6fc4ff 0%, #1976e0 55%, #0d54ad 100%); }
.push-green { background: radial-gradient(circle at 35% 30%, #7fe08a 0%, #17a838 55%, #0d7a26 100%); }
.push-red   { background: radial-gradient(circle at 35% 30%, #ff8a8a 0%, #e01020 55%, #a3000f 100%); }
/* 吹き出しラベル（PUSHの上に置く） */
.push-label {
  display: inline-block;
  background: #093a66;
  color: #ffe95e;
  font-weight: 900;
  font-size: clamp(14px, 1.8vw, 19px);
  padding: 8px 24px;
  border-radius: 999px;
  position: relative;
}
.push-label::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -8px;
  transform: translateX(-50%);
  border: 9px solid transparent;
  border-top-color: #093a66;
  border-bottom: none;
}

/* ---------- ピル型CTA（ブロック下部に置く標準ボタン） ---------- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 40px;
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #ff5a6e 0%, #d5001e 55%, #a30014 100%);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(0,0,0,.3);
  transition: transform .15s ease;
}
.pill-btn:hover { transform: translateY(-2px); }
.pill-btn span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5em; height: 1.5em; border-radius: 50%;
  background: #fff; color: #d5001e; font-size: .8em;
}

/* ---------- POINT 3カード（安心・特徴の訴求。同型グリッドの定番） ----------
   寸法は実LPの実測値ベース: カード幅に対し POINT見出し=10% / 説明=8% / gap=カード幅の4%。
   「白枠が大きく文字が小さい」とスカスカに見えるので、文字を大きく・余白を詰めるのが要点。 */
.point-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4%; width: 84%; max-width: 990px; margin: 0 auto; position: relative; z-index: 5; }
.point-card {
  background: #fff;
  border-radius: 14px;
  padding: 4.6% 3%;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .3em;
}
.point-card .pt-head { display: flex; align-items: center; justify-content: center; gap: .55em; }
.point-card .pt-no { font-size: clamp(15px, 2.34vw, 30px); font-weight: 900; color: #00594f; letter-spacing: .01em; margin: 0; }
.point-card .pt-tag {
  background: #00594f; color: #fff;
  font-size: clamp(11px, 1.6vw, 20px); font-weight: 700;
  padding: .1em .95em .2em; border-radius: 999px; line-height: 1.3;
}
.point-card .pt-txt {
  display: block; margin: 0; font-weight: 900;
  font-size: clamp(13px, 1.88vw, 24px); color: #111; letter-spacing: -.02em;
}
@media (max-width: 768px) {
  .point-row { grid-template-columns: 1fr; gap: 8px; width: 92%; }
  .point-card { padding: 12px 14px; }
}

/* ---------- 図解つき白箱（複雑な仕組みの説明。プラン/保証/流れ図など） ---------- */
.diagram-box {
  width: 92%;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border: 3px solid #d5001e;
  border-radius: 14px;
  padding: 18px 22px 20px;
  color: #333;
  position: relative;
  z-index: 5;
}
.diagram-box .dg-head { font-size: clamp(17px, 2.2vw, 24px); font-weight: 900; color: #d5001e; text-align: center; margin-bottom: 10px; }
.diagram-box .dg-lead { font-size: clamp(12.5px, 1.5vw, 14.5px); line-height: 1.9; }
.diagram-box .dg-lead em { font-style: normal; color: #d5001e; font-weight: 900; }
.dg-choices { margin-top: 14px; border: 2px solid #eee0c0; border-radius: 10px; padding: 12px 16px; }
.dg-choices .dg-title { font-size: clamp(12.5px, 1.5vw, 14px); font-weight: 900; color: #a06a00; margin-bottom: 8px; }
.dg-choices ol { list-style: none; display: grid; gap: 6px; }
.dg-choices li { display: flex; align-items: center; gap: 10px; font-size: clamp(13px, 1.5vw, 15px); font-weight: 700; }
.dg-choices li b { margin-left: auto; color: #d5001e; font-size: 1.15em; }
.dg-num { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: #d5001e; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
@media (max-width: 768px) { .diagram-box { width: 96%; padding: 14px; } .dg-choices li { flex-wrap: wrap; } }

/* ============================================================
   案件固有: 大創業祭（空色×黄色の初夏ファミリー祭り）
   背景リズム: 空祭り → 黄放射 → 空キラ → 白緑/クラフト → 空祭り
   ============================================================ */
:root { --c-bg: #0e6db4; --c-accent: #e60012; --c-gold-line: #f5c948; }
body { background: #7ec7ee; }

/* 共通の見出し（ゾーンタイトル） */
.zone-head {
  text-align: center;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  color: #fff;
  letter-spacing: .12em;
  margin: 46px auto 22px;
  padding: 10px 24px;
  width: fit-content;
  max-width: 94%;
  background: linear-gradient(180deg, #e8323f 0%, #d5001e 55%, #a30014 100%);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(0,0,0,.28);
  position: relative;
  z-index: 6;
}
.zone-head em { font-style: normal; color: #ffe95e; }

/* ---- A ヒーロー ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: url("../images/アセット 15.png") center top / cover no-repeat, #aadcf7;
}
.hero .inn { padding: 3.5% 0 9%; z-index: 5; }
.hero-title { width: 95%; max-width: 1120px; margin: 0 auto; position: relative; z-index: 6; }
.hero-title img { width: 100%; }
.hero-family { position: absolute; right: 4%; bottom: 3%; top: auto; width: 17%; max-width: 250px; z-index: 6; }

/* ---- B お楽しみ + 限定スペシャル特典（黄色ゾーン） ---- */
.fun {
  position: relative;
  background: url("../images/アセット 5.png") center top / cover no-repeat, #ffe200;
  padding: 40px 0 48px;
}
.fun-stack { display: flex; flex-direction: column; align-items: center; gap: 24px; position: relative; z-index: 5; }
.fun-item { width: 77%; max-width: 910px; }
.fun-main { width: 97%; max-width: 1145px; }
.fun-sub { width: 82%; max-width: 965px; }
.fun-item img { width: 100%; }
.t3-stack { display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative; z-index: 5; width: 77%; max-width: 910px; margin: 0 auto; }
.t3-wide { width: 100%; }
.t3-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.t3-stack img { width: 100%; }
@media (max-width: 768px) { .t3-stack { width: 94%; } .t3-pair { grid-template-columns: 1fr; } }

/* ---- C 新車（空+雲+キラキラ） ---- */
.shinsha {
  position: relative;
  background: url("../images/アセット 30.png") center top / cover no-repeat, #eaf7ff;
  padding: 0 0 30px;
}
.badge { width: 190px; margin: 0 auto -6px; top: -26px; }
.shinsha .midashi { width: 82%; max-width: 960px; margin: 0 auto 18px; position: relative; z-index: 5; }
.shinsha .midashi img, .tokuten-obi img { width: 100%; }
.tokuten-obi { width: 97%; max-width: 1140px; margin: 0 auto 6px; position: relative; z-index: 5; }
.lineup-head { background: linear-gradient(180deg, #ff5f6b 0%, #e60012 55%, #a30014 100%); }
.diagram-box { margin-top: 26px; }
.dg-bar { display: flex; margin-top: 14px; border-radius: 8px; overflow: hidden; font-size: clamp(10px, 1.2vw, 13px); font-weight: 700; color: #fff; }
.dg-seg { padding: 10px 8px; text-align: center; }
.dg-seg-pay { flex: 2.2; background: linear-gradient(180deg, #ff8a94, #e60012); }
.dg-seg-res { flex: 1; background: linear-gradient(180deg, #9fb6c6, #5b7183); }
.dg-lead small { display: block; font-size: .82em; color: #888; }
.dark-note { color: #666 !important; }

/* ---- D 中古車（緑→クラフト紙） ---- */
.chuko {
  position: relative;
  background:
    linear-gradient(180deg, #1f9d4b 0%, #34b25e 34%, #e8ddc8 34%, #ddd0b6 100%);
  padding: 0 0 46px;
}
.midashi-c { width: 78%; max-width: 900px; margin: 0 auto 22px; position: relative; z-index: 5; }
.midashi-c img { width: 100%; }
.tokusen { position: relative; width: 79%; max-width: 930px; margin: 0 auto 26px; z-index: 5; }
.tokusen img { width: 100%; }
.chirashi-push {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 0 auto 34px;
  position: relative;
  z-index: 5;
}
.ci-frame {
  width: clamp(110px, 15vw, 190px);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c9c9c9;
  color: #555;
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  border: 1px solid #b3b3b3;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.ci-frame:first-child { transform: rotate(-3deg); }
.ci-frame:last-child { transform: rotate(3deg); }
.chirashi-push .push-btn { width: clamp(130px, 17vw, 200px); height: clamp(130px, 17vw, 200px); font-size: clamp(15px, 1.9vw, 23px); }
.anshin-head {
  text-align: center;
  font-size: clamp(18px, 2.5vw, 27px);
  font-weight: 900;
  color: #14672a;
  margin-bottom: 16px;
  position: relative;
  z-index: 5;
}
.concierge { position: relative; width: 58%; max-width: 690px; margin: 38px auto 0; z-index: 5; }
.concierge img { width: 100%; border-radius: 14px; }
.btn-center { text-align: center; padding-top: 18px; position: relative; z-index: 5; }

/* QR置換ボタン（決定版手順・白箱内モジュールを覆う） */
.btn-chirashi-ov { left: 78.9%; top: 58.5%; width: 17.3%; height: 30.6%; border-radius: 14px; font-size: clamp(11px, 1.3vw, 15px); }
.btn-concierge-ov { left: 71.3%; top: 68.6%; width: 22.0%; height: 24.8%; font-size: clamp(10px, 1.1vw, 13px); }

/* ---- J 締め ---- */
.closing {
  position: relative;
  overflow: hidden;
  background: url("../images/アセット 15.png") center top / cover no-repeat, #aadcf7;
  padding: 40px 0 36px;
}
.closing-copy {
  text-align: center;
  font-size: clamp(20px, 3.4vw, 36px);
  font-weight: 900;
  color: #093a66;
  text-shadow: 0 2px 8px rgba(255,255,255,.85);
  line-height: 1.7;
  padding-bottom: 16px;
  position: relative;
  z-index: 6;
}
.c-title { width: 66%; max-width: 780px; margin: 0 auto; position: relative; z-index: 6; }
.c-title img { width: 100%; }
.closing-tel {
  text-align: center;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 700;
  color: #093a66;
  padding-top: 22px;
  position: relative;
  z-index: 6;
}
.closing-tel a { color: #e60012; text-decoration: none; font-size: 1.3em; }
.closing-tel small { font-weight: 400; font-size: .7em; opacity: .85; }

/* ---- スマホ ---- */
@media (max-width: 768px) {
  .hero-title { width: 94%; }
  .hero-family { display: none; }
  .fun-item, .t3-stack > div { width: 94%; }
  .badge { width: 140px; top: -20px; }
  .shinsha .midashi { width: 96%; }
  .midashi-c { width: 94%; }
  .tokusen { width: 96%; }
  .chirashi-push { gap: 10px; }
  .ci-frame { width: 27%; }
  .concierge { width: 92%; }
  .c-title { width: 88%; }
  .zone-head { font-size: 18px; margin: 32px auto 18px; }
}


/* ---- 3つの安心の見出しだけ案件色に ---- */
.anshin-head { color: #047f52; text-shadow: 0 2px 6px rgba(255,255,255,.9); margin-bottom: 14px; }
@media (max-width: 768px) {
  .point-row { grid-template-columns: 1fr; gap: 8px; width: 92%; }
  .point-card { padding: 12px 14px; }
  .fun-main, .fun-sub { width: 96%; }
}


/* ---- 夢のりプラン図解: 実LP準拠の2カラム構成 ---- */
.diagram-box {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3%;
  align-items: center;
  width: 94%;
  max-width: 1090px;
  background: #fff;
  border: 3px solid #d5001e;
  border-radius: 18px;
  padding: 22px 28px 20px;
  position: relative;
  overflow: visible;
}
/* 丸バッジは枠の左上に「重ねる」ステッカー扱い。フローから外すことで
   左右カラムの上端が揃う（枠内に置くとレイアウトが崩れる） */
.dg-left { position: static; padding-left: clamp(46px, 5.4vw, 72px); }
.dg-badge {
  display: inline-grid;
  place-content: center;
  width: clamp(74px, 8.6vw, 112px);
  aspect-ratio: 1;
  background: #ff4d88;
  color: #fff;
  font-weight: 900;
  font-size: clamp(10px, 1.15vw, 14px);
  line-height: 1.25;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,.22);
  position: absolute;
  left: clamp(-30px, -2.2vw, -18px);
  top: clamp(-26px, -1.9vw, -14px);
  border: 3px solid #fff;
  z-index: 6;
}
.dg-badge b { color: #ffe95e; font-size: 1.15em; }
.dg-sub { display: flex; align-items: center; gap: 10px; color: #d5001e; font-weight: 900; font-size: clamp(12px, 1.35vw, 17px); }
.dg-sub::before, .dg-sub::after { content: ""; flex: 1; height: 2px; background: #d5001e; }
.dg-title {
  white-space: nowrap;
  font-size: clamp(16px, 2.28vw, 29px);
  font-weight: 900;
  color: #d5001e;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 2px 0 10px;
}
.dg-lead { font-size: clamp(11px, 1.22vw, 14px); line-height: 1.75; color: #333; }
.dg-lead b { color: #d5001e; }
.dg-lead em { font-style: normal; color: #d5001e; font-weight: 900; }
.dg-lead small { display: block; font-size: .84em; color: #888; }

.dg-graph { display: flex; align-items: stretch; gap: 6px; margin-bottom: 12px; }
.dg-seg {
  display: grid;
  place-content: center;
  text-align: center;
  font-weight: 900;
  color: #fff;
  font-size: clamp(10px, 1.1vw, 13px);
  line-height: 1.3;
  padding: 10px 6px;
}
.dg-seg small { display: block; font-size: .82em; font-weight: 700; }
.dg-seg-pay { flex: 2.4; background: linear-gradient(180deg, #ff5f6b, #d5001e); border-radius: 999px 0 0 999px; }
.dg-seg-res { flex: 1; background: #fff; color: #666; border: 2px dashed #999; border-radius: 0 999px 999px 0; }
.dg-choice-head { font-size: clamp(11px, 1.25vw, 15px); font-weight: 900; color: #222; margin-bottom: 6px; }
.dg-choices { list-style: none; display: grid; gap: 6px; }
.dg-choices li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f4f4;
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  font-size: clamp(11px, 1.3vw, 16px);
  font-weight: 700;
  color: #222;
}
.dg-choices .dg-label { flex: 1; }
.dg-choices b { color: #d5001e; font-size: 1.25em; font-weight: 900; white-space: nowrap; }
.dg-choices b.sm { font-size: .92em; }
.dg-num {
  flex: 0 0 auto;
  width: 1.7em; height: 1.7em;
  border-radius: 50%;
  background: #d5001e;
  color: #fff;
  display: grid;
  place-content: center;
  font-size: .95em;
  font-weight: 900;
}
@media (max-width: 768px) {
  .diagram-box { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .dg-badge { font-size: 12px; }
}
