:root {
  --ink: #15181D;
  --accent: #E0601F;
  --accent-dark: #B84A14;
  --gray: #5F6670;
  --line: #D9DCE1;
  --soft: #F2F3F5;
  --paper: #FFFFFF;
  --col: 560px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .headline { word-break: auto-phrase; text-wrap: balance; line-break: strict; }
.accent { color: var(--accent); }

/* ---------- 列（スマホは全幅、PCは中央の列＋右の案内） ---------- */
.page { width: 100%; }
.lp {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  background: var(--paper);
}
.part { position: relative; margin: 0; }
.part img { width: 100%; }

/* 画像の中のボタンの上に重ねるリンク */
.hit {
  position: absolute;
  left: 4%;
  width: 92%;
  border-radius: 10px;
  outline-offset: 4px;
}
#hit-fv { top: 88.0%; height: 6.8%; }
#hit-cta { top: 82.6%; height: 7.2%; }
.hit:focus-visible { outline: 3px solid var(--ink); }

/* ---------- 追加のQ&A ---------- */
.more { padding: 8px 6% 48px; }
.more-h {
  display: flex; align-items: baseline; gap: 12px;
  margin: 0 0 16px; font-size: 24px; font-weight: 900; line-height: 1.4;
}
.more-q { color: var(--accent); font-size: 40px; font-weight: 900; line-height: 1; }
.qa { margin: 0; }
.qa-row { border-top: 1px solid var(--line); padding: 16px 0; }
.qa-row:last-child { border-bottom: 1px solid var(--line); }
.qa dt { font-weight: 700; font-size: 17px; line-height: 1.6; }
.qa dt::before { content: "Q"; color: var(--accent); font-weight: 900; margin-right: 10px; }
.qa dd { margin: 8px 0 0; color: var(--ink); }
.qa dd::before { content: "A"; font-weight: 900; margin-right: 10px; }

/* ---------- 申し込み ---------- */
.apply { padding: 48px 6% 40px; border-top: 6px solid var(--accent); }
.apply-label { margin: 0 0 6px; color: var(--accent); font-weight: 700; letter-spacing: .12em; font-size: 14px; }
.apply-h { margin: 0 0 24px; font-size: 26px; font-weight: 900; line-height: 1.45; }
.apply-h .accent { font-size: 1.5em; line-height: 1; }

.price { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0 12px; margin-bottom: 24px; }
.price-main { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; }
.price-unit { font-weight: 700; font-size: 18px; }
.price-num { font-weight: 900; font-size: 44px; letter-spacing: .01em; line-height: 1.1; }
.price-yen { font-weight: 900; font-size: 24px; }
.price-tax { font-size: 15px; }
.price-sub { margin: 6px 0 0; color: var(--gray); font-size: 15px; }

.apply-actions { display: grid; gap: 12px; margin-bottom: 32px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 14px 18px;
  border-radius: 6px; text-decoration: none; font-weight: 900; font-size: 18px; line-height: 1.4; text-align: center;
}
.btn-main { background: var(--accent); color: #fff; box-shadow: 0 3px 0 var(--accent-dark); }
.btn-main:hover { filter: brightness(1.05); }
.btn-main:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-dark); }
.btn-sub { background: #fff; color: var(--ink); border: 2px solid var(--ink); font-size: 16px; }
.btn-note { margin: 0; font-size: 14px; color: var(--gray); }
.mail-line { margin: 4px 0 0; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.mail-addr { font-weight: 700; user-select: all; }
.copy { min-height: 44px; padding: 6px 14px; border: 1px solid var(--ink); background: #fff; border-radius: 6px; font: inherit; font-size: 14px; cursor: pointer; }
.copy:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- 中級者向けの悩み（画像の間の帯） ---------- */
.band { padding: 28px 6% 32px; background: var(--paper); border-top: 1px solid var(--line); }
.band-label { margin: 0 0 8px; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.band-no { margin: 0; color: var(--accent); font-weight: 900; font-size: 28px; line-height: 1.2; }
.band-h { margin: 4px 0 8px; font-weight: 900; font-size: 22px; line-height: 1.5; }
.band-sub { margin: 0; color: var(--gray); font-size: 15px; }
.band-bridge { margin: 24px 0 0; font-weight: 900; font-size: 18px; line-height: 1.6; text-align: center; }
.band-bridge .accent { margin-left: 6px; }
.note { margin: 0; padding: 4px 6% 20px; font-size: 14px; line-height: 1.7; color: var(--gray); background: var(--paper); }
.price-incl { color: var(--ink); font-size: 20px; font-weight: 900; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--gray); font-size: 15px; }
.facts dd { margin: 0; font-size: 16px; }

.legal { padding: 32px 6% 32px; background: var(--soft); }
.legal-h { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.facts-legal > div { grid-template-columns: 8.5em 1fr; }
.facts-legal dt, .facts-legal dd { font-size: 14px; }

.foot { padding: 28px 6% 120px; text-align: center; background: var(--ink); color: #fff; }
.foot p { margin: 4px 0; font-size: 14px; }
.foot a { color: #fff; }
.foot-copy { color: #A9AEB6; }

/* ---------- 追従ボタン（スマホ） ---------- */
.sticky {
  position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  width: min(92vw, 520px); min-height: 56px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 900; font-size: 17px;
  border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: transform .3s ease; z-index: 20;
}
.sticky.show { transform: translate(-50%, 0); }
.sticky-tag { background: #fff; color: var(--accent); font-size: 13px; padding: 2px 10px; border-radius: 999px; }

/* ---------- PC：右に案内を固定 ---------- */
.side { display: none; }
@media (min-width: 1100px) {
  body { background: #E9EBEE; }
  .page { display: grid; grid-template-columns: 1fr var(--col) 1fr; align-items: start; }
  .lp { grid-column: 2; box-shadow: 0 0 40px rgba(0,0,0,.08); }
  .side {
    display: block; grid-column: 3; position: sticky; top: 40px;
    margin: 40px 0 0 40px; width: 300px; padding: 28px 24px 24px;
    background: #fff; border-top: 6px solid var(--accent); box-shadow: 0 8px 30px rgba(0,0,0,.06);
  }
  .side-tag { display: inline-block; margin: 0 0 12px; padding: 2px 12px; background: var(--ink); color: #fff; font-weight: 900; font-size: 15px; }
  .side-title { margin: 0 0 12px; font-weight: 700; font-size: 16px; line-height: 1.5; }
  .side-big { margin: 0 0 18px; font-weight: 900; font-size: 21px; line-height: 1.45; }
  .side-big .accent { font-size: 2em; line-height: 1; }
  .side-facts { margin: 0 0 20px; }
  .side-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
  .side-facts > div:last-child { border-bottom: 1px solid var(--line); }
  .side-facts dt { color: var(--gray); }
  .side-facts dd { margin: 0; font-weight: 700; }
  .side-btn { font-size: 16px; min-height: 54px; }
  .side-org { margin: 14px 0 0; font-size: 13px; color: var(--gray); text-align: center; }
  .sticky { display: none; }
  .foot { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky { transition: none; }
}
