@charset "utf-8";

/*========= ナビゲーションのためのCSS ===============*/

#sp-nav {
  display: none;
/*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position: fixed;
  z-index: -1;
  opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
  top: 0;
  width: 100%;
  height: 100vh;/*ナビの高さ*/
  background: #000;
    /*動き*/
  transition: all 0.3s;
  color: #fff;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#sp-nav.panelactive {
  display: block;
  opacity: 1;
  z-index: 999;
}

/*ナビゲーションの縦スクロール*/
#sp-nav.panelactive #sp-nav-list {
/*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
    -webkit-overflow-scrolling: touch;
  padding: 45px 40px 80px;
}

/*ナビゲーション*/
.nav_btn_wrap {
  text-align: left;

}
.nav_btn_wrap div.link {
  border-bottom: 1px solid #fff;
  padding: 12px 5px;
}

.nav_btn_wrap div.link a {
  color: #fff;
  font-weight: bold;
  font-size: clamp(16px, 3vw, 20px);
}
.nav_btn_wrap div.link:last-of-type {
  margin-bottom: 40px;
}
#sp-nav ul {
  display: none;
  margin: 5px auto 0;
  border-bottom: 1px solid #fff;
  /*ナビゲーション天地中央揃え*/
}
#sp-nav ul:first-child {
  margin-bottom: 25px;
}
#sp-nav.panelactive ul {
  display: block;
  font-weight: bold;
}

/*リストのレイアウト設定*/
#sp-nav li {
  list-style: none;
  text-align: left; 
  text-indent: -5px;
  padding: 5px 5px 5px 30px;
}

#sp-nav ul li:before {
  content: '';
  display: inline-block;
  position: relative;
  bottom: 2px;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 100%;
  background-color: #74afd0;
}
#sp-nav li:first-child {
  text-indent: inherit;
  padding: 5px 5px 5px 5px;
}
#sp-nav li:first-child:before {
  content: none;
}
#sp-nav li:first-child a {
  color: #fff;
  font-weight: bold;
  font-size: clamp(16px, 3vw, 20px);
}
#sp-nav li:last-child {
  padding-bottom: 25px;
}
#sp-nav li a {
  font-size: clamp(14px, 3vw, 18px);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}
#sp-nav a.text-link {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}
#sp-nav span.text-link {
  padding: 0 10px;
}
.sp-nav_logo {
  margin: 0 0 50px;
  width: 90px;
  
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  z-index: 9999;/*ボタンを最前面に*/
  top: 17px;
  right: 20px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #000;
  border-radius: 50%;
}
.openbtn1.active {
  right: 38px;
  background-color: #fff;
} 
/*×に変化*/  
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 50%;
    transform: translate(-50%);
  height: 3px;
  background-color: #fff;
  width: 55%;
}

.openbtn1 span:nth-of-type(1) {
  top: 14px; 
}
.openbtn1 span:nth-of-type(2) {
  top: 23px;
}
.openbtn1 span:nth-of-type(3) {
  top: 32px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 10px;
  transform: translateY(6px) rotate(-45deg);
  width: 62%;
  background-color: #000;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 10px;
  transform: translateY(-6px) rotate(45deg);
  width: 62%;
  background-color: #000;
}

