/* 基本設定 */

body {
	margin: 0;
	padding: 0;
	font-family: 'Noto Sans JP', 'Segoe UI', Arial, sans-serif;
	box-sizing: border-box;
	color: #331107;

	/* 基本文字色 */

	/* 横スクロールを防止 */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

h3 a {
	color: #331107;
}


p {
	font-size: 16px;

	/* 文字サイズ */
	line-height: 26px;
}

/* デフォルトの文字サイズ */



/* レイアウト設定 */

.container {
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
}

.container-middle {
	width: 1360px;
	max-width: 90vw;
	margin: 0 auto;
	padding: 0 20px;
}

.container-content {
	width: 1340px;
	max-width: 90vw;
	margin: 0 auto;
}

.container-inner-content {
	max-width: 1075px;
}

.image-layer-container {
	position: relative;
	width: 60%;

	/* 必要に応じて調整 */
}


.link-head {
	width: 100%;
}

.link-head h3 {
	font-size: 2.4rem;
	font-weight: 800;
	margin-bottom: 2rem;
}

.link-head p {
	font-weight: 600;
}

.link-content {
	width: 1360px;
	max-width: 90vw;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	padding: 16vh 0;
}

.link-content a {
	width: 36%;
}

.link-item {
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	text-align: left;
	transition: transform 0.3s ease;
	cursor: pointer;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 300px;
}

.link-item {
	color: #331107;
}

.link-item img {
	object-fit: cover;
	object-position: top;
	height: 76%;
	transition: transform 0.3s ease;
	display: block;
}

.link-item:hover img {
	transform: scale(1.05);
}

.link-text {
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.link-description h2 {
	margin: 0;
	font-size: 0.8rem;
}

.link-description p {
	margin: 5px 0 0;
	font-size: 1rem;
}

.arrow-icon {
	font-size: 1.5rem;
}


.top-background {
	position: absolute;
	/* 背景色用要素を絶対位置に配置 */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	clip-path: polygon(0px 0px, 70% 0%, 86% 0%, 0% 60%);
	/* 背景にクリップパス */
	z-index: -1;
	/* コンテンツの背面に配置 */
	overflow-x: hidden;
	box-sizing: border-box;
}

.top-img {
	position: relative;
	top: 0px;
	right: 0px;
	overflow: hidden;
	z-index: -2;
}


.top-img-head {
	position: relative;
	z-index: 3;
}


button a {
	text-decoration: none;
	color: #331107;
}

.cta-buttons a {
	box-sizing: border-box;
	width: 100%;
}


/* 投稿ページ全体のスタイル */
#main-single {
	max-width: 800px;
	margin: 10vh auto;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	font-family: 'Noto Sans JP', sans-serif;
	color: #333;
}

/* 投稿タイトル */
#content-single h1 {
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 10px;
	color: #222;
	text-align: center;
}

/* カテゴリ表示 */
#new-post-category {
	display: block;
	font-size: 0.9em;
	color: #555;
	text-align: center;
	margin-bottom: 10px;
}

/* 投稿日時 */
#new-post-date {
	display: block;
	font-size: 0.8em;
	color: #888;
	text-align: center;
	margin-bottom: 20px;
}

/* アイキャッチ画像 */
.img-post {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 20px auto;
	border-radius: 10px;
}

/* 投稿本文 */
#content-single {
	font-size: 1em;
	line-height: 1.8;
	margin-top: 20px;
}

/* 引用スタイル（例：blockquote） */
blockquote {
	border-left: 4px solid #0073aa;
	padding-left: 15px;
	margin: 20px 0;
	color: #555;
	font-style: italic;
}

/* リンクのスタイル */
#content-single a {
	color: #0073aa;
	text-decoration: none;
	border-bottom: 1px solid #0073aa;
	transition: color 0.3s, border-color 0.3s;
}

#content-single a:hover {
	color: #005a80;
	border-color: #005a80;
}

