@charset "utf-8";

/* =========================================================================================
Layout
=========================================================================================*/
#container {
	padding-bottom: 0;
}

/* =========================================================================================
midashi
=========================================================================================*/
.heading span:first-child {
	color: var(--main-color);
	font-size: clamp(1.875rem, 1.276rem + 2.049vi, 2.813rem);
	font-weight: 600;
	word-break: auto-phrase;
}
.heading span:last-child {
	color: #8b8b8b;
	font-size: clamp(0.75rem, 0.43rem + 1.093vi, 1.25rem);
	margin-top: 10px;
	font-weight: 600;
	display: block;
}

@media only screen and (max-width: 820px) {
	.heading {
		text-align: center;
		width: fit-content;
		margin-inline: auto;
	}
	.heading span:first-child {
		text-align: center;
	}
	.heading span:last-child {
		text-align: center;
	}
}
@media only screen and (max-width: 468px) {
	.heading span:first-child {
		font-size: var(--28px);
	}
}

/* =========================================================================================
main-visual
=========================================================================================*/
.main-visual {
	width: 100%;
	min-width: 1200px;
	max-height: 90vh;
	min-height: 600px;
	aspect-ratio: 1920 / 965;
	margin: auto;
	overflow: hidden;
	position: relative;
}
.main-visual .swiper-wrapper {
	/* wrapperのサイズを調整 */
	width: 100%;
	transition-timing-function: linear;
}
.main-visual .swiper-wrapper .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.main-visual .inner {
	max-width: 100vw;
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: left;
	gap: 0;
	position: absolute;
	bottom: 0;
	left: 50%;
	translate: -50% 0;
	z-index: 10;
}
.main-visual .inner .catch {
	/*font-size: clamp(2.313rem, calc(-0.107rem + 8.271vw), 5.063rem);*/ /* min: 37px, max: 81px */
	font-size: 4.0em;
/*	font-weight: var(--black-font-weight);*/
	font-weight: 600;
	line-height: 1.3;
	color: var(--base-bg-color);
	padding-block: 10vh;
	filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.6));
}
.main-visual .inner .news {
	width: 80%;
	max-width: 800px;
	position: absolute;
	right: -15px;
	bottom: 30px;
}
.main-visual .inner .news .contents {
	display: flex;
	align-items: center;
	gap: 20px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50px;
	color: var(--base-bg-color);
	padding: 10px 30px;
}
.main-visual .inner .news .title {
	white-space: nowrap;
	padding-right: 20px;
}
.main-visual .inner .news ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 15px;
	position: relative;
}
.main-visual .inner .news ul::before {
	content: "";
	width: 1px;
	height: 85%;
	background-color: #fff;
	position: absolute;
	left: -20px;
	top: 50%;
	translate: 0 -50%;
}
.main-visual .inner .news li {
	display: flex;
	width: 100%;
}
.main-visual .inner .news .date {
	margin-right: 20px;
	white-space: nowrap;
}
.main-visual .inner .news a {
	color: #fff;
}
.main-visual .inner .news a:hover {
	opacity: 0.8;
}
@media only screen and (max-width: 1200px) {
	.main-visual .inner {
		width: calc(100vw - 20px - 20px);
		padding-inline: 20px;
		left: 0;
		translate: 0;
	}
	.main-visual .inner .catch {
		font-size: clamp(2.313rem, calc(-0.107rem + 8.271vw), 4.000rem); /* min: 37px, max: 81px */
		padding-block: 10vh 12.5vh;
	}
	.main-visual .inner .news {
		right: 20px;
		bottom: 20px;
	}
}
@media only screen and (max-width: 820px) {
	.main-visual {
		width: 100%;
		min-width: auto;
		aspect-ratio: 390 / 548;
		max-height: 800px;
		min-height: auto;
	}
	.main-visual .swiper-wrapper {
		min-width: 100%;
		max-height: none;
	}
	.main-visual .inner {
		width: 100%;
		min-width: 375px;
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		align-items: start;
		justify-content: end;
		gap: 0;
	}
	.main-visual .inner .catch {
		width: 100%;
		padding-block: 0;
	}
	.main-visual .inner .news {
		position: static;
		padding-block: 3vh 5vh;
		width: 100%;
	}
	.main-visual .inner .news .contents {
		border-radius: 35px;
	}
	.main-visual .inner .news ul {
		display: block;
	}
	.main-visual .inner .news li {
		display: block;
	}
}
@media only screen and (max-width: 468px) {
	.main-visual {
		width: 100%;
		max-height: none;
		min-height: auto;
	}
	.main-visual .swiper-wrapper .swiper-slide img {
		object-position: center;
	}
}

