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

:root {
	--primary-blue: #0984e3;
	--primary-mint: #3867d6;
	--primary-mint-light: #14b8a6;
	--accent-orange: #ea580c;
	--accent-red: #dc2626;
	--text-primary: #1f2937;
	--text-secondary: #3d3d3d;
	--text-light: #9ca3af;
	--border-light: #e5e7eb;
	--border-medium: #d1d5db;
	--bg-white: #ffffff;
	--bg-subtle: #f8fafc;
	--success-green: #10b981;
	--warning-yellow: #f59e0b;
}

body {
	font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--text-primary);
	background: var(--bg-subtle);
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: 1200px;
	padding: 0 20px;
	margin: 0 auto;
}

/* ヘッダーナビゲーション */
.header-nav {
	background: var(--bg-white);
	border-bottom: 1px solid var(--border-light);
	padding: 16px 0;
	margin-bottom: 30px;
}

.nav-content {
	display: flex;
	align-items: center;
	gap: 16px;
}

.back-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--primary-blue);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 16px;
	border: 1px solid var(--border-medium);
	border-radius: 6px;
	transition: all 0.3s ease;
}

.back-btn:hover {
	background: rgba(59, 130, 246, 0.05);
	border-color: var(--primary-blue);
	text-decoration: none;
}

.breadcrumb {
	color: var(--text-light);
	font-size: 14px;
}

.breadcrumb a {
	color: var(--primary-blue);
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

/* メインレイアウト */
.main-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	padding: 30px 0;
}

.content-area {
	max-width: 100%;
}

.sidebar {
	background: var(--bg-white);
	border-radius: 12px;
	border: 1px solid var(--border-light);
	padding: 24px;
	height: fit-content;
	position: sticky;
	top: 20px;
}

