/* ============================================================
   LLMO ページ（page-llmo.php・#72）と、定義文のブロック（校舎ページと共通）
   色はサイト共通の teal（#009c88）に合わせる
   ============================================================ */

/* ---------- 定義文のブロック ---------- */
.tmsg-definition {
	margin: 0 0 48px;
	padding: 24px 28px;
	border-left: 6px solid #009c88;
	background: #f0f7f5;
	color: #17221f;
}
.tmsg-definition__label {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: bold;
	color: #00614f;
}
.tmsg-definition__text {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.8;
}
.tmsg-definition__more {
	margin: 12px 0 0;
	font-size: 14px;
}
.tmsg-definition__more a {
	color: #00614f;
	font-weight: bold;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 校舎ページ（「MSG東進の特長」の見出しの下）に置くとき */
.sr .sr-definition {
	max-width: 760px;
	margin: 0 auto 72px;
}

/* ---------- LLMO ページ ---------- */
.llmo__inner {
	max-width: 880px;
	margin-bottom: 100px;
	color: #17221f;
	font-size: 16px;
	line-height: 1.9;
}

/* 本文（管理画面で入れる HTML）。reset.css で消えている余白を戻す */
.llmo__content h2,
.llmo__heading {
	margin: 64px 0 24px;
	padding: 0 0 12px 20px;
	border-bottom: 1px solid #ededed;
	color: #009c88;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5;
	text-align: left;
	position: relative;
}
.llmo__content h2::before,
.llmo__heading::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 6px;
	height: 1.1em;
	background: #009c88;
}
.llmo__content h3 {
	margin: 40px 0 16px;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.6;
	text-align: left;
}
.llmo__content p {
	margin: 0 0 1.4em;
}
.llmo__content ul,
.llmo__content ol {
	margin: 0 0 1.4em;
	padding-left: 1.6em;
}
.llmo__content ul { list-style: disc; }
.llmo__content ol { list-style: decimal; }
.llmo__content li { margin: 0 0 0.4em; list-style-type: inherit; } /* reset.css の li{list-style-type:none} を戻す */
.llmo__content strong { font-weight: bold; }
.llmo__content a {
	color: #00614f;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.llmo__content table {
	width: 100%;
	margin: 0 0 1.4em;
	border-collapse: collapse;
}
.llmo__content th,
.llmo__content td {
	padding: 12px 16px;
	border: 1px solid #d9e2de;
	text-align: left;
	vertical-align: top;
}
.llmo__content th {
	background: #f0f7f5;
	font-weight: bold;
	white-space: nowrap;
}

.llmo__faq ul.qa:first-of-type { margin-top: 0; }

.llmo__date {
	margin: 48px 0 0;
	font-size: 13px;
	color: #4a5854;
	text-align: right;
}

.llmo__related ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.llmo__related a {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid #009c88;
	border-radius: 999px;
	color: #00614f;
	font-weight: bold;
	text-decoration: none;
}

@media screen and (max-width: 768px) {
	.tmsg-definition {
		margin-bottom: 36px;
		padding: 18px 18px;
	}
	.tmsg-definition__text { font-size: 16px; }
	.sr .sr-definition { margin-bottom: 48px; }
	.llmo__inner {
		margin-bottom: 64px;
		font-size: 15px;
	}
	.llmo__content h2,
	.llmo__heading {
		margin-top: 48px;
		font-size: 20px;
	}
	.llmo__content h3 { font-size: 18px; }
	.llmo__content table { font-size: 14px; }
	.llmo__content th { white-space: normal; }
	.llmo__date { text-align: left; }
}
