@charset "UTF-8";

*{
  margin: 0;
  padding: 0;
}

body{
  width: 100%;
  height: auto;
  font-size: 4.2vw;
  color: #f0f0f0;
  background : #282828;
  text-align : left;
  margin     : 0 auto;
  padding: 0;
  background-image: url(../../img/common/hanagara_ver1.jpg)!important;
}

#articleBlock{
  line-height: 0;
  font-size: 0;
}

/*========= Headerのハンバーガーとロゴの設定 ===============*/
header {
  position: sticky;
  top: 0;
  display: flex;
  background-color: #282828;
  width: 100%;
  height: auto;
  z-index: 9999;
}

.shopLogo {
  z-index: 9999;
}

.shopLogo a img {
  position: absolute;
  display: inline-block;
  width: 50vw;
  height: auto;
  left: 50%;
  top: 50%;
  vertical-align: middle;
  transform: translate(-50%, -50%);
}

/*========= ハンバーガー ナビゲーション ===============*/
#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top:0;
  left: -120%;
  width: 100%;
  height: 100vh;/*ナビの高さ*/
  background:#282828;
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    left: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width:100%;
  height: 100vh;/*表示する高さ*/
/*  overflow: hidden;*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:60%;
  left:20%;
  transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
  text-align: center; 
  font-family: serif;
  border-top: 2px dotted #005050;
}

#g-nav li:last-child {
  border-bottom: 2px dotted #005050;
}

#g-nav li a{
  color: #f0f0f0;
  text-decoration: none;
  display: block;
  padding:2vw 2vh;
  margin-left: 10vw;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 5vw;
  font-weight: bold;
}

/*========= ハンバーガー ボタン ===============*/
.openbtn{
  z-index: 9999;/*ボタンを最前面に*/
/*  border: 1px solid #00ff00;*/
  top:0;
  left: 0;
  cursor: pointer;
  width: 13vw;
  height: 13vw;
}
  
/*×に変化*/  
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 3vw;
    height: 0.7vw;
    border-radius: 2px;
    background-color: #666;
    width: 8.5vw;
  }

.openbtn span:nth-of-type(1) {
  top:4.3vw; 
/*  top:3.5vw; */
}

.openbtn span:nth-of-type(2) {
  top:6.5vw;
}

.openbtn span:nth-of-type(3) {
  top:8.7vw;
/*  top:9.5vw;*/
}

.openbtn.active span:nth-of-type(1) {
    top: 6vw;
    left: 3vw;
    transform: translateY(50%) rotate(-45deg);
    width: 6vw;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 6.8vw;
    left: 3vw;
    transform: translateY(-50%) rotate(45deg);
    width: 6vw;
}

/*ここまで*/

/*========= 上に戻るボタン ===============*/
.pagetop {
  color: #fff;
  background-color: #0080f0;
  text-decoration: none;
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 6vw;
  width: 8vw;
  height: 8vw;
  border-radius: 4vw;
  cursor: pointer;
  z-index: 999;
}

.pagetop img {
  display: inline-block;
  width: 5vw;
  transform: translate(30%, 25%);;
}

.pagetop:hover {
  color: #fff !important;
  background-color: #0050b0;
  text-decoration: none;
}
/*ここまで*/

/*////////////*/
/*   FOOTER   */
/*////////////*/
#copyright{
  margin-top: 10vh;
  font-size: 3vw;
  text-align: center;
  padding-top: 3vh;
  color: #f0f0f0;
  bottom: 0;
}

.smallfont, th {
    font-size: 2.5vw;
}


/* ----------------------------------- */
/*     responsive   960px or over     */
/* ----------------------------------- */
@media screen and (min-width: 960px){

  .shopLogo a img {
    position: absolute;
    display: inline-block;
    width: 20vw;
    height: auto;
    left: 0%;
    top: 0%;
    vertical-align: middle;
    transform: translate(4%, 130%);
  }

  /*========= ハンバーガー ナビゲーション ===============*/
  #g-nav{
    position:sticky;
    top:0;
    left: 0;
    width:100%;
    height: 6vw;
    background:#282828;
/*    transition: all 0.6s;*/
  }

  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive{
      left: 0;
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list{
/*    position: sticky;
    width:100%;
    height: 10vw;
    overflow: hidden;*/
  }

  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    display: flex;
    position: absolute;
    top:0%;
    height: 4vw;
    left:26%;
    transform: translate(0%,0%);
  }

  /*リストのレイアウト設定*/
  #g-nav li{
    list-style: none;
    text-align: center; 
    border: none;
  }
  
  #g-nav li:last-child {
    border-bottom: none;
  }

  #g-nav li a{
    color: #f0f0f0;
    text-decoration: none;
    display: block;
    padding:1vw 1vh;
    margin-left: 3.5vw;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 2vw;
    font-size: 1.7vw;
    font-weight: bold;
  }

  #g-nav li a:hover {
    color: #909090;
  }

  /*========= ハンバーガー ボタン ===============*/
  .openbtn{
    top:0;
    left: 0;
    width: 0;
    height: 0;
  }
    
  /*×に変化*/  
  .openbtn span{
    display: inline;
    position: static;
    left: 0vw;
    height: 0vw;
    border-radius: 0px;
    width: 0vw;
  }

  .openbtn span {
    top:0; 
  }

  .openbtn.active span {
      top: 0;
      left: 0;
      width: 0;
  }
  /*ここまで*/

  /*========= 上に戻るボタン ===============*/
  .pagetop {
    bottom: 1.5rem;
    left: 90vw;
    width: 4vw;
    height: 4vw;
    border-radius: 2vw;
  }

  .pagetop img {
    width: 2.5vw;
    transform: translate(30%, -50%);;
  }

  .smallfont, th {
    font-size: 1.0vw;
  }

  small {
    font-size: 1.2vw;
  }
}