/* =========================================================
   header.css — ヘッダー（全ページ共通）
   スマホはロゴと「機能・サポート」だけ、761px 以上でダウンロードボタンも出す。
   色や文字はページの base.css に頼らずここで決める（トップページは base.css を読まないため）。
   ========================================================= */

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #2A2350; color: #fff; padding: 8px 14px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 253, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid #EDE6F3;
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
}

.site-header .logo { display: block; flex: none; margin-right: auto; }
.site-header .logo img { display: block; height: 34px; width: auto; max-width: none; }

.site-header .nav-list { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-header .nav-list a {
  display: block; padding: 6px 0; color: #2A2350; text-decoration: none;
  font-weight: 700; font-size: 15px; line-height: 1.6; white-space: nowrap;
}
.site-header .nav-list a:hover { color: #C9416F; }
.site-header .nav-list a[aria-current="page"] { color: #C9416F; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.btn-dl { display: none; }

@media (min-width: 761px) {
  .header-inner { gap: 28px; padding: 14px clamp(20px, 4vw, 48px); }
  .site-header .logo img { height: 44px; }
  .site-header .nav-list { gap: 32px; }
  .site-header .nav-list a { font-size: 17px; }
  .btn-dl {
    display: inline-flex; align-items: center; flex: none;
    padding: 12px 26px; border-radius: 999px; background: #C9416F; color: #fff;
    font-size: 17px; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: nowrap;
    transition: background-color .2s ease;
  }
  .btn-dl:hover { background: #9E2F55; color: #fff; }
}
