/* fv */
.fv {
	width: 100%;
	height: auto;
	background-image: url("../img/fv.webp");
	background-size: cover;
	background-position: center;
	position: relative;
	/* top: 48px; */
	top: 0;
	aspect-ratio: 5000/2718;
	z-index: 1;
}

.fv_item01 {
	position: absolute;
	width: 100%;
	height: auto;
	top: 0;
	left: 0;
	aspect-ratio: 5000/2718;
	z-index: 2;
	clip-path: inset(0 60% 0 0);
	transition: clip-path 1.2s cubic-bezier(0.4, 0.5, 0.9, 0.7);
}
.fv_item02 {
	position: absolute;
	width: 100%;
	height: auto;
	top: 0;
	left: 0;
	aspect-ratio: 5000/2718;
	z-index: 2;
	clip-path: inset(0 60% 0 0);
	transition: clip-path 1.2s cubic-bezier(0.4, 0.5, 0.9, 0.7);
}

@media screen and (max-width: 768px) {
	.fv_item01 {
		clip-path: inset(0 100% 0 0);
		transition: clip-path 0.9s cubic-bezier(0.4, 0.5, 0.9, 0.7);
	}
	.fv_item02 {
		clip-path: inset(0 100% 0 0);
		transition: clip-path 0.9s cubic-bezier(0.4, 0.5, 0.9, 0.7);
	}
}

.fv_item01.is_active {
	clip-path: inset(0 0 0 0);
}

.fv_item02.is_active {
	clip-path: inset(0 0 0 0);
}

@media screen and (max-width: 768px) {
	.fv {
		background-image: url("../img/fv_sp.webp");
		top: 48px;
		aspect-ratio: 1572/2216;
	}

	.fv_item01 {
		aspect-ratio: 1572/2216;
	}
	.fv_item02 {
		aspect-ratio: 1572/2216;
	}
}

/* Service */
.service {
	margin: 120px 0 0;
	width: 100%;
	height: auto;
	background-image: url(../img/service_bg.webp);
	background-size: cover;
	background-position: center center;
	position: relative;
	z-index: 0;
	aspect-ratio: 5000/3131;
}

.service_sp {
	display: none;
}

.service-content {
	margin: 0 auto; /* 中央寄せ */
	position: absolute;
	top: 100px;
	left: 50%;
	width: 50.559%;
	height: auto;
}

.service-label {
	font-size: 21.61px;
	color: #777777;
	position: relative;
	padding-left: 18px;
	font-weight: 500;
}

.service-label::before {
	content: "";
	display: block;
	width: 6.75px;
	height: 6.75px;
	background-color: #cb2020;
	position: absolute;
	border-radius: 1.35px;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.service-main-title {
	font-weight: 900; /* より太いウェイトに */
	line-height: 1.2;
	letter-spacing: 1px;
	color: #121212;
}

.service-main-title img {
	width: 183.19px;
	height: auto;
}

.service-main-title-small {
	font-size: 26px;
	font-weight: 500;
	margin-left: 10px;
}

.service-subtitle {
	font-size: 26px;
	font-weight: bold;
	line-height: 1.6;
	margin: 26px 0;
	color: #121212;
}

.service-description-wrapper {
	color: #535151;
}

.service-description-wrapper p {
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 1.5em;
	color: #535151;
}

.service-description-wrapper p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 950px) {
	.service-content {
		top: -5%;
		padding-right: 10px;
	}
}

@media screen and (max-width: 768px) {
	.service {
		background-image: none;
	}

	.service_sp {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 1572/2060;
		margin: -20px 0 0;
	}

	.service-content {
		position: initial;
		width: 100%;
		height: auto;
		margin: -60px 0 0;
		/* padding: 0 10px; */
		padding: 0 2.544%;
	}

	.service-label {
		font-size: 18px;
		color: #777777;
		position: relative;
		padding-left: 18px;
		font-weight: 500;
	}

	.service-label::before {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		background-color: #cb2020;
		border-radius: 1.35px;
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
	}

	.service-main-title {
		font-size: 80px;
		font-weight: 900; /* より太いウェイトに */
		line-height: 1.2;
		letter-spacing: 1px;
		color: #121212;
	}

	.service-main-title img {
		width: 183.19px;
		height: auto;
	}

	.service-main-title-small {
		font-size: 24px;
		font-weight: 500;
		margin-left: 10px;
	}

	.service-subtitle {
		font-size: 26px;
		font-weight: bold;
		line-height: 1.6;
		margin: 26px 0;
		color: #121212;
	}

	.service-description-wrapper p {
		font-size: 16px;
		line-height: 1.4;
		margin-bottom: 1.5em;
		color: #535151;
	}

	.service-description-wrapper p:last-child {
		margin-bottom: 0;
	}
}

