/*--------------------------------------------------------------------------
   header
---------------------------------------------------------------------------*/

#header{
  width:100%;
  padding: 0px;
  position: relative;
  z-index: 1;
}
.header_wrap{
  display: flex;
  justify-content: space-between;
  padding: 1%;
}
.sub_nav{
  flex-basis: 80%;
  max-width: 400px;
  margin-right: 128px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.sub_nav .txt_link{
  display: flex;
  position: relative;
  color: var(--dark);
}
.sub_nav .txt_link li{
  min-width: 100px;
}
.sub_nav .txt_link li a{
  position: relative;
  padding-left: 12px;
  font-size: 1.5rem;
  font-weight: 700;
}
.sub_nav .txt_link li a::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  border: 3px solid transparent;
  border-left: 5px solid var(--dark);
}
.btn_link{
  display: flex;
  justify-content: space-between;
  max-width: 320px;
  min-width: 320px;
  margin-left: auto;
  /* display: block; */
}
.btn_link li{
  max-width: 50%;
  margin: 12px 0 0 auto;

  flex-basis: 48%;
  /* margin: 12px 0 0; */
}
.btn_link li a::before{
  display: none;
}
.btn_link li a{
  font-size: 1.6rem;
  font-weight: 500;
  padding: 8px 4px;
  border: 2px solid var(--light);
}

.header_wrap h1 a{
  display: flex;
  justify-content: center;
  align-items: center;
}
.header_wrap h1 a span {
  font-size: 2rem;
  padding-left: 16px;
  display: block;
}
@media only screen and (max-width: 767px){

  .header_wrap{
    justify-content: flex-start;
    display: block;
  }
  .header_wrap h1{
    margin: 0;
    padding: 2%;
    flex-basis: 100%;
  }
  .header_wrap h1 img{
    width: 110px !important;
  }
  .header_wrap h1 a{
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .header_wrap h1 a span{
    font-size: 1.3rem;
    padding-left: 4px;
  }

}

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

#g-nav{
  background-image: url(../../common/image/nav_bg.jpg);
  background-size: cover;
  opacity: 0;
}

/*アクティブになったエリア*/
#g-nav.panelactive{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
top: 0;
width:100%;
  height: 100vh;
  opacity: 1;
}
#g-nav.panelactive::after{
  content: '';
  display: block;
  background-size: cover;
  width:100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg{
  position: fixed;
z-index:3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  /*丸のスタート位置と形状*/
transform: scale(0);/*scaleをはじめは0に*/
right:-50px;
  top:-50px;
  transition: all 1s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
  display: none;/*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
   display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/

.nav_wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30svh 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.nav_logo{
  flex-basis: 28%;
}
.nav_logo a{
  display: block;
  width: 100%; height: 100%;
  padding: 16% 8%;
  background-color: var(--light);
  transition: .3s;
}
.nav_logo a:hover{opacity: .7;}
.nav_logo img{width: 100%;}
.nav_list{
  flex-basis: 65%;
}
#g-nav ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}
/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive .nav_wrap {
  opacity:1;
}
/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive,
#g-nav.panelactive .nav_list,
.nav_logo{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
#g-nav-list .sub_nav{
  position: absolute;
  right: 1%;
  top: 2%;
}


/*リストのレイアウト設定*/
#g-nav .nav_list li{
text-align: left; 
list-style: none;
font-size: 16px;
flex-basis: 32%;
position: relative;
}
#g-nav .nav_list li::after {
  display: block;
  content: "";
  flex-basis: 32%;
}
#g-nav .nav_list li::before {
  display: block;
  content: "";
  flex-basis: 32%;
  order: 1;
}

#g-nav .nav_list li a{
color: var(--blue);
margin-top: 16px;
padding: 8px 0 16px;
display: block;
transition: .3s;
border-bottom: 1px solid var(--blue);
}
#g-nav .nav_list li.current a{
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
  pointer-events: none;
}
#g-nav .nav_list li.current.gnav00 .sp_sub_gnab a{
  pointer-events:painted;
  border-bottom: 1px solid var(--blue);
  color: var(--blue);
}
#g-nav .nav_list li a:hover{
  opacity: .7;
}
#g-nav .nav_list li a span{
  display: block;
}
#g-nav .nav_list li a span:nth-of-type(1){
  font-size: 2rem;
  line-height: 1.2;
}
#g-nav .nav_list li a span:nth-of-type(2){
  font-size: 1.3rem;
  line-height: 1;
}


/* サブナビ */
.sp_sub_gnab{
  flex-basis: 100%;
  transition: all 0.5s;
  display: none !important;
}
.sp_sub_gnab.on{
  display: block !important;
}
.sp_sub_gnab{
  padding: 10px 10px 0;
  background: var(--gray);
}
.sp_sub_gnab li{
  width: 100% !important;
  border: none !important;
}
#g-nav .nav_list .sp_sub_gnab li a span{
  font-size: 1.6rem;
}
.sp_sub_gnab li a{
  padding: 0 15px 17px !important;
  width: 100% !important;
}
.sp_sub_gnab li a span{
  text-align: left !important;
}
#g-nav .nav_list li.gnav00{
  flex-basis: 100%;
  cursor: pointer;
}
#g-nav .nav_list li.gnav00 a::after{
  position: absolute;
    right: 22px !important;
    left: inherit !important;
    top: 42%;
    transform: rotate(90deg);
    display: block;
    content: "";
    width: 7px;
    height: 12px;
    background: url(../../common/image/ico_btn_arw_blue.svg) no-repeat;
    background-size: 100% auto;
    transition: .2s;
}

