/* ==========================================================================
   志望理由書CAMP LP index3用 - スタイルシート
   デザイン: チラシコンセプト(2026-07-12受領)準拠。
   白ベース×ダークネイビー×ビビッドピンク×ゴールド。見出し明朝・本文ゴシック。
   コンテンツ: LP提案書.md（確定稿）準拠（コンセプト内の例示日程・料金は旧情報のため不使用）。
   ========================================================================== */

:root {
  --navy:       #082A5E; /* メイン */
  --navy-mid:   #183F73; /* サブネイビー */
  --pink:       #F3275B; /* アクセント */
  --pink-sub:   #F45A76; /* コーラルピンク */
  --gold:       #E9A62B; /* 特別感 */
  --gold-light: #F7D77A;
  --white:      #FFFFFF;
  --off-white:  #FAFAF7;
  --gray-line:  #D9E0EA;
  --ink:        #102A56; /* 本文 */
  --page-bg:    #EEF0F4;
  --line-green: #06C755;
  --line-green-deep: #048B3B;

  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --container-max: 480px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, dl, dd { margin: 0; }

.page-shell {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--white);
  min-height: 100dvh;
  box-shadow: 0 0 40px rgba(8,42,94,.15);
  overflow: hidden;
}

/* ------------------------------------------------------------ 共通パーツ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ピンク強調 */
.pk { color: var(--pink); font-weight: inherit; font-style: normal; }

