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

body {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.7;
	color: #4E7079;
	background-color: #f8f9fa;
}

.top-banner{
	color:#fff;
	padding:3px 10px;
	font-size: 13px;
}
.main{
	margin: 8.5vh auto;
}


.container {
	margin-top: 0!important;
	background-color: white;
}

/*! Header */
.header {
	background-color: white;
	padding: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.title {
	font-size: 1.8em;
	font-weight: bold;
	margin: 1em 0;
	line-height: 1.4;
}

.meta-info {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	font-size: 14px;
	color: #666;
}

.tag {
	background-color: #335895;
	color: white;
	padding: 0.5em 2.5em;
	border-radius: 30px;
	font-size: 12px;
	text-decoration: none;
}

.post-date::before{
	content: "";
	display: inline-block;
	background-image: url('https://eiken-academy.com/wp-content/themes/eiken/images/single-tips/clock.png');
	background-size: cover;
	background-repeat: no-repeat;
	width: 1.2em;
	height: 1.2em;
	top:2px;
	margin-right: 0.6em;
	position: relative;
}

.post-update::before{
	content: "";
	display: inline-block;
	background-image: url('https://eiken-academy.com/wp-content/themes/eiken/images/single-tips/round-arrow.png');
	background-size: cover;
	background-repeat: no-repeat;
	width: 0.9em;
	height: 1.1em;
	top:2px;
	margin-right: 0.6em;
	position: relative;
}

/*! Main Image */
.main-image {
	width: 100%;
	height: auto;
	margin-bottom: 30px;
	text-align: center;
}

/* Content */
.content {
	padding: 0 20px 40px;
}

.checkbox-section {
	padding:2em 3em;
	margin-bottom: 30px;
	background-color: #F2F7FF;
	border-radius: 10px;
}

.checkbox-section p{
	margin-bottom:0.5em;
}

.checkbox-title{
	font-size: 1.1em;
	color:#335895;
	font-weight: bold;
	margin-bottom: 0.8em;
}

.checkbox-title::before{
	content: "";
	display: inline-block;
	background-image: url('https://eiken-academy.com/wp-content/themes/eiken/images/single-tips/check-square.png');
	background-size: cover;
	background-repeat: no-repeat;
	width: 1.1em;
	height: 1.1em;
	top:3px;
	margin-right: 0.6em;
	position: relative;
}

.checkbox-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
	font-size: 14px;

}

.checkbox-item::before {
	content: "✓";
	color: #2563eb;
	font-weight: bold;
	margin-right: 8px;
	margin-top: 2px;
}

.text-section {
	margin-bottom: 30px;
	font-size: 14px;
	line-height: 1.8;
}

.text-section p {
	margin-bottom: 15px;
}

/*! Contents */
.contents-section {
	background-color: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 40px;
}

.contents-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 15px;
	color: #2563eb;
}

.contents-list {
	list-style: none;
}

.contents-list li {
	margin-bottom: 8px;
	font-size: 14px;
}

.contents-list li a {
	color: #2563eb;
	text-decoration: none;
}

.contents-list li a:hover {
	text-decoration: underline;
}

/*! H2 Sections */
.h2-section {
	margin-bottom: 40px;
}

.container h1{
	color:#335895;
}

.container h2,.archive-container h2 {
	font-size: 1.5em;
	font-weight: bold;
	color: #335895;
	margin: 2em 0 0.5em;
	padding-left: 10px;
	border-left: 5px solid #335895;
}

.container h3 {
	font-size: 1.3em;
	font-weight: bold;
	color: #335895;
	margin:1.5em 0 1em;
	padding-bottom: 3px;
	border-bottom: 3px solid #335895;
	display: inline-block;
}

		
.container h4 {
	font-size: 1.3em;
	font-weight: bold;
	color: #335895;
	margin-bottom: 15px;
	padding-bottom: 3px;
	border-bottom: 2px dashed #335895;
	display: inline-block;
}

.container h5 {
	font-size: 1.1em;
	font-weight: bold;
	color: #335895;
	margin-bottom: 15px;
}

/*! CTA Button */
.cta-section {
	background: linear-gradient(135deg, #1e40af, #2563eb);
	color: white;
	padding: 30px;
	text-align: center;
	margin: 40px 0;
	border-radius: 8px;
}

.cta-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
}

