:root {
  color-scheme: light;
  --text: #202832;
  --muted: #526273;
  --accent: #a64106;
  --orange: #ed873c;
  --blue: #145275;
  --line: #dce4e9;
  --paper: #f5f8fa;
  font-family: system-ui, "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.3; text-wrap: balance; }
h1 { margin: 0 0 .55em; font-size: clamp(2rem, 5vw, 3.15rem); }
h2 { margin: 0 0 .75em; font-size: clamp(1.4rem, 3.2vw, 2rem); }
h3 { margin: 0 0 .45em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1rem; }
.wrap { width: min(100% - 2rem, 67rem); margin-inline: auto; }
.skip { position: absolute; inset: .4rem auto auto 1rem; transform: translateY(-180%); background: white; padding: .6rem; }
.skip:focus { transform: none; z-index: 1; }
.site-header { border-top: 5px solid var(--orange); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1.3rem; }
.brand { display: inline-block; }
.brand img { width: min(15.5rem, 100%); }
.phone { font-weight: 700; color: var(--text); white-space: nowrap; }
.site-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .3rem; }
.site-nav a { text-decoration: none; text-align: center; padding: .6rem .2rem .7rem; border-bottom: 3px solid transparent; color: var(--text); font-weight: 650; }
.site-nav a:hover, .site-nav [aria-current=page] { color: var(--accent); border-bottom-color: var(--orange); background: #fff5ec; }
.site-nav small { display: block; color: var(--muted); font-size: .73rem; font-weight: 500; }
main { padding-block: clamp(1.5rem, 4vw, 3.5rem) 3.5rem; }
.eyebrow { margin-bottom: .5rem; color: var(--accent); font-size: .81rem; letter-spacing: .11em; font-weight: 750; }
.lead { color: var(--muted); max-width: 48rem; }
.section { margin-block-start: clamp(2.3rem, 6vw, 4rem); }
.section-title { border-left: 4px solid var(--orange); padding-inline-start: .75rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: center; overflow: hidden; background: #fcf6f0; border: 1px solid #f4e7db; border-radius: 1rem; }
.hero-copy { padding: clamp(1.2rem, 3vw, 2.25rem); }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.hero img { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.button, button { display: inline-block; min-height: 2.65rem; border-radius: .4rem; padding: .48rem .9rem; border: 1px solid var(--blue); background: var(--blue); color: #fff; text-decoration: none; font: inherit; font-weight: 650; cursor: pointer; }
.button:hover, button:hover { background: #103e59; color: #fff; }
.button.secondary { background: #fff; color: var(--blue); }
.button.secondary:hover { background: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card, .panel { padding: clamp(1rem, 2.4vw, 1.5rem); border: 1px solid var(--line); border-radius: .75rem; background: #fff; }
.card { display: block; text-decoration: none; color: var(--text); }
.card:hover { border-color: var(--blue); }
.card strong { display: block; color: var(--blue); font-size: 1.16rem; }
.card small { display: block; margin-top: .25rem; color: var(--muted); font-size: .91rem; }
.card img { margin-bottom: .6rem; }
.news { padding: 0; list-style: none; }
.news li { display: grid; grid-template-columns: 8.5rem 1fr; align-items: start; padding: .9rem 0; border-top: 1px solid var(--line); }
.news time, .meta { color: var(--muted); font-size: .9rem; }
.news p { margin: 0; }
.subnav, .years { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; list-style: none; }
.subnav a, .years a { display: inline-block; border: 1px solid var(--line); border-radius: .4rem; padding: .34rem .62rem; text-decoration: none; }
.subnav [aria-current=page] { background: var(--blue); color: #fff; border-color: var(--blue); }
.screen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
figure { margin: 0; }
figcaption { margin-top: .4rem; color: var(--muted); font-size: .93rem; }
.screen-grid img, .map img { border-radius: .35rem; border: 1px solid var(--line); }
.data { margin: 0; }
.data div { display: grid; grid-template-columns: minmax(7rem, 20%) 1fr; gap: .5rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.data dt { font-weight: 650; }
.data dd { margin: 0; overflow-wrap: anywhere; }
.detail-list { columns: 2 18rem; column-gap: 2.5rem; }
.detail-list li { break-inside: avoid; margin-bottom: .35rem; }
.policy-list { margin: 0; padding-left: 1.45rem; }
.policy-list > li { padding: .8rem 0 .8rem .25rem; border-top: 1px solid var(--line); }
.policy-list > li::marker { color: var(--accent); font-weight: 700; }
.policy-list p { margin: .25rem 0 0; }
.policy-list ol { margin-top: .5rem; }
.security-policy { max-width: 58rem; }
.signature { margin-top: 2.5rem; text-align: right; }
address { font-style: normal; }
.map { align-items: start; }
.map img { margin: auto; }
.archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: .85rem; }
.archive .card { padding: .8rem; }
.archive img { width: 100%; height: 8.5rem; object-fit: contain; background: var(--paper); border-radius: .3rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .95rem; }
.gallery figure { min-width: 0; padding: .55rem; border: 1px solid var(--line); border-radius: .45rem; }
.gallery img { width: 100%; height: clamp(11rem, 31vw, 15rem); object-fit: contain; background: var(--paper); }
.gallery figure:target { outline: 3px solid var(--orange); outline-offset: 3px; }
dialog { width: min(55rem, calc(100% - 1.25rem)); max-height: calc(100% - 1.25rem); padding: .75rem; border: 0; border-radius: .6rem; color: var(--text); }
dialog::backdrop { background: #101a25dd; }
dialog img { margin: .6rem auto; max-height: 65vh; object-fit: contain; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; }
button:disabled { opacity: .55; cursor: default; }
.contact-form { max-width: 47rem; }
.contact-form label { display: grid; gap: .25rem; margin-bottom: .8rem; font-weight: 650; }
.contact-form label span { font-size: .93rem; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 2.65rem; font: inherit; font-weight: 400; padding: .5rem; border: 1px solid #8495a3; border-radius: .35rem; }
.contact-form textarea { resize: vertical; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { color: var(--muted); font-size: .92rem; }
.form-status { margin: .75rem 0; padding: .7rem .85rem; border-radius: .35rem; background: #e9f5ff; color: #173b57; font-weight: 650; }
.form-status.is-error { background: #fff0f0; color: #a40000; border: 1px solid #d86b6b; }
.contact-form button:disabled { cursor: wait; opacity: .7; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding-block: 1.65rem; color: var(--muted); font-size: .88rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: 0; margin: 0 0 .7rem; list-style: none; }
.site-footer p { margin-bottom: 0; }
@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; }
  .hero img { grid-row: 1; }
}
@media (max-width: 36rem) {
  .site-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: 1fr; }
  .news li { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 36rem) {
  .site-nav a { font-size: .91rem; }
}
