/* Shared TOP header and footer. */
.v62-header{position:absolute;inset:0 0 auto;z-index:20}
.v62-header-inner{position:relative;isolation:isolate;width:min(1600px,100%);height:56px;margin:auto;padding:0 8.9%;display:flex;align-items:center;justify-content:space-between;background:url('top-final/header-shell.svg') center top/100% 100% no-repeat}
.v62-header-inner::before{display:none}
.v62-brand{width:96px;display:block;flex-shrink:0}
.v62-brand img{width:100%;height:auto}
.v62-desktop-nav{display:flex;align-items:center;gap:24px;font-size:12px;font-weight:800}
.v62-desktop-nav>a:not(.v62-header-contact),.v62-dropdown>a{display:block;padding:20px 3px}
.v62-dropdown{position:relative}
.v62-dropdown-menu{position:absolute;top:52px;right:-16px;min-width:235px;display:none;padding:10px;background:white;border:1px solid #d9edff;border-radius:16px;box-shadow:0 12px 30px #0055ac25}
.v62-dropdown:hover .v62-dropdown-menu,.v62-dropdown:focus-within .v62-dropdown-menu{display:grid}
.v62-dropdown-menu a{padding:12px 14px;border-radius:8px}
.v62-dropdown-menu a:hover{background:#edf7ff}
.v62-header-contact{background:linear-gradient(135deg,#ff2353,#eb0e3b);color:white;padding:11px 20px;border:1px solid #ff6f8d;border-radius:28px;box-shadow:0 5px 12px #d6144140}
.v62-header-contact span{margin-left:12px}
.v62-menu-button,.v62-mobile-nav{display:none}
.v62-mobile-nav[hidden]{display:none!important}
.v62-footer{background:#f6fbff;padding:30px 0;color:#234d75}
.v62-footer>.v62-footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}
.v62-footer img{width:95px}
.v62-footer-links{display:flex;gap:18px;font-size:12px;font-weight:700}
.v62-footer small{font-size:11px}
@media(min-width:1441px) {
  .v62-header-inner{height:72px}
}
@media(min-width:701px) and (max-width:1000px) {
  .v62-header-inner{width:calc(100% - 32px);padding:0 30px}
  .v62-brand{width:100px}
  .v62-desktop-nav{gap:20px}
}
@media(max-width:700px) {
  .v62-header-inner{width:calc(100% - 20px);height:60px;padding:0 18px;border-radius:0 0 28px 18px;background:#fffffff0}
  .v62-header-inner::before{display:none}
  .v62-brand{width:100px}
  .v62-desktop-nav{display:none}
  .v62-menu-button{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:10px;border:0;background:transparent;cursor:pointer}
  .v62-menu-button span{width:100%;height:2px;background:#164b86;border-radius:2px;transition:transform .2s,opacity .2s}
  .v62-menu-button[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .v62-menu-button[aria-expanded=true] span:nth-child(2){opacity:0}
  .v62-menu-button[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .v62-mobile-nav:not([hidden]){display:grid;width:calc(100% - 20px);max-height:calc(100svh - 75px);overflow:auto;margin:0 auto;padding:10px 16px 16px;background:#fffffff7;border-radius:0 0 20px 20px;border:1px solid #d9efff;box-shadow:0 15px 30px #07559a30;backdrop-filter:blur(14px)}
  .v62-mobile-nav a{padding:12px 9px;border-bottom:1px solid #e2f2fd;font-size:13px;font-weight:700;min-height:44px}
  .v62-mobile-nav a:last-child{background:#f21749;color:white;border-radius:23px;text-align:center;margin-top:10px}
  .v62-footer>.v62-footer-inner{flex-direction:column;text-align:center}
  .v62-footer-links{flex-wrap:wrap;justify-content:center;gap:14px;font-size:11px}
}

.v62-header {
  position: relative;
  inset: auto;
  background: linear-gradient(110deg, #ddf7ff, #b9e9ff);
}
.v62-header, .v62-footer {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  line-height: 1.5;
}
.v62-header { color: #102d53; }
.v62-header a, .v62-footer a { color: inherit; text-decoration: none; }
.v62-header .v62-header-contact { color: white; }
.v62-header [aria-current="page"], .v62-footer [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .25em;
}
.v62-header [aria-current="page"].v62-brand { text-decoration: none; }
.v62-header img, .v62-footer img { display: block; max-width: 100%; height: auto; }
.v62-footer-inner { width: min(1122px, calc(100% - 140px)); margin-inline: auto; }
.v62-dropdown-menu { top: 100%; }
@media (701px <= width <= 1000px) {
  .v62-footer-inner { width: calc(100% - 64px); }
}
@media (max-width: 700px) {
  .v62-header[data-menu-ready] .v62-mobile-nav:not([hidden]) {
    position: absolute;
    z-index: 1;
    inset: 100% 10px auto;
    width: auto;
  }
  .v62-header .v62-mobile-nav a:last-child { color: white; }
  .v62-footer-inner { width: min(520px, calc(100% - 36px)); }
}
@media (prefers-reduced-motion: reduce) {
  .v62-menu-button span { transition: none; }
}

.v62-header, .v62-header *, .v62-footer, .v62-footer * { box-sizing: border-box; }

.v62-brand-name {
  font-size: clamp(11px, 1.3vw, 15px);
  font-weight: 800;
  white-space: nowrap;
  color: #102d53;
}

/* Shared menu and contact affordances. */
.v62-header .v62-desktop-nav > a:not(.v62-header-contact),
.v62-header .v62-dropdown > a {
  position: relative;
}
.v62-header .v62-desktop-nav > a:not(.v62-header-contact)::after,
.v62-header .v62-dropdown > a::after {
  content: "";
  position: absolute;
  inset: auto 3px 10px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0660c8, #32c2ed);
  transform: scaleX(0);
  transform-origin: left;
}
.v62-header .v62-desktop-nav > a:is(:hover, :focus-visible):not(.v62-header-contact)::after,
.v62-header .v62-dropdown:focus-within > a::after,
.v62-header .v62-dropdown:hover > a::after {
  transform: scaleX(1);
}
.v62-header .v62-mobile-nav a:not(.v62-mobile-contact):is(:hover, :focus-visible),
.v62-header .v62-dropdown-menu a:focus-visible { background-color: #edf7ff; }
.v62-menu-button { border-radius: 12px; }
.v62-menu-button:is(:hover, :focus-visible, [aria-expanded="true"]) { background-color: #e1f0ff; }

.v62-footer .v62-footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #80add6;
  border-radius: 99px;
  background: #fff;
  color: #104a84;
  font-weight: 800;
}
.v62-footer .v62-footer-contact:is(:hover, :focus-visible) {
  background: #145391;
  border-color: #145391;
  color: #fff;
}
.v62-header .v62-header-contact:is(:hover, :focus-visible),
.v62-header .v62-mobile-contact:is(:hover, :focus-visible) {
  background: #bf103b;
  box-shadow: 0 8px 20px #9f082d59;
}
.v62-footer-links { align-items: center; }

@keyframes aruko-nav-open {
  from { opacity: 0; translate: 0 -12px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes aruko-menu-item {
  from { opacity: 0; translate: -7px 0; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .v62-header .v62-dropdown-menu,
  .v62-header[data-menu-ready] .v62-mobile-nav:not([hidden]) { animation: aruko-nav-open 280ms cubic-bezier(.2,.72,.25,1) both; }
  .v62-header .v62-desktop-nav a::after { transition: transform 230ms ease-out; }
  .v62-menu-button { transition: background-color 230ms ease-out; }
  .v62-header[data-menu-ready] .v62-mobile-nav:not([hidden]) a {
    animation: aruko-menu-item 240ms ease-out both;
    animation-delay: calc(20ms * var(--aruko-nav-order, 1));
  }
  .v62-mobile-nav a:nth-child(2) { --aruko-nav-order: 2; }
  .v62-mobile-nav a:nth-child(3) { --aruko-nav-order: 3; }
  .v62-mobile-nav a:nth-child(4) { --aruko-nav-order: 4; }
  .v62-mobile-nav a:nth-child(5) { --aruko-nav-order: 5; }
  .v62-mobile-nav a:nth-child(6) { --aruko-nav-order: 6; }
  .v62-mobile-nav a:nth-child(7) { --aruko-nav-order: 7; }
  .v62-mobile-nav a:nth-child(8) { --aruko-nav-order: 8; }

}

@media (max-width: 700px) {
  .v62-header[data-menu-ready] {
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 3px 12px #0e4b7a1a;
  }
  .v62-header[data-menu-ready] .v62-mobile-nav:not([hidden]) {
    max-height: calc(100dvh - 72px);
    overscroll-behavior: contain;
  }
  .v62-footer-links { gap: 8px 14px; }
}
