/* =========================
   BASE
========================= */

body {
  background-color: #e7e7e7;
  margin: 0;
  font-family: "Yu Gothic", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}
/* =========================
   HEADER
========================= */

header {
  width: 100%;
  height: 110px;
  background: #000;

  position: fixed;
  top: 0;
  left: 0;

  z-index: 9999;
}

body {
  margin: 0;
  padding-top: 110px;
}

/* 中央幅 */
.header-inner {
  width: 100%;
  max-width: 1110px;
  height: 110px;

  margin: 0 auto;

  position: relative;
}

/* =========================
   ハンバーガー
========================= */

.hamburger {
  width: 40px;
  height: 30px;

  position: absolute;
  left: 20px;
  top: 50%;

  transform: translateY(-50%);
  cursor: pointer;

  z-index: 10000;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: #fff;

  position: absolute;
  left: 0;

  transition: 0.3s;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 14px;
}

.hamburger span:nth-child(3) {
  top: 28px;
}

/* × */

.hamburger.active span:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 14px;
  transform: rotate(-45deg);
}

/* =========================
   ロゴ
========================= */

.logo {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);
}

.logo img {
  height: 110px;
}

/* =========================
   検索
========================= */

.search {
  position: absolute;

  right: 20px;
  top: 50%;

  transform: translateY(-50%);
}

.search img {
  width: 24px;
}

/* =========================
   NAV
========================= */

.nav {
  width: 1110px;
  display: none;

  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  background: #000;

  z-index: 999;

  padding: 90px 80px;
}

.nav.active {
  display: block;
}

.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
}

.nav a {
  color: #fff;
  font-size: 30px;

  border-bottom: 1px solid #fff;

  display: block;
  padding-bottom: 20px;
}