/* =========================================================================================
What Medies Can Do
=========================================================================================*/
.what-medies-can-do {
	width: 100%;
	max-height: 1000px;
	aspect-ratio: 16 / 9;
	background: url(../images/bg_what-medies-can-do.jpg) no-repeat center bottom;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: 100px 200px;
}
.what-medies-can-do .inner {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	justify-content: space-between;
	gap: 5%;
}
.what-medies-can-do .inner h2 {
	width: 45%;
}
.what-medies-can-do .inner .main {
	width: 50%;
	max-width: 600px;
}
.what-medies-can-do .inner .main p {
	line-height: 2;
}
.what-medies-can-do .inner .main p + p {
	margin-top: 1.5em;
}
@media only screen and (max-width: 820px) {
	.what-medies-can-do {
		max-height: auto;
		background: url(../images/bg_what-medies-can-do.jpg) no-repeat left bottom;
		background-size: 200%;
		padding-block: 100px 20vh;
	}
	.what-medies-can-do .inner {
		display: block;
	}
	.what-medies-can-do .inner h2,
	.what-medies-can-do .inner .main {
		width: 100%;
		max-width: 100%;
	}
}
@media only screen and (max-width: 468px) {
	.what-medies-can-do {
		padding-block: 50px 20vh;
	}
}

/* =========================================================================================
BUSINESS
=========================================================================================*/
.business {
	padding-block: 150px;
}
.business .heading {
	text-align: center;
}
.business .inner ul {
	display: flex;
	gap: 20px;
}
.business .inner ul li {
	width: calc((100% - 20px - 20px) / 4);
	border: 1px solid #adadad;
	border-radius: 20px;
	padding: 40px 20px;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	background-color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
}
.business .image img {
	max-height: 200px;
}
.business .service_name {
	flex-grow: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-block: 1em;
}
.business .service_name h3 {
	font-size: clamp(1.05rem, 0.85rem + 0.683vi, 1.35rem);
	text-align: center;
	word-break: normal;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
}
.business .service_name small {
	color: #8b8b8b;
	font-size: clamp(0.625rem, calc(0.405rem + 0.752vw), 0.675rem); /* min: 10px, max: 14px */
	display: block;
}
@media only screen and (max-width: 820px) {
	.business {
		padding-block: 100px;
	}
	.business .inner ul {
		flex-direction: column;
		max-width: var(--minimum-contents-width);
		margin: auto;
	}
	.business .inner ul li {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 1.5fr;
		align-items: start;
		gap: 0;
		padding: 30px;
	}
	.business .inner ul li .image {
		grid-area: 1 / 1 / 3 / 2;
	}
	.business .inner ul li .service_name {
		grid-area: 1 / 2 / 2 / 3;
	}
	.business .inner ul li .btn {
		grid-area: 2 / 2 / 3 / 3;
	}

	.business .image {
		padding-right: 30px;
	}
	.business .service_name {
		text-align: left;
		align-items: start;
		margin-block: 0 0.5em;
	}
	.business .service_name h3 {
		text-align: left;
		margin: 0;
		margin-bottom: 0.25em;
	}
	.business .inner ul li .btn {
		white-space: nowrap;
		display: block;
		margin-top: 0.5em;
	}
}
@media only screen and (max-width: 468px) {
	.business {
		padding-block: 50px;
	}
	.business .inner ul {
		gap: 20px;
	}
	.business .inner ul li {
		padding: 20px;
	}
	.business .image {
		padding-right: 20px;
	}
}

/* =========================================================================================
MENU
=========================================================================================*/
.menu {
	background-color: #e3e3e3;
	padding-block: 100px;
}
.menu ul {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 5%;
}
.menu ul li {
	position: relative;
	width: 47.5%;
}
.menu ul li h2 {
	margin-bottom: 0;
	text-align: center;
}
.menu ul li h2 span:first-child {
	color: var(--base-bg-color);
	font-size: var(--25px);
	font-weight: 600;
}
.menu ul li h2 span:last-child {
	color: var(--base-bg-color);
	font-size: var(--15px);
	font-weight: 500;
}
.menu ul li a {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 570 / 210;
	overflow: hidden;
	border-radius: 20px;
}
.menu ul li.company a {
	background: url("../images/bg_top_company.jpg") center/cover no-repeat;
}
.menu ul li.recruit a {
	background: url("../images/bg_top_recruit.jpg") center/cover no-repeat;
}
.menu ul li a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(39, 100, 59, 0.7);
	transition: background-color 0.5s ease;
	z-index: -1;
}
.menu ul li a:hover::before {
	background-color: rgba(30, 175, 78, 0.9);
}
.menu ul li a h2 {
	position: relative;
	z-index: 1;
}
.menu ul li div {
	position: absolute;
	right: 30px;
	bottom: 20px;
	z-index: 2;
}
@media only screen and (max-width: 820px) {
	.menu {
		padding-block: 75px;
	}
	.menu ul {
		gap: 30px;
		max-width: var(--minimum-contents-width);
		margin: auto;
	}
	.menu ul li {
		width: 100%;
	}
}
@media only screen and (max-width: 468px) {
	.menu {
		padding-block: 50px;
	}
	.menu ul {
		flex-wrap: wrap;
		gap: 20px;
	}
	.menu ul li div {
		position: absolute;
		right: 15px;
		bottom: 15px;
	}
}
