/* ========================================
   リセット & ボックスモデル
======================================== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	overscroll-behavior-y: none;
	overflow-x: hidden;
	transition: none;
	/* 不要なtransitionを無効化 */
}

html:not(.js-ready) {
	scroll-behavior: auto;
}

/* 374px未満のみ：375px幅でレイアウトしてスケールダウン
   html に transform がかかるため position:fixed 要素は別途補正が必要 */
@media (max-width: 374px) {
	html {
		width: 375px;
		transform-origin: top left;
		transform: scale(calc(100vw / 375));
	}
}

body {
	font-family: var(--font-ja);
	color: var(--color-text);
	background-color: var(--color-bg);
	line-height: var(--body-line-height-sp);
	letter-spacing: var(--body-letter-spacing);
	overflow-x: hidden;
	overscroll-behavior-x: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	touch-action: pan-y;
}

@media (min-width: 768px) {
	body {
		line-height: var(--body-line-height-pc);
	}
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	list-style: none;
}

button {
	appearance: none;
	-webkit-appearance: none;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
}

address {
	font-style: normal;
}

/* ========================================
   CSS カスタムプロパティ
======================================== */
:root {
	/* ================================
       カラー（蔵吉電工）
    ================================ */

	/* ── イエロースケール ─────────────── */
	--color-primary: #e8b400;
	/* 落ち着いたゴールド黄。メインブランドカラー */
	--color-primary-dark: #c49800;
	/* やや深いゴールド。ホバー等に */
	--color-primary-bright: #f0bd00;
	/* 元気な黄色。ポイント使い専用 */
	--color-primary-light: #fff3c4;
	/* 薄い黄色。背景やバッジに */

	/* ── 背景（白→温白→薄黄でリズム） ─── */
	--color-bg: #ffffff;
	/* 純白セクション */
	--color-bg-warm: #fffef7;
	/* 温かみのある白。わずかに黄みがかる */
	--color-bg-yellow: #fffadc;
	/* 明るい薄黄。メリハリ用セクション */

	/* ── ダーク ───────────────────── */
	--color-dark: #1c1c1e;
	/* フッター・暗いセクション */
	--color-dark-soft: #2a2a2a;

	/* ── テキスト ─────────────────── */
	--color-text: #333333;
	/* 本文メイン */
	--color-text-mid: #4a4a4a;
	/* やや薄めの本文 */
	--color-text-light: #6a6a6a;
	/* 補足・キャプション */

	/* ── その他 ──────────────────── */
	--color-white: #ffffff;
	--color-border: #ebebe8;
	/* わずかに温かみのあるボーダー */
	--color-border-yellow: #f0d98a;
	/* 黄みのあるボーダー */
	--color-footer-bg: #1e2440;
	/* 深いネイビー。温かみのある締め色 */
	--color-cta-bg: var(--color-primary);
	/* 黄色CTA。黒を使わない */

	/* ── 後方互換（古い変数名を残す） ─── */
	--color-bg-light: var(--color-bg-warm);
	--color-bg-dark: var(--color-dark);
	--color-text-light: #6a6a6a;

	/* ================================
       フォント
    ================================ */
	--font-ja: 'Zen Maru Gothic', 'Hiragino Maru Gothic Pro', 'Yu Gothic', sans-serif;
	--font-en: 'Bellota', sans-serif;

	--body-font-size-sp: 1.1rem;
	--body-font-size-pc: clamp(1.1rem, 2vw, 1.2rem);
	--body-line-height-sp: 1.8;
	--body-line-height-pc: 1.9;
	--body-letter-spacing: 0.05em;

	/* ================================
       レイアウト
    ================================ */
	--header-height-sp: 72px;
	--header-height-pc: 80px;
	--container-max-sp: 600px;
	--container-max-pc: 1200px;

	/* fukudagumiパターンのセクション幅 */
	--section-width-sm: 576px;
	--section-width-md: 720px;
	--section-width-lg: 1024px;
	--section-width-xl: 1200px;

	/* ================================
       スペーシング
    ================================ */
	--spacing-xxs: 0.5rem;
	--spacing-xs: 0.75rem;
	--spacing-sm: 1.5rem;
	--spacing-md: 2rem;
	--spacing-lg: 3rem;
	--spacing-xl: 4rem;
	--spacing-xxl: 6rem;

	/* ================================
       角丸・影
    ================================ */
	--radius-xs: 0.25rem;
	--radius-sm: 0.5rem;
	--radius-md: 0.75rem;
	--radius-lg: 1.25rem;
	--radius-xl: 2rem;
	--radius-xxl: 3rem;

	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.14);

	/* ================================
       セクションタイトル
    ================================ */
	--title-en-sp: 0.75rem;
	/* 12px SPラベルサイズ */
	--title-en-pc: 0.9375rem;
	/* 15px PCラベルサイズ */
	--title-en-tracking: 0.18em;
	/* ラベル用の広めの字間 */
	--title-ja-sp: 1.375rem;
	--title-ja-pc: clamp(1.5rem, 2.5vw, 2rem);
}

/* ========================================
   スクロールマージン（アンカー対応）
======================================== */
[id] {
	scroll-margin-top: calc(var(--header-height-sp) + 1rem);
}

@media (min-width: 768px) {
	[id] {
		scroll-margin-top: calc(var(--header-height-pc) + 1rem);
	}
}

/* ========================================
   ヘッダー
======================================== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height-sp);
	z-index: 1300;
	background: transparent;
	transition:
		background-color 0.35s ease,
		box-shadow 0.35s ease;
}

.header.is-scrolled {
	background: transparent;
	box-shadow: none;
}

@media (min-width: 768px) {
	.header {
		height: var(--header-height-pc);
	}
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 0 1rem 0 0;
	gap: 1rem;
}

@media (min-width: 576px) {
	.header__inner {
		padding: 0 1.25rem 0 0;
	}
}

@media (min-width: 768px) {
	.header__inner {
		padding: 0 1.5rem 0 0;
	}
}

/* ロゴパネル */
.header__logo-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 1.25rem;
	background: #ffffff;
	border-right: 3px solid #0a4a7a;
	border-bottom: 3px solid #0a4a7a;
	border-radius: 0 0 var(--radius-md) 0;
	flex-shrink: 0;
	transition: opacity 0.2s ease;
}

