/* ══════════════════════════════════════
   pc用ヘッダー
══════════════════════════════════════ */
/*ロゴ*/
.logo--blue {
	width: 230px;
}
/*ロゴマーク*/
.logo-mark--pc {
	width: 45px;
	margin-right: 5px;
}
.logo--flex {
	display: flex;
	align-items: center;
}
#header {
	position: fixed;
	color: var(--black);
	top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: calc(100% - 100px);
  max-width: 1400px;
}
.header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header__list {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--white);
	height: 80px;
	border-radius: 8px;
	padding: 0 40px;
	width:100%;
	box-shadow:0 2px 10px rgb(0 2 97 / 10%);
}
.header__list__item ul {
	display: flex;
	align-items: center;
	justify-content:flex-end;
	gap: 40px;
}
.header__list__item a {
	display: inline-block;
	position: relative;
	transition: .5s;
}
.header__list__item a::after {
	background-color:var(--blue);
	bottom: -4px;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform .3s;
	width: 100%;
}
.header__list__item li a:hover {
	color: var(--blue);
	text-decoration: 1px solid var(--blue);
} 
.header__list__item li a:hover::after {
	transform: scale(1, 1);
}

/*ヘッダーお問い合わせ*/
.header__contact {
	background: var(--blue);
	color: var(--white);
	border-radius: 8px;
	padding: 0 20px;
	height: 80px;
	display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  box-shadow:0 2px 10px rgb(0 2 97 / 10%);
  transition: .5s;
}
.header__contact:hover {
	opacity: 0.6;
}
@media screen and (max-width: 1200px) {
  #header {
    display: none;
  }
}

/* ══════════════════════════════════════
   sp用ヘッダー
══════════════════════════════════════ */
.sp-nav {
	display: none;
}
@media screen and (max-width:1200px){
	.logo--flex--sp {
		display: flex;
	  align-items: center;
	  height: 60px;
	  margin-left: 20px;
	}
	.sp-nav {
		display: block;
		height: 60px;
	  background: var(--white);
	  position: fixed;
    width: 100%;
    z-index: 997;
    box-shadow:0 2px 10px rgb(0 2 97 / 10%)
	}
	#g-nav {
    position: fixed;
    z-index: 998;
    top: 60px;
    bottom: 0;
    right: -120%;
    width: 100%;
    background: var(--white);
    transition: right 0.6s;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom, 0);
	}
	#g-nav.panelactive {
    right: 0;
	}
	/*ナビゲーション*/
	.g-nav__item {
    display: flex;
    flex-direction: column;
    width: 100%;
	}

	#g-nav li a{
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 80px;
    transition: .5s;
    border-bottom: 1px solid var(--light-blue);
    padding: 0 40px;
	}	
	#g-nav li a:hover{
		background: var(--background-pail);
	}
	.sp-nav__link--en{
		display: flex;
  	align-items: center;
  	color: var(--blue);
  	font-family: font-family: "Questrial", sans-serif;;
	}
	.sp-nav__link--en::before {
		content: "";
    width: 25px;
    height: 1px;
    background-color: var(--black);
    display: block;
    margin: 0 10px;
}


	/*SP用ヘッダー用お問い合わせ*/
	.sp-nav__link__contact {
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: var(--blue);
     transition: .5s;
     margin: 40px 30px 20px;
     padding: 20px;
     border-radius: 8px;
     color: var(--white);
    }
	.sp-nav__link__contact:hover{
		opacity: 0.6;
	}


	/*SP用ヘッダー用TEL*/
	.sp-nav__link__tel {
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	background: var(--light-blue);
  	transition: .5s;
  	margin: 20px 30px;
  	padding: 20px;
  	border-radius: 8px;
  	color: var(--blue);
  	transition: .5s;
  	border: 1px solid var(--light-blue);
	}
	.sp-nav__link__tel:hover {
		opacity: 0.6;
	}
	/*========= ボタンのためのCSS ===============*/
	.openbtn{
		position:fixed;
	  z-index: 9999;/*ボタンを最前面に*/
		top:5px;
		right: 17px;
		cursor: pointer;
	  width: 60px;
	  height:60px;
	}
		
	/*×に変化*/	
	.openbtn span{
	  display: inline-block;
	  transition: all .4s;
	  position: absolute;
	  left: 17px;
	  height: 3px;
	  border-radius: 2px;
		background-color: var(--blue);
	  width: 45%;
	}	

	.openbtn span:nth-of-type(1) {
		top:15px;	
	}	

	.openbtn span:nth-of-type(2) {
		top:23px;
	}	

	.openbtn span:nth-of-type(3) {
		top:31px;
	}	

	.openbtn.active span:nth-of-type(1) {
	  top: 18px;
	  left: 18px;
	  transform: translateY(6px) rotate(-45deg);
	  width: 30%;
	}	

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

	.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
	}


	/* ══════════════════════════════════════
	 アコーディオンmenu
	══════════════════════════════════════ */

	.accordion__menu {
		display: none;
	}
	.nav-open{
		display: flex;
	  align-items: center;
	  height: 80px;
	  transition: .5s;
	  border-bottom: 1px solid var(--light-blue);
	  padding: 0 40px;
	  position: relative;
	}
	.nav-open::before{/* 閉じている時 */
		content: "＋";
		position: absolute;
		right: 40px;
	}
	.nav-open.active::before{/* 開いている時 */
		content: "－";
	}

	.accordion__menu li a {
		background:#e0f1ff;
	}
}

