/* header */
#top-head {
  width: 100%;
  top: 0;
  position: fixed;
  margin-top: 0;
  padding: 10px 0 10px;
  z-index: 9999;
  background: rgba(255, 255, 255, 1.0);
  height: 60px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.0);
}
#top-head .logo {
  position: absolute;
  top: 22px;
  left: 50px;
  width: 140px;
  z-index: 3;
}
.logo img {
  width: 100%;
  height: auto;
}
/* Fixed */
#top-head.fixed {
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
  background: rgba(255, 255, 255, 1.0);
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 9998;
  /*ナビのスタート位置と形状*/
  top: -120%;
  left: 0%;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: url("/img/bg02.jpg");
  background-size: 100%;
  /*動き*/
  transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  top: 0;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: center;
}
#g-nav li img {
  width: 100%;
}
#g-nav li:first-child {
  width: 200px;
  margin: 0 auto 2em;
}
#g-nav li a {
  text-decoration: none;
  padding: 10px;
  display: block;
  letter-spacing: 2px;
  position: relative;
  line-height: 1.3;
  color: #fff;
}
#g-nav li a:hover {
  color: #D5CCBF;
}
#g-nav li:nth-child(6) {
  margin: 1em auto 0;
}
#g-nav li:nth-child(8) {
  margin: 2em auto 0;
  font-size: 1.2rem;
}
#g-nav li:nth-child(9) {
  font-size: 1.2rem;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 0px;
  right: 00px;
  cursor: pointer;
  width: 80px;
  height: 80px;
  background: url("/img/bg02.jpg");
  background-size: 100%;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: 14px;
  height: 2px;
  border-radius: 5px;
  background-color: #fff;
  width: 65%;
}
.openbtn span:nth-of-type(1) {
  top: 33px;
}
.openbtn span:nth-of-type(2) {
  top: 45px;
}
/*
.openbtn span:nth-of-type(3)::after {
  content: "menu"; /*3つ目の要素のafterにMenu表示を指定
  position: absolute;
  top: 5px;
  left: 0px;
  color: #5F5F5F;
  font-size: 1.1rem;
  letter-spacing: 1.4px;
}
*/
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active span {
  background-color: #fff;
}
.openbtn.active span:nth-of-type(1) {
  top: 34px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  top: 46px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
/*
.openbtn.active span:nth-of-type(3)::after {
  content: "close"; /*3つ目の要素のafterにClose表示を指定
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 12px;
  width: 200%;
}
*/
.h_nav {
  position: absolute;
  top: 0;
  left: 0;
  padding: 25px 0px 00px 200px;
  height: 60px;
}
.h_nav_list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0px auto 0em;
  justify-content: flex-start;
}
.h_nav_list li {
  flex: 0 1 auto;
  justify-content: center;
  padding: 0 30px 0em;
  font-size: 1.4rem;
  letter-spacing: 2px;
  position: relative;
}
.h_nav_list li:after {
  /*画像を絶対配置*/
  position: absolute;
  content: '';
  top: 5px;
  right: 0px;
  display: block;
  width: 25px; /*幅*/
  height: 18px;
  background-image: url("/img/arrow01.png");
  background-size: contain;
  background-repeat: no-repeat; /*画像を繰り返さない*/
}
.h_guide {
  position: absolute;
  top: 23px;
  right: 360px;
  width: 150px;
  font-size: 1.3rem;
  text-align: right;
  line-height: 30px;
}
.h_guide img {
  display: inline-block;
  width: 30px;
  height: auto;
  margin: 0 5px 0 0;
}
.h_login {
  position: absolute;
  top: 23px;
  right: 245px;
  width: 100px;
  font-size: 1.3rem;
  text-align: right;
  line-height: 30px;
}
.h_login img {
  display: inline-block;
  width: 30px;
  height: auto;
  margin: 0 5px 0 0;
}
.h_cart {
  position: absolute;
  top: 23px;
  right: 100px;
  width: 140px;
  font-size: 1.3rem;
  text-align: right;
  line-height: 30px;
}
.h_cart img {
  display: inline-block;
  width: 30px;
  height: auto;
  margin: 0 5px 0 0;
}
@media screen and (max-width: 1015px) {
  .h_nav {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  #top-head .logo {
    top: 25px;
    width: 100px;
    left: 15px;
  }
  #top-head {
    position: fixed;
    min-width: 200px;
    padding: 10px 0;
    height: 60px;
  }
  #top-head.fixed {
    background: rgba(255, 255, 255, 1.0);
  }
  .h_nav {
    display: none;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 0px;
    right: 0px;
    width: 80px;
    height: 80px;
  }
  .openbtn span:nth-of-type(2)::after {
    top: 8px;
    left: 0px;
  }
  .openbtn.active span:nth-of-type(2)::after {
    top: 13px;
    left: 10px;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #g-nav {
    top: -200%;
    background: url("/img/bg02_sp.jpg");
  }
  #g-nav li:first-child {
    width: 170px;
    margin: 0 auto 2em;
  }
  .h_guide {
    position: absolute;
    top: 25px;
    right: 180px;
    width: 30px;
  }
  .h_guide span {
    display: none;
  }
  .h_login {
    position: absolute;
    top: 25px;
    right: 140px;
    width: 30px;
  }
  .h_login span {
    display: none;
  }
  .h_cart {
    position: absolute;
    top: 25px;
    right: 100px;
    width: 30px;
  }
  .h_cart span {
    display: none;
  }
}