/*---------------

header

----------------*/
.Header {
	padding: 0 var(--f_space_1);
	z-index: 1000;
	position: fixed;
	width: 100%;
}

.Header_Inner {
	background-color: var(--f_light);
	border-bottom-left-radius: 22.2px;
	border-bottom-right-radius: 22.2px;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: var(--f_space_2) 0 var(--f_space_2) var(--f_space_1);
	box-shadow: 0 3px 13px #00000010;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	max-height: 82px;
}

@media (min-width: 992px) {
	.Header_Inner {
		padding: var(--f_space_2) 30px var(--f_space_2) var(--f_space_2);
		height: 127px;
		width: 140rem;
		/* width: fit-content; */
		max-width: 100%;
		max-height: fit-content;
	}
}

/* ヘッダータイトル */
.Header_Logo_Wrap {
	position: relative;
	z-index: 10;
}
.Header_Logo {
	display: inline-block;
	background-color: var(--f_main);
	padding: 13px 16px;
	border-radius: 15.3px;
}

.Header_Logo img {
	max-height: 28px;
	max-width: 146px;
	min-height: 40px;
	width: calc((100vw - 390px) / 14 + 11.2rem);
}

@media (min-width: 992px) {
	.Header_Logo {
		padding: 17px 30px 20px 30px;
		border-radius: 15.3px;
	}
	.Header_Logo img {
		max-height: 64px;
		max-width: 180px;
	}
}

/* ヘッダーグローバルナビ */
.Header_Nav {
	display: none;
	font-weight: 700;
}

@media screen and (min-width: 992px) {
	.Header_Nav {
		display: block;
	}
}

.Header_Nav ul {
	display: flex;
	align-items: center;
	font-size: clamp(1rem, 0.5rem + 0.8vw, 1.8rem);
}

.Header_Nav > ul > li {
	margin-left: 1.5em;
	position: relative;
}

.Header_Nav > ul > li > a {
	padding: 0.5em 0.2em;
	font-size: 1em;
	line-height: 1.44;
}

.Header_Link_Icon {
	width: 1.4em;
	vertical-align: sub;
	margin-right: 0.4em;
}

/* メガメニュー */
.Header_Mega_Btn {
	position: relative;
	font-size: 1em;
	line-height: 1.44;
	white-space: nowrap;
	padding: 0.5em 0.9em 0.5em 0.5em;
}

.Header_Mega_Btn::after {
	content: "";
	clip-path: polygon(0% 0%, 50% 50%, 100% 0%);
	background-color: var(--f_main-deep);
	width: 1.2rem;
	height: 1rem;
	min-width: 1.2rem;
	min-height: 1rem;
	max-width: 1.2rem;
	max-height: 1rem;
	position: absolute;
	right: 0;
	bottom: 50%;
	transform: translateY(80%);
}

.Header_MegaMenu {
	padding: var(--f_space_6) 53px var(--f_space_5) 53px;
	border-radius: 16px;
	visibility: hidden;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
	position: absolute;
	background-color: var(--f_light);
	left: 0;
	transform: translateX(-50%);
	box-shadow: 0 3px 6px #00000010;
}
.Header_MegaMenu.Open {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

.Header_MegaMenu ul {
	margin-top: var(--f_space_3);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	/* 4行を指定 */
	column-gap: var(--f_space_5);
	row-gap: 12px;
}

.Header_Mega_Ttl {
	color: var(--f_main-deep);
	font-size: 2rem;
	font-weight: 700;
	position: relative;
}

.Header_Mega_Ttl::after {
	content: "";
	background-color: var(--f_main-deep);
	width: 38px;
	height: 2px;
	position: absolute;
	left: -53px;
	bottom: 50%;
	transform: translateY(50%);
}

.Header_MegaMenu_Item > a {
	padding: 0.5em 0.5em 0.4em 3.2rem;
	border-bottom: dashed 2px var(--f_main);
	font-size: 1.6rem;
	display: block;
	width: 100%;
	white-space: nowrap;
	position: relative;
}

.Header_MegaMenu_Item > a::after {
	content: "";
	background-color: var(--f_dark);
	width: 2.4rem;
	height: 2.4rem;
	min-width: 2.4rem;
	min-height: 2.4rem;
	max-width: 2.4rem;
	max-height: 2.4rem;
	position: absolute;
	left: 0;
	bottom: 50%;
	border-radius: 50%;
	background-image: url(../img/icon/arrow-short-wh.svg);
	background-repeat: no-repeat;
	background-size: 50%;
	background-position: center;
	transform: translateY(50%);
}

/* ハンバーガーメニュー */
.Ham_Btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 100%;
	background-color: var(--f_light);
	position: absolute;
	top: 0;
	right: 15px;
	z-index: 10;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}
@media screen and (min-width: 992px) {
	.Ham_Btn {
		display: none;
	}
}

