/* ===================================
   BrioWorks - クリーンアップ済みCSS
   =================================== */

:root {
	--color-primary: #0eb1b5;
	--color-primary-dark: #0a8a8d;
	--color-primary-light: #e6f7f8;
	--color-text-main: #1a1a1a;
	--color-text-secondary: #4a4a4a;
	--color-text-light: #6a6a6a;
	--color-bg-main: #ffffff;
	--color-bg-light: #f8f9fa;
	--color-bg-dark: #2c3e50;
	--color-border: #e0e0e0;
	--transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
}

* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	overflow-x: hidden;
	margin: 0;
	font-family: 'Noto Sans JP', sans-serif;
}

/* -----------------------------------
   1. テーマの制限を強制解除（全幅対応）
   ----------------------------------- */
.site-main.bw-home,
.bw-home .inside-article,
.bw-home .site-content {
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

/* -----------------------------------
   2. 共通
   ----------------------------------- */
.bw-container {
	width: 100% !important;
	max-width: 1800px !important; /* ヘッダーの最大幅と同期 */
	margin: 0 auto !important; /* 0 !importantを0 autoに変更 */
	padding: 0 5% !important; /* 10%から5%に調整してゆとりを確保 */
	box-sizing: border-box;
}

.bw-section {
	padding: 100px 0;
}

.bw-bg-light {
	background-color: var(--color-bg-light);
}

.bw-bg-primary {
	background-color: var(--color-primary);
}

/* -----------------------------------
   3. ヘッダー
   ----------------------------------- */
.bw-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: #fff;
	backdrop-filter: blur(10px);
	z-index: 9999;
	border-bottom: 1px solid var(--color-border);
}

