/* ------------------
intro
-------------------- */

.intro {
	padding: 50px 20px 0;
	font-size: calc(1.8rem / 1.6);
}

.intro .page-nav {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	padding: 20px 0;
	margin-bottom: 20px;
}

.intro .page-nav a {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	color: var(--blue);
	border: 1px solid var(--blue);
	border-radius: 6px;
}

.intro .page-nav img:nth-child(1) {
	width: 100%;
	border-radius: 6px 6px 0 0;
}

.intro .page-nav img:nth-child(2) {
	display: block;
	width: 52px;
	margin: 10px auto;
}

.intro .page-nav p {
	position: relative;
	padding: 0 30px 10px 15px;
	margin-block: auto;
	font-size: calc(2rem / 1.6);
	font-weight: 700;
	line-height: 1.16;
}

.intro .page-nav p::after {
	position: absolute;
	top: calc(50% - 16px);
	right: 10px;
	width: 20px;
	height: 16px;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	content: "";
	background: var(--blue);
}

@media (width >= 751px) {
	/* PC */

	.intro {
		max-width: 1210px;
		padding: 80px 40px 0;
		margin-inline: auto;
	}

	.intro .page-nav {
		grid-template-columns: repeat(3, 1fr);
		gap: 34px;
		padding: 60px 0 40px;
	}

	.intro .page-nav a {
		position: relative;
		border-width: 2px;
		border-radius: 15px;
	}

	.intro .page-nav img:nth-child(1) {
		border-radius: 12px 12px 0 0;
	}

	.intro .page-nav img:nth-child(2) {
		position: absolute;
		bottom: 10px;
		left: 10px;
		width: 70px;
		margin: 0;
	}

	.intro .page-nav p {
		display: flex;
		align-items: center;
		min-height: 2em;
		padding: 10px 48px 10px 90px;
		font-size: calc(2.4rem / 1.6);
	}

	.intro .page-nav p::after {
		top: calc(50% - 12px);
		right: 20px;
		width: 27px;
		height: 24px;
	}
} /* @media */

@media (width <= 1200px) and (width >= 751px) {
	/* TABLET */

	.intro .page-nav {
		grid-template-columns: repeat(2, 1fr);
	}
} /* @media */

/* ------------------
benefits
-------------------- */

.benefits {
	padding: 50px 20px 0;
}

.side-nav-contents p {
	margin-bottom: 16px;
	font-size: calc(1.6rem / 1.6);
	font-weight: 700;
}

.side-nav-contents li {
	margin-top: 10px;
	font-size: calc(1.6rem / 1.6);
	line-height: 1.4;
}

.side-nav-contents li.current {
	font-weight: 700;
}

.side-nav-contents li a {
	position: relative;
	display: inline-block;
	padding-left: 21px;
	color: #4c4c4c;
}

.side-nav-contents li.current a {
	color: #000;
}

.side-nav-contents li.current a::before {
	position: absolute;
	top: 6px;
	left: 0;
	width: 12px;
	height: 12px;
	content: "";
	background: var(--blue);
	border-radius: 50%;
}

@media (width <= 750px) {
	/* SP */

	.side-nav-btn {
		position: fixed;
		bottom: 150px;
		left: 0;
		z-index: 1;
		width: 98px;
		height: 42px;
		padding-left: 13px;
		font-size: calc(1.4rem / 1.6);
		color: #fff;
		background: var(--blue);
		border-radius: 8px 8px 0 0;
		transform: rotate(90deg);
		transform-origin: left bottom;
	}

	.side-nav-btn::after {
		position: absolute;
		top: 9px;
		right: 12px;
		width: 24px;
		height: 24px;
		content: "";
		background: url(/jp-ja/recruit/job/img/icon_index_arrow.svg) no-repeat 50% /
			cover;
		transform: rotate(-90deg);
	}

	.side-nav-contents {
		position: fixed;
		right: 20px;
		bottom: 60px;
		left: 20px;
		width: calc(100% - 84px);
		padding: 24px 22px;
		background: #ecf2ff;
		border: 1px solid var(--blue);
		border-radius: 10px;
	}

	.side-nav-btn[aria-expanded="false"] + .side-nav-contents {
		pointer-events: none;
		opacity: 0;
		transition: opacity 0.4s;
	}

	.side-nav-btn[aria-expanded="true"] + .side-nav-contents {
		z-index: 2;
		pointer-events: auto;
		opacity: 1;
	}

	.side-nav-contents .btn-close {
		position: absolute;
		top: 16px;
		right: 12px;
		width: auto;
	}
} /* @media */

@media (width >= 751px) {
	/* PC */

	.benefits {
		position: relative;
		display: flex;
		align-items: flex-start;
		max-width: 1500px;
		padding: 180px 0 0;
		margin: 0 auto;
	}

	.side-nav {
		position: sticky;
		top: 150px;
		width: 190px;
		margin-right: 50px;
	}

	.side-nav-contents {
		padding: 24px 22px;
		background: #ecf2ff;
		border-radius: 12px;
	}

	.benefits-contents {
		flex: 1;
		padding-top: 150px;
		padding-right: 50px;
		margin-top: -150px;
		overflow: hidden;
	}
} /* @media */

/* ------------------
section
-------------------- */

.section {
	scroll-margin-top: 90px;
}

.section + .section {
	margin-block: 70px 0;
}