/* セクション見出し(明朝＋ダイヤ入りの飾り罫) */
.sec-head { text-align: center; }
.sec-head__title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.65;
  letter-spacing: .04em;
}
.sec-head__rule {
  position: relative;
  margin: 14px auto 0;
  width: 108px;
  height: 9px;
}
.sec-head__rule::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 4px;
  height: 1px;
  background: var(--gold);
}
.sec-head__rule::after {
  content: "";
  position: absolute;
  left: 50%; top: 1.5px;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

/* 申込ボタン(ピンク角丸・右に白丸矢印) */
.btn-apply {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .03em;
  white-space: nowrap;
  padding: 17px 44px 17px 16px;
  border-radius: 9999px;
  box-shadow: 0 3px 10px rgba(243,39,91,.3);
  transition: transform .15s ease;
  touch-action: manipulation;
}
.btn-apply:active { transform: scale(.98); }
.btn-apply::after {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 26px; height: 26px;
  transform: translateY(-50%);
  border-radius: 9999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='%23F3275B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.btn-apply-note { margin-top: 9px; text-align: center; font-size: 11.5px; font-weight: 500; color: var(--ink); opacity: .8; }

/* ------------------------------------------------------------ 上部帯 */
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  padding: 0 14px 0 0;
  min-height: 44px;
}
.topbar__label {
  position: relative;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 11.5px;
  padding: 7px 10px 7px 12px;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.topbar__label::after {
  content: "";
  position: absolute;
  right: -9px; top: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 9px solid var(--gold);
}
.topbar__target { flex: 1; color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 13.5px; text-align: center; }
.topbar__icon { width: 22px; height: 22px; flex-shrink: 0; }
.topbar__icon path { stroke: var(--gold-light); }

/* ------------------------------------------------------------ ヒーロー */
.hero {
  position: relative;
  background: var(--white);
  padding: 30px 16px 30px;
  overflow: hidden;
}
/* チラシ風の淡いストライプ背景 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg,
    rgba(8,42,94,.025) 0 10px, transparent 10px 20px);
  pointer-events: none;
}

/* キャッチ */
.hero__catch { position: relative; text-align: center; z-index: 1; }
.hero__eyebrow {
  display: inline-block;
  position: relative;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: .12em;
  padding-bottom: 10px;
}
.hero__eyebrow::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 34px; height: 2px;
  background: var(--gold);
}

/* タイトル(中央・月桂樹つき) */
.hero__title { position: relative; margin-top: 16px; text-align: center; z-index: 1; }
.hero__title .ja {
  display: block;
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--navy);
  font-size: 41px;
  letter-spacing: .04em;
  line-height: 1.1;
}
.hero__title-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; }
.hero__title .en {
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--gold);
  font-size: 38px;
  letter-spacing: .14em;
  line-height: 1;
}
.laurel { width: 24px; height: 36px; flex-shrink: 0; }
.laurel path { stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.laurel--r { transform: scaleX(-1); }

/* 金の星の装飾 */
.hero__star { position: absolute; z-index: 1; pointer-events: none; }
.hero__star path { fill: var(--gold); }
.hero__star--1 { top: 2px; right: 26px; width: 15px; height: 15px; }
.hero__star--2 { top: 56px; left: 18px; width: 10px; height: 10px; opacity: .75; }
.hero__star--3 { top: 118px; right: 10px; width: 9px; height: 9px; opacity: .6; }

/* 写真(斜めクリップ＋ネイビーオフセット) */
.hero__photo-wrap {
  position: relative;
  width: 86%;
  max-width: 300px;
  margin: 18px auto 0;
  aspect-ratio: 4 / 3;
  z-index: 1;
}
.hero__photo-back {
  position: absolute;
  inset: 0;
  background: var(--navy);
  clip-path: polygon(0 4%, 100% 0, 100% 90%, 0 100%);
  transform: translate(9px, 9px);
}
.hero__photo {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 4%, 100% 0, 100% 90%, 0 100%);
  overflow: hidden;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero__phbadge {
  position: absolute;
  top: -10px; right: -8px;
  z-index: 2;
  background: var(--pink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 900;
  padding: 6px 10px;
  transform: rotate(10deg);
  border: 1.5px solid #fff;
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(243,39,91,.35);
}

/* バリューボックス(写真に重ねる白カード・金のべた影) */
.hero__valuebox {
  position: relative;
  z-index: 3;
  margin: -30px 10px 0;
  background: var(--white);
  border: 2.5px solid var(--navy);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--gold);
  padding: 20px 14px 20px;
  text-align: center;
  overflow: hidden;
}
.hero__valuebox::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--navy);
}
.hero__value-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.hero__value-lead::before, .hero__value-lead::after {
  content: "";
  width: 26px; height: 1px;
  background: rgba(8,42,94,.3);
}
.hero__value-lead .big2 {
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--pink);
  font-size: 21px;
  border-bottom: 2px solid rgba(243,39,91,.3);
  padding-bottom: 1px;
}
.hero__value-main { margin-top: 10px; font-family: var(--font-serif); font-weight: 900; color: var(--navy); line-height: 1.2; }
.hero__value-main .l1 { display: block; font-size: 19px; }
.hero__value-main .l2 { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-top: 4px; }
.hero__value-main .zero { color: var(--pink); font-size: 46px; }
.hero__value-main .mid { font-size: 18px; position: relative; top: -4px; margin: 0 3px; }
.hero__value-main .eight { position: relative; color: var(--pink); font-size: 56px; }
.hero__value-main .eight .wari { font-size: 30px; }
.hero__value-main .eight .swoosh {
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 10px;
}
.hero__value-main .eight .swoosh path { stroke: rgba(233,166,43,.5); stroke-width: 6; fill: none; }
.hero__value-note { margin-top: 12px; font-size: 11px; line-height: 1.8; color: var(--ink); opacity: .8; }

/* 背景のペン線画(うっすら) */
.hero__pen {
  position: absolute;
  right: -8px; bottom: -10px;
  width: 76px; height: 76px;
  opacity: .1;
  transform: rotate(-40deg);
}
.hero__pen path { stroke: var(--navy); fill: none; stroke-width: 1.5; }

