@charset "utf-8";

/*****************************************************************/
/* Lexplore Header
/*****************************************************************/

/* ── 変数 ── */
:root {
	--lx-header-bg:      #dadada;
	--lx-header-height:  80px;
	--lx-header-color:   #333333;
	--lx-contact-bg:     #787878;
	--lx-contact-color:  #ffffff;
	--lx-nav-font-size:  16px;
	--lx-logo-height:    44px;
	--lx-tagline-size:   11px;
}

.body--home.lx-header-spacer {
	display: block;
}

body:not(.body--home) .lx-header-spacer {
	display: none;
}

/* ── ヘッダー本体 ── */
.lx-header {
	width: 100%;
	background-color: var(--lx-header-bg);
	z-index: 10000;
	padding: 16px 0;
}

/* トップページのみ固定 */
.body--home .lx-header {
	position: fixed;
	top: 0;
	left: 0;
}

.body--home .lx-header.lx-header--logged-in {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* 追従時のシャドウ */
.lx-header--scrolled {
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

/* ── 内側コンテナ ── */
.lx-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--lx-header-height);
	padding: 0 40px;
	max-width: 1600px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* ── ロゴ ── */
.lx-header__logo-link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-decoration: none;
	line-height: 1;
}
.lx-header__logo-link:hover {
	opacity: 0.8;
	text-decoration: none;
}
.lx-header__logo-img {
	display: block;
	height: var(--lx-logo-height);
	width: auto;
}
.lx-header__tagline {
	display: block;
	margin-top: 5px;
	margin-left: 8px;
	font-size: var(--lx-tagline-size);
	color: var(--lx-header-color);
	letter-spacing: 0.03em;
	white-space: nowrap;
}

/* ── PCナビゲーション ── */
.lx-header__nav {
	display: flex;
	align-items: center;
}
.lx-header__menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	column-gap: 28px;
}
.lx-header__menu li {
	margin: 0;
	padding: 0;
}
.lx-header__menu li a {
	display: inline-block;
	font-family: "Century", "Century Schoolbook", Georgia, serif;
	font-size: var(--lx-nav-font-size);
	font-weight: 800;
	color: var(--lx-header-color);
	letter-spacing: 0.1em;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s;
}
.lx-header__menu li a:hover {
	opacity: 0.65;
	text-decoration: none;
}

/* CONTACTだけボックス（最後のli） */
.lx-header__menu li:last-child a {
	background-color: var(--lx-contact-bg);
	color: var(--lx-contact-color);
	padding: 12px 20px;
	letter-spacing: 0.12em;
}
.lx-header__menu li:last-child a:hover {
	opacity: 0.8;
}

/* ── ヘッダー高さ分スペーサー ── */
.lx-header-spacer {
	height: var(--lx-header-height);
}

/* ── SPハンバーガーボタン ── */
.lx-hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 11;
}
.lx-hamburger__line {
	display: block;
	width: 28px;
	height: 2px;
	background-color: var(--lx-header-color);
	transition: transform 0.3s, opacity 0.3s;
	transform-origin: center;
}
.lx-hamburger[aria-expanded="true"] .lx-hamburger__line:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.lx-hamburger[aria-expanded="true"] .lx-hamburger__line:nth-child(2) {
	opacity: 0;
}
.lx-hamburger[aria-expanded="true"] .lx-hamburger__line:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ── SPドロワーメニュー ── */
.lx-sp-menu {
	position: absolute;
	top: var(--lx-header-height);
	left: 0;
	width: 100%;
	background-color: var(--lx-header-bg);
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	z-index: 999999;
}
.lx-sp-menu.is-open {
	max-height: 600px;
}
.lx-sp-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lx-sp-menu__list li:last-child {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin: 24px 16px;
	text-align: center;
}
.lx-sp-menu__list li a {
	display: block;
	padding: 16px 24px;
	font-size: 13px;
	font-weight: 600;
	color: var(--lx-header-color);
	letter-spacing: 0.1em;
	text-decoration: none;
	font-family: Century;
}
.lx-sp-menu__list li a:hover {
	background-color: rgba(0, 0, 0, 0.05);
	text-decoration: none;
}
.lx-sp-menu__list li:last-child a {
	background-color: var(--lx-contact-bg);
	color: var(--lx-contact-color);
}

/* ── 旧ヘッダークラスのリセット（LEAGO親テーマとの競合防止） ── */
.header {
	padding-top: 0;
}

/* ── PC表示（1200px以上）固有の調整 ── */
@media screen and (min-width: 1200px) {
	:root {
		--lx-header-height: 80px;
		--lx-logo-height:   48px;
	}
	.lx-header-spacer {
		height: var(--lx-header-height);
	}
}

/* ── タブレット以下 ── */
@media screen and (max-width: 1199px) {
	:root {
		--lx-header-height: 64px;
		--lx-logo-height:   36px;
	}
	.lx-header__inner {
		padding: 0 20px;
	}
}

/* ── breadcrumb ── */
.breadcrumb {
	background-color: #111;
	padding-right: 20px;
	padding-left: 20px;
}

@media screen and (min-width: 1580px) {
	.breadcrumb, .header-pc-top {
		padding-right: calc(50vw - 750px);
		padding-left: calc(50vw - 750px);
	}
}

.breadcrumb-list {
	margin: 0 auto;
	padding: 10px 0;
	font-size: 12px;
	letter-spacing: 0;
}
.breadcrumb-list-item {
	display: inline;
	line-height: 1.4;
	font-size: 12px;
	color: #fff;
}
.breadcrumb-list-item__link {
	color: #BDBDBD;
	text-decoration: none;
}
.breadcrumb-list-item__link:hover {
	text-decoration: underline;
}
.breadcrumb-list-item--current {
	font-weight: bold;
}
.breadcrumb-list-item:not(:first-child)::before {
	content: "/";
	margin: 0 6px;
	display: inline-block;
	font-weight: normal;
	color: #999999;
}
@media screen and (min-width: 1200px) {
	.breadcrumb-list {
		padding: 10px 0;
		font-size: 13px;
	}
	.breadcrumb-list-item {
		font-size: 13px;
	}
	.breadcrumb-list-item:not(:first-child)::before {
		margin-left: 8px;
		margin-right: 8px;
	}
	.breadcrumb {
		padding-right: 40px;
		padding-left: 40px;
	}
}
