@charset "UTF-8";

/*=======================================================*/
/*      		ヘッダー、ナビのCSS   			  		  */
/*======================================================*/

/* ヘッダー */
#header {
	/*height: 112px;*/	/*テンプレ初期値*/
	background-color: var(--base-color);
	padding-bottom: 10px;
}
@media (min-width: 569px) {
	#header {
		position: relative;
		z-index: 2;		
		/* box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.12); */
	}
}
@media (max-width: 568px) {
	#header{
		position: fixed;/*fixedを設定して固定*/
		z-index: 100;/*最前面へ*/
		top:0;/*位置指定*/
		left:0;/*位置指定*/		
		background-color:#FFFFFFd4;
		padding-top: 5px;
		padding-bottom: 5px;
		width: 100%;
	}
}

/* ヘッダー */
.header-details{
	font-size: 13px;
	line-height: 1.5;
	color:var(--txt-color);
}
.header-details2 {
    font-size: 13px;
    line-height: 1.5;
    color: #FFF;/*var(--accent-color2);*/
    background-color:#769164;
    text-align: center;
	border-radius: 10px;
	padding: 0.1em;
	margin-left: 25px;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100px;
}
@media (max-width: 568px) {
	.header-container {
		/* margin-top: 10px; */
		height: 100%;
		/*margin-bottom: 10px;*/ /*logoロゴ下の余白*/
	}
}

/* ナビゲーションボタン */
#navbtn {
	position: relative;
	z-index: 110;
	display: flex;
	align-items: center;
	line-height: 0;                /* ← Safariでのズレ防止 */
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	color: var(--accent-color2);   /* ← 通常時のアイコン色 */
}

/* アイコン共通 */
#navbtn svg {
	display: block;
	width: 30px;
	height: 30px;
	fill: currentColor;            /* ← 念のため明示 */
}

/* 通常時はbarsを表示 */
#navbtn .icon-bars { display: block; }
#navbtn .icon-xmark { display: none; }

/* open時に切り替え＋色反転 */
.open #navbtn { color: #fff; }
.open #navbtn .icon-bars { display: none; }
.open #navbtn .icon-xmark { display: block; }

/* タブレット以上では非表示 */
@media (min-width: 569px) {
	#navbtn { display: none; }
}

/* スクリーンリーダー用 */
.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}


/*ロゴ*/
img.logo{
	width: 250px;
}
@media (max-width: 680px) {
	img.logo{
		width: 220px;
	}
}
@media (max-width: 372px) {
	img.logo{
		width: 200px;
	}
}

/* 会社住所・TEL */
.company{
	text-align: right;
}
.tel_ico{
	display: inline-block;
	width: 40px;
	height: 28.5px;
	vertical-align: sub;
	margin: 0 5px 0 5px;
}
.tel{
	color: var(--accent-color2);
	font-size: 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 Maru Gothic", sans-serif;
} */

/* ナビゲーションメニュー：モバイル */
@media (max-width: 568px) {
	.nav {
		position: fixed;
		inset: 0 -100% 0 100%;
		z-index: 100;
		background-color: #112a7cd8;
		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;
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.nav ul li a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-decoration: none;
		color: inherit;
	}

	.nav-en {
		font-size: 12px;
		letter-spacing: 0.15em;
		color: #ff7a81;
		font-family: "Sawarabi Gothic", "M PLUS 1p", sans-serif;
		margin-bottom: 3px;
	}

	.nav-ja {
		font-size: 16px;
	}
}


/* ナビゲーションメニュー：PC */
@media (min-width: 569px) {
	.nav {
		position: relative;
		z-index: 1;
	}
	.nav ul {
		display: flex;
		justify-content: center;
		align-items: center;
		list-style: none;
		z-index: 10;
		text-align: center;
		height: 70px;
	}

	.nav ul li {
		flex-grow: 1;
		text-align: center;
		background-color: #f8f7f6;
		padding: 2px 0;
		height: 50px;
	}

	.nav ul li+li {
		position: relative;
	}

	.nav ul li+li::before {
		content: "";
		position: absolute;
		left: 0;
		top: 15%;
		height: 70%;
		width: 1px;
		background-color: #E6E7E1;
	}

	.nav ul li a {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		text-decoration: none;
		color: inherit;
		padding: 5px;
		box-sizing: border-box;
	}

	.nav-en {
		font-size: 11px;
		color: var(--accent-color2);
		font-weight: 400;
		letter-spacing: 0.2em;
		font-family: "Sawarabi Gothic", "M PLUS 1p", sans-serif;
		line-height: 1.2;
	}

	.nav-ja {
		font-size: clamp(14px, 1.6vw, 18px);
		line-height: 1.4;
	}

	.nav ul li:hover {
		background-color: #f5f4f2;
	}

	.nav li.current {
		background-color: #f5f4f2;
	}
}