/* 会社を知るページ */

body.company-page {
	background: linear-gradient(to bottom, #f0f0f0 50%, #ffffff 50%);
	/* 背景のグラデーション */
	z-index: -1;
	color: #331107;

}

.company-background {
	position: absolute;

	/* 背景色用要素を絶対位置に配置 */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #CCE5E1;
	clip-path: polygon(0px 0%, 74% 0%, 90% 8%, 0% 40%);
	/* 背景にクリップパス */
	z-index: -2;

	/* コンテンツの背面に配置 */
	overflow-x: hidden;
	box-sizing: border-box;
}

.company-background-b {
	position: absolute;

	/* 背景色用要素を絶対位置に配置 */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #CCE5E1;
	clip-path: polygon(30% 50%, 100% 20%, 100% 80%);
	z-index: 1;

	/* 背景にクリップパス */
	z-index: -3;

	/* コンテンツの背面に配置 */
	box-sizing: border-box;
}

.company-background-c {
	height: 600px;
	margin-top: -800px;
	background-color: #CCE5E1;
	clip-path: polygon(80% 100%, 0% 40%, 0% 100%);
	z-index: 3;
	box-sizing: border-box;
	position: relative;
}

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

.company-intro h1 {
	color: #1F9884;
	font-size: 2.5rem;
	font-weight: 800;
}

.sub-head-en {
	font-weight: 600;
}

.company-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin: 0 auto;
	padding: 20px;
	gap: 20px;
	box-sizing: border-box;
	height: auto;
}

.company-text-section {
	flex: 6;
	z-index: 4;
}

.company-text-section h3,
.company-text-section p {
	color: #000;
}

.company-image-section {
	flex: 4;
	display: flex;
	justify-content: center;
	align-items: baseline;
	overflow: hidden;
	z-index: -2;
}


.company-image-section img {
	width: 140%;
}

.company-message-image,
.company-representative-photo {
	width: 100%;
	margin: 20px 0;
}

.company-name-image {
	width: 300px;
	text-align: right;

	/* 名前の画像だけ右寄せ */
	display: block;

	/* ブロック要素として扱う */
	float: inline-end;
	margin-top: 2rem;
}




.company-philosophy {
	background-color: #CCE5E1;
	margin-top: -2px;
}

.company-promise {
	background-color: #CCE5E1;
}

/* 見出しタイトル */
.philosophy-title {
	font-size: 2rem;
	font-weight: bold;
	text-align: left;
}

/* 見出しタイトル */
.history-title {
	font-size: 2rem;
	font-weight: bold;
	text-align: left;
	margin-bottom: 60px;
}


.philosophy-title-sub {
	color: #1F9884;
	font-size: 1.5rem;
	margin-bottom: 40px;
	margin-top: 10px;
}



.company-content {
	padding: 80px 0px;
	width: 1363px;
	max-width: 90vw;
	margin: 0 auto;
}

.company-content-b {
	padding: 80px 0px 16vh 0;
	width: 1363px;
	max-width: 90vw;
	margin: 0 auto;
	border-top: 1px solid #000;
}


/* コンテンツのラップ */
.philosophy-content {
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;

}

.philosophy-ontent-image {
	margin-top: 20px;
}


/* 各コンテンツブロック */
.philosophy-content-block {}

/* テキストエリア */
.philosophy-content-text {
	flex: 1;
	font-size: 1.1rem;
	line-height: 1.8;
	color: #555;
}

.philosophy-content-text h3 {
	font-size: 1.5rem;
	font-weight: 400;
	color: #fff;
	margin-bottom: 20px;
	background-color: #1F9884;
	padding: 0.2rem 1rem;
	display: inline-block;
	width: auto;
}

.philosophy-content-text h4 {
	margin-bottom: 20px;
}

.promise_head {
	margin-top: 40px;
}

.philosophy-wrap {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	box-sizing: border-box;
}

.philosophy-content-text p {
	margin: 0;
}

/* 画像エリア */
.philosophy-content-image {
	flex: 1;
	max-width: 600px;
	display: block;

}

.philosophy-content-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;

}



.information-container-back {
	width: 100%;
	background-color: #fff;
}

.information-container {
	padding: 16vh 0;
	width: 1363px;
	max-width: 90vw;
	margin: 0 auto;
}

.company-info-table {
	max-width: 900px;
	margin: 0 auto;
}

.company-table {
	width: 100%;
	border-collapse: collapse;
	font-family: Arial, sans-serif;
}

.company-table th,
.company-table td {
	padding: 20px 25px;
	text-align: left;
	vertical-align: top;
}

.company-table th {
	font-weight: bold;
	width: 30%;
}

.company-table td {
	width: 70%;
}



.company-table tr:nth-child(even) th,
.company-table tr:nth-child(even) td {
	background-color: #f7f7f7;
	/* 偶数行の背景色 */
}

.company-table tr:nth-child(odd) th,
.company-table tr:nth-child(odd) td {
	background-color: #ffffff;
	/* 奇数行の背景色 */
}


.company-table a {
	color: #0073e6;
	text-decoration: none;
}

.company-table a:hover {
	text-decoration: underline;
}

.branch-grid {
	display: grid;
	grid-template-columns: 1fr;
	/* 1列表示 */
	gap: 15px;
	/* 各店舗の間隔 */
}

.branch-item {
	padding: 10px;

}

.branch-item p {
	margin: 0;
}



.timeline {
	position: relative;
	margin: 0 auto;
	padding: 16vh 0;
	width: 1363px;
	max-width: 90vw;
	margin: 0 auto;
}

.timeline-item {
	padding-left: 40px;
	position: relative;
	display: flex;
	align-items: flex-start;
	min-height: 3rem;
	border-left: 2px solid #999;
	margin-bottom: 20px;

}

.timeline-date {
	font-weight: bold;
	color: #1F9884;
	font-size: 1.2rem;
	margin: 0 80px 0 20px;
	white-space: nowrap;

	/* Adds space between the date and content */
}

.timeline-content {
	position: relative;
	flex-grow: 1;
}

.timeline-content h3 {
	margin-top: 0;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: -17px;
	top: 15px;
	/* Aligns the dot with the top */
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	background-color: #1F9884;
	border-radius: 50%;
}

.information-container-back {
	background-color: #fff;
	overflow: hidden;
	/* 子要素のマージンを含む */
}



.graph {
	position: relative;
	margin: 0 auto;
	padding: 16vh 0;
	width: 1363px;
	max-width: 90vw;
	margin: 0 auto;
}

.graph img {

	width: 100%;
	margin: 0 auto;
}