@charset "UTF-8";


/* ==================================================
   PAGE：ヘッダー
================================================== */


/* --------------------------------------------------
   SECTION：ヘッダー
-------------------------------------------------- */

#header {
	background-color: var(--base-color);
}

@media print, screen and (min-width: 769px) {
	#header {
		position: relative;
		z-index: 1;
		border-bottom: 1px solid #e7ebe7;
	}
}

@media only screen and (max-width: 768px) {
	#header {
		position: fixed;
		z-index: 100;
		top: 0;
		left: 0;
		width: 100%;
		padding-left: 10px;
		background-color: rgba(255, 255, 255, .94);
	}
}


/* ===== ヘッダー情報 ===== */

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 96px;
}

.header-details {
	margin-top: 4px;
	color: #777c77;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: .04em;
}

@media only screen and (max-width: 768px) {
	.header-container {
		height: 100%;
		margin-top: 10px;
	}
}


/* ===== ロゴ ===== */

img.logo {
	display: block;
	width: 350px;
}

@media only screen and (max-width: 768px) {
	img.logo {
		width: 250px;
	}
}

@media only screen and (max-width: 372px) {
	img.logo {
		width: 200px;
	}
}


/* ===== 会社住所・TEL ===== */

.company {
	text-align: right;
}

.tel_ico {
	display: inline-block;
	width: 22px;
	height: 26px;
	margin: 0 5px;
	vertical-align: sub;
	fill: var(--main-color);
}

.freetel_ico {
	display: inline-block;
	width: 25px;
	height: 30px;
	margin: 0 5px;
	vertical-align: sub;
}

.tel {
	color: var(--txt-color);
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 30px;
	font-weight: 500;
	letter-spacing: .02em;
	text-decoration: none;
}

.tel:hover {
	color: var(--main-color);
}

@media (max-width: 768px) {
	.company {
		display: none;
	}
}


/* --------------------------------------------------
   SECTION：ナビゲーション
-------------------------------------------------- */

/* ===== メニュー副題 ===== */

nav.nav ul li::before {
    content: attr(data-en);
    display: block;
    height: 12px;
    color: var(--main-color);
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 10px;
    letter-spacing: .16em;
    text-align: center;
}

@media (max-width: 768px) {
	nav.nav ul li::before {
		color: #8ab8e1;
	}
}


/* ===== ナビゲーションボタン ===== */

#navbtn {
	position: relative;
	z-index: 110;
	display: flex;
	align-items: center;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	color: var(--accent-color2);
	line-height: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#navbtn svg {
	display: block;
	width: 30px;
	height: 30px;
	fill: currentColor;
}

#navbtn .icon-bars {
	display: block;
}

#navbtn .icon-xmark {
	display: none;
}

.open #navbtn {
	color: #fff;
}

.open #navbtn .icon-bars {
	display: none;
}

.open #navbtn .icon-xmark {
	display: block;
}

@media (min-width: 769px) {
	#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;
}


/* ===== SPナビ ===== */

@media only screen and (max-width: 768px) {
	.nav {
		position: fixed;
		inset: 0 -100% 0 100%;
		z-index: 100;
		background-color: #18191b;
		opacity: .96;
		transition: transform .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: #fff; */
		text-align: center;
	}

	.nav ul li a {
		color: #fff;
		font-size: 16px;
		font-weight: 500;
		letter-spacing: .05em;
	}
}


/* ===== PCナビ ===== */

@media print, screen and (min-width: 769px) {
	.nav {
		position: relative;
		z-index: 1;
		background-color: var(--base-color);
	}

	.nav ul {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 58px;
		list-style: none;
		text-align: center;
		z-index: 10;
	}

	.nav ul li {
		flex-grow: 1;
		font-size: clamp(12px, 1.4vw, 15px);
		line-height: 1.5;
		text-align: center;
	}

	.nav li + li {
		border-left: 1px solid #e4e8e4;
	}

	.nav ul li a {
		position: relative;
        display: inline-block;
        padding: 5px 10px 7px;
        transition: color .25s ease;
	}

	.nav ul li a::after {
		content: "";
		position: absolute;
		right: 8px;
		bottom: 1px;
		left: 8px;
		height: 1px;
		background-color: var(--main-color);
		transform: scaleX(0);
		transform-origin: center;
		transition: transform .2s ease;
	}

	.nav ul li a:hover {
		color: var(--main-color);
	}

	.nav ul li a:hover::after,
	.nav li.current a::after {
		transform: scaleX(1);
	}

	.nav li.current a {
		color: var(--main-color);
	}
}
