.tabs {
	margin-top: 50px;
	margin-bottom: 50px;
	padding-top: 50px;
	padding-bottom: 40px;
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
}

.tabs__controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 10px;
}

.tab_item {
	width: 243px;
	height: 58px;
	line-height: 58px;
	font-size: 16px;
	text-align: center;
	color: #fff;
	display: inline-block;
	font-weight: 700;
	letter-spacing: 0;
	transition: all 0.2s ease;
	border-radius: 10px;
	cursor: pointer;
	border: none;
	background-color: #0059E6;
	margin-right: 10px;
	margin-bottom: 10px;
	box-shadow: 0 0 6px 1px rgba(53, 53, 53, 0.4);
	appearance: none;
}

.tab_item.is-active,
.tab_item:hover {
	background-color: #7AA0DE;
	box-shadow: none;
	text-decoration: none;
}

.tabs {
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
}

.tab_item {
	margin-bottom: 25px;
}

.tab_item:hover {
	opacity: 0.75;
}

.tabs[data-directory-context^="affiliation"] .tab_item {
	color: #222;
}

.tabs[data-directory-context^="affiliation"] .tab_item[data-tab-id="musashino"] {
	background-color: rgb(183, 142, 206);
}

.tabs[data-directory-context^="affiliation"] .tab_item[data-tab-id="musashino"].is-active,
.tabs[data-directory-context^="affiliation"] .tab_item[data-tab-id="musashino"]:hover {
	background-color: rgb(166, 117, 193);
}

.tabs[data-directory-context^="affiliation"] .tab_item[data-tab-id="mitaka"] {
	background-color: rgb(219, 244, 163);
	color: #1d1d1d;
}

.tabs[data-directory-context^="affiliation"] .tab_item[data-tab-id="mitaka"].is-active,
.tabs[data-directory-context^="affiliation"] .tab_item[data-tab-id="mitaka"]:hover {
	background-color: rgb(194, 223, 153);
}

.tabs[data-directory-context^="affiliation"] .tab_item[data-tab-id="koganei"] {
	background-color: rgb(228, 156, 210);
	color: #343434;
}

.tabs[data-directory-context^="affiliation"] .tab_item[data-tab-id="koganei"].is-active,
.tabs[data-directory-context^="affiliation"] .tab_item[data-tab-id="koganei"]:hover {
	background-color: rgb(206, 134, 181);
}

.tab_content {
	padding: 40px 40px 0;
	clear: both;
	overflow: hidden;
}

.tab_content[hidden] {
	display: none;
}

.tab_content.is-active {
	display: block;
}

.archive_content {
	text-decoration: none;
	box-shadow: 0 0 8px rgba(0, 0, 0, .16);
	margin: 0 auto 15px;
	max-width: 720px;
	min-height: 160px;
	padding: 10px;
	display: flex;
	justify-content: space-between;
	background-color: #ffffff;
	border: 1px solid rgba(0, 0, 0, .16);
	color: #000000 !important;
	transition: all 0.3s ease-in-out;
	text-decoration: none;
}

.archive_content:hover {
	transform: translateY(-4px);
	box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
	color: #000000;
	transition: all .4s;
	text-decoration: none;
}

.archive_content:hover h3,
.archive_content:hover h4 {
	color: #000000;
	text-decoration: none;
}

.archive_company p,
.archive_industry p {
	color: inherit;
}

div.archive_pic {
	width: 200px;
	height: auto;
	background-color: #f2eeee;
	display: flex;
	align-items: center;
}

div.archive_pic > img,
.archive_image {
	width: 100%;
	height: auto;
}

.archive_image--placeholder {
	display: block;
	width: 100%;
	min-height: 150px;
	background: #eef2f5;
}

div.archive_data {
	width: 100%;
	height: auto;
	margin-left: 10px;
	background-color: #ffffff;
	display: inline-flex;
	flex-direction: column;
}

.archive_data > h3,
.archive_data > h4,
.archive_data > p {
	margin: 5px;
	padding: 1px;
}

