/* はるこよみ トップ — 実画面が主役。JS・Webフォント・外部読み込みなし。サブページは style.css（バス何分？の写し）のまま。 */
:root {
  color-scheme: light;
  --bg: #fffaf5; --pink: #f8e4e9; --sand: #f2eadf;
  --ink: #3a2824; --sub: #6c5752; --accent: #c2335f;
  --s1: 12px; --s2: 24px; --s3: 48px; --s4: 88px; --pad: 24px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  --t-hero: clamp(2.5rem, 5.6vw, 4.5rem);
  --t-h2: clamp(2rem, 3.4vw + 0.5rem, 3.25rem);
}
@media (min-width: 800px) { :root { --s1: 16px; --s2: 32px; --s3: 64px; --s4: 128px; --pad: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.85 var(--font); -webkit-font-smoothing: antialiased; word-break: auto-phrase; }
h1, h2, h3, p, figure, ul { margin: 0; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.nw { display: inline-block; max-width: 100%; }
h1, h2 { font-feature-settings: "palt"; letter-spacing: -0.03em; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--t-hero); line-height: 1.15; }
h2 { font-size: var(--t-h2); line-height: 1.3; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: var(--s4); }
.body { max-width: 30em; margin-top: var(--s2); }
.note { font-size: 0.9375rem; line-height: 1.7; color: var(--sub); }
.tint-pink { background: var(--pink); }
.tint-sand { background: var(--sand); }

/* 画像。端末の枠は付けず、画面そのものを紙のように置く。 */
.shot { width: 100%; border-radius: 22px; box-shadow: 0 1px 2px rgb(58 40 36 / 14%), 0 14px 34px -14px rgb(58 40 36 / 32%); }

/* ヘッダー */
.top-header { padding-block: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.appicon { width: 32px; height: 32px; border-radius: 22.5%; flex-shrink: 0; display: block; }
.appicon.big { width: 64px; height: 64px; }

/* 1 画面目 */
.hero { padding-block: var(--s2) var(--s3); }
.hero .wrap { display: grid; gap: var(--s3); }
.lede { font-size: 1.25rem; line-height: 1.7; margin-top: var(--s2); max-width: 20em; }
.cta { display: grid; justify-items: start; gap: 4px; margin-top: var(--s2); }
.app-store-badge { display: inline-flex; padding: 10px 10px 10px 0; }
.app-store-badge img { width: auto; height: 40px; max-width: none; }
.hero-shot { position: relative; max-width: 540px; width: 100%; }

/* 見せ場はここだけ: 選んだ日にシールがぺたっと着地して、月が埋まっていく。 */
.land { position: absolute; width: 9.4%; height: auto; translate: -50% -50%; pointer-events: none; filter: drop-shadow(0 2px 2px rgb(58 40 36 / 28%)); }
.land:nth-child(2) { left: 64.3%; top: 56.9%; --d: .9s; }
.land:nth-child(3) { left: 35.7%; top: 78.6%; --d: 1.4s; }
.land:nth-child(4) { left: 35.7%; top: 40.4%; --d: 1.9s; }
.land:nth-child(5) { left: 50%; top: 25.6%; --d: 2.4s; }
.land:nth-child(6) { left: 78.6%; top: 78.6%; --d: 2.9s; width: 8%; }
.land:nth-child(7) { left: 64.3%; top: 40.4%; --d: 3.4s; }
.land:nth-child(2) { width: 10%; }
@media (prefers-reduced-motion: no-preference) {
  .land { animation: land 0.3s cubic-bezier(0.2, 0.8, 0.25, 1) var(--d) both; }
}
@keyframes land {
  0% { opacity: 0; transform: translateY(-16%) scale(1.5) rotate(-10deg); }
  55% { opacity: 1; }
  80% { transform: translateY(0) scale(0.95) rotate(1deg); }
  100% { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .hero { padding-block-start: var(--s3); }
  .hero .wrap { grid-template-columns: 1.3fr 1fr; align-items: center; gap: var(--s3); }
  .hero-shot { justify-self: end; }
}

/* 貼る */
.stick .wrap { display: grid; gap: var(--s3); }
.stick-shot { max-width: 320px; }
@media (min-width: 900px) {
  .stick .wrap { grid-template-columns: 320px 1fr; align-items: center; column-gap: 112px; }
  .stick .text { order: 2; }
  .stick-shot { order: 1; }
}

/* 見渡す: 横に広い 1 枚 */
.overview .wrap { display: grid; gap: var(--s3); }
.strip { overflow: hidden; border-radius: 22px; box-shadow: 0 1px 2px rgb(58 40 36 / 14%), 0 14px 34px -14px rgb(58 40 36 / 32%); }
.strip .shot { border-radius: 0; box-shadow: none; }
@media (max-width: 699px) {
  /* 3 週間ぶんをそのまま縮めると小さいので、左右を切って寄せる */
  .strip .shot { width: 175%; max-width: none; margin-left: -75%; }
}

/* わたしのシール */
.mine .wrap { display: grid; gap: var(--s3); }
.mine-shot { max-width: 440px; }
@media (min-width: 900px) {
  .mine .wrap { grid-template-columns: 1fr 440px; align-items: center; column-gap: 96px; }
}

/* シール帳: 絵の地がセクションの地と同じ色。枠も影も付けず、紙だけが浮かぶ */
.book .wrap { display: grid; gap: var(--s3); }
.book-shot { max-width: 400px; }
@media (min-width: 900px) {
  .book .wrap { grid-template-columns: 400px 1fr; align-items: center; column-gap: 112px; }
  .book .text { order: 2; }
  .book-shot { order: 1; }
}

/* 安心: 文章だけ。大きな 1 文。 */
.calm h2 { font-size: clamp(2.25rem, 4.6vw + 0.5rem, 4rem); max-width: 14em; }
.calm .body { font-size: 1.125rem; }

/* 値段 */
.price { padding-top: 0; }
.price .lead { font-size: 1.25rem; margin-top: var(--s1); }
.yen { color: var(--accent); }
.plans { display: grid; gap: var(--s3); margin-top: var(--s3); }
.plan h3 { font-size: 1.5rem; line-height: 1.4; letter-spacing: -0.01em; }
.pro { color: var(--accent); }
.plan ul { list-style: none; padding: 0; margin-top: var(--s1); }
.plan li { padding-block: 4px; }
.price .note { margin-top: var(--s3); }
@media (min-width: 700px) {
  .plans { grid-template-columns: 1fr 1fr; max-width: 760px; }
}

/* 締め */
.closing .wrap { display: grid; justify-items: center; text-align: center; }
.closing h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
.closing-app { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.closing-app .app-store-badge { padding: 10px; }

.site-footer { padding-block: var(--s3); font-size: 1rem; line-height: 1.7; color: var(--sub); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px var(--s2); }
.site-footer li { padding-block: 6px; }
.site-footer a { color: var(--sub); }
.site-footer a:hover { color: var(--ink); }
