@charset "UTF-8";
/* CSS Document */

/* 
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 300;
}

.hamburger__line {
  position: absolute;
  width: 40px;
  height: 3px;
  right: 0;
  background-color: #666;
  transition: all 0.5s;
}

.hamburger__line--1 {
  top: 1px;
}

.hamburger__line--2 {
  top: 16px;
}

.hamburger__line--3 {
  top: 32px;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 11px;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 11px;
}

/* 
sp-nav(ナビ)
=================================== */
.sp-nav {
display: block;
  position: fixed;
  right: -100%; /*ハンバーガーがクリックされる前はWindow右側に隠す*/
  top: 0;
  width: 70%; /* 出てくるスライドメニューの幅 */
  height: 100vh;
  background-color: #fff;
  transition: all 0.7s;
  z-index: 200;
  border-left: solid 1px ;
overflow-x: hidden;
  overflow-y: auto; /* メニューが多くなったらスクロールできるように */
}

/*ハンバーガーがクリックされたら右からスライド*/
.open .sp-nav {
  right: 0;
}

/*

li ul　の装飾
=================================== */

/*---sp用----- */


.sp-nav ul li {
line-height: 3;
padding: 0.5em 0em;
border-bottom: dashed 1px silver;
list-style-type: none!important;
text-align: left;
}

.sp-nav ul li:before {
  list-style: none;
  position: absolute;
  left : 0.5em; /*左端からのアイコンまで*/
  color: #ffb03f; /*アイコン色*/
}

.sp-nav ul li:last-of-type {
  border-bottom: none;
}

.sp-nav a {
  text-decoration: none;
}

.sp-nav a:hover {
  
}

/*---pc用----- */

.pc-nav ul li {
display: inline-block;
width: 100px;
margin: 20px;
list-style-type: none!important;
}

.pc-nav a {
  text-decoration: none;
}

.pc-nav a:hover {
  
}

.pc-nav-parent{
text-align: center;
}


/* 
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.9s;
  cursor: pointer;
  z-index: 100;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  opacity: 0.3;
  visibility: visible;
}