@charset "UTF-8";

/* Header-owned controls: never inherit body button classes. */
.header_btn{
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	background: #00a0e9;
	color: #fff;
	border: 1px solid #00a0e9;
	padding: 1.8rem 2rem;
	min-height: 6.4rem;
	min-width: 28rem;
	font-size: 1.5rem;
	font-weight: 700;
	transition: background-color .3s, color .3s, border-color .3s;
}
.header_arrow{
	display: inline-block;
	width: 2rem;
	height: 2rem;
	flex-shrink: 0;
	vertical-align: middle;
	background-color: currentColor;
	mask: url('../img/common/icons/icon_arrow_forward.svg') center / contain no-repeat;
	margin-left: auto;
	transition: transform .3s cubic-bezier(.4,.4,0,1);
}
.header_call{
	display: inline-block;
	flex: 0 0 1em;
	width: 1em;
	height: 1em;
	background: currentColor;
	mask: url('../img/common/icons/icon_call.svg') center / contain no-repeat;
	vertical-align: -.12em;
}
.header_btn:focus-visible{
	outline: 2px solid currentColor;
	outline-offset: 5px;
}
@media (hover:hover) { .header_btn:hover .header_arrow{
	transform: translateX(.4rem);
} }
@media (prefers-reduced-motion:reduce) { .header_btn, .header_arrow{
	transition: none;
} .header_btn:hover .header_arrow{
	transform: none;
} }