/* For Sections (Workers & Companies) */

.for-worker-company_wrapper {
	width: 100%;
	height: auto;
	background-image: url(../img/for-worker_company-bg.webp);
	background-size: cover;
	background-position: center center;
	/* position: relative; */
	z-index: 0;
	/* aspect-ratio: 5000/4895; */
	padding: 126px 0;
}

.for-workers .for-container {
	width: 100%;
	max-width: 1740px;
	height: auto;
	/* background-image: url(../img/for-workers.webp);
	background-size: cover;
	background-position: center center;
	position: relative; */
	margin-top: 20px;
	z-index: 0;
	aspect-ratio: 5000/2251;
	transition: all 0.3s ease;
}

.for-workers .for-container:hover {
	opacity: 0.6;
}

/* .for-workers .for-container .btn {
	background-color: #cb2020;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	position: absolute;
	top: 57.367%;
	left: 26.015%;
} */

.for-companies {
	width: 100%;
	/* max-width: 1305px; */
	max-width: 1740px;
	height: auto;
	/* background-image: url(../img/for-companies.webp);
	background-size: cover;
	background-position: center center;
	position: relative; */
	margin: 57px 0 0 auto;
	/* top: 616px;
	right: 0; */
	z-index: 0;
	aspect-ratio: 5000/2065;
	transition: all 0.3s ease;
}

.for-companies .for-container:hover {
	opacity: 0.6;
}

/* .for-companies .for-container .btn {
	background-color: #161616;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	position: absolute;
	top: 58.341%;
	left: 49.2%;
} */

@media screen and (max-width: 768px) {
	.for-worker-company_wrapper {
		/* padding: 126px 0 0; */
		padding: 0 0 0;
		margin: -50px 0 0;
	}

	.for-workers .for-container {
		/* background-image: url(../img/for-workers_sp.webp); */
		aspect-ratio: 1572/2160;
	}

	/* .for-workers .for-container .btn {
		min-width: 215px;
		top: 79.629%;
		left: 50%;
		transform: translateX(-50%);
	} */

	.for-companies {
		/* background-image: url(../img/for-companies_sp.webp); */
		aspect-ratio: 1572/2160;
		margin: 0;
	}

	/* .for-companies .for-container .btn {
		min-width: 215px;
		top: 79.629%;
		left: 50%;
		transform: translateX(-50%);
	} */
}

/* News */
.news {
	padding: 120px 0;
	/* background: linear-gradient(180deg, #ffffff 0%, #fff9f9 100%); */
	background-image: url(../img/news_bg.webp);
	background-size: cover;
	background-position: center center;
	width: 100%;
	height: auto;
}

.news-wrapper {
	background-color: #fff;
	border-radius: 24px;
	padding: 60px 70px;
	box-shadow: 0 15px 50px rgba(100, 0, 0, 0.05);
	max-width: 1140px;
	margin: 0 min(2.544%, 10px);
}

@media screen and (max-width: 900px) {
	.news-wrapper {
		padding: 60px 20px;
	}
}

.news-title-area {
	text-align: center;
	margin-bottom: 40px;
}

.news-title-sub {
	font-size: 15px;
	color: #333;
	position: relative;
	padding-left: 18px;
	font-weight: 500;
}

