/*
 * ブロックエディタの本文用スタイル
 * （本文には Tailwind のクラスを付けられないため、ここで Figma の見た目に合わせる）
 */

/* ===== 共通 ===== */
.entry-content { color: #111922; }
.entry-content a { color: #007cda; text-decoration: underline; }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; }

/* ===== お知らせ詳細 ===== */
.entry-content--news > * + * { margin-top: 32px; }
.entry-content--news p { font-size: 16px; line-height: 2; }
.entry-content--news h2 {
	border-left: 4px solid #007cda;
	padding-left: 16px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
}
.entry-content--news h3 { font-size: 18px; font-weight: 700; line-height: 1.5; }
.entry-content--news h2 + *,
.entry-content--news h3 + * { margin-top: 16px; }
.entry-content--news ul { list-style: none; padding: 0; font-size: 15px; line-height: 2; }
.entry-content--news ul li::before { content: "・"; }

.entry-content--news .wp-block-table table {
	width: 100%;
	border: 1px solid #cce3ff;
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
}
.entry-content--news .wp-block-table th,
.entry-content--news .wp-block-table td {
	border: 0;
	border-bottom: 1px solid #cce3ff;
	padding: 16px 20px;
	text-align: left;
	vertical-align: top;
}
.entry-content--news .wp-block-table tr:last-child th,
.entry-content--news .wp-block-table tr:last-child td { border-bottom: 0; }
.entry-content--news .wp-block-table td:first-child,
.entry-content--news .wp-block-table th:first-child {
	width: 160px;
	background: #edf4fe;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}
.entry-content--news .wp-block-table td + td {
	font-size: 15px;
	line-height: 1.7;
}

.entry-content--news .wp-block-buttons { justify-content: center; }
.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 240px;
	padding: 16px 32px;
	border-radius: 999px;
	background: #007cda;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}
.entry-content .wp-block-button__link::after {
	content: "";
	width: 15px;
	height: 13px;
	background: url("../assets/icon-arrow-white.svg") no-repeat center / contain;
}
.entry-content .wp-block-button__link:hover { opacity: .8; }

/* ===== 固定ページ（プライバシーポリシー） ===== */
.entry-content--page > p:first-child { font-size: 16px; line-height: 2; }
.entry-content--page p,
.entry-content--page ul,
.entry-content--page ol { font-size: 15px; line-height: 2; }
.entry-content--page * + p,
.entry-content--page * + ul,
.entry-content--page * + ol { margin-top: 12px; }
.entry-content--page h2 {
	margin-top: 40px;
	border-left: 4px solid #0d3b7f;
	padding-left: 16px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}
.entry-content--page h2:first-child { margin-top: 0; }
.entry-content--page ul { list-style: none; padding: 0; }
.entry-content--page ul li::before { content: "・"; }
.entry-content--page ol { list-style: decimal; padding-left: 1.5em; }
.entry-content--page a { line-height: 1.7; }
.entry-content--page .has-text-align-right {
	margin-top: 40px;
	font-size: 14px;
	line-height: 1.5;
	color: #666;
}
