/* =========================================================
   1) Header / Global Navigation
========================================================= */

.header__wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
  font-weight: 400;
  z-index: 1002;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: center;
}
.header__title {
  margin-right: auto;
}
.logo {
  height: 36px;
  width: 100%;
  transition: 0.2s;
}
@media (min-width: 769px) {
  .logo {
    margin: 10px 30px 10px 15px;  
  }
}
.logo:hover {
  opacity: 0.5;
}
@media (min-width: 1025px) {
  .nav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    white-space: nowrap;
    margin: 0;
    padding: 0;
  }
  .nav__items {
    height: 62px;
  }
  .nav__link {
    font-size: 0.9375rem;
    line-height: 430%;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
    height: 100%;
    padding-right: 17px;
  }
  .nav__items:hover .nav__link {
    color: #f08714;
  }
  /* dropdown */
  .dropdown,
  .dropdown--grid {
    position: relative;
  }
  .dropdown-menu,
  .dropdown-menu--grid {
    position: absolute;
    top: 62px;
  }
  .dropdown-menu {
    width: 176px;
    display: none;
  }
  .dropdown-menu--grid {
    display: none;
    width: 353px;
    column-gap: 1px;
    background: #fff;
    grid-template-columns: repeat(2, 1fr);
  }
  .dropdown-menu--grid::after {
    content: "";
    grid-column: span 1;
    background: #f08714;
  }
  .dropdown-menu:nth-child(3) {
    border-left: 1px solid #fff;
    left: 206px;
  }
  .dropdown__item {
    background: #f08714;
    border-bottom: 1px solid #fff;
    text-wrap: wrap;
  }
  .dropdown__item:last-child {
    border-bottom: none;
  }
  .dropdown__link {
    font-size: 0.875rem;
    padding: 9.8px 20px;
    line-height: 130%;
    text-decoration: none;
    color: #fff;
  }
  .dropdown.is-active > .dropdown-menu {
    display: block;
  }
  .dropdown--grid.is-active > .dropdown-menu--grid {
    display: grid;
  }
}
/* contact / phone / burger / reserve button */
.header__contact {
  height: 100%;
}

@media (min-width: 769px) {
  .header__contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
  }
}
.header__call {
  display: flex;
  justify-content: right;
  height: 100%;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: #f08714;
}

.nav__hamburger-js {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 62px;
  cursor: pointer;
  z-index: 1001;
  background: #f08714;
  flex-direction: column;
}
.nav__hamburger-js span {
  display: block;
  width: 50%;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}
.nav__hamburger-js.is-active {
  background: #9b876e;
}
.nav__hamburger-js.is-active span:nth-child(1) {
  transform: translateY(12.7px) rotate(45deg);
}
.nav__hamburger-js.is-active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger-js.is-active span:nth-child(3) {
  transform: translateY(-12.7px) rotate(-45deg);
}


.dropdown__link,
.nav__link,
.header__mobile-pc,
.header__link {
  display: none;
}

.header__mobile-sp {
  display: flex;
  width: 62px;
  height: 62px;
  padding: 8px;
  background: #ffc84b;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.header__mobile-sp:hover {
  background-color: #5a5f66;
}

.mobile-sp__img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (min-width: 1025px) {
  .dropdown__link,
  .nav__link,
  .header__mobile-pc,
  .header__link {
    display: block;
  }
  .nav__hamburger-js {
    display: none;
  }
  .header__mobile-sp {
    display: none;
  }
}
@media (min-width: 1025px) {
  .header__call {
    padding-right: 10px;
    width: 300px;
  }
  .header__mobile-pc {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header__link {
    max-width: 155px;
    font-weight: 700;
    width: 100%;
    letter-spacing: 0.04em;
    background: #f08714;
    height: 100%;
    right: 0;
    text-align: center;
    line-height: 390%;
    cursor: pointer;
    transition: 0.2s;
    color: #fff;
  }
  .header__link:hover {
    background: #ffc84b;
  }
}