#g-nav .nav_list li.gnav00 .sp_sub_gnab a::after{
  position: absolute;
  right: 22px !important;
  left: inherit !important;
  top: 42%;
  display: block;
  content: "";
  width: 24px;
  height: 12px;
  transform: rotate(0deg);
  background: url(../../common/image/ico_btn_arw_blue2.svg) no-repeat;
  background-size: 100% auto;
    transition: .2s;
}
#g-nav .nav_list li.gnav00.on a::after{
  top: 10%;
}


/*NEWマーク*/
#g-nav .nav_list li.new::before{
  content: 'NEW';
  position: absolute;
  top: 8px; right: 0;
  color: var(--light);
  background-color: var(--orange);
  font-size: 11px;
  text-align: center;
  padding: 3px;
  line-height: 1;
}


/*ナビ内SNS*/
.head_sns{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5svh 20px 0;
  max-width: 1000px;
  margin: 0 auto;
}
ul.head_sns {align-items: center !important;}
.head_sns li{
  flex-basis: 24%;
}
.head_sns li a{
  padding: 12px 6px;
  transition: .3s;
}
.head_sns li a:hover{opacity: .7;}
.head_sns li:nth-of-type(1) span:nth-of-type(1){
  display: block;
  font-size: 2.4rem;
  color: var(--dark);
}
.head_sns li:nth-of-type(1) span:nth-of-type(2){
  display: block;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--dark);
}
.head_sns li:nth-of-type(2),
.head_sns li:nth-of-type(3),
.head_sns li:nth-of-type(4){
  border: 2px solid var(--light);
  text-align: center;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.head_sns li:nth-of-type(2){
  background: var(--youtube);
}
.head_sns li:nth-of-type(3){
  background: var(--instagram);
}
.head_sns li:nth-of-type(4){
  background: var(--tictok);
}
.head_sns li a{
  display: block;
  width: 100%;
}






/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
  cursor: pointer;
  width: 70px;
  height: 70px;
  background-color: var(--light);
  box-shadow: 0px 0px 10px 0px #AA9B56;
  border-radius: 50%;
}

.openbtn1 p{
  text-align: center;
  display: block;
    background: var(--graorange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);

}

/*×に変化*/  
.openbtn1 span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  height: 3px;
background:var(--graorange);
display: none;
}

.openbtn1 span:nth-of-type(1) {
top: 22px; 
left: 14px;
width: 60%;
}

.openbtn1 span:nth-of-type(2) {
top:34px;
left: 14px;
width: 60%;
}
.openbtn1 span:nth-of-type(3) {
  top:46px;
  left: 14px;
  width: 60%;
  }
