/*
Theme Name:Avant child
Theme URI:
Description:WordPressテーマ「Avant」の自作子テーマです。
Template:avant_tcd060
Author:Camonova BASARA
Author URI:http://tcd-theme.com/
Version:0.1.0
*/

/* 新卒求人一覧 - モダンデザイン */
.p-job-list-modern {
	margin-top: 48px;
}

.job-grid-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	margin-bottom: 48px;
}

@media (max-width: 768px) {
	.job-grid-container {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.job-card-modern {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	border: 1px solid #e5e7eb;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.job-card-modern:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	border-color: #3b82f6;
}

.job-card-link-modern {
	display: block;
	text-decoration: none;
	color: inherit;
	padding: 24px;
	height: 100%;
}

.job-card-header-modern {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.job-badge-new {
	background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
	color: white;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	flex-shrink: 0;
	margin-top: 2px;
}

.job-title-modern {
	font-size: 18px;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.4;
	margin: 0;
	flex: 1;
}

.job-meta-modern {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 16px;
}

.job-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #6b7280;
}

.job-icon {
	width: 16px;
	height: 16px;
	color: #3b82f6;
}

.job-description-modern {
	font-size: 14px;
	color: #4b5563;
	line-height: 1.6;
	margin-bottom: 20px;
	min-height: 42px;
}

/* 詳細情報セクション - 改善版 */
.job-details-modern {
	margin-bottom: 24px;
	background: #f8fafc;
	border-radius: 12px;
	padding: 16px;
	border: 1px solid #e2e8f0;
}

.job-detail-item {
	display: flex;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid #e2e8f0;
	font-size: 14px;
	line-height: 1.5;
	position: relative;
}

.job-detail-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.job-detail-item:first-child {
	padding-top: 0;
}

/* ラベル部分の改善 */
.job-detail-label {
	color: #374151;
	font-weight: 600;
	font-size: 13px;
	min-width: 80px;
	flex-shrink: 0;
	margin-right: 16px;
	position: relative;
	display: flex;
	align-items: center;
}

/* カテゴリー別のアイコン追加 */
.job-detail-label::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	margin-right: 8px;
	flex-shrink: 0;
}

/* 給与のアイコン色 */
.job-detail-item:nth-child(1) .job-detail-label::before {
	background: #10b981;
}

/* 勤務時間のアイコン色 */
.job-detail-item:nth-child(2) .job-detail-label::before {
	background: #f59e0b;
}

/* 休日のアイコン色 */
.job-detail-item:nth-child(3) .job-detail-label::before {
	background: #8b5cf6;
}

/* 値部分の改善 */
.job-detail-value {
	color: #1f2937;
	font-weight: 500;
	text-align: left;
	flex: 1;
	line-height: 1.4;
	word-break: break-word;
	max-width: none;
}

.job-card-footer-modern {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #f3f4f6;
}

.job-apply-btn {
	background: linear-gradient(135deg, #3b82f6, #1d4ed8);
	color: white;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 8px;
	transition: all 0.2s ease;
	flex: 1;
	text-align: center;
	margin-right: 12px;
}

.job-card-modern:hover .job-apply-btn {
	background: linear-gradient(135deg, #1d4ed8, #1e40af);
	transform: translateY(-1px);
}

.job-arrow-icon {
	width: 20px;
	height: 20px;
	color: #3b82f6;
	transition: transform 0.2s ease;
}

.job-card-modern:hover .job-arrow-icon {
	transform: translateX(4px);
}

/* ページネーション */
.job-pagination-modern {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 48px 0;
}

.pagination-item {
	display: inline-block;
}

.pagination-item a,
.pagination-item span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

.pagination-item a {
	background: #f9fafb;
	color: #374151;
	border: 1px solid #e5e7eb;
}

.pagination-item a:hover {
	background: #3b82f6;
	color: white;
	border-color: #3b82f6;
}

.pagination-item .current {
	background: #3b82f6;
	color: white;
	border: 1px solid #3b82f6;
}

/* 求人がない場合のメッセージ */
.no-jobs-message {
	grid-column: 1 / -1;
	text-align: center;
	padding: 48px 24px;
	background: #f9fafb;
	border-radius: 12px;
	border: 2px dashed #d1d5db;
}

.no-jobs-message p {
	font-size: 16px;
	color: #6b7280;
	margin: 0;
}

/* レスポンシブ調整 */
@media (max-width: 480px) {
	.job-card-link-modern {
		padding: 20px;
	}

	.job-title-modern {
		font-size: 16px;
	}

	.job-meta-modern {
		flex-direction: column;
		gap: 8px;
	}

	.job-card-footer-modern {
		flex-direction: column;
		gap: 12px;
	}

	.job-apply-btn {
		margin-right: 0;
	}

	/* 詳細情報のモバイル対応 */
	.job-details-modern {
		padding: 12px;
	}

	.job-detail-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.job-detail-label {
		min-width: auto;
		margin-right: 0;
		margin-bottom: 4px;
	}

	.job-detail-value {
		padding-left: 14px;
	}

	.job-detail-item:hover {
		margin: 0 -4px;
		padding: 10px 4px;
	}
}

/* バッジコンテナ - 複数バッジを横に並べる */
.job-badges-container {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 2px;
}

/* 急募バッジ */
.job-badge-urgent {
	background: linear-gradient(135deg, #ff9500, #ff6d00);
	color: white;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(255, 109, 0, 0.3);
	animation: pulse-urgent 2s infinite;
}

/* 急募バッジのアニメーション */
@keyframes pulse-urgent {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 2px 12px rgba(255, 109, 0, 0.5);
	}
	100% {
		transform: scale(1);
	}
}

/* 急募カードの特別スタイル */
.job-card-urgent {
	position: relative;
	border-color: #ff9500;
}

.job-card-urgent::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #ff9500, #ff6d00);
	border-radius: 16px 16px 0 0;
}

/* 急募カードのホバー効果強化 */
.job-card-urgent:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(255, 109, 0, 0.15);
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
	.job-badge-urgent {
		animation: none;
	}
}

/* 既存のNEWバッジを調整して急募バッジと揃える */
.job-badge-new {
	background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
	color: white;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* 新卒求人詳細ページ専用スタイル */

.job-detail-page {
	max-width: 100%;
	margin: 0 auto;
}

/* ヘッダーセクション */
.job-detail-header {
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	border-radius: 20px;
	padding: 32px;
	margin-bottom: 32px;
	border: 1px solid #e2e8f0;
}

.job-detail-header-content {
	max-width: 100%;
}

.job-detail-badges {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.job-detail-title-section {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.job-detail-logo {
	width: 80px;
	height: 80px;
	border-radius: 16px;
	overflow: hidden;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.job-detail-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.job-detail-title-content {
	flex: 1;
}

.job-detail-title {
	font-size: 28px;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.3;
	margin: 0 0 12px 0;
}

.job-detail-meta {
	display: flex;
	gap: 24px;
	font-size: 14px;
	color: #6b7280;
}

.job-detail-deadline {
	color: #dc2626;
	font-weight: 600;
}

/* セクションタイトル */
.job-detail-section-title {
	font-size: 22px;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 24px 0;
	padding-bottom: 12px;
	border-bottom: 3px solid #3b82f6;
	position: relative;
}

.job-detail-section-title::after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 60px;
	height: 3px;
	background: #1d4ed8;
}

/* 基本情報セクション */
.job-detail-basic-info {
	margin-bottom: 48px;
}

.job-detail-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.job-detail-info-item {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	transition: all 0.2s ease;
}

.job-detail-info-item:hover {
	border-color: #3b82f6;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.job-detail-info-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 8px;
}

.job-detail-icon {
	width: 18px;
	height: 18px;
	color: #3b82f6;
}

.job-detail-emoji {
	font-size: 18px;
}

.job-detail-info-value {
	font-size: 16px;
	font-weight: 500;
	color: #1f2937;
	line-height: 1.4;
}

/* 給与・待遇セクション */
.job-detail-salary-section {
	margin-bottom: 48px;
}

.job-detail-salary-grid {
	display: grid;
	gap: 24px;
}

.job-detail-salary-highlight {
	background: linear-gradient(135deg, #ecfdf5, #d1fae5);
	border: 2px solid #a7f3d0;
	border-radius: 16px;
	padding: 24px;
	text-align: center;
}

.job-detail-salary-label {
	font-size: 16px;
	font-weight: 600;
	color: #065f46;
	margin-bottom: 8px;
}

.job-detail-salary-value {
	font-size: 24px;
	font-weight: 700;
	color: #047857;
}

.job-detail-conditions {
	display: grid;
	gap: 16px;
}

.job-detail-condition-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
}

.job-detail-condition-label {
	font-size: 14px;
	font-weight: 600;
	color: #374151;
}

.job-detail-condition-value {
	font-size: 14px;
	font-weight: 500;
	color: #1f2937;
	text-align: right;
	max-width: 60%;
}

/* コンテンツセクション */
.job-detail-description,
.job-detail-requirements,
.job-detail-benefits,
.job-detail-application {
	margin-bottom: 48px;
}

.job-detail-content {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	line-height: 1.7;
	color: #374151;
}

.job-detail-requirements-grid,
.job-detail-benefits-grid,
.job-detail-application-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.job-detail-requirement-item,
.job-detail-benefit-item,
.job-detail-application-item {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
}

.job-detail-requirement-title,
.job-detail-benefit-title,
.job-detail-application-title {
	font-size: 16px;
	font-weight: 600;
	color: #1f2937;
	margin: 0 0 12px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #e5e7eb;
}

.job-detail-requirement-content,
.job-detail-benefit-content,
.job-detail-application-content {
	font-size: 14px;
	color: #374151;
	line-height: 1.6;
}

/* 応募セクション */
.job-detail-apply-section {
	background: linear-gradient(135deg, #eff6ff, #dbeafe);
	border: 2px solid #93c5fd;
	border-radius: 20px;
	padding: 32px;
	text-align: center;
	margin-bottom: 48px;
}

.job-detail-apply-title {
	font-size: 24px;
	font-weight: 700;
	color: #1e40af;
	margin: 0 0 8px 0;
}

.job-detail-apply-deadline {
	font-size: 14px;
	color: #dc2626;
	font-weight: 600;
	margin: 0 0 24px 0;
}

.job-detail-apply-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.job-detail-apply-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	min-width: 200px;
}

.job-detail-apply-btn--primary {
	background: linear-gradient(135deg, #3b82f6, #1d4ed8);
	color: white;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.job-detail-apply-btn--primary:hover {
	background: linear-gradient(135deg, #1d4ed8, #1e40af);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.job-detail-apply-btn--secondary {
	background: #ffffff;
	color: #3b82f6;
	border: 2px solid #3b82f6;
}

.job-detail-apply-btn--secondary:hover {
	background: #3b82f6;
	color: white;
}

/* 関連求人セクション */
.job-detail-related {
	margin-bottom: 48px;
}

.job-detail-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.job-card-related {
	transform: scale(0.95);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.job-detail-header {
		padding: 24px;
	}

	.job-detail-title-section {
		flex-direction: column;
		gap: 16px;
	}

	.job-detail-logo {
		width: 60px;
		height: 60px;
		align-self: center;
	}

	.job-detail-title {
		font-size: 22px;
		text-align: center;
	}

	.job-detail-meta {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}

	.job-detail-info-grid,
	.job-detail-requirements-grid,
	.job-detail-benefits-grid,
	.job-detail-application-grid {
		grid-template-columns: 1fr;
	}

	.job-detail-apply-buttons {
		flex-direction: column;
		align-items: center;
	}

	.job-detail-apply-btn {
		min-width: 250px;
	}

	.job-detail-condition-item {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}

	.job-detail-condition-value {
		max-width: 100%;
		text-align: center;
	}
}

/* 中途求人用の追加スタイル */

/* 経験年数バッジ */
.job-badge-experience {
	background: linear-gradient(135deg, #4f46e5, #6366f1);
	color: white;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* メタ情報の絵文字 */
.job-meta-emoji {
	font-size: 16px;
	margin-right: 4px;
}

/* 担当者メッセージセクション */
.job-detail-message {
	margin-bottom: 48px;
}

.job-detail-message-content {
	background: linear-gradient(135deg, #eff6ff, #dbeafe);
	border-radius: 16px;
	padding: 24px;
	position: relative;
	border: 1px solid #bfdbfe;
}

.job-detail-message-icon {
	font-size: 32px;
	position: absolute;
	top: -16px;
	left: 24px;
	background: white;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.job-detail-message-quote {
	margin: 16px 0 0 0;
	padding: 8px 0 0 0;
	font-style: italic;
	color: #1e40af;
	line-height: 1.7;
	border-left: none;
	font-size: 16px;
}

/* 中途求人特有のスタイル調整 */
.job-detail-salary-highlight {
	background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
	border: 2px solid #99f6e4;
}

.job-detail-salary-label {
	color: #0f766e;
}

.job-detail-salary-value {
	color: #0f766e;
}

.job-detail-apply-section {
	background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
	border: 2px solid #bae6fd;
}

.job-detail-apply-title {
	color: #0369a1;
}

/* 中途求人カード特有のスタイル */
.job-card-modern .job-meta-item .job-meta-emoji {
	display: inline-block;
	width: 16px;
	text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.job-detail-message-icon {
		width: 40px;
		height: 40px;
		font-size: 24px;
		top: -12px;
		left: 16px;
	}

	.job-detail-message-quote {
		font-size: 14px;
	}
}

/* add */
.l-secondary.sidebar-testimonials .p-widget {
	text-align: left;
	padding-top: 0.5em;
	position: relative;
}
.l-secondary.sidebar-testimonials .p-widget .q_button_wrap {
	margin: 0;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
}

header.tax-title {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding-block: 50px;
	margin-bottom: 100px;
}
header.tax-title h1 {
	margin: 0;
}
article.tax .p-hover-effect--type1 img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
@media screen and (max-width: 991px) {
	header.tax-title {
		padding-block: 30px;
		margin-bottom: 50px;
	}
}
