/* ==========================================================================
   common.css  ヘッダー / フッター / お問い合わせバナー / 共通パーツ
   ========================================================================== */

/* --------------------------------------------------------------------------
   HEADER + FV
   FVはヘッダーを内包して784px高。FV画像に青・金エフェクトは既に焼き込み済み。
   -------------------------------------------------------------------------- */
.p-fv {
	position: relative;
	width: 100%;
	height: 784px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   WordPress管理バー対策
   ログイン時、管理バー(32px/モバイル46px)がFV上部を隠さないようオフセット。
   ヘッダー(絶対配置)と各ページFVの見出しを管理バー分だけ下げる。
   -------------------------------------------------------------------------- */
.admin-bar .l-header {
	top: 32px;
}
.admin-bar .l-drawer {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar .l-header {
		top: 46px;
	}
	.admin-bar .l-drawer {
		top: 46px;
	}
}

/* 下層ページの標準FV（高さは各ページCSSで上書き可） */
.p-fv--sub {
	height: 500px;
}
/* PC/SP画像をCSS変数で切替（デフォルトはPC画像） */
.p-fv--top,
.p-fv--sub {
	background-image: var(--fv-pc, none);
}

/* --------------------------------------------------------------------------
   FV下部のお問い合わせボタン（SPのみ表示）
   -------------------------------------------------------------------------- */
.p-fv__contact {
	display: none;
}

/* ---- ヘッダー本体 ---- */
.l-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 30;
	width: 100%;
	height: 0; /* ロゴ・ナビは絶対配置で重ねる */
}

.l-header__inner {
	position: relative;
	width: 100%;
	max-width: var(--pc-width);
	margin-inline: auto;
	height: 100px;
}

/* ロゴ */
.l-header__logo {
	position: absolute;
	top: 28px;
	left: 88px;
	display: block;
	width: 156.8px;
	height: 42px;
	z-index: 3;
}

.l-header__logo img,
.l-header__logo svg {
	width: 100%;
	height: 100%;
}

/* ---- 右上のお問い合わせ帯（電話 + LINE） ---- */
.c-contact-bar {
	position: absolute;
	top: 22px;
	right: 38px;
	display: flex;
	align-items: stretch;
	width: 969px;
	height: 56px;
	background: var(--c-navy);
	z-index: 3;
}

/* ナビ本体（帯の左側に伸びる） */
.c-contact-bar__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 30px;
	flex: 1;
	padding-right: 30px;
}

.c-gnav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: var(--c-white);
	font-size: 14px;
	font-weight: 700;
	line-height: 48px;
	white-space: nowrap;
}

.c-gnav__link.is-current {
	color: var(--c-gold);
	font-size: 16px;
	line-height: 16px;
}

.c-gnav__link.is-current::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -6px;
	width: 45px;
	height: 2px;
	background: var(--c-gold);
}

/* 電話ボタン */
.c-contact-bar__tel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 56px;
	background: var(--c-gold);
	color: var(--c-white);
	text-align: center;
	flex-shrink: 0;
}

.c-contact-bar__tel-label {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 14px;
	font-weight: 700;
	line-height: 14px;
	padding-top: 4px;
}

.c-contact-bar__tel-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
	display: inline-block;
	flex-shrink: 0;
}

.c-contact-bar__tel-num {
	font-size: 18px;
	font-weight: 700;
	line-height: 18px;
	margin-top: 3px;
}

/* LINEボタン */
.c-contact-bar__line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 160px;
	height: 56px;
	background: var(--c-line-green);
	color: var(--c-white);
	flex-shrink: 0;
}

.c-contact-bar__line-icon {
	width: 24px;
	height: 22.866px;
	object-fit: contain;
	display: inline-block;
	flex-shrink: 0;
}

.c-contact-bar__line-text {
	color: var(--c-white);
	font-size: 16px;
	font-weight: 700;
	line-height: 48px;
}