.bw-header-container {
	max-width: 1400px;
	width: 92%;
	margin: 0 auto;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bw-logo img {
	height: 60px;
	width: auto;
	display: block;
}

.bw-nav-list {
	display: flex;
	list-style: none;
	gap: 32px;
	align-items: center;
	margin: 0;
}

.bw-nav-list a {
	text-decoration: none;
	color: var(--color-text-main);
	font-weight: 400;
	font-size: 18px;
	transition: var(--transition-base);
}

/* ナビゲーションリスト */
.bw-nav-list {
	display: flex;
	list-style: none;
	gap: 40px;
	align-items: center;
	margin: 0;
	height: 100%; /* 親要素いっぱいに高さを取る */
}

/* ナビゲーションの共通設定 */
.bw-nav-list a {
	text-decoration: none;
	color: var(--color-text-main);
	font-weight: 400;
	font-size: 20px;
	font-family: 'Inter', 'Noto Sans JP', sans-serif;
	transition: var(--transition-base);
	display: inline-flex;
	align-items: center;
	height: 100%;
	position: relative;
}

/* 左側2つの文字リンク：ヘッダー最下部にラインを表示 */
.bw-nav-list li:not(:last-child) a::after {
	content: '';
	position: absolute;
	bottom: 0; /* ヘッダーの枠線（下端）に合わせる */
	left: 0;
	width: 100%;
	height: 2px; /* ラインの太さ */
	background: var(--color-primary);
	transform: scaleX(0); /* 最初は非表示 */
	transform-origin: center;
	transition: transform 0.3s ease;
}

/* ホバー時にラインを中央から広げる */
.bw-nav-list li:not(:last-child) a:hover {
	color: var(--color-primary);
}

.bw-nav-list li:not(:last-child) a:hover::after {
	transform: scaleX(1);
}

/* --- お問い合わせボタン（ヘッダー） --- */
.bw-header-btn {
	background: var(--color-primary);
	color: #ffffff !important;
	padding: 10px 24px;
	border-radius: 6px;
	font-weight: 600 !important;
	font-size: 16px !important;
	height: auto !important;
	border: 2px solid var(--color-primary);
	transition: var(--transition-base);
	box-shadow: none;
}

/* ホバー：背景を白く、文字と枠線をアクセントカラーに反転 */
.bw-header-btn:hover {
	background: #ffffff !important;
	color: var(--color-primary) !important;
}

/* --- カード内のリンク・ボタン等がある場合も同様のルールを適用 --- */
.bw-button-link {
	background: var(--color-primary);
	color: #ffffff;
	border: 2px solid var(--color-primary);
	padding: 12px 32px;
	border-radius: 6px;
	text-decoration: none;
	display: inline-block;
	transition: var(--transition-base);
}

.bw-button-link:hover {
	background: transparent;
	color: var(--color-primary);
}

/* --- 768px以下のスマホ・タブレット対応 --- */
@media (max-width: 768px) {
	.bw-header {
		height: 70px; /* スマホではヘッダーを少し低く */
	}

	.bw-logo img {
		height: 40px; /* ロゴも少し小さく */
	}

	/* PC用メニューを隠す */
	.bw-nav-list {
		position: fixed;
		top: 0;
		right: -100%; /* 最初は画面の外に隠す */
		width: 80%;
		height: 100vh;
		background: #fff;
		flex-direction: column; /* 縦並び */
		justify-content: center;
		gap: 30px;
		transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
		z-index: 10000;
		padding: 50px;
	}

	/* メニュー開閉時のクラス（JavaScriptで操作） */
	.bw-nav-list.is-active {
		right: 0;
	}

	.bw-nav-list a {
		font-size: 24px; /* スマホではタップしやすく大きく */
		height: auto;
		width: 100%;
		justify-content: flex-start;
	}

	/* スマホ用ハンバーガーボタンの作成 */
	.bw-hamburger {
		display: block;
		width: 30px;
		height: 24px;
		position: relative;
		cursor: pointer;
		z-index: 10001;
	}

	.bw-hamburger span {
		position: absolute;
		width: 100%;
		height: 2px;
		background: var(--color-primary);
		left: 0;
		transition: 0.3s;
	}

	.bw-hamburger span:nth-child(1) {
		top: 0;
	}
	.bw-hamburger span:nth-child(2) {
		top: 11px;
	}
	.bw-hamburger span:nth-child(3) {
		top: 22px;
	}

	/* メニューが開いている時のボタンの形（×印） */
	.bw-hamburger.is-active span:nth-child(1) {
		transform: translateY(11px) rotate(45deg);
	}
	.bw-hamburger.is-active span:nth-child(2) {
		opacity: 0;
	}
	.bw-hamburger.is-active span:nth-child(3) {
		transform: translateY(-11px) rotate(-45deg);
	}
}

/* PCではハンバーガーを隠す */
@media (min-width: 769px) {
	.bw-hamburger {
		display: none;
	}
}
/* -----------------------------------
   4. ヒーローセクション
   ----------------------------------- */
.bw-section.bw-hero {
	position: relative;
	width: 100%;
	height: 70vh;
	min-height: 550px;
	display: flex;
	align-items: center;

	/* 背景画像の設定 */
	background-size: cover !important; /* 画像を隙間なく表示 */
	background-position: center; /* 中央を基準に切り抜き */
	background-repeat: no-repeat;

	padding-top: 80px; /* ヘッダーとの干渉防止 */
	overflow: hidden;
}

.bw-hero-actions {
	margin-top: 75px !important; /* 少し広げてキャッチコピーを際立たせる */
}

.bw-section.bw-hero::before {
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.8) 0%,
		rgba(0, 0, 0, 0.4) 100%
	); /* グラデーションで奥行きを */
}

/* 既存のコンテナ：ガイド線デザイン */
.bw-hero .bw-container {
	position: relative;
	z-index: 2;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	padding-left: 60px;
}

.bw-hero .en {
	display: block;
	font-size: 14px;
	letter-spacing: 0.5em;
	color: var(--color-primary);
	text-transform: uppercase;
	margin-bottom: 20px;
}

.bw-title-main {
	font-size: clamp(32px, 5.5vw, 68px);
	letter-spacing: -0.02em; /* 字間を少し詰めると力強く知的に見えます */
	/*color: var(--color-primary);*/
}

.bw-text-lead {
	font-size: clamp(18px, 2.5vw, 22px);
	margin-bottom: 24px;
	font-weight: 500;
	line-height: 1.8; /* 行間 */
	letter-spacing: 0.05em; /* わずかに字間を広げる */
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* 文字の輪郭をクリアに */
}

/* --- サブ文（派手さよりも…の部分） --- */
.bw-text-sub {
	font-size: 16px;
	margin-bottom: 0;
	font-weight: 400;
	letter-spacing: 0.1em; /* 字間をしっかりあけて */
	position: relative;
	padding-left: 25px; /* 左に短いラインを入れるための余白 */
}

