.body {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}

.inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ヘッダー */
.header {
  background-color: #eef2f7;
  padding: 35px;
  opacity: 0;
  animation: fadeIn 3s ease forwards;
  z-index: 1000;
}

.header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-img {
  width: 220px;
}

.header-nav {
  display: flex;
  gap: 50px;
  font-size: 17px;
  color: #6e808d;
  font-weight: 600;
  align-items: center;
}

.header-list-p {
  background: #6e808d;
  border-radius: 100px;
  color: #fff;
  padding: 11px 30px;
}

/* ヘッダー*/

@media (max-width: 767px) {
  .header-img {
    width: 170px;
  }

  .header {
    background-color: #eef2f7;
    padding: 30px;
    opacity: 0;
    animation: fadeIn 3s ease forwards;
    z-index: 1000;
  }
}

/* =======================
   ハンバーガー & ドロワー
======================= */
/* 既存のheaderスタイルはそのまま + 以下を追加 */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10001;
  position: relative;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.hamburger.active span {
  background: white;
}

/* ドロワー（確実版） */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.drawer.active {
  transform: translateY(0);
  visibility: visible;
}

.drawer-menu {
  list-style: none;
  text-align: center;
}

.drawer-menu li {
  margin-bottom: 40px;
}

.drawer-list {
  color: #6e808d;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  transition: color 0.3s;
}

.drawer-list:hover {
  color: #007bff;
}

.drawer-list-p {
  color: white;
  font-size: 18px;
  background: #6e808d;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
  display: inline-block;
}

.drawer-list-p:hover {
  background: #0056b3;
}

/* ドロワー開いた時の固定 */
body.drawer-open {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #6e808d;
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

@media (max-width: 767px) {
  .header-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .drawer-menu {
    padding-right: 40px;
  }
}
