/* ======= Header ======= */
.site-header_new {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
}

.site-header_new nav {
  padding: 0 20px;
  display: block;
}

.navbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar__row-r {
  display: flex;
  gap: 30px;
}

.navbar__brand {
  flex-shrink: 0;
  cursor: pointer;
}

.navbar__logo {
  height: 35.2px;
  width: auto;
}

/* Desktop nav */
.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
}

.nav-link {
  padding: 8px 12px;
  font-size: 14px;
  color: #d2d5db !important;
  transition: color .2s;
  font-weight: 500;
  background: transparent !important;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-link:focus {
  color: #d2d5db !important;
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-link--trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent !important;
  border: none;
}

.nav-item--has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -15px;
  margin-top: 0 !important;
  width: 208px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  padding: 8px;
}

.dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: #000;
  transition: background-color .15s;
}

.dropdown-link:hover {
  background: #FFE500;
  color: inherit;
  text-decoration: unset;
}

/* CTAs */
.nav-cta {
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.nr_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 7px 14px;
  font-weight: 500;
  transition: .2s;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  transition: transform .2s;
  gap: 5px;
}

.btn--primary:hover {
  background: var(--brand-hover);
  transform: scale(1.05);
  color: #fff;
  text-decoration: unset;
}

.btn--secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
  transition: transform .2s;
}

.btn--secondary:hover {
  background: #f9fafb;
  transform: scale(1.05);
  color: var(--brand);
  text-decoration: unset;
}

.btn--secondary-strong {
  background: var(--brand);
  color: #fff;
}

.btn--secondary-strong:hover {
  opacity: .9;
  color: #fff;
}

.btn--ghost-red {
  border-color: var(--brand);
  color: var(--brand);
  /* background: transparent; */
  background: #f5f5f5;
}

.btn--ghost-red:hover {
  background: var(--brand);
  color: #fff;
}

.btn--invert {
  background: #fff;
  color: #000;
}

.btn--invert:hover {
  opacity: 0.9;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--block {
  width: 100%;
}

.btn--lg {
  height: 55px;
  font-size: 18px;
  gap: 12px;
  width: 280px;
}

.btn--xl {
  /* padding-block: 18px;
  padding-inline: 22px; */
  font-size: 18px;
  gap: 16px;
  width: 230px;
  line-height: 1.4;
  transition: transform .2s;
  align-items: center;
}

.btn--xl:hover {
  transform: scale(1.05);
  color: #fff;
  text-decoration: unset;
}

.icon-16 {
  width: 16px;
  height: 16px;
}

.icon-17_5 {
  width: 17.5px;
  height: 17.5px;
}

.icon-20 {
  width: 20px;
  height: 20px;
}

.icon-24 {
  width: 24px;
  height: 24px;
  color: #fff;
}

.icon-35 {
  width: 35px;
  height: 35px;
}

.icon-40 {
  width: 40px;
  height: 40px;
}

.icon-img {
  width: 21px;
  height: 21px;
}

.icon-img--invert-on-hover {
  filter: none;
  transition: filter .2s;
}

.btn--ghost-red:hover .icon-img--invert-on-hover {
  filter: brightness(0) invert(1);
}

/* Mobile */
.navbar__mobile {
  display: block;
}

.navbar__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #fff;
  background: transparent !important;
  border: none;
}

.mobile-menu {
  display: none;
  padding: 0 0 12px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
}

.mobile-link {
  display: block;
  padding: 10px 12px;
  color: #d2d5db;
}

.mobile-link:hover {
  color: #fff;
  text-decoration: unset;
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
  gap: 12px;
  margin-top: 12px;
  padding-inline: 12px;
}

.mobile-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 10px;
  color: #d2d5db !important;
  background: transparent !important;
  border: none;
  /* font-size: 14px; */
}

.mobile-dropdown__trigger:hover {
  color: #fff !important;
}

.mobile-dropdown__panel {
  display: none;
}

.mobile-dropdown__panel.is-open {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  padding-left: 16px;
}

@media (min-width:1248px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: flex;
  }

  .navbar__mobile {
    display: none;
  }
}

/* h1のCSS (SEO用) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}