/* ===== Header ===== */
/* モバイルファースト実装（390px基準） */

.lp-header {
  background:#fff;
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid #E5E7EB;
  font-family:"Zen Old Mincho", serif;
}

.lp-header__inner {
  max-width:1100px;
  margin-inline:auto;
  padding:18.58px 6.98% 18.58px 6.98%;  /* Figma: 18.58% top/bottom, 6.98% left, 47.5% right */
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  position:relative;
}

/* ロゴ（390px基準） */
.lp-logo {
  display:flex;
  align-items:center;
  line-height:0;
}

.lp-logo img {
  display:block;
  height:40.48px;     /* Figmaの実寸 */
  width:177.537px;    /* Figmaの実寸 */
  margin:0;
  padding:0;
  border:none;
}

/* MENUボタン（390px基準） */
.lp-menu-button {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:0;
  border:none;
  background:transparent;
  cursor:pointer;
  transition:all 0.25s ease;
  font-family:"Noto Serif JP", serif;
  width:21.864px;     /* Figmaの実寸 */
  height:auto;
}

.lp-menu-button:hover {
  opacity:0.8;
}

.lp-menu-button__icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
}

.lp-menu-button__icon img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.lp-menu-button__text {
  display:block;
  color:#017AC6;
  font-size:9px;
  font-weight:700;
  line-height:12px;
  letter-spacing:0.12em;
  text-align:center;
}

/* タブレット（768px以上） */
@media (min-width: 768px) {
  .lp-header__inner {
    padding:20px 32px;
  }

  .lp-logo img {
    height:45px;
    width:auto;
  }

  .lp-menu-button {
    width:28px;
  }

  .lp-menu-button__icon {
    width:36px;
    height:36px;
  }

  .lp-menu-button__text {
    font-size:9px;
  }
}

/* PC用ナビゲーション（デフォルトは非表示） */
.lp-header-nav {
  display: none;
}

/* デスクトップ（1024px以上） */
@media (min-width: 1024px) {
  .lp-header__inner {
    padding: 14px 20px;
    gap: 32px;
  }

  .lp-logo img {
    height: 50px;
    width: auto;
  }

  /* PC画面ではハンバーガーメニューを非表示 */
  .lp-menu-button {
    display: none;
  }

  /* PC画面ではナビゲーションを表示 */
  .lp-header-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
  }

  .lp-header-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: clamp(16px, 2vw, 28px);
    align-items: center;
  }

  .lp-header-nav__item {
    margin: 0;
    padding: 0;
  }

  .lp-header-nav__link {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: clamp(13px, 1.1vw, 15px);
    color: #1A1A1A;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    transition: all 0.25s ease;
    border-radius: 0;
    white-space: nowrap;
  }

  .lp-header-nav__link:hover {
    color: #017AC6;
    background: rgba(1, 122, 198, 0.08);
  }
}
