:root {
  --ink: #173b3a;
  --muted: #607474;
  --sea: #087f78;
  --sea-dark: #055f5b;
  --lime: #cde83a;
  --sand: #f5edcf;
  --cream: #f8fbf7;
  --white: #ffffff;
  --line: #dbe6e1;
  --shadow: 0 20px 55px rgba(21, 72, 68, .12);
  --radius-lg: 30px;
  --radius-md: 18px;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 16px;
  color: #fff; background: var(--sea-dark); border-radius: 8px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; z-index: 100; top: 0;
  background: rgba(255, 255, 255, .93); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(8, 127, 120, .12);
}
.header-inner {
  max-width: 1280px; height: 86px; margin: 0 auto; padding: 0 30px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo { display: block; width: auto; height: 46px; max-width: 100%; }
.global-nav { display: flex; align-items: center; gap: 29px; }
.global-nav a {
  position: relative; font: 700 13px/1 "Nunito", sans-serif; letter-spacing: .06em;
  text-decoration: none; transition: color .2s ease;
}
.global-nav a:not(.nav-contact)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px;
  background: var(--lime); transition: right .25s ease;
}
.global-nav a:hover, .global-nav a.current { color: var(--sea); }
.global-nav a:hover::after, .global-nav a.current::after { right: 0; }
.nav-contact { padding: 13px 21px; color: #fff; background: var(--sea); border-radius: 999px; }
.nav-contact:hover { color: #fff !important; background: var(--sea-dark); }
.menu-button { display: none; }

.hero {
  position: relative; overflow: hidden; min-height: 390px;
  display: grid; place-items: center; color: #fff;
  background:
    radial-gradient(circle at 15% 25%, rgba(205, 232, 58, .28), transparent 19%),
    radial-gradient(circle at 84% 30%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(124deg, #046963 0%, #0c8d84 53%, #3c9f86 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .15;
  background-image: radial-gradient(circle, #fff 1.3px, transparent 1.3px);
  background-size: 27px 27px;
}
.hero-inner { position: relative; z-index: 2; padding: 65px 24px 100px; text-align: center; }
.eyebrow { margin: 0 0 9px; color: var(--lime); font: 800 13px/1.4 "Nunito", sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.25; letter-spacing: .08em; }
.hero-lead { margin: 24px 0 0; font-size: 16px; line-height: 2; font-weight: 500; }
.hero-wave { position: absolute; z-index: 2; bottom: -1px; left: 0; width: 100%; height: 90px; }
.hero-bubble { position: absolute; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.bubble-a { width: 62px; height: 62px; top: 66px; left: 8%; }
.bubble-b { width: 25px; height: 25px; right: 12%; bottom: 115px; }

.faq-section { padding: 40px 24px 110px; }
.content-wrap { width: min(100%, var(--content)); margin: 0 auto; }
.search-panel {
  width: min(820px, 100%); margin: 0 auto 58px; padding: 30px 34px 25px;
  background: #fff; border: 1px solid rgba(8,127,120,.12); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.search-label { display: block; margin-bottom: 12px; font-weight: 700; font-size: 15px; }
.search-field { position: relative; }
.search-field > svg {
  position: absolute; left: 20px; top: 50%; width: 23px; transform: translateY(-50%);
  fill: none; stroke: var(--sea); stroke-width: 2; stroke-linecap: round;
}
.search-field input {
  width: 100%; min-height: 64px; padding: 12px 55px 12px 56px;
  color: var(--ink); background: #f3f8f5; border: 2px solid transparent; border-radius: 15px;
  outline: none; transition: .2s ease;
}
.search-field input::placeholder { color: #899a98; }
.search-field input:focus { background: #fff; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(8,127,120,.1); }
.clear-search {
  position: absolute; right: 14px; top: 50%; width: 36px; height: 36px; transform: translateY(-50%);
  color: var(--muted); background: transparent; border: 0; border-radius: 50%; cursor: pointer; font-size: 25px;
}
.clear-search:hover { background: #e7efeb; }
.search-hint { margin: 9px 0 0; color: var(--muted); font-size: 12px; }

.category-area { margin-bottom: 42px; }
.section-row, .result-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-row h2 { margin: 0; font-size: 20px; }
.text-button {
  padding: 0; color: var(--sea); background: transparent; border: 0; cursor: pointer;
  font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 4px;
}
.text-button:hover { color: var(--sea-dark); }
.category-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.category-button {
  padding: 10px 18px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px;
  transition: .2s ease;
}
.category-button:hover { border-color: var(--sea); color: var(--sea); transform: translateY(-1px); }
.category-button.active { color: #fff; background: var(--sea); border-color: var(--sea); box-shadow: 0 7px 18px rgba(8,127,120,.2); }
.category-count { margin-left: 7px; opacity: .75; font-size: 11px; }

.result-bar { margin-bottom: 15px; padding: 0 4px; color: var(--muted); }
.result-bar p { margin: 0; font-size: 14px; }
.result-bar strong { color: var(--sea); font-size: 19px; }
.open-controls { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.open-controls span { color: #adb9b6; }

.faq-list { display: grid; gap: 13px; }
.faq-item {
  overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.faq-item:hover { border-color: rgba(8,127,120,.45); }
.faq-item.open { border-color: rgba(8,127,120,.45); box-shadow: 0 12px 30px rgba(24,79,74,.08); }
.faq-question {
  width: 100%; min-height: 88px; padding: 20px 24px;
  display: grid; grid-template-columns: 45px 1fr 34px; align-items: center; gap: 16px;
  color: var(--ink); text-align: left; background: transparent; border: 0; cursor: pointer;
}
.q-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  color: #fff; background: var(--sea); border-radius: 50%; font: 800 20px/1 "Nunito", sans-serif;
}
.question-copy { display: grid; gap: 5px; }
.question-category { color: var(--sea); font-size: 11px; font-weight: 700; }
.question-text { font-size: 16px; font-weight: 700; line-height: 1.65; }
.toggle-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #eef5f1; }
.toggle-icon::before, .toggle-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px;
  background: var(--sea); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s ease;
}
.toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .toggle-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer {
  margin: 0 24px 25px 85px; padding: 22px 25px;
  color: #385654; background: #f3f8f5; border-radius: 13px; font-size: 14px; white-space: pre-wrap;
}
.faq-answer a { color: var(--sea-dark); font-weight: 700; word-break: break-all; text-underline-offset: 3px; }

.no-results { padding: 55px 25px; text-align: center; background: #fff; border: 1px dashed #b8cbc5; border-radius: var(--radius-lg); }
.no-results-icon { width: 62px; height: 62px; margin: 0 auto 15px; display: grid; place-items: center; color: #fff; background: var(--sea); border-radius: 50%; font: 800 28px/1 "Nunito", sans-serif; }
.no-results h2 { margin: 0; font-size: 20px; }
.no-results p { margin: 10px 0 22px; color: var(--muted); }
.primary-button, .contact-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 24px;
  color: #fff; background: var(--sea); border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; font-weight: 700;
}
.primary-button:hover, .contact-button:hover { background: var(--sea-dark); }
.updated-note { margin: 26px 0 0; color: #778986; text-align: right; font-size: 11px; }

.contact-cta { position: relative; overflow: hidden; padding: 95px 24px; color: #fff; background: var(--sea-dark); }
.contact-cta::before, .contact-cta::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.contact-cta::before { width: 350px; height: 350px; top: -190px; left: -70px; }
.contact-cta::after { width: 260px; height: 260px; right: -90px; bottom: -150px; }
.contact-inner { position: relative; z-index: 1; width: min(100%, 930px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.contact-inner h2 { margin: 0; font-size: clamp(29px, 4vw, 43px); line-height: 1.45; letter-spacing: .06em; }
.contact-inner p:not(.eyebrow) { margin: 22px 0 0; color: rgba(255,255,255,.78); font-size: 14px; }
.contact-button { flex: 0 0 auto; min-height: 64px; padding: 0 30px; color: var(--sea-dark); background: var(--lime); }
.contact-button:hover { color: #fff; background: var(--sea); }
.contact-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

.site-footer { padding: 55px 24px 25px; color: rgba(255,255,255,.82); background: #103f3d; }
.footer-inner { width: min(100%, var(--content)); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 60px; align-items: end; }
.footer-brand strong { color: #fff; font-size: 17px; line-height: 1.6; }
.footer-brand p, .footer-hours p { margin: 5px 0; font-size: 12px; }
.footer-brand a { text-decoration: none; }
.back-top { align-self: start; color: var(--lime); text-decoration: none; font: 800 11px/1 "Nunito", sans-serif; letter-spacing: .12em; }
.copyright { width: min(100%, var(--content)); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

@media (max-width: 900px) {
  .header-inner { height: 72px; padding: 0 20px; }
  .brand-logo { height: 34px; }
  .menu-button {
    position: relative; z-index: 3; width: 45px; height: 45px; display: grid; place-content: center; gap: 5px;
    background: transparent; border: 0; cursor: pointer;
  }
  .menu-button > span:not(.sr-only) { width: 26px; height: 2px; background: var(--sea-dark); transition: .25s ease; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: fixed; top: 72px; right: 0; left: 0; padding: 25px 24px 35px;
    display: none; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(21,72,68,.12);
  }
  .global-nav.open { display: grid; }
  .global-nav a { padding: 16px 4px; border-bottom: 1px solid #edf2ef; }
  .global-nav a::after { display: none; }
  .nav-contact { margin-top: 14px; text-align: center; border-bottom: 0 !important; }
  .contact-inner { display: grid; }
  .contact-button { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .back-top { grid-column: 2; justify-self: end; }
}

@media (max-width: 640px) {
  .desktop-only { display: none; }
  .hero { min-height: 330px; }
  .hero-inner { padding: 53px 21px 87px; }
  .hero-lead { font-size: 14px; }
  .faq-section { padding: 22px 16px 75px; }
  .search-panel { margin-bottom: 43px; padding: 23px 20px 19px; border-radius: 22px; }
  .search-field input { min-height: 58px; font-size: 14px; }
  .section-row { align-items: flex-end; }
  .category-list { flex-wrap: nowrap; margin-right: -16px; padding: 0 16px 8px 0; overflow-x: auto; scrollbar-width: thin; }
  .category-button { flex: 0 0 auto; white-space: nowrap; }
  .result-bar { align-items: flex-end; }
  .open-controls { font-size: 12px; }
  .faq-question { min-height: 80px; padding: 16px; grid-template-columns: 37px 1fr 30px; gap: 12px; }
  .q-mark { width: 37px; height: 37px; }
  .question-text { font-size: 14px; }
  .faq-answer { margin: 0 16px 18px 16px; padding: 19px 18px; font-size: 13px; }
  .contact-cta { padding: 70px 20px; }
  .contact-inner { gap: 35px; }
  .contact-button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; }
  .back-top { grid-column: auto; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