/* Shared header and service menu, all pages. */
.header {
	display: flex;
	align-items: center;
	gap: 2.6rem;
	justify-content: space-between;
	padding: 2.2rem 4rem;
	min-height: 10.8rem;
	background: rgba(255, 255, 255, 0.97);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header_logo {
	font:
		700 3rem/1.2 Manrope,
		sans-serif;
	flex-shrink: 0;
}

.header_logo small {
	display: block;
	font:
		400 1.1rem/1.65 "Noto Sans JP",
		sans-serif;
	margin-top: 1rem;
	color: #666;
}

.header_nav {
	display: flex;
	gap: 2.2rem;
	align-items: center;
	flex-wrap: wrap;
	font-size: 1.6rem;
	font-weight: 700;
}

.header_nav a {
	white-space: nowrap;
}

.header_nav a::after {
	content: "";
	height: 1px;
	position: absolute;
	bottom: -0.8rem;
	left: 0;
	right: 0;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
}

.header_tel {
	font:
		700 2.4rem/1.2 Manrope,
		sans-serif;
	white-space: nowrap;
}

.header_tel small {
	display: block;
	font:
		400 1.2rem/1.65 "Noto Sans JP",
		sans-serif;
	color: #666;
	margin-top: 0.6rem;
}

.header_contact .header_btn {
	min-width: 23rem;
}

.header_contact small {
	display: block;
	font-size: 1.5rem;
	color: #666;
	text-align: center;
}

.header_menu {
	display: none;
	border: 0;
	background: none;
	width: 4rem;
	height: 4rem;
}

.header_menu span {
	height: 2px;
	display: block;
	background: #111;
	margin: 6px;
}

@media (hover: hover) {
	.header_nav a:hover::after {
		transform: scaleX(1);
	}
}

@media (min-width: 768px) and (max-width: 1500px) {
	.header {
		padding: 1.8rem 2rem;
		gap: 1.6rem;
	}

	.header_nav {
		gap: 1.2rem;
		font-size: 1.6rem;
	}

	.header_logo {
		font-size: 2.4rem;
	}

	.header_tel {
		font-size: 1.8rem;
	}

	.header_contact .header_btn {
		min-width: 18rem;
	}

	.header_nav a:last-child {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 1100px) {

	.header_tel,
	.header_contact {
		display: none;
	}
}

@media (max-width: 767px) {
	.header {
		padding: 1.6rem 2rem;
		min-height: 8rem;
	}

	.header_logo {
		font-size: 2.2rem;
	}

	.header_logo small {
		font-size: 0.9rem;
		margin-top: 0.5rem;
	}

	.header_tel,
	.header_contact {
		display: none;
	}

	.header_menu {
		display: block;
	}

	.header_nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: white;
		padding: 2rem;
		max-height: 70svh;
		overflow: auto;
		flex-wrap: wrap;
		gap: 2rem;
	}

	.header.is_open .header_nav {
		display: flex;
	}
}

@media (min-width: 768px) {
	.header {
		padding-top: 1.2rem;
		padding-bottom: 1.2rem;
	}
}

.mega_in {
	max-width: 1600px;
	padding: 24px 30px;
}

.mega_top {
	margin-bottom: 20px;
}

.mega_top strong>small {
	font-size: 12px;
	font-weight: 400;
	color: #666;
	display: inline-block;
	margin-left: 16px;
}

.mega_catalog {
	display: grid;
	gap: 24px;
}

.mega_section h3 {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	color: #111;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid #00a0e9;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mega_section h3 small {
	font:
		400 12px/1.6 Meiryo,
		sans-serif;
	color: #666;
}

.mega_services {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.mega_services li {
	margin: 0;
	padding: 0;
}

.mega_service {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 42px;
	padding: 8px 12px;
	border-bottom: 1px solid #e3e3e3;
	background: #f7f9fa;
	font:
		700 13px/1.6 "Noto Sans JP",
		Meiryo,
		sans-serif;
	color: #333;
}

.mega_service>span {
	overflow-wrap: anywhere;
}

.mega_service>small {
	flex-shrink: 0;
	font:
		400 10px/1.6 Meiryo,
		sans-serif;
	color: #777;
}

.mega_service[href] {
	color: #007bb4;
	background: #eaf7fd;
}

.mega_service[href]>small {
	font-size: 16px;
	color: #00a0e9;
	transition: transform 0.3s;
}

.mega_service[aria-current="page"] {
	border-bottom-color: #00a0e9;
}

.mega_service[href]:focus-visible {
	outline: 2px solid #007bb4;
	outline-offset: 2px;
}

.mega_footer {
	margin-top: 20px;
}

@media (hover: hover) {
	.mega_service[href]:hover {
		background: #cdeeff;
		color: #005c88;
	}

	.mega_service[href]:hover>small {
		transform: translateX(4px);
	}
}

@media (max-width: 1100px) {
	.mega_services {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.mega_in {
		padding: 18px 20px;
	}

	.mega_services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px 12px;
	}

	.mega_service {
		font-size: 12px;
		min-height: 52px;
		padding: 8px;
	}

	.mega_top strong>small {
		display: block;
		margin: 4px 0 0;
	}

	.mega_top strong {
		font-size: 18px;
	}

	.mega_footer {
		flex-wrap: wrap;
	}
}

@media (max-width: 450px) {
	.mega_services {
		grid-template-columns: 1fr;
	}

	.mega_service {
		min-height: 42px;
		font-size: 13px;
	}

	.mega_panel {
		max-height: calc(100svh - 140px);
	}
}

.mega_heading {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.mega_index {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	font-size: 13px;
	font-weight: 700;
	color: #007bb4;
	padding: 8px 12px;
	border: 1px solid #00a0e9;
	background: #eaf7fd;
	white-space: nowrap;
}

.mega_index span {
	transition: transform 0.3s;
}

@media (hover: hover) {
	.mega_index:hover {
		background: #00a0e9;
		color: #fff;
	}

	.mega_index:hover span {
		transform: translateX(4px);
	}
}

@media (max-width: 767px) {
	.mega_heading {
		gap: 12px;
	}

	.mega_index {
		font-size: 12px;
		padding: 6px 10px;
		gap: 12px;
	}

	.mega_top {
		align-items: flex-start;
		gap: 12px;
	}

	.mega_close {
		white-space: nowrap;
	}
}

.header .header_nav .svc_trigger[aria-current="page"],
.header .svc_trigger {
	text-decoration: none;
	border-bottom: 0;
	position: relative;
}

.header .svc_trigger[aria-expanded]::after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.8rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
}

.header .svc_trigger[aria-expanded="true"]::after,
.header .svc_trigger[aria-current="page"]::after {
	transform: scaleX(1);
}

@media (min-width: 768px) {
	.header .header_nav .svc_trigger {
		padding: 0;
	}
}

@media (hover: hover) {
	.header .svc_trigger:hover::after {
		transform: scaleX(1);
	}
}

.mobile_menu {
	display: none;
}

@media (max-width: 767px) {
	.mobile_menu:not([hidden]) {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0;
		z-index: 500;
		background: #f6f6f6;
		color: #111;
		height: 100dvh;
		overflow: hidden;
		font:
			400 1.5rem/1.7 "Noto Sans JP",
			Meiryo,
			sans-serif;
	}

	.mobile_menu a:focus-visible,
	.mobile_menu button:focus-visible,
	.mobile_menu h2:focus-visible {
		outline: 2px solid #007cad;
		outline-offset: 3px;
	}
}

.header_logo img {
	display: block;
	width: 22rem;
	height: auto;
	max-width: none;
	object-fit: contain;
}

@media (max-width: 767px) {
	.header_logo img {
		width: 18rem;
	}
}

.header_nav a[aria-current="page"]::after {
	transform: scaleX(1);
}

.skip_link {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 9999;
	background: #fff;
	color: #111;
	padding: 1rem;
	transform: translateY(-200%);
}

.skip_link:focus {
	transform: translateY(0);
}

body.admin-bar .header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	body.admin-bar .header {
		top: 0;
	}
}

.mega_panel {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 99;
	background: #fff;
	border-block: 1px solid #ddd;
	box-shadow: 0 1.6rem 2.5rem #0002;
	max-height: 75vh;
	overflow-y: auto;
	color: #333;
	line-height: 1.6;
	font-size: 1.5rem
}

.mega_in {
	margin: auto
}

.mega_top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem
}

