/* Scoped to the place-name project. Existing articles retain their typography and art. */
.chimei-page{margin:0;background:#faf8f2;color:#292f2b;font-family:"Noto Sans JP","Yu Gothic",sans-serif;line-height:1.9}.chimei-main{max-width:960px;margin:auto;padding:28px 24px 56px;font-size:18px}.chimei-main h1{font-size:clamp(1.8rem,5vw,2.8rem);line-height:1.5;margin:.4em 0}.chimei-main h2{font-size:1.45em;margin-top:2em;line-height:1.5}.chimei-main h3{font-size:1.12em}.chimei-main a,.chimei-bridge a,.chimei-consult a{color:#285849;text-underline-offset:.2em}.chimei-main p{margin:1em 0}.chimei-kicker{font-size:.85em;letter-spacing:.1em;color:#5a6657}.chimei-lead{max-width:44em}.chimei-main .text-size{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:14px}.chimei-main .text-size button{min-height:40px;border:1px solid #aeb8ad;background:white;border-radius:5px;padding:4px 12px;cursor:pointer}.chimei-main .text-size [aria-pressed=true]{background:#285849;color:#fff}.chimei-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.chimei-card{border:1px solid #c8cfc1;border-radius:10px;padding:20px;background:#fff;min-width:0}.chimei-card h3{margin:0 0 8px}.chimei-card p{margin:0}.chimei-card a{font-weight:700}.chimei-note{background:#f0eee2;border-left:4px solid #8a835d;padding:16px 20px;margin:24px 0}.chimei-bridge,.chimei-consult{box-sizing:border-box;max-width:960px;margin:28px auto;padding:22px;border:1px solid #aabfae;border-radius:10px;background:#eff5ee;color:#263a2e;text-align:left;font-size:1rem;line-height:1.8;clear:both;overflow-wrap:anywhere}.chimei-consult h2{margin:.3em 0 .7em!important;font-size:1.4em!important;line-height:1.6}.chimei-consult form{display:grid;gap:10px;max-width:620px;margin:20px 0}.chimei-consult label{font-weight:bold}.chimei-consult select{font:inherit;min-width:0;width:100%;box-sizing:border-box;padding:12px;background:white;border:1px solid #6f8875;border-radius:6px}.chimei-button,a.chimei-button{display:inline-block;box-sizing:border-box;background:#285849;color:#fff!important;border:0;border-radius:6px;font:inherit;font-weight:700;padding:13px 20px;min-height:48px;text-decoration:none;text-align:center;cursor:pointer;white-space:normal;line-height:1.6;max-width:100%}.chimei-button:hover{background:#183c30}.chimei-small{font-size:.875em;line-height:1.8}.chimei-bridge p:first-child{margin-top:0}.chimei-entry{border:1px solid #c8cfc1;border-radius:8px;padding:18px;margin:24px auto;max-width:960px;background:#f4f3e9;box-sizing:border-box}.chimei-entry a{font-weight:bold;color:#285849}.chimei-table-wrap{max-width:100%;overflow-x:auto}.chimei-main table{border-collapse:collapse;width:100%;font-size:.95em}.chimei-main th,.chimei-main td{border:1px solid #b9c4b6;padding:12px;text-align:left;vertical-align:top}.chimei-main th{background:#edf1e8}.chimei-paper{padding:24px;border:2px solid #8e9c8b;background:white}.chimei-paper dl{display:grid;grid-template-columns:8em 1fr;gap:10px;margin:12px 0}.chimei-paper dt{font-weight:bold}.chimei-paper dd{margin:0;padding:4px 10px;background:#fff4d6}.chimei-footer{padding:30px 24px;border-top:1px solid #ccd3c6;text-align:center}.chimei-main :focus-visible,.chimei-bridge :focus-visible,.chimei-consult :focus-visible{outline:3px solid #af651b;outline-offset:4px}html[data-text-size=large] .chimei-main{font-size:21px}html[data-text-size=largest] .chimei-main{font-size:24px}html[data-text-size=large] .chimei-bridge,html[data-text-size=large] .chimei-consult{font-size:19px}html[data-text-size=largest] .chimei-bridge,html[data-text-size=largest] .chimei-consult{font-size:22px}@media(max-width:600px){.chimei-main{padding:20px 16px 36px}.chimei-grid{grid-template-columns:1fr}.chimei-card{padding:18px}.chimei-bridge,.chimei-consult{padding:18px;margin:24px 0}.chimei-button{width:100%}.chimei-paper{padding:16px}.chimei-paper dl{grid-template-columns:1fr}.chimei-main th,.chimei-main td{padding:8px}.chimei-entry{padding:16px}}
.chimei-consult-title{font-size:1.4em;line-height:1.6;margin:.3em 0 .7em}.chimei-label{font-size:1.35em;line-height:1.6;margin-top:2em!important}

/* Keep the new guidance readable when older article styles override link colors. */
.chimei-consult a:not(.chimei-button),.chimei-bridge a:not(.chimei-button),.chimei-entry a{color:#285849!important;text-decoration:underline;text-underline-offset:.2em}
