:root{--paper:#f8f3e8;--panel:#fffaf1;--ink:#24313a;--green:#304b39;--sage:#4f7055;--line:#ded3bf;--gold:#ad965f;--muted:#59665d}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans JP',Meiryo,sans-serif;font-size:16px;line-height:1.9}h1,h2,h3,.brand,.featured-card strong,.related-card strong,.mini-link strong{font-family:'Noto Serif JP',YuMincho,serif}h1,h2,h3,p{margin-top:0}h2{font-size:1.6rem;line-height:1.5;font-weight:600}h3{font-size:1.15rem;line-height:1.6}a{color:var(--green);text-underline-offset:4px}button,input,select{font:inherit}button,select{cursor:pointer}button{color:var(--green)}button svg{width:21px;height:21px}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #567eaa;outline-offset:4px}button:disabled{cursor:default}.page-shell{width:min(1180px,calc(100% - 72px));margin-inline:auto}.site-header{background:rgba(248,243,232,.98);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.header-inner{max-width:1320px;margin:auto;padding:15px 36px;display:flex;align-items:center;gap:28px;min-height:88px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap;line-height:1.3;font-size:1.5rem;font-weight:600}.brand svg{width:43px;height:40px;flex:none}.brand small{display:block;font-size:.75rem;font-family:'Noto Sans JP',sans-serif;font-weight:400;margin-top:6px;letter-spacing:.04em}.main-nav{margin-left:auto;display:flex;gap:25px;font-size:.875rem;font-weight:500}.main-nav a{text-decoration:none}.search-shortcut{display:flex;margin-left:auto}.main-nav+.search-shortcut{margin-left:0}.search-shortcut svg{width:24px;height:24px}.mobile-menu{display:none}.breadcrumb{display:flex;flex-wrap:wrap;gap:12px;font-size:.8125rem;padding-block:13px}.breadcrumb a{text-decoration:none;color:var(--muted)}.hero{position:relative;isolation:isolate;overflow:hidden;background:#fbf7ed}.hero-image{position:absolute;right:0;bottom:0;height:100%;width:73%;object-fit:cover;object-position:right bottom;z-index:-1}.home-hero{min-height:580px;display:flex;align-items:center}.hero-copy{padding-block:42px;position:relative}.hero-copy>*{max-width:570px}.eyebrow{display:inline-block;font-size:.875rem;color:#fff;background:var(--sage);line-height:1.5;padding:4px 12px;margin-bottom:20px;text-decoration:none}.home-hero h1{font-size:clamp(2.5rem,4.1vw,3.65rem);font-weight:600;line-height:1.42;letter-spacing:.06em;margin-bottom:18px}.hero-copy p{line-height:1.85}.search-form{display:flex;align-items:center;max-width:560px;background:#fffdf7;border:1px solid #c6bca8;border-radius:8px;overflow:hidden;height:58px;margin-top:25px}.search-form svg{width:22px;height:22px;flex:none;margin-inline:16px}.search-form input{border:0;background:transparent;min-width:0;width:100%;height:100%;padding:0 10px 0 0;font-size:1rem}.search-form button{border:0;align-self:stretch;padding:0 25px;background:var(--sage);color:#fff}.keyword-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}.keyword-chips a,.origin-links a{padding:4px 16px;text-decoration:none;border:1px solid var(--line);border-radius:24px;background:#fbf8f0;font-size:.875rem}.home-content>section{margin-block:40px}.section-title{display:flex;align-items:center;gap:13px;margin-bottom:18px}.section-title:before{content:'';width:14px;height:22px;border-radius:16px 1px 16px 1px;background:var(--sage);transform:rotate(25deg);flex:none}.section-title:after{content:'';width:45px;height:1px;background:var(--gold);margin-left:5px}.section-intro{color:var(--muted);font-size:.9375rem;margin-top:-9px}.scene-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.scene-grid a{min-height:88px;display:flex;align-items:center;gap:19px;background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:18px;text-decoration:none;font-family:'Noto Serif JP',serif;font-size:1.1rem}.leaf-mark{color:var(--sage);font-size:2rem;line-height:1}.featured-grid,.word-grid,.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.featured-card,.word-card,.related-card{position:relative;border:1px solid var(--line);border-radius:6px;background:var(--panel);min-width:0}.featured-card,.related-card{padding:23px;display:block;text-decoration:none}.featured-card strong{display:block;font-size:2rem;font-weight:600}.featured-card p,.word-card p,.related-card p{font-size:.9375rem;line-height:1.8;margin:12px 0}.reading{display:block;color:var(--muted);font-size:.875rem}.read-link{display:inline-block;font-size:.875rem;text-decoration:underline;text-underline-offset:5px;margin-top:9px}.origins-panel{background:#e9eedf;border:1px solid #d4ddc6;border-radius:8px;padding:32px}.origin-links{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.origin-links a{border-radius:6px}.text-link{font-size:.9375rem}.daily-row{display:grid;grid-template-columns:1fr 1fr;gap:32px}.today-panel{background:var(--panel);border:1px solid var(--line);padding:24px;border-radius:6px}.mini-link{display:block;text-decoration:none;padding:12px 0;border-bottom:1px solid var(--line)}.mini-link:last-child{border-bottom:0}.mini-link strong{display:block;font-size:1.4rem}.mini-link span{font-size:.875rem;line-height:1.7;color:var(--muted);display:block;margin-top:6px}.category-links a{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:9px 0;text-decoration:none}.category-links span{font-size:.875rem;color:var(--muted);white-space:nowrap}.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}.filters label{display:flex;flex-direction:column;font-size:.875rem;gap:5px}.filters select,.filters button,.kana-filter button{min-height:42px;border:1px solid #c9bfab;border-radius:5px;background:var(--panel);padding:7px 12px;max-width:100%}.kana-filter{display:flex;gap:7px;flex-wrap:wrap}.kana-filter button{min-width:42px}.filters button[aria-pressed=true],.kana-filter button[aria-pressed=true]{background:var(--green);color:#fff}.word-card>a{display:block;padding:23px;text-decoration:none;min-height:238px}.word-card h3{font-size:1.7rem;line-height:1.5;margin:9px 28px 0 0;overflow-wrap:anywhere}.card-category{font-size:.75rem;color:var(--muted)}.save-card{position:absolute;top:17px;right:12px;display:grid;place-items:center;border:0;background:transparent;min-width:42px;min-height:42px}.save-card[aria-pressed=true]{color:#a26e20}.save-card[aria-pressed=true] svg{fill:#e8ce8b}.about-strip{padding:25px 0;border-top:1px solid var(--line)}.term-hero{min-height:420px;display:flex;align-items:center}.term-hero .hero-image{width:65%}.term-hero h1{font-size:clamp(2.6rem,4.5vw,4.2rem);margin:0;line-height:1.4;max-width:53%;overflow-wrap:anywhere}.hero-reading{font-size:1.1rem;margin:0 0 12px;letter-spacing:.16em}.term-teaser{font-family:'Noto Serif JP',serif;font-size:1.6rem;max-width:510px!important;line-height:1.65!important}.save-button{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;min-height:46px;border:1px solid #b9a889;border-radius:5px;background:#fffaf2;font-size:.875rem}.save-button[aria-pressed=true]{background:#e6eddd}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:36px;margin-top:30px}.term-article section{margin-bottom:35px}.term-article p{line-height:2}.definition-panel{border:1px solid #cdbfaa;border-radius:6px;background:#fffaf1;padding:24px 28px}.definition-panel p:last-child{margin-bottom:0}.definition{font-family:'Noto Serif JP',serif;font-size:1.5rem;line-height:1.7!important;font-weight:600}.editorial-note{color:var(--sage);font-size:.875rem;line-height:1.9}.meaning-parts{display:grid;grid-template-columns:1fr 1fr;gap:15px}.meaning-parts>div{padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:5px}.meaning-parts strong{font-family:'Noto Serif JP',serif;font-size:2.5rem;line-height:1.3}.meaning-parts h3{margin:10px 0}.meaning-parts p:last-child{margin:0;font-size:.9375rem}.facts{padding-left:24px}.facts li{margin:8px 0}.reflection-panel{padding:24px 28px;background:#e7ecdd;border-radius:6px}.reflection-panel p{font-family:'Noto Serif JP',serif;font-size:1.25rem;margin-bottom:8px}.reflection-panel small{font-size:.875rem;color:var(--muted)}.side-panel{border:1px solid var(--line);background:var(--panel);padding:21px;border-radius:6px;margin-bottom:20px}.side-panel h2{font-size:1.2rem;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px}.side-panel ol{padding-left:20px;font-size:.875rem;margin:0}.side-panel li{padding:10px 0;border-bottom:1px solid var(--line)}.side-panel li:last-child{border-bottom:0}.side-panel li a{text-decoration:none}.side-panel p{font-size:.875rem;line-height:1.9}.detail-bottom section{margin:30px 0}.related-card strong{display:block;font-size:1.5rem;overflow-wrap:anywhere}.sources-section{border-top:1px solid var(--line);padding-top:25px}.sources-section ul{padding-left:23px}.sources-section li{margin-bottom:15px}.sources-section li p{margin:4px 0;font-size:.875rem;color:var(--muted)}.updated{font-size:.8125rem;color:var(--muted)}.back-link{display:block;text-align:center;margin:30px auto 40px}.site-footer{border-top:1px solid var(--line);padding:30px 36px 15px}.footer-inner{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-inner nav{display:flex;gap:20px;flex-wrap:wrap;font-size:.8125rem}.footer-bottom{text-align:center;font-size:.75rem;color:var(--muted);margin:20px 0 0}.about-page{max-width:900px;padding-block:30px}.about-page h1{font-size:2.5rem}.about-page section{margin:38px 0}.about-page li{margin:13px 0}.lead{font-family:'Noto Serif JP',serif;font-size:1.35rem}.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}.skip-link{position:absolute;left:10px;top:-80px;z-index:100;padding:8px;background:#fff}.skip-link:focus{top:5px}[hidden]{display:none!important}
@media(max-width:1050px){.main-nav{display:none}.search-shortcut{margin-left:auto!important}.mobile-menu{display:block;position:relative;font-size:.875rem}.mobile-menu summary{min-height:42px;padding:8px;cursor:pointer}.mobile-menu nav{position:absolute;right:0;top:49px;min-width:240px;background:#fffaf1;box-shadow:0 8px 25px #24313a22;border:1px solid var(--line);border-radius:6px;padding:12px}.mobile-menu nav a{display:block;text-decoration:none;padding:9px}.detail-layout{grid-template-columns:minmax(0,1fr) 240px;gap:24px}.hero-copy>*{max-width:50%}.term-teaser{max-width:50%!important}.search-form{max-width:54%}.home-hero h1{font-size:2.8rem}.hero-image{width:83%}.brand{font-size:1.35rem}.scene-grid a{font-size:1rem;padding:16px;gap:12px}}
@media(max-width:760px){html{scroll-padding-top:90px}.header-inner{padding:12px 20px;gap:14px;min-height:76px}.brand{font-size:1.2rem;gap:8px}.brand svg{width:34px;height:33px}.brand small{font-size:.65rem}.page-shell{width:calc(100% - 40px)}.breadcrumb{font-size:.75rem;gap:8px}.hero{display:flex;flex-direction:column;align-items:stretch;min-height:0}.hero-copy{order:0;padding:28px 0 18px}.hero-copy>*{max-width:100%!important}.hero-image,.term-hero .hero-image{position:static;order:1;width:100%;height:300px;object-fit:cover;object-position:right bottom;z-index:0}.home-hero h1{font-size:2.7rem}.hero-copy p{font-size:.9375rem}.search-form{max-width:100%;height:54px}.search-form input{font-size:.9375rem}.search-form button{padding:0 18px}.home-content>section{margin-block:30px}.scene-grid{grid-template-columns:1fr 1fr;gap:10px}.scene-grid a{font-size:.9375rem;line-height:1.6;gap:10px;padding:16px 12px;min-height:86px}.leaf-mark{font-size:1.4rem}.featured-grid,.word-grid,.related-grid{grid-template-columns:1fr 1fr;gap:12px}.featured-card,.related-card{padding:19px}.featured-card strong{font-size:1.8rem}.origins-panel{padding:23px}.daily-row{grid-template-columns:1fr;gap:24px}.section-title{font-size:1.45rem}.detail-layout{display:flex;flex-direction:column;margin-top:25px;gap:0}.detail-sidebar{order:-1}.detail-sidebar .side-panel:not(:first-child){display:none}.detail-sidebar ol{columns:2;font-size:.8125rem}.detail-sidebar li{break-inside:avoid}.term-hero h1{max-width:100%;font-size:3.2rem}.term-hero .hero-reading{font-size:1.1rem}.term-hero .term-teaser{font-size:1.35rem}.definition-panel{padding:21px}.definition{font-size:1.35rem}.term-article section{margin-bottom:30px}.meaning-parts>div{padding:16px}.word-card>a{padding:21px 17px;min-height:238px}.word-card h3{font-size:1.45rem}.footer-inner{display:block}.footer-inner nav{margin-top:24px}.site-footer{padding:25px 20px}.about-page h1{font-size:2rem}}
@media(max-width:430px){.header-inner{padding-inline:15px;gap:10px}.brand{font-size:1.06rem}.brand small{font-size:.6rem}.brand svg{width:30px}.search-shortcut svg{width:21px;height:21px}.mobile-menu summary{font-size:.8125rem;padding:8px 2px}.page-shell{width:calc(100% - 32px)}.home-hero h1{font-size:2.35rem}.hero-copy p br{display:none}.hero-image,.term-hero .hero-image{height:275px}.word-grid{grid-template-columns:1fr}.featured-grid{grid-template-columns:1fr 1fr}.featured-card{padding:17px}.featured-card strong{font-size:1.6rem}.related-grid{grid-template-columns:1fr}.filters{gap:10px}.filters label{max-width:100%;flex:1 1 135px}.filters button{font-size:.875rem}.side-panel{padding:17px}.detail-sidebar ol{columns:1}.meaning-parts{gap:10px}.meaning-parts h3{font-size:1rem}.scene-grid a{font-size:.875rem}.leaf-mark{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Keep copy readable beside the travel cat, including tablet widths. */
.hero-image,.term-hero .hero-image{width:100%;z-index:-2}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fbf7ed 0%,#fbf7edfa 27%,#fbf7edd9 44%,#fbf7ed70 55%,transparent 70%);z-index:-1;pointer-events:none}.search-form button{white-space:nowrap;flex-shrink:0}.home-hero h1{font-size:clamp(2rem,4vw,3.5rem)}
@media(min-width:761px) and (max-width:1050px){.hero-copy>p{font-size:.9375rem}.hero-copy>*{max-width:54%}.search-form{max-width:54%}.term-teaser{max-width:52%!important}}
@media(max-width:760px){.hero:after{display:none}.hero-image,.term-hero .hero-image{z-index:0}.home-hero h1{font-size:clamp(1.7rem,6vw,2.7rem)}}
/* Bound the scene to the reading column and preserve the entire illustration. */
@media(min-width:761px){.hero-image,.term-hero .hero-image{right:max(0px,calc((100% - 1180px)/2));width:min(1180px,100%);object-fit:contain;object-position:right bottom}.hero:after{display:none}}
@media(max-width:360px){.brand{font-size:.95rem;gap:6px}.brand svg{width:26px}.mobile-menu summary{white-space:nowrap}.header-inner{gap:8px}}
@media(max-width:360px){.brand{font-size:.95rem;gap:6px}.brand svg{width:26px}.mobile-menu summary{white-space:nowrap}.header-inner{gap:8px}}

.term-link,.term-link:visited,.term-link:hover,.term-link:focus{color:inherit;text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:.2em}.term-link:hover,.term-link:focus{text-decoration-thickness:2px}