.cta-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-button {
	background-color: rgba(255,255,255,0.1);
	border: 2px solid white;
	color: white;
	padding: 12px 24px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s;
}

.cta-button:hover {
	background-color: white;
	color: #2563eb;
}

.cta-button.primary {
	background-color: #dc2626;
	border-color: #dc2626;
}

.cta-button.primary:hover {
	background-color: #b91c1c;
}

/*! CTA Table*/

.cta-table tbody td{
	padding:1.5em;
	background-color: aliceblue;
	color: #111;
}

.cta-table tbody tr:first-child td{
	border:2px solid #0e4389!important;
	background-color:#0e4389;
	color:#fff;
	text-align: center;
	font-weight: bold;
	font-size: 1em;
}

.cta-table tbody img{
	display: block;
	margin:0 auto;
}



/*! Instructor Section */
.instructor-section {
	border: 2px solid #335895;
	border-radius: 8px;
	padding: 2em 3em;
	margin-bottom: 40px;
}

.instructor-title {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 20px;
	color: #335895;
	border-left: 5px solid #335895;
	padding-left:10px;
}

.instructor-card {
	display: flex;
	gap: 4em;
	align-items: flex-start;
}

.instructor-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex-shrink: 0;
	border-right: 2px solid #335895;
	padding-right: 4em;
}

.instructor-image {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: url('https://eiken-academy.com/wp-content/themes/eiken/images/single-tips/instructor-img.png') center/cover;
	flex-shrink: 0;
	margin-bottom: 10px;
}

.instructor-info {
	border-left: none;
	padding-left: 0;
	color:#335895;
}

.instructor-info p {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}

.instructor-info .title {
	font-size: 12px;
	margin-bottom: 0;
}

.instructor-description {
	flex: 1;
}

.instructor-description p {
	font-size: 13px;
	line-height: 1.6;
	margin-bottom:0.7em;
}

.instructor-career{
	margin-bottom:1em;
	color:#335895;
	font-weight: bold;
	font-size: 1em;
}

/*! Related Articles */
.related-section {
	margin-bottom: 40px;
}

.related-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #2563eb;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.related-card {
	background-color: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 15px;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s;
}

.related-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.related-card .tag {
	margin-bottom: 10px;
	display: inline-block;
}

.related-card h3 {
	font-size: 14px;
	font-weight: bold;
	line-height: 1.5;
}

/*! Category Section */
.category-section {
	margin-bottom: 40px;
}

.category-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #2563eb;
}

.category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.category-link {
	background-color: #f8f9fa;
	border: 1px solid #e0e0e0;
	color: #2563eb;
	padding: 8px 16px;
	border-radius: 20px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s;
}

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

.common-s-cta_container {
	margin: 2.5em 0;
	display: flex;
	justify-content: center;
}

.common-s-cta_pc {
	display: block;
	position: relative;
	width: 830px;
	max-width: 100%;
}

.common-s-cta_background {
	width: 100%;
	border-radius: 16px;
	display: block;
}

.common-s-cta_buttons-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: absolute;
	bottom: 11%;
	width: 100% !important;
	padding: 0 20px;
	box-sizing: border-box;
	align-items: center;
}

.common-s-cta_buttons-container > a {
	display: flex;
	width: 82%;
	justify-content: center;
}

.common-s-cta_button {
	display: block;
	width: 100% !important;
	transition: transform 0.2s;
}

.common-s-cta_buttons-container .common-s-cta_button-row {
	display: flex;
	gap: 10px;
	justify-content: center;
	width: 82% !important;
}

.common-s-cta_button-row > a {
	display: flex;
	justify-content: center;
	width: 100%;
}

.common-s-cta_half-button {
	width: 100% !important;
}

.common-s-cta_sp {
	display: none;
}

div#ez-toc-container{
	border: 2px solid #6a8cc2!important;	
}

.ez-toc-title-container, .ez-toc-list{
	padding-left: 1.5em!important;
}

div#ez-toc-container li{
	margin-bottom:0.5em!important;
}



