@charset "UTF-8";

/* =======================================================
   Company Pages 共通 CSS
======================================================= */

/* ================================
   Page Base
================================ */

.company-page {
	padding: 0 0 80px 0;
}

/* ================================
   Company Banner（共通）
================================ */

.company-banner {
	width: 100%;
	height: 400px;
	background-size: cover;
	background-position: center;
}

.company-banner-inner {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 中央の白い箱（角丸なし） */
.company-banner-box {
	width: 220px;
	height: 200px;
	background: rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* タイトル */
.company-banner-title {
	font-size: 22px;
	letter-spacing: 0.15em;
	font-weight: 500;
	color: #222;
}

/* ================================
   Company Index
================================ */

.company-index {
	margin-top: 80px;
}

/* グリッド */
.company-grid {
	display: grid;
	grid-template-columns: repeat(3, 350px);
	justify-content: center;
	gap: 30px;
}

/* バナー */
.company-box {
	width: 350px;
	height: 160px;
	background: #fff59c;
	color: #222;
	text-decoration: none;
	position: relative;
}

/* 中身中央寄せ */
.company-box .box-inner {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
}

/* 英字 */
.company-box .en {
	font-size: 24px;
	letter-spacing: 0.18em;
	margin-bottom: 12px;
	font-weight: 500;
}

/* 日本語 */
.company-box .jp {
	font-size: 18px;
	color: #333;
	margin: 0;
}

/* 右下三角 */
.company-box .triangle {
	position: absolute;
	right: 10px;
	/* ← 内側へ */
	bottom: 10px;
	/* ← 内側へ */
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 20px 20px;
	border-color: transparent transparent #333 transparent;
}

/* hover 説明（PCのみ） */
.company-box .hover-text {
	position: absolute;
	inset: 0;
	background: #FFEB3B;
	color: #333;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

@media (hover:hover) {
	.company-box:hover .hover-text {
		opacity: 1;
	}
}

/* ================================
   SP（想定）
================================ */

@media (max-width: 767px) {

	.company-page {
		padding: 50px 0;
	}

	.company-banner {
		height: 260px;
	}

	.company-banner-box {
		width: 180px;
		height: 160px;
	}

	.company-banner-title {
		font-size: 18px;
	}

	.company-index {
		margin-top: 50px;
	}

	.company-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}

	.company-box {
		width: 100%;
		height: 140px;
	}

	.company-box .en {
		font-size: 14px;
		letter-spacing: 0.12em;
	}

	.company-box .jp {
		font-size: 12px;
	}

	.company-box .hover-text {
		display: none;
	}
}

/* =======================================================
   Greeting Page（社長あいさつ）
   ※ company.css に統合
======================================================= */

/* ================================
   Greeting Section
================================ */

.greeting-section {
	padding: 120px 0;
	background: #fff;
	/* 外は白 */
}

.greeting-inner {
	width: 1200px;
	height: 1200px;
	margin: 0 auto;
	background: #F2F3F5;
	/* ← グレーはここだけ */
	position: relative;
	padding: 100px 100px;
	box-sizing: border-box;
}

/* 本文 */
.greeting-text {
	max-width: 1000px;
	font-size: 24px;
	line-height: 2.1;
	color: #333;
}

.greeting-text p {
	margin-bottom: 32px;
}

/* 署名 */
.greeting-sign {
	margin-top: 80px;
}

.greeting-sign .role {
	font-size: 24px;
	color: #666;
	margin-bottom: 6px;
	display: block;
}

.greeting-sign .name {
	font-size: 56px;
	letter-spacing: 0.15em;
	font-weight: 500;
	font-family: "Noto Serif JP", serif;
}


/* 写真（右下に重ねる） */
.greeting-photo {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 500px;
}

.greeting-photo img {
	width: 100%;
	height: auto;
	display: block;
}

/* ================================
   Bottom Link Banner
================================ */

.company-link-banner {
	padding: 80px 0;
	text-align: center;
}

.company-link-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 420px;
	height: 90px;
	background: #EEEEEE;
	color: #222;
	text-decoration: none;
}

.company-link-box .en {
	font-size: 16px;
	letter-spacing: 0.18em;
}

.company-link-box .jp {
	font-size: 14px;
	color: #666;
}

/* ================================
   Company Related Links
================================ */

.company-related {
	padding: 80px 0 0;
}

.company-related-inner {
	display: grid;
	grid-template-columns: repeat(3, 360px);
	justify-content: center;
	gap: 30px;
}

.company-related-box {
	width: 360px;
	height: 160px;
	background: #EEEEEE;
	color: #222;
	text-decoration: none;
	position: relative;
}

.company-related-box .box-inner {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.company-related-box .en {
	font-size: 18px;
	letter-spacing: 0.18em;
	margin-bottom: 8px;
	font-weight: 500;
}

.company-related-box .jp {
	font-size: 13px;
	color: #555;
}

/* 右下三角（共通トーン） */
.company-related-box .triangle {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 16px 16px;
	border-color: transparent transparent #FFAD33 transparent;
}


/* ================================
   SP（後日調整前提）
================================ */

@media (max-width: 767px) {

	.greeting-inner {
		padding: 50px 20px;
	}

	.greeting-text {
		max-width: 100%;
	}

	.greeting-photo {
		position: static;
		margin-top: 40px;
		width: 100%;
		text-align: center;
	}

	.company-link-box {
		width: 100%;
	}

	.greeting-inner {
		width: 100%;
		height: auto;
		padding: 40px 20px 60px;
	}

	.greeting-text {
		font-size: 15px;
		line-height: 1.9;
		max-width: 100%;
	}

	.greeting-photo {
		position: static;
		width: 70%;
		max-width: 260px;
		margin: 30px auto 20px;
		text-align: center;
	}

	.greeting-sign {
		margin-top: 30px;
		text-align: center;
	}

	.greeting-sign .role {
		font-size: 13px;
	}

	.greeting-sign .name {
		font-size: 28px;
		letter-spacing: 0.12em;
	}

	.company-related {
		padding: 50px 0 0;
	}

	.company-related-inner {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		padding: 0 12px;
	}

	.company-related-box {
		width: 100%;
		height: 120px;
	}

	.company-related-box .en {
		font-size: 14px;
		letter-spacing: 0.12em;
	}

	.company-related-box .jp {
		font-size: 12px;
	}
}

/* =======================================================
   Company Profile / Affiliate / Access
======================================================= */

.company-profile-section,
.company-affiliate-section,
.company-access-section {
	padding: 120px 0;
}

.company-profile-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 見出し */
.company-sub-title {
	font-size: 26px;
	letter-spacing: 0.12em;
	margin-bottom: 40px;
	text-align: center;
}

/* テーブル共通 */
.company-profile-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.company-profile-table th,
.company-profile-table td {
	padding: 18px 20px;
	border: 1px solid #ddd;
	font-size: 15px;
	line-height: 1.8;
}

.company-profile-table th {
	width: 260px;
	background: #F2F3F5;
	font-weight: 500;
}

/* Access */
.access-text {
	font-size: 16px;
	line-height: 2;
	margin-bottom: 40px;
	text-align: center;
}

.access-map {
	width: 100%;
	height: 400px;
	background: #eee;
}

/* =======================================================
   SP
======================================================= */

@media (max-width: 767px) {

	.company-profile-section,
	.company-affiliate-section,
	.company-access-section {
		padding: 70px 0;
	}

	.company-sub-title {
		font-size: 20px;
		margin-bottom: 30px;
	}

	.company-profile-table th {
		width: 100%;
		display: block;
	}

	.company-profile-table td {
		display: block;
		border-top: none;
	}

	.access-map {
		height: 260px;
	}
}

/* =======================================================
   Company Profile / Affiliate / Access（会社概要）
======================================================= */

/* ================================
   Section Base
================================ */

.company-profile-section,
.company-affiliate-section,
.company-access-section {
	padding: 120px 0;
	background: #fff;
}

.company-profile-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 見出し */
.company-sub-title {
	font-size: 26px;
	letter-spacing: 0.12em;
	margin-bottom: 50px;
	text-align: center;
	position: relative;
}

.company-sub-title::after {
	content: "";
	display: block;
	width: 80px;
	height: 1px;
	background: #FFAD33;
	margin: 20px auto 0;
}

/* ================================
   Table（会社概要・関連会社 共通）
================================ */

.company-profile-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.company-profile-table th,
.company-profile-table td {
	padding: 20px 24px;
	border: 1px solid #ddd;
	font-size: 15px;
	line-height: 1.8;
	vertical-align: top;
}

.company-profile-table th {
	width: 260px;
	background: #F2F3F5;
	font-weight: 500;
	color: #333;
}

.company-profile-table a {
	color: #3a7bd5;
	word-break: break-all;
}

/* ================================
   Affiliate（複数社対応）
================================ */

.company-affiliate-item {
	margin-bottom: 60px;
}

/* ================================
   Access
================================ */

.company-access-section {
	padding-top: 80px;
}

.access-text {
	font-size: 16px;
	line-height: 2;
	margin-bottom: 40px;
	text-align: center;
}

.access-map {
	width: 100%;
	height: 420px;
	margin-bottom: 40px;
}

.access-map iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* 大きな地図で見る */
.access-map-btn {
	text-align: center;
}

.access-map-btn a {
	display: inline-block;
	padding: 14px 40px;
	background: #FFAD33;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 0.1em;
}

/* ================================
   SP
================================ */

@media (max-width: 767px) {

	.company-profile-section,
	.company-affiliate-section,
	.company-access-section {
		padding: 70px 0;
	}

	.company-sub-title {
		font-size: 20px;
		margin-bottom: 30px;
	}

	.company-profile-table th,
	.company-profile-table td {
		display: block;
		width: 100%;
	}

	.company-profile-table th {
		border-bottom: none;
	}

	.company-profile-table td {
		border-top: none;
	}

	.access-text {
		font-size: 14px;
	}

	.access-map {
		height: 260px;
	}
}

/* =======================================================
   Mission / Vision
======================================================= */

.mission-section,
.vision-section {
	padding: 120px 0;
	background: #fff;
}

.mission-inner,
.vision-inner {
	max-width: 1200px;
	margin: 0 auto;
	background: #F2F3F5;
	padding: 100px 120px;
	text-align: center;
	box-sizing: border-box;
}

/* タイトル */
.mission-title,
.vision-title {
	font-size: 28px;
	letter-spacing: 0.15em;
	margin-bottom: 60px;
	font-weight: 500;
}

/* Mission list */
.mission-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mission-list li {
	font-size: 20px;
	line-height: 2.2;
	margin-bottom: 36px;
}

/* Vision text */
.vision-text {
	font-size: 22px;
	line-height: 2.2;
}

/* =======================================================
   SP
======================================================= */

@media (max-width: 767px) {

	.mission-section,
	.vision-section {
		padding: 60px 0;
	}

	.mission-inner,
	.vision-inner {
		padding: 50px 20px;
	}

	.mission-title,
	.vision-title {
		font-size: 20px;
		margin-bottom: 40px;
	}

	.mission-list li {
		font-size: 15px;
		line-height: 1.9;
		margin-bottom: 24px;
	}

	.vision-text {
		font-size: 15px;
		line-height: 1.9;
	}
}

#affiliate,
#access {
	scroll-margin-top: 120px;
}

/* ============================================
   Company index：カード フェードイン（初期）
============================================ */
.company-index .company-box {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.9s ease, transform 0.9s ease;
	will-change: opacity, transform;
}

/* 表示状態 */
.company-index.is-show .company-box {
	opacity: 1;
	transform: translateY(0);
}

/* ===============================
   Company anchor offset
=============================== */

#affiliate,
#access {
	scroll-margin-top: 120px;
}

@media (max-width: 768px) {

	#affiliate,
	#access {
		scroll-margin-top: 60px;
	}
}