@charset "utf-8";
header {
	position: fixed; /*fixedを設定して固定*/
	height: 110px; /*高さ指定*/
	width: 100%; /*横幅指定*/
	z-index: 99; /*最前面へ*/
	/*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: none;
	color: #000000;
	/*background-color: rgba(255,255,255,0.9);
	box-shadow: 0 0 5px 2px rgba(0,0,0,0.1);*/
	text-align: center;
	padding: 0 0 0 20px;
}
.h_logo {
	width: 210px;
	position: relative;
	/*top: 13px;
    left: 10px;*/
	z-index: 100;
}
#g-nav {
	display: flex;
	flex-wrap: wrap;
	/*align-items: center;*/
	position: relative;
	/*right: 60px;*/
}
#g-nav .menu_listbox {
	display: flex;
	flex-direction: column;
	margin-right: 20px;
	padding: 15px 20px 5px;
	background-color: rgba(255,255,255,0.6);
	border-radius: 45px;
	-webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
#g-nav .menu_listbox .menu_sns_contact {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-bottom: 10px;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_sns {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_sns li {
	margin-right: 26px;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_sns li img {
	width: 30px;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_contact {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	/*margin-bottom: 5px;*/
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_contact li {
	line-height: 1.4;
	text-align: left;
	display: flex;
	flex-direction: column;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_contact li + li {
	margin-left: 15px;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_contact li .contact_phone_lead {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 0.3em;
	color: #1e73be;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_contact li .contact_phone {
	font-size: 2rem;
	font-weight: 600;
	line-height: 1;
	color: #1e73be;
	padding-left: 1em;
	position: relative;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_contact li .contact_phone::before {
	content: "";
	display: block;
	width: 0.8em;
	height: 0.8em;
	background-image: url("../img/common/ic_tel.png");
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 0.1em;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_contact li.contact_mail a {
	display: block;
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 30px;
	color: #ffffff;
	background-color: #1e73be;
	border: 1px solid #1e73be;
	border-radius: 20px;
	padding: 0 20px;
	transition: .2s;
}
#g-nav .menu_listbox .menu_sns_contact .menu_list_contact li.contact_mail a:hover {
	background-color: #ffffff;
	color: #1e73be;
}
#g-nav .menu_listbox .menu_list {
	list-style: none;
	display: flex;
	justify-content: flex-end;
	/*height: 50%;*/
}
/*2階層目以降は横並びにしない*/
#g-nav .menu_listbox .menu_list ul {
	display: block;
}
/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
#g-nav .menu_listbox .menu_list li {
	position: relative;padding-right: 2px;
}
#g-nav .menu_listbox .menu_list li::after {
	content: "/";
	position: absolute;
	right: 0;
	top: 0;
}
#g-nav .menu_listbox .menu_list li:last-child::after {
	content: none;
}
#g-nav .menu_listbox .menu_list li a {
	padding: 0 10px 0 4px;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 2;color: #565656;
	transition: all 0.3s;
	position: relative;
}
#g-nav .menu_listbox .menu_list li.has-child a {
	padding: 0 10px 0 16px;
}
#g-nav .menu_listbox .menu_list li.current a,
#g-nav .menu_listbox .menu_list a:hover,
#g-nav .menu_listbox .menu_list a:active {
	color: #1e73be;
}

/*==矢印の設定*/
/*2階層目を持つliの矢印の設定*/
#g-nav .menu_listbox .menu_list li.has-child::before{
	content:'';
	position: absolute;
	left: 5px;
	top: 0.8em;
	width: 6px;
	height: 6px;
	border-top: 1px solid #565656;
  border-right: 1px solid #565656;
  transform: rotate(135deg);
}

