@charset "utf-8";
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: 0;
  right: -120%;
  width: 50%;
  height: 100vh;
  background: rgba(50, 50, 50, 09);
  transition: all 0.5s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
  position: absolute;
  z-index: 999;
  top: 0%;
  width: 300px;
  margin: 0 auto;
  transform: translate(15%, 25%);
}
/*リストのレイアウト設定*/
#g-nav li {
  width: 100%;
  list-style: none;
  text-align: left;
  border-bottom: 1px solid var(--gray);
  position: relative;
  font-weight: 600;
}
#g-nav li a {
  color: #333;
  text-decoration: none;
  padding: 7px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
}
/*ロゴ*/
header {
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  position: fixed;
  z-index: 999;
}
.pc_menu {
  height: 50px;
}
.pc_menu ul {
  display: flex;
  margin: 10px auto 0;
  width: 75% !important;
}
.pc_menu li {
  width: 100%;
  padding: 5px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  text-align: left;
}
.pc_menu a {
  text-decoration: none;
  position: relative;
}

.header_logo {
  position: fixed;
  z-index: 10;
  top: 0;
  left: -5px;
  cursor: pointer;
  width: 96px;
  height: 60px;
  text-align: center;
}
.header_logo span {
  padding: 0 !important;
  margin: 0 !important;
}
.header_logo img {
  width: 100%;
  height: 100%;
}
/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  z-index: 9999;
  top: 0px;
  right: 0px;
  cursor: pointer;
  width: 60px;
  height: 60px;
  background: var(--primary);
}
/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all .5s;
  position: absolute;
  left: 17px;
  height: 3px;
  border-radius: 2px;
  background-color: #FFF;
  width: 45%;
}
.openbtn1 span:nth-of-type(1) {
  top: 16px;
}
.openbtn1 span:nth-of-type(2) {
  top: 27px;
}
.openbtn1 span:nth-of-type(3) {
  top: 37px;
}
.openbtn1 span:nth-of-type(2)::after {
  content: "menu";
  font-size: 0.5rem;
  padding-top: 3px;
  display: block;
  color: #FFF;
  position: absolute;
  top: 10px;
}
.openbtn1.active span:nth-of-type(1) {
  top: 20px;
  left: 17px;
  transform: translateY(6px) rotate(-45deg);
  width: 50%;
}
.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn1.active span:nth-of-type(3) {
  top: 32px;
  left: 17px;
  transform: translateY(-6px) rotate(45deg);
  width: 50%;
}
.openbtn1.active span:nth-of-type(2)::after {
  opacity: 0;
}
#header {
  width: 100%;
  padding: 0;
}
/*細かい部分*/
li.nav_main {
  padding-top: 15px;
  padding-bottom: 15px;
}
li.nav_main a:link, li.nav_main a:visited {
  color: #FFF !important;
  font-weight: 600 !important;
}
li.nav_sub {
  border-bottom: 0 !important;
  padding-left: 1.5rem;
}
li.nav_sub a {
  font-weight: 600 !important;
}
li.nav_sub::after {
  content: "";
  width: 12px;
  position: absolute;
  border-top: 2px solid var(--primary);
  top: 52%;
  left: 15px;
}
li.nav_main {
  font-size: 1.2rem;
}
li.nav_main:after {
  content: "";
  background: url(./icon_arrow.svg) no-repeat center center;
  background-size: 100%;
  position: absolute;
  right: 0;
  top: 30%;
  width: 10px;
  height: 20px;
  transition: all .3s;
}
li.nav_main:hover::before {
  left: 10%;
}
li.nav_main:hover::after {
  right: -2%;
  color: var(--sub);
}
@media screen and (max-width:1400px) {
  .pc_menu ul {
    display: flex;
    margin: 10px auto 0;
    width: 80% !important;
  }
 .pc_menu li {
    width: auto;
    padding: 1.2vw 0.8vw;
    font-size: 1.2vw !important;
  }

}
@media screen and (max-width:1200px) {
.pc_menu li {
	width: auto;
	padding: 1.2vw 1vw;
	font-size: 1.2vw !important;
}
}
@media screen and (max-width:820px) {}
@media screen and (max-width:620px) {

  .header_logo {
    width: 100%;
    height: 60px;
    text-align: left;
  }
  .header_logo img {
    width: 75px;
    margin-top: 4px;
    height: auto;
  }
  #g-nav {
    width: 100% !important;
    height: 100vh;
  }
  #g-nav ul {
    width: calc(100% - 17%);
    transform: translate(10%, 20%);
    margin: 0 auto;
  }
}
@media screen and (max-width:500px) {
  #g-nav li a {
    padding: 3px 8px;
  }
  li.nav_sub {
    padding-left: 2rem;
  }
}
@media screen and (max-width:400px) {
  li.nav_main {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}