@charset "UTF-8";

/*=======================================================*/
/*      		ヘッダー、ナビのCSS   			  		  */
/*======================================================*/

/* ヘッダー */
#header {
	/*height: 112px;*/	/*テンプレ初期値*/
	background-color: var(--main-color);
	color: #313131;
	padding-bottom: 20px;/*今回*/
}
@media (min-width: 569px) {
	#header {
		position: relative;
		z-index: 2;
		/*box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);*/
		/*padding-bottom: 10px;*/
	}
}
@media (max-width: 568px) {
	#header{
		position: fixed;/*fixedを設定して固定*/
		z-index: 100;/*最前面へ*/
		top:0;/*位置指定*/
		left:0;/*位置指定*/
		background-color: #ffffffeb;
		background-color: #fff100cc;
		padding-top: 5px;
		padding-bottom: 5px;
		/*padding-left: 10px;*/
		width: 100%;
	}
}

/* ヘッダー */
.header-details{
	font-size: clamp(12px, 1.1vw, 14px);/*通常13px*/
	line-height: 1.5;
	font-family: sans-serif;
	font-family: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Helvetica Neue", sans-serif;
}
.header-container {
	display: flex;
	/*justify-content: space-between;*/
	justify-content: center;
	align-items: center;
	/*height: 100px;*/
	height: 120px;
	gap: 20px;
}
@media (max-width: 568px) {
	.header-container {
		/* margin-top: 10px; */
		height: 100%;
		/*margin-bottom: 10px;*/ /*logoロゴ下の余白*/
		justify-content: space-between;/*今回*/
	}
}

/* ナビゲーションボタン */
#navbtn {
	padding-right: 10px;
	outline: none;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--accent-color3);
	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(--accent-color2);
	font-size: clamp(10px, 1.2vw, 13px);
	text-align: center;
	font-weight: 600;
	letter-spacing: 0.05em;
	font-family: "Zen Kaku Gothic New", serif;
	/*height: 15px;*/ /* 固定の高さを指定 副題入れるときは使用*/
	/*line-height: 10px;*/ /* 中央揃え */
}
@media only screen and (max-width: 568px){
	nav.nav ul li::before {
		color: var(--accent-color2);
	}
}

/*ロゴ*/
.logo{
	width: 370px;
}
@media (max-width: 768px) {
	.logo{
		width: 270px;
	}
}
@media (max-width: 568px) {
	.logo{
		width: 230px;
	}
}
@media (max-width: 372px) {
	.logo{
		width: 190px;
	}
}
/*印刷時*/
@media print{
	.logo{
		width: 300px;
	}
}

/* 会社住所・TEL */
.company{
	text-align: right;
	text-align: left;
}
.tel_ico{
	color: var(--accent-color3);
	font-size: 29px;
	padding-right: 5px;
	font-weight: 400;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.tel{
	color: var(--accent-color3);
	font-size: clamp(31px, 3vw, 33px);/*通常33px*/
	font-weight: 400;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

@media (max-width: 569px) {
	.company {
		display: none;
	}
}
/*ナビゲーション：PC SP*/
.nav {
	font-family: "Zen Kaku Gothic New", serif;
}

/* ナビゲーションメニュー：モバイル */
@media (max-width: 568px) {
	.nav {
		position: fixed;
		inset: 0 -100% 0 100%;
		z-index: 100;
		background-color: #0f0f0fe3;
		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;
	}
}

/* ナビゲーションメニュー：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: 60px;/*通常50-60*/
		text-align: center;
		margin-top: 10px;
		background-color: #fff;
		border-radius: 15px;
	}
	.nav ul li{
		font-size: clamp(13px, 1.6vw, 20px);
		line-height: 1.5;
		/* background-color: #f8f6f5a1; */
		flex-grow: 1;
		text-align: center;
		letter-spacing: -0.1em;
	}

	.nav li + li {
		border-left: 1px solid #cecece;
	}

	.nav ul li a {
		padding-right: 5px;
		padding-left: 5px;
	}
	.nav ul li a:hover{
		/*color: #707070;*/
		border-bottom: 3px dotted #eaae28;
		background: linear-gradient(transparent 50%, #f5f5f5 50%);
		padding-bottom: 2px;
	}
	.nav li.current a{
		border-bottom: 3px dotted #eaae28;
		padding-bottom: 2px;
	}
}