/* ボタン（例として読みやすいボタン） */
.button {
	display: inline-block;
	padding: 10px 20px;
	font-size: 1em;
	color: #fff;
	background-color: #0073aa;
	text-align: center;
	text-decoration: none;
	border-radius: 5px;
	margin: 20px 0;
	transition: background-color 0.3s;
}

.button:hover {
	background-color: #005a80;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	#main-single {
		padding: 15px;
	}

	#content-single h1 {
		font-size: 1.8em;
	}

	#content-single {
		font-size: 0.95em;
	}
}

/* 全体のスタイリング */
body.archive {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	background-color: #f9f9f9;
	color: #333;
	margin: 0;
	padding: 0;
}

/* コンテナ */
.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

/* アーカイブヘッダー */
.archive-header {
	text-align: center;
	margin-bottom: 30px;
}

.archive-header .archive-title {
	font-size: 2rem;
	color: #444;
	margin: 0;
	text-transform: capitalize;
}

.archive-header .archive-description {
	font-size: 1rem;
	color: #666;
	margin-top: 10px;
}

/* 投稿リスト */
.archive-posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

/* 各投稿のスタイル */
.archive-posts article {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-posts article:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 記事のヘッダー */
.archive-posts .entry-header {
	padding: 15px;
	background: #f7f7f7;
	border-bottom: 1px solid #ddd;
}

.archive-posts .entry-title {
	font-size: 1.2rem;
	margin: 0;
}

.archive-posts .entry-title a {
	color: #0073aa;
	text-decoration: none;
	transition: color 0.3s ease;
}

.archive-posts .entry-title a:hover {
	color: #005177;
}

/* 記事の要約部分 */
.archive-posts .entry-summary {
	padding: 15px;
	color: #555;
	font-size: 0.9rem;
}

/* ページネーション */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	gap: 10px;
}

.pagination a {
	display: inline-block;
	padding: 8px 12px;
	color: #0073aa;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
	background: #0073aa;
	color: #fff;
}

.pagination .current {
	padding: 8px 12px;
	color: #fff;
	background: #0073aa;
	border: 1px solid #0073aa;
	border-radius: 4px;
}

/* 投稿がない場合 */
.no-posts {
	text-align: center;
	color: #666;
	font-size: 1.2rem;
	margin-top: 50px;
}


/* 404ページのスタイリング */
.error-404 {
	text-align: center;
	padding: 50px 20px;
	background-color: #f9f9f9;
	color: #333;
}

.error-404 h1 {
	font-size: 2.5rem;
	color: #ff0000;
	margin-bottom: 20px;
}

.error-404 p {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

.error-404 a {
	display: inline-block;
	padding: 10px 20px;
	background-color: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.error-404 a:hover {
	background-color: #005177;
}

/* カテゴリごとの背景色 */
.category-news {
	background-color: #007bff;
	text-align: center;
}

.news-post-wrap .category-news a {
	/* ニュースカテゴリ */
	color: #fff !important;
}

.category-new {
	background-color: #1F9884;
	text-align: center;

}

.news-post-wrap .category-new a {
	/* 新卒カテゴリ */
	color: #fff !important;

}

.category-career a {
	background-color: #629BAD;
	text-align: center;
}

.news-post-wrap .category-career a {
	/* キャリアカテゴリ */
	color: #fff !important;
}

/* 他のカテゴリがあればここに追加 */


.back-to-top {
	position: fixed;
	bottom: 30px;
	/* ページ下からの距離 */
	right: 30px;
	/* ページ右からの距離 */
	display: none;
	/* 初期状態では非表示 */
	background-color: #333;
	color: #fff;
	padding: 10px 15px;
	border-radius: 50%;
	text-align: center;
	font-size: 18px;
	text-decoration: none;
	z-index: 1000;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
	background-color: #555;
	transform: scale(1.1);
}



@media screen and (max-width: 1024px) {
	p {
		font-size: 16px;
	}

}

.pc {
	display: block;
}

.sp {
	display: none;
}