@charset "UTF-8";

/* ========================================
   会社概要ページ (Company Page)
======================================== */

/* --- ページヘッダー --- */
.company-header {
	background: url('../img/common/corporate-subpage-header-image.png') no-repeat center center / cover;
	padding: 35px 20px;
	text-align: center;
}

.company-header-title {
	color: #877469;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.5em;
}

/* --- セクション共通 --- */
.company-section {
	padding: 60px 0;
}

.company-section-title {
	font-size: 2.2rem;
	font-weight: 400;
	color: #4d4d4d;
	margin-bottom: 40px;
}

/* --- テキスト＋画像レイアウト --- */
.company-content-row {
	display: flex;
	align-items: center;
	gap: 40px;
}

.company-text {
	flex: 1;
	line-height: 1.9;
	color: #4d4d4d;
	font-size: 1.0rem;
}

.company-text p {
	margin-bottom: 1em;
}

.company-text p:last-child {
	margin-bottom: 0;
}

.company-text strong {
	font-weight: 700;
	border-bottom: 2px solid #7cb342;
	padding-bottom: 1px;
}

.company-image {
	flex: 1;
}

.company-image img {
	width: 100%;
	height: auto;
	border-radius: 0;
	object-fit: cover;
}

/* --- 逆配置（画像左・テキスト右） --- */
.company-content-row.reverse {
	flex-direction: row-reverse;
}

/* --- ミッションセクション --- */
.mission-item {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-bottom: 50px;
}

.mission-item:last-child {
	margin-bottom: 0;
}

.mission-text-area {
	flex: 55;
	display: flex;
	flex-direction: column;
}

.mission-catchcopy {
	background-color: #e9f4c3;
	padding: 10px 20px;
	min-height: 114px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mission-catchcopy p {
	margin: 0;
	font-size: 1.6em;
	font-weight: 400;
	color: #4d4d4d;
	text-align: center;
	line-height: 1.6;
}

.mission-body {
	padding: 20px 5px;
	font-size: 1.1rem;
	line-height: 1.9;
	color: #4d4d4d;
	margin: 0;
	letter-spacing: -0.02em;
}

.mission-image {
	flex: 45;
}

.mission-image img {
	width: 100%;
	height: auto;
	border-radius: 0;
}

.mission-item.reverse {
	flex-direction: row-reverse;
}

/* --- 会社概要テーブル --- */
.company-info-section {
	background-color: #fff;
}

.company-info-table {
	width: 100%;
	border-collapse: collapse;
}

.company-info-table th,
.company-info-table td {
	padding: 10px 25px;
	border-bottom: 1px solid #b3b3b3;
	font-size: 1.0rem;
	line-height: 1.8;
	text-align: left;
	vertical-align: middle;
}

.company-info-table th {
	width: 180px;
	font-weight: 700;
	color: #fff;
	background-color: #877469;
	text-align: center;
	white-space: nowrap;
}

.company-info-table td {
	color: #808080;
}

.company-info-table .first-row th,
.company-info-table .first-row td {
	border-top: 1px solid #b3b3b3;
}

.company-info-table td a {
	color: #333;
	text-decoration: underline;
}

.company-info-table td a[href^="tel:"] {
	color: #518400;
}

.company-info-table .branch-name {
	color: #518400;
	font-weight: 700;
}

.company-info-table td a:hover {
	color: #7cb342;
}

/* --- アクセスセクション --- */
.access-grid {
	display: flex;
	gap: 50px;
}

.access-item {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.access-name {
	font-size: 1.4rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.access-dot {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: #ffbe71;
	border-radius: 50%;
	flex-shrink: 0;
}

.access-info {
	flex: 1;
	margin-bottom: 20px;
}

.access-info p {
	margin: 0;
	font-size: 1.0rem;
	line-height: 1.8;
	color: #808080;
	font-weight: 700;
}

.access-info a {
	color: #808080;
	text-decoration: underline;
}

.access-info a[href^="tel:"] {
	color: #789900;
}

.access-info a:hover {
	color: #7cb342;
}

.access-map {
	width: 100%;
}

.access-map iframe {
	width: 100%;
	height: 300px;
	border: 0;
}

.access-grid-single {
	max-width: calc(50% - 25px);
	margin-top: 50px;
}

/* ========================================
   レスポンシブ - タブレット
======================================== */
@media screen and (max-width: 1023px) {
	.company-header {
		padding: 40px 20px;
	}

	.company-header-title {
		font-size: 1.6rem;
	}

	.company-section-title {
		font-size: 1.5rem;
	}

	.company-content-row {
		gap: 30px;
	}

	.company-image {
		flex: 1;
	}

	.mission-image {
		flex: 45;
	}

	.mission-catchcopy p {
		font-size: 1.2rem;
	}
}

/* ========================================
   レスポンシブ - スマホ
======================================== */
@media screen and (max-width: 767px) {
	.company-header {
		padding: 30px 15px;
	}

	.company-header-title {
		font-size: 1.3rem;
		letter-spacing: 0.2em;
	}

	.company-section {
		padding: 40px 0;
	}

	.company-section-title {
		font-size: 1.3rem;
		margin-bottom: 25px;
	}

	.company-content-row,
	.company-content-row.reverse {
		flex-direction: column;
	}

	.company-image {
		flex: none;
		width: 100%;
	}

	.mission-item,
	.mission-item.reverse {
		flex-direction: column;
	}

	.mission-item .mission-text-area {
		order: 1;
	}

	.mission-item .mission-image {
		order: 2;
	}

	.mission-image {
		flex: none;
		width: 100%;
	}

	.mission-catchcopy p {
		font-size: 1.1rem;
	}

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

	.company-info-table th {
		font-size: 1.0rem;
		padding: 12px 10px;
		border-bottom: none;
	}

	.company-info-table td {
		font-size: 1.0rem;
		padding: 12px 10px;
	}

	.company-info-table .first-row th {
		border-top: 1px solid #b3b3b3;
	}

	.company-info-table .first-row td {
		border-top: none;
	}

	.access-grid {
		flex-direction: column;
		gap: 40px;
	}

	.access-grid-single {
		max-width: 100%;
	}
}