@charset "UTF-8";


/* =========================================================
   LIFE X Dealer
   Header
========================================================= */

.lifex-dealer-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	background: #fff;
	box-sizing: border-box;
}

.lifex-dealer-header-inner {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 70px;
}


/* =========================================================
   Fixed Header Space
========================================================= */

.site-content {
	padding-top: 70px;
}


/* =========================================================
   WordPress Admin Bar
========================================================= */

.admin-bar .lifex-dealer-header {
	top: 32px;
	box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .1);
}


/* =========================================================
   Logo
========================================================= */

.lifex-dealer-header-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	height: 70px;
	padding: 0 34px;
	box-sizing: border-box;
}

.lifex-dealer-header-logo .site-logo {
	margin: 0;
}

.lifex-dealer-header-logo a {
	display: flex;
	align-items: center;
	height: 100%;
}

.lifex-dealer-header-logo img {
	display: block;
	width: auto;
	max-width: 150px;
	height: auto;
}


/* =========================================================
   PC Navigation
========================================================= */

.lifex-dealer-header-nav {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	flex: 1;
	height: 70px;
	min-width: 0;
	margin-right: 24px;
}

.lifex-dealer-header-menu-group {
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	height: 70px;
	margin-left: auto;
}

@media screen and (min-width: 980px) {
    body .main-navigation div.menu > ul > li:first-child > a,
		body .main-navigation ul.menu > li:first-child > a {
        padding-left: 16px !important;
    }
}
/* HOME */

.lifex-dealer-header-home {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	height: 70px;
	padding: 0 16px;
	color: #111;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition:
		color .3s ease,
		opacity .3s ease;
}

.lifex-dealer-header-home:hover {
	color: #111;
	opacity: .7;
}


/* =========================================================
   WordPress Menu
========================================================= */

.lifex-dealer-header-wpnav {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	flex: 1;
	height: 70px;
	min-width: 0;
}

.lifex-dealer-header-wpnav .main-navigation {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 70px;
}

.lifex-dealer-header-wpnav .main-navigation > div {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	width: 100%;
	height: 70px;
}

.lifex-dealer-header-wpnav ul {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	width: 100%;
	height: 70px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lifex-dealer-header-wpnav li {
	display: flex;
	align-items: stretch;
	height: 70px;
	margin: 0;
}

body .lifex-dealer-header-wpnav .main-navigation a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70px;
	padding: 0 16px;
	color: #111 !important;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition:
		color .3s ease,
		background .3s ease;
}

.lifex-dealer-header-wpnav a:hover {
	color: #527B88 !important;
	background: transparent;
}



/* =========================================================
   旧 来場予約メニュー
   新3CTA側へ移したため非表示
========================================================= */

body .lifex-dealer-header-wpnav .main-navigation #menu-item-668 {
	display: none !important;
}


/* =========================================================
   Current Menu
========================================================= */

.lifex-dealer-header-wpnav .main-navigation .current-menu-item:not(.gm-btn) > a,
.lifex-dealer-header-wpnav .main-navigation .current_page_item:not(.gm-btn) > a,
.lifex-dealer-header-wpnav .main-navigation .current-menu-ancestor:not(.gm-btn) > a {
	position: relative;
	background: transparent !important;
	color: #527B88 !important;
	border: 0 !important;
	border-bottom: 0 !important;
}


/* BusinessPress Current Line Reset */

.lifex-dealer-header-wpnav .main-navigation .current-menu-item:not(.gm-btn) > a::before,
.lifex-dealer-header-wpnav .main-navigation .current_page_item:not(.gm-btn) > a::before,
.lifex-dealer-header-wpnav .main-navigation .current-menu-ancestor:not(.gm-btn) > a::before,
.lifex-dealer-header-wpnav .main-navigation .current-menu-item:not(.gm-btn) > a::after,
.lifex-dealer-header-wpnav .main-navigation .current_page_item:not(.gm-btn) > a::after,
.lifex-dealer-header-wpnav .main-navigation .current-menu-ancestor:not(.gm-btn) > a::after {
	content: none !important;
	display: none !important;
}


/* =========================================================
   PC CTA
========================================================= */

.lifex-dealer-header-cta {
	display: flex;
	align-items: stretch;
	flex-shrink: 0;
	height: 70px;
}

.lifex-dealer-header-cta-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 112px;
	height: 70px;
	padding: 0 12px;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .04em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition:
		background-color .3s ease,
		opacity .3s ease;
}


/* 来場予約 */

.lifex-dealer-header-cta-item--reservation {
	background: #ca5c62;
}

.lifex-dealer-header-cta-item--reservation:hover {
	background: #b94e54;
	color: #fff;
}


/* 資料請求 */

.lifex-dealer-header-cta-item--document {
	background: #527B88;
}

.lifex-dealer-header-cta-item--document:hover {
	background: #476d78;
	color: #fff;
}


/* プラン確認 */

.lifex-dealer-header-cta-item--plan {
	background: #416571;
}

.lifex-dealer-header-cta-item--plan:hover {
	background: #34545f;
	color: #fff;
}


/* CTA区切り */

.lifex-dealer-header-cta-item
+
.lifex-dealer-header-cta-item {
	border-left: 1px solid rgba(255, 255, 255, .22);
}


/* =========================================================
   Hamburger
========================================================= */

.lifex-dealer-header-menu {
	display: none;
	position: relative;
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 0;
	background: #527B88;
	cursor: pointer;
	appearance: none;
}

.lifex-dealer-header-menu span {
	position: absolute;
	left: 50%;
	width: 24px;
	height: 1px;
	background: #fff;
	transform: translateX(-50%);
	transition:
		top .3s ease,
		transform .3s ease,
		opacity .3s ease;
}