/* ボタン本体：初期状態をブランドカラーで塗りつぶし */
.bw-btn-hero {
	display: inline-flex;
	align-items: center; /* 垂直方向の中央揃えを強制 */
	justify-content: center;
	gap: 20px;
	padding: 20px 45px; /* ボタンの大きさ */
	background: var(--color-primary) !important; /* 強制的に企業カラー */
	border: 1px solid var(--color-primary);
	color: #ffffff !important; /* ★強制的に白にする */
	text-decoration: none !important; /* 下線を消す */
	font-size: 14px;
	line-height: 1.2; /* 1から1.2に微調整（日本語のズレ防止） */
	letter-spacing: 0.25em;
	text-transform: uppercase;
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.bw-btn-hero .en {
	display: inline-block !important;
	color: inherit !important;
	font-size: 14px;
	letter-spacing: 0.25em;
	margin-bottom: 0 !important;
	line-height: 1;
}

/* ホバー時のテキスト反転 */
.bw-btn-hero:hover .en {
	color: var(--color-primary) !important;
}

/* ホバー時の背景（白系へ変化） */
.bw-btn-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: #ffffff; /* ホバーで白（または非常に薄いグレー）が流れてくる */
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	z-index: -1;
}

.bw-hero-actions {
	margin-top: 50px; /* キャッチコピーとの間隔を広めにとって優雅に */
	text-align: left; /* 左の縦ラインと揃える */
}

/* ホバー時の変化：文字色をブランドカラーに戻す */
.bw-btn-hero:hover {
	color: var(--color-primary); /* 文字が青（緑）に反転 */
	border-color: var(--color-primary);
	padding-right: 50px;
}

.bw-btn-hero:hover::before {
	left: 0;
}

/* 矢印アイコンの構造 */
.bw-icon-arrow-right {
	display: inline-block; /* inline-flex内で正しく並ぶようにinline-blockへ */
	position: relative;
	width: 30px;
	height: 1px; /* 矢印の「棒」 */
	background: #ffffff; /* 初期は白 */
	transition: all 0.4s ease;
	/* 視覚的な中央合わせ：ほんの少し下にずらす */
	transform: translateY(1px);
}

.bw-icon-arrow-right::after {
	content: '';
	position: absolute;
	right: 0;
	top: -4px; /* 1pxの棒に対して中央に配置 */
	width: 8px;
	height: 8px;
	border-top: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
	transform: rotate(45deg);
	transition: all 0.4s ease;
}

/* ホバー時に矢印の色をブランドカラーに反転 */
.bw-btn-hero:hover .bw-icon-arrow-right {
	width: 40px;
	background: var(--color-primary);
}

.bw-btn-hero:hover .bw-icon-arrow-right::after {
	border-color: var(--color-primary);
}

/* --- Aboutセクション（ヒーロー直下） --- */
.bw-about-intro {
	background-color: #ffffff;
	padding: 120px 0; /* 上下に十分な余白をとって高級感を出す */
}

/* フレックスボックスで左右に分ける */
.bw-about-flex {
	display: flex;
	align-items: center; /* 垂直方向の中央揃え */
	justify-content: space-between;
	gap: 80px; /* テキストと画像の間の隙間 */
}

/* 左側：テキストエリア */
.bw-about-text {
	flex: 1;
	max-width: 750px;
	padding-left: 50px;
	border-left: 1px solid rgba(14, 177, 181, 0.2);
}

.bw-about-text .bw-text-lead {
	font-size: clamp(20px, 2.5vw, 24px);
	line-height: 2.1; /* 行間を広めに */
	color: var(--color-text-main);
	margin-bottom: 30px;
	font-weight: 500;
}

.bw-about-text .bw-text-sub {
	font-size: 20px;
	color: #555;
	letter-spacing: 0.05em;
	position: relative;
	padding-left: 30px;
}

/* サブテキストの横にアクセントライン */
.bw-about-text .bw-text-sub::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 20px;
	height: 1px;
	background-color: var(--color-primary);
}

/* 右側：画像エリア */
.bw-about-image {
	flex: 1;
	position: relative;
}

