/* =========================
	General Layout
========================= */
.hero {
	position: relative;
	height: 860px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8%;
	color: var(--text-white);
}

.hero-content {
	z-index: 2;
	text-align: left;
}
/* 動画 */
.hex {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
}
.hex:after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: radial-gradient(black 20%, transparent 20%),
		radial-gradient(black 20%, transparent 20%);
	background-size: 6px 6px;
	background-position: 0 0, 3px 3px;
}
.hex video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}

.hero-catch {
	font-size: 8rem;
	margin-bottom: 40px;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 0.95;
	position: relative;
	text-shadow:
		0 2px 4px rgba(0,0,0,0.2),
		0 8px 24px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
	.hero-catch {
		font-size: clamp(2.4rem, 6vw, 8rem);
		margin-bottom: clamp(16px, 3vw, 40px);
		font-weight: 800;
		letter-spacing: 0.05em;
		line-height: 1.1;
		position: relative;
		text-shadow:
			0 2px 4px rgba(0,0,0,0.2),
			0 8px 24px rgba(0,0,0,0.15);
	}
}
.company-name {
	font-size: 2.5rem;
	color: var(--primary-orange);
	font-weight: bold;
}

/* =========================
	ロゴスライダー
========================= */

.brand-logo-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 40px;
	padding: 40px 20px;
}

/* ロゴ枠 */
.brand-item {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

/* ロゴ */
.brand-item img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

.brand-item a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
/* ホバー */
.brand-item:hover img {
	transform: scale(1.05);
}

.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 30px;
	border-radius: 4px;
	font-size: var(--fs-sub);
	transition: all 0.3s;

	background-color: var(--bg-white);
	color: var(--text-main);
	border: 1px solid var(--text-main);
}

.btn-outline:hover {
	background-color: var(--bg-dark);
	color: var(--text-white);
}

/* =========================
	Uniqueness Section
========================= */
.identity-divider {
	height: 2px;
	width: 100%;
	background-color: var(--primary-orange);
	border: none;
}

/* タイトル部分 */
.identity-title {
	color: var(--primary-orange);
	font-size: 28px;
	font-weight: bold;
	letter-spacing: 0.05em;
	margin: 120px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.card-wrapper {
	display: grid;
	gap: 1em;
}

/* -----------------------
	企業理念 (安楽成ス)
-------------------------- */
.philosophy-intro {
	text-align: center;
	margin-bottom: 60px;
}
.philosophy-title {
	font-size: var(--fs-lg);
	font-weight: bold;
	color: var(--primary-orange);
	margin-bottom: 20px;
}
.philosophy-text {
	font-size: var(--fs-sub);
	color: var(--text-gray);
	line-height: 1.8;
}

.philosophy-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}
@media (max-width: 768px) {
	.philosophy-grid {
		grid-template-columns: 1fr;
	}
}
.philosophy-card {
    position: relative;
    background: var(--bg-white);
    border-radius: 0;
    padding: 50px 40px;
    box-shadow: 15px 15px 0px var(--border-color);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* 左側のアクセントライン */
.philosophy-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-orange);
}

.card-header {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

/* 背景に沈む巨大な漢字 */
.kanji-bg {
    position: absolute;
    top: -40px;
    right: -20px;
    font-size: 200px;
    font-family: "ヒラギノ明朝 ProN", "serif";
    font-weight: 600;
    color: rgba(255, 102, 0, 0.05);
    line-height: 1;
    pointer-events: none;
}

.card-title {
	font-size: var(--fs-lg);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    /* text-transform: uppercase; */
    font-weight: bold;
    /* color: var(--text-main); */
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

.en-text {
    font-size: var(--fs-sub);
    font-weight: 800;
    color: var(--primary-orange);
    letter-spacing: 0.2em;
    margin-top: 5px;
}

.concept-copy {
    display: block;
    font-size: var(--fs-base);
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dotted var(--border-color);
}

.card-desc {
	font-size: var(--fs-base);
    letter-spacing: 0.02em;
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    color: var(--text-gray);
    line-height: 2;
    position: relative;
    z-index: 1;
}

/* --------------------------
	事業一覧ページ専用スタイル
----------------------------- */
.our-business-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 40px 0;
}

.our-business-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin: 40px 0;
}

@media (max-width: 768px) {
	.our-business-grid-3,
	.our-business-grid-2 {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

.our-business-card {
	background: var(--bg-white);
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	border: 1px solid var(--border-light);
	border-radius: 4px;
	overflow: hidden;
	height: 100%; /* 高さを揃える */
	transition: transform 0.3s ease;
}

.our-business-card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.our-business-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.our-business-card .card-header {
	position: relative;
	height: 200px;
	background-color: var(--bg-gray);
	overflow: hidden;
}

.our-business-card .card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.our-business-card:hover .card-img {
	transform: scale(1.05);
}

.our-business-card .card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
	padding: 20px 15px 15px;
	box-sizing: border-box;
	color: var(--bg-white);
}

.our-business-card .card-title {
	font-size: var(--fs-md);
	font-weight: 700;
	margin: 0;
	/* text-transform: uppercase; */
	letter-spacing: 0.05em;
	line-height: 1.2;
}

.our-business-card .card-subtitle {
	font-size: var(--fs-sm);
	opacity: 0.9;
	margin-top: 5px;
	display: block;
	font-weight: normal;
}

.our-business-card .card-body {
	padding: 20px;
	font-size:  var(--fs-sm);
	color:  var(--text-gray);
	line-height: 1.6;
	background-color: var(--bg-white);
	flex-grow: 1;
}

/* -----------------------
	advantage Section
-------------------------- */
.advantage-card-list {
	display: flex;
	flex-direction: column;
	gap: 20px; /* カード同士の間隔 */
}

/* Individual Card */
.advantage-card {
	background: var(--bg-white);
	border: 1px solid var(--primary-orange);
	border-radius: 8px;
	padding: 40px 30px;
	text-align: center;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card-heading {
	font-size: 22px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 20px;
}

.card-text {
	font-size: 15px;
	line-height: 1.8;
	color: var(--text-muted);
	max-width: 800px;
	margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.advantage-card {
		padding: 30px 20px;
	}
	.card-heading {
		font-size: 18px;
	}
}

/* ----------------------------------------------------------
	Governance Section
---------------------------------------------------------- */

.governance-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}

.gov-item {
	border: 2px solid var(--text-muted);
	padding: 20px;
	text-align: center;
}

.gov-item p{
	color: var(--text-muted);
}
/* Responsive */
@media (max-width: 768px) {
.governance-grid {
		grid-template-columns: 1fr;
	}
}

/* ----------------------------------------------------------
	cta Section
---------------------------------------------------------- */
.en-cta-section {
	background: url("../img/image/gradation_map2-2.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center 65%;
	color: var(--text-white);
	padding: 60px 20px;
	text-align: center;
	margin-top: 60px;
}

.en-cta-title {
	font-size: var(--fs-lg);
	font-weight: 700;
}

.en-cta-btn {
	display: inline-flex;
	align-items: center;
	background-color: #fff;
	color: var(--text-main);
	padding: 12px 30px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	font-size: var(--fs-sub);
	transition: opacity 0.3s;
	margin-top: 30px;
}
.en-cta-btn:hover {
	opacity: 0.9;
}
.en-cta-btn::after {
	content: '→';
	margin-left: 10px;
	font-weight: bold;
}
