@charset "utf-8";

/* 調整用スタイル */

a {
  text-decoration: none;
}
ul,
li {
  list-style: none;
}

.header {
  margin: 0 auto;
  background-color: white;
  /* max-width: 2000px; */
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  padding: 0 6px; /*左右の余白確保*/
  display: flex; /*ロゴとハンバーガーメニューを横に並べる*/
  align-items: center;
  justify-content: space-between;
  height: inherit; /*親要素の高さを継承*/
  position: relative;
}

/* ヘッダーのロゴ部分 */
.header__title {
  max-width: 230px;
  margin-bottom: 0;
  margin-top: 0;
}

.header__title img {
  display: block;
  height: 36px;
}
/* ヘッダーのナビ部分 */
.header__nav {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100vh;
  transform: translateX(100%);
  background-color: rgba(255, 255, 255, 0.9);
  /*ハンバーガーメニュークリック時のナビゲーションメニュー背景色*/
  transition: ease 0.4s; /*ハンバーガーメニュークリック時のナビゲーションメニュー出現を遅延*/
}
/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
  margin-top: 20px;
}

.hamburger {
  background-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
  border-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
  z-index: 9999;
}

.MENUword {
  font-size: 12px;
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease 0.4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

.nav-items {
  padding: 0;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ナビのリンク */
.nav-items__item a {
  color: #333333;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 14px;
}

.nav-items__item__reserve {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 500;
  width: 200px;
  padding: 5px;
  border-radius: 50px;
  background-color: #FF8359;
  text-align: center;
  box-shadow: 0 5px 10px 0 rgba(63, 63, 63, 0.2);
}

.nav-items__item__reserve a {
  color: white;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

/*車内販売注文*/
.nav-items__item__elcano {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 500;
  width: 150px;
  padding: 5px;
  border-radius: 50px;
  background-color: #FF8359;
  text-align: center;
  box-shadow: 0 5px 10px 0 rgba(63, 63, 63, 0.2);
}

.nav-items__item__elcano a {
  color: white;
}

@media screen and (min-width: 1200px) {
  .header__title {
    max-width: 350px;
    margin: 0;
  }

  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 70%;
  }

  .nav__items {
    /* width: 100%; */
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }

  .nav-items {
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    margin-bottom: 0;
  }

  .nav-items__item {
    padding-right: 30px;
  }

  .nav-items__item a {
    margin-bottom: 0;
    position: relative;
  }

  .nav-items__item__reserve {
    font-size: 20px;
    width: 120px;
    padding: 5px;
    border-radius: 50px;
    background-color: #FF8359;
    text-align: center;
    margin-top: 0;
  }

  .nav-items__item__reserve:hover {
    transform: scale(1.1, 1.1);
  }

  /*車内販売注文*/
  .nav-items__item__elcano {
    font-size: 20px;
    width: 120px;
    padding: 10px;
    border-radius: 50px;
    background-color: #FF8359;
    text-align: center;
    margin-top: 0;
  }

  .nav-items__item__elcano:hover {
    transform: scale(1.1, 1.1);
  }

  /*PC時非表示にする*/
  .hamburger {
    display: none;
  }

  /*メニューホバー*/
  .nav-items__item a::after {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background: #FF8359;
    position: absolute;
    bottom: 0;
    left: 5%;
    bottom: -5px;

    transition: 0.3s;
  }

  .nav-items__item a:hover {
    color: #FF8359;
  }

  .nav-items__item a:hover::after {
    width: 85%;
  }
}
@media (max-width: 1200px) {
  .header__title {
    max-width: 180px;
    margin: 0;
    padding: 0;
  }
  .header__title img {
    display: block;
    height: 36px;
  }
}

  #google_translate_element {
      position: fixed;
      top: 18px;
      left: 390px;
      z-index: 1000;
      background-color: #fff;
  }
  @media (max-width: 1200px) {
    #google_translate_element {
      top: 18px;
      left: 60px;
  }
  }
  @media (max-width: 800px) {
    #google_translate_element {
      top: 18px;
      left: 60px;
  }
  }
  @media (max-width: 430px) {
    #google_translate_element {
      top: 18px;
      left: 60px;
  }
  }