@charset "UTF-8";

/* ==================================================
   第2-B段階：トップページのヘッダー・グローバルナビ
================================================== */

html body.index-page {
	background-color: #ffffff !important;
	background-image: none !important;
	background-repeat: no-repeat !important;
}

.index-page #header {
	background: #ffffff;
	border-bottom: 1px solid #dce6dd;
}

.index-page .header-inner {
	display: flex;
	align-items: center;
	width: calc(100% - 64px);
	max-width: 1120px;
	min-height: 92px;
	margin: 0 auto;
	padding: 12px 0;
	gap: 24px;
}

.index-page #header h1 {
	flex: 0 0 auto;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
}

.index-page #header h1 a {
	display: block;
	width: 170px;
	height: 68px;
	background: url(../images/back-header.jpg) no-repeat 0 0;
	background-size: auto 76px;
	text-indent: -9999px;
	overflow: hidden;
}

.index-page .header-contact {
	display: flex;
	align-items: center;
	margin-left: auto;
	gap: 22px;
}

.index-page .header-phone {
	display: grid;
	line-height: 1.35;
	text-align: right;
}

.index-page .header-phone-label {
	color: #59635c;
	font-size: 13px;
	font-weight: bold;
}

.index-page .header-phone a {
	color: #0f6f2a;
	font-size: 24px;
	font-weight: bold;
	letter-spacing: .02em;
	text-decoration: none;
}

.index-page .header-hours {
	color: #687169;
	font-size: 12px;
}

.index-page .header-contact-button,
.index-page .header-mobile-contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	background: #178637;
	border: 1px solid #178637;
	border-radius: 7px;
	color: #ffffff !important;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.4;
	text-decoration: none;
}

.index-page .header-contact-button:hover,
.index-page .header-mobile-contact:hover {
	background: #0f6f2a;
	border-color: #0f6f2a;
	color: #ffffff !important;
}

.index-page .header-contact-button:focus-visible,
.index-page .header-mobile-contact:focus-visible,
.index-page .menu-toggle:focus-visible,
.index-page #navigation a:focus-visible {
	outline: 3px solid rgba(23, 134, 55, .32);
	outline-offset: 2px;
}

.index-page .menu-toggle,
.index-page .header-mobile-contact {
	display: none;
}

.index-page #navigation {
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	padding: 0 32px;
	background: #ffffff;
	border-bottom: 1px solid #dce6dd;
	font-size: 15px;
	line-height: 1.4;
}

.index-page #navigation ul {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.index-page #navigation li {
	flex: 1 1 auto;
	float: none;
	min-width: 0;
	height: auto;
	margin: 0;
}

body.index-page #wrapper #navigation li[id] a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	min-height: 52px;
	padding: 0 14px;
	background: none !important;
	border-bottom: 3px solid transparent;
	color: #303832 !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-indent: 0;
	text-decoration: none;
	white-space: nowrap;
}

.index-page #navigation a strong {
	font-weight: 600;
}

body.index-page #wrapper #navigation li[id] a:hover {
	background: #f1f8f2 !important;
	color: #0f6f2a !important;
}

body.index-page #wrapper #navigation #navi1-on a {
	background: #ffffff !important;
	border-bottom-color: #178637;
	color: #178637 !important;
}

body.index-page #wrapper #navigation #navi4 a {
	background: #178637 !important;
	border-bottom-color: #178637;
	color: #ffffff !important;
}

body.index-page #wrapper #navigation #navi4 a:hover {
	background: #0f6f2a !important;
	border-bottom-color: #0f6f2a;
	color: #ffffff !important;
}

@media screen and (max-width: 1023px) {
	.index-page .header-inner {
		width: 100%;
		min-height: 76px;
		padding: 9px 20px;
		gap: 12px;
	}

	.index-page #header h1 a {
		width: 152px;
		height: 58px;
		background-size: auto 68px;
	}

	.index-page .header-contact {
		display: none;
	}

	.index-page .menu-toggle {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-width: 62px;
		height: 48px;
		margin-left: auto;
		padding: 4px 8px;
		gap: 3px;
		background: #ffffff;
		border: 1px solid #b8c9bb;
		border-radius: 7px;
		color: #253128;
		font-family: inherit;
		font-size: 11px;
		font-weight: bold;
		line-height: 1;
		cursor: pointer;
	}

	.index-page .menu-toggle-icon {
		position: relative;
		display: block;
		width: 20px;
		height: 14px;
	}

	.index-page .menu-toggle-icon span {
		position: absolute;
		left: 0;
		display: block;
		width: 20px;
		height: 2px;
		background: #178637;
		transition: transform .18s ease, opacity .18s ease, top .18s ease;
	}

	.index-page .menu-toggle-icon span:nth-child(1) {
		top: 0;
	}

	.index-page .menu-toggle-icon span:nth-child(2) {
		top: 6px;
	}

	.index-page .menu-toggle-icon span:nth-child(3) {
		top: 12px;
	}

	.index-page .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
		top: 6px;
		transform: rotate(45deg);
	}

	.index-page .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
		opacity: 0;
	}

	.index-page .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
		top: 6px;
		transform: rotate(-45deg);
	}

	.index-page .header-mobile-contact {
		display: inline-flex;
		min-height: 48px;
		padding: 0 15px;
		font-size: 13px;
		white-space: nowrap;
	}

	.index-page #navigation {
		padding: 0 20px;
		border-top: 0;
	}

	.index-page #navigation ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 984px;
		border-top: 1px solid #dce6dd;
	}

	.index-page.nav-enhanced #navigation:not(.is-open) ul {
		display: none;
	}

	body.index-page #wrapper #navigation li[id] a {
		min-height: 52px;
		padding: 10px 16px;
		border-right: 1px solid #e4ebe5;
		border-bottom: 1px solid #e4ebe5;
		white-space: normal;
	}

	body.index-page #wrapper #navigation #navi1-on a {
		border-bottom: 3px solid #178637;
	}

	body.index-page #wrapper #navigation #navi4 a {
		border-bottom-color: #178637;
	}
}

@media screen and (max-width: 768px) {
	.index-page .header-inner {
		padding: 8px 10px;
		gap: 8px;
	}

	.index-page #header h1 a {
		width: 138px;
		height: 52px;
		background-size: auto 62px;
	}

	.index-page .menu-toggle {
		min-width: 54px;
		padding-right: 5px;
		padding-left: 5px;
		font-size: 10px;
	}

	.index-page .header-mobile-contact {
		min-height: 48px;
		padding-right: 10px;
		padding-left: 10px;
		font-size: 12px;
	}

	.index-page #navigation {
		padding: 0 10px;
	}

	.index-page #navigation ul {
		grid-template-columns: 1fr;
	}

	body.index-page #wrapper #navigation li[id] a {
		justify-content: flex-start;
		min-height: 52px;
		padding: 11px 16px;
		border-right: 0;
		text-align: left;
	}

	body.index-page #wrapper #navigation #navi1-on a {
		border-bottom: 1px solid #d8e6da;
		border-left: 4px solid #178637;
		background: #f1f8f2 !important;
	}
}

@media screen and (max-width: 340px) {
	.index-page #header h1 a {
		width: 124px;
		height: 49px;
		background-size: auto 58px;
	}

	.index-page .menu-toggle {
		min-width: 52px;
	}

	.index-page .header-mobile-contact {
		padding-right: 8px;
		padding-left: 8px;
		font-size: 11px;
	}
}
