:root {
  --ink: #314341;
  --muted: #677775;
  --green: #54a78a;
  --green-dark: #347b65;
  --mint: #eaf6f1;
  --cream: #fffaf0;
  --orange: #ef9d55;
  --white: #fff;
  --line: #dce8e3;
  --shadow: 0 18px 50px rgba(48, 83, 72, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }
.inner { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; padding-block: 12px; }
.brand { width: 185px; flex: 0 0 auto; }
.brand img { width: 100%; max-height: 58px; object-fit: contain; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .93rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-dark); }
.nav-contact { padding: 10px 18px; border-radius: 99px; color: #fff !important; background: var(--green); }
.menu-button { position: relative; display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--orange); font-size: 0; cursor: pointer; }
.menu-button::before { content: ""; position: absolute; left: 9px; top: 21px; width: 26px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 -8px 0 currentColor, 0 8px 0 currentColor; }
.menu-button:hover { background: #fff1e4; color: #d9843f; }
.hero { min-height: clamp(280px, 50vw, 620px); background: url("images/hero.jpg") center/cover no-repeat; }
.hero-content { padding: 90px 0 86px; }
.eyebrow { margin: 0 0 10px; color: var(--green-dark); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #dff6ed; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.25rem, 6vw, 4.8rem); line-height: 1.22; letter-spacing: .03em; }
.hero p { max-width: 620px; margin: 22px 0 0; font-size: clamp(1rem, 2vw, 1.18rem); }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 99px; background: var(--green); color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 10px 28px rgba(52,123,101,.24); }
.button:hover { background: var(--green-dark); }
.button.secondary { background: #fff; color: var(--green-dark); box-shadow: none; }
.button.is-disabled { opacity: .58; cursor: not-allowed; }
.section { padding: 96px 0; }
.section.tint { background: var(--mint); }
.section.cream { background: var(--cream); }
.section-title { margin: 0 0 40px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.3; }
.lead { font-size: 1.12rem; }
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
.card img { width: 100%; height: auto; object-fit: contain; }
.card-body { padding: 20px 4px 0; }
.card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }
.news { padding: 30px 0; border-bottom: 1px solid var(--line); }
.news-list { display: flex; gap: 28px; align-items: baseline; }
.news-list time { color: var(--muted); font-size: .9rem; }
.page-hero { padding: 82px 0 58px; background: linear-gradient(135deg, var(--mint), var(--cream)); }
.page-hero h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4rem); }
.content { padding: 74px 0 100px; }
.content h2 { margin: 64px 0 20px; padding-left: 18px; border-left: 7px solid var(--green); font-size: clamp(1.65rem, 3vw, 2.2rem); }
.content h2:first-child { margin-top: 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.data-table th, .data-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { width: 28%; color: var(--green-dark); background: var(--mint); }
.flow-list { display: grid; gap: 18px; padding: 0; list-style: none; counter-reset: steps; }
.flow-list li { position: relative; padding: 24px 24px 24px 86px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); counter-increment: steps; }
.flow-list li::before { content: counter(steps); position: absolute; left: 24px; top: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; }
.document-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.document-list a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 700; text-decoration: none; }
.contact-panel { padding: clamp(28px, 6vw, 58px); border-radius: var(--radius); background: var(--mint); text-align: center; }
.contact-panel h2 { margin-top: 0; padding: 0; border: 0; }
.google-form { overflow: hidden; margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #f5f3ff; box-shadow: var(--shadow); }
.google-form iframe { display: block; width: 100%; min-height: 1180px; border: 0; }
.form-fallback { margin-top: 18px; text-align: center; color: var(--muted); }
.map iframe { width: 100%; min-height: 460px; border: 0; border-radius: var(--radius); }
.site-footer { padding: 54px 0 30px; color: #e8f3ef; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.copyright { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: .84rem; color: #b8c7c3; }
.scroll-top { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; background: var(--orange); color: #fff; font: 800 1.65rem/1 sans-serif; box-shadow: 0 10px 28px rgba(180, 98, 30, .32); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease; }
.scroll-top:hover { background: #d9843f; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; inset: 82px 0 auto; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 12px; }
  .nav-contact { margin-top: 10px; text-align: center; }
  .split, .footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .inner { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 72px; padding-block: 10px; }
  .brand { width: 150px; }
  .site-nav { inset-block-start: 72px; }
  .hero { min-height: 280px; }
  .section { padding: 70px 0; }
  .cards { grid-template-columns: 1fr; }
  .news-list { align-items: flex-start; flex-direction: column; gap: 6px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table th { padding-bottom: 7px; border-bottom: 0; }
  .data-table td { padding-top: 7px; }
  .map iframe { min-height: 360px; }
  .google-form iframe { min-height: 1240px; }
  .scroll-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-top { transition: none; }
}
