/* =========================================================
   SOx・PM規制
   Page namespace: .p-ac-soxpm
   Hero / H1 / Breadcrumb / common H2 are not overridden.
   ========================================================= */

.p-ac-soxpm .p-soxpm__anchorNav {
	border-bottom: 1px solid #d6e1ea;
	background: #fff;
}

.p-ac-soxpm .p-soxpm__anchorNav .l-container {
	padding-top: 36px;
	padding-bottom: 34px;
}

.p-ac-soxpm .p-soxpm__anchorNavTitle {
	margin: 0 0 18px;
	font-weight: 700;
}

.p-ac-soxpm .p-soxpm__anchorNavList {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-ac-soxpm .p-soxpm__anchorNavList li {
	min-width: 0;
	margin: 0;
}

.p-ac-soxpm .p-soxpm__anchorNavList a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid #d6e1ea;
	background: #fff;
	color: #004b87;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
	box-sizing: border-box;
}

.p-ac-soxpm .p-soxpm__anchorNavList a:hover,
.p-ac-soxpm .p-soxpm__anchorNavList a:focus-visible {
	border-color: #0065b4;
	background: #eef6fb;
}

.p-ac-soxpm .p-soxpm__sectionAnchor {
	scroll-margin-top: 120px;
}

/* Long technical content: keep H2 dominant and make H3 a quieter local divider. */
.p-ac-soxpm .p-soxpm__subheading {
	margin: 42px 0 18px;
	padding: 10px 14px;
	border-left: 4px solid #0068a9;
	background: #f3f7fa;
	color: #004b87;
	font-size: 1.08em;
	font-weight: 700;
	line-height: 1.55;
}

.p-ac-soxpm .p-soxpm__subheading + p,
.p-ac-soxpm .p-soxpm__subheading + div {
	margin-top: 0;
}

.p-ac-soxpm .p-soxpm__img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 18px;
	margin-bottom: 24px;
}

/* Tables: title/identifier -> description -> action. */
.p-ac-soxpm .p-soxpm__table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 18px 0 36px;
}

.p-ac-soxpm .p-soxpm__table {
	width: 100%;
	min-width: 720px;
	table-layout: fixed;
}

.p-ac-soxpm .p-soxpm__table th,
.p-ac-soxpm .p-soxpm__table td {
	vertical-align: top;
	line-height: 1.65;
	overflow-wrap: anywhere;
}


.p-ac-soxpm .p-soxpm__table-caption {
	margin: 24px 0 10px;
	font-weight: 700;
	text-align: left;
}

/* Contact: 新造船関連 / 就航船関連 are h3 headings. */
.p-ac-soxpm .p-soxpm__contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.p-ac-soxpm .p-soxpm__contact {
	min-width: 0;
	height: 100%;
	box-sizing: border-box;
}

.p-ac-soxpm .p-soxpm__contact-label {
	margin: 0 0 12px;
	font-size: 1.12em;
	font-weight: 700;
	line-height: 1.5;
}

.p-ac-soxpm .p-soxpm__contact-title {
	margin: 0 0 12px;
	font-weight: 700;
	line-height: 1.5;
}

.p-ac-soxpm .p-soxpm__contact p {
	margin: 0.55em 0;
}

@media screen and (max-width: 1023px) {
	.p-ac-soxpm .p-soxpm__anchorNavList {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}

@media screen and (max-width: 767px) {
	.p-ac-soxpm .p-soxpm__anchorNav .l-container {
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.p-ac-soxpm .p-soxpm__anchorNavList {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.p-ac-soxpm .p-soxpm__anchorNavList a {
		min-height: 60px;
		padding: 12px 10px;
	}

	.p-ac-soxpm .p-soxpm__subheading {
		margin-top: 32px;
		padding: 9px 12px;
		font-size: 1em;
	}

	.p-ac-soxpm .p-soxpm__contact-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.p-ac-soxpm .p-soxpm__table {
		min-width: 680px;
	}
}

/* ECA maps: keep each caption directly below its image. */
.p-ac-soxpm .p-soxpm__figure-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 8px;
	margin: 18px 0 36px;
}

.p-ac-soxpm .p-soxpm__figure-row--single {
	display: block;
}

.p-ac-soxpm .p-soxpm__figure {
	margin: 0;
	text-align: center;
}

.p-ac-soxpm .p-soxpm__figure-row--single .p-soxpm__figure {
	width: fit-content;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.p-ac-soxpm .p-soxpm__figure .p-soxpm__img {
	margin: 0 auto;
}

.p-ac-soxpm .p-soxpm__figure figcaption {
	margin-top: 6px;
	text-align: center;
	line-height: 1.5;
}

@media screen and (max-width: 767px) {
	.p-ac-soxpm .p-soxpm__figure-row {
		display: block;
	}

	.p-ac-soxpm .p-soxpm__figure + .p-soxpm__figure {
		margin-top: 20px;
	}
}