.bw-about-image img {
	width: 100%;
	height: auto;
	display: block;
	position: relative;
	z-index: 2;
	border-radius: 24px;
	/* 軽い影をつけて立体感を出す */
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 装飾用の背景ボックス */
.bw-image-deco {
	position: absolute;
	top: 10px; /* 画像から少しずらす */
	left: 20px;
	width: 100%;
	height: 100%;
	background-color: #f0f4f4; /* 薄いグレー/ブルー */
	border-radius: 24px;
	z-index: 1;
}

/* レスポンシブ：スマホでは縦並びにする */
@media (max-width: 992px) {
	.bw-about-flex {
		flex-direction: column;
		gap: 50px;
	}

	.bw-about-text {
		max-width: 100%;
		order: 1; /* テキストが先 */
	}

	.bw-about-image {
		order: 2; /* 画像が後 */
		width: 100%;
	}
}

/* -----------------------------------
   5. 事業内容（カードレイアウト）
   ----------------------------------- */
.bw-service {
	color: #fff;
	font-size: clamp(36px, 6vw, 60px);
	margin-bottom: 40px;
	padding-left: 10px;
}

/* --- 見出しグループの共通ルール（Service/Values両方） --- */
.bw-header-group,
.bw-values-header {
	border-left: 4px solid var(--color-primary);
	padding-left: 30px;
	margin-bottom: 60px;
	text-align: left;
	display: flex; /* 追加：要素の隙間を制御しやすくする */
	flex-direction: column;
}

/* 背景が青いセクション内のラインは白にする */
.bw-bg-primary .bw-header-group,
.bw-bg-primary .bw-values-header {
	border-left-color: #ffffff;
}

/* 1. 英字（.en）の余白を強制固定 */
.bw-header-group .en {
	display: block;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin: 0 0 30px 0 !important; /* ★ここの10pxを絶対値にする */
	line-height: 1 !important;
}

/* 2. タイトル（h2）の余白を強制リセット */
.bw-header-group h2,
.bw-values-header h2,
.bw-service,
.bw-title-section {
	margin: 0 !important; /* ★上の隙間を完全にゼロにする */
	padding: 0 !important;
	line-height: 1.1 !important;
}

/* 3. タイトルの下にある説明文（p）の距離 */
.bw-header-group p,
.bw-values-header p,
p.bw-service {
	margin-top: 20px !important;
	padding-left: 0 !important;
}

/* Service説明文の調整 */
p.bw-text-center.bw-service {
	max-width: none !important; /* 横幅の制限をなくす */
	width: 100% !important; /* 横幅いっぱいに広げる */
	text-align: left !important;
	margin: 20px 0 40px 0 !important;
	padding-left: 30px !important;
	line-height: 1.9; /* 行間をゆったりさせて知的に */
	display: block !important;
}

/* --- 白い親カードとの距離を調整 --- */
.bw-service-base-card {
	margin-top: 0; /* header-groupのmarginで調整するため */
}

.bw-title-section {
	font-size: clamp(36px, 6vw, 60px);
	margin-bottom: 40px;
	padding-left: 10px;
	color: var(--color-primary);
}

.bw-card-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 60px;
	max-width: 960px;
	margin: 0 auto;
}

.bw-card {
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 0 !important;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: var(--transition-base);
}

.bw-card-image {
	height: 240px;
	overflow: hidden;
}
.bw-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.5s;
}
.bw-card:hover .bw-card-image img {
	transform: scale(1.1);
}

.bw-card-content {
	padding: 32px;
}