.archive_company > h3 {
	font-size: 28px;
	margin: 8px 0 0 15px;
}

.px27 > h3 {
	font-size: 27px;
}

div.archive_company {
	display: flex;
}

div.archive_industry {
	display: flex;
	margin: 8px 0 10px 15px;
}

.archive_industry > p {
	display: inline-block;
	margin: 3px 15px 0 0;
	padding: 5px;
	line-height: 1;
	text-decoration: none;
	color: #0059E6;
	border: 1px solid #0059E6;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-weight: 400;
}

div.archive_detail {
	margin-left: 15px;
	text-align: left;
}

.archive_detail > p {
	margin: 1em 0;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-weight: 400;
}

p.affi_musashino {
	padding: 4px 10px;
	line-height: 1;
	text-decoration: none;
	color: #2f2f2f;
	background-color: rgb(183, 142, 206);
	border: 1px solid rgb(183, 142, 206);
	border-radius: 25px;
	font-size: 16px;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-weight: 400;
}

p.affi_mitaka {
	padding: 4px 10px;
	line-height: 1;
	text-decoration: none;
	color: #1d1d1d;
	background-color: rgb(219, 244, 163);
	border: 1px solid rgb(219, 244, 163);
	border-radius: 25px;
	font-size: 16px;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-weight: 400;
}

p.affi_koganei {
	padding: 4px 10px;
	line-height: 1;
	text-decoration: none;
	color: #343434;
	background-color: rgb(228, 156, 210);
	border: 1px solid rgb(228, 156, 210);
	border-radius: 25px;
	font-size: 16px;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-weight: 400;
}

p.affi_generic {
	padding: 4px 10px;
	line-height: 1;
	text-decoration: none;
	color: #343434;
	background-color: #dfe7f3;
	border: 1px solid #dfe7f3;
	border-radius: 25px;
	font-size: 16px;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-weight: 400;
}

.archive_detail h4 {
	font-size: 18px;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 600;
	line-height: 1.65;
}

.musashino-company-directory .contents_area {
	width: 100%;
}

.musashino-company-directory__section {
	max-width: 100%;
}

.musashino-company-directory__section .wp-block-heading {
	margin: 0 auto 24px;
	text-align: center;
}

.musashino-company-directory__section hr.wp-block-separator.aligncenter.has-alpha-channel-opacity {
	display: block;
	width: 100px !important;
	max-width: 100px !important;
	margin: 0 auto 36px !important;
	border: 0;
	border-top: 2px solid #8d8d8d;
	opacity: 1;
}

.musashino-company-directory__section > .contents_area > p.has-text-align-center,
.musashino-company-directory__section .wp-block-heading + .wp-block-separator + p.has-text-align-center {
	margin: 0 auto 58px;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.8;
	color: #222;
}

.musashino-company-directory--single {
	padding: 52px 20px 100px;
}

.musashino-company-directory__inner {
	max-width: 760px;
	margin: 0 auto;
}

.musashino-company-single {
	margin: 0 auto;
	text-align: left;
	color: #222;
}

.com_pic {
	margin: 0 auto 56px;
	text-align: center;
}

.musashino-company-single__image {
	display: inline-block;
	width: auto;
	max-width: min(420px, 100%);
	height: auto;
	vertical-align: middle;
}

.musashino-company-single__image--placeholder {
	width: min(420px, 100%);
	min-height: 280px;
	background: #f2eeee;
}

.mem_base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 22px;
	margin: 0 0 26px;
}

.mem_base h3 {
	flex-basis: 100%;
	margin: 0;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
	color: #222;
}

.mem_base p {
	margin: 0;
}

.musashino-company-single .mem_base p[class^="affi_"],
.musashino-company-single .mem_base p.affi_generic {
	display: inline-block;
	padding: 4px 14px 5px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 400;
}

.ind {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.ind .c-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin: 0;
	padding: 4px 10px;
	border: 2px solid #0059E6;
	color: #0059E6;
	background: #fff;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
}

.job_dtl {
	margin: 0 0 34px;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.8;
}

