@charset "UTF-8";

.firstview_container {
	position: relative;
	max-height: 1080px;
	height: 100vh;
	background-image: url(../images/top_fv.png);
	background-repeat: no-repeat;
	background-size: cover;
}

.keyvisual_video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	object-fit: cover;
}

.firstview-contents_container {
	display: flex;
	position: relative;
	max-width: 90%;
	height: 90%;
	margin: 0 auto;
	padding-top: 120px;
	color: #ffffff;
	justify-content: space-between;
}

.main-title_wrap {
	white-space: nowrap;
}

.main-title_text {
	font-family: "Noto Serif JP";
	font-size: clamp(3rem, -2.063rem + 18vw, 8.625rem);
	letter-spacing: clamp(0.7rem, -0.02rem + 2.56vw, 1.5rem);
	text-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

.main-title_textarea {
	font-weight: 700;
	font-size: clamp(0.875rem, 0.144rem + 2.6vw, 1.688rem);
	line-height: 2;
	text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.69);
}

.top-news_container.mb-news {
	display: none;
}

.top-news-list {
	max-width: 600px;
	width: 100%;
}

.top-news_container {
	position: absolute;
	right: 0;
	bottom: 0;
	max-width: 600px;
	width: 100%;
	margin-top: auto;
}

.top-news_content {
	padding-bottom: 12px;
	border-bottom: 1px solid #ffffff;
}

.top-news_content:not(:first-child) {
	margin-top: 12px;
}

.news-link {
	color: #ffffff;
}

.news-title_wrap {
	display: flex;
	padding: 0 20px;
	align-items: center;
}

.news-category {
	height: 100%;
	padding: 3px 14px;
	box-shadow: 0px 3px 6px #000000;
	background-color: #ffffff;
	color: #26221e;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}

.news-date {
	margin-left: 12px;
	font-size: 17px;
	text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.69);
}

.news-title {
	display: -webkit-box;
	overflow: hidden;
	margin-left: 16px;
	font-size: 17px;
	text-overflow: ellipsis;
	text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.69);
	-webkit-box-orient: vertical;

	-webkit-line-clamp: 1;
}

.arrow-right {
	margin-left: auto;
}

.service_container {
	margin-top: 36px;
	padding-bottom: 47px;
}

.content-title {
	text-align: center;
}

.ja-title {
	font-weight: 700;
	font-size: clamp(1.375rem, 0.619rem + 2.88vw, 2rem);
}

.en-title {
	color: #142b8b;
	font-family: "Noto serif JP";
	font-weight: 300;
	font-size: clamp(0.875rem, 0.572rem + 1.15vw, 1.125rem);
}

.service-content_container {
	position: relative; /* Relative positioning for pseudo-elements */
	overflow: visible; /* Hide overflow */
	max-width: 700px;
	width: 90%;
	margin: auto;
	padding: 32px 20px; /* Side padding */
	background-image: url(../images/logo-opacity.png);
	background-repeat: no-repeat;
	background-position-x: 95%;
	background-position-y: 95%;
}

.service-content_container::before , .service-content_container::after {
	position: absolute;
	transform: rotate(5deg); /* 左側の斜め線 */
	width: 4px; /* 線の太さ */
	height: 100%;
	background-color: #142b8b; /* 線の色 */
	content: "";
}

.service-content_container::before {
	top: 0;
	left: 0;
}

.service-content_container::after {
	top: 0;
	right: 0;
	transform: rotate(5deg); /* 右側の斜め線 */
}

.service-text {
	position: relative; /* Make sure text is above the borders */
	z-index: 2; /* Ensure text appears above the borders */
	font-family: "Noto serif JP";
	font-weight: 700;
	font-size: clamp(1.563rem, 0.906rem + 2.5vw, 1.938rem);
	line-height: 2;
	text-align: center;
}

.br-mb {
	display: none;
}

.br-pc {
	display: inline;
}

.service-text br:not(.br-pc, .br-all) {
	display: none;
}

.br-all , .br-pc {
	display: inline;
}

.text-blue {
	color: #142b8b;
}

.setvice-textarea {
	margin-top: 16px;
	font-size: clamp(0.875rem, 0.656rem + 0.83vw, 1rem);
	line-height: 2;
	text-align: center;
}

.service-list_container {
	margin-top: 52px;
}

