.recruit-section {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	height: 800px;
	position: relative;
}

.recruit-intro {
	position: absolute;
	/* 浮かせる */
	top: 26%;
	left: 50%;
	transform: translate(-50%, -50%);
	/* 完全に中央揃え */
	text-align: center;
	color: #fff;
	/* 背景に薄い白を追加（必要に応じて変更） */
	border-radius: 8px;
	/* 角を少し丸める */
	z-index: 10;
}

.recruit-title {
	font-size: 6rem;
	margin-bottom: 20px;
}

.recruit-subtitle {
	font-size: 2rem;
	margin-bottom: 20px;
}

.recruit-description {
	font-size: 1rem;
	line-height: 1.5;
}


.recruit-half {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	color: white;
}

.new-graduates {
	background: url('../images/path-to-new-graduates-image.jpg') center/cover no-repeat;
	position: relative;
	/* 画像が読み込めない場合の代替色 */
}


.new-graduates::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(31, 152, 132, 0.7);

	/* 乗算 */
	z-index: 1;
}


.career-recruits {
	background: url('../images/path-to-career-recruits-image.jpg') center/cover no-repeat;
	position: relative;
	/* 画像が読み込めない場合の代替色 */
}


.career-recruits::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(98, 155, 173, 0.7);
	/* #629BADの70%透明 */

	z-index: 1;
}

.content {
	text-align: center;
	z-index: 3;
	margin-top: 200px;
}

.recruit-heading {
	font-size: 2rem;
}

.top-btn {
	display: inline-block;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background-color: #ffdd00;
	color: #333;
	text-decoration: none;
	font-size: 2rem;
	font-weight: bold;
	line-height: 120px;
	text-align: center;
	transition: transform 0.3s ease, background-color 0.3s ease;
	margin-top: 20px;
}

.top-btn:hover {
	transform: scale(1.1);
	background-color: #ffcc00;
}

.recruit-half::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

/* ニュースセクションのスタイル */
/* ニュースセクションの全体スタイル */
.news-section {
	position: absolute;
	width: 60%;
	max-height: 30%;
	bottom: -20px;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	z-index: 15;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 30px;


}

.news-window-wrap {
	display: flex;
	padding: 20px;
	max-height: 400px;
}

/* ニュースウィンドウのスタイル */
.news-window {
	/* 白窓に不透明度70% */

	/* 高さ制限を設定（必要に応じて変更） */
	color: #333;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	/* 親要素にはスクロールを適用しない */
}

.news-meta {
	display: flex;
}

/* ニュースタイトル */
.news-title {
	font-size: 2.5rem;
	font-weight: bold;
	text-align: left;
}

/* ニュース投稿のスタイル */
.news-post {
	display: flex;
	align-items: center;
	margin-left: 40px;
}

.news-post-wrap {
	max-height: 100px;
	display: flex;
	align-items: start;
	margin-left: 40px;
	border-left: 1px solid #888;
}

.news-post a {
	color: #333;
}

/* 日付、カテゴリー、見出しのスタイル */
.news-date,
.news-category,
.news-heading {
	margin-bottom: 10px;
	margin-right: 10px;
}

.news-date,
.news-category {
	width: 100px;
}

/* 日付 */
.news-date {
	font-size: 1rem;
	color: #999;
	margin-bottom: 5px;
}

/* カテゴリー */
.news-category {
	font-size: 1.1rem;
	color: #629BAD;
	margin-bottom: 10px;
}

/* 見出し */
.news-heading {
	font-size: 1.3rem;
	font-weight: bold;
	line-height: 1.4;
}

/* スクロール用のスタイル */
.news-window::-webkit-scrollbar {
	width: 8px;
}

.news-window::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.3);
	border-radius: 10px;
}

/* スマホでのレスポンシブ調整 */
@media screen and (max-width: 768px) {

	.recruit-title {
		font-size: 2rem;
		margin-bottom: 20px;
	}

	.recruit-subtitle {
		font-size: 1.5rem;
	}

	.recruit-heading {
		font-size: 1.5rem;
		margin-top: 30px;
	}

	.news-heading {
		font-size: 1rem;
	}

	/* レスポンシブ対応：ニュースセクション */
	.news-section {
		width: 90%;
		max-height: 40%;
		padding: 10px;
	}

	.recruit-section {
		height: 100vh;
		min-height: 1000px;
	}

	.recruit-intro {
		/* スマホではイントロ位置を調整 */
		font-size: 1rem;
		/* 文字サイズを調整 */
		padding: 10px;
		width: 90vw;
	}

	/* ニュースウィンドウ */
	.news-window-wrap {
		padding: 10px;
		max-height: 250px;
		/* スクロール可能な範囲を縮小 */
	}

	/* ニュースウィンドウ */
	.news-window {
		overflow: visible;
	}

	/* ニュースタイトル */
	.news-title {
		font-size: 1rem;
		text-align: center;
	}

	.news-post-wrap {
		overflow-y: scroll;
		align-items: flex-start;

	}

	/* ニュース投稿のスタイル */
	.news-post {
		flex-direction: column;
		/* スマホでは縦並び */
		margin-left: 0;
		margin-bottom: 15px;
		align-items: flex-start;

	}

	/* ニュースメタ情報 */
	.news-meta {
		flex-direction: column;
		/* メタ情報を縦に並べる */
	}

	/* ニュース投稿のリンクを中央揃え */
	.news-post a {
		text-align: center;
	}

	/* ボタン */
	.top-btn {
		font-size: 1.5rem;
		width: 100px;
		height: 100px;
		line-height: 100px;
		margin-top: 20px;
	}

	.news-post-wrap {
		margin-left: 20px;
		padding-left: 20px;
	}

	.career-recruits {
		background: url('../images/path-to-career-recruits-image.jpg') no-repeat;
		background-position: -1100px top;
		position: relative;
		/* 画像が読み込めない場合の代替色 */
	}
}