@charset "utf-8";
/* ============================================================
   セミナーページ用スタイル
   ============================================================
   【ファイル名】seminar.css
   【置き場所】  /home/mits-test/www/tlj/wp-content/themes/tongue-lab/assets/css/

   読み込みは functions.php 側で行っています（style.css への追記は不要）。

   ※ scss フォルダがありますが、このファイルは scss から生成されない
      独立したファイルです。直接編集して問題ありません。

   色は既存サイトのグリーンに合わせています。
   実際の色が違う場合は、下の --sem-color の値だけ変えてください。
   ============================================================ */

:root {
	--sem-color: #00b39a;      /* サイトのアクセントカラー（緑） */
	--sem-text: #333;
	--sem-gray: #767676;
	--sem-line: #e2e2e2;
}


/* ---------- 3つのブロック共通 ---------- */

.seminar_group {
	margin-bottom: 80px;
}

.seminar_group_ttl {
	font-size: 24px;
	font-weight: bold;
	color: var(--sem-text);
	padding-bottom: 16px;
	margin-bottom: 32px;
	border-bottom: 2px solid var(--sem-color);
}

.seminar_empty {
	color: var(--sem-gray);
	padding: 24px 0;
	list-style: none;
}


/* ---------- ①②のカード一覧 ---------- */

.seminar_card_list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

.seminar_card {
	border: 1px solid var(--sem-line);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .25s, transform .25s;
}

.seminar_card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
	transform: translateY(-3px);
}

.seminar_card > a {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.seminar_card_img {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f5f5f5;
}

.seminar_card_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 画像が無いときの代替表示 */
.seminar_noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #eef1f1;
	color: #b4bdbd;
	font-size: 15px;
	letter-spacing: .1em;
	font-weight: bold;
}

/* 「無料」などの小さなラベル */
.seminar_label {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--sem-color);
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	padding: 4px 12px;
	border-radius: 3px;
}

.seminar_card_body {
	padding: 20px 24px 24px;
}

.seminar_card_ttl {
	font-size: 17px;
	font-weight: bold;
	line-height: 1.6;
	margin: 0 0 16px;
}

.seminar_card_text {
	font-size: 14px;
	line-height: 1.8;
	color: var(--sem-gray);
	margin: 0 0 16px;
}


/* ---------- 開催日時などの項目リスト ---------- */

.seminar_info dl {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 8px;
	font-size: 14px;
}

.seminar_info dt {
	flex: 0 0 90px;
	background: #f2f2f2;
	color: var(--sem-gray);
	text-align: center;
	padding: 4px 0;
	border-radius: 3px;
	font-size: 13px;
}

.seminar_info dd {
	margin: 0;
	padding-top: 4px;
	line-height: 1.6;
}


/* ---------- ボタン ---------- */

.seminar_btn {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 28px;
	background: var(--sem-color);
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	border-radius: 4px;
	text-decoration: none;
}

.seminar_btn--large {
	padding: 16px 64px;
	font-size: 16px;
}

.seminar_cta {
	text-align: center;
	margin: 48px 0;
}


/* ---------- ③過去のセミナー（シンプル表示） ---------- */

.seminar_past_list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--sem-line);
}

.seminar_past_item {
	border-bottom: 1px solid var(--sem-line);
}

.seminar_past_item > a {
	display: block;
	padding: 24px 8px;
	text-decoration: none;
	color: inherit;
	transition: background .2s;
}

.seminar_past_item > a:hover {
	background: #fafafa;
}

.seminar_past_date {
	font-size: 14px;
	color: var(--sem-gray);
	margin: 0 0 6px;
}

.seminar_past_ttl {
	font-size: 17px;
	font-weight: bold;
	line-height: 1.6;
	margin: 0 0 8px;
}

.seminar_past_text {
	font-size: 14px;
	line-height: 1.8;
	color: var(--sem-gray);
	margin: 0;
}


/* ---------- ページ送り ---------- */

.seminar_pager {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.seminar_pager .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 8px 12px;
	text-align: center;
	border: 1px solid var(--sem-line);
	border-radius: 4px;
	text-decoration: none;
	color: var(--sem-text);
	font-size: 14px;
}

.seminar_pager .page-numbers.current {
	background: var(--sem-color);
	border-color: var(--sem-color);
	color: #fff;
}


/* ---------- 詳細ページ ---------- */