.section .title {
	margin-bottom: 36px;
	font-size: calc(2.6rem / 1.6);
	line-height: 1.5;
	color: var(--blue);
	border: 1px solid var(--blue);
	border-radius: 6px;
}

.section .title > img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 6px 6px 0 0;
}

.section .title span {
	display: flex;
	align-items: center;
	padding: 10px 15px;
}

.section .title span img {
	width: 60px;
	margin-right: 10px;
}

.section .text {
	margin-bottom: 30px;
	font-size: calc(1.8rem / 1.6);
}

@media (width >= 751px) {
	/* PC */

	.section {
		scroll-margin-top: 150px;
	}

	.section + .section {
		margin-block: 140px 0;
	}

	.section .title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 40px;
		font-size: calc(2.8rem / 1.6);
		border-width: 2px;
		border-radius: 8px;
	}

	.section .title > img {
		order: 2;
		width: 210px;
		height: 72px;
		object-fit: cover;
		border-radius: 0 8px 8px 0;
	}

	.section .title span {
		order: 1;
		padding: 8px 15px;
	}

	.section .title span img {
		width: 70px;
		margin-right: 15px;
	}

	.section .text {
		margin-bottom: 40px;
	}
} /* @media */

/* ------------------
img-large
-------------------- */

.img-large {
	margin-right: -20px;
}

.img-large + .detail {
	margin-top: 50px;
}

.img-large img {
	width: 1000px;
	max-width: none;
}

@media (width >= 751px) {
	/* PC */

	.img-large {
		padding-block: 10px;
		margin-right: 0;
	}

	.img-large + .sub-title {
		margin-top: 60px;
	}

	.img-large img {
		width: 100%;
		min-width: 1210px;
	}

	.img-large.max img {
		min-width: 1530px;
	}
} /* @media */

/* ------------------
detail
-------------------- */

.detail .item {
	scroll-margin-top: 90px;
}

.detail h3 {
	padding: 12px;
	margin-bottom: 10px;
	font-size: calc(1.8rem / 1.6);
	line-height: 1.4;
	color: #fff;
	text-align: center;
	background: linear-gradient(90deg, #2169be, #113d78);
	border-radius: 8px;
}

.detail p {
	margin-bottom: 30px;
	font-size: calc(1.6rem / 1.6);
}

.detail ul {
	margin-left: 1em;
	font-size: calc(1.6rem / 1.6);
	list-style-type: disc;
}

.detail p + p,
.detail p + ul {
	margin-top: -20px;
}

.detail a {
	border-bottom: 1px solid var(--blue);
}

.detail a[target="_blank"]::after {
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0 0 4px 4px;
	vertical-align: middle;
	content: "";
	background: url(/shared/corporate_opt/images/new_window_icon2024.svg)
		no-repeat 0 0;
}

.detail .img {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-bottom: 40px;
}

@media (width >= 751px) {
	/* PC */

	.detail {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
		gap: 0 40px;
	}

	.detail.column3 {
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	}

	.detail .item {
		scroll-margin-top: 150px;
	}

	.detail h3 {
		display: grid;
		place-content: center;
		min-height: 46px;
		padding: 6px;
		margin-bottom: 10px;
		line-height: 1.23;
	}

	.detail p {
		margin-bottom: 50px;
	}

	.detail p + p,
	.detail p + ul {
		margin-top: -40px;
	}

	.detail .img {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 5px;
		margin-bottom: 40px;
	}
} /* @media */

@media (width >= 1145px) {
	.detail.column2 .item {
		max-width: calc(50% - 20px);
	}
} /* @media */

/* ------------------
support
-------------------- */

.support .item {
	padding: 20px;
	background: #f5f5ee;
	border-radius: 8px;
}

.support .item + .item {
	margin-top: 20px;
}

.support h4 {
	position: relative;
	display: inline-block;
	min-width: 7em;
	padding: 10px 20px 10px 40px;
	margin-bottom: 20px;
	font-size: calc(2rem / 1.6);
	line-height: 1.4;
	background: #fff;
	border-radius: 8px;
	box-shadow: 3px 3px 0 var(--blue);
}

.support h4::before {
	position: absolute;
	top: calc(50% - 7px);
	left: 20px;
	width: 14px;
	height: 14px;
	content: "";
	background: var(--blue);
	border-radius: 50%;
}

.support table {
	font-size: calc(1.6rem / 1.6);
	border-collapse: collapse;
}

.support table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.support tr + tr th,
.support tr + tr td {
	padding-top: 25px;
}

.support th {
	width: 40%;
	padding-right: 10px;
	text-align: left;
	vertical-align: top;
	border-right: 1px solid #12387c;
}

.support td {
	padding-left: 10px;
	vertical-align: top;
}

@media (width >= 751px) {
	/* PC */

	.support {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
		gap: 40px;
	}

	.support .item {
		padding: 40px;
		border-radius: 15px;
	}

	.support .item + .item {
		margin-top: 0;
	}

	.support h4 {
		margin-bottom: 40px;
	}

	.support tr + tr th,
	.support tr + tr td {
		padding-top: 40px;
	}

	.support th {
		width: 28%;
		padding-right: 20px;
	}

	.support .item:last-child th {
		width: 42%;
	}

	.support td {
		padding-left: 20px;
	}
} /* @media */
