.shoyaku-editorial-policy {
	--ep-ink: #183832;
	--ep-green: #2f6f67;
	--ep-green-deep: #173e39;
	--ep-green-pale: #edf3f1;
	--ep-gold: #c9a66b;
	--ep-gold-pale: #eee0c5;
	--ep-paper: #f8f6f1;
	--ep-white: #fff;
	--ep-text: #273633;
	--ep-muted: #66736f;
	--ep-line: #d8ddd9;
	overflow: clip;
	background: var(--ep-paper);
	color: var(--ep-text);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 17px;
	line-height: 1.9;
}

.shoyaku-editorial-policy *,
.shoyaku-editorial-policy *::before,
.shoyaku-editorial-policy *::after {
	box-sizing: border-box;
}

.shoyaku-editorial-policy a {
	color: inherit;
}

.shoyaku-editorial-policy address {
	font-style: normal;
}

.ep-container {
	width: min(1120px, calc(100% - 48px));
	margin-inline: auto;
}

/*
 * 見出しと短い項目名は、テンプレートの <wbr> で示した文節の切れ目でだけ折り返す。
 * 収まらない語だけは任意の位置で折り返し、はみ出しを防ぐ（弁護士紹介ページと同じ規則）。
 */
.ep-hero h1,
.ep-hero__lead,
.ep-local-nav a,
.ep-section-heading h2,
.ep-promise h3,
.ep-type h3,
.ep-criteria h3,
.ep-check h3,
.ep-step h3,
.ep-rule dt,
.ep-update dt,
.ep-flow h3,
.ep-flow__title {
	word-break: keep-all;
	overflow-wrap: anywhere;
}

/* パンくず */

.shoyaku-editorial-policy__breadcrumb {
	background: var(--ep-green-deep);
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	letter-spacing: 0.04em;
}

.shoyaku-editorial-policy__breadcrumb ol {
	display: flex;
	gap: 10px;
	align-items: center;
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
	padding: 16px 0;
	list-style: none;
}

.shoyaku-editorial-policy__breadcrumb li + li::before {
	margin-right: 10px;
	color: var(--ep-gold);
	content: "/";
}

.shoyaku-editorial-policy__breadcrumb a {
	text-decoration: none;
}

.shoyaku-editorial-policy__breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ヒーロー */

.ep-hero {
	background: var(--ep-green-deep);
	color: #fff;
}

.ep-hero__inner {
	padding-block: clamp(76px, 9vw, 116px) clamp(82px, 10vw, 128px);
}

.ep-eyebrow,
.ep-section-label {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0;
	color: var(--ep-gold);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.2;
}

.ep-eyebrow::before,
.ep-section-label::before {
	flex: 0 0 auto;
	width: 42px;
	height: 1px;
	background: currentColor;
	content: "";
}

.ep-hero h1 {
	margin: 24px 0 0;
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(42px, 5vw, 64px);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.45;
}

.ep-hero__lead {
	margin: 34px 0 0;
	color: var(--ep-gold-pale);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.75;
}

.ep-hero__summary {
	max-width: 800px;
	margin: 26px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 2;
}

