@charset "utf-8";

/* single-jobs.css */

.width-base {
	padding-left: 20px;
	padding-right: 20px;
}

.width-base > * {
	width: min(100%,1000px);
	margin: 0 auto;
}

.mv-area .wp-block-group__inner-container {
	position: relative;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.mv-area .wp-block-group__inner-container h1 {
	position: absolute;
	top: 50%;
	width: 100%;
	padding: 1.8rem 2.0rem;
	background-color: rgba(255,255,255,.70);
	text-align: center;
	font-size: 4.2rem;
	color: var(--main-color);
	transform: translateY(-50%);
}

.mv-area .wp-block-group__inner-container h1 em {
	display: block;
	margin-top: 1.0rem;
	font-size: 2.0rem;
	font-style: normal;
}

main {
	padding-bottom: 10.0rem;
}

article {
	width: min(calc(100% - 40px),1000px);
	margin: 0 auto;
	padding-top: 8.0rem;
}

article h1,article h2,article h3,
article h4,article h5,article h6 {
	line-height: 1.25;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
}

h1.pst-title {
	margin: 0;
	padding: 0.3rem 0 0.8rem 1.5rem;
	border-left: 8px solid var(--main-color);
	font-size: 2.8rem;
	color: var(--main-color);
}

.article-body {
	margin-bottom: 4.4rem;
	padding: 3.0rem 0 0;
	line-height: 1.75;
}

.article-body > * {
	margin: 3.0rem 0;
}

.article-body > *:first-child {
	margin-top: 0 !important;
}

.article-body > *:last-child {
	margin-bottom: 0 !important;
}

.article-body a {
	color: var(--main-color);
	text-decoration: underline;
}

.wp-block-table table,
.wp-block-table table.has-fixed-layout {
	table-layout: auto !important;
	border: 0;
	border-top: 1px solid var(--main-color);
	border-bottom: 1px solid var(--main-color);
}

.wp-block-table table tr:not(:last-of-type) {
	border-bottom: 1px dashed var(--main-color);
}

.wp-block-table table tr td {
	width: auto;
	padding: 1em;
	border: 0;
}

.wp-block-table table tr td:nth-of-type(1) {
	width: calc(12.5em + 2em);
	background-color: #E6ECF5;
	text-align: center;
	font-weight: 500;
}

.wp-block-table table tr td strong {
	font-weight: 500;
}

.wp-block-table table tr td em {
	font-style: normal;
	font-weight: 500;
}

.button-box .return-link {
	text-align: center;
}


/* ================================================ */
@media (max-width: 1000px) {

.mv-area .wp-block-group__inner-container h1 {
	top: calc(50% + 50px);
	padding: 1.4rem 2.0rem;
	font-size: 4.0rem;
}

.mv-area .wp-block-group__inner-container h1 em {
	margin-top: 0.7rem;
	font-size: 1.8rem;
	font-style: normal;
}

}

/* ================================================ */
@media (max-width: 840px) {

.mv-area .wp-block-group__inner-container h1 {
	top: calc(50% + 35px);
}

}

/* ================================================ */
@media (max-width: 640px) {

.mv-area .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16/9;
}

.wp-block-table table tr td {
	display: block;
	width: 100%;
}

.wp-block-table table tr td:nth-of-type(1) {
	width: 100%;
	text-align: left;
}


}

/* ================================================ */
@media (max-width: 480px) {

.mv-area .wp-block-image img {
	aspect-ratio: 4/3;
}

}
