@charset "UTF-8";

/* =========================
   Header（デザイン寄せ）
   - 上部は透過
   - スクロールで白背景
   - ハンバーガーは常時表示（デザイン通り）
   ========================= */

:root{
  --header-h: 72px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: #111;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 2000;
}
.skip-link:focus{
  left: 12px;
  top: 12px;
}

/* Header */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}

.site-header.is-scrolled{
  background: rgba(255,255,255,.92);
  border-bottom-color: rgba(0,0,0,.06);
  backdrop-filter: blur(10px);
}

.header-inner{
  height: var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

:root{
  --header-h: 88px;
}

.header-logo img{
  height: 52px;
  width:auto;
  display:block;
}

/* Menu Button */
.header-menuBtn{
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.header-menuBtn:hover{
  transform: translateY(-1px);
}

.header-menuLabel{
  font-size: 10px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 800;
  color: #fff;
  user-select: none;
}

.header-menuBars{
  display: grid;
  gap: 4px;
  place-items: center;
}
.header-menuBars span{
  display:block;
  width: 24px;
  height: 2px;
  background:#fff;
  border-radius: 999px;
}

/* scrolled */
.site-header.is-scrolled .header-menuBtn{
  background: rgba(0,0,0,.06);
}
.site-header.is-scrolled .header-menuLabel{
  color:#111;
}
.site-header.is-scrolled .header-menuBars span{
  background:#111;
}
/* Overlay */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 998;
}
html.is-navOpen .nav-overlay{
  opacity: 1;
  pointer-events: auto;
}

html.is-navOpen,
html.is-navOpen body{
  overflow: hidden;
}

/* Drawer Nav */
.global-nav{
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: min(380px, 92vw);
  height: calc(100vh - var(--header-h));
  background: #fff;
  border-left: 1px solid rgba(0,0,0,.08);
  transform: translateX(105%);
  transition: transform .25s ease;
  padding: 18px 16px;
  z-index: 999;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
html.is-navOpen .global-nav{ transform: translateX(0); }

.global-nav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.global-nav a{
  display:block;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration:none;
  color:#111;
  font-weight: 800;
}
.global-nav a:hover{ background: rgba(0,0,0,.04); }

.global-nav a.is-cta{
  background:#2f67ad;
  color:#fff;
}


/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .global-nav, .nav-overlay, .site-header, .header-menuBtn{
    transition: none !important;
  }
}