.bw-card-title a {
	color: var(--color-text-main);
	text-decoration: none;
	font-size: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* 1. 大きな白い親カード（角丸なし） */
.bw-service-base-card {
	background: #ffffff;
	padding: 60px 40px; /* 内側の余白 */
	border-radius: 0 !important;
	box-shadow: var(--shadow-sm);
	margin-top: 40px;
}

/* 2. 中にある2つの事業カード（角丸なし） */
.bw-card {
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 0 !important;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: var(--transition-base);
}

/* 画像コンテナの角丸も解除 */
.bw-card-image,
.bw-card-image img {
	border-radius: 0 !important;
}

.bw-card:hover .bw-card-title a {
	color: var(--color-primary);
}

/* テキストセンターの余白調整 */
.bw-service-base-card .bw-text-center {
	margin-bottom: 50px;
	max-width: 100%;
	text-align: left;
}

.bw-text-center {
	font-size: 24px;
}

/* カードの中身のパディング */
.bw-card-content {
	padding: 30px;
}

/* サービスフッター（ボタンの親） */
.bw-service-footer {
	text-align: center;
	margin-top: 60px; /* カードとの間隔 */
}

/* まとめて表示する大きなボタン */
.bw-btn-more {
	display: inline-flex;
	flex-direction: column; /* 英語と日本語を縦に並べる */
	align-items: center;
	text-decoration: none;
	color: var(--color-primary);
	border: 1px solid var(--color-primary);
	padding: 20px 80px;
	min-width: 320px;
	transition: all 0.3s ease;
	position: relative;
	background: transparent;
}

/* 英語テキスト */
.bw-btn-more .en {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 4px;
	opacity: 0.8;
}

/* 日本語テキスト */
.bw-btn-more .jp {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.05em;
}

/* ボタン内の矢印（右側に配置） */
.bw-btn-more .bw-icon-arrow {
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	border: none; /* 円の枠線は不要なら消す */
	width: auto;
	height: auto;
}

/* 矢印のコンテナ */
.bw-icon-arrow {
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px; /* 矢印の全体の長さ */
	height: 14px; /* 矢印の高さ */
	display: inline-block;
	transition: all 0.3s ease;
}

/* 矢印の「先端（＞）」部分 */
.bw-icon-arrow::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--color-primary);
	border-right: 2px solid var(--color-primary);
	transform: translateY(-50%) rotate(45deg);
	transition: all 0.3s ease;
}
/* ホバー時の挙動：色を反転 */
.bw-btn-more:hover {
	background: var(--color-primary);
	color: #ffffff;
}

/* ホバー時に矢印の色も白くする */
.bw-btn-more:hover .bw-icon-arrow::before {
	background-color: #ffffff;
}

.bw-btn-more:hover .bw-icon-arrow::after {
	border-color: #ffffff;
}

@media (max-width: 768px) {
	/* ボタンのコンテナ */
	.bw-service-footer {
		padding: 0 20px; /* 左右に余白を作り、画面端に当たらないようにする */
		text-align: center;
	}

	/* ボタン本体の調整 */
	.bw-btn-more {
		display: flex;
		flex-direction: column; /* スマホでは縦並びにすると収まりが良い */
		align-items: center;
		width: 100%; /* 画面幅（親要素）に合わせる */
		max-width: 300px;
		min-width: 0 !important; /* 固定幅の設定があれば解除 */
		margin: 0 auto; /* 中央配置 */
		padding: 20px 15px; /* 内側の余白を調整 */
		height: auto;
	}

	/* ボタン内のテキストサイズ調整 */
	.bw-btn-more .en {
		font-size: 12px;
		margin-bottom: 4px;
	}

	.bw-btn-more .jp {
		font-size: 14px;
		letter-spacing: 0.1em;
	}

	/* アイコンの配置調整 */
	.bw-btn-more .bw-icon-arrow {
		margin-top: 10px;
		margin-left: 0;
	}
}

/* -----------------------------------
   6. Mission Focus Layout (Final Clean Version)
   ----------------------------------- */

/* --- 全体構成 --- */
.bw-mission-focus {
	position: relative;
	width: 100%;
	padding-top: 0 !important; /* 上のパディングを強制0 */
	margin-bottom: 0 !important;
}

/* --- 上半分：白背景エリア（横並び構造） --- */
.bw-mission-upper-part {
	position: relative;
	z-index: 10;
	background-color: #ffffff;
	padding: 20px 0 100px;
}

/* 横並びの実行（親要素） */
.bw-mission-flex-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
	padding-top: 60px; /* 上の余白 */
	padding-bottom: 60px; /* 下の余白：これで白い壁を伸ばします */
}

/* 左側：テキストエリア */
.bw-mission-content {
	flex: 1.2;
	text-align: left; /* 右に画像がある時は左揃えが綺麗です */
}

.bw-mission-label {
	display: flex;
	align-items: center;
	justify-content: center; /* 中央寄せの場合 */
	gap: 20px; /* 文字と線の間隔 */
	font-size: 32px; /* 大きめでもバランスが取れます */
	font-weight: 700;
	color: var(--color-primary);
	letter-spacing: 0.25em;
	line-height: 1;
	margin-bottom: 80px;
	text-transform: uppercase;
}