/*! Responsive */
@media (max-width: 768px) {
	.container {
		margin: 0;
		box-shadow: none;
	}
	
	.header{
		padding:15px;
	}

	.content {
		padding: 15px 0;
	}

	.title {
		font-size: 20px;
	}

	.meta-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.meta-date{
		display: flex;
		flex-direction: row;
		margin-left:1em;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}

	.instructor-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 15px;
	}

	.instructor-left {
		align-items: center;
	}

	.instructor-description {
		text-align: left;
		border-left: none;
		padding-left: 0;
	}

	.related-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 500px) {
	
	.instructor-left {
		border-right:none;
		padding-right:0;
		flex-direction:row;
		gap:1.5em;
	}
	
	.instructor-description{
		border-top: 2px solid #335895;
		padding-top:1em;
	}
	
	.common-s-cta_pc{
		display: none;
	}
	
	.common-s-cta_sp {
		display: block;
		position: relative;
		width: 600px;
		max-width: 100%;
	}
	
	.common-s-cta_buttons-container {
		margin: 0 !important;
		gap: 0;
		bottom: 2%;
	}
	
	.common-s-cta_sp .common-s-cta_button {
		width: 100% !important;
	}
	
	.common-s-cta_buttons-container {
		gap: 15px !important;
		bottom: 10%;
	}
	
	.common-s-cta_buttons-container > a {
		width: 100%;
	}			
}

/*! archive */
/*
.archive-container,.tips-archive-commonparts {
	max-width: 850px;
	margin: 10vh auto 0;
}

.page-title {
	text-align: center;
	color: #335895;
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 40px;
	position: relative;
	line-height: 1.3;
}
.page-title span{
	font-size: 0.8em;
	color:#D0E2FF;
}

.articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 60px;
}

.article-card {
	background: white;
	border-radius: 8px;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.article-card:hover {
	//transform: translateY(-2px);
	//box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.read-more-wrapper {
	text-align: center;
	margin-top: 15px;
}

.article-read-more {
	display: inline-block;
	padding: 8px 16px;
	background-color: #0068b7;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	transition: background-color 0.3s;
	width: 60%;
}

.article-read-more:hover {
	background-color: #005177;
}


.custom-thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.article-content {
	padding: 20px;
}

.category-tag {
	display: inline-block;
	background-color: #4a90e2;
	color: white;
	//padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 12px;
}

.archive-category-list .category-tag{
	padding:0;
}


.archive-category-list .category-tag a,span.category-tag a{
	display: inline-block;
	text-decoration: none;
	color: inherit;
	padding:0.5em 1.5em;
	border-radius: 30px;
	cursor: pointer;
}

.archive-category-list .category-tag a:hover,span.category-tag a:hover {
	opacity: 0.5;
}




.article-dates {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.date-item {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #666;
}

.date-icon {
	width: 14px;
	height: 14px;
	opacity: 0.7;
}

.article-title {
	font-size: 14px;
	color: #333;
	line-height: 1.5;
	text-decoration: none;
	display: block;
	font-weight: 500;
}

.article-title:hover {
	color: #4a90e2;
}

h3.article-title{
	border: none;
	font-size: 1em;
	font-weight: normal;
}
*/
.archive-container,.tips-archive-commonparts {
	max-width: 850px;
	margin: 10vh auto 0;
}

.page-title {
	text-align: center;
	color: #335895;
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 40px;
	position: relative;
	line-height: 1.3;
}

.page-title span{
	font-size: 0.8em;
	color:#D0E2FF;
}

.articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 60px;
}

/* カード全体をGridで構成 */
.article-card {
	display: grid;
	grid-template-rows: auto 1fr; /* 画像: auto、コンテンツ: 残りスペース */
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.article-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* 画像エリア */
.custom-thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

/* コンテンツエリアもGridで構成 */
.article-content {
	display: grid;
	grid-template-rows: auto 1fr; /* カテゴリ: auto、日付・タイトル: 残りスペース */
	padding: 20px;
	min-height: 120px; /* 最小高さを確保 */
}

/* カテゴリタグエリア */
.category-tags-area {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	align-items: flex-start;
}

.category-tag {
	display: inline-block;
	background-color: #4a90e2;
	color: white;
	border-radius: 20px;
	font-size: 12px;
	font-weight: bold;
}

.archive-category-list .category-tag{
	padding:0;
}

.archive-category-list .category-tag a,
span.category-tag a{
	display: inline-block;
	text-decoration: none;
	color: inherit;
	padding: 0.5em 1.5em;
	border-radius: 30px;
	cursor: pointer;
}

.archive-category-list .category-tag a:hover,
span.category-tag a:hover {
	opacity: 0.5;
}

/* 日付・タイトルエリア - 下揃えに配置 */
.article-bottom {
	display: grid;
	grid-template-rows: auto auto;
	gap: 12px;
	align-content: end; /* 重要：下揃えの実現 */
}

.article-dates {
	display: flex;
	gap: 15px;
}

.date-item {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #666;
}

.date-icon {
	width: 14px;
	height: 14px;
	opacity: 0.7;
}

.article-lead a,
.article-title {
	font-size: 14px;
	color: #333;
	line-height: 1.5;
	text-decoration: none;
	display: block;
	font-weight: 500;
}

.article-lead a:hover,
.article-title:hover {
	color: #4a90e2;
}

h3.article-title{
	border: none;
	font-size: 1em;
	font-weight: normal;
}

.read-more-wrapper {
	text-align: center;
	margin-top: 15px;
}

.article-read-more {
	display: inline-block;
	padding: 8px 16px;
	background-color: #0068b7;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	transition: background-color 0.3s;
	width: 60%;
}

.article-read-more:hover {
	background-color: #005177;
}


/*! archiveここまで*/


.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 40px;
}