.job_dtl p {
	margin: 0;
}

.mem_pr {
	margin: 0 0 46px;
}

.mem_pr h4 {
	margin: 0 0 34px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.65;
	color: #222;
}

.mem_pr p {
	margin: 0;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.9;
	color: #222;
}

.musashino-company-single__content {
	margin: 0;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.9;
	color: #222;
}

.musashino-company-single__content {
	margin-bottom: 46px;
}

.mem_data {
	margin: 52px 0 0;
	font-size: 21px;
	line-height: 1.7;
}

.mem_data_row {
	display: grid;
	grid-template-columns: 150px 1fr;
	align-items: center;
	gap: 24px;
	min-height: 74px;
	padding: 13px 0;
	border-top: 1px solid #ddd;
}

.mem_data_row:last-child {
	border-bottom: 1px solid #ddd;
}

.mem_data dt,
.mem_data dd {
	display: flex;
	align-items: center;
	min-height: 1.7em;
	margin: 0;
}

.mem_data dt {
	font-weight: 500;
}

.mem_data a {
	color: #ff9900;
	text-decoration: underline;
}

.musashino-company-directory__related {
	margin-top: 96px;
}

.musashino-company-directory__related .musashino-company-directory__section + .musashino-company-directory__section {
	margin-top: 72px;
}

.musashino-company-directory__empty {
	margin: 32px auto 0;
	padding: 20px 24px;
	max-width: 720px;
	border-radius: 12px;
	background: #f4f6f8;
	font-size: 16px;
	line-height: 1.7;
	color: #444;
	text-align: center;
}

@media screen and (max-width:640px) {
	.tab_item {
		width: 100%;
		margin-bottom: 10px;
	}
}

@media (max-width: 640px) {
	.archive_content,
	div.archive_industry {
		flex-direction: column;
		align-items: center;
	}

	.archive_content,
	div.archive_pic,
	div.archive_industry,
	div.archive_data {
		width: 100%;
	}

	div.archive_data {
		margin: 0;
	}

	div.archive_company {
		flex-direction: column;
		align-items: flex-start;
	}

	.archive_company > h3 {
		font-size: 24px;
		line-height: 1.3;
		margin: 14px 0 0;
	}

	div.archive_industry {
		margin: 10px 0 14px;
		justify-content: flex-start;
	}

	.archive_detail {
		text-align: left;
		line-height: 1.5em;
	}

	.archive_detail > p {
		font-size: 16px;
		line-height: 1.6;
	}

	.archive_detail > h4 {
		margin: 0 0 10px 0;
		font-size: 17px;
		line-height: 1.55;
	}

	.archive_company {
		text-align: center;
	}

	.archive_industry > p {
		margin: 5px auto;
	}

	.musashino-company-directory__section .wp-block-heading {
		margin-top: 0;
	}

	.musashino-company-directory__section > .contents_area > p.has-text-align-center,
	.musashino-company-directory__section .wp-block-heading + .wp-block-separator + p.has-text-align-center {
		margin-bottom: 36px;
		font-size: 16px;
	}

	.musashino-company-directory--single {
		padding: 36px 18px 72px;
	}

	.com_pic {
		margin-bottom: 34px;
	}

	.mem_base {
		gap: 12px;
		margin-bottom: 16px;
	}

	.mem_base h3 {
		font-size: 31px;
		line-height: 1.35;
	}

	.musashino-company-single .mem_base p[class^="affi_"],
	.musashino-company-single .mem_base p.affi_generic {
		font-size: 20px;
	}

	.ind {
		margin: 0;
	}

	.ind .c-tag {
		min-height: 34px;
		font-size: 18px;
	}

	.job_dtl {
		margin-bottom: 28px;
		font-size: 20px;
	}

	.mem_pr h4 {
		margin-bottom: 24px;
		font-size: 22px;
	}

	.mem_pr p,
	.musashino-company-single__content {
		font-size: 17px;
	}

	.mem_data_row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.musashino-company-directory__related {
		margin-top: 72px;
	}
}
