@charset "UTF-8";

img{
  max-width: 100%;
}
html{
  font-size: 62.5%;
}
h1{
  font-size: 3.2rem;
}
h2{
  font-size: 2.4rem;
  line-height: 200%;
}
p{
  font-size: 1.6rem;
  line-height: 200%;
}
a{
  font-size: 1.6rem;
}
body{
  text-align: center;
  font-family: 'Hina Mincho', serif;
  color: #333;
  line-height: 200%;
}

/* header nav */
.header{
  width: 100%;
  padding: 5px 24px;
  background-color: #fff;
}
.header{
  position: sticky;
  left: 0;
  top:0;
  z-index: 10000;
}

.nav_flax{
  display: flex;
  justify-content: space-between;
  text-align: center;
  align-items: center;
}
.nav_rogo{
  width: 70%;
}

/* hover */
.nav li.nav_hover:hover {
  cursor: pointer;
  transform: scale(1.2, 1.2);
  transition-duration: 0.8s;
}

/* top_button */
html {
  scroll-behavior: smooth;
}
.pagetop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 10;
}

/* see hover */
.see{
  position: relative;
}
.see:hover:after{
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 1px;
  left: 0;
  background-color: #76696a;
  animation-name: seeAnimation;
  animation-duration: 3.0s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
@keyframes seeAnimation{
  0%{
    transform: scaleX(0);
    transform-origin: left;
  }
  50%{
    transform: scaleX(1);
    transform-origin: left;
}
50.1%{
    transform: scaleX(1);
    transform-origin: right;
}
100%{
    transform: scaleX(0);
    transform-origin: right;
}
}

/* pic animation */
.fadein{
  opacity : 0;
  transform : translate(0, 50px);
  transition : all 1.5s;
}
.fadein.scrollin{
  opacity : 1;
  transform : translate(0, 0);
}

/**ハンバーガーここから***/
.nav_hover.onlineshop_logo{
  display: none;
}
/**ヘッダーここから***/
.header{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
}

/*****ハンバーガー*****/
.trigger{
  display: none;
}
/****ナビゲーション****/
.nav li {
  overflow: hidden;
  position: relative;
  transition-duration: .4s;
  z-index: 2;
}
.nav li::after {
  border-radius: 50%;
  content: "";
  display: block;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0px;
  width: 100%;
  padding-top: 100%;
  height: 0;
  z-index: -1;
  transform: translateY(-50%) scale(0.1);
  transition: opacity .5s, transform 0s;
  transition-delay: 0s, .4s;
}

.nav li:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  transition-delay: 0s;
  transition: opacity .8s, transform .6s ease-in-out;
}

/* footer */
.footer{
  position: relative;
  width: 100%;
  text-align: center;
}
.footer img{
  width: 100%;
}
.footer p{
  display: block;
  padding: 2vh 0;
  background-color: #B41D23;
  color: #fff;
}

@media screen and (max-width:960px) { 

  /**ハンバーガーとナビ**/
  .header{
    left: initial;
    width: 70%;
  }
  /***ハンバーガー****/
  .nav_hover.onlineshop_text{
    display: none;
  }
  .nav_hover.onlineshop_logo{
    display: block;
  }
  .trigger{
    display: block;
    width: 50px;
    height: 50px;
    /* background-color: #fff; */
    border-radius: 10px;
    position: fixed;
    right: 30px;
    top: 20px;
    z-index: 1100;
  }
  .bar{
    display: block;
    width: 40px;
    height: 3px;
    background-color: #B41D23;
    position: absolute;
    left: 5px;
  }
  .bar1{
  top: 14px;
  }
  .bar2{
  top: 24px;
  }
  .bar3{
  top: 34px;
  }
  /***ヘッダー****/
  .header{
    height: 100vh;
    height: 100dvh;
  /***メニューの出現位置****/
    right: -100vw;
  }
  .header .inner{
    background-color: #fff;
    margin: 0;
    padding-top: 20px;
    width: 50%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
    translate: -100% 0;
  }
  .nav ul{
    flex-direction: column;
    gap: 30px;
    font-size: 2rem;
  }
  .pagetop{
    display: none;
  }

  /***ハンバーガーをタップした時（bodyにopenクラスがついたとき）***/
  /**往路*/
  .open .bar{
    transition: top 0.4s ease-in-out, rotate 0.4s 0.4s ease-in-out , opacity 0.4s ease-in-out;
  }
  /**復路***/
  .bar{
    transition: top 0.4s 0.4s ease-in-out; rotate: 0.4s ease-in-out, opacity 0.4s ease-in-out;
  }
  /**往路*/
  .open .header{
    transition: 0.3s ease-in-out;
  }
  .open .header .inner{
    transition: 0.5s  ease-in-out;
  }
  /**復路***/
  .header{
    transition: 0.4s 0.1s ease-in-out;
  }
  .header .inner{
    transition: 0.3s  ease-in-out;
  }
  /**ハンバーガー三→×****/
  .open .bar1{
    top: 24px;
    rotate: 135deg;
  }
  .open .bar2{
    opacity: 0;
  }
  .open .bar3{
    top: 24px;
    rotate: -135deg;
  }
  /**ヘッダー***/
  .open .header{
    right: 0;
  }
  .open .header .inner{
    translate: 0 0;
  }
  /**body**/
  body.open{
    overflow: hidden;
  }
}

@media screen and (max-width:520px) { 
  h2{
    font-size: 1.6rem;
    padding-bottom: 3%;
  }
  p{
    font-size: 1.4rem;
  }
}