/* 文字の左右に線を引く装飾 */
.bw-mission-label::before,
.bw-mission-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background-color: var(--color-primary);
	max-width: 60px; /* 線の長さ */
	opacity: 0.5; /* 少し薄くして品を出す */
}

/* 右側：画像エリア */
.bw-mission-side-image {
	width: 100%;
	flex: 1;
	display: flex;
	justify-content: center;
}

.bw-mission-side-image img {
	width: 100%;
	max-width: 700px;
	height: auto;
	margin-top: 100px;
	border-radius: 12px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* --- 下半分：画像背景エリア（brio × works & Statement） --- */
.bw-mission-lower-part {
	position: relative;
	z-index: 5;
	padding: 100px 0 140px;
	overflow: hidden;
	margin-bottom: 0 !important;
}

.bw-mission-lower-part .bw-mission-visual {
	position: absolute;
	top: 0;
	left: 0;
	right: 0; /* 追加 */
	bottom: 0; /* 追加：これで下まで強制的に伸ばします */
	width: 100%;
	height: 100%;
	z-index: 1;
}

.bw-mission-lower-part .bw-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: none;
}

.bw-mission-lower-part .bw-container {
	position: relative;
	z-index: 2;
}

/* --- テキスト詳細設定 --- */
.bw-mission-content .en {
	display: block;
	font-size: 14px;
	letter-spacing: 0.4em;
	color: var(--color-primary);
	margin-bottom: 30px;
	text-align: center;
}

.bw-mission-main-text {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 300;
	line-height: 2.2;
	color: #333;
	text-align: center;
}

/* ハイライトカラー */
.bw-mission-main-text .highlight-navy {
	color: #005494;
	font-weight: 700;
}
.bw-mission-main-text .highlight {
	color: #0eb1b5;
	font-weight: 700;
}
.bw-mission-main-text .highlight-gold {
	color: #a78b27;
	font-weight: 700;
}

/* Society with your Company */
.bw-mission-statement {
	margin-top: 60px;
	text-align: center;
}

.bw-mission-statement .en {
	font-size: clamp(30px, 4.5vw, 44px);
	font-weight: 800;
	color: var(--color-text-main);
	letter-spacing: 0.01em;
	line-height: 1.2;
	margin-bottom: 15px;
}

.bw-mission-statement .jp {
	font-size: 15px;
	color: var(--color-text-light);
	letter-spacing: 0.4em;
	font-weight: 700;
}