/* ---- ハンバーガー（SP用・PCでは非表示） ---- */
.l-header__toggle {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: 62px;
	height: 56px;
	background: var(--c-navy);
	z-index: 40;
}

.l-header__toggle-bars {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 34px;
	height: 24px;
}

.l-header__toggle-bars span {
	position: absolute;
	left: 0;
	width: 34px;
	height: 1px;
	background: var(--c-white);
	transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.l-header__toggle-bars span:nth-child(1) { top: 0; }
.l-header__toggle-bars span:nth-child(2) { top: 50%; }
.l-header__toggle-bars span:nth-child(3) { top: 100%; }

.l-header__toggle[aria-expanded="true"] .l-header__toggle-bars span:nth-child(1) {
	top: 50%;
	transform: rotate(45deg);
}
.l-header__toggle[aria-expanded="true"] .l-header__toggle-bars span:nth-child(2) {
	opacity: 0;
}
.l-header__toggle[aria-expanded="true"] .l-header__toggle-bars span:nth-child(3) {
	top: 50%;
	transform: rotate(-45deg);
}

/* ---- SPドロワー ---- */
.l-drawer {
	display: none;
}

/* --------------------------------------------------------------------------
   FVのキャッチコピー（トップ）
   -------------------------------------------------------------------------- */
.p-fv__catch {
	position: absolute;
	top: 336px;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 5;
}

.p-fv__catch-main {
	font-size: 60px;
	font-weight: 700;
	line-height: 120px;
	letter-spacing: 12px;
}

.p-fv__catch-main .is-gold {
	color: var(--c-gold);
	text-shadow: 0 0 10px #000;
}

.p-fv__catch-main .is-white {
	color: var(--c-white);
}

.p-fv__catch-lead {
	color: var(--c-white);
	text-align: center;
	text-shadow: 0 0 10px #000;
	font-size: 16px;
	font-weight: 900;
	letter-spacing: 3.2px;
	margin-top: -15px;
}

/* 下層ページFVの見出し */
/* FV内の1440中央ステージ（見出し配置基準） */
.p-fv__stage {
	position: relative;
	width: 100%;
	max-width: var(--pc-width);
	height: 100%;
	margin-inline: auto;
}
.p-fv__heading {
	position: absolute;
	top: 50%;
	left: 0;
	padding-left: 66px;
	transform: translateY(-30%);
	z-index: 5;
	color: var(--c-white);
	text-shadow: 0 0 10px rgba(0,0,0,.4);
}
.p-fv__heading.is-center {
	left: 0;
	right: 0;
	padding-left: 0;
	text-align: center;
}
.p-fv__heading-ja {
	font-size: 48px;
	font-weight: 700;
	letter-spacing: 8px;
}
.p-fv__heading-en {
	display: block;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 4px;
	margin-top: 6px;
}

/* --------------------------------------------------------------------------
   お問い合わせバナー（フッター直前・全ページ共通）
   -------------------------------------------------------------------------- */
.p-contact {
	width: 100%;
	background: var(--c-navy);
}

.p-contact__inner {
	position: relative;
	width: 100%;
	max-width: var(--pc-width);
	margin-inline: auto;
	height: 291px;
}

.p-contact__title {
	position: absolute;
	top: 58px;
	left: 0;
	right: 0;
	text-align: center;
	color: var(--c-white);
	font-size: 24px;
	font-weight: 700;
}

.p-contact__lead {
	position: absolute;
	top: 97px;
	left: 0;
	right: 0;
	text-align: center;
	color: var(--c-white);
	font-size: 16px;
	font-weight: 400;
	padding-inline: 20px;
}

.p-contact__btns {
	position: absolute;
	top: 152px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 40px;
}

.c-btn-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 230px;
	height: 56px;
	border-radius: 37px;
	color: var(--c-white);
	text-align: center;
}

.c-btn-contact--tel { background: var(--c-gold); }
.c-btn-contact--line { background: var(--c-line-green); }

