@charset "utf-8";

/*ローディング*/
/* Loading背景画面設定　*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background:#fff;
}

/*====================================================================
ハンバーガーメニュー
====================================================================*/

#header {
  position: fixed;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: 10;
}
#header .header_wrapper {
  padding-left: 50px;
  padding-right: 50px;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  width: 640px;
}
#header .header_logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: #D43453;
}
#header h1 {
  line-height: 0;
}
#header h1 img {
  width: 162px;
}
/* bager menu */
.navi {
  transition: all .3s;
  overflow-y: auto;
  padding-top: 100px;
  padding-left: 10px;
  padding-right: 10px;
  max-width: 440px;
  width: 100%;
  height: 100%;
  top: 0;
  left: -440px;
  z-index: 1;
  background: #fff;
  position: fixed;
}
.navi ul {
  margin: 50px 10%;
}
.navi ul li {
  margin-bottom: 20px;
}
.navi ul li a {
  display: block;
  padding: 20px;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  border-radius: 6px;
  background: #D43453;
}
.navi ul li a:hover {
  opacity: .9;
}
.nav_btn {
  z-index: 10;
  width: 38px;
  height: 44px;
  top: 20px;
  left: 20px;
  cursor: pointer;
  position: absolute;
  margin-left: 20px;
}
.nav_btn img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.navBtn_open {
  opacity: 1;
}
.navBtn_close {
  opacity: 0;
}

@media (max-width: 640px) {
  .nav_btn {
    margin-left:0;
  }
  .nav_btn img.navBtn_open {
    filter: invert(1);
  }
  .nav_btn img.navBtn_close {
    filter: invert(0);
  }
}
.nav_bg {
  transition: all .3s;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  visibility: hidden;
  background-color: #000;
  cursor: pointer;
  position: fixed;
  opacity: .8;
}

/* 表示された時用のCSS */
.nav_open .navi { left: 0;}
.nav_open .nav_bg {
  opacity: .6;
  visibility: visible;
}
.nav_open .navBtn_open {
  opacity: 0;
}
.nav_open .navBtn_close {
  opacity: 1;
}

/*====================================================================
トップにもどるボタン
====================================================================*/

#pagetop {
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index:1;
}
#pagetop a:hover {
  opacity: .9;
}
#pagetop img {
  width: 56px;
}