/* --- 由来セクション (brio × works) --- */
.bw-origin-sub {
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

.bw-etymology-minimal {
	margin-bottom: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.bw-etymology-minimal .word {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: var(--color-primary);
}

.bw-etymology-minimal .word span {
	font-size: 18px;
	color: var(--color-text-light);
	margin-left: 10px;
}

.bw-etymology-minimal .plus {
	margin: 0 25px;
	font-size: 24px;
	color: var(--color-text-light);
}

.bw-origin-sub p {
	font-size: 20px;
	line-height: 1.8;
	color: #333;
	text-shadow:
		0 0 15px #fff,
		0 0 5px #fff;
}

/* --- レスポンシブ --- */
@media (max-width: 992px) {
	.bw-mission-flex-container {
		flex-direction: column;
		text-align: center;
		gap: 50px;
	}
	.bw-mission-content {
		text-align: center;
	}
	.bw-mission-side-image {
		width: 100%;
		max-width: 400px;
	}
}

@media (max-width: 768px) {
	.bw-mission-upper-part {
		padding: 80px 20px;
	}
	.bw-mission-lower-part {
		padding: 60px 20px 100px;
	}
	.bw-mission-main-text br {
		display: none;
	}

	.bw-etymology-minimal {
		flex-direction: column;
		gap: 15px;
	}
	.bw-etymology-minimal .word {
		font-size: 26px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.bw-mission-side-image img {
		margin-top: 10px;
	}
}

/* -----------------------------------
   7. 会社・お問い合わせ（スプリット）
   ----------------------------------- */
.bw-section-split {
	padding: 80px 0 !important;
	position: relative;
	background-size: 30% !important;
	background-repeat: repeat;
	background-position: center center;
	background-attachment: fixed;
	background-color: rgba(255, 255, 255, 0.85);
	background-blend-mode: overlay;
}

.bw-flex-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.bw-split-item {
	text-decoration: none !important;
	padding: 50px 40px !important;
	text-align: center;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 0 !important;
	min-height: 280px !important;
}

/* --- 左側：会社について --- */
.bw-split-item:first-child {
	background: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid var(--color-border);
}
.bw-split-item:first-child .bw-title-section-center,
.bw-split-item:first-child .bw-p-center {
	color: var(--color-text-main);
}

/* --- 右側：お問い合わせ --- */
.bw-split-item:last-child {
	background-color: var(--color-primary) !important;
	border: 1px solid var(--color-primary);
}
.bw-split-item:last-child .bw-title-section-center,
.bw-split-item:last-child .bw-p-center {
	color: #ffffff !important;
}

/* --- 共通テキスト --- */
.bw-title-section-center {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 15px;
	transition: all 0.3s ease;
}
.bw-p-center {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 20px;
}

/* --- アイコン基本 --- */
.bw-icon-center {
	width: 50px;
	height: 50px;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: all 0.3s ease;
}

/* 矢印の「棒」 */
.bw-icon-center::before {
	content: '';
	position: absolute;
	width: 18px;
	height: 2px;
	background-color: var(--color-border);
	transition: all 0.3s ease;
}

/* 矢印の「先端」 */
.bw-icon-center::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--color-border);
	border-right: 2px solid var(--color-border);
	transform: rotate(45deg);
	margin-left: 10px;
	transition: all 0.3s ease;
}

/* --- 右側（お問い合わせ）専用のアイコン初期色 --- */
.bw-split-item:last-child .bw-icon-center {
	border-color: rgba(255, 255, 255, 0.5);
}
.bw-split-item:last-child .bw-icon-center::before {
	background-color: #ffffff;
}
.bw-split-item:last-child .bw-icon-center::after {
	border-color: #ffffff;
}

/* 左側ホバー時：アイコンを青くする */
.bw-split-item:first-child:hover .bw-icon-center {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}
.bw-split-item:first-child:hover .bw-icon-center::before {
	background-color: #ffffff;
}
.bw-split-item:first-child:hover .bw-icon-center::after {
	border-color: #ffffff;
}

/* 右側ホバー時：アイコンを白背景＋青矢印にする（色の反転） */
.bw-split-item:last-child:hover .bw-icon-center {
	background-color: #ffffff;
	border-color: #ffffff;
}
.bw-split-item:last-child:hover .bw-icon-center::before {
	background-color: var(--color-primary); /* 矢印が青くなる */
}
.bw-split-item:last-child:hover .bw-icon-center::after {
	border-color: var(--color-primary); /* 矢印が青くなる */
}

/* スプリットセクション内の英字スタイル */
.bw-split-item .en {
	display: block;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 8px; /* 日本語タイトルとの間隔 */
	font-weight: 500;
}

/* 左側（白背景）の英字の色 */
.bw-split-item:first-child .en {
	color: var(--color-primary); /* アクセントカラーにして目立たせる */
	opacity: 0.8;
}

/* 右側（青背景）の英字の色 */
.bw-split-item:last-child .en {
	color: #ffffff;
	opacity: 0.7; /* 白抜きの場合は少し透過させると馴染みます */
}

/* タイトルとのバランス調整 */
.bw-title-section-center {
	margin-top: 0; /* 英字が入る分、上の余白をリセット */
	line-height: 1.2;
}
/* -----------------------------------
   7. フッター
   ----------------------------------- */
/* --- フッター全体の高さを抑える --- */
.bw-footer {
	background: var(--color-bg-dark);
	color: #fff;
	padding: 40px 0 20px; /* 上下の余白を大幅に削減 */
}

/* --- ロゴとナビを横一列に並べる --- */
.bw-footer-flex {
	display: flex;
	justify-content: space-between;
	align-items: center; /* 垂直中央 */
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 20px;
}

/* --- ロゴとタグラインを横並びに（一体感） --- */
.bw-footer-brand {
	display: flex;
	align-items: center;
	gap: 20px;
}

.bw-footer-logo img {
	height: 40px; /* 少し小さくして高さを抑える */
	width: auto;
}

.bw-footer-tagline {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.3);
	padding-left: 20px;
}

/* --- ナビゲーションを横並びに --- */
.bw-footer-nav {
	display: flex;
	gap: 24px; /* リンク同士の間隔 */
}

