:root {
	--primary-color: #3aabd2;
	--primary-dark: #2891b5;
	--primary-light: #e8f5fa;
	--text-dark: #222;
	--text-medium: #555;
	--text-light: #777;
	--border-color: #e0e0e0;
	--bg-light: #f8f9fa;
	--bg-activity: #fafbfc;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
	--shadow-card: 0 8px 20px rgba(0, 0, 0, 0.15);
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html {
    scroll-behavior: smooth;
}
/* ==============================
   メインコンテナ
   ============================== */
main {
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	overflow: hidden;
	background: #f8f9fa;
}

h1, h2, h3 {
	font-weight: normal;
}

/* ==============================
   共通要素
   ============================== */
.class_flexContainer {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin: 3rem auto;
	padding: 0 1rem;
	max-width: 1400px;
}

.class_flexContainer article {
	flex: 1 1 calc(50% - 1rem);
	min-width: 320px;
	margin-bottom: 0;
}

@media screen and (max-width: 768px) {
	.class_flexContainer {
		gap: 1.5rem;
	}
	
	.class_flexContainer article {
		flex: 1 1 100%;
	}
}

/* ==============================
   カードデザイン
   ============================== */
.class_articleCard {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	overflow: hidden;
}

.class_articleCard:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

/* ==============================
   タイトル部分
   ============================== */
.class_articleTitle {
	margin: 0;
	padding: 1.8rem 1.5rem 1.2rem;
	border-bottom: 3px solid;
	background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
}

.class_articleTitle h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.5rem;
	line-height: 1.4;
}

.class_articleTitleMain {
	color: #2c3e50;
	font-family: 'Noto Serif JP', serif;
	font-weight: 500;
	display: block;
	margin-bottom: 0.3rem;
}

.class_articleTitleSub {
	font-size: 0.75rem;
	color: #95a5a6;
	font-weight: 400;
	letter-spacing: 0.05em;
}

.class_description {
	margin: 0.8rem 0 0 0;
	font-size: 0.875rem;
	color: #7f8c8d;
	line-height: 1.6;
}

/* ==============================
   定義リスト(事例リスト)
   ============================== */
main dl {
	box-sizing: border-box;
	border: none;
	margin: 0;
	display: flex;
	flex-direction: column;
}

main dt {
	box-sizing: border-box;
	border: none;
	margin: 0;
	padding: 1.2rem 1.5rem 0.8rem;
	background: #f8f9fa;
	font-size: 0.95rem;
	font-weight: 500;
	text-align: left;
	color: #34495e;
	border-top: 1px solid #e9ecef;
}

main dt:first-child {
	border-top: none;
}

main dd {
	box-sizing: border-box;
	border: none;
	margin: 0;
	padding: 0.9rem 1.5rem 0.9rem 2.5rem;
	font-size: 0.9rem;
	text-align: left;
	color: #555;
	line-height: 1.7;
	position: relative;
}

main dd::before {
	content: "・";
	position: absolute;
	left: 1.5rem;
	color: #95a5a6;
	font-weight: bold;
}

main dd + dd {
	border-top: 1px dashed #e9ecef;
}

.class_exampleList {
	margin: 0;
	background: #fff;
	color: #444;
	text-align: center;
}

/* ==============================
   ヘッダーの電話アイコン
   ============================== */
#id_imgTel path {
	fill: rgb(58, 171, 210);
}

/* ==============================
   ページタイトルセクション
   ============================== */
#id_pageTitle {
	width: 100%;
	position: relative;
}

#id_pageTitleBackground {
	width: 100%;
	display: flex;
	position: relative;
	overflow: hidden;
}

#id_pageTitleLeft {
	height: calc(100vh - 50px);
	width: 25%;
	background: linear-gradient(90deg, #2c3e50 0%, #212A45 100%);
	display: flex;
	justify-content: center;
	align-items: center;
}

#id_pageTitleRight {
	height: calc(100vh - 50px);
	width: 75%;
	background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
	display: flex;
	justify-content: center;
	align-items: center;
}

#id_pageTitleCaption {
	position: absolute;
	top: 50%;
	left: calc(25% + 10px);
	transform: translate(0, -50%);
	width: calc(75% - 20px);
	max-width: 900px;
	text-align: left;
}

.class_mainTitle {
	font-family: 'Noto Serif JP', serif;
	font-size: 3.5rem;
	font-weight: 500;
	color: #fff;
	line-height: 1.3;
	display: block;
	margin-bottom: 0.3rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.class_subTitle {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 400;
	letter-spacing: 0.1em;
	display: block;
}

#id_pageTitleCaption h1 {
	margin-bottom: 2rem;
}

.class_captionContent {
	padding-left: 0;
}

#id_pageTitleCaption p {
	padding: 0;
	margin-bottom: 2rem;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.8;
}

.class_readMore {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	padding: 0.8rem 2rem;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 50px;
	color: #fff;
	font-size: 1rem;
	transition: all 0.3s ease;
	background: rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}