.pagination-btn, .pagination a{
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	background: white;
	color: #666;
	border-radius: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
}

span.current, .pagination a:hover{
	color: #fff;
	background: #666;
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	border-radius: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
}


.pagination-btn:hover {
	background-color: #f0f0f0;
	color: #333;
}

.pagination-btn.active {
	background-color: #4a90e2;
	color: white;
	border-color: #4a90e2;
}

.pagination-btn.prev,
.pagination-btn.next {
	width: 50px;
	font-size: 16px;
}

.pagination-ellipsis {
	padding: 0 5px;
	color: #999;
}

.about .course-wrapper, .location-list_section{
	margin-bottom:-3vw!important;
}
.faq-section{
	margin-top:3vw!important;
}

.faq-section h2{
	color: #003C84!important;
	font-size: 24px!important;
	font-weight: 600!important;
	margin:0 0 1em 0!important;
	padding-left: 0;
	border-left:none;
}

/*!目次展開 */
/* 目次展開ボタンのスタイル */
/* 隠しコンテナのスタイル */
/* プレビュー項目のスタイル（薄く表示） */
.toc-preview-item {
	opacity: 0.4;
	position: relative;
	transition: opacity 0.3s ease;
}

/* この部分だけを置き換える */
.toc-preview-item {
	opacity: 0.35;
	transition: opacity 0.3s ease;
}

.toc-preview-item.fully-visible {
	opacity: 1;
}

.toc-preview-item.fully-visible::after {
	opacity: 0;
}

/* 隠しコンテナのスタイル */
.toc-hidden-container {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
				opacity 0.4s ease;
	opacity: 0;
}

.toc-hidden-container.expanded {
	max-height: 2000px;
	opacity: 1;
}

/* 目次展開ボタンのスタイル */
.toc-expand-button {
	width: 100%;
	padding: 12px 16px;
	margin-top: 10px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border: 1px solid #dee2e6;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	color: #495057;
	font-weight: 500;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	overflow: hidden;
}

.toc-expand-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	//background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
	transition: left 0.5s ease;
}

.toc-expand-button:hover::before {
	left: 100%;
}

.toc-expand-button:hover {
	background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
	border-color: #adb5bd;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	opacity: 0.8;
}

.toc-expand-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toc-expand-button .expand-icon {
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	font-size: 12px;
	font-weight: bold;
}

.toc-expand-button.expanded .expand-icon {
	transform: rotate(180deg);
}

/* 目次アイテムのスムーズな表示 */
.toc-hidden-container li {
	transform: translateY(-10px);
	transition: transform 0.3s ease, opacity 0.3s ease;
	transition-delay: 0.1s;
}

.toc-hidden-container.expanded li {
	transform: translateY(0);
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
	.toc-preview-item::after {
		background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 80%);
	}
	
	.toc-expand-button {
		background: #043780;
		color: #e2e8f0;
		border-color: #4a5568;
	}
	
	.toc-expand-button:hover {
		background: #043780;
		border-color: #718096;
	}
}

/* スマートフォン対応 */
@media (max-width: 768px) {
	.toc-expand-button {
		padding: 10px 14px;
		font-size: 13px;
	}
	
	.toc-hidden-container.expanded {
		max-height: 1500px;
	}
}