.bw-footer-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.bw-footer-nav a:hover {
	opacity: 1;
	color: var(--color-primary);
}

/* --- コピーライトを右寄せにしてさらにコンパクトに --- */
.bw-copyright {
	text-align: center;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
	padding-top: 0;
	border: none;
}

/* --- スマホ対応：入り切らない場合は縦並びに戻す --- */
@media (max-width: 768px) {
	.bw-footer-flex {
		flex-direction: column;
		gap: 25px;
		align-items: flex-start;
	}

	.bw-footer-brand {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.bw-footer-tagline {
		border-left: none;
		padding-left: 0;
	}

	.bw-footer-nav {
		flex-wrap: wrap; /* 折り返し許可 */
		gap: 15px 20px;
	}

	.bw-copyright {
		text-align: left;
	}
}

/* -----------------------------------
   8. レスポンシブ
   ----------------------------------- */
@media (max-width: 768px) {
	.bw-header {
		height: 80px;
	}
	.bw-flex-split {
		grid-template-columns: 1fr;
	}
	.pc-only {
		display: none;
	}

	/* 1. セクション全体のパディングを調整 */
	.bw-section {
		padding: 60px 0;
	}

	/* 2. 背景の白い親カードの余白を削る */
	.bw-service-base-card {
		padding: 40px 20px; /* 横余白を狭めてカード幅を確保 */
		margin-top: 30px;
	}

	/* 3. カードの並びを1列に強制し、幅を100%にする */
	.bw-card-wrapper {
		grid-template-columns: 1fr; /* 1列にする */
		gap: 30px; /* カード同士の間隔を詰める */
	}

	/* 4. 画像のはみ出し防止と高さの自動調整 */
	.bw-card-image {
		height: auto; /* 固定高さを解除 */
		aspect-ratio: 16 / 9; /* 横長比率を維持 */
	}

	.bw-card-image img {
		width: 100%;
		height: 100%;
		object-fit: cover; /* 枠に合わせて切り抜き */
	}

	/* 5. カード内のテキストサイズ微調整 */
	.bw-card-content {
		padding: 20px;
	}

	.bw-card-title {
		font-size: 20px;
		margin-bottom: 15px;
	}

	.bw-card-desc {
		font-size: 14px;
		line-height: 1.6;
	}

	/* 6. 「事業内容」見出し下のリード文の改行を調整 */
	p.bw-text-center.bw-service {
		padding-left: 0 !important; /* スマホでは左線を意識しすぎず中央寄せ気味に */
		font-size: 16px;
		line-height: 1.7;
	}

	/* 7. ボタンの横幅をスマホ画面に合わせる */
	.bw-btn-more {
		width: 100%; /* 画面幅いっぱいに */
		min-width: none;
		padding: 20px 20px;
	}

	/* --- Our Values セクションのレスポンシブ調整 --- */
	@media screen and (max-width: 768px) {
		/* 1. 見出しのサイズ調整 */
		.bw-values-header .bw-title-section {
			font-size: 26px !important; /* スマホで適切なサイズに */
			line-height: 1.3;
		}

		/* 2. 各アイテムの並びを縦方向に変更 */
		.bw-value-item {
			flex-direction: column; /* 横並びから縦並びに */
			align-items: flex-start; /* 左寄せ */
			padding: 30px 0; /* 上下の余白を少し詰める */
		}

		/* 3. 数字（01など）のデザイン調整 */
		.bw-value-number {
			font-size: 32px; /* 少し小さく */
			margin-bottom: 10px; /* 下に隙間を作る */
			width: auto; /* 幅固定を解除 */
			opacity: 0.8;
		}

		/* 4. メインテキスト（日本語）の調整 */
		.bw-value-text {
			font-size: 18px; /* スマホで見やすいサイズ */
			line-height: 1.5;
			margin-bottom: 4px;
		}

		/* 5. サブテキスト（英語）の調整 */
		.bw-value-subtext {
			font-size: 12px;
			letter-spacing: 0.05em;
		}

		/* ホバー時の挙動をスマホ用にマイルドにする */
		.bw-value-item:hover {
			padding-left: 0; /* 横にずれる動きをスマホではオフにする（誤タップ感防止） */
			background-color: transparent;
		}
	}
}