/* 検索・フィルターセクション */
.search-section {
	background: var(--bg-white);
	border: 1px solid var(--border-light);
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* 体験談タイプフィルター */
.type-filters {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.type-filter {
	padding: 12px 16px;
	border: 2px solid var(--border-light);
	border-radius: 8px;
	background: var(--bg-white);
	text-decoration: none;
	color: var(--text-secondary);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
}

.type-filter:hover {
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.type-filter.active {
	border-color: var(--primary-blue);
	background: rgba(59, 130, 246, 0.05);
	color: var(--primary-blue);
}

/* 大学分類フィルター用スタイル */
.type-filter.university-all { border-left: 4px solid #6b7280; }
.type-filter.university-type-1 { border-left: 4px solid #3b82f6; }
.type-filter.university-type-2 { border-left: 4px solid #10b981; }
.type-filter.university-type-3 { border-left: 4px solid #f59e0b; }
.type-filter.university-type-4 { border-left: 4px solid #ef4444; }

.type-filter.university-all.active { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.type-filter.university-type-1.active { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.type-filter.university-type-2.active { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.type-filter.university-type-3.active { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.type-filter.university-type-4.active { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* 検索結果ヘッダー */
.results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border-light);
}

.results-count {
	font-size: 16px;
	color: var(--text-secondary);
}

.results-count strong {
	color: var(--primary-blue);
	font-weight: 600;
}

.sort-info {
	font-size: 14px;
	color: var(--text-light);
}

/* 詳細表示エリア */
.testimonial-detail-container {
	background: var(--bg-white);
	border-radius: 12px;
	border: 1px solid var(--border-light);
	margin-bottom: 40px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.detail-header {
	background: var(--bg-white);
	padding: 20px 24px;
	border-bottom: 1px solid var(--border-light);
}

.close-detail-btn {
	background: rgba(59, 130, 246, 0.1);
	color: var(--primary-blue);
	border: 1px solid rgba(59, 130, 246, 0.2);
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.close-detail-btn:hover {
	background: rgba(59, 130, 246, 0.15);
	color: var(--primary-blue);
	text-decoration: none;
}

/* ヘッダー情報セクション */
.hero-header {
	padding: 24px;
	border-bottom: 1px solid var(--border-light);
}

/* バッジセクション */
.badge-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.badge-pulse {
	width: 6px;
	height: 6px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	animation: pulse 2s infinite;
}

.badge.bg-red-600 {
	background: #dc2626;
	color: white;
}

.badge.bg-blue-600 {
	background: #2563eb;
	color: white;
}

/* メインタイトル */
.main-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 12px;
	color: #111827;
	letter-spacing: -0.025em;
}

/* サブタイトル */
.subtitle-container {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	color: #6b7280;
}

.subtitle-line {
	width: 32px;
	height: 2px;
	background: #dc2626;
	flex-shrink: 0;
}

.subtitle-text {
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
}

/* 学校情報カード */
.school-info {
	background: transparent;
	border: 1px solid var(--border-light);
	border-radius: 12px;
	padding: 20px;
}

.school-info-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.school-icon {
	width: 48px;
	height: 48px;
	background: #1B9CFC;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.school-icon i {
	color: #ffffff;
	font-size: 20px;
}

.school-title {
	font-size: 18px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 6px;
	line-height: 1.4;
}

.school-title .text-red-600 {
	color: #dc2626 !important;
	font-size: 1.3em;
	font-weight: 700;
	display: inline-block;
	text-shadow: 0 1px 2px rgba(220, 38, 38, 0.1);
}

.school-subtitle {
	font-size: 14px;
	color: #4b5563;
	margin-bottom: 4px;
}

.school-meta {
	font-size: 12px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

/* 試験科目セクション */
.exam-subjects {
	background: #fafafa;
	border: 1px solid var(--border-light);
	border-radius: 12px;
	padding: 20px;
	margin: 24px;
}

.exam-title {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	letter-spacing: -0.015em;
}

.exam-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.exam-section {
	padding: 16px;
	border: 1px solid #f3f4f6;
	border-radius: 8px;
	background: #ffffff;
}

.exam-section-title {
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.subject-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.subject-tag {
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	border: 1px solid;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	transition: all 0.2s ease;
}

.subject-tag:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* カラー調整 */
.bg-blue-100 { background: #dbeafe; }
.border-blue-200 { border-color: #bfdbfe; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-600 { color: #2563eb; }
.text-red-600 { color: #dc2626; }

/* 目次セクション */
.toc-container {
	background: #fafafa;
	border: 1px solid var(--border-light);
	border-radius: 12px;
	padding: 20px;
	margin: 24px;
}

.toc-title {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	letter-spacing: -0.015em;
}

.toc-icon {
	width: 32px;
	height: 32px;
	background: #2563eb;
	color: white;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	flex-shrink: 0;
}

.toc-links {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.toc-link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease;
	text-decoration: none;
	color: inherit;
}

.toc-link:last-child {
	border-bottom: none;
}

.toc-link:hover {
	padding-left: 8px;
	border-left: 3px solid #2563eb;
}

.toc-number {
	width: 24px;
	height: 24px;
	background: #e5e7eb;
	color: #4b5563;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.toc-link:hover .toc-number {
	background: #2563eb;
	color: white;
}

.toc-text {
	font-size: 13px;
	font-weight: 500;
	color: #374151;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.toc-link:hover .toc-text {
	color: #1d4ed8;
}

/* コンテンツセクション */
.testimonial-content {
	background: var(--bg-white);
	padding: 20px;
}

.content-sections {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.content-section {
	scroll-margin-top: 120px;
	position: relative;
	padding: 20px 0;
	border-bottom: 1px solid #f3f4f6;
}

.content-section:last-child {
	border-bottom: none;
}

.section-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	color: #1a1a1a;
	letter-spacing: -0.015em;
	display: flex;
	align-items: center;
	gap: 12px;
}

.section-title-icon {
	width: 36px;
	height: 36px;
	background: #2563eb;
	color: white;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	flex-shrink: 0;
}

/* 本文スタイル - 読みやすいメディア文章に最適化 */
.prose {
	color: #2d3748;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック体", "Yu Gothic", "游ゴシック Medium", "Yu Gothic Medium", "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.05em;
	max-width: none;
	text-align: left;
	word-break: break-word;
	overflow-wrap: break-word;
}

.prose p {
	margin-bottom: 24px;
	text-indent: 0;
	word-spacing: 0.1em;
}

.prose p:last-child {
	margin-bottom: 0;
}

/* 体験談セクション内の文章をさらに読みやすく */
.content-section .prose {
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: 0.06em;
	color: #1a202c;
}

.content-section .prose p {
	margin-bottom: 28px;
}

/* 引用や強調部分 */
.prose strong {
	font-weight: 700;
	color: #2d3748;
}

.prose em {
	font-style: normal;
	background: linear-gradient(transparent 60%, #fef08a 60%);
	padding: 0 2px;
}

/* アニメーション */
@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* 学校情報カード - 新デザイン */
.new-school-card {
	background: var(--bg-white);
	border-top: 1px solid var(--border-light);
}

/* ヘッダーセクション */
.school-card-header {
	display: grid;
	grid-template-columns: 200px 1fr;
	background: var(--bg-white);
	border-bottom: 1px solid var(--border-light);
	padding: 24px;
	gap: 24px;
	align-items: center;
}

.school-card-left {
	display: flex;
	justify-content: center;
	align-items: center;
}

.school-card-logo {
	max-width: 160px;
	max-height: 80px;
	object-fit: contain;
}

.school-card-logo-placeholder {
	width: 160px;
	height: 80px;
	background: var(--bg-white);
	border: 2px solid var(--border-light);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-light);
	font-size: 24px;
}

.school-card-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.school-card-tagline {
	color: var(--primary-blue);
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 8px;
	line-height: 1.4;
}

.school-card-name {
	font-size: 24px;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.3;
	margin: 0;
}

/* キャンパス所在地セクション */
.campus-locations-section {
	padding: 24px;
	border-bottom: 1px solid var(--border-light);
}

.section-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.section-title i {
	color: var(--primary-blue);
}

.campus-locations-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 16px;
	position: relative;
}

/* 点線による接続 */
.campus-locations-grid::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 25%;
	right: 25%;
	height: 1px;
	border-top: 2px dotted var(--border-medium);
	z-index: 1;
}

.campus-locations-grid::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 25%;
	bottom: 25%;
	width: 1px;
	border-left: 2px dotted var(--border-medium);
	z-index: 1;
}

.campus-location-card.hidden {
	display: none;
}

.campus-location-card {
	border: 2px solid var(--border-light);
	border-radius: 8px;
	padding: 16px;
	background: var(--bg-white);
	display: flex;
	align-items: center;
	gap: 12px;
	transition: all 0.3s ease;
	position: relative;
	z-index: 2;
}

.campus-location-card:hover {
	border-color: var(--primary-blue);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.prefecture-badge {
	background: var(--primary-blue);
	color: white;
	padding: 6px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	min-width: fit-content;
	letter-spacing: 0.5px;
}

.prefecture-label {
	color: var(--text-primary);
	font-weight: 700;
	font-size: 14px;
	min-width: fit-content;
}

.campus-address {
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.4;
	flex: 1;
}

.more-locations {
	text-align: center;
}

.more-locations-btn {
	background: none;
	border: none;
	color: var(--primary-blue);
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 auto;
	padding: 8px 16px;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.more-locations-btn:hover {
	background: rgba(59, 130, 246, 0.05);
}

/* 3つのポイントセクション */
.key-points-section {
	padding: 24px;
	border-bottom: 1px solid var(--border-light);
}

.key-points-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* メイン画像エリア - 最初のポイントのみ大きく表示 */
.key-point-item:first-child {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 24px;
}

.key-point-item:first-child .point-image {
	width: 100%;
	height: 250px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--border-light);
	order: -1;
}

.key-point-item:first-child .point-header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.key-point-item:first-child .point-content {
	flex: 1;
}

/* 2番目以降のポイント - コンパクト表示 */
.key-point-item:not(:first-child) {
	display: grid;
	grid-template-columns: 32px 1fr;
	gap: 12px;
	align-items: start;
	padding: 12px 0;
}

.point-number {
	width: 28px;
	height: 28px;
	background: linear-gradient(135deg, #dc2626, #b91c1c);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	flex-shrink: 0;
}

.point-content {
	flex: 1;
	min-width: 0;
}

.point-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 8px;
	line-height: 1.5;
}

.point-description {
	font-size: 16px;
	color: var(--text-secondary);
	line-height: 1.7;
	margin: 0;
	letter-spacing: 0.02em;
}

.read-more {
	color: var(--primary-blue);
	cursor: pointer;
	font-weight: 500;
	font-size: 12px;
}

.point-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.point-image:hover img {
	transform: scale(1.05);
}

/* 大学進学サポートセクション */
.university-support-section {
	padding: 24px;
	border-bottom: 1px solid var(--border-light);
}

.support-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 20px;
}

.support-item {
	background: var(--bg-subtle);
	border-radius: 8px;
	padding: 16px;
	border-left: 4px solid var(--primary-blue);
}

.support-icon {
	width: 32px;
	height: 32px;
	background: var(--primary-blue);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	font-size: 14px;
}

.star-icon {
	background: var(--warning-yellow);
}

.support-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 8px;
}

.support-description {
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.5;
	margin: 0;
}

.university-support-cta {
	text-align: center;
}

.support-detail-btn {
	background: linear-gradient(135deg, var(--primary-blue), #2563eb);
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 auto;
}

.support-detail-btn:hover {
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	transform: translateY(-1px);
}

/* アクションボタン */
.school-card-actions {
	padding: 20px 24px;
	background: var(--bg-subtle);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	border-top: 1px solid var(--border-light);
}

.school-detail-btn,
.school-resource-btn {
	padding: 16px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
}

.school-detail-btn {
	background: var(--bg-white);
	color: var(--text-primary);
	border: 1px solid var(--border-medium);
}

.school-detail-btn:hover {
	border-color: var(--primary-blue);
	color: var(--primary-blue);
	transform: translateY(-1px);
	text-decoration: none;
}

.school-resource-btn {
	background: linear-gradient(135deg, #dc2626, #b91c1c);
	color: white;
}

.school-resource-btn:hover {
	background: linear-gradient(135deg, #b91c1c, #991b1b);
	transform: translateY(-1px);
}

/* 体験談カード */
.testimonials-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 40px;
	width: 100%;
}

.testimonial-card {
	background: var(--bg-white);
	border-radius: 16px;
	border: 1px solid var(--border-light);
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	cursor: pointer;
	display: block;
	width: 100%;
}

.testimonial-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
	border-color: var(--primary-blue);
}

.card-layout {
	display: grid;
	grid-template-columns: 300px 1fr;
	min-height: 300px;
	width: 100%;
}

/* 左側 - 学校情報エリア */
.school-info-area {
	background: linear-gradient(135deg, #f8fafc, #e2e8f0);
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-right: 1px solid var(--border-light);
	width: 100%;
	box-sizing: border-box;
}

.school-logo-section {
	text-align: center;
	margin-bottom: 24px;
	flex-shrink: 0;
}

.school-logo {
	width: 160px;
	height: 120px;
	background: var(--bg-white);
	border-radius: 12px;
	border: 2px solid var(--border-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.school-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.school-logo .placeholder {
	color: var(--text-light);
	font-size: 12px;
	text-align: center;
	padding: 10px;
}

.school-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-primary);
	text-align: center;
	line-height: 1.4;
}

.action-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-shrink: 0;
	align-items: center;
	width: 100%;
}

.action-btn {
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 160px;
	box-sizing: border-box;
	position: relative;
}

.support-btn {
	background: var(--bg-white);
	color: var(--text-secondary);
	border: 1px solid var(--border-medium);
	margin-bottom: 12px;
}

.support-btn:hover {
	border-color: var(--primary-blue);
	color: var(--primary-blue);
	text-decoration: none;
	transform: translateY(-1px);
}

.request-btn {
	background: linear-gradient(135deg, #dc2626, #ef4444);
	color: white;
	position: relative;
	border: none;
	outline: none;
	box-shadow: none;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	cursor: pointer;
}

.request-btn:hover {
	background: linear-gradient(135deg, #b91c1c, #dc2626);
	color: white;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.request-btn.selected {
	background: linear-gradient(135deg, #059669, #10b981);
	color: white;
}

.request-btn.selected:hover {
	background: linear-gradient(135deg, #047857, #059669);
	color: white;
	box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

/* divエレメントには:activeや:focusの問題がないので、これらは不要 */

/* チェックボックスアイコン */
.checkbox-icon {
	margin-right: 8px;
}

/* 選択状態 */
.testimonial-card.selected {
	border-color: #dc2626;
	box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

/* 右側 - メインコンテンツエリア */
.main-content-area {
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

.achievement-path {
	background: transparent;
	padding: 20px 0;
	border-radius: 0;
	border: none;
	box-shadow: none;
	position: relative;
	overflow: visible;
}

/* 学生情報と合格情報の統合ヘッダー */
.student-achievement-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

.student-achievement-header .student-avatar {
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 18px;
	flex-shrink: 0;
}

.student-achievement-info {
	flex: 1;
}

.student-achievement-info .student-name-info {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.3;
	letter-spacing: -0.025em;
}

.path-display-vertical {
	display: flex;
	flex-direction: column;
	gap: 12px;
	line-height: 1.3;
}

.path-school-from {
	color: #475569;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -0.025em;
}

.path-university-success {
	color: #dc2626;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.05em;
}

.content-header {
	margin-bottom: 20px;
}

.testimonial-tags {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.tag {
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: white;
}

.tag.university-type { 
	background: linear-gradient(135deg, #ef4444, #dc2626);
}
.tag.exam-method { 
	background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.tag.region { 
	background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.testimonial-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.4;
	margin-bottom: 20px;
}

.content-preview {
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: 0.04em;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック体", "Yu Gothic", "Noto Sans JP", sans-serif;
}

.read-more-section {
	margin-top: 16px;
}

.read-more-btn {
	background: linear-gradient(135deg, var(--primary-blue), #2563eb);
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
	text-decoration: none;
	justify-content: center;
}

.read-more-btn:hover {
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
	text-decoration: none;
	color: white;
}

.content-footer {
	border-top: 1px solid var(--border-light);
	padding-top: 20px;
	margin-top: auto;
}

/* サイドバー */
.sidebar-section {
	margin-bottom: 32px;
}

.sidebar-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--primary-blue);
}

.filter-summary {
	background: var(--bg-subtle);
	padding: 16px;
	border-radius: 8px;
	margin-bottom: 16px;
}

.filter-item {
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

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

.filter-item i {
	color: var(--primary-blue);
	width: 16px;
}

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

.pagination a,
.pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--border-medium);
	border-radius: 6px;
	text-decoration: none;
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.pagination a:hover {
	border-color: var(--primary-blue);
	color: var(--primary-blue);
	background: rgba(59, 130, 246, 0.05);
}

.pagination .current {
	background: var(--primary-blue);
	color: white;
	border-color: var(--primary-blue);
}

.pagination .disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* 空の状態 */
.empty-state {
	text-align: center;
	padding: 60px 20px;
	color: var(--text-light);
}

.empty-state i {
	font-size: 64px;
	margin-bottom: 20px;
	opacity: 0.5;
}

.empty-state h3 {
	font-size: 20px;
	margin-bottom: 12px;
	color: var(--text-secondary);
}

.empty-state p {
	font-size: 14px;
	max-width: 400px;
	margin: 0 auto;
	line-height: 1.6;
}

/* 資料請求ポップアップ - 新デザイン */
.request-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.request-popup-overlay.show {
	opacity: 1;
	visibility: visible;
}

.request-popup {
	position: fixed;
	top: 0;
	right: -420px;
	width: 400px;
	height: 100vh;
	background: var(--bg-white);
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	display: flex;
	flex-direction: column;
	border-left: 1px solid var(--border-light);
}

.request-popup.show {
	right: 0;
}

.request-popup.scrolled {
	right: -200px;
	width: 400px;
}

.request-popup.scrolled:hover {
	right: 0;
}

.scroll-indicator {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 10;
	background: #dc2626;
	color: white;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

.scroll-indicator:hover {
	background: #b91c1c;
	transform: translateY(-50%) translateX(4px);
}

.scroll-indicator-count {
	width: 24px;
	height: 24px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}

.request-popup.scrolled .scroll-indicator {
	opacity: 0;
}

.request-popup.scrolled .popup-header,
.request-popup.scrolled .popup-content,
.request-popup.scrolled .popup-actions {
	opacity: 1;
	pointer-events: auto;
}

/* 通知バッジ */
.notification-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 28px;
	height: 28px;
	background: #dc2626;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	border: 3px solid white;
	box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

/* モバイル版の上部アクションボタン */
.mobile-top-actions {
	display: none;
	margin-bottom: 20px;
	padding: 0 0 20px 0;
	border-bottom: 1px solid #e2e8f0;
}

.mobile-proceed-btn {
	width: 100%;
	background: #2563eb;
	color: white;
	border: none;
	padding: 16px 24px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.mobile-proceed-btn:hover:not(:disabled) {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.mobile-proceed-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.desktop-proceed-btn {
	width: 100%;
	background: #2563eb;
	color: white;
	border: none;
	padding: 16px 24px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.desktop-proceed-btn:hover:not(:disabled) {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.desktop-proceed-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* ヘッダー部分 */
.popup-header {
	padding: 24px 28px 20px 28px;
	background: var(--bg-white);
	position: relative;
	flex-shrink: 0;
	border-bottom: 1px solid #f1f5f9;
}

.popup-title-container {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.popup-download-icon {
	width: 24px;
	height: 24px;
	background: #dc2626;
	color: white;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

.popup-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
}

.popup-subtitle {
	font-size: 14px;
	color: #64748b;
	margin: 0;
	font-weight: 500;
}

.popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	color: #94a3b8;
	font-size: 20px;
	cursor: pointer;
	padding: 12px;
	border-radius: 8px;
	transition: all 0.2s ease;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.popup-close:hover,
.popup-close:focus,
.popup-close:active {
	background: #f1f5f9;
	color: #475569;
	transform: scale(1.05);
}

.popup-close:active {
	transform: scale(0.95);
}

/* コンテンツ部分 */
.popup-content {
	padding: 20px 28px;
	flex: 1;
	overflow-y: auto;
}

.request-status {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 24px;
	text-align: center;
}

.request-count {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
}

.request-count strong {
	color: #dc2626;
	font-size: 18px;
}

.selected-schools {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.selected-school-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: var(--bg-white);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.selected-school-item:hover {
	border-color: #cbd5e1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.school-item-name {
	font-size: 15px;
	font-weight: 600;
	color: #1e293b;
	flex: 1;
}

.remove-school-btn {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #64748b;
	cursor: pointer;
	padding: 6px;
	border-radius: 6px;
	transition: all 0.2s ease;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

.remove-school-btn:hover {
	background: #fee2e2;
	border-color: #fecaca;
	color: #dc2626;
}

.empty-cart-message {
	text-align: center;
	padding: 40px 20px;
	color: #94a3b8;
}

.empty-cart-message i {
	font-size: 48px;
	margin-bottom: 16px;
	opacity: 0.5;
}

.empty-cart-message p {
	font-size: 15px;
	margin: 0;
	line-height: 1.5;
}

/* アクション部分 */
.popup-actions {
	padding: 24px 28px;
	background: #fafbfc;
	border-top: 1px solid #f1f5f9;
	flex-shrink: 0;
}

.proceed-btn {
	width: 100%;
	background: #2563eb;
	color: white;
	border: none;
	padding: 16px 24px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.proceed-btn:hover:not(:disabled) {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.proceed-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.clear-cart-btn {
	margin-top: 16px;
	background: none;
	border: none;
	color: #64748b;
	font-size: 14px;
	cursor: pointer;
	width: 100%;
	padding: 8px;
	transition: all 0.2s ease;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.clear-cart-btn:hover {
	color: #dc2626;
}

/* モバイル版FAB */
.request-popup.mobile-fab {
	position: fixed;
	bottom: 20px;
	right: 20px;
	top: auto;
	width: 140px;
	height: 60px;
	border-radius: 30px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
	background: #dc2626;
}

.mobile-fab-content {
	display: none;
	align-items: center;
	gap: 8px;
	color: white;
	font-weight: 600;
	font-size: 13px;
}

.request-popup.mobile-fab .mobile-fab-content {
	display: flex;
}

.request-popup.mobile-fab .popup-header,
.request-popup.mobile-fab .popup-content,
.request-popup.mobile-fab .popup-actions {
	display: none;
}

.mobile-fab-count {
	width: 24px;
	height: 24px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	transition: all 0.3s ease;
}

.mobile-fab-count.updated {
	animation: bounce 0.4s ease;
}

@keyframes bounce {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.2); }
}

.request-popup.mobile-expanded {
	top: 0;
	bottom: 0;
	right: 0;
	width: 100vw;
	height: 100vh;
	border-radius: 0;
	cursor: default;
	background: var(--bg-white);
}

.request-popup.mobile-expanded .mobile-fab-content {
	display: none;
}

.request-popup.mobile-expanded .popup-header,
.request-popup.mobile-expanded .popup-content,
.request-popup.mobile-expanded .popup-actions {
	display: flex;
	flex-direction: column;
}

/* モバイル版での表示制御 */
.request-popup.mobile-expanded .mobile-top-actions {
	display: block;
}

.request-popup.mobile-expanded .desktop-proceed-btn {
	display: none;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
	.main-layout {
		grid-template-columns: 1fr;
		gap: 0;
	}
	
	.sidebar {
		display: none;
	}
	
	.container {
		padding: 0 16px;
	}
	
	.card-layout {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	
	.school-info-area {
		border-right: none;
		border-bottom: 1px solid var(--border-light);
		padding: 24px;
	}
	
	.action-buttons {
		flex-direction: row;
		gap: 10px;
		justify-content: center;
	}
	
	.action-btn {
		width: 140px;
		font-size: 13px;
		padding: 12px 16px;
	}
	
	.type-filters {
		grid-template-columns: 1fr;
	}
	
	.school-card-header {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 16px;
	}
	
	.campus-locations-grid {
		grid-template-columns: 1fr;
	}
	
	.key-point-item {
		grid-template-columns: 40px 1fr;
		gap: 12px;
	}
	
	.support-grid {
		grid-template-columns: 1fr;
	}
	
	.school-card-actions {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 16px;
	}
	
	.search-section {
		padding: 16px;
	}
	
	.main-content-area {
		padding: 20px;
		gap: 16px;
	}
	
	.testimonial-title {
		font-size: 18px;
	}
	
	.results-header {
		flex-direction: column;
		gap: 8px;
		align-items: flex-start;
	}
	
	.nav-content {
		flex-wrap: wrap;
	}
	
	.breadcrumb {
		order: 2;
		flex-basis: 100%;
		font-size: 12px;
	}
	
	.action-buttons {
		flex-direction: column;
		gap: 10px;
		align-items: center;
	}
	
	.action-btn {
		width: 140px;
		font-size: 13px;
		padding: 12px 16px;
	}
	
	.main-title {
		font-size: 24px;
		line-height: 1.4;
	}
	
	.school-title {
		font-size: 16px;
	}
	
	.exam-subjects {
		margin: 20px;
		padding: 16px;
	}
	
	.toc-container {
		margin: 20px;
		padding: 16px;
	}
	
	.section-title-icon {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}
	
	.testimonial-content .section-title {
		font-size: 16px;
		margin-bottom: 12px;
		padding-bottom: 8px;
	}
	
	.prose {
		font-size: 15px;
		line-height: 1.8;
		letter-spacing: 0.05em;
	}
	
	.prose p {
		margin-bottom: 22px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 12px;
	}
	
	.search-section {
		padding: 12px;
	}
	
	.school-info-area {
		padding: 16px;
	}
	
	.main-content-area {
		padding: 16px;
		gap: 12px;
	}
	
	.testimonial-title {
		font-size: 16px;
	}
	
	.pagination {
		gap: 4px;
	}
	
	.pagination a,
	.pagination span {
		width: 36px;
		height: 36px;
		font-size: 13px;
	}
	
	.action-buttons {
		flex-direction: column;
		gap: 8px;
		align-items: center;
	}
	
	.action-btn {
		width: 220px;
		font-size: 12px;
		padding: 10px 12px;
	}
	
	.school-card-header {
		padding: 16px;
	}
	
	.campus-locations-section,
	.key-points-section,
	.university-support-section {
		padding: 16px;
	}
	
	.school-card-name {
		font-size: 20px;
	}
	
	.point-title {
		font-size: 16px;
	}
	
	.point-description {
		font-size: 15px;
	}
}
