/* カラーパレット */
:root {
	--primary-blue: #7dd3fc;
	--light-blue: #bae6fd;
	--pale-pink: #fbcfe8;
	--light-pink: #fce7f3;
	--soft-purple: #e9d5ff;
	--white: #ffffff;
	--text-dark: #334155;
	--text-gray: #64748b;
	--bg-light: #f8f9fa;
}

/* ナビゲーション */
.site-logo {
	display: block !important;
}

.site-logo img {
	max-height: 50px;
	width: auto;
	display: block !important;
}

.sp_top_img {
	display: block !important;
}

#navigation {
	margin-bottom: 0;
	padding: 15px 0;
	background-color: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ページヘッダー */
.page-header {
	margin-top: 100px;
	padding: 80px 0 60px;
	background: linear-gradient(135deg, #bae6fd 0%, #e9d5ff 100%);
	position: relative;
	overflow: hidden;
}

.page-header::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}

.page-header h1 {
	font-size: 3rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 20px;
	position: relative;
}

.page-header .subtitle {
	font-size: 1.3rem;
	color: var(--text-gray);
	margin-bottom: 30px;
	position: relative;
}

.page-header .description {
	font-size: 1.1rem;
	color: var(--text-gray);
	max-width: 1000px;
	line-height: 1.8;
	position: relative;
}

.breadcrumb-custom {
	background: transparent;
	padding: 0;
	margin-bottom: 20px;
	position: relative;
}

.breadcrumb-custom a {
	color: var(--text-gray);
	text-decoration: none;
	transition: color 0.3s;
}

.breadcrumb-custom a:hover {
	color: var(--primary-blue);
}

/* コンテンツエリア */
.content-area {
	padding: 80px 0;
	background-color: var(--bg-light);
}

/* セクションタイトル */
.section-title {
	margin-bottom: 40px;
}

.section-title h2 {
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 15px;
	padding-left: 20px;
	border-left: 5px solid var(--primary-blue);
}

/* コンテンツカード */
.content-card {
	background: white;
	border-radius: 15px;
	padding: 40px 30px;
	margin-bottom: 30px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
	border-left: 5px solid var(--primary-blue);
}

/* サイドバー目次 */
.sidebar-toc {
	position: sticky;
	top: 120px;
	background: white;
	border-radius: 15px;
	padding: 25px 20px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
	max-height: calc(100vh - 150px);
	overflow-y: auto;
}

.sidebar-toc-title {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--light-blue);
}

.sidebar-toc-list {
	list-style: none;
	counter-reset: toc-counter;
	padding-left: 0;
	margin: 0;
}

.sidebar-toc-list>li {
	counter-increment: toc-counter;
	margin-bottom: 12px;
}

.sidebar-toc-list>li>a {
	color: var(--text-dark);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: color 0.3s;
	display: block;
	padding: 5px 0;
}

.sidebar-toc-list>li>a::before {
	content: counter(toc-counter) ". ";
	font-weight: 600;
	color: var(--primary-blue);
	margin-right: 5px;
}

.sidebar-toc-list>li>a:hover {
	color: var(--primary-blue);
}

.sidebar-toc-sublist {
	list-style: none;
	counter-reset: toc-subcounter;
	padding-left: 20px;
	margin-top: 8px;
	margin-bottom: 8px;
}

.sidebar-toc-sublist>li {
	counter-increment: toc-subcounter;
	margin-bottom: 8px;
}

.sidebar-toc-sublist>li>a {
	color: var(--text-gray);
	text-decoration: none;
	font-weight: 400;
	font-size: 0.88rem;
	transition: color 0.3s;
	display: block;
	padding: 3px 0;
}

.sidebar-toc-sublist>li>a::before {
	content: counter(toc-counter) "-" counter(toc-subcounter) ". ";
	font-weight: 500;
	color: var(--text-gray);
	margin-right: 5px;
}

.sidebar-toc-sublist>li>a:hover {
	color: var(--primary-blue);
}

/* アクティブ状態 */
.sidebar-toc-list>li>a.active {
	color: var(--primary-blue);
	font-weight: 600;
	background: linear-gradient(90deg, rgba(125, 211, 252, 0.1) 0%, rgba(125, 211, 252, 0) 100%);
	padding-left: 10px;
	margin-left: -10px;
	border-radius: 5px;
}

.sidebar-toc-sublist>li>a.active {
	color: var(--primary-blue);
	font-weight: 500;
	background: linear-gradient(90deg, rgba(125, 211, 252, 0.08) 0%, rgba(125, 211, 252, 0) 100%);
	padding-left: 8px;
	margin-left: -8px;
	border-radius: 5px;
}

/* アクティブ時の番号も青色に */
.sidebar-toc-list>li>a.active::before,
.sidebar-toc-sublist>li>a.active::before {
	color: var(--primary-blue);
	font-weight: 700;
}

.content-card h3 {
	font-size: 1.8rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 20px;
}

.content-card h4 {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-top: 30px;
	margin-bottom: 15px;
}

.content-card p {
	color: var(--text-gray);
	line-height: 1.9;
	margin-bottom: 15px;
}