/*下の階層を持っているulの指定*/
#g-nav .menu_listbox .menu_list li.has-child ul {
	/*絶対配置で位置を指定*/
	position: absolute;
	left: 0;
	/*right: 0;*/
	top: 28px;
	z-index: 4;
	/*形状を指定*/
	background: #f4fcff;
	width: 200px;
	/*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
	/*アニメーション設定*/
	transition: all .3s;
}
#g-nav .menu_listbox .menu_list li.has-child ul li {
	padding: 0.3em 0;
}
#g-nav .menu_listbox .menu_list li.has-child ul li::after {
	content: none;
}
/*hoverしたら表示*/
#g-nav .menu_listbox .menu_list li.has-child:hover > ul,
#g-nav .menu_listbox .menu_list li.has-child:hover > ul,
#g-nav .menu_listbox .menu_list li.has-child:active > ul,
#g-nav .menu_listbox .menu_list li.has-child:active > ul {
	visibility: visible;
	opacity: 1;
}
@media screen and (max-width: 1023px) {
	header {
		height: 60px;
	}
	/*========= ナビゲーションのためのCSS ===============*/
	#g-nav {
		/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
		position: fixed;
		z-index: 999;
		/*ナビのスタート位置と形状*/
		top: -300%;
		left: 0;
		width: 100%;
		height: 100vh; /*ナビの高さ*/
		background-color: #ffffff;
		/*動き*/
		transition: all 0.6s;
		margin-top: 0;
		display: block;/* 20240628追記  閉じる時横幅縮むのを防ぐ*/
	}
	/*アクティブクラスがついたら位置を0に*/
	#g-nav.panelactive {
		top: 0;
	}
	/*ナビゲーションの縦スクロール*/
	#g-nav.panelactive #g-nav-list {
		/*ナビの数が増えた場合縦スクロール*/
		position: fixed;
		z-index: 999;
		width: 100%;
		height: 100vh; /*表示する高さ*/
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	#g-nav .menu_listbox {
		flex-direction: column-reverse;
		/*ナビゲーション天地中央揃え*/
		width: 90%;
		margin: 100px auto 20px;
		background-color: rgba(255,255,255,1);
	}
	#g-nav .menu_listbox .menu_sns_contact {
		flex-direction: column;
		justify-content: center;
		margin-top: 1em;
	}
	#g-nav .menu_listbox .menu_sns_contact .menu_list_sns li {
		margin: 15px;
	}
	#g-nav .menu_listbox .menu_sns_contact .menu_list_contact {
		flex-direction: column;
		justify-content: center;
		margin-bottom: 0;
		margin-top: 1em;
	}
	#g-nav .menu_listbox .menu_sns_contact .menu_list_contact li {
		margin-bottom: 1.2em;
	}
	#g-nav .menu_listbox .menu_sns_contact .menu_list_contact li + li {
		margin-left: 0;
	}
	#g-nav .menu_listbox .menu_list {
		flex-direction: column;
		justify-content: center;
	}
	#g-nav .menu_listbox .menu_list li {
		width: 100%;
		border-bottom: 1px solid #dddddd;
	}
	#g-nav .menu_listbox .menu_list li::after {
		content: none;
	}
	#g-nav .menu_listbox .menu_list li a,
	#g-nav .menu_listbox .menu_list li.has-child a {
		display: block;
		padding: 10px;
	}
	#g-nav .menu_listbox .menu_list li.has-child::before {
		left: 15px;
		top: 1.3em;
	}
	#g-nav .menu_listbox .menu_list li.has-child.active::before {
		transform: rotate(-45deg);
	}
	#g-nav .menu_listbox .menu_list li.has-child ul,
	#g-nav .menu_listbox .menu_list li.has-child ul ul {
		position: relative;
		left: 0;
		top: 0;
		width: 100%;
		visibility: visible; /*JSで制御するため一旦表示*/
		opacity: 1; /*JSで制御するため一旦表示*/
		display: none; /*JSのslidetoggleで表示させるため非表示に*/
		transition: none; /*JSで制御するためCSSのアニメーションを切る*/
		background: #f4fcff;
	}
	#g-nav .menu_listbox .menu_list li.has-child ul li:last-child {
		border-bottom: 1px none;
	}

	/*========= ボタンのためのCSS ===============*/
	.g-nav-openbtn {
		position: fixed;
		z-index: 9999; /*ボタンを最前面に*/
		/*top: 10px;*/
		right: 10px;
		cursor: pointer;
		width: 50px;
		height: 50px;
		background-color: rgba(255, 255, 255, 0.5);
		border-radius: 50%;
		-webkit-backdrop-filter: blur(7px);
 		backdrop-filter: blur(7px);
	}
	/*×に変化*/
	.g-nav-openbtn span {
		display: inline-block;
		transition: all .4s;
		position: absolute;
		left: 14px;
		height: 2px;
		background-color: #1e73be;
		width: 45%;
	}
	.g-nav-openbtn span:nth-of-type(1) {
		top: 15px;
	}
	.g-nav-openbtn span:nth-of-type(2) {
		top: 24px;
	}
	.g-nav-openbtn span:nth-of-type(3) {
		top: 33px;
	}
	.g-nav-openbtn.active span:nth-of-type(1) {
		top: 17px;
		transform: translateY(6px) rotate(-45deg);
		width: 45%;
	}
	.g-nav-openbtn.active span:nth-of-type(2) {
		opacity: 0;
	}
	.g-nav-openbtn.active span:nth-of-type(3) {
		top: 29px;
		transform: translateY(-6px) rotate(45deg);
		width: 45%;
	}
}
@media screen and (max-width: 768px) {
	.h_logo {
		width: 180px;
	}
}
@media screen and (max-width: 480px) {
	#g-nav .menu_listbox .menu_list_contact {
		flex-direction: column;
	}
	#g-nav .menu_listbox .menu_list_contact li.contact_mail {
		margin-top: 1em;
	}
}