.header__logo-panel:hover {
	opacity: 0.85;
}

.header__logo-img {
	height: 36px;
	width: auto;
}

@media (min-width: 768px) {
	.header__logo-img {
		height: 44px;
	}
}

/* PCナビ */
.header__nav {
	display: none;
	align-items: center;
	gap: 0.75rem;
}

@media (min-width: 1024px) {
	.header__nav {
		display: flex;
	}
}

/* カプセル枠wrapper */
.header__nav-wrapper {
	background: #ffffff;
	border: 3px solid #0a4a7a;
	border-radius: 9999px;
	padding: 0 0.25rem;
	transition:
		border-color 0.35s ease,
		background-color 0.35s ease;
}

.header.is-scrolled .header__nav-wrapper {
	background: #ffffff;
	border-color: #0a4a7a;
}

.header__nav-list {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.header__nav-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 0.875rem;
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--color-text);
	position: relative;
	transition: color 0.3s ease;
}

.header__nav-link::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #378add;
	flex-shrink: 0;
	transition:
		transform 0.3s ease,
		background-color 0.3s ease;
}

.header__nav-link:hover::before {
	background: var(--color-primary);
	transform: scale(1.4);
}

.header__nav-link.is-active::before {
	background: var(--color-primary);
}

/* スクロール後のナビ文字色（変更不要・常にdark） */
.header.is-scrolled .header__nav-link {
	color: var(--color-text);
}

.header__nav-link:hover {
	color: var(--color-primary);
	opacity: 1;
}

/* お問い合わせボタン */
.header__nav-contact {
	display: flex;
	align-items: center;
	padding: 0.625rem 1.25rem;
	background: var(--color-primary-bright);
	border: 3px solid #0a4a7a;
	border-radius: 9999px;
	transition: background-color 0.3s ease;
}

.header__nav-contact:hover {
	background: var(--color-primary);
}

.header__nav-contact-text {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--color-white);
	letter-spacing: 0.04em;
	white-space: nowrap;
}

/* ハンバーガー */
.header__hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	width: 58px;
	height: 58px;
	padding: 0;
	background: #ffffff;
	border: 3px solid #0a4a7a;
	border-radius: 50%;
	transition: opacity 0.2s ease;
}

@media (min-width: 1024px) {
	.header__hamburger {
		display: none;
	}
}

.header__hamburger-bars {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: 24px;
}