.content-card ul {
	list-style: none;
	padding-left: 0;
	margin: 20px 0;
}

.content-card ul li {
	padding: 10px 0;
	color: var(--text-gray);
	position: relative;
	padding-left: 30px;
	line-height: 1.8;
}

.content-card ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--primary-blue);
	font-weight: bold;
	font-size: 1.2rem;
}

.content-card ol {
	padding-left: 20px;
	margin: 20px 0;
}

.content-card ol li {
	color: var(--text-gray);
	line-height: 1.9;
	margin-bottom: 10px;
}

/* インフォボックス */
.info-box {
	background: linear-gradient(135deg, #f0f9ff 0%, #fef3f9 100%);
	border-radius: 12px;
	padding: 25px;
	margin: 25px 0;
	border-left: 4px solid var(--primary-blue);
}

.info-box h5 {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
}

.info-box h5 i {
	margin-right: 10px;
	color: var(--primary-blue);
}

.info-box p {
	color: var(--text-gray);
	margin-bottom: 0;
	line-height: 1.8;
}

.info-box ul {
	margin-bottom: 0;
}

/* 警告ボックス */
.warning-box {
	background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
	border-radius: 12px;
	padding: 25px;
	margin: 25px 0;
	border-left: 4px solid #f97316;
}

.warning-box h5 {
	font-size: 1.2rem;
	font-weight: 600;
	color: #dc2626;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
}

.warning-box h5 i {
	margin-right: 10px;
	color: #f97316;
}

.warning-box p {
	color: var(--text-gray);
	margin-bottom: 0;
	line-height: 1.8;
}

.warning-box ul {
	margin-bottom: 0;
}

/* 障害カード (disorder-card) */
.disorder-card {
	background: white;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 20px;
	border: 2px solid var(--light-blue);
	transition: all 0.3s;
}

.disorder-card:hover {
	border-color: var(--primary-blue);
	box-shadow: 0 4px 15px rgba(125, 211, 252, 0.2);
}

.disorder-card h3 {
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 10px;
}

.disorder-card .disorder-subtitle {
	font-size: 0.95rem;
	color: var(--text-gray);
	margin-bottom: 20px;
}

.disorder-card h4 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-top: 25px;
	margin-bottom: 12px;
	padding-left: 12px;
	border-left: 3px solid var(--primary-blue);
}

.disorder-card p {
	color: var(--text-gray);
	line-height: 1.8;
	margin-bottom: 12px;
}

.disorder-card ul {
	list-style: none;
	padding-left: 0;
	margin: 15px 0;
}

.disorder-card ul li {
	padding: 8px 0;
	color: var(--text-gray);
	position: relative;
	padding-left: 25px;
	line-height: 1.7;
}

.disorder-card ul li::before {
	content: "▸";
	position: absolute;
	left: 0;
	color: var(--primary-blue);
	font-weight: bold;
}

/* サポートカード */
.support-card {
	background: linear-gradient(135deg, #f0f9ff 0%, #fef3f9 100%);
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 20px;
	border-left: 4px solid var(--primary-blue);
}

.support-card h4 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 15px;
}

.support-card p {
	color: var(--text-gray);
	line-height: 1.8;
	margin-bottom: 12px;
}

.support-card p strong {
	color: var(--text-dark);
	font-weight: 600;
}

.support-card ul {
	list-style: none;
	padding-left: 0;
	margin: 15px 0 0 0;
}

.support-card ul li {
	padding: 8px 0;
	color: var(--text-gray);
	position: relative;
	padding-left: 25px;
	line-height: 1.7;
}

.support-card ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--primary-blue);
	font-weight: bold;
}

/* 症状カード */
.symptom-card {
	background: white;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 20px;
	border: 2px solid var(--light-blue);
	transition: all 0.3s;
}

.symptom-card:hover {
	border-color: var(--primary-blue);
	box-shadow: 0 4px 15px rgba(125, 211, 252, 0.2);
}

.symptom-card h3 {
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 15px;
}

.symptom-card p {
	color: var(--text-gray);
	line-height: 1.8;
	margin-bottom: 12px;
}

.symptom-card h4 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-top: 20px;
	margin-bottom: 12px;
	padding-left: 12px;
	border-left: 3px solid var(--primary-blue);
}

.symptom-card ul {
	list-style: none;
	padding-left: 0;
	margin: 15px 0;
}

.symptom-card ul li {
	padding: 8px 0;
	color: var(--text-gray);
	position: relative;
	padding-left: 25px;
	line-height: 1.7;
}

.symptom-card ul li::before {
	content: "▸";
	position: absolute;
	left: 0;
	color: var(--primary-blue);
	font-weight: bold;
}

/* タイプ比較カード */
.type-card {
	background: white;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 20px;
	border: 2px solid var(--light-blue);
	transition: all 0.3s;
}

.type-card:hover {
	border-color: var(--primary-blue);
	box-shadow: 0 4px 15px rgba(125, 211, 252, 0.2);
}

.type-card h3 {
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 15px;
}

.type-card p {
	color: var(--text-gray);
	line-height: 1.8;
	margin-bottom: 12px;
}