.news-title-sub::before {
	content: "";
	display: block;
	width: 6.75px;
	height: 6.75px;
	background-color: #cb2020;
	border-radius: 1.35px;

	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.news-title-main {
	font-size: 64px;
	font-weight: 900;
	color: #1a1a1a;
	margin-top: 10px;
	line-height: 1.2;
	letter-spacing: 1px;
}

.news-list {
	list-style: none;
	padding: 0;
	margin: 0;
	pointer-events: none;
}

.news-item {
	margin-bottom: 14px;
}

.news-item:last-child {
	margin-bottom: 0;
}

.news-item a {
	display: flex;
	align-items: center;
	padding: 18px 25px;
	background-color: #f9fafb;
	border-radius: 10px;
	text-decoration: none;
	color: #333;
	transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.news-item a:hover {
	background-color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.news-date {
	font-size: 16px;
	color: #555;
	font-weight: 500;
	min-width: 110px;
}

.news-item-title {
	flex: 1;
	font-size: 16px;
	margin: 0 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.news-arrow {
	width: 24px;
	height: 24px;
	position: relative;
}

.news-arrow::after {
	content: "→";
	font-family: sans-serif;
	font-size: 18px;
	color: #cb2020;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.3s;
}

.news-item a:hover .news-arrow::after {
	transform: translate(-50%, -50%) translateX(4px);
}

.no-posts {
	text-align: center;
	padding: 20px;
	color: #888;
}

/* News "and more" Link */
.news-more-link-wrapper {
	text-align: center;
	margin-top: 50px;
}

.news-more-link {
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	color: #333;
	text-decoration: none;
	padding: 14px 45px;
	border: 1px solid #ddd;
	border-radius: 50px;
	transition: all 0.3s ease;
	position: relative;
	padding-right: 70px; /* 矢印のためのスペース */
}

.news-more-link:hover {
	background-color: #f8f8f8;
	border-color: #ccc;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.news-more-link::after {
	content: "→";
	font-family: sans-serif;
	font-size: 20px;
	color: #cb2020;
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
	transition: transform 0.3s ease;
}

.news-more-link:hover::after {
	transform: translateY(-50%) translateX(5px);
}

@media screen and (max-width: 768px) {
	.news-title-sub::before {
		border-radius: 1.35px;
	}

	.news-item a {
		flex-direction: column !important;
		align-items: flex-start;
		padding: 20px 25px;
		background-color: #f9fafb;
		border-radius: 10px;
		text-decoration: none;
		color: #333;
		transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
	}

	.news-item-title {
		font-size: 16px;
		margin: 0;
		display: block;
		width: 100%;
	}

	.news_pc_only {
		display: none;
	}
}

/* column */

/* コラムセクション全体 */
.column-section {
	width: 100%;
	max-width: 1200px;
	margin: 40px auto;
	/* padding: 0 20px; */
	padding: 0 49px;
	box-sizing: border-box;
}

/* セクションタイトル */
.column-title-area {
	max-width: 1140px;
	margin: 0 min(2.544%, 10px) 40px;
}

.column-title-sub {
	font-size: 15px;
	color: #333;
	position: relative;
	padding-left: 18px;
	font-weight: 500;
}

.column-title-sub::before {
	content: "";
	display: block;
	width: 6.75px;
	height: 6.75px;
	background-color: #cb2020;
	border-radius: 1.35px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.column-title-main {
	font-size: 64px;
	font-weight: 900;
	color: #1a1a1a;
	margin-top: 10px;
	line-height: 1.2;
	letter-spacing: 1px;
}

/* 記事リスト */
.column-list {
	display: flex;
	gap: 40px; /* 記事間の余白 */
	justify-content: space-between;
}

/* 各記事アイテム */
.column-item {
	width: calc(33.333% - 20px); /* 3カラムレイアウト */
	box-sizing: border-box;
	transition: all 0.3s ease;
}

.column-item:hover {
	opacity: 0.7;
}

.column-item-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

/* アイキャッチ画像 */
.column-item-eyecatch img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10; /* 画像の縦横比を固定 */
	object-fit: cover;
	margin-bottom: 15px;
	border-radius: 24px;
}

/* 記事コンテンツエリア */
.column-item-content {
	padding: 0 5px;
}

/* 記事タイトル */
.column-item-title {
	font-size: 1.1rem;
	font-weight: bold;
	line-height: 1.5;
	margin: 0 0 10px 0;
}

/* 投稿日 */
.column-item-date {
	font-size: 0.9rem;
	color: #555;
	display: block;
	margin-bottom: 10px;
}

/* 抜粋 */
.column-item-excerpt {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #333;
	margin: 0;
}

.column-more-button-wrapper {
	width: 100%;
	text-align: center;
}

.column-more-button {
	/* ボックスの設計 */
	width: 165px;
	height: auto;
	margin: 60px 0;
	display: inline-block; /* インラインブロック要素として表示 */
	padding: 16px 32px; /* 内側の余白（上下、左右） */
	box-sizing: border-box; /* paddingを含めて幅を計算 */

	/* 見た目の設定 */
	background-color: #111; /* 背景色 */
	color: #fff; /* 文字色 */
	font-size: 15px; /* 文字の大きさ */
	font-weight: bold; /* 文字の太さ */
	text-align: center; /* 文字を中央揃えに */
	text-decoration: none; /* テキストの下線を消す */
	border-radius: 50px; /* 角を丸くする */

	/* アニメーション */
	transition: background-color 0.3s ease; /* 背景色の変化を滑らかに */
}
/* ホバーした時のスタイル */
.column-more-button:hover {
	background-color: #cb2020; /* 背景色を変更 */
	color: #fff; /* 文字色（変更なし） */
}

/* --- レスポンシブ対応 (スマートフォンなど) --- */
@media (max-width: 870px) {
	.column-section {
		/* padding: 0 min(2.544%, 10px); */
		padding: 0 20px;
	}

	.column-title-area {
		text-align: center;
	}

	.column-list {
		flex-direction: column; /* 縦並びに変更 */
		gap: 40px;
	}

	.column-item {
		width: 100%; /* 幅を100%に */
	}

	.column-title-sub::before {
		border-radius: 1.35px;
	}
}

/* company_contact */
.company_contact {
	background-image: url(../img/company_contact_bg.webp);
	background-size: cover;
	background-position: center center;
	width: 100%;
	height: auto;
}

/* Company */
.company {
	padding: 120px 0;
	/* background-color: #f9fafb; */
}

.company-title-area {
	max-width: 1140px;
	margin: 0 min(2.544%, 10px) 40px;
}

.company-title-sub {
	font-size: 15px;
	color: #333;
	position: relative;
	padding-left: 18px;
	font-weight: 500;
}

.company-title-sub::before {
	content: "";
	display: block;
	width: 6.75px;
	height: 6.75px;
	background-color: #cb2020;
	border-radius: 1.35px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.company-title-main {
	font-size: 64px;
	font-weight: 900;
	color: #1a1a1a;
	margin-top: 10px;
	line-height: 1.2;
	letter-spacing: 1px;
}

.company-card {
	background-color: #fff;
	border-radius: 24px;
	padding: 40px 70px;
	box-shadow: 0 15px 50px rgba(100, 0, 0, 0.05);
	max-width: 1140px;
	margin: 0 min(2.544%, 10px);
}

.company-info {
	margin: 0;
}

.company-info-row {
	display: flex;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 16px;
}

.company-info-row:first-child {
	padding-top: 10px;
}

.company-info-row:last-child {
	border-bottom: none;
	padding-bottom: 10px;
}

.company-info-row dt {
	flex: 0 0 160px;
	font-size: 18px;
	font-weight: bold;
	color: #555;
	padding-top: 2px; /* ddとの微調整 */
}

.company-info-row dd {
	flex: 1;
	font-weight: 400;
	margin: 0;
	color: #333;
	line-height: 1.7;
}

@media screen and (max-width: 768px) {
	.company-title-area {
		max-width: 1140px;
		margin: 0 min(2.544%, 10px) 40px;
		text-align: center;
	}
	.company-title-sub {
		font-size: 18px;
		padding-left: 18px;
		position: relative;
		font-weight: 500;
		/* left: 50%;
		transform: translateX(-50%); */
	}

	.company-title-sub::before {
		border-radius: 1.35px;
	}

	.company-title-main {
		font-size: 46px;
	}

	.company-card {
		background-color: #ffffff;
		border-radius: 24px;
		padding: 40px 5.362%;
		box-shadow: none;
		max-width: 1140px;
		margin: 0 min(2.544%, 10px);
	}

	.company-info-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.company-info-row dt {
		flex: 0 0 6px;
	}
}
