.p-directoryPage .c-section__content {
	margin-bottom: 0;
}

.p-directoryPage__action {
	margin: 0 0 28px;
	text-align: right;
}

.c-section__content .p-directoryPage__action--bottom {
	margin: 26px 0 70px;
}

.p-directoryPage__action--detailTop {
	margin-bottom: 0;
}

.p-directoryDetailStaff .c-section__content {
	padding-bottom: 70px;
}

.p-directoryDetailStaff--between .c-section__content {
	padding-bottom: 50px;
}

.p-directoryOfficeSection--between {
	padding-bottom: calc(1rem - 10px);
}

.p-directoryEmpty {
	padding: 28px 24px;
	background-color: #fff;
	border: 1px solid #ccc;
}

.SearchKeyWord {
	color: #CC3300;
}

.c-officeCard {
	margin-top: 22px;
}

.c-officeCard + .c-officeCard {
	margin-top: 42px;
}

.c-officeCard__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	background-color: var(--color-nkblue);
}

.c-officeCard__flag {
	flex: 0 0 auto;
	height: 28px;
	width: auto;
	box-sizing: border-box;
	border: 1px solid #E6E6E6;
	background-color: #fff;
}

.c-officeCard__row {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 12px;
}

.c-officeCard__label {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5em;
	color: #fff;
	background-color: var(--color-nkblue);
}

.c-officeCard__value {
	padding: 0.5em 0.75em;
	background-color: #fff;
	min-width: 0;
	overflow-wrap: anywhere;
}

.c-officeCard__row--address {
	margin-top: 21px;
}

.c-officeCard__contact {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #ccc;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 21px 12px;
}

.c-officeCard__contact .c-officeCard__row {
	margin-top: 0;
}

.c-officeCard__contact .c-officeCard__value {
	display: flex;
	align-items: center;
}

.c-officeCard__separator {
	margin-top: 10px;
	border-top: 1px solid #ccc;
}

.c-officeCard__notice {
	margin-top: 10px;
	padding: 10px 20px;
	background-color: #fff;
}

.p-officeList__summary {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: 28px;
	row-gap: 8px;
	margin: 0 0 28px;
}

.p-officeList__count {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
}

.p-officeList__countNum {
	display: inline;
	color: var(--color-nkblue);
}

.p-officeList__note {
	font-size: 16px;
	line-height: 1.5;
}

.p-officeList {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	border-top: none;
}

.p-officeList th,
.p-officeList td {
	padding: 18px;
	border-bottom: 1px solid #ccc;
	text-align: left;
	vertical-align: middle;
	box-sizing: border-box;
}

.p-officeList thead th {
	font-size: 16px;
	font-weight: 400;
	color: inherit;
	padding-bottom: 15px;
}

.p-officeList__colOffice {
	width: 78%;
}

.p-officeList__colCountry {
	width: 22%;
}

.p-officeList td a {
	color: inherit;
	text-decoration: none;
}

.p-officeList td a:hover {
	color: var(--color-nkblue);
}

.p-officeList tbody tr:hover {
	background-color: rgb(221, 238, 243);
}

.p-officeList tbody tr:hover td,
.p-officeList tbody tr:hover td a,
.p-officeList tbody tr:hover td span {
	color: var(--color-nkblue);
	font-weight: 700;
}

.p-officeList tbody tr:hover td .u-text-notice,
.p-officeList tbody tr:hover td .SearchKeyWord {
	color: #CC3300;
}

.p-officeList__country img {
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
}

.p-officeList__country span {
	display: inline-block;
	vertical-align: middle;
}

.p-officeList__main {
	display: block;
	font-weight: 700;
}

.p-officeList__meta {
	display: block;
	margin-top: 8px;
	color: rgb(71, 69, 69);
	font-size: 0.92rem;
	line-height: 1.55;
	font-weight: 400;
}

.p-officeList__action {
	margin-bottom: 28px;
}

.p-directoryPager {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
}

.p-directoryPager a,
.p-directoryPager span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #ccc;
	background-color: #fff;
	color: inherit;
	text-decoration: none;
	box-sizing: border-box;
}

.p-directoryPager a:hover,
.p-directoryPager .is-current {
	border-color: var(--color-nkblue);
	background-color: var(--color-nkblue);
	color: #fff;
}

.p-staffInfo__title {
	margin: 0 0 18px;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.4;
}

.p-staffInfo {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	border-top: 1px solid #ccc;
}

.p-staffInfo th,
.p-staffInfo td {
	padding: 14px 16px;
	border-bottom: 1px solid #ccc;
	font-size: 1rem;
	line-height: 1.5;
	vertical-align: middle;
	text-align: left;
	box-sizing: border-box;
}

.p-staffInfo__colPosition {
	width: 34%;
}

.p-staffInfo__colName {
	width: 44%;
}

.p-staffInfo__colTel {
	width: 22%;
}

.p-staffInfo th {
	font-weight: 400;
}

.p-staffInfo__tel a {
	color: inherit;
	text-decoration: none;
}

