/* Guide trial only: foundation values from the adopted LP header.
   Shared header-navigation/continuity/pc-menu CSS loads after this file. */
header.header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0B1420;
  color: #D9E0E5;
  border-bottom: 1px solid rgba(217,224,229,.2);
  backdrop-filter: none;
  font: 400 16px/1.85 "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  word-break: normal;
  overflow-wrap: break-word;
}
header.header-wrap .header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px;
  gap: 8px 12px;
  flex-wrap: wrap;
}
header.header-wrap .header-logo-link {
  display: flex;
  align-items: center;
  min-width: 44px;
  min-height: 56px;
  margin-right: auto;
  cursor: pointer;
}
header.header-wrap .header-logo-img {
  height: 56px;
  width: 56px;
  object-fit: contain;
}
header.header-wrap .header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 3px;
  background: #22D3C5;
  color: #0B1420;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  order: 2;
  transition: none;
}
header.header-wrap .header-cta-btn:hover {
  background: #6FE3D6;
  box-shadow: none;
  transform: none;
}
header.header-wrap .menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #798C9C;
  border-radius: 3px;
  background: transparent;
  color: #FAF7F0;
  padding: 8px 10px;
  font: 500 13px/1.5 "Yu Gothic", Meiryo, sans-serif;
  order: 3;
  cursor: pointer;
}
header.header-wrap.has-menu .menu-toggle { display: inline-flex; }
header.header-wrap .site-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  order: 4;
  width: 100%;
  padding: 8px 0 12px;
  border-top: 1px solid rgba(217,224,229,.2);
}
header.header-wrap .site-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: #D9E0E5;
  font-size: 14px;
  text-decoration: none;
}
@media (width < 1000px) {
  header.header-wrap .site-navigation > .header-label-pc { display: none; }
}
header.header-wrap.has-menu .site-navigation { display: none; }
header.header-wrap.has-menu.is-menu-open .site-navigation { display: grid; }
header.header-wrap a:focus-visible,
header.header-wrap button:focus-visible {
  outline: 3px solid #F2C879;
  outline-offset: 4px;
}
/* Follow navigation.js's measured header height after logo-size unification. */
main [id] { scroll-margin-top: var(--header-offset, 129px); }
@media (min-width: 1000px) {
  header.header-wrap .header-inner {
    padding: 10px 30px;
    gap: 0 24px;
    flex-wrap: nowrap;
  }
  header.header-wrap .header-logo-link { margin-right: 0; order: 1; }
  header.header-wrap.has-menu .menu-toggle { display: none; }
  header.header-wrap .site-navigation,
  header.header-wrap.has-menu .site-navigation,
  header.header-wrap.has-menu.is-menu-open .site-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    order: 2;
    width: auto;
    flex: 1;
    border: 0;
    padding: 0;
  }
  header.header-wrap .site-navigation a { white-space: nowrap; }
  header.header-wrap .header-cta-btn { order: 3; padding: 12px 16px; font-size: 13px; }
}
