/* AEM の line-height 影響を完全にリセット */
#sec-site-header, #sec-site-header * {
  line-height: normal !important;
}
/* ===========================
   ヘッダー（固定）
   =========================== */
/* 共通（PC用） */
.site-header {
  position: fixed;
  top: 130px; /* ★ PC表示時の初期位置 */
  width: 100%;
  background: #000;
  z-index: 999999;
}
/* ===========================
   100px の高さで左右2カラム
   =========================== */
.header-inner {
  width: 94%;
  height: 100px;
  margin: 0 auto;
  padding: 0;
  display: table;
  table-layout: fixed;
}
/* 左：ロゴ、右：nav を正確に天地中央に揃える */
.logo, .nav {
  display: table-cell;
  vertical-align: middle;
}
/* ===========================
   ロゴ画像
   =========================== */
.logo img {
  max-height: 45px;
  width: auto;
  display: block;
}
/* ===========================
   nav 内は inline-block のみで構成
   =========================== */
.nav {
  text-align: right;
  white-space: nowrap;
}
.nav-main {
  display: inline-block; /* ← table をやめて安定化 */
  vertical-align: middle;
}
/* ===========================
   購入ボタン
   =========================== */
.buy-btn {
  background: #06D0D3;
  color: #FFF;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 70px; /* PC用のボタンとメニューの余白 */
  text-decoration: none !important;
}
/* ===========================
   ハンバーガーボタン
   =========================== */
.nav-toggle {
  width: 44px;
  height: 44px;
  background: #000;
  border: none;
  position: relative;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}
.nav-toggle span {
  position: absolute;
  height: 4px;
  background: #FFF;
  border-radius: 2px;
  transition: 0.25s ease;
}
/* 上の線（15px） */
.nav-toggle span:nth-child(1) {
  width: 15px;
  top: calc(50% - 12px);
  left: calc(50% - 15px);
}
/* 真ん中の線 */
.nav-toggle span:nth-child(2) {
  width: 30px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
}
/* 下の線 */
.nav-toggle span:nth-child(3) {
  width: 15px;
  top: calc(50% + 12px);
  left: 50%;
}
/* 開いたとき（×） */
.nav.open .nav-toggle span:nth-child(1), .nav.open .nav-toggle span:nth-child(3) {
  width: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.nav.open .nav-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav.open .nav-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* ===========================
   ドロップダウンメニュー
   =========================== */
.nav-links {
  list-style: none;
  position: absolute;
  right: 0;
  top: 100px;
  margin: 0;
  padding: 3rem 8rem 3rem 2.8rem;
  background: #000;
  min-width: 400px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    max-height 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}
.nav.open .nav-links {
  max-height: 800px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-links a {
  display: block;
  padding: 0.6rem 0.3rem 0.6rem 1em;
  color: #FFF;
  text-decoration: none;
  position: relative;
}
.nav-links span {
  font-size: 75%;
  font-family: DIN-2014, "sans-serif";
}
/* ● カレント表示 */
.nav-links .current a::before {
  content: "●";
  color: #06D0D3;
  position: absolute;
  left: -1em;
  top: 50%;
  transform: translateY(-50%);
}
/* プルダウンメニュー内テキストを左揃えに強制 */
#sec-site-header .nav-links, #sec-site-header .nav-links li, #sec-site-header .nav-links a {
  text-align: left !important;
}
/* ===========================
   アンカー位置補正（PC用）
   =========================== */
/* 必要に応じて値を微調整してください */
#sec-features {
  scroll-margin-top: -40px !important; /* 商品特長 */
}
#sec07 {
  scroll-margin-top: 150px !important; /* 商品仕様 */
}
#sec-expression {
  scroll-margin-top: 80px !important; /* withアーティスト */
}
#sec-store-list {
  scroll-margin-top: 40px !important; /* 試奏できる場所 */
}
#sec-movie-column {
  scroll-margin-top: 0 !important; /* チュートリアル動画 */
}
#sec-interview-mov {
  scroll-margin-top: 100px !important; /* 開発者の想い */
}
/* ===========================
   スマホ
   =========================== */
@media screen and (max-width: 640px) {
  .site-header {
    top: 80px; /* ★ SP表示時の初期位置 */
  }
  .logo img {
    max-height: 30px;
  }
  .buy-btn {
    font-size: 12px;
    padding: 10px 16px;
    margin-right: 15px;
  }
  /* アンカー位置補正（SP用） */
  #sec07, #sec-expression, #sec-features, #sec-movie-column {
    scroll-margin-top: 120px;
  }
}
/* =========================================
   Page local menu priority when sticky
   ========================================= */

body.is-page-menu-sticky .page-local-menu-wrapper {
  z-index: 1000000;
}