
:root {
  --color-base: #ffffff; --color-surface-soft: #F4F6F9; --color-trust: #1B2A4A; --color-trust-dark: #0F1A30;
  --color-accent: #EA5B2F; --color-accent-dark: #C8431C; --color-text: #262B33; --color-text-soft: #6B7280; --color-line: #E4E7EC;
  --color-accent-secondary: #3E7FBF; --color-accent-secondary-soft: rgba(62, 127, 191, 0.12);
  --radius-sm: 8px; --max-width: 1120px;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-display: "Zen Kaku Gothic New", var(--font-body);
}
.site-header, .pg-foot { font-family: var(--font-body); line-height: 1.8; color: var(--color-text); }
.site-header *, .pg-foot * { box-sizing: border-box; }
.site-header ul, .pg-foot ul { margin: 0; padding: 0; }
.site-header button { font: inherit; }

.btn-header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 800; text-align: center; background: linear-gradient(135deg, #F0794C 0%, var(--color-accent) 100%); color: #fff; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn-header-cta:hover { background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.logo-block { grid-column: 1; display: flex; flex-direction: row; align-items: center; gap: 10px; }

.logo-img { display: block; height: 44px; width: auto; }
@media (max-width: 959px) { .logo-img { height: 36px; } .logo-tagline { display: none; } }

.logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-trust);
}

.logo span { color: var(--color-accent); }

.logo-tagline {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-text-soft);
  letter-spacing: 0.02em;
}

.global-nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 28px);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.global-nav a, .btn-header-cta { white-space: nowrap; }

.global-nav a:hover { color: var(--color-accent); }

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-parent::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.55;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 32px rgba(27, 42, 74, 0.16);
  padding: 8px 0;
  min-width: 190px;
  display: none;
  flex-direction: column;
  z-index: 10;
}

.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { display: flex; }
.nav-item.is-esc .nav-dropdown { display: none; }

.nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-parent.is-off::after { display: none; }

.nav-dropdown a {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-dropdown a:hover { background: var(--color-surface-soft); color: var(--color-accent); }

.header-right {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-accent-secondary-soft);
  flex-shrink: 0;
}

.header-tel svg {
  width: 17px;
  height: 17px;
  fill: var(--color-accent-secondary);
}

.btn-header-cta {
  padding: 10px 20px;
  font-size: 13px;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-trust);
  border-radius: 2px;
}

@media (max-width: 959px) {
  .nav-toggle { display: flex; }
  .btn-header-cta { display: none; }
}

