@charset "UTF-8";

/*=======================================================*/
/*      		ヘッダー、ナビのCSS   			  		  */
/*======================================================*/

/* ヘッダー */
#header {
	/*height: 70px;*/	/*テンプレ初期値*/
	background-color: var(--base-color);
	background-image: url(../img/bg_01a.png),url(../img/bg_01b.png);
	background-repeat: no-repeat,no-repeat;
	background-position: left,right;
	background-size: contain,contain;
}
@media (min-width: 569px) {
	#header {
		position: relative;
		z-index: 2;
		box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
	}
}
@media (max-width: 568px) {
	#header{
		position: fixed;/*fixedを設定して固定*/
		z-index: 100;/*最前面へ*/
		top:0;/*位置指定*/
		left:0;/*位置指定*/		
		background-color:#ffffffd4;
		padding-left: 10px;
		width: 100%;
	}
	#header {
		background-image: none;
	}
}

/* ヘッダー */
.header-details{
	/*font-size: 13px;*/
	font-size: clamp(10px, 1.2vw, 13px);
	line-height: 1.2;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100px;
}
@media (max-width: 568px) {
	.header-container {
		margin-top: 5px;
		height: 100%;
		margin-bottom: 5px; /*logoロゴ下の余白*/
	}
}

/* ナビゲーションボタン */
#navbtn {
	padding-right: 10px;
	outline: none;
	border: none;
	background: transparent;
	cursor: pointer;
	/*color: var(--main-color);*/
	color: #4b4b4b;
	font-size: 30px;
}

.open #navbtn {
	z-index: 110;
	color: #ffffff;
}

#navbtn .fa-bars {
	display: revert;
}
.open #navbtn .fa-bars {
	display: none;
}

#navbtn .fa-times {
	display: none;
}
.open #navbtn .fa-times {
	display: revert;
}

@media (min-width: 569px) {
	#navbtn {
		display: none;
	}
}

/*メニュー副題*/

nav.nav ul li::before {
	content: attr(data-en);
	display: block;
	color: var(--main-color);
	font-size: clamp(10px, 1.2vw, 13px);
	text-align: center;
	font-weight: 400;
	/*letter-spacing: 0.05em;*/
	font-family: sans-serif;
}
.disp{
	display: inline-block;
}
/*ロゴ*/
.logo{
	width: 350px;
}

@media (max-width: 688px) {
	.logo{
		width: 270px;
	}
}
@media (max-width: 372px) {
	.logo{
		width: 240px;
	}
}
/*印刷時*/
@media print{
	.logo{
		width: 350px;
	}
}
/* 会社住所・TEL */
.company{
	text-align: right;
}

.tel_ico{
	color: var(--accent-color1);
	font-size: 27px;
	padding-right: 5px;
	font-weight: bold;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/*フリーダイヤルの場合*/
/*
.tel_ico {
	display: inline-block;
	width: 50px;
	height: 28.5px;
	vertical-align: sub;
	margin: 0 5px 0 5px;
}
*/
.tel{
	/*font-size: 33px;*/
	font-size: clamp(33px, 3vw, 35px);
	font-weight: 600;
	line-height: 1.3;
	color: var(--main-color);
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	/*font-family: Century Gothic, Arial, "Sawarabi Gothic", "M PLUS 1p", sans-serif;*/
	/*font-family: serif;*/
}

@media (max-width: 569px) {
	.company {
		display: none;
	}
}

/* ナビゲーションメニュー：モバイル */
@media (max-width: 568px) {
	.nav {
		position: fixed;
		inset: 0 -100% 0 100%;
		z-index: 100;
		background-color: #373737e2;
		transition: transform 0.3s;
	}

	.open .nav {
		transform: translate(-100%, 0);
	}

	.open body {
		position: fixed;
		overflow: hidden;
	}

	.nav ul {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100%;
		gap: 40px;
		color: #ffffff;
		text-align: center;
	}
	nav.nav ul li::before {
		color: #b0dfc5;/*スマホ副題色変更*/
		font-size: 10px;/*今回指定*/
	}
}

/* ナビゲーションメニュー：PC */
@media (min-width: 569px) {
	.nav {
		position: relative;
		z-index: 1;
	}
	.nav ul {
		display: flex;
		/*gap: 5%;*//*6-7基準*/
		justify-content: center;
		align-items: center;
		list-style: none;
		z-index: 10;
		height: 65px;/*通常50-60*/
		text-align: center;
	}
	.nav ul li{
		font-weight: 600;/*明朝の場合は600*/
		font-size: clamp(13px, 1.6vw, 18px);
		line-height: 1.5;
		background-color: #ffffffa1;
		flex-grow: 1;
		text-align: center;
	}

	.nav li + li {
		border-left: 1px solid #d7d7d7;
	}

	.nav ul li a {
		padding-right: 5px;
		padding-left: 5px;
	}
	.nav ul li a:hover{
		/*color: #9d9d9d;*/
		border-bottom: 1px solid var(--main-color);
		background: linear-gradient(transparent 50%, #80d5ff42 50%);
	}
	.nav li.current a{
		border-bottom: 1px solid var(--main-color);
	}
}