/* ------------------------------------------------------ 開催情報帯 */
.quickinfo { position: relative; z-index: 2; padding: 0 16px; margin-top: 18px; }
.quickinfo__card {
  background: var(--white);
  border: 1.5px solid var(--gray-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(8,42,94,.10);
}
.qi-date { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--off-white); }
.qi-ic {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 9999px;
  background: rgba(8,42,94,.06);
  display: flex; align-items: center; justify-content: center;
}
.qi-ic svg { width: 19px; height: 19px; }
.qi-ic path, .qi-ic rect, .qi-ic circle, .qi-ic line { stroke: var(--navy); }
.qi-chip {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}
.qi-chip small { font-weight: 400; opacity: .85; }
.qi-date-val { margin-top: 6px; font-weight: 900; color: var(--ink); font-size: 19px; letter-spacing: .01em; }
.qi-date-val small { font-size: 12px; font-weight: 500; color: #6b7687; }
.qi-date-val .tilde { color: var(--gold); font-weight: 900; font-size: 21px; margin: 0 1px; }
.qi-date-sub { margin-top: 3px; font-size: 10.5px; color: #6b7687; }

.qi-split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--gray-line); }
.qi-cell { padding: 12px 8px; text-align: center; }
.qi-cell + .qi-cell { border-left: 1px solid var(--gray-line); }
.qi-cell-label { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--navy); font-size: 11px; font-weight: 700; }
.qi-cell-label svg { width: 14px; height: 14px; }
.qi-cell-label path, .qi-cell-label circle, .qi-cell-label line { stroke: var(--navy); }
.qi-cell-val { margin-top: 5px; font-weight: 900; color: var(--ink); font-size: 17px; }
.qi-cell-val small { font-size: 10.5px; font-weight: 500; color: #6b7687; }
.qi-cell-val--price { color: var(--pink); font-size: 19px; }
.quickinfo__micro { margin-top: 10px; text-align: center; font-size: 10.5px; color: #6b7687; }

/* ------------------------------------------------------ 悩みカード */
.worries { padding: 52px 20px 48px; background: var(--white); }
.worries__cards { margin-top: 28px; display: flex; flex-direction: column; gap: 9px; }
.worry {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--off-white);
  border: 1px solid #EEF1F5;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(8,42,94,.04);
}
.worry__num {
  flex-shrink: 0;
  width: 27px; height: 27px;
  border-radius: 9999px;
  background: var(--white);
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.worry__text { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.7; font-weight: 700; color: var(--navy); }
.worry__icon { flex-shrink: 0; width: 26px; height: 26px; opacity: .8; }
.worry__icon path, .worry__icon circle, .worry__icon rect, .worry__icon line { stroke: var(--navy-mid); stroke-width: 1.5; }

/* ------------------------------------------------------ 解決3ステップ */
.steps3 { background: var(--off-white); border-top: 1px solid #EEF1F5; border-bottom: 1px solid #EEF1F5; padding: 52px 20px 48px; }
.steps3__cards { margin-top: 30px; display: flex; flex-direction: column; gap: 26px; }
.step3 {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 12px;
  padding: 19px 16px 18px 70px;
  box-shadow: 0 3px 12px rgba(8,42,94,.06);
}
/* カード間をつなぐ下向きシェブロン */
.step3 + .step3::before {
  content: "";
  position: absolute;
  top: -19px; left: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
}
.step3__num {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 9999px;
  background: var(--white);
  border: 2px solid var(--pink);
  color: var(--pink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step3--gold .step3__num { border-color: var(--gold); color: var(--gold); }
.step3__name { font-family: var(--font-serif); font-weight: 700; color: var(--navy); font-size: 17px; letter-spacing: .03em; }
.step3__text { margin-top: 5px; font-size: 12.5px; line-height: 1.85; }

/* ------------------------------------------------------ CTA帯(濃紺・内側に金の飾り枠) */
.ctaband { position: relative; background: var(--navy); padding: 38px 24px; }
.ctaband::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(247,215,122,.45);
  border-radius: 8px;
  pointer-events: none;
}
.ctaband__inner { position: relative; }
.ctaband__copy { text-align: center; color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 17.5px; line-height: 1.9; letter-spacing: .03em; }
.ctaband__copy .gold { color: var(--gold-light); }
.ctaband .btn-apply { margin-top: 20px; }
.ctaband .btn-apply-note { color: rgba(255,255,255,.75); opacity: 1; }

/* ------------------------------------------------------ 2日間の流れ(6 STEP) */
.flow { background: var(--white); padding: 52px 20px 48px; }
.flow__lead { margin-top: 16px; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.9; }

.flow__day {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 30px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--navy);
  font-size: 21px;
  letter-spacing: .04em;
}
.flow__day .sub { font-family: var(--font-sans); font-weight: 700; color: #6b7687; font-size: 11.5px; letter-spacing: 0; }

.flow__steps { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.fstep {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #E9EDF3;
  border-radius: 12px;
  background: var(--white);
  padding: 14px;
  box-shadow: 0 2px 8px rgba(8,42,94,.05);
}
.fstep__num {
  flex-shrink: 0;
  width: 42px;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--pink);
  line-height: 1.1;
  border-right: 1px solid #EEF1F5;
  padding-right: 4px;
}
.fstep__num .l { display: block; font-size: 8.5px; letter-spacing: .18em; color: #A7B0BF; }
.fstep__num .n { display: block; font-size: 21px; margin-top: 1px; }
.fstep__body { flex: 1; min-width: 0; }
.fstep__name { font-family: var(--font-serif); font-weight: 700; color: var(--navy); font-size: 15px; }
.fstep__text { margin-top: 3px; font-size: 12px; line-height: 1.7; opacity: .85; }
.fstep__icon { flex-shrink: 0; width: 26px; height: 26px; opacity: .8; }
.fstep__icon path, .fstep__icon circle, .fstep__icon rect, .fstep__icon line { stroke: var(--navy-mid); stroke-width: 1.5; }

/* ------------------------------------------------------ 開催概要(ゴールド枠) */
.overview { background: var(--off-white); border-top: 1px solid #EEF1F5; padding: 52px 20px 48px; }
.overview__box {
  position: relative;
  margin-top: 28px;
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 4px 16px rgba(233,166,43,.12);
}
.overview__box::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(233,166,43,.25);
  border-radius: 10px;
  pointer-events: none;
}
.overview__row { position: relative; display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--gray-line); }
.overview__row:last-child { border-bottom: 0; }
.overview__th {
  flex-shrink: 0;
  width: 76px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 12.5px;
  padding-top: 1px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.overview__th::before {
  content: "";
  flex-shrink: 0;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-top: 7px;
}
.overview__td { flex: 1; min-width: 0; font-size: 13px; line-height: 1.75; }
.overview__td small { display: block; font-size: 11px; opacity: .75; margin-top: 2px; }
.overview__td .price { font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--pink); }
.overview__td .price small { display: inline; font-size: 11.5px; color: var(--ink); }

/* ------------------------------------------------------ CAMP修了帯 */
.finishband {
  position: relative;
  background: var(--pink);
  padding: 26px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.finishband::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 6px;
  pointer-events: none;
}
.finishband__star { width: 17px; height: 17px; }
.finishband__star path { fill: var(--gold-light); }
.finishband__text { color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 21px; letter-spacing: .3em; text-indent: .3em; }

/* ------------------------------------------------------ 参加者限定特典 */
.bonus { background: var(--white); padding: 52px 20px 48px; }
.bonus__cards { margin-top: 28px; display: flex; flex-direction: column; gap: 9px; }
.bonus__card {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--gold-light);
  background: #FFFDF6;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(233,166,43,.08);
}
.bonus__num {
  flex-shrink: 0;
  width: 27px; height: 27px;
  border-radius: 9999px;
  background: var(--white);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.bonus__name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.bonus__icon { flex-shrink: 0; width: 26px; height: 26px; opacity: .8; }
.bonus__icon path, .bonus__icon circle, .bonus__icon rect, .bonus__icon line { stroke: var(--navy-mid); stroke-width: 1.5; }
.bonus__note { margin-top: 14px; text-align: center; font-size: 11px; opacity: .7; }

/* ------------------------------------------------------ 講師紹介＋LINE */
.teacher { background: var(--off-white); border-top: 1px solid #EEF1F5; padding: 52px 20px 48px; }
.teacher__card {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 3px 12px rgba(8,42,94,.06);
}
.teacher__top { display: flex; gap: 16px; align-items: center; }
.teacher__photo { flex-shrink: 0; width: 86px; height: 86px; border-radius: 9999px; overflow: hidden; border: 2.5px solid var(--gold-light); background: var(--off-white); }
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher__role { font-size: 11px; color: var(--navy-mid); font-weight: 700; letter-spacing: .06em; }
.teacher__name { margin-top: 3px; font-family: var(--font-serif); font-weight: 700; color: var(--navy); font-size: 21px; }
.teacher__msg { margin-top: 6px; font-family: var(--font-serif); font-weight: 700; font-size: 13px; color: var(--pink); }
.teacher__text { margin-top: 14px; font-size: 12.5px; line-height: 1.9; }
.teacher__facts { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.teacher__fact {
  background: var(--off-white);
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 9px 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}

.linebox {
  position: relative;
  margin-top: 18px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 24px 18px 20px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(8,42,94,.06);
}
.linebox::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--line-green);
}
.linebox__title { font-weight: 900; color: var(--navy); font-size: 15px; }
.linebox__qr {
  margin: 16px auto 0;
  width: 132px; height: 132px;
  border: 1.5px dashed var(--gray-line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--navy-mid);
  font-size: 10.5px;
  font-weight: 700;
}
.linebox__qr svg { width: 40px; height: 40px; }
.linebox__qr path, .linebox__qr rect { stroke: var(--navy-mid); }
.linebox__text { margin-top: 12px; font-size: 12px; line-height: 1.8; }
.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  background: var(--line-green);
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  white-space: nowrap;
  padding: 14px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 0 0 var(--line-green-deep);
  transition: transform .1s ease, box-shadow .1s ease;
  touch-action: manipulation;
}
.btn-line:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--line-green-deep); }
.btn-line__icon { width: 20px; height: 20px; flex-shrink: 0; fill: #fff; }

/* ------------------------------------------------------ フッター */
.footer {
  background: #061F46;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  padding: 22px 16px;
}
.footer p { color: rgba(255,255,255,.6); font-size: 10.5px; line-height: 1.9; letter-spacing: .04em; }

/* -------------------------------------------------- レスポンシブ調整 */
@media (max-width: 379px) {
  .hero__eyebrow { font-size: 17px; }
  .hero__title .ja { font-size: 34px; }
  .hero__title .en { font-size: 31px; }
  .hero__value-lead { font-size: 12.5px; }
  .hero__value-lead .big2 { font-size: 18px; }
  .hero__value-main .l1 { font-size: 16px; }
  .hero__value-main .zero { font-size: 38px; }
  .hero__value-main .eight { font-size: 46px; }
  .hero__value-main .eight .wari { font-size: 25px; }
  .qi-date-val { font-size: 16.5px; }
  .qi-cell-val { font-size: 15px; }
  .qi-cell-val--price { font-size: 17px; }
  .sec-head__title { font-size: 19px; }
  .btn-apply { font-size: 15px; padding: 15px 40px 15px 12px; }
  .finishband__text { font-size: 17px; }
}

@media (min-width: 640px) {
  body { padding: 24px 0; }
  .page-shell { border-radius: 16px; min-height: auto; }
}
