/*
 * Base rules from mytheme-yno/style.css and destyle.css for the templates that
 * still show old block content. Scoped to .container so the shared header,
 * footer, and renewal pages are not affected.
 */
.container {
	max-width: 1366px;
	margin: 64px auto 100px;
	padding: 0 30px;
	color: #414141;
	font-size: 16px;
}

.container :where(ul, ol, li, figure, blockquote, dl, dd) {
	margin: 0;
	padding: 0;
}

.container :where(ul, ol, li) {
	list-style: none;
}

.container :where(h1) {
	font-size: 30px;
}

.container :where(h2) {
	font-size: 28px;
}

.container :where(h3) {
	font-size: 22px;
}

.container :where(p) {
	line-height: 1.8em;
}

.container a {
	overflow-wrap: anywhere;
}

.container a:hover,
.container a:active {
	color: #564d44;
}

.container .txt-xl {
	font-size: 20px;
}

.container .txt-l {
	font-size: 18px;
}

.container .txt-m {
	font-size: 16px;
}

.container .txt-s {
	font-size: 14px;
}

.container .txt-xs {
	font-size: 12px;
}

.container .txt-xxs {
	font-size: 11px;
}

.container .uline {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.container .kome {
	padding-left: 1em;
	text-indent: -1em;
}

.container .ek-underline {
	text-underline-offset: 4px;
}

.container .wrapper {
	display: flex;
	gap: 40px;
	margin-top: 40px;
}

.container .main-wrap {
	flex: 1;
	min-width: 0;
}

.container .pc-only,
.container .hero-pc-only {
	display: block;
}

.container .tb-only,
.container .sp-only,
.container .hero-sp-only {
	display: none;
}

@media (max-width: 749px) {
	.container .tb-only {
		display: block;
	}

	.container .wrapper {
		flex-direction: column;
	}
}

@media (max-width: 599px) {
	.container {
		margin-top: 30px;
		padding: 0 3%;
	}

	.container .sp-only,
	.container .hero-sp-only {
		display: block;
	}

	.container .pc-only,
	.container .hero-pc-only {
		display: none;
	}

	.container :where(h1) {
		font-size: 24px;
	}

	.container :where(h2) {
		font-size: 22px;
	}

	.container :where(h3) {
		font-size: 20px;
	}
}
