@charset "UTF-8";
/* ==========================================================================
   リニューアル共通スタイル
   (旧サイト用 base.css / common.css とは独立。リニューアル済みページで読み込む)
   ========================================================================== */

:root {
	/* カラートークン(Figma VD準拠) */
	--color-accent: #a71527;
	--color-heading: #1a1a1a;
	--color-text: #26292d;
	--color-text-sub: #333333;
	--color-nav: #555555;
	--color-dark: #26292d;
	--color-icon-bg: #2f2f2f;
	--color-bg-light: #fafafa;
	--color-line: #f0f0f0;

	/* 画面中央から .container のテキスト端までの距離 = (980px - 20px * 2) / 2。
	   全幅セクションの中身を container のラインに揃えるときに使う
	   (例: calc(50% - var(--container-inset)) を padding に指定) */
	--container-inset: 470px;

	/* フォント */
	--font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	--font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
	--font-hero: "Poppins", "Inter", sans-serif;
}

/* 細線シェブロン(矢印)は各ファイルで SVG を直接持たせる。
   共通変数にすると、CSSファイルが片方だけ古いキャッシュのときに
   var() が解決できずマスクが外れ、塗りの四角だけが残ってしまうため。 */

/* --- リセット --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-jp);
	font-size: 14px;
	line-height: 1.7;
	color: var(--color-text);
	background: #ffffff;
}

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

ul,
ol {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.25s;
}

a:hover {
	opacity: 0.7;
}

/* --- レイアウト --- */
.container {
	max-width: 980px;
	margin-inline: auto;
	padding-inline: 20px;
}

/* --- 英字見出し(先頭1文字が赤アクセント) --- */
.heading-en {
	font-family: var(--font-en);
	font-size: 38px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-heading);
}

.heading-en .accent {
	color: var(--color-accent);
}

.heading-ja {
	font-size: 14px;
	font-weight: 400;
	color: var(--color-heading);
}

/* --- ボタン --- */
.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	height: 44px;
	border: 1px solid var(--color-dark);
	font-family: var(--font-en);
	font-size: 13px;
	color: var(--color-heading);
	background: transparent;
}

.btn-outline--white {
	border-color: #ffffff;
	color: #ffffff;
}

/* ==========================================================================
   ヘッダー(ヒーローに重ねる透過タイプ)
   ========================================================================== */
.site-header {
	position: absolute;
	top: 38px;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-inline: 80px;
}

.site-logo {
	/* 潰れると max-width:100% でロゴ画像が縦横比を崩したまま縮むため固定 */
	flex-shrink: 0;
}

.site-logo img {
	width: 344px;
	height: 33px;
}

.site-header__right {
	display: flex;
	align-items: center;
	gap: 24px;
}

.global-nav ul {
	display: flex;
	align-items: center;
}

/* ヒーロー重ね(トップ)では白文字、下層の白ヘッダーではグレー */
.global-nav li {
	display: flex;
	align-items: center;
	/* 幅が足りないときに項目が潰れて文字が折り返すのを防ぐ */
	flex-shrink: 0;
	font-size: 14px;
	color: #ffffff;
}

/* リンク間の縦線(文字の見た目の高さに合わせて12.5px固定) */
.global-nav li + li::before {
	content: "";
	width: 1px;
	height: 12.5px;
	background: #ffffff;
}

.global-nav a {
	display: block;
	padding-inline: 17px;
	white-space: nowrap;
	color: #ffffff;
}

.header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	white-space: nowrap;
	min-width: 98px;
	height: 24px;
	padding-inline: 10px;
	background: var(--color-heading);
	border: 1px solid #ffffff;
	border-radius: 2px;
	font-size: 13px;
	color: #ffffff;
}

/* --- サブページ用ヘッダー(白背景・ダークロゴ・スクロール追従) --- */
.site-header--page {
	position: sticky;
	top: 0;
	background: #ffffff;
	padding: 20px 80px;
}

