@charset "utf-8";

.logo_off {
  display: none;
}

/*@media screen and (max-width: 750px) {*/
#header.show .openbtn1 span {
  background-color: #fff;
}

#g-nav {
  position: fixed;
  z-index: 99;
  top: 0;
  right: -121%;
  /* height: 100vh; */
  background-color: #fff;
  transition: all 0.6s;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  overflow: scroll;
}

#g-nav nav {}

#g-nav .title span {
  font-size: 34px;
  font-weight: bold;
  margin-right: 16px;
  margin-bottom: 30px;
}

#g-nav .title {
  font-size: 14px;
  text-align: left;
  display: block;
  color: #fff;
  padding: 20px 0px;
  line-height: 34px;
  margin-left: 0px;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
  -webkit-overflow-scrolling: touch;
  display: flex;
  justify-content: space-between;
  margin-top: 88px;
  width: 100%;

}

#g-nav-list p {
  width: 60%;
  padding: 0px 0px 30px 0px;
  display: flex;
  align-items: center;
}

#g-nav-list li:last-child p {
  padding-bottom: 0px;
}

#g-nav.panelactive #g-nav-list p img {
  width: 20px;
  margin-left: 10px;

}

/*ナビゲーション*/
#g-nav ul:nth-of-type(2) {
  width: 40%;
}

#g-nav ul:first-child {}

#g-nav ul:last-child {}

#g-nav ul {
  width: 100%;
  padding: 0px 0px 40px 0px;
  line-height: 30px;
}

/*リストのレイアウト設定*/

#g-nav li {
  font-size: 12px;
  padding: 20px 20px;
  border-bottom: 1px dashed #dcdcdc;
}

#g-nav li:first-child {
  border-top: 1px dashed #dcdcdc;
}

#g-nav li a {
  font-size: 18px;
  padding-bottom: 0.5px;

}

#g-nav li a img {
  transition-duration: 0.5s;
}

#g-nav li a:hover img {
  opacity: 0.5;
}

/* .move_bottom-lineを基点にします */
#g-nav li a {
  display: flex;
  position: relative;
  letter-spacing: -0.5px;
  justify-content: space-between;
}

/* ::afterの擬似要素を作ります。 */
#g-nav li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  /* hoverしていない時の横幅は0に指定 */
  height: 1px;
  /* 線の太さ */
  background-color: #fff;
  /* 線色 */
  transition: .3s;
  /* アニメーション時間 */
}

/* .move_bottom-lineがホバーされた時に線の横幅を100% */
#g-nav #g-nav-list li a:hover::after {
  width: 100%;
}



#g-nav li .sub-menu li {
  border: unset;
}

#g-nav li .sub-menu a {
  font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
  font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  padding: 0px;
  letter-spacing: 0px;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  z-index: 9999;
  top: 20px;
  right: 0rem;
  cursor: pointer;
  width: 80px;
  height: 45px;
}

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 21px;
  height: 1px;
  background-color: #fff;
  width: 30px;
}

.is-animation .openbtn1 span {
 background-color: #000;
}

#header.black .openbtn1 span {
  background-color: #000;
}

#header.white .btn_contact {
  /* background-color: #fff;*/
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  display: none;
  top: 25px;
}

.openbtn1 span:nth-of-type(3) {
  top: 25px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 17px;
  left: 17px;
  transform: translateY(6px) rotate(-45deg);
  background-color: #000;
  height: 1px;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 40%;
  background-color: #000;
  height: 1px;
}

.header_in #logo {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
}

.header_in #logo img {
  width: 78%;
}

#g-nav .g-nav_in {
  width: 90%
}

#g-nav .header__sns {
  display: flex;
  justify-content: space-between;
  max-width: 80px;
  width: 100%;
}

.header__sns img {
  height: 30px;

}

#g-nav .btn_contact {
  /* background-color: #fff; */
  /* color: #000; */
  /* margin: revert; */
  /* margin-bottom: 30px; */
  /* max-width: 278px; */
}

#g-nav .btn_contact:hover {
  opacity: 0.5;
}

#g-nav .btn_contact a {
  color: #000;
}

#g-nav .btn_contact::before {
  /* content: "";
  position: absolute;
  background-image: url(../img/cmn/img_mail.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 22px;
  height: 23px;
  top: 0.729166vw;
  left: 59px;*/
}

#g-nav .link_btn {
  width: 35px;
  height: 35px;
  font-size: 12px;
}

/*}*/