:root { color-scheme: light; --ink: #292b38; --muted: #777887; --paper: #fffaf0; --cream: #fff2d6; --orange: #f47752; --pink: #f5c5b9; --line: #f0dfc7; --blue: #cfe8e5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif; }
.site-header { max-width: 1120px; margin: auto; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.header-link, footer a { color: var(--muted); font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero { padding: 72px 24px 76px; text-align: center; background: radial-gradient(ellipse at 15% 10%, #ffe6d6 0, transparent 30%), radial-gradient(ellipse at 82% 22%, #dff0e7 0, transparent 28%), var(--cream); border-top: 1px solid #f8e7ca; border-bottom: 1px solid #f1e1c5; }
.eyebrow { margin: 0 0 12px; color: #c5684c; font-weight: 700; letter-spacing: .09em; font-size: 12px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-size: clamp(36px, 6vw, 64px); line-height: 1.35; letter-spacing: .03em; }
.hero h1 span { color: var(--orange); }
.hero-copy { margin: 20px auto 26px; color: #666779; }
.jump-link { display: inline-block; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; border-bottom: 2px solid #edb393; padding: 5px 2px; }
.lab { max-width: 1120px; margin: auto; padding: 72px 28px 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 25px; }
.section-heading h2 { margin: 0; font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-size: 30px; }
.lab-stamp { color: #7e8b76; border: 1px dashed #adc2aa; border-radius: 50%; padding: 12px 10px; font-size: 11px; transform: rotate(7deg); }
.app-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.app-card { grid-column: span 2; min-width: 0; min-height: 260px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px 20px 20px 7px; box-shadow: 0 5px 0 #f4e9d9; }
.app-card.featured { grid-column: span 3; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.app-icon { font-size: 25px; }
.tag { padding: 5px 9px; border-radius: 20px; background: #f8eee2; color: #92745f; font-size: 10px; }
.app-card h3 { margin-bottom: 7px; font-size: 18px; }
.app-card > p { min-height: 42px; margin-bottom: 15px; color: var(--muted); font-size: 12px; line-height: 1.7; }
input { width: 100%; margin-bottom: 9px; padding: 12px 13px; border: 1px solid #e9dfd4; border-radius: 10px; outline: none; color: var(--ink); font: inherit; font-size: 13px; }
input:focus { border-color: #e99c7e; box-shadow: 0 0 0 3px #fce9df; }
.button { min-height: 40px; padding: 9px 14px; border: 0; border-radius: 11px; font: inherit; font-weight: 700; font-size: 12px; cursor: pointer; transition: transform .15s, filter .15s; }
.button:hover { transform: translateY(-1px); filter: brightness(.98); }
.button:focus-visible, a:focus-visible { outline: 3px solid #74a9a5; outline-offset: 3px; }
.primary { color: #fff; background: var(--orange); }
.subtle { color: #656577; background: #f1eee9; }
.result { margin-top: 15px; padding: 14px; background: #fff7e7; border-radius: 12px; border: 1px dashed #edcf9d; }
.result-copy { margin: 0 0 12px; color: #595568; font-size: 14px; line-height: 1.8; white-space: pre-line; }
.button-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-actions .button { flex: 1; }
.counter-value { padding: 4px 0 10px; text-align: center; font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-size: 36px; color: #658a84; }
.counter-status { margin: 0 0 12px; text-align: center; color: #8a847c; font-size: 11px; }
.clock-value { margin: 18px 0 5px; text-align: center; font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-size: 36px; color: #7f7669; font-variant-numeric: tabular-nums; }
.clock-caption { text-align: center; font-size: 11px; color: #9b8c7b; }
.mission-goal { min-height: auto !important; margin: 12px 0 8px !important; color: #595568 !important; font-size: 12px !important; line-height: 1.7; }
.mission-progress { min-height: 18px !important; margin: 0 0 6px !important; color: #658a84 !important; font-size: 11px !important; }
.app-share { display: block; margin: 14px auto 0; }
.wiki-title { font-weight: 700; }
.wiki-source { display: inline-block; margin: 0 0 12px; color: #667f7b; font-size: 11px; text-underline-offset: 3px; }
.bubble-field { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.bubble { display: inline-block; padding: 7px 10px; color: #526f72; background: var(--blue); border-radius: 15px 15px 15px 4px; font-size: 11px; transform: rotate(var(--tilt)); animation: pop .22s ease-out both; }
@keyframes pop { from { transform: scale(.3) rotate(var(--tilt)); opacity: 0; } to { transform: scale(1) rotate(var(--tilt)); opacity: 1; } }
footer { padding: 25px 28px; display: flex; justify-content: center; gap: 22px; border-top: 1px solid var(--line); color: #9b948a; font-size: 12px; }
footer p { margin: 0; }
.policy { max-width: 760px; min-height: 70vh; margin: 35px auto 70px; padding: 0 28px; line-height: 1.9; }
.policy h1 { margin-bottom: 22px; font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif; }
.policy h2 { margin: 32px 0 8px; font-size: 18px; }
.policy p { color: #626271; }
.policy-date { margin-top: 35px; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) { .hero { padding: 60px 20px; } .lab { padding: 55px 18px 70px; } .app-grid { grid-template-columns: 1fr 1fr; gap: 13px; } .app-card, .app-card.featured { grid-column: span 1; padding: 17px; } .section-heading h2 { font-size: 25px; } .lab-stamp { font-size: 9px; padding: 10px 8px; } }
@media (max-width: 520px) { .site-header { padding: 18px; } .brand { font-size: 14px; } .header-link { font-size: 11px; } .app-grid { grid-template-columns: 1fr; } .app-card, .app-card.featured { grid-column: 1; min-height: 0; } .app-card > p { min-height: auto; } .section-heading { align-items: center; } footer { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