.header__hamburger-bar {
	display: block;
	height: 2px;
	background: #0a4a7a;
	border-radius: 2px;
	transition: all 0.3s ease;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.header__hamburger-bar:nth-child(1) {
	width: 24px;
}

.header__hamburger-bar:nth-child(2) {
	width: 18px;
	margin-left: 0;
	transition: margin-left 0.3s ease;
}

.header__hamburger-bar:nth-child(3) {
	width: 24px;
}

.header__hamburger:hover .header__hamburger-bar:nth-child(2) {
	margin-left: 6px;
}

.header__hamburger-label {
	font-size: 0.45rem;
	font-weight: 600;
	color: #0a4a7a;
	letter-spacing: 0.02em;
	line-height: 1;
	margin-top: 3px;
	display: inline-block;
	position: relative;
	transition: color 0.3s ease;
}

.header__hamburger-label::after {
	content: 'とじる';
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	color: #0a4a7a;
	opacity: 0;
	transition: opacity 0.3s ease;
	white-space: nowrap;
	pointer-events: none;
}

body.menu-open .header__hamburger-label {
	color: transparent;
}

body.menu-open .header__hamburger-label::after {
	opacity: 1;
}

/* スクロール後のハンバーガー（色変更不要・常にネイビー） */
.header.is-scrolled .header__hamburger-bar {
	background: #0a4a7a;
}

/* メニューオープン時：バーをバツに変換 */
body.menu-open .header__hamburger-bar:nth-child(1) {
	width: 24px;
	transform: translateY(6px) rotate(30deg);
}

body.menu-open .header__hamburger-bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

body.menu-open .header__hamburger-bar:nth-child(3) {
	width: 24px;
	transform: translateY(-6px) rotate(-30deg);
}

/* メニューオープン時はヘッダーロゴを非表示 */
body.menu-open .header__logo-panel {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* ========================================
   モバイルメニュー
======================================== */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #e8b400;
	z-index: 1200;
	visibility: hidden;
	clip-path: circle(0px at var(--hamburger-x, calc(100% - 45px)) var(--hamburger-y, 36px));
	transition:
		clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0s linear 0.6s;
}

.mobile-menu.is-open {
	visibility: visible;
	clip-path: circle(150vmax at var(--hamburger-x, calc(100% - 45px)) var(--hamburger-y, 36px));
	transition:
		clip-path 0.9s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0s linear 0s;
}

@media (min-width: 1024px) {
	.mobile-menu {
		display: none;
	}
}

/* 閉じるボタン（ハンバーガーのXで代替するため非表示） */
.mobile-menu__close {
	display: none;
}

.mobile-menu__close span {
	position: absolute;
	width: 24px;
	height: 2px;
	background: var(--color-white);
	border-radius: 2px;
}

.mobile-menu__close span:nth-child(1) {
	transform: rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
	transform: rotate(-45deg);
}

/* 内側コンテナ */
.mobile-menu__inner {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: var(--header-height-sp) 1.25rem 2rem;
	overflow-y: auto;
	gap: 2.5rem;
}

/* ナビリスト */
.mobile-menu__nav {
	max-width: 280px;
	width: 100%;
}

.mobile-menu__list {
	width: 100%;
	max-width: 280px;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.mobile-menu__item {
	opacity: 0;
	transform: translateX(-20px);
}

.mobile-menu.is-open .mobile-menu__item {
	animation: menuItemIn 0.4s ease forwards;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(1) {
	animation-delay: 0.05s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(2) {
	animation-delay: 0.1s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(3) {
	animation-delay: 0.15s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(4) {
	animation-delay: 0.2s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(5) {
	animation-delay: 0.3s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(6) {
	animation-delay: 0.3s;
}

@keyframes menuItemIn {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* ナビリンク */
.mobile-menu__link {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.875rem 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	color: var(--color-dark);
}

.mobile-menu__link--contact {
	font-weight: 700;
}

.mobile-menu__link-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
	flex-shrink: 0;
	transform: translateY(1px);
}

.mobile-menu__link-ja {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	flex: 1;
	color: var(--color-text);
}

.mobile-menu__link-arrow {
	color: #0a4a7a;
	transition: opacity 0.3s ease;
}

.mobile-menu__link-arrow i.fa-arrow-right {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	border: 2px solid currentColor;
	font-size: 0.75em;
	font-weight: 900;
	line-height: 1;
	-webkit-text-stroke: 0.2px currentColor;
	transform: translateX(4px);
	transition:
		background-color 0.3s ease,
		color 0.3s ease,
		border-color 0.3s ease;
}

.mobile-menu__link:hover .mobile-menu__link-arrow i.fa-arrow-right {
	background-color: #0a4a7a;
	color: var(--color-primary);
	border-color: #0a4a7a;
}

/* メニュー内連絡先 */
.mobile-menu__contact {
	width: 100%;
	max-width: 400px;
	text-align: center;
	opacity: 0;
}

.mobile-menu.is-open .mobile-menu__contact {
	animation: menuItemIn 0.4s ease 0.35s forwards;
}

.mobile-menu__tel {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #0a4a7a;
	letter-spacing: 0.05em;
	margin-bottom: 0.375rem;
}

.mobile-menu__tel-note {
	font-size: 0.8125rem;
	color: rgba(0, 0, 0, 0.45);
}

/* オーバーレイ */
.mobile-menu__overlay {
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.35s ease,
		visibility 0.35s ease;
}

.mobile-menu__overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* 画面高度667px未満：メニューコンテンツを小さく */
@media (max-height: 666px) {
	.mobile-menu__inner {
		gap: 1.25rem;
		padding-bottom: 1rem;
	}

	.mobile-menu__link {
		padding: 0.5rem 1rem;
	}

	.mobile-menu__link-icon {
		width: 16px;
		height: 16px;
	}

	.mobile-menu__link-ja {
		font-size: 0.875rem;
	}

	.mobile-menu__tel {
		font-size: 1.25rem;
	}

	.mobile-menu__tel-note {
		font-size: 0.75rem;
	}
}

/* ========================================
   CTA セクション（フッター上）
======================================== */
.section-block--cta {
	margin-top: -1rem;
	/* cta-sectionの角丸分を上に引き上げ隙間を埋める */
	position: relative;
	z-index: 1;
}

.cta-section {
	background: var(--color-cta-bg);
	position: relative;
	overflow: hidden;
	border-radius: 1rem 1rem 0 0;
	padding: 4rem 1.25rem;
}

@media (min-width: 576px) {
	.cta-section {
		padding: 4.5rem 1.25rem;
	}
}

@media (min-width: 768px) {
	.cta-section {
		padding: 6rem 2rem;
	}
}

@media (min-width: 1024px) {
	.cta-section {
		padding: 6.5rem 2rem;
	}
}

/* 背景装飾テキストなし */

.cta-section .section-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

@media (min-width: 768px) {
	.cta-section .section-container {
		gap: 2.5rem;
	}
}

.cta-section__heading {
	text-align: center;
	display: flex;
	flex-direction: column;
}

.cta-section__en {
	display: block;
	font-family: var(--font-en);
	font-size: var(--title-en-sp);
	color: rgba(0, 0, 0, 0.4);
	/* 黄色背景なので暗色で見やすく */
	letter-spacing: var(--title-en-tracking);
	font-weight: 700;
	line-height: 1;
	margin-bottom: 0.375rem;
}

@media (min-width: 768px) {
	.cta-section__en {
		font-size: var(--title-en-pc);
	}
}

.cta-section__title {
	font-size: var(--title-ja-sp);
	font-weight: 700;
	color: var(--color-text);
	/* 黄色背景なので暗色文字 */
	letter-spacing: 0.06em;
}

@media (min-width: 768px) {
	.cta-section__title {
		font-size: var(--title-ja-pc);
	}
}

.cta-section__text {
	font-size: var(--body-font-size-sp);
	color: var(--color-text-mid);
	text-align: left;
	line-height: var(--body-line-height-sp);
}

@media (min-width: 768px) {
	.cta-section__text {
		font-size: var(--body-font-size-pc);
		text-align: center;
	}
}

/* CTAボタン群 */
.cta-section__buttons {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 560px;
}

@media (min-width: 768px) {
	.cta-section__buttons {
		max-width: 720px;
	}
}

.cta-btn {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #ffffff;
	color: var(--color-text);
	transition:
		transform 0.3s ease,
		border-color 0.3s ease,
		background-color 0.3s ease;
	text-decoration: none;
}

.cta-btn:hover {}

.cta-btn__icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 1.5rem;
	flex-shrink: 0;
}

.cta-btn--mail {
	border: 3px solid var(--color-text);
}

.cta-btn--mail .cta-btn__icon {
	background: transparent;
	color: var(--color-primary);
}

.cta-btn--tel {
	border: 3px solid var(--color-text);
}

.cta-btn--tel .cta-btn__icon {
	background: transparent;
	color: #0a4a7a;
}

.cta-btn--line {
	border: 3px solid var(--color-text);
}

.cta-btn--line .cta-btn__icon {
	background: transparent;
	color: #06c755;
}

.cta-btn__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.cta-btn__sub {
	font-size: 0.75rem;
	color: var(--color-text-light);
	letter-spacing: 0.03em;
}

.cta-btn__main {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.cta-btn--tel .cta-btn__main {
	font-size: 1.375rem;
	color: var(--color-text);
}

.cta-btn__arrow {
	color: rgba(0, 0, 0, 0.25);
	font-size: 0.875rem;
	transition:
		transform 0.3s ease,
		color 0.3s ease;
}

.cta-btn--tel:hover .cta-btn__arrow {
	color: #0a4a7a;
}

.cta-btn--mail:hover .cta-btn__arrow {
	color: var(--color-primary);
}

.cta-btn--line:hover .cta-btn__arrow {
	color: #06c755;
}

.cta-btn:hover .cta-btn__arrow {
	transform: translateX(4px);
}

/* ========================================
   事業メインブロック
======================================== */
.business-block {
	position: relative;
}

.business-block__header {
	padding: var(--spacing-xxl) 1.25rem 2rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 768px) {
	.business-block__header {
		padding: var(--spacing-xxl) 2rem 2.5rem;
	}
}

.business-block__en {
	font-family: var(--font-en);
	font-size: var(--title-en-sp);
	font-weight: 700;
	letter-spacing: var(--title-en-tracking);
	color: var(--color-primary);
	line-height: 1;
}

.business-block__en::first-letter {
	color: #378add;
}

@media (min-width: 768px) {
	.business-block__en {
		font-size: var(--title-en-pc);
	}
}

.business-block__title {
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	font-weight: 700;
	color: var(--color-text);
	letter-spacing: 0.06em;
	line-height: 1.3;
}

/* ========================================
   フッター
======================================== */
.footer {
	background: var(--color-footer-bg);
	padding: var(--spacing-xl) 0 var(--spacing-sm);
	border-radius: 1rem 1rem 0 0;
	overflow: visible;
	margin-top: -1rem;
	position: relative;
	z-index: 1;
}

/* 768px未満時：固定ボタンバー分の下パディングを追加 */
@media (max-width: 767px) {
	.footer {
		padding-bottom: 5rem;
	}
}

.footer__inner {
	max-width: var(--section-width-sm);
	margin: 0 auto;
	padding: 0 var(--spacing-sm);
	display: flex;
	flex-direction: column;
	width: 100%;
	position: relative;
}

@media (min-width: 768px) {
	.footer__inner {
		max-width: 720px;
		padding: 0 var(--spacing-md);
	}
}

@media (min-width: 1024px) {
	.footer__inner {
		max-width: var(--section-width-lg);
		padding: 0 var(--spacing-lg);
	}
}

@media (min-width: 1200px) {
	.footer__inner {
		max-width: var(--section-width-xl);
		padding: 0 5.5rem;
	}
}

/* ロゴ */
.footer__logo {
	display: inline-block;
	align-self: flex-start;
	margin-bottom: var(--spacing-lg);
	transition: opacity 0.2s ease;
}

.footer__logo:hover {
	opacity: 0.7;
}

.footer__logo img {
	height: 40px;
	width: auto;
}

/* コンテンツ（ナビ＋会社情報） */
.footer__content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-bottom: var(--spacing-lg);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: var(--spacing-md);
}

@media (min-width: 1024px) {
	.footer__content {
		flex-direction: row;
		align-items: flex-start;
		gap: 6rem;
	}
}

/* セクションタイトル */
.footer__section-title {
	font-family: var(--font-ja);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--color-white);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer__section-title::before {
	content: '';
	width: 20px;
	height: 20px;
	background-image: url('../images/icon-outlet-fill.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
}

/* ナビブロック */
.footer__nav-block {
	flex: 1;
}

@media (min-width: 1024px) {
	.footer__nav-block {
		width: fit-content;
		flex: none;
	}
}

.footer__nav-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem 1rem;
}

@media (min-width: 576px) {
	.footer__nav-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.footer__nav-list {
		grid-template-columns: repeat(3, auto);
		justify-content: start;
		gap: 0.75rem 5rem;
	}
}

.footer__nav-link {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.65);
	letter-spacing: 0.04em;
	transition: color 0.2s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 1024px) {
	.footer__nav-link {
		max-width: 160px;
	}
}

.footer__nav-link::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	flex-shrink: 0;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.footer__nav-link:hover,
.footer__nav-link.is-active {
	color: var(--color-primary);
}

.footer__nav-link:hover::before {
	background: var(--color-primary);
	transform: scale(1.4);
}

.footer__nav-link.is-active::before {
	background: var(--color-primary);
}

/* 会社情報ブロック */
.footer__info-block {
	flex-shrink: 0;
}

.footer__info {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer__info-name {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--color-white);
	margin-bottom: 0.25rem;
}

.footer__info-address {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.7;
}

.footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin-top: 0.25rem;
}

.footer__contact-item {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.footer__contact-icon {
	color: var(--color-primary);
	font-size: 0.8125rem;
	flex-shrink: 0;
}

.footer__contact-link {
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s ease;
}

.footer__contact-link:hover {
	color: #ffffff;
}

.footer__contact-text {
	color: rgba(255, 255, 255, 0.8);
}

.footer__contact-note {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.7;
	padding-left: calc(0.8125rem + 0.625rem);
}

.footer__contact-tel-group {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

/* コピーライト */
.footer__bottom {
	text-align: center;
}

.footer__copy {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.3);
	letter-spacing: 0.04em;
}

/* ========================================
   ページ遷移アニメーション
======================================== */
.page-transition {
	position: fixed;
	inset: 0;
	z-index: 99998;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-transition__curtain {
	position: absolute;
	inset: 0;
	background-color: #0f3d6e;
	transform: translateY(-100%);
	transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}

.page-transition.is-in .page-transition__curtain {
	transform: translateY(0%);
}

.page-transition.is-out .page-transition__curtain {
	transform: translateY(100%);
	transition: transform 0.65s cubic-bezier(0.7, 0, 0.3, 1);
}

.page-transition__logo-wrap {
	position: relative;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.page-transition__logo-wrap.is-visible {
	opacity: 1;
}

/* ========================================
   ページ遷移：ロゴエリア（スプラッシュと同構成）
======================================== */
.pt__logo-area {
	position: relative;
	width: clamp(180px, 55vw, 300px);
	/* viewBox 0 0 320 320でコンテンツはy=100-215付近のみ—下の空白を相殺 */
	margin-bottom: calc(-0.30 * clamp(180px, 55vw, 300px));
}

.pt__icon-svg {
	width: 100%;
	height: auto;
	display: block;
}

/* is-visible時：PNGが現れるタイミングでバックのSVGを非表示 */
.page-transition__logo-wrap.is-visible .pt__icon-svg {
	animation: ptSvgHide 0.3s ease 0.9s forwards;
}

@keyframes ptSvgHide {
	to { opacity: 0; }
}

/* 描画完了後に重ねるカラーPNG */
.pt__icon-png {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0;
}

/* ストローク描画（is-visible 追加で開始） */
.pt-sp {
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.pt-sp--w { stroke: rgba(255, 255, 255, 0.85); }
.pt-sp--y { stroke: rgba(254, 209, 2, 0.85); }

.page-transition__logo-wrap.is-visible .pt-sp {
	animation: ptDraw 0.7s ease 0.1s forwards;
}

.page-transition__logo-wrap.is-visible .pt__icon-png {
	animation: ptFadeIn 0.5s ease 0.9s forwards;
}

/* ローディングバー（is-arriving でのみ表示） */
.pt__bar-wrap {
	width: clamp(120px, 35vw, 200px);
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 9999px;
	overflow: hidden;
	margin: 0 auto;
	opacity: 0;
}

.pt__bar {
	height: 100%;
	background: #fed102;
	border-radius: 9999px;
	width: 0%;
}

/* LEAVE側：バーは表示しない（汎用アニメーション定義なし） */

@keyframes ptDraw    { to { stroke-dashoffset: 0; } }
@keyframes ptFadeIn  { to { opacity: 1; } }
@keyframes ptBarFill { to { width: 100%; } }

/* ロード完了時：黄色スライド（青カーテンと同じspeed） */
.pt__wipe {
	position: absolute;
	inset: 0;
	background: #e8b400; /* モバイルメニューと同色 */
	z-index: 10;
	transform: translateY(-100%);
	will-change: transform;
	transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}

.pt__wipe.slide-in  { transform: translateY(0%); }
.pt__wipe.slide-out { transform: translateY(110%); }

/* 遷移後（is-arriving）：SVG描画なし、logo + バーのみ */
.page-transition.is-arriving .pt__icon-svg {
	display: none;
}

/* 遷移後：SVGがdisplay:noneなのでaspect-ratioで同じ正方形コンテナを維持 */
.page-transition.is-arriving .pt__logo-area {
	aspect-ratio: 1 / 1; /* SVG（320×320 viewBox）と同じ正方形 */
	/* margin-bottomは上書きしない：LEAVEと同じ calc(-0.30 * width) */
}

/* 遷移後：PNGをLEAVEと同じabsolute+object-fitで中央配置 */
.page-transition.is-arriving .pt__icon-png {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 1; /* 即座に表示 */
}

/* 遷移後：スプラッシュと同じ間隔 */
.page-transition.is-arriving .page-transition__logo-wrap {
	gap: 1rem;
}

.page-transition.is-arriving .page-transition__logo-wrap.is-visible .pt__bar-wrap {
	animation: ptFadeIn 0.3s ease 0.4s forwards;
}

.page-transition.is-arriving .page-transition__logo-wrap.is-visible .pt__bar {
	animation: ptBarFill 1.8s ease 0.4s forwards;
}

.page-transition__ripple {
	position: absolute;
	inset: 0;
	background: #e8b400;
	clip-path: circle(0px at 50% 50%);
	z-index: 2;
	pointer-events: none;
}

.page-transition__ripple.is-expanding {
	clip-path: circle(150vmax at 50% 50%);
}

html.is-pt-entering,
html.is-pt-entering body {
	background-color: #0f3d6e !important;
}

html.is-pt-entering .page-transition__curtain {
	transition: none !important;
	transform: translateY(0%) !important;
}

html.is-pt-entering .page-transition__logo-wrap {
	opacity: 0;
}

/* ========================================
   固定問い合わせボタン（768px未満のみ）
======================================== */
.fixed-contact-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	display: flex;
	align-items: stretch;
	transform: translateZ(0);
}

@media (min-width: 768px) {
	.fixed-contact-bar {
		display: none;
	}
}

.fixed-contact-item {
	flex: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 0.5rem;
	text-decoration: none;
	transition: opacity 0.3s ease;
	color: var(--color-white);
	border-top: 3px solid #0a4a7a;
}

/* 左端のボタン（お電話） */
.fixed-contact-item:first-child {
	border-left: 3px solid #0a4a7a;
	border-top-left-radius: 12px;
}

/* 右端のボタン（LINE） */
.fixed-contact-item:last-child {
	border-right: 3px solid #0a4a7a;
	border-top-right-radius: 12px;
}

/* 電話ボタン */
.fixed-contact-item--tel {
	background-color: var(--color-white);
	color: #0a4a7a;
	transition: background-color 0.3s ease;
}

.fixed-contact-item--tel:hover {
	background-color: #f0f5fb;
}

/* メールボタン */
.fixed-contact-item--mail {
	background-color: var(--color-white);
	color: var(--color-primary);
	border-left: 2px solid #0a4a7a;
	border-right: 2px solid #0a4a7a;
	transition: background-color 0.3s ease;
}

.fixed-contact-item--mail:hover {
	background-color: #fffbee;
}

/* LINEボタン */
.fixed-contact-item--line {
	background-color: var(--color-white);
	color: #06c755;
	transition: background-color 0.3s ease;
}

.fixed-contact-item--line:hover {
	background-color: #f0faf3;
}

.fixed-contact-icon {
	font-size: 1.5rem;
	flex-shrink: 0;
}

.fixed-contact-text {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.3;
	white-space: nowrap;
}

/* ========================================
   固定CTAタブ（768px以上・右端縦タブ）
======================================== */
.fixed-cta-pc {
	display: none;
}

@media (min-width: 768px) {
	.fixed-cta-pc {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		position: fixed;
		right: 0;
		bottom: 2rem;
		z-index: 900;
	}
}

.fixed-cta-pc__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1.25rem 0.75rem;
	border-top: 3px solid #0a4a7a;
	border-left: 3px solid #0a4a7a;
	border-bottom: 3px solid #0a4a7a;
	border-right: none;
	border-radius: var(--radius-md) 0 0 var(--radius-md);
	text-decoration: none;
	font-weight: 600;
	transition: background-color 0.3s ease;
}

.fixed-cta-pc__btn:hover {}

.fixed-cta-pc__btn--tel:hover {
	background-color: #f0f5fb;
}

.fixed-cta-pc__btn--line:hover {
	background-color: #f0faf3;
}

.fixed-cta-pc__btn i {
	font-size: 1.25rem;
	flex-shrink: 0;
}

.fixed-cta-pc__btn span {
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
}

.fixed-cta-pc__btn--line {
	background: var(--color-white);
	color: #06c755;
	border-color: #0a4a7a;
}

.fixed-cta-pc__btn--tel {
	background: var(--color-white);
	color: #0a4a7a;
	border-color: #0a4a7a;
}

/* ========================================
   ページトップボタン（フッター内マスコット）
======================================== */
.footer__page-top {
	position: absolute;
	top: 0;
	right: var(--spacing-sm);
	transform: translateY(-5%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	width: 104px;
	transition: transform 0.3s ease;
	z-index: 2;
}

.footer__page-top__label {
	font-family: var(--font-en);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	gap: 0.3rem;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.footer__page-top__top {
	position: absolute;
	top: -1.5rem;
	left: 12px;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.footer__page-top__outlet {
	height: 1.5rem;
	width: auto;
	display: block;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
	opacity: 0.66;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.footer__page-top.is-hovered .footer__page-top__label {
	color: var(--color-primary);
}

.footer__page-top.is-hovered .footer__page-top__outlet {
	filter: none;
	opacity: 1;
}

@media (min-width: 768px) {
	.footer__page-top {
		right: var(--spacing-md);
		width: 112px;
	}
	.footer__page-top__top {
		left: 14px;
	}
}

@media (min-width: 1024px) {
	.footer__page-top {
		width: 224px;
		top: 7.5%;
	}
	.footer__page-top__top {
		left: 40px;
	}
}

@media (min-width: 1200px) {
	.footer__page-top {
		width: 256px;
	}
	.footer__page-top__top {
		left: 45px;
		top: -1.75rem;
	}
	.footer__page-top__outlet {
		height: 1.75rem;
	}
	.footer__page-top__label {
		font-size: 0.75rem;
	}
}

@media (min-width: 1440px) {
	.footer__page-top__top {
		left: 45px;
	}
}

.footer__page-top:hover {
	transform: translateY(-12.5%);
}

.footer__page-top__mascot {
	position: relative;
	width: 100%;
}

.footer__page-top__img {
	width: 100%;
	height: auto;
	display: block;
	opacity: 0.66;
	transition: opacity 0.3s ease;
}

.footer__page-top.is-hovered .footer__page-top__img {
	opacity: 1;
}

.footer__page-top__bolts {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	opacity: 0;
}

.footer__page-top:hover .footer__page-top__bolts {
	opacity: 1;
}

/* 電気グループ: 最初は非表示 */
.footer__page-top__bolts .kd-bolts line {
	stroke-dasharray: 300;
	stroke-dashoffset: 300;
}

/* ホバー時：描画アニメーション（黄色） */
.footer__page-top:hover .footer__page-top__bolts .kd-bolts line {
	stroke: var(--color-primary);
	animation: boltRedraw 0.45s ease forwards;
}

@keyframes boltRedraw {
	0%   { stroke-dashoffset: 300; }
	100% { stroke-dashoffset: 0; }
}

/* 左→右→真ん中の順番で描画 */
/* kd-boltsの直接の子: nth-child(1)=右, nth-child(2)=中央, nth-child(3)=左 */
.footer__page-top:hover .footer__page-top__bolts .kd-bolts > g:nth-child(3) line { animation-delay: 0s; }    /* 左 */
.footer__page-top:hover .footer__page-top__bolts .kd-bolts > g:nth-child(1) line { animation-delay: 0.15s; } /* 右 */
.footer__page-top:hover .footer__page-top__bolts .kd-bolts > g:nth-child(2) line { animation-delay: 0.3s; }  /* 中央 */

/* ページ遷移中：スクロール禁止 */
body.is-page-transitioning {
	overflow: hidden !important;
	touch-action: none;
}

/* ========================================
   共通セクションスタイル
======================================== */
.section {
	padding: var(--spacing-xxl) 0;
	overflow: hidden;
}

.section--dark {
	background: #1e2440;
}

.section--light {
	background: var(--color-bg-light);
}

.section__inner {
	max-width: var(--container-max-pc);
	margin: 0 auto;
	padding: 0 1.25rem;
}

@media (min-width: 768px) {
	.section__inner {
		padding: 0 2rem;
	}
}

/* ========================================
   fukudagumiパターンの共通クラス
======================================== */

/* section-block：各セクションの外側ラッパー */
.section-block {
	position: relative;
}

/* sec：セクション本体・パディング管理 */
.sec {
	padding: var(--spacing-xxl) 1.25rem;
	position: relative;
}

@media (min-width: 768px) {
	.sec {
		padding: var(--spacing-xxl) 2rem;
	}
}

/* section-container：最大幅・センタリング（__inner の代替） */
.section-container {
	max-width: var(--section-width-sm);
	margin: 0 auto;
	width: 100%;
}

@media (min-width: 768px) {
	.section-container {
		max-width: var(--section-width-md);
	}
}

@media (min-width: 1024px) {
	.section-container {
		max-width: var(--section-width-lg);
	}
}

@media (min-width: 1200px) {
	.section-container {
		max-width: var(--section-width-xl);
	}
}

/* セクションヘッダー */
.section__header {
	margin-bottom: var(--spacing-xl);
}

.section__header--center {
	text-align: center;
}

.section__header--right {
	text-align: right;
}

.section__en {
	display: block;
	font-family: var(--font-en);
	font-size: var(--title-en-sp);
	color: var(--color-primary);
	line-height: 1;
	letter-spacing: var(--title-en-tracking);
	font-weight: 700;
}

@media (min-width: 768px) {
	.section__en {
		font-size: var(--title-en-pc);
	}
}

.section__en--dark {
	color: rgba(255, 255, 255, 0.15);
}

.section__title {
	font-size: var(--title-ja-sp);
	font-weight: 700;
	color: var(--color-dark);
	letter-spacing: 0.06em;
	margin-top: 0.25rem;
}

@media (min-width: 768px) {
	.section__title {
		font-size: var(--title-ja-pc);
	}
}

.section__title--white {
	color: var(--color-white);
}

.section__lead {
	margin-top: 1rem;
	font-size: var(--body-font-size-sp);
	color: var(--color-text-light);
	line-height: var(--body-line-height-sp);
}

@media (min-width: 768px) {
	.section__lead {
		font-size: var(--body-font-size-pc);
	}
}

/* ========================================
   共通ボタン
======================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	padding: 0.875rem 2rem;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	border-radius: var(--radius-xs);
	transition:
		background-color 0.3s ease,
		transform 0.3s ease;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.btn:hover {}

.btn--primary {
	background: var(--color-primary);
	color: var(--color-text);
}

.btn--primary:hover {
	background: var(--color-primary-bright);
}

.btn--dark {
	background: var(--color-dark);
	color: var(--color-white);
}

.btn--dark:hover {
	background: var(--color-dark-soft);
}

.btn--navy {
	background: #0a4a7a;
	color: var(--color-white);
}

.btn--navy:hover {
	background: #0d5a96;
}

.btn--navy:hover i.fa-arrow-right {
	background-color: var(--color-white);
	color: #0a4a7a;
	border-color: var(--color-white);
}

.btn--outline {
	background: transparent;
	color: var(--color-dark);
	border: 2px solid var(--color-dark);
}

.btn--outline:hover {
	background: var(--color-dark);
	color: var(--color-white);
}

.btn--outline-white {
	background: transparent;
	color: var(--color-white);
	border: 2px solid rgba(255, 255, 255, 0.6);
	transition:
		border-color 0.3s ease,
		color 0.3s ease,
		background-color 0.3s ease;
}

.btn--outline-white:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn i,
.btn svg {
	transition: transform 0.3s ease;
}

/* ========================================
   btn arrow-right / arrow-left: circle border design
======================================== */
.btn i.fa-arrow-right,
.btn i.fa-arrow-left {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25em;
	height: 2.25em;
	border-radius: 50%;
	border: 2px solid currentColor;
	flex-shrink: 0;
	font-size: 0.8em;
	font-weight: 900;
	line-height: 1;
	-webkit-text-stroke: 0.2px currentColor;
	transform: translateX(2px);
	transition:
		background-color 0.3s ease,
		color 0.3s ease,
		border-color 0.3s ease;
}

/* hover: translateX keep 1px, cancel Y movement on icon only */
.btn:hover i.fa-arrow-right,
.btn:hover i.fa-arrow-left {
	transform: translateX(2px);
}

.btn--primary:hover i.fa-arrow-right {
	background-color: var(--color-text);
	color: var(--color-primary);
	border-color: var(--color-text);
}

/* --dark hover: white fill + dark arrow */
.btn--dark:hover i.fa-arrow-right {
	background-color: var(--color-white);
	color: var(--color-dark);
	border-color: var(--color-white);
}

/* --outline hover: primary accent (button bg becomes dark) */
.btn--outline:hover i.fa-arrow-right,
.btn--outline:hover i.fa-arrow-left {
	color: var(--color-primary);
	border-color: var(--color-primary);
}

/* ========================================
   スクロールアニメーション（共通）
======================================== */
.js-fade {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.js-fade.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.js-fade--left {
	transform: translateX(-30px);
}

.js-fade--left.is-visible {
	transform: translateX(0);
}

.js-fade--right {
	transform: translateX(30px);
}

.js-fade--right.is-visible {
	transform: translateX(0);
}

/* 遅延クラス */
.js-delay-1 {
	transition-delay: 0.1s;
}

.js-delay-2 {
	transition-delay: 0.2s;
}

.js-delay-3 {
	transition-delay: 0.3s;
}

.js-delay-4 {
	transition-delay: 0.4s;
}

.js-delay-5 {
	transition-delay: 0.5s;
}

/* ========================================
   ページヒーロー（内部ページ共通）
======================================== */
/* ページヒーローラッパー（全幅・グラデーション背景） */
.page-hero-wrap {
	margin-top: calc(var(--header-height-sp) / 2);
	/* デフォルト：白→薄黄 */
	background: linear-gradient(to bottom, #ffffff 0%, #fffaee 55%, var(--color-bg-yellow) 100%);
	position: relative;
	overflow: visible;
	border-top: none;
}

/* ========================================
   page-hero-wrap 下コンセント装飾（全サブページ共通）
======================================== */
.page-hero-wrap::after {
	content: '';
	position: absolute;
	bottom: calc(var(--header-height-sp) * -1);
	left: 0;
	width: 100%;
	height: var(--header-height-sp);
	background:
		url('../images/yellow-outlet-reverse.png') left 30% top 50% / auto 56px no-repeat,
		url('../images/yellow-outlet.png') right 30% top 50% / auto 56px no-repeat,
		linear-gradient(var(--color-primary), var(--color-primary)) left 0 top 50% / 30% 4px no-repeat,
		linear-gradient(var(--color-primary), var(--color-primary)) right 0 top 50% / 30% 4px no-repeat;
	opacity: 0.5;
	z-index: 2;
	pointer-events: none;
}

@media (min-width: 768px) {
	.page-hero-wrap {
		margin-top: calc(var(--header-height-pc) / 2);
	}
	.page-hero-wrap::after {
		height: var(--header-height-pc);
		bottom: calc(var(--header-height-pc) * -1);
		background:
			url('../images/yellow-outlet-reverse.png') left 30% top 50% / auto 72px no-repeat,
			url('../images/yellow-outlet.png') right 30% top 50% / auto 72px no-repeat,
			linear-gradient(var(--color-primary), var(--color-primary)) left 0 top 50% / 30% 6px no-repeat,
			linear-gradient(var(--color-primary), var(--color-primary)) right 0 top 50% / 30% 6px no-repeat;
	}
}


/* ページヒーロー本体（1440px最大幅・中央） */
.page-hero {
	padding: 0 1rem 0;
}

@media (min-width: 768px) {
	.page-hero {
		padding: 0 2rem 0;
	}
}

/* カプセル + タイトルの位置基準ラッパー */
.page-hero__inner {
	position: relative;
	padding-bottom: 2.75rem;
	max-width: 1440px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.page-hero__inner {
		padding-bottom: 3.25rem;
	}
}

/* カプセル型画像コンテナ */
.page-hero__capsule {
	position: relative;
	display: flex;
	height: clamp(180px, 36vw, 380px);
	border-radius: 9999px;
	overflow: hidden;
	border: 3px solid #0a4a7a;
}

/* 各画像 */
.page-hero__bg {
	flex: 1;
	background-size: cover;
	background-position: center;
}

/* 3枚目：1024px未満では非表示 */
.page-hero__bg--3 {
	display: none;
}

@media (min-width: 1024px) {
	.page-hero__bg--3 {
		display: block;
	}
}

/* カプセル内オーバーレイ：薄黄色 */
.page-hero__capsule::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(232, 180, 0, 0.06);
}

/* タイトル：カプセル下境界に被せて中央配置 */
.page-hero__content {
	position: absolute;
	left: 50%;
	bottom: 2.75rem;
	transform: translate(-50%, 50%);
	z-index: 10;
	text-align: center;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.page-hero__content {
		bottom: 3.25rem;
	}
}

.page-hero__title {
	display: inline-block;
	background: #ffffff;
	color: var(--color-text);
	font-size: clamp(1.125rem, 3.5vw, 1.75rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0.625rem 2rem;
	border: 3px solid #0a4a7a;
	border-radius: 9999px;
	white-space: nowrap;
}

/* ========================================
   パンくずリスト
======================================== */
.breadcrumb {
	background: var(--color-bg-light);
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--color-border);
}

.breadcrumb__list {
	max-width: var(--container-max-pc);
	margin: 0 auto;
	padding: 0 1.25rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.375rem;
}

@media (min-width: 768px) {
	.breadcrumb__list {
		padding: 0 2rem;
	}
}

.breadcrumb__item {
	display: flex;
	align-items: center;
	font-size: 0.8125rem;
	color: var(--color-text-light);
}

.breadcrumb__item+.breadcrumb__item::before {
	content: '›';
	margin-right: 0.375rem;
	color: var(--color-text-light);
}

.breadcrumb__link {
	color: var(--color-text-light);
	transition: color 0.2s ease;
}

.breadcrumb__link:hover {
	color: var(--color-primary);
}

.breadcrumb__current {
	color: var(--color-text);
	font-weight: 500;
}

/* ========================================
   ユーティリティ
======================================== */
.u-sp-only {
	display: block;
}

.u-pc-only {
	display: none;
}

@media (min-width: 768px) {
	.u-sp-only {
		display: none;
	}

	.u-pc-only {
		display: block;
	}
}

.u-text-center {
	text-align: center;
}

.u-text-right {
	text-align: right;
}

.u-mt-sm {
	margin-top: var(--spacing-sm);
}

.u-mt-md {
	margin-top: var(--spacing-md);
}

.u-mt-lg {
	margin-top: var(--spacing-lg);
}

.u-mt-xl {
	margin-top: var(--spacing-xl);
}

.u-mb-sm {
	margin-bottom: var(--spacing-sm);
}

.u-mb-md {
	margin-bottom: var(--spacing-md);
}

.u-mb-lg {
	margin-bottom: var(--spacing-lg);
}

.u-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ========================================
   セクション英語タイトル：頭文字アクセント
======================================== */
.about-intro__en::first-letter,
.service-intro__en::first-letter,
.works-intro__en::first-letter,
.reason-intro__en::first-letter,
.section__en::first-letter,
.cta-section__en::first-letter,
.page-hero__en::first-letter {
	color: #378add;
}

/* ========================================
   374px未満：position:fixed 要素の幅・高さを補正
   html に transform:scale がかかると
   fixed 要素の基準となる包含ブロックが
   変わるため、375px 幅で固定する
======================================== */
@media (max-width: 374px) {

	/* ヘッダー */
	.header {
		width: 375px;
	}

	/* モバイルメニュー（全画面オーバーレイ） */
	.mobile-menu {
		width: 375px;
		height: 150dvh;
		/* transform幅縮小分を猎居値で補う */
	}

	/* モバイルメニュー背面のオーバーレイ */
	.mobile-menu__overlay {
		width: 375px;
		height: 150dvh;
		position: fixed;
		top: 0;
		left: 0;
	}

	.mobile-menu__inner {
		height: 100dvh;
	}

	/* ページトップボタン（右下霅定なので幅の補正不要） */
	/* .page-top は right/bottom 基準でかつ小さいので特に補正不要 */
}