:root {
  --blue-pale: #e8f0f9;
}

/* 電話番号専用 — システムの "Inter" や Arial への誤フォールバックを防ぐため固有名称 */
@font-face {
  font-family: "Inter Tel";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('../fonts/inter/Inter-SemiBold-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.top-bar a { color: inherit; text-decoration: none; }
.top-bar .tel-num {
  font-family: "Inter Tel", sans-serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  font-size: 18px;
  color: #fff;
}
.top-bar .tel-hours {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 0;
}
.btn-contact-top {
  background: var(--blue-accent);
  color: #fff !important;
  padding: 6px 18px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 2px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn-contact-top:hover { background: var(--blue-soft); }

/* ===== HEADER / NAV ===== */
header {
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(15,32,68,0.08);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 74px;
}
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
  gap: 2px;
  padding-top: 2px;
}
.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.15;
}
.logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-top: 0;
  line-height: 1.2;
}
header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
}
header nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  padding: 0 16px;
  height: 74px;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.2s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
header nav a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: transparent;
  transition: background 0.2s;
}
header nav a:hover { color: var(--blue-accent); }
header nav a:hover::after { background: var(--blue-accent); }
header nav a.active { color: var(--blue-accent); font-weight: 700; }
header nav a.active::after { background: var(--blue-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  z-index: 260;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 32, 68, 0.45);
  z-index: 240;
}
.nav-overlay.is-open {
  display: block;
}
body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  header nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100vh;
    height: 100dvh;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 88px 24px 32px;
    background: var(--white);
    z-index: 250;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(15, 32, 68, 0.12);
    overflow-y: auto;
  }
  header nav.is-open {
    transform: translateX(0);
  }
  header nav a {
    height: auto;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  header nav a::after {
    display: none;
  }
  header nav a:last-child {
    border-bottom: none;
  }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ===== CTA ===== */
.cta-section {
  background: var(--navy-mid);
  margin-top: var(--section-gap);
  padding: 48px 24px;
}
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 10px;
}
.cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-direction: column;
}
.btn-cta-main {
  background: #fff;
  color: var(--navy);
  padding: 14px 32px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
  display: block;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}
.btn-cta-main:hover {
  background: var(--blue-pale);
}
.cta-tel { text-align: center; }
.cta-tel-num {
  font-family: "Inter Tel", sans-serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  font-size: 24px;
  color: #fff;
  display: block;
}
.cta-tel-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: -7px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 48px;
  align-items: flex-start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col-address,
.footer-col-contact,
.footer-sub-links {
  flex: 0 0 auto;
}
.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}
.footer-address,
.footer-col-contact {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
}
.footer-sub-links {
  list-style: none;
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.footer-sub-links li { margin-bottom: 0; }
.footer-sub-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-sub-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== MOBILE FIXED CTA ===== */
.mobile-fixed-cta {
  display: none;
}

/* ===== UTILITY ===== */
.px24 { padding-left: 24px; padding-right: 24px; }

@media (max-width: 900px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -2px 12px rgba(15, 32, 68, 0.12);
  }
  .mobile-fixed-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    min-height: 56px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    background: var(--blue-accent);
    transition: background 0.2s ease;
    text-align: center;
    line-height: 1.35;
  }
  .mobile-fixed-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .mobile-fixed-cta a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }
  .mobile-fixed-cta a:active {
    background: var(--blue-soft);
  }
  .mobile-fixed-tel {
    font-family: "Inter Tel", sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .cta-section {
    padding: 36px 20px;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta-inner > * {
    min-width: 0;
    width: 100%;
  }
  .cta-title {
    font-size: 19px;
    line-height: 1.65;
  }
  .cta-desc {
    font-size: 14px;
  }
  .cta-actions {
    width: 100%;
    align-items: stretch;
  }
  .btn-cta-main {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    padding: 14px 20px;
    font-size: 17px;
    box-sizing: border-box;
  }
  .cta-tel {
    width: 100%;
  }
  .cta-tel-num {
    font-size: 20px;
  }
}