.type-card h4 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-top: 20px;
	margin-bottom: 12px;
	padding-left: 12px;
	border-left: 3px solid var(--primary-blue);
}

.type-card ul {
	list-style: none;
	padding-left: 0;
	margin: 15px 0;
}

.type-card ul li {
	padding: 8px 0;
	color: var(--text-gray);
	position: relative;
	padding-left: 25px;
	line-height: 1.7;
}

.type-card ul li::before {
	content: "▸";
	position: absolute;
	left: 0;
	color: var(--primary-blue);
	font-weight: bold;
}

/* 症状リストカード */
.symptom-list-card {
	background: linear-gradient(135deg, #f0f9ff 0%, #fef3f9 100%);
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 20px;
}

.symptom-list-card h4 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 15px;
}

.symptom-list-card ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.symptom-list-card ul li {
	padding: 8px 0;
	color: var(--text-gray);
	position: relative;
	padding-left: 25px;
	line-height: 1.7;
}

.symptom-list-card ul li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--primary-blue);
	font-weight: bold;
	font-size: 1.3rem;
}

/* イントロセクション（病気の説明） */
.intro-section {
	background: linear-gradient(135deg, #f0f9ff 0%, #fef3f9 100%);
	border-radius: 20px;
	padding: 50px;
	margin-bottom: 80px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.intro-content {
	display: flex;
	gap: 50px;
	align-items: flex-start;
}

.intro-illustration {
	flex-shrink: 0;
	width: 300px;
	height: 300px;
	background: white;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.intro-illustration img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.intro-text {
	flex: 1;
}

.intro-text h3 {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 25px;
}

.intro-text p {
	color: var(--text-gray);
	line-height: 2.0;
	margin-bottom: 25px;
	font-size: 1.05rem;
}

/* 症状セクション - タブデザイン */
.symptoms-section {
	background: white;
	border-radius: 20px;
	padding: 50px;
	margin-bottom: 80px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.symptoms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
	margin-top: 30px;
}

.symptom-item {
	background: linear-gradient(135deg, #f0f9ff 0%, #fef3f9 100%);
	border-radius: 15px;
	padding: 30px;
	border-left: 5px solid var(--primary-blue);
	transition: all 0.3s;
}

.symptom-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(125, 211, 252, 0.2);
}

.symptom-item h4 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 15px;
}

.symptom-item .obsession {
	background: white;
	border-radius: 10px;
	padding: 15px;
	margin-bottom: 15px;
}

.symptom-item .obsession strong {
	color: var(--primary-blue);
	display: block;
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.symptom-item .compulsion {
	background: white;
	border-radius: 10px;
	padding: 15px;
}

.symptom-item .compulsion strong {
	color: #f97316;
	display: block;
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.symptom-item ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.symptom-item ul li {
	padding: 6px 0;
	color: var(--text-gray);
	position: relative;
	padding-left: 20px;
	line-height: 1.7;
	font-size: 0.95rem;
}

.symptom-item ul li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--primary-blue);
	font-weight: bold;
}

/* 合併症状セクション - タイムライン */
.complications-section {
	background: white;
	border-radius: 20px;
	padding: 50px;
	margin-bottom: 80px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.timeline {
	position: relative;
	padding-left: 50px;
	margin-top: 40px;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 15px;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, var(--primary-blue), var(--pale-pink));
}

.timeline-item {
	position: relative;
	padding-bottom: 50px;
}

.timeline-item:last-child {
	padding-bottom: 0;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: -42px;
	top: 5px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--primary-blue);
	border: 4px solid white;
	box-shadow: 0 0 0 3px var(--primary-blue);
}

.timeline-content {
	background: linear-gradient(135deg, #f0f9ff 0%, #fef3f9 100%);
	border-radius: 15px;
	padding: 25px;
	border-left: 4px solid var(--primary-blue);
}

.timeline-content h4 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 15px;
}

.timeline-content p {
	color: var(--text-gray);
	line-height: 2.0;
	margin-bottom: 0;
}

/* ナビゲーションボタン */
.nav-buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 60px;
	gap: 20px;
}

.nav-btn {
	flex: 1;
	display: block;
	padding: 20px 30px;
	background: white;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(125, 211, 252, 0.2);
}

.nav-btn .btn-label {
	font-size: 0.9rem;
	color: var(--text-gray);
	margin-bottom: 8px;
}

.nav-btn .btn-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-dark);
}

/* フッター */
.footer {
	background: linear-gradient(to right, #bae6fd 0%, #fce7f3 100%) !important;
}

/* レスポンシブ */
@media (max-width: 768px) {
	.page-header {
		margin-top: 80px;
		padding: 50px 0 40px;
	}

	.page-header h1 {
		font-size: 2.2rem;
	}

	.content-card {
		padding: 25px 20px;
	}

	.nav-buttons {
		flex-direction: column;
	}

	/* モバイルではサイドバー目次を非表示 */
	.sidebar-toc {
		display: none;
	}

	.intro-section {
		padding: 30px 20px;
	}

	.intro-content {
		flex-direction: column;
		gap: 30px;
	}

	.intro-illustration {
		width: 100%;
		height: 250px;
	}
}