:root {
  --paper: #F5F0E6;
  --navy: #1F2A44;
  --yellow: #F6C945;
  --white: #FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #E9E3D6;
  color: var(--navy);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
h1, h2, h3, .headline { word-break: auto-phrase; text-wrap: balance; line-break: strict; }

.lp {
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 40px rgba(31, 42, 68, .12);
}
.part { position: relative; margin: 0; line-height: 0; }
.part img { display: block; width: 100%; height: auto; }

/* 画像の中のボタンの上に重ねる実際のリンク */
.hit {
  position: absolute;
  display: block;
  border-radius: 999px;
  outline-offset: 4px;
}
.hit:focus-visible { outline: 3px solid var(--yellow); }
.hit::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  transition: background .2s;
}
.hit:hover::after { background: rgba(255, 255, 255, .12); }

/* 読み上げ用のテキスト（画面には出さない） */
.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* フェードイン（控えめ） */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* 追従CTA */
.sticky {
  position: fixed;
  left: 50%; bottom: 12px;
  transform: translate(-50%, 140%);
  width: min(calc(100% - 32px), 528px);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(31, 42, 68, .28);
  transition: transform .35s ease;
  z-index: 10;
}
.sticky.is-on { transform: translate(-50%, 0); }
.sticky .arrow {
  flex: none;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 18px;
}

.foot {
  padding: 28px 16px 104px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}
.foot a { color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sticky { transition: none; }
}
