@charset "UTF-8";

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro",
    "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
}

/* ハンバーガーメニュー（ロゴ位置調整用） */
.hamburger {
  width: 20%;
  max-width: 50px;
}

/* 会社ロゴ画像 */
.logo-area a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-area img {
  width: 50%;
}

/* カートアイコン */
.cart-icon {
  position: relative;
  display: flex;
  height: 100%;
  width: 20%;
  max-width: 50px;
  align-items: center;
  justify-content: center;
}

/* ハンバーガーメニュー */
.gNav {
  height: 100%;
  width: 60%;
  display: flex;
  justify-content: flex-end;
  cursor: pointer;
  max-width: 500px;
  align-items: center;
}

.hamburger .btn-gNav {
  position: fixed;
  top: 15px;
  left: 20px;
  width: 30px;
  height: 25px;
  z-index: 6;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
  margin: auto;
}

.hamburger .btn-gNav span {
  position: absolute;
  width: 100%;
  height: 4px;
  background: #404040;
  border-radius: 10px;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

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

.hamburger .btn-gNav span:nth-child(2) {
  top: 10px;
}

.hamburger .btn-gNav span:nth-child(3) {
  top: 20px;
}

.hamburger .btn-gNav.open span:nth-child(1) {
  top: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger .btn-gNav.open span:nth-child(2),
.hamburger .btn-gNav.open span:nth-child(3) {
  top: 6px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

.btn-gNav {
  display: none;
}

.gNav .gNav-menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.gNav .gNav-menu li {
  height: 95%;
  width: 24%;
  display: flex;
  align-items: center;
  border-radius: 10px;
  font-weight: 400;
}

.gNav .gNav-menu li > a {
  width: 100%;
  text-align: start;
  color: black;
  text-decoration-line: none;
}

.gNav .gNav-menu li:hover {
  color: #5c2323;
}

/*@media screen and (max-width: 767px) {*/
  .btn-gNav {
    display: block;
  }

  .gNav {
    position: fixed;
    top: 50px;
    left: -100%;
    width: 100%;
    height: calc(100dvh - 50px);
    background: linear-gradient(
        45deg,
        rgb(255 255 255 / 80%),
        rgb(255 245 223 / 100%)
      ),
      url(../../image/back_logo.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    font-size: 16px;
    box-sizing: border-box;
    z-index: 99999;
/*    padding-top: 20px;*/
    transition: 0.3s;
  }

  .gNav.open {
    left: 0;
  }

  .gNav .gNav-menu {
    padding: 0;
    width: 100%;
    height: 100%;
    display: block;
    flex-direction: column;
    text-align: center;
  }

  .gNav .gNav-menu li {
    width: calc(100% - 30px);
    padding: 15px;
    border-bottom: #5b3402 1px solid;
    border-radius: 0;
    height: auto;
  }

  .gNav .gNav-menu li:hover {
    background-color: rgb(255 133 9 / 70%);
  }

  .gNav .gNav-menu li > a:hover {
    color: white;
  }

  /*戻るボタン*/
  #back-link {
    display: block;
    margin: 5% 0 0 5%;
    color: black;
  }

  /* アコーディオンメニュー */
  .details-content {
    display: none;
    padding-left: 0;
    background-color: whitesmoke;
  }

  .nav-menu .details-content li {
    list-style: none;
    color: black;
    border-bottom: 1px solid rgb(161, 157, 157);
  }

  .nav-menu .li_cate {
    color: black;
  }

  /* スライドメニュー */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100dvw;
    width: 100%;
    height: 100vh;
    background-color: #000000b5;
    list-style: none;
    margin: 0;
    padding-left: 0;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  #slideMenu {
    margin: 0;
    padding: 0;
    width: 70%;
    background-color: black;
    height: 100dvh;
  }

  /* 表示状態 */
  .nav-menu.active {
    left: 0;
  }

  .close-icon.active {
    left: 80dvw;
  }

  .menu-icon img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1100;
  }

  /* 閉じるボタン */
  .close-icon {
    position: absolute;
    top: 15px;
    left: -300px;
    cursor: pointer;
    transition: left 0.3s ease;
    margin-left: 10px;
  }

  .close-icon img {
    width: 35px;
    height: 35px;
  }

  /* カートカウンタ */
  .cart-count {
    position: absolute;
    right: 25px;
    top: 0px;
    height: 20px;
    width: 20px;
    background: #de5d50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: solid 2px #ffffff;
    color: #ffffff;
    text-align: center;
  }

  .cart-icon img {
    height: 75%;
    cursor: pointer;
    transform: scaleX(-1);
  }

  .nav-menu li {
    border-bottom: 1px solid white;
    padding-left: 20px;
  }

  .nav-menu li a {
    height: 35%;
    line-height: 35px;
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 0;
  }

  .nav-menu li div {
    height: 35%;
    line-height: 35px;
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 0;
  }

  /* ｶﾃｺﾞﾘリスト */
  .category_list {
    background-color: white;
    height: 50px;
    line-height: 50px;
    padding-left: 10px;
  }

  /* リスト内アイコン */
  .list-icon {
    width: 15px;
    height: 15px;
    margin: 0 10px 0 0;
    filter: invert(100%);
  }
/*}*/