.ep-hero__summary a {
	color: #fff;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

/* ページ内メニュー（4項目×2行） */

.ep-local-nav {
	position: relative;
	z-index: 2;
	background: #fff;
	box-shadow: 0 10px 28px rgba(24, 56, 50, 0.07);
}

.ep-local-nav .ep-container {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ep-local-nav a {
	position: relative;
	padding: 18px 14px;
	color: var(--ep-ink);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease;
}

.ep-local-nav a:not(:nth-child(4n + 1))::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 22px;
	background: var(--ep-line);
	content: "";
	transform: translateY(-50%);
}

.ep-local-nav a:nth-child(n + 5) {
	border-top: 1px solid var(--ep-line);
}

.ep-local-nav a:hover {
	background: var(--ep-green-pale);
}

/* セクション共通 */

.ep-section {
	scroll-margin-top: 88px;
	padding-block: clamp(80px, 9vw, 124px);
}

.ep-section-heading h2 {
	margin: 24px 0 0;
	color: var(--ep-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.55;
}

.ep-section-heading > p:not(.ep-section-label) {
	max-width: 720px;
	margin: 24px 0 0;
	color: var(--ep-muted);
	font-size: 16px;
	line-height: 2;
}

.ep-container:not(.ep-split) > .ep-section-heading {
	margin-bottom: clamp(44px, 5vw, 58px);
}

.ep-split {
	display: grid;
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(56px, 8vw, 104px);
	align-items: start;
}

.ep-split > * {
	min-width: 0;
}

/* 1 基本理念 */

.ep-principles {
	background: var(--ep-paper);
}

.ep-promises {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ep-ink);
	list-style: none;
}

.ep-promise {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 0 20px;
	margin: 0;
	padding: 30px 0 34px;
	border-bottom: 1px solid var(--ep-line);
}

.ep-promise__number {
	padding-top: 3px;
	color: var(--ep-gold);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
}

.ep-promise__body {
	min-width: 0;
}

.ep-promise h3 {
	margin: 0;
	color: var(--ep-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(20px, 2.1vw, 24px);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.6;
}

.ep-promise p {
	margin: 12px 0 0;
	color: var(--ep-muted);
	font-size: 16px;
	line-height: 2;
}

/* 2 公開の基準 */

.ep-publishing {
	background: #fff;
}

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

.ep-type {
	min-width: 0;
	margin: 0;
	padding: clamp(28px, 3.4vw, 42px) clamp(24px, 3.2vw, 40px);
	border: 1px solid var(--ep-line);
	background: var(--ep-paper);
}

.ep-type__number,
.ep-check__number {
	display: block;
	color: var(--ep-gold);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.ep-type h3 {
	margin: 14px 0 0;
	color: var(--ep-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(23px, 2.6vw, 28px);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.55;
}

.ep-type p {
	margin: 16px 0 0;
	color: var(--ep-muted);
	font-size: 16px;
	line-height: 2;
}

.ep-criteria {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 5vw, 64px);
	margin-top: clamp(56px, 6vw, 76px);
}

.ep-criteria__block {
	min-width: 0;
	padding-top: 28px;
	border-top: 1px solid var(--ep-ink);
}

.ep-criteria h3 {
	margin: 0;
	color: var(--ep-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(21px, 2.3vw, 25px);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.6;
}

.ep-criteria__note {
	display: inline-block;
	color: var(--ep-muted);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.ep-criteria ol,
.ep-criteria ul {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.ep-criteria li {
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--ep-line);
	color: var(--ep-text);
	font-size: 16px;
	line-height: 1.9;
}

.ep-criteria__conditions {
	counter-reset: ep-condition;
}

.ep-criteria__conditions li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	column-gap: 12px;
	counter-increment: ep-condition;
}

.ep-criteria__conditions li::before {
	color: var(--ep-gold);
	content: counter(ep-condition, decimal-leading-zero);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.ep-criteria__exclusions li {
	display: flex;
	gap: 14px;
}

.ep-criteria__exclusions li::before {
	flex: 0 0 12px;
	width: 12px;
	height: 1px;
	margin-top: 0.95em;
	background: var(--ep-muted);
	content: "";
}

/* 3 調査の方法 */

.ep-investigation {
	background: var(--ep-paper);
}

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

.ep-check {
	min-width: 0;
	margin: 0;
	padding: clamp(28px, 3vw, 36px) clamp(24px, 2.6vw, 32px) clamp(30px, 3.2vw, 38px);
	border: 1px solid var(--ep-line);
	background: #fff;
}

.ep-check h3 {
	margin: 12px 0 0;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ep-line);
	color: var(--ep-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(20px, 2vw, 22px);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.6;
}

.ep-check ul {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.ep-check li {
	position: relative;
	margin: 0;
	padding-left: 24px;
	color: var(--ep-text);
	font-size: 16px;
	line-height: 1.85;
}

.ep-check li + li {
	margin-top: 12px;
}

.ep-check li::before {
	position: absolute;
	top: calc(0.925em - 7px);
	left: 4px;
	width: 6px;
	height: 11px;
	border-right: 1.5px solid var(--ep-green);
	border-bottom: 1.5px solid var(--ep-green);
	content: "";
	transform: rotate(45deg);
}

.ep-note {
	margin: clamp(40px, 5vw, 56px) 0 0;
	padding: 24px clamp(22px, 3vw, 32px);
	border: 1px solid rgba(47, 111, 103, 0.32);
	background: var(--ep-green-pale);
	color: var(--ep-ink);
	font-size: 16px;
	line-height: 2;
}

/* 4 公開までの確認 */

.ep-review {
	background: #fff;
}

.ep-steps {
	max-width: 880px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ep-step {
	position: relative;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	column-gap: clamp(20px, 3vw, 36px);
	margin: 0;
	padding-bottom: 46px;
}

.ep-step:last-child {
	padding-bottom: 0;
}

/* 段階をつなぐ線。パネルの縁取りではなく、印の列の中央に引く */
.ep-step::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 19.5px;
	width: 1px;
	background: var(--ep-line);
	content: "";
}

.ep-step:first-child::before {
	top: 10px;
}

.ep-step:last-child::before {
	bottom: auto;
	height: 10px;
}

.ep-step__marker {
	position: relative;
	z-index: 1;
	grid-column: 1;
	justify-self: center;
	width: 17px;
	height: 17px;
	margin-top: 1px;
	border: 1px solid var(--ep-gold);
	border-radius: 50%;
	background: #fff;
}

.ep-step__marker::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ep-gold);
	content: "";
	transform: translate(-50%, -50%);
}

.ep-step__body {
	grid-column: 2;
	min-width: 0;
}

.ep-step__label {
	margin: 0;
	color: var(--ep-gold);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.2;
}

.ep-step h3 {
	margin: 12px 0 0;
	color: var(--ep-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.55;
}

.ep-step__body > p:not(.ep-step__label):not(.ep-step__output) {
	margin: 14px 0 0;
	color: var(--ep-muted);
	font-size: 16px;
	line-height: 2;
}

.ep-step__output {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0 0.3em;
	margin: 18px 0 0;
	padding: 7px 14px;
	border: 1px solid var(--ep-line);
	background: var(--ep-paper);
	color: var(--ep-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.7;
}

.ep-step__output-label {
	color: var(--ep-muted);
	font-weight: 500;
}

/* 5 表現の規程 */

.ep-standards {
	background: var(--ep-paper);
}

.ep-rules {
	margin: 0;
	border-top: 1px solid var(--ep-ink);
}

.ep-rule {
	display: grid;
	grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
	gap: 8px clamp(32px, 5vw, 64px);
	padding: 26px 0 28px;
	border-bottom: 1px solid var(--ep-line);
}

.ep-rule dt {
	margin: 0;
	color: var(--ep-ink);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.75;
}

.ep-rule dd {
	margin: 0;
	color: var(--ep-text);
	font-size: 16px;
	line-height: 2;
}

/* 6 更新と訂正 */

.ep-corrections {
	background: #fff;
}

.ep-updates {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(40px, 5vw, 64px);
	margin: 0;
}

.ep-update {
	min-width: 0;
	padding: 26px 0 30px;
	border-top: 1px solid var(--ep-line);
}

.ep-update:nth-child(-n + 2) {
	border-top-color: var(--ep-ink);
}

.ep-update dt {
	margin: 0;
	color: var(--ep-ink);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.75;
}

.ep-update dd {
	margin: 10px 0 0;
	color: var(--ep-text);
	font-size: 16px;
	line-height: 2;
}

.ep-update dd a {
	color: var(--ep-green);
	font-weight: 600;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ep-update dd a:hover {
	color: var(--ep-green-deep);
}

.ep-flow {
	margin-top: clamp(56px, 6vw, 76px);
}

.ep-flow h3 {
	margin: 0;
	color: var(--ep-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.55;
}

.ep-flow__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.ep-flow__step {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 12px;
	align-content: start;
	align-items: baseline;
	min-width: 0;
	margin: 0;
	padding: 24px 22px 26px;
	border: 1px solid var(--ep-line);
	background: var(--ep-paper);
}

/* 次の段階を示す山形の矢印（右向き） */
.ep-flow__step + .ep-flow__step::before {
	position: absolute;
	top: 50%;
	left: -23px;
	width: 9px;
	height: 9px;
	border-top: 1px solid var(--ep-gold);
	border-right: 1px solid var(--ep-gold);
	content: "";
	transform: translateY(-50%) rotate(45deg);
}

.ep-flow__number {
	color: var(--ep-gold);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
}

.ep-flow__title {
	color: var(--ep-ink);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.5;
}

.ep-flow__step p {
	grid-column: 1 / -1;
	margin: 12px 0 0;
	color: var(--ep-muted);
	font-size: 16px;
	line-height: 1.9;
}

/* 7 ご利用にあたって */

.ep-notice {
	background: var(--ep-paper);
}

.ep-notice__panel {
	padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
	border: 1px solid var(--ep-line);
	background: #fff;
}

.ep-notice__panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ep-notice__panel li {
	display: flex;
	gap: 14px;
	margin: 0;
	color: var(--ep-text);
	font-size: 16px;
	line-height: 1.95;
}

.ep-notice__panel li + li {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--ep-line);
}

.ep-notice__panel li::before {
	flex: 0 0 5px;
	width: 5px;
	height: 5px;
	margin-top: calc(0.975em - 2.5px);
	border-radius: 50%;
	background: var(--ep-green);
	content: "";
}

/* 8 制作・監修体制 */

.ep-team {
	background: var(--ep-green-deep);
	color: #fff;
}

.ep-team .ep-section-heading h2 {
	color: #fff;
}

.ep-team .ep-section-heading > p:not(.ep-section-label) {
	color: rgba(255, 255, 255, 0.7);
}

.ep-team__body dl {
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.ep-team__body dl > div {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ep-team dt,
.ep-team dd {
	margin: 0;
	padding: 17px 0;
	line-height: 1.8;
}

.ep-team dt {
	padding-right: 16px;
	word-break: keep-all;
	overflow-wrap: anywhere;
	color: rgba(255, 255, 255, 0.58);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.ep-team dd {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

.ep-team dd a {
	color: var(--ep-gold-pale);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ep-team dd a:hover {
	color: #fff;
}

.ep-team__name,
.ep-team__affiliation,
.ep-team__postal,
.ep-team__profile-link {
	display: block;
}

.ep-team__affiliation {
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	font-weight: 500;
}

.ep-team__profile-link {
	width: fit-content;
	margin-top: 8px;
	font-size: 15px;
}

.ep-team__review {
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 15px;
	line-height: 1.9;
}

.ep-team__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.ep-button {
	display: inline-flex;
	flex: 1 1 280px;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 3px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.6;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.shoyaku-editorial-policy .ep-button--primary {
	border-color: var(--ep-gold-pale);
	background: var(--ep-paper);
	color: var(--ep-green-deep);
}

.shoyaku-editorial-policy .ep-button--primary:hover {
	border-color: var(--ep-gold);
	background: #fff;
}

.shoyaku-editorial-policy .ep-button--secondary {
	border-color: rgba(255, 255, 255, 0.75);
	background: transparent;
	color: #fff;
}

.shoyaku-editorial-policy .ep-button--secondary:hover {
	background: #fff;
	color: var(--ep-green-deep);
}

.ep-local-nav a:focus-visible,
.ep-button:focus-visible,
.ep-hero__summary a:focus-visible,
.ep-update dd a:focus-visible,
.ep-team dd a:focus-visible,
.shoyaku-editorial-policy__breadcrumb a:focus-visible {
	outline: 3px solid rgba(201, 166, 107, 0.7);
	outline-offset: 3px;
}

/* デスクトップ未満: 調査カードは2列、対応の流れは縦並び */
@media (max-width: 991.98px) {
	.ep-checks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ep-flow__list {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.ep-flow__step + .ep-flow__step::before {
		top: -20px;
		left: 50%;
		transform: translateX(-50%) rotate(135deg);
	}
}

@media (max-width: 860px) {
	.ep-split,
	.ep-criteria {
		grid-template-columns: 1fr;
	}

	.ep-split {
		gap: 46px;
	}
}

@media (max-width: 768px) {
	.ep-container,
	.shoyaku-editorial-policy__breadcrumb ol {
		width: calc(100% - 36px);
	}

	.shoyaku-editorial-policy__breadcrumb ol {
		padding-block: 12px;
	}

	.ep-hero__inner {
		padding-block: 56px 68px;
	}

	.ep-eyebrow::before,
	.ep-section-label::before {
		width: 30px;
	}

	.ep-hero h1 {
		margin-top: 20px;
		font-size: 34px;
		letter-spacing: 0.04em;
	}

	.ep-hero__lead {
		margin-top: 26px;
		font-size: 22px;
	}

	.ep-local-nav .ep-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ep-local-nav a {
		padding: 15px 8px;
		font-size: 14px;
		letter-spacing: 0.04em;
	}

	.ep-local-nav a:nth-child(2n + 1)::before {
		display: none;
	}

	.ep-local-nav a:nth-child(n + 3) {
		border-top: 1px solid var(--ep-line);
	}

	.ep-section {
		padding-block: 72px;
	}

	.ep-section-heading h2 {
		font-size: 30px;
	}

	.ep-promise {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 0 14px;
		padding: 26px 0 28px;
	}

	.ep-promise__number {
		font-size: 21px;
	}

	.ep-types,
	.ep-updates {
		grid-template-columns: 1fr;
	}

	.ep-update:nth-child(2) {
		border-top-color: var(--ep-line);
	}

	.ep-step {
		grid-template-columns: 28px minmax(0, 1fr);
		column-gap: 16px;
		padding-bottom: 40px;
	}

	.ep-step::before {
		left: 13.5px;
	}

	.ep-step h3 {
		font-size: 23px;
	}

	.ep-rule {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 22px 0 24px;
	}

	.ep-flow__step {
		padding: 20px 20px 22px;
	}
}

@media (max-width: 640px) {
	.ep-checks {
		grid-template-columns: 1fr;
	}

	.ep-team__body dl > div {
		grid-template-columns: 1fr;
	}

	.ep-team dt {
		padding: 16px 0 0;
	}

	.ep-team dd {
		padding: 4px 0 16px;
	}

	.ep-button {
		flex-basis: 100%;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shoyaku-editorial-policy {
		scroll-behavior: auto;
	}

	.ep-local-nav a,
	.ep-button {
		transition: none;
	}
}

@media print {
	.shoyaku-editorial-policy__breadcrumb,
	.ep-local-nav,
	.ep-team__actions {
		display: none;
	}

	.ep-hero,
	.ep-team {
		background: #fff;
		color: #000;
	}

	.ep-hero h1,
	.ep-hero__lead,
	.ep-hero__summary,
	.ep-hero__summary a,
	.ep-team .ep-section-heading h2,
	.ep-team .ep-section-heading > p:not(.ep-section-label),
	.ep-team dt,
	.ep-team dd,
	.ep-team dd a,
	.ep-team__affiliation,
	.ep-team__review {
		color: #000;
	}

	.ep-section {
		padding-block: 42px;
	}

	.ep-check,
	.ep-type,
	.ep-flow__step,
	.ep-rule {
		break-inside: avoid;
	}
}
