@charset "utf-8";
/* CSS Document */
/*==============================
==============================
★　HEADER　★
==============================
==============================*/
#header {
  width: 100%;
}
#header img {
  width: 150px;
  height: 100px;
  z-index: 100;
  position: fixed;
  top: 10px;
  left: 10px;
}
#header img:hover {
  filter: brightness(150%);
}
.nav-logo {
  margin-bottom: 110px;
}
.nav-logo:active {
  filter: brightness(110%);
}
#g-nav {
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position: fixed;
  z-index: -1;
  opacity: 0; /*はじめは透過0*/
  /*ナビの位置と形状*/
  top: 0;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: url("../images/nav-bg.jpg")no-repeat center/cover;
  /*動き*/
  transition: all 0.3s;
}
/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}
/*ナビゲーションの縦スクロール*/ #g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#g-nav.panelactive ul {
  display: block;
}
/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: center;
}
#g-nav li a {
  color: #D8D8D8;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}
#g-nav li a:hover {
  text-shadow: 0 0 10px #D8D8D8, 0 0 15px #D8D8D8;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 3%;
  right: 3%;
  cursor: pointer;
  width: 50px;
  height: 50px;
}
.openbtn:hover {
  filter: brightness(150%);
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #D8D8D8;
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
/*==============================
==============================*/
@media screen and (max-width: 961px) {
  #header img { /*ロゴ*/
    width: 120px;
    height: 90px;
  }
}
/*==============================
==============================*/
@media screen and (max-width: 426px) {
  #header img { /*ロゴ*/
    width: 90px;
    height: 70px;
  }
}
/*==============================
==============================
　★　BUTTON ★
==============================
==============================*/
.btnshine {
  /*キラッと光る基点とするためrelativeを指定*/
  position: relative;
  /*ボタンの形状*/
  display: inline-block;
  background: #d8d8d8;
  color: #303030;
  padding: 20px;
  margin-top: 100px;
  text-decoration: none;
  outline: none;
  overflow: hidden;
  font-weight: bold;
  font-size: 24px;
}
/*キラッと光る*/
.btnshine::before {
  content: '';
  /*絶対配置でキラッと光るの位置を決める*/
  position: absolute;
  top: 0;
  left: -75%;
  /*キラッと光る形状*/
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .8) 100%);
  transform: skewX(-25deg);
}
/*hoverした際の移動のアニメーション*/
.btnshine:hover::before {
  animation: shine 0.7s;
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
/*==============================
==============================*/
@media screen and (max-width: 426px) {
  .btnshine {
    /*キラッと光る基点とするためrelativeを指定*/
    padding: 15px;
    margin-top: 80px;
    font-size: 16px;
  }
}