.c-btn-contact__label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 14px;
	padding-top: 4px;
}
.c-btn-contact__num {
	font-size: 18px;
	font-weight: 700;
	line-height: 18px;
	margin-top: 3px;
}
.c-btn-contact--line .c-btn-contact__label {
	font-size: 16px;
	line-height: 48px;
	padding-top: 0;
}
.c-btn-contact__tel-icon { width: 16px; height: 16px; object-fit: contain; display: inline-block; flex-shrink: 0; }
.c-btn-contact__line-icon { width: 24px; height: 22.866px; object-fit: contain; display: inline-block; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.l-footer {
	width: 100%;
	background: var(--c-navy-deep);
}

.l-footer__inner {
	position: relative;
	width: 100%;
	max-width: var(--pc-width);
	margin-inline: auto;
	height: 240px;
}

.l-footer__logo {
	position: absolute;
	top: 78px;
	left: 177px;
	width: 156.8px;
	max-width: 156.8px;
	height: 42px;
	max-height: 42px;
}
.l-footer__logo img,
.l-footer__logo svg {
	width: 100%;
	height: 100%;
	max-width: 196.113px;
	max-height: 42.349px;
	object-fit: contain;
}

.l-footer__col {
	position: absolute;
	top: 45px;
}

.l-footer__col-title {
	color: var(--c-white);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	padding-bottom: 30px;
	position: relative;
}

.l-footer__col-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 22px;
	height: 1px;
	background: var(--c-white);
}

.l-footer__col-list {
	margin-top: -19px;
	display: flex;
	flex-direction: column;
	gap: 2.75px;
}

.l-footer__col-list a {
	color: var(--c-white);
	font-size: 14px;
	font-weight: 400;
}

/* 各カラム位置（右基準） */
.l-footer__col--info { right: 155px; }
.l-footer__col--info .l-footer__col-title::after { width: 160px; }

.l-footer__col--company { right: 398px; }
.l-footer__col--company .l-footer__col-title::after { width: 182px; }

.l-footer__col--service { right: 609px; }
.l-footer__col--service .l-footer__col-title::after { width: 160px; }

.l-footer__copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 28px;
	text-align: center;
	color: var(--c-white);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 2.8px;
}

/* ==========================================================================
   レスポンシブ  ヘッダー / フッター / バナー
   ========================================================================== */

/* 1200px以下：ロゴとナビが干渉するため、ハンバーガーメニューへ切替 */
@media (max-width: 1200px) {
	.l-header__inner { height: 56px; }

	.l-header__logo {
		top: 12px;
		left: 26px;
		width: 112px;
		height: 30px;
	}

	.c-contact-bar { display: none; }

	.l-header__toggle { display: block; }

	/* ドロワー（SPメニュー） */
	.l-drawer {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0;
		z-index: 39;
		background: var(--c-navy);
		transform: translateX(100%);
		transition: transform 0.35s ease;
		padding: 0 24px 24px;
		overflow-y: auto;
	}
	.l-drawer.is-open {
		transform: translateX(0);
	}
	/* ×閉じるボタン（右上） */
	.l-drawer__close {
		position: absolute;
		top: 14px;
		right: 18px;
		width: 44px;
		height: 44px;
	}
	.l-drawer__close span {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 28px;
		height: 2px;
		background: var(--c-white);
	}
	.l-drawer__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
	.l-drawer__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

	/* メニュー項目（中央寄せ） */
	.l-drawer__nav {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0;
	}
	.l-drawer__nav a {
		display: block;
		color: var(--c-white);
		font-size: 20px;
		font-weight: 500;
		letter-spacing: 2px;
		padding: 18px 8px;
		border-bottom: none;
		text-align: center;
	}

	/* 下部お問い合わせボタン */
	.l-drawer__contact {
		display: flex;
		gap: 14px;
		margin-top: 24px;
	}
	.l-drawer__contact a {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 56px;
		color: var(--c-white);
	}
	.l-drawer__contact .is-tel { background: var(--c-gold); }
	.l-drawer__contact .is-line { background: var(--c-line-green); }
	.l-drawer__contact-label {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		font-size: 14px;
		font-weight: 700;
		line-height: 1.2;
	}
	.l-drawer__contact-label img { display: inline-block; object-fit: contain; }
	.l-drawer__contact .is-tel .l-drawer__contact-label img { width: 16px; height: 16px; }
	.l-drawer__contact .is-line .l-drawer__contact-label img { width: 24px; height: 22.866px; }
	.l-drawer__contact-num {
		font-size: 18px;
		font-weight: 700;
		line-height: 1.2;
		margin-top: 2px;
	}

	body.is-drawer-open { overflow: hidden; }

	/* フッター：ロゴ中央、3種メニューは非表示、コピーライトのみ */
	.l-footer__inner {
		height: auto;
		padding: 48px 24px 32px;
	}
	.l-footer__logo {
		display: block;
		position: static;
		width: 156.8px;
		max-width: 100%;
		height: auto;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 32px;
	}
	.l-footer__inner {
		text-align: center;
	}
	.l-footer__col {
		display: none; /* SERVICE/COMPANY/INFORMATION をSPでは非表示 */
	}
	.l-footer__copy {
		position: static;
		margin-top: 8px;
	}
}