.openbtn1.active p{display: none;}
.openbtn1.active span{background: #999;}
.openbtn1.active span:nth-of-type(1) {
  top: 27px;
    left: 14px;
  transform: translateY(6px) rotate(-45deg);
  width: 60%;
  display: block;
}
.openbtn1.active span:nth-of-type(2) {
  display: none;
}
.openbtn1.active span:nth-of-type(3) {
  top: 39px;
  left: 15px;
  transform: translateY(-6px) rotate(45deg);
  width: 60%;
  display: block;
}


/* ヘッダーTEL */

.header_tel{
  padding: 1%;
  max-width: 800px;
  margin: 3% auto 0;
  background-color: rgba(255, 255, 255, .5);
}

.header_tel .nquiry{
  color: var(--dark);
  flex-basis: 50%;
  text-align: center;
}
.header_tel .nquiry p{
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.header_tel .nquiry .tel a{
  font-size: clamp(28px, 5.2svw, 52px);
  line-height: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  letter-spacing: 2px;
}
.header_tel .nquiry img,
.header_tel .nquiry span{display: block;}
.header_tel .nquiry span{
  padding-left: 8px;
}
.header_tel .nquiry small{
  display: block;
  font-size: 1.3rem;
  margin-top: 8px;
  line-height: 1.6;
}


@media only screen and (max-width: 767px){



/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  top: inherit;
  bottom: 5%;
  right: inherit;
  left: 50%;
  /* left: 65%; */
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  width: 70px;
  height: 70px;
}




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


#g-nav{
  background-image: url(../../common/image/nav_bg_sp.jpg);
  background-position: center center;
}
/*丸の拡大*/
.circle-bg{
  position: fixed;
z-index:3;
  /*丸の形*/
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  /*丸のスタート位置と形状*/
transform: scale(0);/*scaleをはじめは0に*/
right: inherit;
  left: 50%;
    /* left: 65%; */
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  top: inherit;
  bottom: 50px;
  transition: all .6s;/*0.6秒かけてアニメーション*/
}
.openbtn1 span:nth-of-type(1) {
  top: 25px;
  left: 17px;
  width: 50%;
  }
  
  .openbtn1 span:nth-of-type(2) {
  top: 34px;
  left: 17px;
  width: 50%;
  }
  .openbtn1 span:nth-of-type(3) {
    top: 43px;
    left: 17px;
    width: 50%;
    }
  
  .openbtn1.active span:nth-of-type(1) {
    top: 27px;
    left: 13px;
    transform: translateY(6px) rotate(-45deg);
    width: 60%;
  }
  .openbtn1.active span:nth-of-type(2) {
    display: none;
  }
  .openbtn1.active span:nth-of-type(3) {
    top: 39px;
        left: 13px;
    transform: translateY(-6px) rotate(45deg);
    width: 60%;
  }

  /*ナビゲーション*/

.nav_wrap{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8svh 20px 0;
  max-width: 100%;
  margin: 0 auto;
}

  .nav_logo{
    flex-basis: 100%;
    width: 200px;
  }
  .nav_logo a{
    padding: 16px 32px;
  }
  .nav_logo img{width: 200px;}
  .nav_list{
    flex-basis: 100%;
  }
  #g-nav ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  #g-nav-list .sub_nav{
    position: static;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #g-nav-list .sub_nav ul.btn_link{
    display: block;
    margin: 16px auto 0 !important;
  }
  #g-nav-list .sub_nav ul.btn_link li{
    margin: auto !important;
    max-width: 90% !important;
  }
  #g-nav-list .sub_nav ul.btn_link a{
    padding: 16px 8px;
  }
  #g-nav-list .sub_nav ul.btn_link a::before{display: block;}
  
  /*リストのレイアウト設定*/
  #g-nav .nav_list li{
  text-align: left; 
  list-style: none;
  font-size: 16px;
  flex-basis: 48%;
  position: relative;
  margin-top: 8px;
  }
  /*NEWマーク*/
  #g-nav .nav_list li.new::before{
    content: 'NEW';
    position: absolute;
    top: 3px; right: 0;
    color: var(--light);
    background-color: var(--orange);
    font-size: .9rem;
    text-align: center;
    padding: 3px;
    line-height: 1;
    z-index: 1;
  }
  
  #g-nav .nav_list li a{
  margin-top: 8px;
  padding: 8px 0 8px;
  }
  #g-nav .nav_list li a span:nth-of-type(1){
    font-size: 1.3rem;
  }
  #g-nav .nav_list li a span:nth-of-type(2){
    font-size: 1.0rem;
    line-height: 1;
  }
  
  
  /*ナビ内SNS*/
  .head_sns{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3svh 20px 34svh;
  }
  .head_sns li{
    flex-basis: 32.5%;
  }
  .head_sns li a {
    width: 100%;
    padding: 8px ;
  }
  .head_sns li:nth-of-type(1) {
    flex-basis: 100%;
    text-align: center;
    padding-bottom: 16px;
  }
  .head_sns li:nth-of-type(1) span:nth-of-type(1){
    display: block;
    font-size: 2.2rem;
    color: var(--dark);
  }
  .head_sns li:nth-of-type(1) span:nth-of-type(2){
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--dark);
  }
  .head_sns li:nth-of-type(2),
  .head_sns li:nth-of-type(3),
  .head_sns li:nth-of-type(4){
    border: 2px solid var(--light);
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .head_sns li:nth-of-type(2) a{
    width: 100%;
    padding-top: 16px;
  }
  .head_sns li:nth-of-type(3) a {
    width: 48%;
    display: block;
  }
  .head_sns li:nth-of-type(4) a {
    width: 48%;
    display: block;
  }
  .head_sns li a{
    display: block;
    width: 100%;
  }
  .sub_nav{
    flex-basis: auto;
  }
  #header .sub_nav .txt_link{
    display: none;
  }
  .openbtn1 + .btn_link{
    position: fixed;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 9998;
    min-width: auto;
    max-width: 100%;
    /* width: 50%; */
    width: 100%;
    display: flex;
  }
  .openbtn1 + .btn_link li{
    /* margin: auto; */
    margin: 0 auto 0 0;
  }
  .openbtn1 + .btn_link .btn a {
    font-size: 1rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    line-height: 4;
  }


  .header_tel{
    padding: 0 20px;
    background-color: transparent;
    margin-top: 32px;
  }
  .header_tel .nquiry p{
    font-size: 1.3rem;
        text-align: center;
        margin-bottom: 8px;
  }
  .header_tel .nquiry .tel a{
    font-size: 3.6rem;
    line-height: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    letter-spacing: 2px;
  }
  .header_tel .nquiry img{flex-basis: 12%; width: 56px !important;}
  .header_tel .nquiry img,
  .header_tel .nquiry span{display: block;}
  .header_tel .nquiry span{
    padding-left: 8px;
  }
  .header_tel .nquiry small{
    display: block;
    font-size: 1rem;
    margin-top: 8px;
    line-height: 1.6;
    text-align: center;
  }

}