.service-list {
	display: flex;
	max-width: 1000px;
	width: 90%;
	margin: auto;
	flex-wrap: wrap;
	justify-content: space-between;
}

.list-content {
	max-width: 320px;
	width: calc(100% / 3);
}

.service-img {
	max-width: 100%;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.title_wrap {
	display: flex;
	margin-bottom: 6px;
	justify-content: center;
	align-items: center;
}

.number-design {
	display: flex;
	position: relative;
	z-index: 3;
	width: clamp(3.25rem, 2.796rem + 1.73vw, 3.625rem);
	height: clamp(3rem, 2.622rem + 1.44vw, 3.313rem);
	background-image: url(../images/number-bg.png);
	background-size: cover;
	color: #142b8b;
	font-family: "Noto serif JP";
	font-weight: 700;
	font-size: clamp(1.875rem, 1.421rem + 1.73vw, 2.25rem);
	justify-content: center;
	align-items: center;
}

.img_wrap {
	position: relative;
}

.img_wrap::after {
	position: absolute;
	right: 0;
	bottom: 0;
	border-bottom: 72px solid rgba(20, 43, 139, 0.9);
	border-left: 72px solid transparent;
	content: "";
}

.service-content-title {
	display: inline-block;
	position: relative;
	left: -8px;
	z-index: 2;
	overflow: hidden;
	width: calc(100% - 50px);
	height: 100%;
	padding: 8px 16px;
	background-color: #142b8b;
	color: #ffffff;
	font-weight: 500;
	font-size: 19px;
	text-align: center;
}

.service-content-title::after {
	position: absolute;
	right: 0;
	bottom: 0;
	border-bottom: 43px solid #ffffff;
	border-left: 10px solid transparent;
	content: "";
}

.service-content-title span {
	font-size: clamp(0.938rem, 0.862rem + 0.29vw, 1rem);
}

.link-center {
	margin-top: 42px;
	text-align: center;
}

.service_link {
	display: inline-block;
}

.service_link_wrap {
	display: flex;
	position: relative;
	max-width: 100%;
	padding: 6px 18px;
	border: 2px solid #142b8b;
	border-radius: 36px;
	background-color: #142b8b;
	color: #ffffff;
	column-gap: 26px;
	justify-content: center;
	align-items: center;
	transition: all 0.5s;
}

.service_link_wrap:hover {
	background-color: #ffffff;
	color: #142b8b;
}

.service_link_wrap::after {
	display: inline-block;
	transform: rotate(-45deg);
	width: 12px;
	height: 12px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	content: "";
}

.service_link_wrap:hover::after {
	border-right: 2px solid #142b8b;
	border-bottom: 2px solid #142b8b;
}

.arrow_w {
	height: 100%;
}

.company_container {
	position: relative;
	padding-top: 80px;
	padding-bottom: 76px;
	background-image: url(../images/company-top_bg.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.company_container::before {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	content: "";
}

.company-content_container {
	position: relative;
	z-index: 2;
	max-width: 1000px;
	width: 90%;
	margin: auto;
	color: #ffffff;
}

.company-title {
	display: flex;
	position: relative;
	column-gap: 14px;
	align-items: flex-end;
}

.company-title::before {
	width: 56px;
	height: 1px;
	margin-bottom: 20px;
	background-color: #ffffff;
	content: "";
}

.company-title .en-title {
	color: #ffffff;
}

.company-textarea {
	margin-top: 28px;
	font-weight: 400;
	font-size: clamp(0.875rem, 0.724rem + 0.58vw, 1rem);
	line-height: 2;
}

.service_link.company_link {
	margin-top: 38px;
}

.service_link.company_link .service_link_wrap {
	border: 1px solid #ffffff;
	background-color: transparent;
}

.service_link.company_link .service_link_wrap:hover {
	background-color: #ffffff;
	color: #142b8b;
}

.job_container {
	padding-top: 100px;
	padding-bottom: 124px;
	background: linear-gradient(
	135deg,
	transparent 0%,
	transparent calc(70% - 20px),
	#f3f3f3 calc(70% - 20px),
	#f3f3f3 calc(90% + 20px),
	transparent calc(90% + 20px)
	);
}

.job-title {
	text-align: center;
}

.job-info_container {
	display: flex;
	max-width: 1000px;
	width: 90%;
	margin: auto;
	margin-top: 36px;
	column-gap: 40px;
	align-items: flex-start;
}

.video-wrap {
	position: relative;
}

.top_2-video {
	max-width: 100%;
	width: 560px;

	aspect-ratio: 560 / 360;
	object-fit: cover;
}

.video-decoration-img {
	position: absolute;
}

.video-decoration-img.left-top {
	top: -15px;
	left: -15px;
}

.video-decoration-img.right-bottom {
	right: -15px;
	bottom: -15px;
}

.job-info-content {
	max-width: 390px;
	width: 100%;
}

.recruitment-text {
	font-family: "Noto serif JP";
	font-size: clamp(2.063rem, 1.911rem + 0.58vw, 2.188rem);
	line-height: 1.2;
}

.recruitment-text span {
	color: #142b8b;
	font-size: clamp(2.563rem, 2.184rem + 1.44vw, 2.875rem);
}

.recruitment-bottom-text {
	margin-top: 8px;
	font-family: "Noto serif JP";
	font-weight: 700;
	font-size: 19px;
}

.job-info-content hr {
	width: 100%;
	height: 2px;
	margin-top: 10px;
	margin-bottom: 16px;
	background-color: #142b8b;
}

.job-bottom-textarea {
	font-weight: 400;
	font-size: 14px;
	line-height: 1.9;
}

.service_link.job_link {
	margin-top: 23px;
}

.top-news_container.pc-news {
	display: block;
}

@media screen and (max-width: 1080px) {
	.service-list {
		max-width: 800px;

		row-gap: 30px;
	}
	.list-content {
		width: calc(100% / 2);
	}
}

@media screen and (max-width: 767px) {
	.firstview_container {
		max-height: 590px;
	}
	.top-news_container.pc-news {
		display: none;
	}
	.top-news_container.mb-news {
		display: block;
		position: relative;
		width: 90%;
		margin: auto;
		margin-top: 20px;
	}
	.top-news_content {
		border-bottom: 1px solid #26221e;
	}
	.news-title_wrap {
		padding: 0;
		flex-wrap: wrap;

		row-gap: 10px;
	}
	.news-text-contents {
		width: 100%;
	}
	.news-category {
		border: 1px solid #707070;
		box-shadow: none;
	}
	.news-date {
		color: #a0a0a0;
		font-size: 13px;
		text-shadow: none;
	}
	.news-link {
		color: #26221e;
		font-weight: 700;
	}
	.news-title {
		margin-left: 0;
		font-size: 14px;
		text-shadow: none;
	}
	.news-text-contents {
		display: flex;
	}
	.arrow-right {
		border: 1px solid #a0a0a0;
		border-radius: 50%;
	}
	.job_container {
		padding-top: 45px;
		padding-bottom: 45px;
		background: none;
	}
	.job-info_container {
		flex-direction: column;
		align-items: center;

		row-gap: 18px;
	}
	.job-info-content hr {
		margin-bottom: 8px;
	}
	.video-decoration-img {
		width: 36px;
	}
	.video-decoration-img.left-top {
		top: -7px;
		left: -7px;
	}
	.video-decoration-img.right-bottom {
		right: -7px;
		bottom: -7px;
	}
}

@media screen and (max-width: 730px) {
	.firstview_container {
		background-position-x: 50%;
	}
	.firstview-contents_container {
		padding-top: 200px;
	}
	.service-list_container {
		margin-top: 15px;
	}
	.service-list {
		flex-direction: column;
		align-items: center;
	}
	.list-content {
		width: 100%;
	}
	.company_container {
		padding: 33px 0;
	}
	.company-textarea {
		margin-top: 16px;
	}
	.right-position {
		text-align: right;
	}
	.service_link.company_link {
		margin-top: 6px;
	}
}

@media screen and (max-width: 660px) {
	.service-content_container {
		padding-top: 20px;
		background-position-x: 50%;
		background-position-y: 50%;
	}
	.service-content_container::before , .service-content_container::after {
		display: none;
	}
	.service-text {
		line-height: 1.7;
	}
	.br-mb {
		display: inline;
	}
	.br-pc {
		display: none;
	}
}

@media screen and (max-width: 450px) {
	.list-content {
		max-width: 270px;
	}
}
