:root {
  --ink: #23271f;
  --muted: #596154;
  --line: #e2ded3;
  --paper: #fbfaf5;
  --tint: #f2f1e9;
  --green: #3a5a40;
  --green-dark: #2f4933;
  --green-soft: #e4ebe0;
  --amber: #a9762a;
  --amber-soft: #f4ecda;
  --red: #9c3b2e;
  --red-soft: #f6e6e2;
  --white: #fffefb;
  --shadow: 0 24px 60px rgba(35, 39, 31, .13);
  --font-sans: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-sans); font-size: 17px; line-height: 1.85; letter-spacing: .01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
section { scroll-margin-top: 98px; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 880px; }

.notice-bar { background: var(--green-dark); color: #f4f1e9; }
.notice-bar__inner { min-height: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-block: 8px; }
.notice-bar p { flex: 1; min-width: 220px; margin: 0; font-size: 14.5px; line-height: 1.55; }
.notice-bar a { text-decoration: none; font-weight: 700; white-space: nowrap; }
.notice-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 254, 251, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: 260px; }
.brand-mark, .footer-brand img { display: block; width: 46px; height: 46px; flex: none; border-radius: 8px; object-fit: cover; background: var(--green); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 18px; }
.brand-text span { margin-top: 3px; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: #3b4137; font-size: 14px; font-weight: 700; padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.site-nav a:hover { background: var(--green-soft); color: var(--green-dark); }
.menu-button { display: none; align-items: center; justify-content: center; gap: 9px; min-width: 104px; height: 48px; border: 1px solid #d5dccf; background: #fff; color: var(--green-dark); border-radius: 8px; padding: 0 13px; cursor: pointer; font-weight: 800; line-height: 1; white-space: nowrap; }
.menu-icon { display: flex; width: 20px; height: 16px; flex: none; flex-direction: column; justify-content: space-between; }
.menu-icon span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.menu-label { font-size: 14px; }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu-button { display: none; }
.mobile-menu-button[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.mobile-menu-button[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { background: linear-gradient(180deg, #f1f0e9 0%, var(--paper) 100%); border-bottom: 1px solid #ece9e0; }
.hero-grid { min-height: 540px; padding: clamp(42px, 7vw, 78px) 0 clamp(38px, 6vw, 66px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: clamp(32px, 5vw, 62px); align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-family: var(--font-serif); font-weight: 700; font-size: 13.5px; letter-spacing: .12em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero h1 { margin: 18px 0 0; font-size: clamp(32px, 5vw, 50px); line-height: 1.28; letter-spacing: 0; }
.hero-copy > p:not(.eyebrow) { max-width: 31em; margin: 20px 0 0; color: #464d43; font-size: clamp(16px, 2vw, 18.5px); line-height: 1.95; overflow-wrap: anywhere; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 24px; border-radius: 8px; border: 1px solid transparent; text-decoration: none; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-ghost { background: #fff; color: var(--green-dark); border-color: #d5dccf; }
.button-ghost:hover { background: var(--green-soft); }
.hero-visual { position: relative; max-width: 100%; margin: 0; border-radius: 12px; overflow: hidden; background: #e6ebe0; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-visual figcaption { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; background: rgba(255,254,251,.92); color: var(--green-dark); box-shadow: 0 12px 30px rgba(35,39,31,.14); }
.hero-visual span { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.hero-visual strong { font-size: 17px; }

.overview-section { padding: 42px 0; }
.overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.overview-grid article { background: var(--white); padding: 23px 21px; }
.overview-grid span { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; }
.overview-grid strong { display: block; margin-top: 8px; font-size: 17px; line-height: 1.55; }

.section { padding: clamp(52px, 7vw, 84px) 0; border-top: 1px solid #ece9e0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 28px; }
.section-head h2 { margin: 13px 0 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.35; letter-spacing: 0; }
.section-head > p:not(.eyebrow) { max-width: 46em; margin: 13px 0 0; color: #4a5046; }

.news-list { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.news-item { width: 100%; display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px 17px; align-items: center; padding: 18px 22px; border: 0; border-bottom: 1px solid #eceae1; background: none; color: inherit; text-align: left; cursor: pointer; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: #f8f7f1; }
.news-item time, .timeline time, .attention-table time, .gallery-grid time { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.tag { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; min-height: 26px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.tag.important { color: var(--red); background: var(--red-soft); }
.tag.process { color: var(--green); background: var(--green-soft); }
.tag.info { color: #777d71; background: #edeae2; }
.news-title { font-size: 16px; line-height: 1.6; }
.news-more { justify-self: end; color: var(--green); font-size: 14px; font-weight: 800; }
.pager { margin-top: 22px; display: flex; justify-content: center; gap: 8px; }
.pager button { min-width: 40px; height: 40px; border-radius: 8px; border: 1px solid #d7ddcf; background: var(--white); cursor: pointer; font-weight: 800; }
.pager button[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }

.timeline { display: grid; gap: 0; }
.timeline article { display: grid; grid-template-columns: 34px 1fr; gap: 20px; }
.timeline article > span { position: relative; display: flex; justify-content: center; }
.timeline article > span::before { content: ""; position: absolute; top: 26px; bottom: -8px; width: 2px; background: var(--line); }
.timeline article:last-child > span::before { display: none; }
.timeline article > span::after { content: ""; z-index: 1; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: #bcc2b3; box-shadow: 0 0 0 6px #edeae2; }
.timeline article.done > span::after { background: var(--green); box-shadow: 0 0 0 6px var(--green-soft); }
.timeline article.active > span::after { background: var(--amber); box-shadow: 0 0 0 6px var(--amber-soft); }
.timeline article div { padding-bottom: 26px; }
.timeline h3 { display: inline; margin: 0 12px 0 0; font-size: 18.5px; }
.timeline b { display: inline-flex; margin-right: 12px; padding: 2px 10px; border-radius: 99px; background: #edeae2; color: #777d71; font-size: 12px; }
.timeline .done b { background: var(--green-soft); color: var(--green); }
.timeline .active b { background: var(--amber-soft); color: var(--amber); }
.timeline p { margin: 7px 0 0; color: #4a5046; font-size: 15px; line-height: 1.75; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.image-card, .info-grid article, .contact-grid article, .faq-item, .gallery-grid figure { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.image-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.image-card div { padding: 19px 20px 22px; }
.image-card h3, .info-grid h3, .contact-grid h3 { margin: 0; font-size: 18px; line-height: 1.45; }
.image-card p, .info-grid p, .contact-grid p { margin: 9px 0 0; color: #4a5046; font-size: 14.5px; line-height: 1.78; }

.attention-table { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.attention-table article { display: grid; grid-template-columns: 46px minmax(130px, 1fr) 2fr minmax(110px, .9fr); gap: 8px 18px; align-items: center; padding: 17px 22px; border-bottom: 1px solid #eceae1; }
.attention-table article:last-child { border-bottom: 0; }
.attention-table b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 17px; }
.no { color: var(--red); }
.care { color: var(--amber); }
.ok { color: var(--green); }
.attention-table b.no { background: var(--red-soft); }
.attention-table b.care { background: var(--amber-soft); }
.attention-table b.ok { background: var(--green-soft); }
.attention-table h3 { margin: 0; font-size: 16px; }
.attention-table p { margin: 0; color: #4a5046; font-size: 14.5px; line-height: 1.7; }

.life-section { background: #eef1ea; }
.info-grid article { padding: 24px 22px; }
.info-grid span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 8px; background: var(--green-soft); color: var(--green); font-family: var(--font-serif); font-weight: 700; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 13px 15px; font-size: 14.5px; font-weight: 700; }

.faq-list { display: grid; gap: 12px; }
.faq-item button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.faq-q { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 6px; background: var(--green-soft); color: var(--green); font-family: var(--font-serif); font-weight: 700; }
.faq-title { flex: 1; font-weight: 800; line-height: 1.6; }
.faq-plus { color: var(--green); font-size: 24px; transition: transform .2s ease; }
.faq-answer { display: none; padding: 0 20px 20px 60px; color: #4a5046; font-size: 15px; line-height: 1.85; }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-grid article { padding: 28px; }
.contact-grid span { color: var(--green); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; }
.contact-grid a { margin-top: 16px; display: flex; padding: 14px 18px; border-radius: 8px; background: var(--green-soft); color: var(--green-dark); text-decoration: none; font-family: var(--font-serif); font-size: 24px; font-weight: 700; line-height: 1.25; }
.contact-grid small { display: block; margin-top: 12px; color: var(--muted); }
.emergency { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 20px 23px; border: 1px solid #ecdcc6; border-radius: 8px; background: #fdf6ee; }
.emergency span { display: inline-flex; padding: 4px 12px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 800; }
.emergency p { flex: 1; min-width: 240px; margin: 0; color: #5b4a36; font-size: 15px; }
.emergency a { color: var(--red); font-family: var(--font-serif); font-size: 22px; font-weight: 700; text-decoration: none; }

.site-footer { background: #2b3328; color: #d4d8cc; }
.footer-grid { padding: 46px 0 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #f4f1e9; }
.footer-brand img { width: 38px; height: 38px; }
.site-footer p { margin: 13px 0 0; color: #aab2a1; font-size: 13.5px; line-height: 1.8; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.site-footer a { color: #cdd3c6; text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-tel { display: block; margin-top: 8px; color: #f4f1e9 !important; font-family: var(--font-serif); font-size: 22px !important; font-weight: 700; }
.footer-bottom { padding: 20px 0 28px; border-top: 1px solid #3c4639; display: flex; justify-content: space-between; gap: 14px; color: #8f998a; font-size: 12.5px; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(28,32,24,.55); }
.modal-panel { position: relative; width: min(620px, 100%); max-height: 86vh; overflow: auto; padding: 28px clamp(22px, 4vw, 38px) 30px; border-radius: 12px; background: var(--white); box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
#modal-meta { display: flex; flex-wrap: wrap; gap: 10px; padding-right: 42px; }
#modal-title { margin: 18px 0 0; font-size: clamp(20px, 2.6vw, 25px); line-height: 1.5; }
#modal-body { white-space: pre-line; color: #3f453b; line-height: 1.95; }

@media (max-width: 980px) {
  .hero-grid, .overview-grid, .card-grid, .gallery-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { min-height: 0; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 25; padding: 10px 20px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 34px rgba(35, 39, 31, .12); }
  .site-nav.is-open { display: grid; }
  .site-nav a { border: 1px solid #eef1ea; padding: 12px; text-align: center; white-space: normal; }
  .menu-button { display: inline-flex; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(1120px, calc(100% - 32px)); }
  .notice-bar { display: none; }
  .header-inner { min-height: 70px; }
  .brand { min-width: 0; width: calc(100% - 68px); flex: none; gap: 10px; overflow: hidden; }
  .brand-text { min-width: 0; }
  .brand-text strong, .brand-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text strong { font-size: 16px; }
  .brand-text span { font-size: 11.5px; }
  .header-inner > .menu-button { display: none !important; }
  .mobile-menu-button { display: flex !important; visibility: visible !important; opacity: 1 !important; align-items: center; justify-content: center; position: fixed !important; top: 12px !important; right: 16px !important; left: auto !important; z-index: 2147483000 !important; width: 52px !important; height: 46px !important; padding: 0 !important; border: 1px solid var(--green) !important; border-radius: 8px; background: var(--green) !important; color: #fff !important; box-shadow: 0 6px 18px rgba(35, 39, 31, .18); }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-nav { position: fixed; top: 70px; left: 0; right: auto; width: 100vw; width: 100dvw; padding-inline: 16px; grid-template-columns: 1fr; }
  .hero-grid, .overview-grid, .card-grid, .gallery-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 38px; }
  .hero-visual figcaption { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; min-width: 0; }
  .hero-visual strong { overflow-wrap: anywhere; text-align: right; }
  .overview-section { padding: 28px 0; }
  .news-item { grid-template-columns: 1fr auto; }
  .news-item time { grid-column: 1; }
  .news-item .tag { grid-column: 2; grid-row: 1; }
  .news-title { grid-column: 1 / -1; }
  .news-more { display: none; }
  .attention-table article { grid-template-columns: 40px 1fr; }
  .attention-table p, .attention-table time { grid-column: 2; }
  .footer-bottom { flex-direction: column; }
}
