:root {
    --bg: #EAF6FD;
    --surface: #FFFFFF;
    --surface-alt: #D6EEFA;
    --ink: #1F2F45;
    --ink-soft: #5C7690;
    --line: #BFE3F5;
    --accent: #29B6F6;
    --accent-deep: #0288D1;
    --accent-soft: #DDF3FC;
    --sun: #FFB627;
    --sun-deep: #F08C1B;
    --pop-pink: #FF5C8A;
    --pop-green: #35D08F;
    --pop-purple: #9B6BFF;
    --pop-yellow: #FFC93C;
    --shadow: 0 16px 34px -16px rgba(2, 136, 209, 0.3);
    color-scheme: light;
  }

@media (prefers-color-scheme: dark) {
    :root {
      --bg: #101826; --surface: #172234; --surface-alt: #1C2C42; --ink: #F2F6FB;
      --ink-soft: #9FB0C8; --line: #2B3C55; --accent: #35D2E8; --accent-deep: #8CE6F2;
      --accent-soft: #163542; --sun: #FFC862; --sun-deep: #FFD98A;
      --pop-pink: #FF86AC; --pop-green: #5CE6A8; --pop-purple: #B79BFF; --pop-yellow: #FFD766;
      --shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.6); color-scheme: dark;
    }
  }

:root[data-theme="dark"] {
    --bg: #101826; --surface: #172234; --surface-alt: #1C2C42; --ink: #F2F6FB;
    --ink-soft: #9FB0C8; --line: #2B3C55; --accent: #35D2E8; --accent-deep: #8CE6F2;
    --accent-soft: #163542; --sun: #FFC862; --sun-deep: #FFD98A;
    --pop-pink: #FF86AC; --pop-green: #5CE6A8; --pop-purple: #B79BFF; --pop-yellow: #FFD766;
    --shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.6); color-scheme: dark;
  }

:root[data-theme="light"] {
    --bg: #EAF6FD; --surface: #FFFFFF; --surface-alt: #D6EEFA; --ink: #1F2F45;
    --ink-soft: #5C7690; --line: #BFE3F5; --accent: #29B6F6; --accent-deep: #0288D1;
    --accent-soft: #DDF3FC; --sun: #FFB627; --sun-deep: #F08C1B;
    --pop-pink: #FF5C8A; --pop-green: #35D08F; --pop-purple: #9B6BFF; --pop-yellow: #FFC93C;
    --shadow: 0 16px 34px -16px rgba(2, 136, 209, 0.3); color-scheme: light;
  }

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background: var(--surface); color: var(--ink);
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
    line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }

.font-display { font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "UD Digi Kyokasho N-B", "Yu Gothic", "Noto Sans JP", sans-serif; font-weight: 700; }

a { color: inherit; }

/* ---------- Header ---------- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 14px;
  }

.brand { display: flex; align-items: center; }

.brand img {
    height: 50px;
    width: auto;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(10, 40, 65, 0.18));
    transition: transform 0.2s ease;
  }

.brand:hover img { transform: scale(1.05); }

.tel-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  }

.tel-pill svg { width: 15px; height: 15px; flex: none; }

.tel-pill strong {
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
  }

.tel-pill:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.transfer-pill { display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border: 1px solid var(--accent); border-radius: 999px;
  background: var(--surface); color: var(--accent-deep); font-size: .85rem; font-weight: 700;
  white-space: nowrap; text-decoration: none; transition: background .15s, color .15s; }
.transfer-pill:hover { background: var(--accent); color: #fff; }
@media (max-width: 700px) {
  .site-header .wrap { gap: 8px; flex-wrap: wrap; }
  .header-actions { margin-left: auto; gap: 6px; }
  .transfer-pill { padding: 8px 10px; font-size: .78rem; }
  .header-actions .tel-pill { padding: 8px 10px; gap: 5px; font-size: .72rem; }
  .header-actions .tel-pill strong { font-size: .8rem; }
  .site-header .brand img { height: 36px; }
}

#ripple {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.7; mix-blend-mode: screen;
  /* canvas is always its own compositor layer, so it needs its own explicit clip to match
     the hero's rounded bottom corners — it won't reliably inherit a parent's clip-path. */
  border-radius: 0 0 40px 40px; overflow: hidden;
}

.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }

.contact-facility h3 { margin: 0 0 8px; font-size: 1.3rem; }

.contact-facility p { margin: 0 0 6px; color: var(--ink-soft); font-size: 0.9rem; }

.contact-facility .tel-big { font-size: 1.4rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 10px; }

.contact-links { display: flex; flex-direction: column; gap: 10px; justify-content: center; }

.contact-links a {
    text-decoration: none; font-size: 0.88rem; padding: 12px 16px; background: var(--surface);
    border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center;
    justify-content: space-between; transition: border-color 0.15s ease;
  }

.contact-links a:hover { border-color: var(--accent); }

.copyright { text-align: center; font-size: 0.74rem; color: var(--ink-soft); padding-top: 40px; letter-spacing: 0.03em; }

/* ---------- Back to top ---------- */
  .back-to-top {
    position: fixed;
    right: clamp(16px, 4vw, 28px);
    bottom: clamp(16px, 4vw, 28px);
    z-index: 70;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
  }

.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.back-to-top:hover { background: var(--accent-deep); transform: translateY(-3px) scale(1); }

.back-to-top svg { width: 20px; height: 20px; }

/* Shared navigation remains visible with the sticky header on every FSS page. */
.site-header .header-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px 10px;
  border-top: 1px solid var(--line);
}
.header-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-nav a:hover, .header-nav a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}
.header-nav a:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
@media (max-width: 480px) {
  .site-header .header-nav { gap: 5px; padding: 7px 10px; }
  .header-nav a { flex: 1; padding: 7px 5px; font-size: .72rem; }
}