/* ＝＝＝＝＝ ブロック: 全共通 ＝＝＝＝＝ */


@media (width <= 599px) {

	.writing p,
	.wp-block-separator {
    margin-bottom: 30px;
	}

	.writing ul {
		margin-top: 30px;
		margin-bottom: 30px;
	}

}


@media (600px <= width <= 959px) {

	.writing p,
	.wp-block-separator {
    margin-bottom: 30px;
	}

	.writing ul {
		margin-top: 30px;
		margin-bottom: 30px;
	}

}


@media (width >= 960px) {

	.writing p,
	.wp-block-separator {
    margin-bottom: 45px;
	}

	.writing ul {
		margin-top: 45px;
		margin-bottom: 45px;
	}

}




/* ＝＝＝＝＝ ブロック「見出し」 ＝＝＝＝＝ */

.writing h2,
.writing h3,
.writing h4,
.writing h5,
.writing h6 {
	font-weight: bold;
}




@media (width <= 599px) {

	.writing h2 {
		padding: 12px 10px;
		border-top: 1px solid #aaa;
		border-bottom: 1px solid #aaa;
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 19px;
    line-height: 1.7;
	}

}


@media (600px <= width <= 959px) {

	.writing h2 {
		padding: 15px 15px;
		border-top: 2px solid #aaa;
		border-bottom: 2px solid #aaa;
    margin-top: 80px;
    margin-bottom: 38px;
    font-size: 22px;
    line-height: 1.7;
	}

}


@media (width >= 960px) {

	.writing h2 {
		padding: 20px 15px;
		border-top: 2px solid #aaa;
		border-bottom: 2px solid #aaa;
    margin-top: 90px;
    margin-bottom: 45px;
    font-size: 30px;
    line-height: 1.6;
	}

}




/* ＝＝＝＝＝ ブロック: リスト (ul) ＝＝＝＝＝ */

.writing li {
	margin-bottom: 0;
}

.writing li:not(:last-of-type) {
	margin-bottom: 10px;
}

.writing li::before {
	content: "・";
}

.writing ul li::before {
	position: static;
	font-weight: bold;
}


@media (max-width: 599px) {

	.writing ul li {
		margin-left: 0.9em;
		text-indent: -1.1em;
	}

	.writing ul li::before {
		margin-right: 0.2em;
	}

}


@media (min-width: 600px) and (max-width: 959px) {

	.writing ul li {
		margin-left: 1.1em;
		text-indent: -1.3em;
	}

	.writing ul li::before {
		margin-right: 0.2em;
	}

}


@media (min-width: 960px) {

	.writing ul li {
		margin-left: 1.1em;
		text-indent: -1.3em;
	}

	.writing ul li::before {
		margin-right: 0.2em;
	}

}




/* ＝＝＝＝＝ ブロック: テーブル ＝＝＝＝＝ */

.writing table,
.writing thead {
	border-bottom: none !important;
}

.writing tfoot {
	border-top: none !important;
}

.writing th,
.writing td {
	border: 1px solid #ddd;
	border-color: #ddd !important;
	color: #222;
}

.writing th,
.writing tfoot td {
	background-color: #f4f5f7 !important;
	font-weight: bold;
}

.writing tbody td {
	background-color: #fff !important;
}

.writing figcaption {
	text-align: left !important;
}


@media (max-width: 599px) {

	.writing td,
	.writing th,
	.writing figcaption {
		font-size: 12px;
	}

	#writing td,
	#writing th {
		padding: 10px;
	}

	.writing figcaption {
		margin-bottom: 10px;
	}

	.writing table + figcaption {
		margin-top: 10px;
		margin-bottom: 0;
	}

}


@media (min-width: 600px) and (max-width: 959px) {

	.writing td,
	.writing th,
	.writing figcaption {
		font-size: 13px;
	}

	#writing td,
	#writing th {
		padding: 15px 20px;
	}

	.writing figcaption {
		margin-bottom: 15px;
	}

	.writing table + figcaption {
		margin-top: 15px;
		margin-bottom: 0;
	}

}


@media (min-width: 960px) {

	.writing td,
	.writing th,
	.writing figcaption {
		font-size: 15px;
	}

	#writing td,
	#writing th {
		padding: 15px 20px;
	}

	.writing figcaption {
		margin-bottom: 15px;
	}

	.writing table + figcaption {
		margin-top: 15px;
		margin-bottom: 0;
	}

}




/* ＝＝＝＝＝ ブロック: Flexible Table ＝＝＝＝＝ */

#writing .fit_content table {
	width: fit-content;
	table-layout: auto;
}

.cell_nowrap {
	white-space: nowrap;
}




/* ＝＝＝＝＝ 区切り ＝＝＝＝＝ */

.wp-block-separator {
	border-top: 1px solid #ddd;
}




/* ＝＝＝＝＝ テキストリンク ＝＝＝＝＝ */

.writing a {
	color: #0066c0;
	text-decoration: underline;
}


@media (width >= 960px) {

	.writing a:hover {
		color: #00a0e9;
	}

}