.menu-panel { --t-navy: #03174D; --t-blue: #2F7BFF; --t-blue-d: #0B5AF5; --t-link: #1D5FD6; --t-sub: #4B5563; --t-line: #DCE7F6; font-family: var(--font-body); color: var(--t-navy); }
.menu-panel * { box-sizing: border-box; }
:is(.menu-panel, .global-nav) :is(.is-off, [aria-disabled="true"]) { opacity: .35; cursor: default; box-shadow: none; pointer-events: none; }
.menu-link:focus-visible { outline-offset: -3px !important; }
.menu-panel :is(button, a):focus-visible { outline: 3px solid var(--t-blue-d); outline-offset: 3px; border-radius: 12px; }
.ns-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 16px; background: #F6FAFF; font-size: 14px; font-weight: 700; }
@media (min-width: 960px) { .ns-nav { display: none; } }

@media (max-width: 959px) {
  .global-nav { display: none !important; }
  .nav-toggle { width: 44px; height: 44px; padding: 13px 9px; margin: -8px -8px -8px 0; box-sizing: border-box; }
  .nav-toggle span { transition: transform .22s ease, opacity .18s ease; }
  html.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  html.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  html.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
html.menu-open { overflow: hidden; }
.menu-panel { position: fixed; z-index: 99; left: 0; right: 0; bottom: 0; top: 67px; overflow-y: auto; overscroll-behavior: contain; display: none; background: linear-gradient(180deg, #F6FAFF, #EAF2FD); opacity: 0; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease; }
.menu-panel:not([hidden]) { display: block; }
.menu-panel.is-open { opacity: 1; transform: none; }
.menu-in { max-width: 560px; margin: 0 auto; padding: 22px 20px 0; }
.menu-group + .menu-group { margin-top: 24px; }
.menu-en { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .28em; color: var(--t-blue-d); }
.menu-h { margin: 2px 0 0; font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--t-navy); }
.menu-list { list-style: none; margin: 10px 0 0; padding: 0; border-radius: 18px; background: #fff; box-shadow: 0 14px 28px -22px rgba(40,100,220,.5), 0 0 0 1px #E6EEF9; overflow: hidden; }
.menu-list li + li { border-top: 1px solid #E8F0FB; }
.menu-link { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; font-size: 16.5px; font-weight: 700; color: var(--t-navy); text-decoration: none; }
.menu-link svg { width: 18px; height: 18px; fill: none; stroke: var(--t-blue-d); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.menu-link:active { background: #EEF5FF; }
.menu-cta { margin: 28px -20px 0; padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 10px; position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(234,242,253,0), #EAF2FD 26px); }
.menu-line { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 999px; background: var(--color-accent); color: #fff; font-size: 16.5px; font-weight: 800; text-decoration: none; box-shadow: 0 14px 24px -14px rgba(234,91,47,.7); }
.menu-tel { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 999px; border: 1.8px solid var(--t-blue); background: #fff; color: var(--t-link); font-size: 15.5px; font-weight: 700; text-decoration: none; }
@media (min-width: 960px) { .menu-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .menu-panel, .nav-toggle span { transition: none !important; } }

.btn-header-cta { padding: 17px 26px; font-size: 15px; box-shadow: 0 10px 24px rgba(234, 91, 47, 0.45); }
.btn-header-cta:hover { transform: translateY(-2px); }

:root { --hd-navy: #03174D; --hd-blue-soft: #EEF4FF; --hd-line: #D6E3F8; --hd-h: 44px; --hd-r: 14px; }
.site-header .header-tel, .site-header .nav-toggle, .site-header .btn-header-cta { box-sizing: border-box; height: var(--hd-h); }
.site-header .header-tel svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 959px) {
  .site-header .header-inner { padding: 11px 20px; gap: 8px; }
  .site-header .logo-img { height: 40px; }
  .site-header .header-right { gap: 4px; }
  .site-header .header-actions { gap: 8px; }
  .site-header .header-tel-num { display: none; }
  .site-header .ht-ico { width: 24px; height: 24px; }
  .site-header .header-tel { display: flex; align-items: center; justify-content: center; width: 44px; padding: 0; border-radius: var(--hd-r); background: var(--hd-blue-soft); color: var(--hd-navy); box-shadow: inset 0 0 0 1px var(--hd-line); }
  .site-header .btn-header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; width: auto; border-radius: var(--hd-r); color: #fff; background: linear-gradient(135deg, #F0794C 0%, #EA5B2F 100%); box-shadow: 0 6px 14px -8px rgba(234,91,47,.8); }
  .site-header .btn-header-cta .hl-long, .site-header .btn-header-cta .hl-ico { display: none; }
  .site-header .btn-header-cta .hl-short { display: inline; font-size: 15px; font-weight: 900; line-height: 1; letter-spacing: .01em; }

  .site-header .nav-toggle span { height: auto; width: auto; background: none; border-radius: 0; }
  html.menu-open .site-header .nav-toggle > span { transform: none; opacity: 1; }
  .site-header .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; padding: 0; margin: 0 -10px 0 0; border: 0; border-radius: var(--hd-r); background: none; -webkit-tap-highlight-color: transparent; }
  .site-header .nav-toggle .nt-bars { position: relative; display: block; width: 24px; height: 17px; }
  .site-header .nt-bars i { position: absolute; left: 0; width: 24px; height: 3px; border-radius: 2px; background: var(--hd-navy); transition: transform .22s ease, opacity .18s ease; }
  .site-header .nt-bars i:nth-child(1) { top: 0; }
  .site-header .nt-bars i:nth-child(2) { top: 7px; }
  .site-header .nt-bars i:nth-child(3) { top: 14px; }
  html.menu-open .site-header .nt-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  html.menu-open .site-header .nt-bars i:nth-child(2) { opacity: 0; }
  html.menu-open .site-header .nt-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 359px) {
  .site-header .header-inner { padding: 11px 16px; }
  .site-header .logo-img { height: 36px; }
  .site-header .btn-header-cta { padding: 0 12px; }
  .site-header .btn-header-cta .hl-short { font-size: 14px; }
}

@media (min-width: 960px) {
  :root { --hd-h: 48px; }
  .site-header .header-inner { padding: 16px 20px; }
  .site-header .header-actions { gap: 10px; }
  .site-header .header-tel { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 0 16px 0 14px; border-radius: 999px; background: #fff; color: var(--hd-navy); box-shadow: inset 0 0 0 1.5px var(--hd-navy); }
  .site-header .header-tel:hover { background: var(--hd-blue-soft); }
  .site-header .ht-ico { width: 20px; height: 20px; }
  .site-header .header-tel-num { display: none; }
  .site-header .btn-header-cta { border-radius: 999px; padding: 0 26px; font-size: 15px; box-shadow: 0 8px 18px -10px rgba(234,91,47,.75); gap: 8px; }
  .site-header .btn-header-cta:hover { transform: none; }
  .site-header .btn-header-cta .hl-ico { display: block; width: 19px; height: 19px; fill: #fff; }
  .site-header .btn-header-cta .hl-long { display: inline; font-size: 15px; font-weight: 900; }
  .site-header .btn-header-cta .hl-short { display: none; }
}
@media (min-width: 960px) and (max-width: 1199px) { .site-header .header-tel { width: 48px; padding: 0; justify-content: center; } }
@media (min-width: 1200px) {
  .site-header .header-tel-num { display: inline; font-size: 16px; font-weight: 800; letter-spacing: .02em; color: var(--hd-navy); }
  .site-header .header-tel { padding: 0 18px 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .site-header .nt-bars i { transition: none; } }
