:root {
  --ink: #2e2a24;
  --muted: #6a6259;
  --cream: #fffaf0;
  --paper: #f7eddb;
  --honey: #d99d36;
  --honey-deep: #9b6518;
  --rust: #8b4d28;
  --sage: #728375;
  --line: rgba(85, 68, 47, 0.16);
  --shadow: 0 24px 60px rgba(73, 49, 20, 0.12);
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --font-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans); line-height: 1.8; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 99; border-radius: .5rem; padding: .7rem 1rem; background: var(--ink); color: white; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.site-header { width: min(1240px, calc(100% - 3rem)); margin: 0 auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--honey-deep); border-radius: 50%; color: var(--honey-deep); font-family: var(--font-serif); font-size: 1.25rem; line-height: 1; }
.header-link { color: var(--muted); font-size: .88rem; text-underline-offset: .24em; }

.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; width: min(1240px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 8vw, 7rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker, .tip-label { margin: 0 0 .75rem; color: var(--honey-deep); font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
.hero h1 { max-width: 650px; margin: 0; font-family: var(--font-serif); font-size: clamp(2.5rem, 5.4vw, 5.5rem); line-height: 1.27; letter-spacing: -.045em; font-weight: 600; }
em { color: var(--honey-deep); font-style: normal; }
.hero-lede { max-width: 510px; margin: 1.7rem 0 1.75rem; color: var(--muted); font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: .72rem 1.12rem; border: 1px solid transparent; border-radius: 999px; font-weight: 800; line-height: 1.3; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(90, 59, 18, .16); }
.button:focus-visible, .text-copy:focus-visible, .header-link:focus-visible, .source-section a:focus-visible { outline: 3px solid rgba(217, 157, 54, .55); outline-offset: 3px; }
.button-primary { background: var(--honey); color: #30200d; }
.button-primary > span:first-child { margin-right: .25rem; font-family: var(--font-serif); font-size: 1.15rem; }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.external { margin-left: .45rem; font-size: 1.1em; }
.hero-note { display: flex; align-items: center; gap: .45rem; margin: 1.25rem 0 0; color: var(--muted); font-size: .83rem; }
.dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--sage); }
.hero-visual { margin: 0; position: relative; }
.hero-frame { overflow: hidden; border-radius: 48% 52% 35% 65% / 46% 40% 60% 54%; box-shadow: var(--shadow); background: #ead8b3; }
.hero-frame img { display: block; width: 100%; min-height: 430px; height: min(49vw, 610px); object-fit: cover; object-position: center; }
.hero-visual figcaption { position: absolute; right: .75rem; bottom: .65rem; color: rgba(46, 42, 36, .72); font-size: .7rem; }

.deadline-band { background: var(--ink); color: var(--cream); }
.deadline-band-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem 1rem; width: min(1240px, calc(100% - 3rem)); margin: 0 auto; min-height: 76px; text-align: center; }
.deadline-label { color: #e4b766; font-size: .77rem; font-weight: 700; letter-spacing: .12em; }
.deadline-band strong { font-size: 1rem; }
.deadline-band a { color: #f3d9a3; font-size: .83rem; text-underline-offset: .22em; }

.section-shell { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }
.intro { padding: clamp(4rem, 9vw, 8rem) 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 10vw, 10rem); align-items: start; }
.intro h2, .section-heading h2, .cta-panel h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.35; letter-spacing: -.04em; font-weight: 600; }
.intro-grid p { margin: 0; color: var(--muted); }
.intro-grid .small-copy { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; }
.vote-note { display: grid; gap: .25rem; margin-top: 1.1rem; padding: .9rem 1rem; border-left: 3px solid var(--honey); border-radius: 0 12px 12px 0; background: rgba(217, 157, 54, .10); color: #675128; font-size: .82rem; line-height: 1.7; }
.vote-note strong { color: var(--honey-deep); font-size: .84rem; }

.tips-section { padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: 2.4rem; }
.section-heading > p { max-width: 285px; margin: 0 0 .25rem; color: var(--muted); font-size: .9rem; }
.tip-list { display: grid; gap: 1.25rem; }
.tip-card { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 190px; gap: 1.7rem; padding: clamp(1.5rem, 3vw, 2.8rem); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fffdf7; }
.tip-card::after { position: absolute; content: ""; width: 15rem; height: 15rem; right: -8rem; bottom: -9rem; border-radius: 50%; background: rgba(217, 157, 54, .07); pointer-events: none; }
.tip-card--two { background: #fbf2e3; }
.tip-card--three { background: #f4f3e8; }
.tip-index { color: rgba(155, 101, 24, .72); font-family: var(--font-serif); font-size: 1.7rem; line-height: 1; }
.tip-content { position: relative; z-index: 1; }
.tip-content h3 { margin: 0 0 .9rem; font-family: var(--font-serif); font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.35; letter-spacing: -.035em; font-weight: 600; }
.tip-content > p { margin: 0; color: var(--muted); font-size: .94rem; }
.character-copy { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.15rem; padding: .36rem .4rem .36rem 1rem; border: 1px solid rgba(155, 101, 24, .24); border-radius: 999px; background: #fffaf0; }
.character-copy > span { color: var(--honey-deep); font-family: var(--font-serif); font-size: 1.45rem; }
.text-copy { border: 0; border-radius: 999px; padding: .56rem .8rem; background: var(--ink); color: white; font-size: .8rem; font-weight: 700; cursor: pointer; }
.text-copy:hover { background: var(--honey-deep); }
.tip-art { position: relative; z-index: 1; align-self: center; margin: 0; }
.tip-art img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 25px rgba(80, 51, 19, .12); }
.tip-art figcaption { margin-top: .5rem; font-size: .72rem; text-align: right; }
.tip-art a { color: var(--muted); text-underline-offset: .2em; }
.reason-stack { display: grid; gap: .75rem; margin-top: 1.2rem; }
.reason-card { padding: .9rem 1rem .75rem; border-left: 3px solid var(--honey); background: rgba(255, 255, 255, .72); }
.reason-card p { margin: 0; color: #4d463d; font-size: .86rem; line-height: 1.75; }
.reason-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .55rem; color: var(--muted); font-size: .72rem; }
.reason-note { margin-top: .8rem !important; color: var(--honey-deep) !important; font-size: .78rem !important; }
.quiet-note { display: grid; gap: .2rem; margin-top: 1.25rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(114, 131, 117, .12); color: #4d5d50; font-size: .83rem; }
.quiet-note strong { font-size: .8rem; }

.cta-section { padding-bottom: clamp(4rem, 9vw, 8rem); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 28px; background: linear-gradient(135deg, #dca343, #eecf91); color: #38270d; }
.cta-panel h2 em { color: #714112; }
.cta-panel p:not(.section-kicker) { max-width: 560px; margin: 1rem 0 0; font-size: .9rem; }
.button-large { flex: 0 0 auto; min-height: 58px; padding-inline: 1.35rem; background: #38270d; color: #fff9eb; }
.cheer-section { padding: 0 0 clamp(3rem, 7vw, 6rem); }
.cheer-figure { position: relative; width: min(100%, 620px); margin: 0 auto; overflow: hidden; border-radius: 28px; background: #fffdf7; box-shadow: 0 18px 44px rgba(93, 63, 27, .10); }
.cheer-figure::after { position: absolute; right: -3.5rem; bottom: -3.5rem; width: 11rem; height: 11rem; border-radius: 50%; background: rgba(217, 157, 54, .12); content: ""; pointer-events: none; }
.cheer-figure img { display: block; width: 100%; height: auto; }
.cheer-message { position: absolute; z-index: 1; top: clamp(1.5rem, 5vw, 3.4rem); right: 1rem; left: 1rem; text-align: center; }
.cheer-message p { margin: 0 0 .25rem; color: var(--honey-deep); font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
.cheer-message h2 { display: inline-block; margin: 0; color: var(--rust); font-family: var(--font-serif); font-size: clamp(2rem, 4.4vw, 3.45rem); font-weight: 700; letter-spacing: .06em; line-height: 1.35; white-space: nowrap; text-shadow: 0 2px 0 #fff9ed, 0 6px 16px rgba(139, 77, 40, .14); }
.cheer-figure figcaption { position: absolute; right: .9rem; bottom: .65rem; z-index: 2; color: rgba(90, 68, 37, .55); font-size: .66rem; }
.source-section { padding-bottom: 3rem; color: var(--muted); font-size: .76rem; }
.source-section p { margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.source-section a { color: var(--honey-deep); text-underline-offset: .2em; }
.site-footer { padding: 2.5rem max(1.5rem, calc((100% - 1120px) / 2)); background: #29251f; color: #e8dfd0; }
.brand--footer { color: #fffaf0; }
.brand--footer .brand-mark { border-color: #dea549; color: #f1c970; }
.site-footer p { margin: .9rem 0 0; color: #bcb2a2; font-size: .78rem; }
.site-footer .copyright { margin-top: 2.1rem; color: #857b6e; font-size: .68rem; }
.floating-cta { position: fixed; z-index: 80; right: 1rem; bottom: max(6.5rem, calc(env(safe-area-inset-bottom) + 1rem)); left: 1rem; display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: .8rem 1.15rem; border-radius: 999px; background: #38270d; box-shadow: 0 14px 34px rgba(56, 39, 13, .28); color: #fff9eb; font-weight: 800; line-height: 1.3; text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(calc(100% + 2rem)); transition: opacity .25s ease, transform .25s ease; }
.floating-cta.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 1.3rem; padding: .72rem 1rem; border-radius: 999px; background: var(--ink); color: white; font-size: .85rem; opacity: 0; transform: translate(-50%, 1rem); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.has-floating-cta .toast { bottom: max(10.75rem, calc(env(safe-area-inset-bottom) + 7.25rem)); }

@media (min-width: 821px) {
  .floating-cta { right: clamp(1.5rem, 4vw, 3.5rem); left: auto; min-width: 250px; }
}

@media (max-width: 820px) {
  .site-header { min-height: 72px; }
  .header-link { font-size: .78rem; }
  .hero { grid-template-columns: 1fr; gap: 2.3rem; padding-top: 2rem; }
  .hero-visual { order: -1; max-width: 680px; }
  .hero-frame { border-radius: 26px 26px 48% 28%; }
  .hero-frame img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1rem; }
  .tip-card { grid-template-columns: 42px minmax(0, 1fr); gap: 1rem; }
  .tip-art { grid-column: 2; width: min(200px, 100%); }
  .cta-panel { display: grid; }
  .button-large { justify-self: start; }
  .cheer-message { top: clamp(1.2rem, 5vw, 2rem); }
}

@media (max-width: 520px) {
  .site-header, .hero, .section-shell, .deadline-band-inner { width: min(100% - 2rem, 1120px); }
  .brand { font-size: .82rem; }
  .brand-mark { width: 30px; height: 30px; font-size: 1.08rem; }
  .hero { padding-bottom: 3.7rem; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.45rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .deadline-band-inner { padding: .8rem 0; }
  .deadline-label, .deadline-band a { width: 100%; }
  .tip-card { grid-template-columns: 1fr; padding: 1.45rem; }
  .tip-index { font-size: 1.2rem; }
  .tip-art { grid-column: 1; }
  .tip-art img { width: min(190px, 100%); }
  .reason-footer { align-items: start; flex-direction: column; gap: .45rem; }
  .reason-footer .text-copy { width: 100%; }
  .cta-panel { padding: 1.7rem; }
  .button-large { width: 100%; }
  .cheer-figure { border-radius: 20px; }
  .cheer-message h2 { font-size: clamp(1.5rem, 7vw, 2.1rem); letter-spacing: .05em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