.p-officeList--staff .p-officeList--staff__colName {
	width: 28%;
}

.p-officeList--staff .p-officeList--staff__colOffice {
	width: 46%;
}

.p-officeList--staff .p-officeList--staff__colTel {
	width: 26%;
}

.p-officeList--staff td,
.p-officeList--ports td,
.p-officeList--portCountries td {
	position: relative;
}

.p-officeList--staff td > a::after,
.p-officeList--ports td > a::after,
.p-officeList--portCountries td > a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.p-officeList--ports th,
.p-officeList--ports td {
	padding: 18px 20px;
}

.p-officeList--ports__colPort {
	width: 17%;
}

.p-officeList--ports__colCode {
	width: 18%;
}

.p-officeList--ports__colCountry {
	width: 22%;
}

.p-officeList--ports__colOffice {
	width: 25%;
}

.p-officeList--ports__colApply {
	width: 18%;
}

.p-officeList--ports .p-officeList__country img {
	width: auto;
	height: 28px;
}

.p-directoryPortNotice {
	margin: 0 0 28px;
	line-height: 1.7;
}

.p-directoryPortNotice--list {
	padding: 0;
	background: transparent;
	border: 0;
}

.p-directoryPortNotice--detail {
	margin: 40px 0 10px;
	padding: 0;
	color: inherit;
	background: transparent;
	border: 0;
	line-height: 1.5;
}

.p-directoryPortNotice--detail + h4 {
	margin-top: 0;
}

.p-officeList--portCountries .p-officeList__colCountry {
	width: 70%;
}

.p-officeList--portCountries .p-officeList__colCount {
	width: 30%;
}

@media screen and (max-width: 899px) {
	.c-officeCard__contact {
		grid-template-columns: 1fr;
	}

	.p-staffInfo__title {
		margin-top: 30px;
	}

	.p-staffInfo,
	.p-staffInfo tbody,
	.p-staffInfo th,
	.p-staffInfo td {
		display: block;
		width: 100%;
	}

	.p-staffInfo {
		border-top: 1px solid #ccc;
	}

	.p-staffInfo tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 16px;
		row-gap: 8px;
		padding: 18px 0;
		border-bottom: 1px solid #ccc;
	}

	.p-staffInfo th,
	.p-staffInfo td {
		border: none;
		padding: 0;
		width: auto;
	}

	.p-staffInfo th {
		grid-column: 1 / -1;
	}

	.p-staffInfo td,
	.p-staffInfo__tel {
		grid-row: 2;
	}

	.p-staffInfo__tel {
		text-align: left;
		white-space: nowrap;
	}
}

@media screen and (max-width: 767px) {
	.p-officeList--ports,
	.p-officeList--ports tbody,
	.p-officeList--ports tr,
	.p-officeList--ports th,
	.p-officeList--ports td {
		display: block;
	}

	.p-officeList--ports {
		border-top: none;
	}

	.p-officeList--ports colgroup {
		display: none;
	}

	.p-officeList--ports thead {
		display: none;
	}

	.p-officeList--ports tr {
		padding: 16px 0;
		border-top: 1px solid #ccc;
		border-bottom: none;
	}

	.p-officeList--ports tr:last-child {
		border-bottom: 1px solid #ccc;
	}

	.p-officeList--ports td {
		display: grid;
		grid-template-columns: 128px minmax(0, 1fr);
		column-gap: 16px;
		row-gap: 4px;
		padding: 6px 0;
		border-bottom: none;
		align-items: center;
		line-height: 1.6;
		word-break: normal;
		overflow-wrap: break-word;
	}

	.p-officeList--ports td::before {
		content: attr(data-label);
		font-weight: 700;
		color: var(--color-nkblue);
	}

	.p-officeList--ports .p-officeList__country a {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		min-width: 0;
	}

	.p-officeList--ports .p-officeList__country img,
	.p-officeList--ports .p-officeList__country span {
		display: inline-block;
		vertical-align: middle;
	}

	.p-officeList--ports .p-officeList__country img {
		grid-column: 2;
		grid-row: 1;
		margin-right: 0;
		margin-bottom: 0;
	}

	.p-officeList--ports .p-officeList__country span {
		grid-column: 2;
		grid-row: 1;
		padding-left: 0;
		min-width: 0;
	}
}

@media screen and (max-width: 599px) {
	.c-officeCard__head {
		align-items: flex-start;
		font-size: 18px;
	}

	.c-officeCard__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

@media screen and (max-width: 479px) {
	.p-officeList__summary {
		display: block;
	}

	.p-officeList__count {
		margin-bottom: 6px;
	}

	.p-officeList__note {
		display: block;
	}

	.p-officeList__country img,
	.p-officeList__country span {
		display: block;
	}

	.p-officeList__country img {
		margin-right: 0;
		margin-bottom: 6px;
	}

	.p-staffInfo tr {
		grid-template-columns: 1fr;
	}

	.p-staffInfo td,
	.p-staffInfo__tel {
		grid-row: auto;
	}

	.p-staffInfo__tel {
		text-align: left;
		white-space: normal;
	}
}
