:root {
    --ink: #163d30;
    --body: #435b4d;
    --green: #195d3a;
    --muted: #536d5c;
    --line: #d9e4d6;
    --shell: 1176px;
    --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans CJK JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, figure { margin: 0; }
h2, h3 { line-height: 1.36; font-weight: 800; letter-spacing: -.046em; font-feature-settings: "palt"; }
h2 { font-size: clamp(33px, 3.35vw, 51px); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bb6d21; outline-offset: 4px; }
.skip { position: fixed; z-index: 10; top: -80px; left: 12px; padding: 9px 16px; background: #fff; }
.skip:focus { top: 5px; }
.defs { display: none; }
.icon { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.shell { width: min(var(--shell), calc(100% - clamp(40px, 9vw, 140px))); margin-inline: auto; }
.mast { background: #fff; position: sticky; top: 0; z-index: 5; }
.phrase { display: inline-block; }
.navrow, .navrow nav, .brand, .nav-cta, .cta, .hero-actions, .overline, .promise,
.promise > *, .example-label, .example-foot, .text-action, .clip,
.home-note, .home-note a, .forest-notes > div, .download-kicker, .footer, .footer > div, .dialog-head {
    display: flex; align-items: center;
}
.navrow { justify-content: space-between; min-height: 75px; }
.brand { gap: 10px; font-weight: 820; letter-spacing: -.05em; font-size: 20px; }
.brand img { border-radius: 11px; }
.navrow nav { gap: clamp(16px, 2.25vw, 34px); font-size: 13px; font-weight: 700; }
.navlink:hover, .footer a:hover, .home-note a:hover, .text-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta, .cta { justify-content: center; white-space: nowrap; font-weight: 700; transition: background .18s, transform .18s; }
.nav-cta { gap: 9px; background: #f1f6ed; border: 1px solid #d6e2d0; padding: 8px 16px; border-radius: 99px; }
.nav-cta .icon { width: 16px; height: 16px; }
.nav-cta:hover { background: #e4f0de; }
.hero { width: min(1552px, calc(100% - clamp(20px, 3.4vw, 64px))); margin-inline: auto; overflow: hidden;
    isolation: isolate; position: relative; border-radius: 28px; background: #e6efd3; }
.hero-land, .hero-glow, .hero-life { position: absolute; inset: 0; pointer-events: none; }
.hero-land { z-index: -3; }
.hero-land img { width: 100%; height: 100%; object-fit: cover; object-position: center 61%; }
.hero-glow { z-index: -2; background: linear-gradient(90deg, rgba(251,252,229,.94) 0%, rgba(250,253,229,.88) 25%, rgba(249,250,231,.66) 43%, rgba(249,251,226,.10) 66%, transparent 79%); }
.hero-inner { position: relative; width: min(var(--shell), calc(100% - clamp(56px, 10vw, 156px))); margin-inline: auto; }
.hero-copy { min-height: clamp(460px, 36vw, 548px); padding-block: clamp(29px, 2.7vw, 49px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 55%; position: relative; z-index: 2; }
.overline { color: #44714e; gap: 9px; font: 700 10px/1.5 var(--font); letter-spacing: .18em; }
.line { width: 24px; height: 2px; background: #79a369; }
.hero-label { color: #315c38; font-size: 12px; letter-spacing: .07em; }
.hero-label .icon { width: 17px; height: 17px; }
.hero h1 img { width: clamp(220px, 21.3vw, 304px); height: auto; margin: 10px 0 8px -3px; }
.hero-head { font-size: clamp(24px, 2.35vw, 38px); font-weight: 800; line-height: 1.36; letter-spacing: -.055em; color: #1a432a; }
.hero-desc { font-size: clamp(14px, 1.1vw, 16px); color: #334f38; line-height: 1.85; margin-top: 10px; }
.hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 19px; }
.store-badges { --badge-height: 48px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding-block: 12px; }
.store-badge { display: block; flex: none; border-radius: 6px; }
.store-badge img { max-width: none; width: auto; }
.app-store img { height: var(--badge-height); }
/* The unchanged Google artwork includes 29/30px transparent space above/below its 191px badge. */
.google-play img { height: calc(var(--badge-height) * 250 / 191); }
.cta { min-height: 46px; gap: 8px; border-radius: 99px; padding: 10px 20px; font-size: 14px; }
.cta:hover, .clip:hover { transform: translateY(-2px); }
.primary { color: #fff; background: #164d33; box-shadow: 0 4px 10px #163b271a; }
.primary:hover { background: #226641; }
.movie-cta { background: #ffffffd9; border: 1px solid #a5b388; color: #28452f; }
.movie-cta .icon { width: 16px; height: 16px; }
.hero-life { z-index: -1; }
.rabbit { position: absolute; height: 65%; width: auto; bottom: 6%; left: 59%; filter: drop-shadow(3px 6px 2px #56452232); }
.butterfly { position: absolute; height: 14%; width: auto; bottom: 61%; left: 82%; transform: rotate(-8deg); }
.animal-shadow { position: absolute; height: 5%; width: 17%; bottom: 6%; left: 61%; background: #6a782f6e; border-radius: 50%; filter: blur(9px); }
.promise { min-height: 74px; justify-content: center; gap: clamp(17px, 4.8vw, 80px); border-bottom: 1px solid var(--line); }
.promise > * { gap: 8px; color: #456148; font-size: 13px; font-weight: 680; }
.promise .icon { background: #eaf4df; color: #427535; border-radius: 50%; width: 19px; height: 19px; padding: 4px; stroke-width: 3; }
.promise a:hover { text-decoration: underline; }
.why-section { padding-top: clamp(48px, 5.8vw, 86px); }
.reasons { border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(24px, 5vw, 76px); padding-block: 27px; border-bottom: 1px solid var(--line); }
.reason-wish { display: flex; gap: 18px; align-items: flex-start; color: var(--muted); font-size: 16px; font-weight: 700; line-height: 1.8; }
.reason-number { color: var(--muted); font-size: 12px; letter-spacing: .08em; padding-top: 5px; }
.reason h3 { font-size: clamp(20px, 2vw, 27px); line-height: 1.5; letter-spacing: -.03em; }
.reason > div > p { color: var(--body); font-size: 14px; margin-top: 8px; }
.reason-link { display: inline-block; margin-top: 9px; color: var(--green); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.play-section { padding: clamp(53px, 5.8vw, 90px) 0 clamp(55px, 6vw, 94px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; margin-bottom: 27px; }
.section-head h2, .forest-copy h2, .family-intro h2 { margin-top: 9px; }
.section-head > p, .family-intro > p:last-child { color: var(--body); font-size: 14px; line-height: 1.95; }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.modes > a { display: flex; align-items: center; padding: 13px; gap: 14px; border: 1px solid #d9e2d5; border-radius: 15px; background: #fff; transition: border-color .18s, background .18s; }
.modes > a:hover { background: #f5f8f0; border-color: #91b392; }
.modes > a[aria-selected="true"] { background: #eef5e7; border-color: #4d7852; box-shadow: inset 0 0 0 1px #4d7852; }
.modes img { width: clamp(40px, 4.5vw, 60px); height: auto; aspect-ratio: 1; border-radius: 11px; }
.modes span, .forest-notes span { display: grid; }
.modes small { color: var(--muted); font-size: 11px; }
.modes strong { font-size: clamp(14px, 1.3vw, 19px); line-height: 1.5; letter-spacing: -.035em; }
.modes .icon { margin-left: auto; width: 18px; }
.mode-panel { display: grid; grid-template-columns: 1.07fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.mode-panel + .mode-panel { margin-top: 12px; }
.mode-panel[role="tabpanel"] { margin-top: 0; }
.example { display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: space-between; padding: clamp(20px, 2.5vw, 38px); }
.bubble .example { background: radial-gradient(ellipse at 30% 25%, #f0fbf5, transparent 69%), #dcefe9; }
.drop .example { background: radial-gradient(ellipse at 35% 25%, #fff7ed, transparent 68%), #f6e9dd; }
.kana .example { background: radial-gradient(ellipse at 30% 25%, #f9f8ff, transparent 70%), #e9e9f5; }
.example-label { align-self: flex-start; gap: 7px; font-size: 12px; color: #406254; font-weight: 700; }
.example-label .icon { width: 18px; height: 18px; }
.example-shot { object-fit: contain; width: auto; max-width: 96%; height: auto; max-height: 222px; margin: auto; border-radius: 12px; box-shadow: 0 10px 27px #29433515, 0 0 0 1px #29433515; }
.example-foot { width: 100%; gap: 14px; flex-wrap: wrap; justify-content: center; }
.text-action, .clip { gap: 5px; font-size: 12px; font-weight: 680; }
.text-action .icon, .clip .icon { width: 16px; height: 16px; }
.clip { background: #fff; border: 1px solid #63857355; border-radius: 99px; padding: 7px 13px; transition: transform .18s; }
.mode-copy { padding: clamp(23px, 3vw, 46px); }
.little-title { color: #527558; font-size: 12px; font-weight: 700; }
.mode-copy h3 { font-size: clamp(27px, 2.3vw, 38px); margin-top: 5px; }
.mode-benefit { margin-top: 12px; color: var(--body); font-size: 14px; }
.steps { margin-top: 20px; padding: 0; list-style: none; }
.steps li { position: relative; padding-left: 18px; padding-bottom: 13px; border-left: 1px solid #d6e0d0; margin-left: 3px; }
.steps li:last-child { padding-bottom: 0; border-color: transparent; }
.steps li:before { content: ""; background: #719461; border: 2px solid white; box-shadow: 0 0 0 1px #a4ba99; position: absolute; top: 7px; left: -5px; width: 5px; height: 5px; border-radius: 50%; }
.steps strong { display: block; font-size: 14px; }
.steps p { margin-top: 2px; font-size: 13px; line-height: 1.75; color: var(--body); }
.home-note { justify-content: center; gap: 8px; color: var(--body); font-size: 13px; margin-top: 18px; flex-wrap: wrap; }
.home-note .icon { color: #668657; width: 17px; }
.home-note a { gap: 4px; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.capture-note { margin-top: 14px; text-align: center; color: var(--muted); font-size: 11px; }
.together-section { padding-bottom: clamp(55px, 6vw, 94px); }
.together-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(26px, 4vw, 60px); }
.together-screen { padding: clamp(18px, 2.5vw, 32px); border: 1px solid var(--line); border-radius: 22px; background: #f5f6ee; }
.together-screen img { width: 100%; height: auto; border-radius: 12px; }
.together-screen figcaption { margin-top: 16px; color: var(--body); font-size: 12px; }
.together-screen figcaption a { display: inline-block; margin-top: 5px; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.together-copy .steps { margin-top: 0; }
.together-copy .steps li { padding-bottom: 22px; }
.together-copy .steps li:last-child { padding-bottom: 0; }
.together-copy .steps strong { font-size: 16px; }
.together-copy .steps p { margin-top: 6px; font-size: 14px; line-height: 1.9; }
.together-note { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.answers p a, .legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 820px; padding-block: clamp(36px, 6vw, 80px); overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(27px, 4vw, 40px); line-height: 1.45; }
.legal h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 40px; }
.legal h3 { font-size: 19px; margin-top: 24px; }
.legal p { margin-top: 16px; color: var(--body); }
.legal ol { margin-top: 16px; padding-left: 1.5em; color: var(--body); }
.legal li + li { margin-top: 8px; }
.legal-lead { font-size: 17px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; padding-block: 20px; border-block: 1px solid var(--line); font-size: 14px; }
.legal-note { margin-top: 40px; padding: 8px 20px 20px; background: #f1f5ea; border-radius: 16px; font-size: 13px; }
.forest-section { background: #f1f5ea; border-block: 1px solid #e6ecde; }
.forest-layout { display: grid; align-items: center; grid-template-columns: 1.07fr 1fr; gap: clamp(34px, 6.5vw, 100px); padding-block: clamp(48px, 5.2vw, 80px); }
.forest-visual { overflow: hidden; border-radius: 24px; }
.forest-visual a { display: block; position: relative; }
.forest-visual img { width: 100%; height: clamp(305px, 29vw, 420px); object-fit: cover; object-position: center 70%; }
.zoom { display: grid; place-items: center; position: absolute; right: 12px; bottom: 12px; border-radius: 50%; height: 34px; width: 34px; background: #fff; color: var(--ink); }
.zoom .icon { width: 16px; }
.forest-copy > p:not(.overline) { color: var(--body); font-size: 15px; line-height: 1.95; margin-top: 16px; }
.forest-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 26px; }
.forest-notes > div { gap: 10px; }
.forest-notes img { width: 53px; height: 53px; border-radius: 14px; }
.forest-notes strong { font-size: 14px; }
.forest-notes small { color: var(--body); font-size: 11px; }
.fit-section { padding-top: clamp(54px, 6.7vw, 105px); }
.fit-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; text-align: left; }
.fit-table caption { text-align: left; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.fit-table th, .fit-table td { padding: 19px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fit-table thead th { background: #f3f6ee; font-size: 12px; color: var(--muted); }
.fit-table th:first-child { width: 32%; }
.fit-table td { color: var(--body); }
.fit-match { background: #f3f8ec; }
.family { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(36px, 6vw, 96px); padding-block: clamp(54px, 6.7vw, 105px); }
.family-intro > p:last-child { margin-top: 14px; }
.answers details { border-top: 1px solid #d3dfcf; }
.answers details:last-child { border-bottom: 1px solid #d3dfcf; }
.answers summary { position: relative; cursor: pointer; padding: 19px 28px 19px 0; list-style: none; font-size: 15px; font-weight: 700; }
.answers summary::-webkit-details-marker { display: none; }
.answers summary:after { content: "＋"; color: #526f51; position: absolute; top: 19px; right: 2px; }
.answers details[open] summary:after { content: "−"; }
.answers details p { color: var(--body); font-size: 14px; line-height: 1.9; margin: 0 16px 18px 0; }
.download { position: relative; overflow: hidden; background: #19472e; border-radius: 24px; padding: clamp(28px, 4vw, 57px); color: #f8ffef; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.download:before { pointer-events: none; content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 92% 80%, #47743d 0, transparent 50%); }
.download > * { position: relative; }
.download-kicker { gap: 6px; color: #c8e4b1; font-size: 12px; font-weight: 700; }
.download-kicker .icon { height: 17px; width: 17px; }
.download h2 { font-size: clamp(26px, 2.6vw, 40px); margin: 9px 0; }
.download p:not(.download-kicker) { font-size: 13px; }
.download .download-terms { margin-top: 10px; color: #d3e4c9; font-size: 11px; }
.download-actions { max-width: 100%; }
.light { background: #eff9d8; color: #254b31; }
.light:hover { background: #fff; }
.footer { padding-block: 28px; justify-content: space-between; gap: 18px; }
.footer-brand { font-size: 16px; font-weight: 780; }
.footer-brand small { margin-left: 10px; font-size: 11px; color: #627262; font-weight: 500; }
.footer > div { gap: 20px; font-size: 12px; color: var(--body); }
.store-trademarks { padding-bottom: 24px; color: var(--muted); font-size: 10px; line-height: 1.8; }
dialog { border: 0; border-radius: 17px; padding: 13px; background: #fafcf8; color: var(--ink); max-width: min(94vw, 950px); max-height: 93dvh; box-shadow: 0 20px 100px #06180f66; }
dialog::backdrop { background: #0c211acf; }
.dialog-head { justify-content: space-between; gap: 15px; padding: 1px 0 10px 4px; }
.dialog-head h2 { font-size: 16px; letter-spacing: 0; }
.close { border: 1px solid #cbd9ca; background: #fff; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.close .icon { width: 17px; height: 17px; }
#media-content > * { display: block; width: auto; height: auto; max-width: 100%; max-height: min(77dvh, 900px); margin: auto; object-fit: contain; border-radius: 6px; }
@media (max-width: 900px) {
    .navrow { min-height: 65px; }
    .navlink[href="#why"] { display: none; }
    .hero-copy { width: 62%; min-height: 420px; }
    .hero-desc { max-width: 31em; }
    .hero-inner { width: calc(100% - 72px); }
    .rabbit { left: 65%; height: 53%; bottom: 8%; }
    .butterfly { left: 85%; height: 11%; bottom: 56%; }
    .animal-shadow { left: 69%; bottom: 8%; }
    .modes > a { gap: 8px; }
    .modes .icon { display: none; }
    .forest-notes { grid-template-columns: 1fr; gap: 11px; margin-top: 15px; }
    .forest-notes img { width: 42px; height: 42px; }
    .forest-notes span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
    .section-head > p { max-width: 310px; }
    .desktop { display: none; }
}
@media (max-width: 660px) {
    html { scroll-padding-top: 68px; }
    .shell { width: calc(100% - 36px); }
    .navrow { min-height: 59px; }
    .brand { font-size: 17px; gap: 8px; }
    .brand img { width: 31px; height: 31px; border-radius: 9px; }
    .navlink { display: none; }
    .nav-cta { font-size: 12px; padding: 6px 12px; }
    .hero { width: calc(100% - 16px); border-radius: 20px; }
    .hero-inner { width: calc(100% - 34px); }
    .hero-copy { width: 100%; min-height: 0; padding: 24px 0 clamp(168px, 41vw, 235px); }
    .hero h1 img { width: clamp(163px, 45vw, 235px); margin: 10px 0 9px -1px; }
    .hero-head { font-size: clamp(23px, 6vw, 31px); }
    .hero-label { font-size: 11px; letter-spacing: .04em; }
    .hero-desc { font-size: 13px; max-width: 31em; margin-top: 6px; }
    .hero-actions { gap: 10px; margin-top: 15px; }
    .store-badges { --badge-height: 40px; column-gap: 12px; padding-block: 10px; }
    .cta { min-height: 41px; font-size: 12px; padding: 8px 13px; gap: 5px; }
    .hero-land img { object-position: 59% center; }
    .hero-glow { background: linear-gradient(165deg, #f4f9e3f0 2%, #f7f9e4e0 32%, #eff7dfa3 56%, #f1f7dc00 77%); }
    .rabbit { height: clamp(138px, 37vw, 208px); left: auto; right: 11%; bottom: 3%; }
    .butterfly { height: clamp(31px, 9vw, 44px); left: auto; right: 6%; bottom: 25%; }
    .animal-shadow { left: auto; right: 13%; bottom: 3%; width: 26%; height: 3%; }
    .promise { gap: 6px 13px; min-height: 58px; flex-wrap: wrap; padding-block: 10px; }
    .promise > * { font-size: 11px; gap: 4px; }
    .promise .icon { width: 14px; height: 14px; padding: 2.5px; }
    .section-head { display: block; margin-bottom: 19px; }
    .section-head > p { margin-top: 10px; max-width: none; font-size: 13px; }
    h2 { font-size: clamp(28px, 6.6vw, 36px); }
    .why-section, .fit-section { padding-top: 40px; }
    .reason { grid-template-columns: 1fr; gap: 9px; padding-block: 23px; }
    .reason-wish { font-size: 13px; gap: 9px; align-items: baseline; }
    .reason-wish br { display: none; }
    .reason-number { font-size: 11px; padding-top: 0; }
    .reason h3 { font-size: 21px; }
    .reason > div > p { font-size: 13px; margin-top: 6px; }
    .reason-link { font-size: 13px; }
    .fit-table { font-size: 13px; }
    .fit-table th, .fit-table td { padding: 13px 10px; }
    .fit-table th:first-child { width: 35%; }
    .fit-table thead th { font-size: 11px; }
    .fit-table caption { font-size: 12px; }
    .play-section { padding-block: 40px; }
    .modes { gap: 6px; margin-bottom: 9px; }
    .modes > a { flex-direction: column; gap: 4px; padding: 9px 3px; border-radius: 12px; text-align: center; }
    .modes img { width: 38px; height: 38px; border-radius: 9px; }
    .modes small { display: none; }
    .modes strong { font-size: clamp(11px, 2.9vw, 15px); line-height: 1.35; word-break: keep-all; }
    .mode-panel { grid-template-columns: 1fr; border-radius: 16px; }
    .example { gap: 10px; padding: 15px; }
    .example-shot { max-height: 155px; width: auto; max-width: 94%; }
    .example-label { font-size: 12px; }
    .example-foot { gap: 10px; }
    .text-action, .clip { font-size: 12px; }
    .clip { padding: 6px 11px; }
    .mode-copy { padding: 20px; }
    .mode-copy h3 { font-size: 24px; margin-top: 4px; }
    .mode-copy h3 br { display: none; }
    .mode-benefit { font-size: 13px; margin-top: 8px; }
    .steps { margin-top: 14px; }
    .steps strong { font-size: 14px; }
    .steps p { font-size: 13px; }
    .home-note { gap: 4px; font-size: 12px; }
    .together-section { padding-bottom: 40px; }
    .together-layout { grid-template-columns: 1fr; gap: 24px; }
    .together-screen { padding: 18px; border-radius: 16px; }
    .together-copy .steps strong { font-size: 15px; }
    .together-copy .steps p { font-size: 13px; }
    .forest-layout, .family { grid-template-columns: 1fr; gap: 23px; padding-block: 40px; }
    .forest-copy { grid-row: 1; }
    .forest-copy h2 br { display: none; }
    .forest-copy > p:not(.overline) { font-size: 14px; margin-top: 10px; }
    .forest-notes { grid-template-columns: 1fr 1fr; gap: 10px; }
    .forest-notes > div { gap: 7px; }
    .forest-notes span { display: grid; gap: 0; }
    .forest-notes small { font-size: 11px; }
    .forest-notes strong { font-size: 13px; }
    .forest-visual { border-radius: 16px; }
    .forest-visual img { height: clamp(225px, 65vw, 325px); }
    .family-intro > p:last-child { margin-top: 9px; }
    .family-intro > p:last-child br { display: none; }
    .answers summary { padding-block: 15px; font-size: 14px; }
    .answers summary:after { top: 15px; }
    .answers details p { font-size: 13px; }
    .download { align-items: flex-start; flex-direction: column; padding: 24px; border-radius: 18px; gap: 17px; }
    .download h2 { font-size: 25px; }
    .download p:last-child { font-size: 12px; }
    .footer { flex-direction: column; align-items: flex-start; gap: 9px; }
    .footer > div { flex-wrap: wrap; gap: 8px 16px; font-size: 12px; }
    .dialog-head h2 { font-size: 13px; }
}
@media (max-width: 359px) {
    .hero-desc br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { transition: none !important; }
}

.footer > div { flex-wrap: wrap; }
.analytics-settings { padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.analytics-settings:hover { text-decoration: underline; }
.analytics-consent { position: fixed; z-index: 100; bottom: 16px; left: 16px; right: 16px; max-width: 1040px; max-height: calc(100dvh - 32px); overflow-y: auto; margin-inline: auto; padding: 22px 26px; display: flex; align-items: center; gap: 28px; border: 1px solid #b8cbb5; border-radius: 18px; background: #fffef9; color: #263e2d; box-shadow: 0 8px 40px #19392430; }
.analytics-copy { flex: 1; min-width: 0; }
.analytics-copy h2 { margin: 0 0 7px; font-size: 18px; line-height: 1.5; letter-spacing: 0; }
.analytics-copy p { margin: 5px 0 0; font-size: 13px; line-height: 1.8; }
.analytics-copy a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-current { display: inline-block; margin-left: 15px; color: #52644d; }
.analytics-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; flex-shrink: 0; }
.analytics-actions button { min-height: 44px; padding: 10px 15px; border: 1px solid #607d57; border-radius: 9px; background: #f4f8ef; color: #24412b; font-size: 13px; cursor: pointer; }
.analytics-actions button:hover { background: #e7efdf; }
.analytics-actions .analytics-close { grid-column: 1 / -1; padding: 5px; min-height: 34px; background: transparent; border: 0; text-decoration: underline; }
#website { margin-top: 56px; padding-top: 8px; border-top: 1px solid #d3decf; }
@media (max-width: 660px) {
    .analytics-consent { bottom: 10px; left: 10px; right: 10px; padding: 18px; max-height: calc(100dvh - 20px); flex-direction: column; align-items: stretch; gap: 14px; border-radius: 14px; }
    .analytics-copy h2 { font-size: 16px; }
    .analytics-copy p { font-size: 12px; }
    .analytics-actions button { padding-inline: 8px; }
}

/* ひらがな・カタカナ表 */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.chart section { margin-top: 44px; }
.chart section > h2 { margin-top: 0; }
.chart-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; padding-block: 16px; border-block: 1px solid var(--line); }
.chart-tools .legal-toc { margin: 0; padding: 0; border: 0; }
.print-button { min-height: 44px; padding: 9px 18px; border: 1px solid #a5b388; border-radius: 99px; background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.print-button:hover { background: #f1f6ed; }
.kana-table { width: 100%; max-width: 560px; margin-top: 18px; border-collapse: separate; border-spacing: 6px; table-layout: fixed; text-align: center; }
.kana-table.youon { max-width: 380px; }
.kana-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kana-table thead td, .kana-table tbody th { width: 54px; }
.kana-table th { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.kana-table td:not(.blank):not(:empty) { padding: 8px 2px 7px; border: 1px solid #d3dfcf; border-radius: 12px; background: #f5f8f0; }
.kana-table thead td { border: 0; background: none; }
.hira, .kata { display: block; line-height: 1.3; }
.hira { font-size: clamp(22px, 5.6vw, 30px); font-weight: 700; }
.kata { color: var(--body); font-size: clamp(14px, 3.6vw, 17px); font-weight: 700; }
.chart-pair { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 36px; }
.chart-pair .kana-table { flex: 1 1 300px; }
.chart .chart-note { margin-top: 12px; font-size: 14px; }
.chart .chart-app { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(20px, 4vw, 40px); margin-top: 56px; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 22px; background: #f1f5ea; }
.chart .chart-app h2 { margin-top: 0; font-size: clamp(21px, 3vw, 26px); }
.chart-app .store-badges { margin-top: 10px; }
.chart .chart-terms { margin-top: 0; color: var(--muted); font-size: 12px; }
.chart-shot img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 27px #29433515, 0 0 0 1px #29433515; }
@media (max-width: 660px) {
    .chart section { margin-top: 34px; }
    .kana-table { border-spacing: 4px; }
    .kana-table thead td, .kana-table tbody th { width: 40px; }
    .kana-table th { font-size: 11px; }
    .kana-table td:not(.blank):not(:empty) { border-radius: 10px; }
    .chart .chart-app { grid-template-columns: 1fr; }
    .chart-app .store-badges { --badge-height: 40px; }
}
@media print {
    .chart-page .mast, .chart-page .skip, .chart-page .crumbs, .chart-page .chart-tools, .chart-page .chart-app,
    .chart-page .footer, .chart-page .store-trademarks { display: none !important; }
    .chart-page .legal { max-width: none; padding-block: 0; }
    .chart-page .legal h1 { font-size: 20pt; }
    .chart-page .legal .legal-lead { margin-top: 6pt; font-size: 10pt; }
    .chart-page .chart section { margin-top: 14pt; break-inside: avoid; }
    .chart-page .chart section > h2 { font-size: 14pt; }
    .chart-page .chart section > p, .chart-page .chart .chart-note { margin-top: 5pt; font-size: 9.5pt; }
    .chart-page .kana-table { max-width: 140mm; margin-top: 5pt; border-spacing: 4px; }
    .chart-page .kana-table.youon { max-width: 76mm; }
    .chart-page .kana-table td:not(.blank):not(:empty) { padding-block: 2pt; background: none; border-color: #777; }
    .chart-page .hira, .chart-page .kata { line-height: 1.2; }
    .chart-page .hira { font-size: 15pt; }
    .chart-page .kata { font-size: 9pt; color: #000; }
    .chart-page .chart-pair { flex-wrap: nowrap; gap: 0 10mm; }
}

.resource-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 12px; margin-top: 28px; }
.resource-links a { display: grid; align-content: center; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: #f5f8f0; }
.resource-links a:hover strong, .resource-links a:focus-visible strong { text-decoration: underline; }
.resource-links strong { color: var(--green); }
.resource-links span { font-size: 14px; color: var(--muted); }
.resource .resource-print { margin-top: 20px; }
.resource .puzzle { border-collapse: collapse; margin-top: 18px; text-align: center; }
.puzzle caption { font-size: 13px; color: var(--muted); text-align: left; }
.puzzle td { width: 1.8em; height: 1.8em; border: 1px solid #a7baa4; font-size: clamp(27px, 6vw, 36px); line-height: 1; }
.resource details { margin-top: 16px; color: var(--green); }
.resource summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.resource details p { margin-top: 6px; }
.resource-more { border-top: 1px solid var(--line); margin-top: 32px; }
.resource-more a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.letter-pair { display: flex; gap: 12px; margin: 16px 0; }
.letter-pair div { width: 9em; padding: 12px 6px; border-radius: 12px; background: #f1f5ea; text-align: center; }
.letter-pair dt { font-size: clamp(48px, 9vw, 68px); line-height: 1.3; }
.letter-pair dd { margin: 0; font-size: 14px; }
@media print {
    .resource-links, .resource-page .mast, .resource-page .skip, .resource-page .crumbs, .resource-page .footer,
    .resource-print, .resource details, .resource-more { display: none; }
    .resource { width: 100%; padding: 0; }
    .resource h1 { font-size: 20pt; }
    .resource h2 { margin-top: 16pt; font-size: 16pt; }
    .resource p { margin-top: 6pt; }
    .resource section { break-inside: avoid; }
    .puzzle td { width: 13mm; height: 13mm; color: #000; border-color: #555; font-size: 20pt; }
}