.Ham_Btn_Line {
	width: 34px;
	height: 22px;
	position: relative;
	transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.Ham_Btn_Line span {
	display: block;
	position: absolute;
	background-color: var(--f_dark);
	height: 2px;
	width: 34px;
	border-radius: 7px;
	left: 0;
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.Ham_Btn_Line > span:nth-child(1) {
	top: 0;
	transform-origin: 0%;
}

.Ham_Btn_Line > span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.Ham_Btn_Line > span:nth-child(3) {
	bottom: 0;
	transform-origin: 0 100%;
}
/* メニューが開いているとき */
.Ham_Btn.Open .Ham_Btn_Line {
	width: 26px;
}
.Ham_Btn.Open .Ham_Btn_Line > span:nth-child(2) {
	/* 真ん中消える */
	opacity: 0;
}
.Ham_Btn.Open .Ham_Btn_Line > span:nth-child(1) {
	transform: rotate(37deg);
}
.Ham_Btn.Open .Ham_Btn_Line > span:nth-child(3) {
	transform: rotate(-37deg);
}

.Ham_Btn_Txt {
	font-size: 1.2rem;
	font-family: var(--f_family_en);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	margin-top: 0.6em;
	color: var(--f_main);
}

.Ham_Menu {
	position: fixed;
	right: 0;
	transform: translateX(100%);
	opacity: 0;
	top: 0;
	z-index: 9;
	width: 100%;
	pointer-events: none;
	height: 100vh;
	padding: 83px var(--f_space_3) 0 var(--f_space_3);
	background-color: var(--f_lightgray);
	color: var(--f_dark);
	transition:
		opacity 300ms cubic-bezier(0.4, 0.51, 0.52, 1.06),
		transform 300ms cubic-bezier(0.09, -0.07, 0.1, 1.08);
}
@media screen and (min-width: 992px) {
	.Ham_Menu {
		display: none;
	}
}
.Ham_Menu.Open {
	transform: translateX(0);
	opacity: 1;
	pointer-events: all;
	transition:
		opacity 300ms cubic-bezier(0.4, 0.51, 0.52, 1.06),
		transform 400ms cubic-bezier(0.09, -0.07, 0.1, 1.08);
}
/* ハンバーガーメニュー内囲み */
.Ham_Menu_Inner {
	overflow-y: auto;
	height: 100%;
	padding-top: 18px;
	padding-bottom: 30px;
	overscroll-behavior: contain;
}
.Ham_Menu_Ttl_En {
	font-size: 3.2rem;
	line-height: 0.8em;
	font-weight: 700;
	font-family: var(--f_family_en);
}
.Ham_Menu_Ttl_Ja {
	font-size: 1.4rem;
	font-weight: 700;
	font-family: var(--f_family_ja);
	color: var(--f_main);
}

.Ham_Menu_Nav {
	margin-top: var(--f_space_6);
}
.Ham_Menu_List > li {
	border-bottom: 2px solid var(--f_main);
}
/* ハンバーガー内の開閉メニュー */
.Ham_SubMenu_Toggle {
	position: relative;
	display: inline-block;
	font-size: 1.8rem;
	font-weight: 700;
	padding: 1.6em 10px 1.6em 6rem;
}
.Toggle_Line {
	content: "";
	width: 4.8rem;
	height: 4.8rem;
	border-radius: 50%;
	background-color: var(--f_main);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.Toggle_Line:before,
.Toggle_Line:after {
	content: "";
	display: block;
	width: 22px;
	height: 3px;
	border-radius: 3px;
	background-color: var(--f_light);
}

.Toggle_Line:after {
	transform: rotate(90deg);
	transform-origin: 50%;
	position: absolute;
	left: auto;
	top: auto;
	transition: transform 0.4s;
}
/* ハンバーガー内の開閉メニュー 閉じてるとき */
.Ham_SubMenu_Toggle.collapsed .Toggle_Line:after {
	transform: rotate(0);
}
/* 子メニュー 縦並びバージョン */
.Ham_SubMenu {
	padding-inline: var(--f_space_2);
}
/* 子メニュー 2列バージョン */
.Ham_SubMenu_Grid {
	padding-inline: var(--f_space_2);
	/* display: grid;
	column-gap: 30px;
	grid-template-columns: repeat(2, 1fr); */
	display: flex;
	flex-wrap: wrap;
	gap: 0px 12px;
	align-items: flex-end;
}

.Ham_SubMenu_Grid li{
	width: calc(50% - 12px);
}
.Ham_SubMenu > li > a,
.Ham_SubMenu_Grid > li > a {
	position: relative;
	padding: 0 0 0.8rem 2em;
	font-size: 1.6rem;
	margin-bottom: 20px;
	font-weight: 700;
	border-bottom: dashed 2px var(--f_main);
	display: block;
}
.Ham_SubMenu_Grid > li > a::before,
.Ham_SubMenu > li > a::before {
	content: "";
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background-image: url(../img/icon/arrow-short-wh.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	background-color: var(--f_darkgray);
	position: absolute;
	left: 0;
	top: 0;
}
/* 子メニュー リンクに付くアイコン */
.Ham_SubMenu_Icon {
	vertical-align: inherit;
	width: 0.8em;
}

/* 開閉しない普通のリンク */
.Ham_Menu_Link {
	position: relative;
	display: block;
	font-size: 1.8rem;
	font-weight: 700;
	padding: 1.6em 10px 1.6em 6rem;
}
.Ham_Menu_Link::before {
	content: "";
	width: 4.8rem;
	height: 4.8rem;
	border-radius: 50%;
	background-image: url(../img/icon/arrow-short-wh.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	background-color: var(--f_main);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.Ham_Tel_Link {
	background-color: var(--f_main);
	font-size: clamp(2.4rem, 8vw, 3.2rem);
	font-family: var(--f_family_en);
	font-weight: 700;
	line-height: 1.5;
	display: flex;
	justify-content: center;
	padding: 14px 10px 16px 10px;
	border-radius: 17px;
	align-items: center;
	margin-top: var(--f_space_4);
}
.Ham_Sns_Ttl {
	color: var(--f_dark);
	font-size: 1.6rem;
	font-family: var(--f_family_en);
	font-weight: 700;
	text-align: center;
}
.Ham_Sns_Grid {
	display: grid;
	grid-template-columns: repeat(3, 4rem);
	gap: 12%;
	margin-bottom: var(--f_space_4);
	justify-content: center;
	margin-top: var(--f_space_3);
}
