/* 事業所一覧 */

:root {
	--header-height: 80px;
}

#office {
	position: relative;
}

.slideshow-container {
	position: relative;
	margin: auto;
	overflow: hidden;
	height: calc(100vh - var(--header-height));
}

.slides {
	display: flex;
	transition: transform 0.5s ease;
	height: 100%;
}

.slide {
	min-width: 100%;
}

.slide img {
	width: 100%;
	display: block;
	object-fit: cover;
}

.arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	padding: 10px;
	cursor: pointer;
	user-select: none;
	font-size: 80px;
}

.arrow.left {
	left: 10px;
}

.arrow.right {
	right: 10px;
}

.office_title_wave {
	position: absolute;
	bottom: 230px;
	width: 100%;
	opacity: 0.9;
}

.office_title {
	width: 100%;
	font-size: 36px;
	color: #fff;
	text-align: center;
	letter-spacing: 1.5px;
	background-color: #37a42c;
	opacity: 0.9;
}

.office_contents {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}

.office_contents .office_content:first-child {
	border-right: 2px solid #009846;
}

.office_contents .office_content:second-child {
	border-left: 2px solid #009846;
}

.office_content {
	width: 100%;
	height: 180px;
	padding: 50px 0 0 100px;
	margin: auto;
}

.office_link {
	display: flex;
	gap: 20px;
	align-items: center;
	cursor: pointer;
}

.office_link a {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: #00a945;
}

.office_link_arrow {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin: 5px 0;
	background-color: #28a745; /* 緑色 */
	border-radius: 50%;
}

.office_link_arrow::after {
	position: absolute;
	top: 5px;
	right: 7px; /* 矢印を丸の右側に配置 */
	width: 10px;
	height: 10px;
	content: "";
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.office_address {
	font-size: 18px;
	font-weight: 700;
	color: #222;
}