.mega_top strong {
	font-size: 2.2rem
}

.mega_close {
	border: 1px solid #aaa;
	background: #fff;
	padding: .8rem 1.4rem;
	font-size: 1.4rem
}

:is(.header, .mobile_head) .header_logo {
	letter-spacing: -0.04em;
}

:is(.header, .mobile_head) .header_logo small {
	letter-spacing: 0.03em;
}

.header .header_nav {
	gap: 1.8rem;
}

.header .header_nav a {
	position: relative;
}

.header .header_contact .header_btn {
	min-height: 5rem;
}

@media (min-width: 768px) and (max-width: 1350px) {
	.header .header_tel {
		display: none;
	}

	.header .header_nav {
		gap: 1.2rem;
	}
}

.header .header_contact .header_btn {
	background: #007cad;
	border-color: #007cad;
	color: #fff;
}

@media (hover: hover) {
	.header .header_contact .header_btn:hover {
		background: #fff;
		color: #007cad;
		border-color: #007cad;
	}
}

.header.header {
	background: rgba(255, 255, 255, 0.97);
	color: #111;
}

:is(.header, .mobile_head) .header_logo {
	color: #111;
}

.header .header_contact .header_btn {
	background: #00a0e9;
	border-color: #00a0e9;
	color: #fff;
}

@media (hover: hover) {
	.header .header_contact .header_btn:hover {
		background: #fff;
		color: #111;
		border-color: #00a0e9;
	}
}

/* Google Outlined / 共通メニューの装飾 */
.header_menu span {
	display: none
}

.header_menu::before,
.mobile_close::before {
	content: "";
	display: block;
	width: 2.8rem;
	height: 2.8rem;
	background: currentColor;
	mask: url("../img/common/icons/icon_menu.svg") center/contain no-repeat
}

.header_menu[aria-expanded="true"]::before,
.mobile_close::before {
	mask-image: url("../img/common/icons/icon_close.svg")
}

/* Mobile menu shares the closed header brand; only its action changes. */
@media (max-width: 767px) {
	.mobile_head{
	box-sizing: border-box;
}
	.mobile_head .mobile_brand{
	display: inline-block;
	max-width: none;
}
	.mobile_head .mobile_close {
		flex-shrink: 0;
		width: 4rem;
		height: 4rem;
		min-height: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		color: #111;
	}
	.mobile_close .ui_close{
	display: none;
}
}

/* PCの問い合わせ導線はヘッダー全高の四角い共通ボタン */
@media (min-width: 768px) {
	.header.header{
	padding-top: 0;
	padding-bottom: 0;
	padding-right: 0;
	align-items: stretch;
}
	.header > .header_logo, .header > .header_nav, .header > .header_tel{
	align-self: center;
	margin-block: 1.5rem;
}
	.header .header_contact{
	flex-shrink: 0;
	align-self: stretch;
}
	.header .header_contact .header_btn{
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	height: 100%;
	min-height: 10.8rem;
	padding: 1.8rem 2.4rem;
	border: 0;
	border-radius: 0;
}
	.header .header_contact .header_btn > span:first-child{
	display: flex;
	align-items: center;
	gap: 1.6rem;
}
	.header .header_contact .header_btn small{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #007cad;
	border-radius: 999px;
	padding: .4rem 1.2rem;
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.5;
}
}

/* WordPressの管理バーと本文スキップ導線 */
.skip_link{
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 9999;
	background: #fff;
	color: #111;
	padding: 1rem;
	transform: translateY(-200%);
}
.skip_link:focus{
	transform: translateY(0);
}
body.admin-bar .header{
	top: 32px;
}
@media (max-width: 782px) { body.admin-bar .header{
	top: 46px;
} }
@media (max-width: 600px) { body.admin-bar .header{
	top: 0;
} }

/* 共通ヘッダー：主導線を強め、補足は小さく表示 */
.header .header_mail{
	display: inline-block;
	width: 1.2em;
	height: 1.2em;
	flex-shrink: 0;
	background: currentColor;
	mask: url('../img/common/icons/icon_mail.svg') center / contain no-repeat;
	-webkit-mask: url('../img/common/icons/icon_mail.svg') center / contain no-repeat;
}
@media (min-width: 768px) {
 .header .header_contact .header_btn{
	font-size: 1.7rem;
}
 .header .header_contact .header_btn > span:first-child{
	gap: .8rem;
	white-space: nowrap;
}
 .header .header_contact .header_btn small{
	font-size: 1.15rem;
	padding: .3rem 1rem;
}
}

/* reset.cssのhtml margin:0を保ち、管理バーが占める領域を通常フローへ確保する。 */
body.admin-bar {
	padding-top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar {
		padding-top: 46px;
	}
}
