:root{--ink:#16312d;--muted:#64756f;--line:#d9e4df;--paper:#fbfcfa;--soft:#eef5f1;--green:#19735e;--deep:#0d4f41;--sun:#eea83b;--white:#fff;--shadow:0 18px 45px rgba(28,65,54,.08);font-family:"Noto Sans JP","Yu Gothic UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:0;background:linear-gradient(180deg,#fff 0,#fbfcfa 45%,#f4f8f5 100%);line-height:1.75}a{color:inherit}button,input,select{font:inherit}header{position:sticky;top:0;z-index:30;min-height:76px;padding:12px clamp(18px,4vw,64px);background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:28px}.brand{text-decoration:none;display:flex;flex-direction:column;line-height:1.25}.brand b{color:var(--green);font-size:.8rem;letter-spacing:.14em}.brand span{font-weight:800;white-space:nowrap}nav{margin-left:auto;display:flex;gap:20px;align-items:center}nav a{text-decoration:none;font-size:.88rem;font-weight:700;white-space:nowrap}nav a:hover{color:var(--green)}.menu-button{display:none;margin-left:auto;background:transparent;border:1px solid var(--ink);padding:8px 11px;font-weight:800}.hero,.page-hero{max-width:1180px;margin:auto;padding:clamp(52px,8vw,104px) clamp(20px,5vw,74px)}.hero{min-height:520px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 85% 20%,#d3eadf 0,transparent 32%),linear-gradient(135deg,#f9fcfa,#edf6f1);max-width:none}.hero>*{width:100%;max-width:820px;margin-left:auto;margin-right:auto}.eyebrow,.feature-link>span{display:block;color:var(--green);letter-spacing:.18em;font-size:.77rem;font-weight:900;text-transform:uppercase}.hero h1,.page-hero h1,.error-page h1{font-size:clamp(2.35rem,6vw,5.4rem);line-height:1.05;letter-spacing:-.055em;margin:.25em 0}.page-hero h1{font-size:clamp(2.2rem,5vw,4.5rem)}.lead,.page-hero p{font-size:clamp(1rem,2vw,1.2rem);color:#465e57;max-width:720px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 22px;border:1px solid var(--green);background:white;color:var(--green);font-weight:800;text-decoration:none;cursor:pointer;border-radius:3px}.button.primary{background:var(--green);color:white}.button:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(25,115,94,.16)}.notice{max-width:1080px;margin:-32px auto 20px;padding:22px 26px;border-left:5px solid var(--sun);background:#fff7e9;box-shadow:var(--shadow)}.notice p{margin:.4em 0}.notice.compact{margin-top:-24px}.section,.law-note{max-width:1180px;margin:0 auto;padding:58px clamp(20px,4vw,50px)}.section-head,.results-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section h2,.law-note h2{line-height:1.3;margin:.2em 0;font-size:clamp(1.55rem,3vw,2.3rem)}.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.stat{background:white;padding:22px}.stat strong{display:block;font-size:clamp(1.8rem,4vw,3rem);line-height:1;color:var(--green)}.stat span{font-size:.84rem;color:var(--muted)}.search-panel{background:white;border:1px solid var(--line);margin-top:35px}.filter-row,.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:14px;align-items:end}.filters{padding:20px;background:var(--soft);border:1px solid var(--line)}label{display:grid;gap:6px;font-size:.83rem;font-weight:800}input,select{width:100%;min-height:47px;border:1px solid #b8c9c2;background:white;padding:9px 11px;color:var(--ink);border-radius:2px}.check{display:flex;align-items:center;gap:8px;min-height:47px}.check input{width:18px;min-height:18px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:7px 12px;border:1px solid var(--line);background:white;text-decoration:none;font-size:.85rem}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.feature-link{display:block;text-decoration:none;padding:34px;background:var(--deep);color:white;min-height:230px}.feature-link span{color:#aee2d2}.feature-link p{color:#d7e7e1}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.animal-card,.list-card,.pref-card,.text-card{background:white;border:1px solid var(--line);padding:20px;box-shadow:0 9px 30px rgba(28,65,54,.045)}.animal-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--soft);font-size:1.55rem}.animal-card h3,.list-card h3,.pref-card h3{font-size:1.12rem;margin:.7em 0 .25em}.tag{display:inline-block;padding:3px 8px;background:var(--soft);color:var(--deep);font-weight:800;font-size:.72rem;margin:0 5px 5px 0}.meta{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;font-size:.84rem;margin:14px 0}.meta dt{color:var(--muted)}.meta dd{margin:0;font-weight:700}.source-row{border-top:1px solid var(--line);padding-top:12px;font-size:.78rem;color:var(--muted)}.source-row a{display:inline-block;color:var(--green);font-weight:800;margin-top:8px}.results-head{margin-top:35px}.results-head span{color:var(--muted)}.empty{padding:28px;background:#fff7e9;border-left:4px solid var(--sun);margin-top:18px}.list-grid{display:grid;gap:12px}.list-card{display:grid;grid-template-columns:1fr auto;gap:10px 24px}.list-card .meta{grid-column:1/-1}.pref-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pref-counts{display:flex;gap:8px;margin:12px 0}.pref-card .button{width:100%;margin-top:8px}.text-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.text-card h2{font-size:1.25rem}.law-note{background:var(--deep);color:white;margin-bottom:60px}.law-note a{color:#bfeedd}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;background:white}.data-table th,.data-table td{padding:10px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}.data-table th:first-child,.data-table td:first-child{text-align:left}.source{font-size:.82rem;color:var(--muted);margin-top:20px}.error-page{min-height:65vh;display:grid;place-content:center;text-align:center;padding:30px}.error-page .hero-actions{justify-content:center}footer{padding:42px clamp(20px,5vw,70px);background:#102c27;color:#d7e6e1;display:grid;grid-template-columns:2fr 1fr;gap:24px}footer p{max-width:750px;color:#aac0b8;font-size:.85rem}.footer-links{display:grid;gap:7px}.footer-links a{color:white}footer small{grid-column:1/-1;border-top:1px solid #365049;padding-top:18px;color:#90aaa1}@media(max-width:980px){nav{display:none;position:absolute;top:76px;left:0;right:0;background:white;padding:18px;grid-template-columns:repeat(2,1fr);border-bottom:1px solid var(--line)}nav.open{display:grid}.menu-button{display:block}.stats-grid{grid-template-columns:repeat(3,1fr)}.card-grid,.pref-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){header{min-height:66px;padding:10px 16px}.brand span{font-size:.83rem}.hero{min-height:auto;padding-top:62px;padding-bottom:65px}.hero h1 br,.page-hero h1 br{display:none}.hero-actions .button{flex:1 1 45%}.notice{margin:0 14px;padding:16px 18px}.section{padding:42px 16px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat:last-child{grid-column:1/-1}.split,.text-grid,.card-grid,.pref-grid{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr;padding:14px}.filters .button{grid-column:1/-1}.list-card{grid-template-columns:1fr}.page-hero{padding:44px 18px 38px}.animal-card{display:grid;grid-template-columns:52px 1fr;gap:0 12px}.animal-card .tags,.animal-card .meta,.animal-card .source-row{grid-column:1/-1}.footer-links{grid-template-columns:1fr 1fr}footer{grid-template-columns:1fr;padding:36px 20px}footer small{grid-column:1}}@media(max-width:370px){.brand span{font-size:.74rem}.brand b{font-size:.68rem}.filters{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr}.stat:last-child{grid-column:auto}}
@media(max-width:620px){html,body{max-width:100%;overflow-x:hidden}header{gap:10px}.brand{min-width:0}.brand span{white-space:normal;line-height:1.25}.menu-button{flex:0 0 auto}.hero{padding-left:18px;padding-right:18px}.hero>*{width:100%;max-width:100%;min-width:0}.hero h1,.page-hero h1{overflow-wrap:anywhere}.hero-actions{width:100%}.hero-actions .button{flex:1 1 calc(50% - 6px);min-width:0;padding-left:10px;padding-right:10px}.notice{width:auto;max-width:calc(100% - 28px)}.section{width:100%}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split,.text-grid,.card-grid,.pref-grid{grid-template-columns:minmax(0,1fr)}.filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.list-card{grid-template-columns:minmax(0,1fr)}.animal-card{grid-template-columns:52px minmax(0,1fr)}footer{grid-template-columns:minmax(0,1fr)}}

/* Refined photographic home hero */
header{min-height:72px;padding-top:10px;padding-bottom:10px}.brand b{font-weight:500;font-size:.72rem}.brand span{font-weight:500;font-size:.94rem}nav a{font-weight:500;font-size:.84rem}.button{border-radius:4px;font-weight:500}.hero{min-height:min(70vh,620px);padding:70px clamp(28px,7vw,120px);display:flex;align-items:center;justify-content:flex-start;background-image:linear-gradient(90deg,rgba(3,28,23,.98) 0%,rgba(3,28,23,.92) 31%,rgba(3,28,23,.55) 57%,rgba(3,28,23,.15) 100%),url("hero-dog-cat.webp");background-size:cover;background-position:center}.hero>*{margin-left:0;margin-right:0}.hero-copy{width:min(680px,100%);max-width:680px}.hero .eyebrow{color:#95ddc6;font-weight:400;font-size:.8rem}.hero h1{margin:.28em 0 .3em;color:#f4f7f5;font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(48px,5vw,76px);font-weight:400;letter-spacing:-.035em;line-height:1.18}.hero h1 span{display:block;white-space:nowrap}.hero-rule{display:block;width:54px;height:2px;margin:24px 0;background:#84d7bd}.hero .lead{color:#d9e4df;font-size:clamp(18px,1.45vw,21px);font-weight:400;line-height:1.7}.hero-actions{justify-content:flex-start}.hero .button{min-width:148px;border-radius:4px;font-size:.95rem}.hero .cat-button{background:#155f50;border-color:#155f50}.hero .event-button{background:rgba(3,28,23,.28);border-color:#95ddc6;color:#e3f5ef}.animal-card,.list-card,.pref-card,.text-card,.search-panel{border-radius:4px}.stat{font-weight:400}
@media(max-width:980px){.hero{background-position:62% center}.hero-copy{max-width:610px}.hero h1{font-size:clamp(44px,7vw,62px)}}
@media(max-width:620px){header{min-height:66px}.hero{min-height:610px;padding:46px 20px 42px;align-items:flex-start;background-image:linear-gradient(180deg,rgba(3,28,23,.96) 0%,rgba(3,28,23,.88) 48%,rgba(3,28,23,.28) 75%,rgba(3,28,23,.1) 100%),url("hero-dog-cat.webp");background-position:68% center}.hero-copy{width:100%;max-width:none}.hero h1{font-size:clamp(34px,10.5vw,42px);line-height:1.24;letter-spacing:-.045em}.hero h1 span{white-space:normal}.hero h1 span:first-child{word-break:keep-all}.hero-rule{margin:18px 0}.hero .lead{font-size:16px;line-height:1.7}.hero .lead br{display:none}.hero-actions{display:grid;grid-template-columns:1fr;gap:9px}.hero-actions .button{width:100%;min-height:46px}.notice{border-radius:0}.section h2{font-weight:500}}

/* Keep both animals visible and the title clear of the photo. */
.hero{min-height:min(78vh,700px);background-position:74% 18%;background-repeat:no-repeat;align-items:flex-start}
@media(max-width:620px){.hero{min-height:auto;background-image:none;background-color:#031c17}.hero::after{content:"";display:block;width:calc(100% + 40px);height:330px;flex-shrink:0;margin:24px -20px -42px;background-image:url("hero-dog-cat.webp");background-size:cover;background-repeat:no-repeat;background-position:100% 40%}}
