/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #e9e7e1;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #25231f;
  font-size: 15px;
  line-height: 1.8;
}
img { display: block; max-width: 100%; }
a { color: #1f6b3a; text-decoration: none; }
a:hover { color: #164f2b; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:root {
  --green: #1d6b38;
  --green-dark: #14502a;
  --orange: #d8642a;
  --red: #c8362b;
  --text-sub: #4a4740;
  --text-mute: #6a665d;
  --border: #ded8c9;
  --card: #fffdf7;
  --bg: #fdfcf8;
  --en: "Montserrat", sans-serif;
}

.page {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  padding-bottom: 84px; /* 固定CTA分 */
}

/* ===== Common ===== */
.heading {
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 5px solid var(--green);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.heading--inset { margin-left: 18px; margin-right: 18px; }
.heading__num { font-family: var(--en); font-size: 24px; }

.section { padding: 0 18px 26px; }
.text { font-size: 14px; line-height: 2; color: var(--text-sub); text-wrap: pretty; }
.text--sm { font-size: 13.5px; line-height: 1.95; }

.checklist { display: grid; gap: 12px; }
.checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.checklist li::before { content: "✓"; color: var(--green); font-weight: 700; }
.checklist--sm { gap: 6px; }
.checklist--sm li { grid-template-columns: 18px 1fr; font-size: 13px; }

/* ===== Header ===== */
.header { display: flex; justify-content: center; padding: 14px 16px 10px; }
.header__logo { height: 34px; width: auto; }

/* ===== Hero ===== */
.hero { position: relative; }
.hero__img { width: 100%; height: auto; }

.hero__bubble {
  position: absolute;
  top: 2.3%;
  left: 49.1%;
  width: 39.8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(214, 106, 46, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-size: clamp(12px, 3.6vw, 15.5px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(120, 50, 10, 0.35);
  padding-top: 4px;
}

.hero__bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 18px 20px;
  background: linear-gradient(180deg, rgba(15,18,14,0) 0%, rgba(15,18,14,.55) 40%, rgba(15,18,14,.8) 100%);
}
.hero__title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.hero__ribbons { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }

.ribbon { position: relative; filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); }
.ribbon--short { width: 52%; aspect-ratio: 760 / 230; }
.ribbon--long  { width: 82%; aspect-ratio: 960 / 210; }
.ribbon__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ribbon__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.ribbon--short .ribbon__text { padding-left: 6%; letter-spacing: 0.06em; transform: rotate(-5.9deg); }
.ribbon--long  .ribbon__text { padding-left: 5%; letter-spacing: 0.04em; transform: rotate(-4.5deg); }
.ribbon__num { margin: 0 1px; font-family: var(--en); font-size: 30px; line-height: 1; }

/* ===== Intro ===== */
.intro { padding: 26px 18px 22px; text-align: center; }
.intro__title { margin-bottom: 18px; font-size: 19px; font-weight: 700; line-height: 1.6; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 4px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.features__item img { height: 30px; width: auto; }
.intro__cta { margin-top: 16px; }

/* ===== CTA ===== */
.cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--green-dark);
  animation: cta-shake 2.5s ease-in-out infinite;
}
.cta:hover { color: #fff; }
.cta--lg { min-height: 58px; }
.cta__icon { width: 26px; height: 26px; }
.cta__arrow {
  display: inline-block;
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  transition: transform 0.3s ease;
}
/* ホバー時：震え停止＋矢印を右へ */
.cta:hover, .cta:focus-visible { animation: none; }
.cta:hover .cta__arrow, .cta:focus-visible .cta__arrow { transform: translateX(4px); }

/* 2.5秒周期：0〜80%静止 → 残り0.5秒でシェイク */
@keyframes cta-shake {
  0%, 80%, 100% { transform: translateX(0) rotate(0); }
  82% { transform: translateX(-4px) rotate(-1deg); }
  84% { transform: translateX(4px) rotate(1deg); }
  86% { transform: translateX(-4px) rotate(-1deg); }
  88% { transform: translateX(4px) rotate(1deg); }
  90% { transform: translateX(-3px) rotate(-0.5deg); }
  92% { transform: translateX(3px) rotate(0.5deg); }
  94% { transform: translateX(-2px); }
  96% { transform: translateX(2px); }
  98% { transform: translateX(-1px); }
}
@media (prefers-reduced-motion: reduce) { .cta { animation: none; } }

.fixed-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 10px 12px 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(253, 252, 248, 0.94);
  border-top: 1px solid #e4dfd2;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.fixed-cta .cta { max-width: 406px; }

/* ===== Worries ===== */
.worries { padding: 8px 18px 24px; background-color: #b4aeae; }
.worries__body { display: grid; grid-template-columns: 1fr 118px; gap: 12px; align-items: center; }
.worries__img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; }

/* ===== Concept ===== */
.concept { padding-bottom: 26px; }
.concept__img { width: 100%; height: 170px; object-fit: cover; }
.concept__body { padding: 20px 18px 0; }
.concept__title { margin-bottom: 14px; text-align: center; font-size: 21px; font-weight: 700; line-height: 1.55; }

/* ===== Reasons ===== */
.reasons { padding-bottom: 10px; }
.reason { margin-bottom: 22px; }
.reason:last-child { margin-bottom: 26px; }
.reason__img { width: 100%; height: 190px; object-fit: cover; }
.reason__img--tall { height: 240px; object-position: 50% 14%; }
.reason__body { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 18px 0; }
.reason__num { font-family: var(--en); font-size: 32px; font-weight: 700; line-height: 1; }
.reason__title { margin-bottom: 6px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.reason__text { font-size: 13.5px; line-height: 1.85; color: var(--text-sub); }

/* ===== Training (media) ===== */
.section:has(.media) { padding-bottom: 30px; }
.media { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: start; }
.media__img { width: 100%; height: 170px; object-fit: cover; border-radius: 6px; }

/* ===== Full-width image sections ===== */
.full { padding-bottom: 26px; }
.full .heading { margin-bottom: 12px; }
.full__img { width: 100%; height: 185px; object-fit: cover; }
.full__text { margin: 14px 18px 0; }

/* ===== Trainer ===== */
.trainer__img { height: 300px; object-position: 50% 0%; }
.trainer__body { padding: 14px 18px 0; }
.trainer__name { margin-bottom: 8px; font-size: 21px; font-weight: 700; }
.trainer__profile { display: grid; gap: 2px; margin-bottom: 10px; font-size: 13px; line-height: 1.7; color: var(--text-mute); }

/* ===== Voice ===== */
.voice { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: start; }
.voice + .voice { margin-top: 16px; }
.voice__img { width: 100%; height: 148px; object-fit: cover; object-position: 50% 20%; border-radius: 6px; }
.voice__meta { font-size: 13px; font-weight: 700; color: var(--text-mute); }
.voice__period { margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--red); }
.voice__result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 2px 0 6px; }
.voice__main { font-family: var(--en); font-size: 22px; font-weight: 800; color: var(--red); }
.voice__main small { font-size: 15px; }
.voice__sub { font-size: 12px; font-weight: 700; color: var(--text-sub); }
.voice__sub b { font-family: var(--en); font-size: 17px; color: var(--red); }
.voice__text { font-size: 12.5px; line-height: 1.8; color: var(--text-sub); text-wrap: pretty; }

/* ===== Price ===== */
.plan { margin-bottom: 14px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--card); }
.plan__head { padding: 9px 14px; background: #efe9d9; text-align: center; font-size: 14px; font-weight: 700; }
.plan__price { padding: 12px 14px 14px; text-align: center; }
.plan__num { font-family: var(--en); font-size: 32px; font-weight: 800; color: var(--red); letter-spacing: -0.01em; }
.plan__yen { font-size: 17px; font-weight: 700; color: var(--red); }
.plan__tax { font-size: 12px; font-weight: 700; color: var(--text-sub); }
.plan__list { padding: 0 14px 14px; }
.admission {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f6f2e6;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
}
.admission__zero { font-family: var(--en); font-size: 19px; color: var(--red); }
.note { margin-top: 8px; text-align: center; font-size: 11.5px; color: #7a766c; }

/* ===== Offer ===== */
.offer { margin: 0 18px 28px; padding: 16px 14px; border: 2px solid #e2b95c; border-radius: 10px; background: #fdf7e8; }
.offer__badge { margin-bottom: 12px; padding: 7px 12px; border-radius: 999px; background: var(--red); color: #fff; text-align: center; font-size: 15px; font-weight: 700; }
.offer__badge-num { font-family: var(--en); font-size: 22px; font-weight: 800; vertical-align: -1px; }
.offer__title { margin-bottom: 4px; text-align: center; font-size: 15px; font-weight: 700; }
.offer__price { margin-bottom: 14px; text-align: center; }
.offer__old { font-size: 17px; font-weight: 700; color: #7a766c; text-decoration: line-through; }
.offer__arrow { font-size: 15px; color: var(--text-sub); }
.offer__new { font-family: var(--en); font-size: 30px; font-weight: 800; color: var(--red); }
.offer__yen { font-size: 18px; font-weight: 700; color: var(--red); }

/* ===== Flow ===== */
.flow { display: grid; gap: 10px; }
.flow__item { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); }
.flow__num { font-family: var(--en); font-size: 17px; font-weight: 700; color: #b0a894; }
.flow__title { margin-bottom: 4px; font-size: 15px; font-weight: 700; }
.flow__text { font-size: 12.5px; line-height: 1.8; color: var(--text-sub); }

/* ===== FAQ ===== */
.faq { display: grid; gap: 14px; }
.faq__item dt, .faq__item dd { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; }
.faq__item dt { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.faq__item dd { margin-top: 4px; font-size: 13px; line-height: 1.8; color: var(--text-sub); }
.faq__q, .faq__a { font-family: var(--en); font-weight: 700; }
.faq__q { color: var(--green); }
.faq__a { color: #b0a894; }

/* ===== Access ===== */
.section--access { padding-bottom: 28px; }
.access { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: start; }
.access__img { width: 100%; height: 132px; object-fit: cover; border-radius: 6px; }
.access__info { display: grid; gap: 10px; }
.access__row { display: grid; gap: 3px; font-size: 12.5px; line-height: 1.7; color: var(--text-sub); }
.access__label { font-size: 11px; font-weight: 700; color: var(--green); letter-spacing: 0.08em; }

/* ===== Footer ===== */
.footer { display: grid; justify-items: center; gap: 16px; padding: 20px 18px 24px; border-top: 1px solid #e4dfd2; }
.footer__copy { text-align: center; font-size: 11px; line-height: 1.8; color: #8a857a; }
