:root {
  --paper: #f8f6ed;
  --card: #fffdf7;
  --ink: #344635;
  --muted: #74816a;
  --green: #526d45;
  --green-light: #edf1e4;
  --line: #e1e5d7;
  --yellow: #f0d17a;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
  --sans: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; }
button, a, summary, [tabindex] { outline-offset: 5px; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #829b60; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-shell { max-width: 1120px; margin: 0 auto; padding: 0 50px; }
.site-header { height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-icon { width: 39px; height: 47px; }
.brand-icon svg { width: 100%; height: 100%; stroke: none; }
.brand-word { font-size: 29px; letter-spacing: 3px; line-height: 1.2; font-weight: 600; }
.brand-word small { display: block; color: #78856b; font-size: 10px; letter-spacing: 1.5px; margin-top: 8px; font-weight: 400; }
.sound-button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border: 1px solid #d5deca; border-radius: 100px; background: #f1f4e9; font-size: 12px; letter-spacing: 1px; transition: background .2s, border-color .2s; }
.sound-button svg { width: 19px; height: 19px; }
.sound-button:hover { background: #e7eddc; border-color: #aaba98; }
.sound-button[aria-pressed="false"] { background: #f6f4ee; color: #78816f; }
.intro { text-align: center; padding: 38px 0 27px; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; color: #8b9878; font: 9px/1.5 Georgia, serif; letter-spacing: 1.8px; margin: 0 0 13px; }
.eyebrow > span { width: 20px; height: 1px; background: #c7d0b7; }
h1 { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.45; letter-spacing: 4px; margin: 0; }
h1 > span { display: inline-block; }
.intro-copy { margin: 11px 0 0; color: #78856c; font-size: 12px; line-height: 1.8; letter-spacing: 2px; }
.garden-card { position: relative; background: var(--card); border: 1px solid #e1e5d7; border-radius: 16px; box-shadow: 0 8px 38px #526d4506; overflow: hidden; }
.garden-topline { height: 46px; padding: 0 25px; display: flex; align-items: center; justify-content: space-between; color: #7c896e; border-bottom: 1px solid #eaede2; font-size: 10px; letter-spacing: 1px; }
.garden-topline > span { display: flex; align-items: center; gap: 8px; }
.garden-topline svg { width: 15px; height: 15px; color: #a2b18c; }
.garden-top-note { font: 8px Georgia, serif; letter-spacing: 1.8px; color: #9da68f; }
.garden { position: relative; height: 480px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #f5f7ee 0%, #f6f7ef 51%, #f2f4e7 78%, #e9efda 100%); touch-action: manipulation; cursor: crosshair; }
.garden::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#a0ae8918 .7px, transparent .7px); background-size: 6px 6px; pointer-events: none; }
.garden-light { position: absolute; width: 560px; height: 560px; left: -170px; top: -250px; border-radius: 50%; background: radial-gradient(ellipse, #fffefbbd 0%, #fffefb35 50%, transparent 72%); pointer-events: none; }
.distant-grass { position: absolute; pointer-events: none; bottom: 22px; border-left: 1px solid #b4c79765; border-radius: 50%; transform-origin: bottom; }
.grass-one { left: 4%; width: 28px; height: 75px; transform: rotate(-16deg); }
.grass-two { right: 6%; width: 33px; height: 51px; transform: rotate(28deg); }
.distant-grass::before, .distant-grass::after { content: ""; position: absolute; width: 17px; height: 35px; border-left: 1px solid #a9bd8a65; border-radius: 50%; left: 5px; bottom: 0; transform: rotate(38deg); transform-origin: bottom; }
.distant-grass::after { left: -9px; height: 42px; transform: rotate(-28deg); }
.ground-line { position: absolute; bottom: 27px; left: 5%; right: 5%; border-top: 1px solid #b6c79a4d; border-radius: 50%; height: 8px; pointer-events: none; }
.flower-layer { position: absolute; inset: 0; pointer-events: none; }
.garden-flower { position: absolute; width: var(--flower-width, 110px); height: 0; transform: translate(-50%, 0); border: 0; padding: 0; margin: 0; background: none; line-height: 0; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.garden-flower:focus-visible { outline: none; }
.garden-flower:focus-visible .plant-visual { filter: drop-shadow(0 0 4px #718d49); }
.plant-visual { position: absolute; bottom: 0; width: 100%; aspect-ratio: .68; transform-origin: 50% 100%; }
.plant-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.garden-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 30; }
.sparkle { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #eacb73; pointer-events: none; animation: sparkle-rise .8s ease-out both; }
@keyframes sparkle-rise { from { opacity: 0; transform: translateY(5px) scale(.6); } 22% { opacity: .8; } to { opacity: 0; transform: translateY(-28px) scale(.5); } }
.empty-hint { position: absolute; top: 45%; left: 50%; width: 100%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; pointer-events: none; text-align: center; color: #657b54; transition: opacity .3s; }
.tap-ring { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #b9c6a1; border-radius: 50%; background: #fffef83b; box-shadow: 0 0 0 9px #dce5ce30; margin-bottom: 22px; }
.tap-ring svg { width: 30px; height: 30px; stroke-width: 1; color: #9aac83; }
.empty-hint p { font-family: var(--serif); font-size: 20px; letter-spacing: 3px; margin: 0 0 13px; }
.empty-hint > span:last-of-type { color: #a0ad8e; font-size: 10px; letter-spacing: 2px; }
.hint-curve { position: absolute; width: 60px; height: 35px; top: 117px; left: calc(50% + 130px); color: #b1bf99; stroke-width: 1; transform: rotate(14deg); }
.garden-label { position: absolute; bottom: 11px; left: 25px; font: 7px Georgia, serif; letter-spacing: 2px; color: #a8b293; pointer-events: none; }
.discovery-card { padding: 22px 20px 23px; min-height: 138px; text-align: center; background: #fffdf8; border-top: 1px solid #e3e8d8; }
.discovery-caption { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 9px; letter-spacing: 1.7px; color: #9aa48b; margin-bottom: 10px; }
.caption-rule { width: 19px; height: 1px; background: #d8decc; }
.current-name { font: 500 30px/1.5 var(--serif); letter-spacing: 4px; margin: 0; color: #45603c; }
.current-fact { font-size: 11px; line-height: 1.9; letter-spacing: 1.1px; margin: 8px auto 0; color: #637553; max-width: 620px; }
.garden-actions { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 13px; margin-top: 19px; }
.action-button { min-height: 57px; padding: 14px 18px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #d5deca; border-radius: 11px; background: #f5f6ec; font-size: 13px; letter-spacing: 1px; transition: background .2s, transform .2s, border-color .2s; }
.action-button svg { width: 20px; height: 20px; color: #778f5c; }
.action-button:hover:not(:disabled) { background: #eaf0df; border-color: #adbf95; transform: translateY(-1px); }
.book-button { background: #e9efdb; border-color: #cdd8bb; }
.book-button > .action-arrow { width: 13px; height: 13px; color: #8c9e75; }
.replay-button { background: #f8f3e3; border-color: #e8ddbc; }
.replay-button svg { color: #a7955d; }
.replay-button:hover:not(:disabled) { background: #f3ebcd; border-color: #cebd87; }
.action-button:disabled { opacity: .5; }
.new-button { background: transparent; color: #5f704f; }
.new-button svg { color: #91a27a; }
.voice-status { min-height: 19px; margin: 14px 0 0; text-align: center; font-size: 10px; line-height: 1.8; letter-spacing: .6px; color: #66765a; }
.voice-status:empty { display: none; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 0; border-radius: 100px; background: #405438ed; color: #fffdf6; max-width: calc(100% - 32px); font-size: 12px; line-height: 1.6; text-align: center; pointer-events: none; box-shadow: 0 5px 25px #34463515; }
.toast:not(:empty) { padding: 12px 22px; }
.site-footer { margin-top: 31px; padding: 22px 0 30px; border-top: 1px solid var(--line); display: flex; align-items: start; justify-content: space-between; gap: 22px; }
.footer-note { display: flex; gap: 7px; align-items: center; font: 11px/1.8 var(--serif); letter-spacing: 1px; color: #8d9a7c; padding-top: 2px; white-space: nowrap; }
.footer-note svg { width: 14px; height: 14px; }
.parent-note { color: #65745b; max-width: 420px; font-size: 10px; line-height: 1.9; }
.parent-note summary { display: flex; justify-content: flex-end; align-items: center; gap: 14px; list-style: none; cursor: pointer; padding: 4px 0; min-height: 32px; letter-spacing: 1px; }
.parent-note summary::-webkit-details-marker { display: none; }
.parent-note summary > span { color: #a6b294; font-size: 15px; }
.parent-note[open] summary > span { transform: rotate(45deg); }
.parent-note > div { margin-top: 12px; padding: 15px 18px; border: 1px solid #e1e5d7; background: #faf9f2; border-radius: 9px; }
.parent-note p { margin: 0 0 10px; }
.parent-note p:last-child { margin-bottom: 0; }
.flower-dialog { width: calc(100% - 34px); max-width: 680px; padding: 25px 30px 22px; color: var(--ink); border: 1px solid #dce3d0; border-radius: 19px; background: var(--card); box-shadow: 0 20px 80px #34463522; max-height: 88dvh; overflow: auto; }
.flower-dialog::backdrop { background: #30422d4d; backdrop-filter: blur(4px); }
.dialog-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-eyebrow { font: 9px Georgia, serif; letter-spacing: 1.8px; color: #9ba88b; }
.close-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e4e8da; background: #f5f6ec; border-radius: 50%; color: #7b8c6b; font-family: sans-serif; font-size: 24px; line-height: 1; }
.close-button:hover { background: #e9efdb; }
.flower-dialog h2 { font: 500 28px/1.5 var(--serif); letter-spacing: 3px; margin: 13px 0 9px; }
.dialog-copy { margin: 0 0 22px; font-size: 11px; letter-spacing: .8px; line-height: 1.7; color: #859477; }
.flower-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.flower-choice { position: relative; min-width: 0; min-height: 148px; border: 1px solid #e4e8d9; border-radius: 10px; padding: 11px 5px 13px; background: #fbfcf5; display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 8px; overflow: hidden; font-size: 12px; letter-spacing: .5px; color: #617650; transition: background .2s, border-color .2s; }
.flower-choice img { display: block; width: 100%; height: 103px; object-fit: contain; }
.flower-choice .choice-visual { width: 100%; height: 103px; background-position: center; background-repeat: no-repeat; background-size: contain; }
.flower-choice:hover { background: #f0f4e6; border-color: #b6c99c; }
.flower-choice[aria-pressed="true"], .flower-choice.is-selected { border-color: #8ca96b; background: #eaf1dc; box-shadow: 0 0 0 1px #8ca96b inset; }
.flower-choice.is-random { background: #f7f2dd; border-color: #e6d9ad; }
.dialog-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; font: 11px/1.8 var(--serif); letter-spacing: 1px; color: #99a38c; margin: 22px 0 0; }
.dialog-footnote svg { width: 14px; height: 14px; }
@media (min-width: 1200px) {
  .garden { height: 510px; }
  .intro { padding-top: 42px; padding-bottom: 30px; }
}
@media (max-width: 820px) {
  .page-shell { padding: 0 28px; }
  .site-header { height: 98px; }
  .brand-word { font-size: 26px; }
  .brand-icon { width: 34px; height: 42px; }
  .intro { padding: 32px 0 24px; }
  h1 { font-size: 39px; letter-spacing: 3px; }
  .garden { height: 430px; }
  .garden-topline { padding: 0 20px; font-size: 9px; }
  .garden-top-note { font-size: 7px; }
  .garden-actions { gap: 10px; }
  .action-button { font-size: 11px; letter-spacing: .6px; padding: 13px 10px; gap: 7px; }
  .action-button svg { width: 18px; height: 18px; }
  .book-button > .action-arrow { display: none; }
  .site-footer { gap: 18px; }
  .footer-note { font-size: 10px; letter-spacing: .6px; }
}
@media (max-width: 520px) {
  .page-shell { padding: 0 17px; }
  .site-header { height: 90px; }
  .brand { gap: 9px; }
  .brand-word { font-size: 25px; letter-spacing: 2.5px; }
  .brand-word small { font-size: 8px; letter-spacing: 1.2px; margin-top: 7px; }
  .brand-icon { width: 31px; height: 40px; }
  .sound-button { min-height: 44px; font-size: 10px; gap: 6px; padding: 10px 12px; letter-spacing: .6px; }
  .sound-button svg { width: 17px; height: 17px; }
  .intro { padding: 28px 0 22px; }
  .eyebrow { font-size: 7px; letter-spacing: 1.3px; gap: 8px; margin-bottom: 11px; }
  .eyebrow > span { width: 14px; }
  h1 { font-size: 33px; letter-spacing: 2px; }
  .intro-copy { font-size: 10px; letter-spacing: 1.3px; margin-top: 10px; }
  .garden-card { border-radius: 13px; }
  .garden-topline { height: 40px; padding: 0 14px; font-size: 8px; letter-spacing: .55px; }
  .garden-topline > span { gap: 6px; }
  .garden-topline svg { width: 13px; height: 13px; }
  .garden-top-note { display: none !important; }
  .garden { height: 360px; }
  .garden-label { left: 15px; bottom: 10px; font-size: 6px; letter-spacing: 1.5px; }
  .empty-hint { top: 44%; }
  .tap-ring { width: 51px; height: 51px; margin-bottom: 21px; box-shadow: 0 0 0 8px #dce5ce30; }
  .tap-ring svg { width: 26px; height: 26px; }
  .empty-hint p { font-size: 17px; letter-spacing: 1.6px; margin-bottom: 12px; }
  .empty-hint > span:last-of-type { font-size: 9px; letter-spacing: 1.3px; }
  .hint-curve { width: 39px; height: 26px; top: 112px; left: calc(50% + 100px); }
  .distant-grass { bottom: 21px; }
  .grass-one { height: 54px; }
  .grass-two { height: 40px; }
  .ground-line { bottom: 25px; }
  .discovery-card { padding: 19px 13px 21px; min-height: 137px; }
  .discovery-caption { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 9px; }
  .caption-rule { width: 16px; }
  .current-name { font-size: 25px; line-height: 1.5; letter-spacing: 2px; }
  .current-fact { font-size: 10px; line-height: 1.85; letter-spacing: .55px; margin-top: 8px; }
  .garden-actions { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
  .action-button { min-height: 55px; padding: 13px 9px; font-size: 11px; letter-spacing: .3px; gap: 7px; border-radius: 10px; }
  .new-button { grid-column: 1 / -1; min-height: 44px; width: auto; justify-self: center; padding: 9px 20px; border-color: transparent; font-size: 10px; }
  .new-button svg { width: 16px; height: 16px; }
  .voice-status { font-size: 9px; letter-spacing: .3px; margin-top: 3px; padding: 0 10px; }
  .site-footer { flex-direction: column; align-items: center; margin-top: 22px; padding: 20px 0 26px; gap: 10px; }
  .footer-note { font-size: 10px; }
  .parent-note { width: 100%; max-width: 100%; font-size: 10px; }
  .parent-note summary { justify-content: center; min-height: 44px; font-size: 10px; }
  .flower-dialog { padding: 18px 18px 20px; border-radius: 15px; max-height: 90dvh; }
  .dialog-eyebrow { font-size: 7px; letter-spacing: 1.4px; }
  .flower-dialog h2 { font-size: 25px; letter-spacing: 2px; margin-top: 12px; }
  .dialog-copy { font-size: 10px; letter-spacing: .5px; margin-bottom: 18px; }
  .flower-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .flower-choice { min-height: 136px; border-radius: 9px; padding: 10px 3px 12px; gap: 6px; font-size: 10px; letter-spacing: .2px; }
  .flower-choice img, .flower-choice .choice-visual { height: 93px; }
  .dialog-footnote { font-size: 10px; margin-top: 18px; }
}
@media (max-width: 350px) {
  .page-shell { padding: 0 12px; }
  .brand-word { font-size: 23px; }
  .brand-word small { font-size: 7px; }
  .sound-button { padding: 10px; font-size: 9px; }
  h1 { font-size: 29px; letter-spacing: 1.5px; }
  .eyebrow { letter-spacing: 1px; font-size: 6px; }
  .garden { height: 340px; }
  .empty-hint p { font-size: 15px; }
  .hint-curve { left: calc(50% + 89px); }
  .current-name { font-size: 22px; letter-spacing: 1.5px; }
  .action-button { font-size: 10px; gap: 5px; }
  .flower-choice { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