.seminar_ended_note {
	background: #f5f5f5;
	color: var(--sem-gray);
	padding: 16px 24px;
	border-radius: 4px;
	margin-bottom: 32px;
	font-size: 15px;
}

.seminar_single_img {
	margin: 0 0 40px;
}

.seminar_single_img img {
	width: 100%;
	height: auto;
	display: block;
}

.seminar_info--single {
	margin-bottom: 48px;
}

.seminar_info--single dl {
	font-size: 15px;
	border-bottom: 1px solid var(--sem-line);
	padding-bottom: 12px;
	margin-bottom: 12px;
}

.seminar_single_body {
	line-height: 2;
	font-size: 16px;
}

.seminar_back {
	text-align: center;
	margin-top: 64px;
}

.seminar_back a {
	color: var(--sem-color);
	font-size: 15px;
}


/* ---------- スマートフォン ---------- */

@media screen and (max-width: 767px) {

	.seminar_group {
		margin-bottom: 56px;
	}

	.seminar_group_ttl {
		font-size: 20px;
		margin-bottom: 24px;
	}

	.seminar_card_list {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.seminar_card_body {
		padding: 16px 18px 20px;
	}

	.seminar_card_ttl {
		font-size: 16px;
	}

	.seminar_info dl {
		flex-direction: column;
		gap: 4px;
	}

	.seminar_info dt {
		flex: none;
		display: inline-block;
		padding: 3px 12px;
	}

	.seminar_btn {
		display: block;
		text-align: center;
	}

	.seminar_btn--large {
		padding: 16px 24px;
	}
}
/* 講師リスト（詳細ページ） */
.seminar_lecturer_list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.seminar_lecturer_list li {
	line-height: 1.8;
}
/* ---------- 講師リスト（詳細ページ） ---------- */

.seminar_lecturer_list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.seminar_lecturer_list li {
	line-height: 1.8;
}


/* ---------- チラシPDFボタン ---------- */

.seminar_pdf {
	margin: 32px 0 48px;
}

.seminar_pdf_btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 32px;
	border: 1px solid var(--sem-line);
	border-radius: 4px;
	background: #fff;
	color: var(--sem-text);
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
	transition: background .2s, border-color .2s;
}

.seminar_pdf_btn:hover {
	background: #fafafa;
	border-color: var(--sem-color);
}

.seminar_pdf_icon {
	display: inline-block;
	background: #d3453d;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: .05em;
	padding: 3px 8px;
	border-radius: 3px;
}


/* ---------- 「セミナーの様子」「開催レポート」の見出し ---------- */

.seminar_block {
	margin: 56px 0;
}

.seminar_block_ttl {
	font-size: 20px;
	font-weight: bold;
	color: var(--sem-text);
	padding-bottom: 12px;
	margin-bottom: 24px;
	border-bottom: 2px solid var(--sem-color);
}


/* ---------- 当日写真（最大6枚） ---------- */

.seminar_photo_list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.seminar_photo_list li {
	margin: 0;
}

.seminar_photo_list a {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
	background: #f5f5f5;
}

.seminar_photo_list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}

.seminar_photo_list a:hover img {
	transform: scale(1.04);
}


/* ---------- 開催レポート本文 ---------- */

.seminar_report {
	line-height: 2;
	font-size: 16px;
}

.seminar_report p {
	margin: 0 0 1.5em;
}

.seminar_report img {
	max-width: 100%;
	height: auto;
}


/* ---------- 過去セミナー一覧：サムネイル付き ---------- */

.seminar_past_item--thumb > a {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.seminar_past_img {
	flex: 0 0 240px;
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	background: #f5f5f5;
}

.seminar_past_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.seminar_past_body {
	flex: 1 1 auto;
	min-width: 0;
}


/* ---------- スマートフォン ---------- */

@media screen and (max-width: 767px) {

	.seminar_block {
		margin: 40px 0;
	}

	.seminar_block_ttl {
		font-size: 18px;
	}

	/* 写真は2列に */
	.seminar_photo_list {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	/* 過去一覧は縦積みに */
	.seminar_past_item--thumb > a {
		flex-direction: column;
		gap: 12px;
	}

	.seminar_past_img {
		flex: none;
		width: 100%;
	}

	.seminar_pdf_btn {
		width: 100%;
		justify-content: center;
		padding: 14px 16px;
	}
}
