@charset "UTF-8";

.mv-area {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-image: url(../img/company/main_pc.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media screen and (max-width: 800px) {
	.mv-area {
		background-image: url(../img/company/main_sp.jpg);
	}
}

.mv-area .mv-area-title {
	margin-bottom: 90px;
}

.company-link-area {
	width: 52.0833333333%;
	margin: 100px auto;
}

@media screen and (max-width: 800px) {
	.company-link-area {
		width: 80%;
	}
}

.company-link-area .link-list {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}

@media screen and (max-width: 800px) {
	.company-link-area .link-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

.company-link-area .link-list > li .btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	width: 11.4583vw;
	height: 3.6458vw;
	min-width: 110px;
	min-height: 44px;
	background-color: #f6f4f5;
	border-radius: 2.8646vw;
	font-size: clamp(14px, 0.9375vw, 18px);
	color: #212121;
	transition: opacity 0.2s ease;
}

@media screen and (max-width: 800px) {
	.company-link-area .link-list > li .btn {
		width: 100%;
		height: 60px;
		min-width: 0;
		min-height: 0;
		font-size: 14px;
		border-radius: 999px;
		/* 高さの半分を確実に超える値でPCと同じピル型に */
	}
}

.company-link-area .link-list > li .btn::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1.5625vw;
	width: 0.6em;
	height: 0.6em;
	min-width: 8px;
	min-height: 8px;
	margin: auto 0;
	border-top: 1px solid #212121;
	border-right: 1px solid #212121;
	transform: translateY(-25%) rotate(135deg);
	box-sizing: border-box;
}

@media screen and (max-width: 800px) {
	.company-link-area .link-list > li .btn::after {
		right: 20px;
	}
}

.company-link-area .link-list > li .btn:hover {
	opacity: 0.85;
}

.company-area {
	width: 52.0833333333%;
	margin: 100px auto;
}

@media screen and (max-width: 800px) {
	.company-area {
		width: 80%;
	}
}

.company-area .contents-title-set {
	--slash-color: #0c308e;
	margin-bottom: 60px;
}

.company-area .contents-title-set h2 {
	color: #0c308e;
}

.company-area .company-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.company-area .company-table tr {
	border-bottom: 1px solid #e0e0e0;
}

.company-area .company-table tr th {
	width: 100%;
	display: block;
	padding: 20px 0 0 0;
	font-size: 18px;
	font-weight: 400;
	color: #0c308e;
	text-align: left;
}

@media screen and (max-width: 800px) {
	.company-area .company-table tr th {
		font-size: 16px;
	}
}

.company-area .company-table tr td {
	width: 100%;
	display: block;
	padding: 5px 0 20px 0;
	font-size: 16px;
}

@media screen and (max-width: 800px) {
	.company-area .company-table tr td {
		font-size: 14px;
	}
}

.company-area .company-table tr td .add-area {
	display: flex;
	align-items: center;
}

@media screen and (max-width: 800px) {
	.company-area .company-table tr td .add-area {
		display: flex;
		flex-direction: column;
		align-items: normal;
	}
}

.company-area .company-table tr td .add-area > p {
	flex-shrink: 1;
	padding-right: 20px;
}

@media screen and (max-width: 800px) {
	.company-area .company-table tr td .add-area > p {
		padding-right: 0;
		padding-bottom: 10px;
	}
}

.company-area .company-table tr td .add-area .g-map-link {
	flex-shrink: 0;
}

@media screen and (max-width: 800px) {
	.company-area .company-table tr td .add-area .g-map-link .gmap-btn {
		width: 150px;
		height: 30px;
		font-size: 13px;
	}
}

.company-area .company-table tr td .member-area {
	display: grid;
	grid-template-columns: max-content max-content 1fr;
	column-gap: 20px;
}

@media screen and (max-width: 800px) {
	.company-area .company-table tr td .member-area {
		grid-template-columns: max-content 1fr;
	}
}

@media screen and (max-width: 800px) {
	.company-area .company-table tr td .member-area .member-name {
		grid-row: span 2;
	}
}

.company-area .company-table tr td .member-area .member-en {
	font-family: Outfit !important;
}

.company-area .access-area .access-title {
	font-size: 18px;
	color: #0c308e;
	margin-bottom: 10px;
}

@media screen and (max-width: 800px) {
	.company-area .access-area .access-title {
		font-size: 16px;
	}
}

.company-area .access-area .access-txt {
	font-size: 16px;
	margin-bottom: 15px;
}

@media screen and (max-width: 800px) {
	.company-area .access-area .access-txt {
		font-size: 14px;
	}
}

.company-area .access-area .access-txt + .company-area .access-area .access-txt {
	margin-bottom: 0;
}

.company-area .access-area .access-map {
	height: 390px;
}

.company-area .chart-area {
	width: 53.5714285714%;
	aspect-ratio: 657/618.2;
}

@media screen and (max-width: 800px) {
	.company-area .chart-area {
		width: 100%;
	}
}

.company-area .history-area {
	--line-width: 2px;
	--dot-size: 10px;
	position: relative;
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.company-area .history-area::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: var(--line-width);
	background-color: #0c308e;
}

.company-area .history-area .history-item {
	grid-column: 1/-1;
	display: grid;
	grid-template-columns: subgrid;
	padding: 20px;
	box-sizing: border-box;
}

@media screen and (max-width: 800px) {
	.company-area .history-area .history-item {
		padding: 20px 0;
	}
}

.company-area .history-area .history-item:not(:first-child) {
	margin-top: 0;
}

.company-area .history-area .history-item:last-child {
	margin-bottom: 30px;
}

.company-area .history-area .history-item:nth-child(odd) {
	grid-column: 1/-1;
}

.company-area .history-area .history-item:nth-child(odd) .year,
.company-area .history-area .history-item:nth-child(odd) .history-txt {
	grid-column: 1;
	text-align: right;
	padding-right: 30px;
}

.company-area .history-area .history-item:nth-child(odd) .year::before {
	right: calc(-1 * var(--dot-size) / 2);
}

.company-area .history-area .history-item:nth-child(even) .year,
.company-area .history-area .history-item:nth-child(even) .history-txt {
	grid-column: 2;
	text-align: left;
	padding-left: 30px;
}

.company-area .history-area .history-item:nth-child(even) .year::before {
	left: calc(-1 * var(--dot-size) / 2);
}

.company-area .history-area .year {
	font-size: 19px;
	color: #0c308e;
	margin-bottom: 3px;
	position: relative;
}

@media screen and (max-width: 800px) {
	.company-area .history-area .year {
		font-size: clamp(17px, 2.375vw, 19px);
	}
}

.company-area .history-area .year::before {
	content: "";
	position: absolute;
	width: var(--dot-size);
	height: var(--dot-size);
	border: var(--dot-border) solid #0c308e;
	background-color: #212121;
	border-radius: 100%;
	top: 50%;
	transform: translateY(-50%);
}

.company-area .history-area .history-txt {
	color: #212121;
}

.company-area .history-area .history-txt p {
	font-size: 16px;
	margin: 0 0 1em;
}

@media screen and (max-width: 800px) {
	.company-area .history-area .history-txt p {
		font-size: clamp(13px, 2vw, 16px);
	}
}

.company-area .history-area .history-txt p:last-child {
	margin-bottom: 0;
}

#history .company-area {
	margin: 100px auto 0 auto;
}
