/* =========================
   ヘッダー共通
========================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
    align-items: center;
  position: relative;
}

/* ロゴ */
.logo {
  height: 50px;
  width: auto;
}

/* ナビゲーション（PC用） */
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  text-decoration: none;  /* 下線を消す */
  color: #333;
   padding: 10px 15px;
}

nav ul li a:hover {
  color: #0078ff;
  text-decoration: none;  /* 下線なし */
}

/* 検索フォーム */
.search-form {
  display: flex;
  align-items: center;
}

.search-input {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 20px 0 0 20px;
  outline: none;
}

.search-button {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-left: none;
  background: #f5f5f5;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
}

.search-button:hover {
  background: #e0e0e0;
}

/* ハンバーガーメニュー（PCでは非表示） */
.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
    z-index: 1002;
}

/* =========================
   タブレット・スマホ
========================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 10px;
    background: #fff;
    border: 1px solid #ddd;
    width: calc(100% - 20px);
  }

  nav ul.active {
    display: block;
  }

  nav ul li {
    margin: 0;
  }

  nav ul li a {
    display: block;
    padding: 18px 24px;
    font-size: 20px;
    text-decoration: none; /* 下線なし */
  }
}

/* =========================
   スマホ小
========================= */
@media (max-width: 480px) {
  nav ul li a {
    font-size: 22px;
    padding: 20px 24px;
    line-height: 1.8;
    text-decoration: none; /* 下線なし */
  }
}

/* =========================
   下線を完全に消す（全画面サイズ対応）
========================= */
header nav ul li a,
header nav ul li a:hover,
header nav ul li a:visited {
  text-decoration: none !important;
}