.lifex-dealer-header-menu span:nth-child(1) {
	top: calc(50% - 8px);
}

.lifex-dealer-header-menu span:nth-child(2) {
	top: 50%;
}

.lifex-dealer-header-menu span:nth-child(3) {
	top: calc(50% + 8px);
}


/* Open */

.lifex-dealer-header-menu.is-open span:nth-child(1) {
	top: 50%;
	transform: translateX(-50%) rotate(45deg);
}

.lifex-dealer-header-menu.is-open span:nth-child(2) {
	opacity: 0;
}

.lifex-dealer-header-menu.is-open span:nth-child(3) {
	top: 50%;
	transform: translateX(-50%) rotate(-45deg);
}


/* =========================================================
   Drawer
========================================================= */

.lifex-dealer-drawer {
	position: fixed;
	top: 72px;
	right: 0;
	z-index: 1002;
	width: min(88%, 400px);
	height: calc(100dvh - 72px);
	background: #fff;
	transform: translateX(100%);
	visibility: hidden;
	overflow-y: auto;
	box-sizing: border-box;
	transition:
		transform .35s ease,
		visibility .35s ease;
}

.lifex-dealer-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
}

.lifex-dealer-drawer-inner {
	padding: 28px 24px 40px;
}


/* =========================================================
   Drawer Navigation
========================================================= */

.lifex-dealer-drawer-nav .main-navigation {
	display: block;
}

.lifex-dealer-drawer-nav .main-navigation > div {
	display: block;
}

.lifex-dealer-drawer-nav ul {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lifex-dealer-drawer-nav li {
	display: block;
	margin: 0;
	border-bottom: 1px solid #e9eeef;
}

.lifex-dealer-drawer-nav a,
.lifex-dealer-drawer-home {
	display: block;
	padding: 17px 4px;
	color: #111;
	text-decoration: none;
}

.lifex-dealer-drawer-home {
	border-bottom: 1px solid #e9eeef;
}

.lifex-dealer-drawer-nav .current-menu-item > a,
.lifex-dealer-drawer-nav .current_page_item > a,
.lifex-dealer-drawer-nav .current-menu-ancestor > a {
	color: #527B88;
}


/* 旧 来場予約メニュー */

.lifex-dealer-drawer-nav #menu-item-668 {
	display: none !important;
}


/* =========================================================
   Drawer CTA
========================================================= */

.lifex-dealer-drawer-cta {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin-top: 28px;
}

.lifex-dealer-drawer-cta-item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	padding: 14px 18px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .04em;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color .3s ease;
}


/* 来場予約 */

.lifex-dealer-drawer-cta-item--reservation {
	background: #ca5c62;
}

.lifex-dealer-drawer-cta-item--reservation:hover {
	background: #b94e54;
	color: #fff;
}


/* 資料請求 */

.lifex-dealer-drawer-cta-item--document {
	background: #527B88;
}

.lifex-dealer-drawer-cta-item--document:hover {
	background: #476d78;
	color: #fff;
}


/* プラン確認 */

.lifex-dealer-drawer-cta-item--plan {
	background: #416571;
}

.lifex-dealer-drawer-cta-item--plan:hover {
	background: #34545f;
	color: #fff;
}


/* =========================================================
   Overlay
========================================================= */

.lifex-dealer-drawer-overlay {
	position: fixed;
	inset: 72px 0 0;
	z-index: 1001;
	background: rgba(0, 0, 0, .4);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity .3s ease,
		visibility .3s ease;
}

.lifex-dealer-drawer-overlay.is-open {
	opacity: 1;
	visibility: visible;
}


/* =========================================================
   Menu Open
========================================================= */

body.lifex-dealer-menu-open {
	overflow: hidden;
}


/* =========================================================
   Tablet / SP
========================================================= */

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

	.lifex-dealer-header-inner {
		height: 72px;
	}

	.site-content {
		padding-top: 72px;
	}
.lifex-dealer-header-menu {
		border-radius: 0 !important;
	}

	/* Logo */

	.lifex-dealer-header-logo {
		flex: 1;
		height: 72px;
		padding: 0 20px;
		border-right: 0;
	}

	.lifex-dealer-header-logo img {
		max-width: 125px;
	}


	/* PC Navigation */

	.lifex-dealer-header-nav {
		display: none;
	}


	/* PC CTA */

	.lifex-dealer-header-cta {
		display: none;
	}


	/* Hamburger */

	.lifex-dealer-header-menu {
		display: block;
	}

}


/* =========================================================
   WordPress Admin Bar
========================================================= */

@media screen and (max-width: 782px) {

	.admin-bar .lifex-dealer-header {
		top: 46px;
	}

	.admin-bar .lifex-dealer-drawer {
		top: 118px;
		height: calc(100dvh - 118px);
	}

	.admin-bar .lifex-dealer-drawer-overlay {
		inset: 118px 0 0;
	}

}


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

	.admin-bar .lifex-dealer-drawer {
		top: 104px;
		height: calc(100dvh - 104px);
	}

	.admin-bar .lifex-dealer-drawer-overlay {
		inset: 104px 0 0;
	}

}


/* =========================================================
   Small SP
========================================================= */

@media screen and (max-width: 600px) {

	.lifex-dealer-header-logo {
		padding: 0 16px;
	}

	.lifex-dealer-header-logo img {
		max-width: 165px;
	}

	.lifex-dealer-header-menu {
		width: 64px;
		border-radius: 0 !important;
	}

}

	body .main-navigation .current-menu-item:not(.gm-btn) > a,
	body .main-navigation .current_page_item:not(.gm-btn) > a,
	body .main-navigation a,
	body .main-navigation .menu-item > a {
		color: #333 !important;
	}
