/**
 * 共通ヘッダー・フッター・ナビゲーション (header-footer.scss)
 * --gutter (PC:32px / Tab:20px / SP:14px) と完全一致（150行以下厳守）
 */
/**
 * Windows XP Luna UI デザイントークン変数 (_variables.scss)
 * 2026年推奨ブレイクポイント (SP: ~599px / Tab: 600~1024px / PC: 1025px~)
 */



















/**
 * Windows XP Luna UI 共通Mixin (_mixins.scss)
 */
/* グラデーション定義 */











.hdr {
  background: var(--g-title); height: 54px; display: flex; align-items: center;
  padding: 0 var(--gutter); gap: 12px; color: #fff; border-bottom: 1px solid #0831D9;
  box-shadow: 0 2px 0 #7FA6F2 inset; position: relative; z-index: 100;
}
.hdr .logo {
  display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px;
  text-shadow: 1px 1px 0 #0F1F6F; text-decoration: none; color: #fff; white-space: nowrap; flex-shrink: 0;
}
.hdr nav, .hdr-nav { display: flex; gap: 4px; margin-left: 12px; align-items: center; }
.hdr nav a, .hdr-nav a {
  color: #fff; text-decoration: none; font-size: 14.5px; padding: 6px 11px;
  border-radius: 3px; transition: background 0.1s; white-space: nowrap;
}
.hdr nav a:hover, .hdr-nav a:hover { background: rgba(255, 255, 255, 0.16); }
.hdr nav a.on, .hdr-nav a.on {
  background: rgba(255, 255, 255, 0.24); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); font-weight: 700;
}
.hdr .safe {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  background: rgba(0, 20, 90, 0.42); border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 12px; border-radius: 14px; font-size: 13px; color: #fff; white-space: nowrap; flex-shrink: 0;
}
.hdr-mobile-toggle {
  display: none; background: rgba(0, 20, 90, 0.35); border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px; padding: 8px; cursor: pointer; flex-direction: column; gap: 4px; margin-left: auto;
}
.hdr-mobile-toggle span { display: block; width: 20px; height: 2px; background: #fff; }

.hdr-safe-mobile {
  display: none; background: #0B3FB5; color: #fff; font-size: 13px;
  padding: 7px var(--gutter); align-items: center; justify-content: center; gap: 6px;
}

/* フッター */
.ftr { position: relative; width: 100%; padding-bottom: 104px; }
.ftr-amazon-support { background: #F8F6ED; border-top: 1px solid #D2CFBE; padding: 16px var(--gutter); }
.ftr-amazon-inner { text-align: center; max-width: 880px; margin: 0 auto; }
.ftr-amazon-badge {
  font-size: 12.5px; font-weight: 700; color: #78350F; background: #FEF3C7;
  border: 1px solid #FDE68A; padding: 2px 10px; border-radius: 3px; display: inline-block; margin-bottom: 6px;
}
.ftr-amazon-text { font-size: 14.5px; color: #3F3F46; line-height: 1.65; margin: 0; }
.ftr-amazon-text a { color: #0046D5; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ftr-amazon-notice { font-size: 12px; color: #57534E; margin-top: 5px; }

.ftr-links {
  padding: 16px var(--gutter); display: flex; gap: 20px; font-size: 14.5px;
  color: var(--ink-2); border-top: 1px solid #D2CFBE; background: var(--desk);
  align-items: center; flex-wrap: wrap;
}
.ftr-links a { color: var(--ink-2); text-decoration: none; }
.ftr-links a:hover { color: var(--link); text-decoration: underline; }
.ftr-copy { margin-left: auto; font-size: 13.5px; color: var(--ink-3); }

@media (max-width: 1120px) { .hdr .safe { display: none; } }
@media (max-width: 1024px) {
  .hdr { height: 50px; }
  .hdr nav, .hdr-nav {
    display: none; position: absolute; top: 50px; left: 0; width: 100%;
    background: #0048C8; flex-direction: column; align-items: stretch; margin: 0; padding: 10px var(--gutter);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28); border-bottom: 2px solid #0831D9;
  }
  .hdr nav.open, .hdr-nav.open { display: flex; }
  .hdr nav a, .hdr-nav a { padding: 10px 12px; font-size: 15.5px; }
  .hdr-mobile-toggle, .hdr-safe-mobile { display: flex; }
}
@media (max-width: 599px) {
  .ftr-links { gap: 12px 16px; font-size: 14px; }
  .ftr-copy { margin-left: 0; width: 100%; margin-top: 4px; }
  .ftr { padding-bottom: 92px; }
}