/* スクロール中はうっすら影を落として境界を出す */
.site-header--page.is-scrolled {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* トップ用: 通常は白ロゴ、スクロール後(--page付与時)はダークロゴに切り替え */
.site-logo__dark {
	display: none;
}

.site-header--page .site-logo__dark {
	display: inline-block;
}

.site-header--page .site-logo__white {
	display: none;
}

/* トップのヘッダーがスクロールで切り替わるときは固定+スライドイン
   (元がoverlay=絶対配置のため、stickyではなくfixedでレイアウトを崩さない) */
.site-header.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	animation: header-slide-down 0.25s ease;
}

@keyframes header-slide-down {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

.site-header--page .global-nav li,
.site-header--page .global-nav a {
	color: var(--color-nav);
}

.site-header--page .global-nav li + li::before {
	background: var(--color-heading);
}

.site-header--page .header-cta {
	min-width: 114px;
	height: 32px;
}

/* ==========================================================================
   ページヒーロー(下層ページ共通)
   ========================================================================== */
.page-hero {
	position: relative;
	height: 300px;
	overflow: hidden;
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(26, 26, 26, 0.4);
}

.page-hero__inner {
	position: relative;
	z-index: 2;
	padding-top: 102px;
}

.page-hero__title {
	font-family: var(--font-en);
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	color: #ffffff;
}

.page-hero__sub {
	margin-top: 9px;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: #ffffff;
}

/* ==========================================================================
   パンくずリスト
   ========================================================================== */
.breadcrumb {
	border-bottom: 1px solid #e5e7eb;
}

.breadcrumb ol {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 59px;
	font-family: var(--font-en);
	font-size: 11px;
	line-height: 16px;
	color: var(--color-heading);
}

.breadcrumb a {
	color: var(--color-heading);
}

.breadcrumb [aria-current] {
	color: var(--color-accent);
}

.breadcrumb li + li::before {
	content: "›";
	margin-right: 12px;
	color: var(--color-heading);
}

/* ==========================================================================
   薄グレー背景セクション共通(テクスチャを multiply で薄く敷く)
   ========================================================================== */
.section-textured {
	position: relative;
	background: #fdfdfd;
}

.section-textured::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/common/bg_texture.jpg") center / cover no-repeat;
	/* Figmaの画像調整(彩度min・露出/コントラスト強め)を再現 */
	filter: grayscale(1) brightness(1.6) contrast(1.4);
	mix-blend-mode: multiply;
	opacity: 0.1;
	pointer-events: none;
}

.section-textured > * {
	position: relative;
}

/* ==========================================================================
   セクション見出し(英字+日本語+下線)
   ========================================================================== */
.section-head {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--color-heading);
}

.section-head .heading-ja {
	font-size: 13px;
	line-height: 16px;
}

/* ==========================================================================
   CTAバナー(下層ページ共通)
   ========================================================================== */
.cta-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 32px;
	height: 260px;
	background: url("../img/top/card_company.jpg") center / cover no-repeat;
	text-align: center;
	overflow: hidden;
}

.cta-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(39, 39, 39, 0.8);
}

.cta-banner > * {
	position: relative;
}

.cta-banner__title {
	font-size: 30px;
	font-weight: 700;
	line-height: 36px;
	color: #ffffff;
}

.cta-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 241px;
	height: 52px;
	border: 1px solid #ffffff;
	border-radius: 4px;
	font-family: var(--font-en);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #ffffff;
}