/* 768px以下：バナーを縦積み */
@media (max-width: 768px) {
	.p-contact__inner {
		height: auto;
		padding: 48px 20px 44px;
	}
	.p-contact__title,
	.p-contact__lead {
		position: static;
		text-align: center;
	}
	.p-contact__lead { margin-top: 12px; }
	.p-contact__btns {
		position: static;
		margin-top: 28px;
		flex-wrap: wrap;
		gap: 16px;
	}

	.p-fv { height: 631px; }
	.p-fv--top { background-image: var(--fv-sp, var(--fv-pc, none)); }
	.p-fv__catch { top: 240px; }
	.p-fv__catch-main {
		font-size: 34px;
		line-height: 42px;
		letter-spacing: 6px;
	}
	.p-fv__catch-lead {
		font-size: 14px;
		letter-spacing: 2.8px;
		margin-top: 13px;
		padding-inline: 16px;
	}

	/* 下層FV：SP画像に切替、高さ631px、見出しは中央寄せ・縦センター */
	.p-fv--sub {
		height: 631px !important;
		background-image: var(--fv-sp, var(--fv-pc, none));
	}
	.p-fv__heading {
		left: 0 !important;
		right: 0 !important;
		padding-left: 0 !important;
		width: 100%;
		text-align: center;
		top: 50%;
		transform: translateY(-40%);
	}
	.p-fv__heading-ja { font-size: 30px; letter-spacing: 4px; }
	.p-fv__heading-en { font-size: 14px; letter-spacing: 3px; margin-top: 8px; }

	/* FV下部のお問い合わせボタン（SP表示） */
	.p-fv__contact {
		display: flex;
		gap: 15px;
		position: absolute;
		left: 22px;
		right: 22px;
		bottom: 22px;
		z-index: 6;
	}
	.p-fv__contact-btn {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 56px;
		color: var(--c-white);
		text-align: center;
	}
	.p-fv__contact-btn.is-tel { background: var(--c-gold); }
	.p-fv__contact-btn.is-line { background: var(--c-line-green); }
	.p-fv__contact-label {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		font-size: 14px;
		font-weight: 700;
		line-height: 1.2;
	}
	.p-fv__contact-label img { display: inline-block; object-fit: contain; }
	.p-fv__contact-btn.is-tel .p-fv__contact-label img { width: 16px; height: 16px; }
	.p-fv__contact-btn.is-line .p-fv__contact-label img { width: 24px; height: 22.866px; }
	.p-fv__contact-num {
		font-size: 18px;
		font-weight: 700;
		line-height: 1.2;
		margin-top: 2px;
	}
	.p-fv__contact-btn.is-line .p-fv__contact-label {
		font-size: 16px;
	}
}
