/* Final navigation / logo polish layer.
 * Keep this file last so the logo and navigation remain stable before launch.
 */

.c-logo,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #071421;
  text-decoration: none;
}

.c-logo::before,
.c-logo::after,
.c-logo--official::before,
.c-logo--official::after {
  content: none !important;
  display: none !important;
}

.c-logo--official {
  min-height: 42px;
}

.c-logo__mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 0;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.c-logo__wordmark {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: "Inter", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  line-height: 1;
}

.c-logo__wordmark-main {
  color: #071421;
  font-size: 1.46rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.c-logo__wordmark-sub {
  display: none;
  margin-left: 0.5em;
  color: #4b5f73;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.c-logo__image,
.custom-logo-link img {
  max-width: 170px;
  max-height: 38px;
  width: auto;
  height: auto;
}

.l-site-header__inner {
  gap: 28px;
}

.l-site-header__brand {
  flex: 0 0 auto;
}

.l-site-header__nav {
  min-width: 0;
}

.l-site-header__menu {
  gap: 20px;
}

.l-site-header__menu a {
  font-size: 0.86rem;
  white-space: nowrap;
}

.l-site-header__cta .c-button {
  white-space: nowrap;
}

.c-batch-brand-panel > span {
  display: none;
}

.c-batch-brand-panel__logo {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  object-fit: contain;
}

.l-site-footer__brand {
  max-width: 340px;
}

.l-site-footer__brand .c-logo {
  color: #fff;
}

.l-site-footer__brand .c-logo__wordmark-main {
  color: #fff;
}

.l-site-footer__brand .c-logo__wordmark-sub,
.l-site-footer__brand p {
  color: rgba(255, 255, 255, 0.68);
}

.l-site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.l-site-footer__social a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(107, 213, 255, 0.28);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(14, 49, 79, 0.62);
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, background 180ms ease;
}

.l-site-footer__social a:hover,
.l-site-footer__social a:focus-visible {
  border-color: rgba(89, 214, 255, 0.78);
  color: #fff;
  background: rgba(21, 113, 170, 0.52);
  outline: none;
  transform: translateY(-2px);
}

.l-site-footer__social svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.l-site-footer__social svg .is-fill,
.l-site-footer__social a:not(:first-child) svg {
  fill: currentColor;
  stroke: none;
}

.l-site-footer__menus {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(160px, 1fr) minmax(160px, 1fr);
  gap: 36px 48px;
}

.l-site-footer__menu-group-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.l-site-footer__menu,
.l-site-footer__menu-group ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.l-site-footer__menu a,
.l-site-footer__menu-group a {
  display: inline-flex;
  width: fit-content;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: none;
}

.l-site-footer__menu a:hover,
.l-site-footer__menu a:focus,
.l-site-footer__menu-group a:hover,
.l-site-footer__menu-group a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.l-site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1100px) {
  .l-site-header__menu {
    gap: 14px;
  }

  .l-site-header__menu a {
    font-size: 0.82rem;
  }
}

@media (max-width: 980px) {
  .l-site-header__inner {
    min-height: 64px;
  }

  .l-site-header__nav {
    max-height: calc(100vh - 92px);
    overflow: auto;
  }

  .l-site-header__menu a {
    white-space: normal;
  }

  .l-site-footer__menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .c-logo__mark {
    width: 30px;
    height: 30px;
  }

  .c-logo__wordmark-main {
    font-size: 1.22rem;
    letter-spacing: 0.035em;
  }

  .c-logo__wordmark-sub {
    display: none;
  }

  .l-site-footer__menus {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