/* 右向きシェブロン(暗い背景の上なので白) */
.cta-banner__btn::after {
	content: "";
	width: 6px;
	height: 11px;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12'%3E%3Cpath d='M1 1l5 5-5 5' fill='none' stroke='%23ffffff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
	position: relative;
	color: #ffffff;
	background: linear-gradient(180deg, #555555 0%, #1a1a1a 100%);
	padding: 47px 40px 0;
	overflow: hidden;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/common/bg_texture.jpg") center / cover no-repeat;
	/* Figmaの画像調整(彩度min・露出/コントラスト強め)を再現 */
	filter: grayscale(1) brightness(1.6) contrast(1.4);
	mix-blend-mode: multiply;
	pointer-events: none;
}

.site-footer > * {
	position: relative;
}

.footer-columns {
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	margin-inline: auto;
}

.footer-col {
	flex: 0 0 25%;
	min-width: 220px;
	margin-bottom: 40px;
}

.footer-col__title {
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 700;
	line-height: 16px;
}

.footer-col__title:not(:first-child) {
	margin-top: 33px;
}

.footer-col ul {
	margin-top: 15px;
}

.footer-col li,
.footer-col p {
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 400;
	line-height: 15px;
	margin-bottom: 5px;
}

.footer-col address {
	font-style: normal;
	margin-top: 15px;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1200px;
	margin-inline: auto;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	padding-block: 26px 40px;
	font-size: 11px;
	line-height: 13px;
}

/* ==========================================================================
   SPグローバルメニュー(ハンバーガー / 1080px以下で有効)
   ボタンは常にマークアップされ、PC幅では非表示。
   メニュー本体は .site-header__right をそのまま全画面オーバーレイに転用する
   (ナビのマークアップを2重に持たないため)
   ========================================================================== */
.nav-toggle {
	display: none;
	/* オーバーレイ(.site-header__right)より前面に置く */
	position: relative;
	z-index: 2;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--font-en);
	color: #ffffff;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

/* 白ヘッダーの上ではダーク、メニュー展開中は白背景に戻るので白 */
.site-header--page .nav-toggle {
	color: var(--color-heading);
}

.site-header.is-menu-open .nav-toggle {
	color: #ffffff;
}

.nav-toggle__bars {
	display: block;
	width: 24px;
}

.nav-toggle__bars span {
	display: block;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle__bars span + span {
	margin-top: 6px;
}

.nav-toggle__text {
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.nav-toggle__text--close,
.site-header.is-menu-open .nav-toggle__text--open {
	display: none;
}

.site-header.is-menu-open .nav-toggle__text--close {
	display: block;
}

/* 展開中は3本線を×に */
.site-header.is-menu-open .nav-toggle__bars span:nth-child(1) {
	transform: translateY(7.5px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.site-header.is-menu-open .nav-toggle__bars span:nth-child(3) {
	transform: translateY(-7.5px) rotate(-45deg);
}

/* 展開中はロゴを白に固定(オーバーレイが暗いため) */
.site-header.is-menu-open .site-logo__white {
	display: inline-block;
}

.site-header.is-menu-open .site-logo__dark {
	display: none;
}

/* 展開中は背面をスクロールさせない */
body.is-nav-open {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   横並びナビのままだと収まらない帯(ハンバーガー化する1080pxのすぐ上)
   ロゴ344 + ナビ + CTA + 左右余白80*2 で約1120px必要になり、
   1081〜1119px では項目が潰れて1文字改行されていた。
   左右余白とリンクの内側余白を詰めて1081pxでも収まるようにする
   -------------------------------------------------------------------------- */
@media (min-width: 1081px) and (max-width: 1240px) {
	.site-header {
		padding-inline: 40px;
	}

	.site-header--page {
		padding: 20px 40px;
	}

	.site-header__right {
		gap: 16px;
	}

	.global-nav a {
		padding-inline: 12px;
	}
}

/* ==========================================================================
   レスポンシブ
   ブレークポイント: 1080px(ナビをハンバーガーへ) / 768px(SPレイアウト) / 480px
   ========================================================================== */
@media (max-width: 1080px) {
	.site-header {
		padding-inline: 24px;
	}

	/* top はヒーローに重ねる絶対配置ヘッダー専用。
	   sticky の下層ページヘッダーに効かせると、追従時に上端が top 分下がって
	   隙間が空き、背後のヒーロー画像が覗いてしまう */
	.site-header:not(.site-header--page) {
		top: 20px;
	}

	.site-header--page {
		padding: 16px 24px;
	}

	/* オーバーレイの上にロゴを残す */
	.site-logo {
		position: relative;
		z-index: 2;
	}

	.site-logo img {
		width: 240px;
		height: auto;
	}

	.nav-toggle {
		display: inline-flex;
	}

	/* 展開中はヘッダー自体の白背景・影を消してオーバーレイを見せる */
	.site-header.is-menu-open,
	.site-header--page.is-menu-open.is-scrolled {
		background: transparent;
		box-shadow: none;
	}

	/* --- 全画面オーバーレイメニュー --- */
	.site-header__right {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		align-items: center;
		/* ヘッダー分の上余白を確保して上寄せ(画面高が変わっても位置が動かない) */
		justify-content: flex-start;
		gap: 32px;
		padding: 104px 24px 48px;
		background: linear-gradient(180deg, #555555 0%, #1a1a1a 100%);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.28s ease, visibility 0.28s ease;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.site-header.is-menu-open .site-header__right {
		opacity: 1;
		visibility: visible;
	}

	.global-nav {
		width: 100%;
		max-width: 340px;
	}

	.global-nav ul {
		flex-direction: column;
		align-items: stretch;
	}

	.global-nav li,
	.site-header--page .global-nav li {
		display: block;
		font-size: 16px;
		color: #ffffff;
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}

	/* 縦並びでは項目間の縦線は不要 */
	.global-nav li + li::before {
		display: none;
	}

	.global-nav a,
	.site-header--page .global-nav a {
		padding: 17px 4px;
		color: #ffffff;
	}

	.header-cta,
	.site-header--page .header-cta {
		min-width: 220px;
		height: 48px;
		font-size: 14px;
	}
}

/* 横向きスマホなど画面が低いときはメニューの余白と項目高さを詰める */
@media (max-width: 1080px) and (max-height: 560px) {
	.site-header__right {
		gap: 16px;
		padding-top: 76px;
	}

	.global-nav a,
	.site-header--page .global-nav a {
		padding-block: 11px;
	}

	.header-cta,
	.site-header--page .header-cta {
		height: 42px;
	}
}

@media (max-width: 768px) {
	.container {
		padding-inline: 20px;
	}

	.site-header {
		padding-inline: 16px;
	}

	.site-header:not(.site-header--page) {
		top: 14px;
	}

	.site-header--page {
		padding: 12px 16px;
	}

	.site-logo img {
		width: 200px;
	}

	.heading-en {
		font-size: 28px;
	}

	/* PCの改行位置はSPだと不自然になるため、コピー系の <br> は無効化する
	   (見出し・住所など意図的な改行は対象外) */
	.hero__copy br,
	.feature-card__text br,
	.business-item__text br,
	.biz-intro__copy br,
	.biz-section__catch br,
	.contact__intro br {
		display: none;
	}

	/* --- ページヒーロー --- */
	.page-hero {
		height: 220px;
	}

	.page-hero__inner {
		padding-top: 72px;
	}

	.page-hero__title {
		font-size: 32px;
	}

	.page-hero__sub {
		margin-top: 6px;
		font-size: 17px;
		line-height: 24px;
	}

	/* --- パンくず(長いと1行に収まらないので折り返す) --- */
	.breadcrumb ol {
		flex-wrap: wrap;
		gap: 6px 10px;
		height: auto;
		padding-block: 12px;
		font-size: 10px;
	}

	.breadcrumb li + li::before {
		margin-right: 10px;
	}

	/* --- CTAバナー --- */
	.cta-banner {
		gap: 24px;
		height: auto;
		padding: 48px 20px;
	}

	.cta-banner__title {
		font-size: 20px;
		line-height: 30px;
	}

	.cta-banner__btn {
		width: 100%;
		max-width: 280px;
		min-width: 0;
		height: 48px;
	}

	/* --- フッター --- */
	.site-footer {
		padding: 40px 20px 0;
	}

	.footer-col {
		flex: 0 0 50%;
		min-width: 0;
		margin-bottom: 32px;
		padding-right: 12px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding-block: 20px 32px;
	}
}

@media (max-width: 480px) {
	.container {
		padding-inline: 16px;
	}

	.site-logo img {
		width: 172px;
	}

	.heading-en {
		font-size: 24px;
	}

	.page-hero__title {
		font-size: 26px;
	}

	.page-hero__sub {
		font-size: 15px;
		line-height: 22px;
	}

	/* 4カラム → 1カラム(2カラムだと1項目が狭すぎる) */
	.footer-col {
		flex: 0 0 100%;
		padding-right: 0;
		margin-bottom: 28px;
	}
}