.class_readMore:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.8);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.class_readMore span {
	display: inline-block;
}

.class_arrow {
	font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
	#id_pageTitleLeft {
		width: 20%;
	}
	
	#id_pageTitleRight {
		width: 80%;
	}
	
	#id_pageTitleCaption {
		left: calc(20% + 10px);
		width: calc(80% - 20px);
	}
	
	.class_mainTitle {
		font-size: 2.2rem;
	}
	
	.class_subTitle {
		font-size: 0.85rem;
	}
	
	#id_pageTitleCaption p {
		font-size: 0.9rem;
	}
	
	.class_readMore {
		font-size: 0.9rem;
		padding: 0.7rem 1.5rem;
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
	.class_mainTitle {
		font-size: 2.8rem;
	}
}

/* ==============================
   リンクボタン
   ============================== */
.class_linkAccess {
	text-decoration: none;
	padding: 1.5rem;
	display: block;
}

.class_linkContent {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1rem 1.5rem;
	border: 2px solid #e9ecef;
	border-radius: 50px;
	transition: all 0.3s ease;
	background: #f8f9fa;
}

.class_linkContent:hover {
	background: #fff;
	border-color: #4a90e2;
	box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
	transform: translateX(4px);
}

.class_linkIcon {
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.class_linkContent:hover .class_linkIcon {
	transform: translateX(4px);
}

.class_linkContent p {
	margin: 0;
	color: #2c3e50;
	font-size: 0.95rem;
	font-weight: 500;
}

/* ==============================
   セクションタイトル
   ============================== */
#id_individual,
#id_corporation {
	margin: 0;
	width: 100%;
	background: #fff;
}

#id_individual h2,
#id_corporation h2 {
	font-family: 'Noto Serif JP', serif;
	font-size: 2rem;
	font-weight: 500;
	color: #2c3e50;
	position: relative;
	margin: 0;
	padding: 3rem 2rem 2rem;
	background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
	text-align: center;
}

#id_individual h2::after,
#id_corporation h2::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #4a90e2;
	margin: 1rem auto 0;
	border-radius: 2px;
}

@media screen and (max-width: 768px) {
	#id_individual h2,
	#id_corporation h2 {
		font-size: 1.6rem;
		padding: 2rem 1rem 1.5rem;
	}
}

/* ==============================
   各業務カテゴリーの色分け
   ============================== */
/* 法律相談 */
#id_legalAdvice .class_articleTitle {
	border-color: #f39c12;
}

/* 民事事件 */
#id_civilCase .class_articleTitle,
#id_civilCase_corporation .class_articleTitle {
	border-color: #27ae60;
}

/* 家事事件 */
#id_domesticRelationsCase .class_articleTitle {
	border-color: #16a085;
}

/* 債務整理事件 */
#id_arrangement .class_articleTitle,
#id_arrangement_corporation .class_articleTitle {
	border-color: #3498db;
}

/* 刑事事件 */
#id_criminalCase .class_articleTitle {
	border-color: #e74c3c;
}

/* 法律顧問 */
#id_legalAdvisory .class_articleTitle {
	border-color: #2c3e50;
}

/* アイコンの色も統一 - 矢印と丸の両方に色を適用 */
#id_legalAdvice .class_linkIcon path {
	fill: #f39c12;
}

#id_civilCase .class_linkIcon path,
#id_civilCase_corporation .class_linkIcon path {
	fill: #27ae60;
}

#id_domesticRelationsCase .class_linkIcon path {
	fill: #16a085;
}

#id_arrangement .class_linkIcon path,
#id_arrangement_corporation .class_linkIcon path {
	fill: #3498db;
}

#id_criminalCase .class_linkIcon path {
	fill: #e74c3c;
}

#id_legalAdvisory .class_linkIcon path {
	fill: #2c3e50;
}

/* ==============================
   スクロールアニメーション
   ============================== */
#id_individual {
	scroll-margin-top: 50px;
}
.class_scrollAnimation {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animation_fadeInShow {
	opacity: 1;
	transform: translateY(0);
}

/* 各要素に遅延を追加 */
.class_flexContainer .class_articleCard:nth-child(1) {
	transition-delay: 0.1s;
}

.class_flexContainer .class_articleCard:nth-child(2) {
	transition-delay: 0.2s;
}

.class_flexContainer .class_articleCard:nth-child(3) {
	transition-delay: 0.3s;
}

.class_flexContainer .class_articleCard:nth-child(4) {
	transition-delay: 0.4s;
}

.class_flexContainer .class_articleCard:nth-child(5) {
	transition-delay: 0.5s;
}

/* ==============================
   印刷スタイル
   ============================== */
@media print {
	.class_scrollAnimation {
		opacity: 1;
		transform: none;
	}
	
	.class_articleCard {
		box-shadow: none;
		border: 1px solid #ddd;
		page-break-inside: avoid;
	}
	
	#id_pageTitleBackground {
		height: auto;
	}
	
	.class_readMore {
		display: none;
	}
}