/* ------------------
page-title
-------------------- */

.page-title h1 {
	padding-inline: 20px;
	text-align: left;
}

.page-title h1 .en {
	font-weight: 400;
	line-height: calc(3.6rem / 1.6);
}

.page-title h1 .en span {
	font-size: calc(2.2rem / 1.6);
}

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

	.page-title h1 {
		top: 35%;
		left: calc(50% - 370px);
		width: auto;
		padding-inline: 40px;
	}

	.page-title h1 .en {
		margin-bottom: 30px;
		line-height: calc(6rem / 1.6);
	}

	.page-title h1 .en span {
		font-size: calc(4.8rem / 1.6);
	}

	.page-title img {
		max-height: 660px;
	}
} /* @media */

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

	.page-title h1 {
		top: 50%;
		left: 0;
		width: 100%;
		padding-inline: 0;
		text-align: center;
	}
} /* @media */

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

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

.section .title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	color: #fff;
	background: #1c326f;
}

.section .title span:first-child {
	font-size: calc(2.2rem / 1.6);
	letter-spacing: 0.2em;
}

.section .title span:last-child {
	font-size: calc(1.6rem / 1.6);
	font-weight: 600;
	letter-spacing: 0.06em;
}

.section .subtitle {
	margin-bottom: 20px;
	font-size: calc(2rem / 1.6);
	border-bottom: 1px solid #b1b1b1;
}

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

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

	.section .title {
		padding: 0 10px;
	}

	.section .title span:first-child {
		font-size: calc(2.8rem / 1.6);
		line-height: 1.5;
	}

	.section .title span:last-child {
		font-size: calc(2rem / 1.6);
	}
} /* @media */

/* ------------------
faq
-------------------- */

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

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

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

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

.side-nav-contents li ul {
	margin-bottom: 18px;
}

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

.side-nav-contents li.category span {
	display: inline-block;
	min-width: 4em;
	padding: 0 5px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
	background: #646464;
}

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

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

.side-nav-contents li.category.current a::before {
	display: none;
}

.side-nav-contents li.category.current span {
	background: #1c326f;
}

@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/faq/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);
		max-height: calc(100svh - 220px);
		padding: 24px 22px;
		overflow-y: auto;
		overscroll-behavior: contain;
		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 */

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

	.side-nav {
		position: sticky;
		top: 150px;
		width: 252px;
		margin-right: 84px;
		margin-left: 44px;
	}

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

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

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

	.side-nav {
		width: 180px;
		margin-right: 16px;
		margin-left: 14px;
	}

	.side-nav-contents {
		padding: 12px;
	}

	.faq-contents {
		padding-right: 20px;
	}
} /* @media */

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

	.side-nav {
		width: 252px;
		margin-right: 40px;
		margin-left: 40px;
	}

	.faq-contents {
		padding-right: 40px;
	}
} /* @media */

/* ------------------
box
-------------------- */

.box {
	margin-bottom: 20px;
}

.box button {
	position: relative;
	padding: 16px 54px 16px 47px;
	margin-bottom: 2px;
	font-size: calc(1.8rem / 1.6);
	font-weight: 400;
	background: #ebf0f2;
}

.box button::before {
	position: absolute;
	top: calc(1.6rem / 1.6);
	left: 20px;
	font-weight: 700;
	content: "Q";
}

.box button::after {
	position: absolute;
	top: calc(50% - 10px);
	right: 25px;
	width: 15px;
	height: 15px;
	content: "";
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	transform: rotate(45deg);
}

.box button[aria-expanded="true"]::after {
	top: 50%;
	right: 20px;
	width: 28px;
	height: 1px;
	border-right: none;
	transform: rotate(0);
}

.box .answer {
	position: relative;
	padding: 16px 24px 16px 47px;
	font-size: calc(1.6rem / 1.6);
	font-weight: 400;
	line-height: 2;
	background: #ebf0f2;
}

.box .answer::before {
	position: absolute;
	top: calc(1.6rem / 1.6);
	left: 20px;
	font-weight: 700;
	content: "A";
}

.box .answer p + p {
	margin-top: 1em;
}

.box .answer ul {
	margin-left: 1em;
	list-style-type: disc;
}

.box .answer .note {
	display: inline-block;
	margin-left: 1em;
	text-indent: -1em;
}

.box .answer a {
	text-decoration: underline;
}

.box .answer a[target="_blank"] {
	position: relative;
	display: inline-block;
	padding-right: 20px;
}

.box .answer a[target="_blank"]::after {
	position: absolute;
	top: calc(50% - 8px);
	right: 0;
	width: 15px;
	height: 15px;
	content: "";
	background: url(/shared/corporate_opt/images/new_window_icon2024.svg)
		no-repeat 50% / cover;
}

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

	.box {
		margin-bottom: 28px;
	}

	.box button {
		padding: 10px 74px 10px 64px;
		font-size: calc(2rem / 1.6);
	}

	.box button::before {
		top: calc(0.4rem / 1.6);
		left: 13px;
		font-size: calc(2.4rem / 1.6);
	}

	.box button::after {
		top: calc(50% - 15px);
		width: 20px;
		height: 20px;
	}

	.box .answer {
		padding: 18px 40px 18px 64px;
	}

	.box .answer::before {
		top: calc(0.8rem / 1.6);
		left: 17px;
		font-size: calc(2.4rem / 1.6);
	}

	.box .answer a:hover {
		text-decoration: none;
	}
} /* @media */

/* ------------------
contact
-------------------- */

.contact {
	margin-bottom: 50px;
	text-align: center;
}

.contact h5 {
	margin-bottom: 30px;
	font-size: calc(1.8rem / 1.6);
	font-weight: 400;
}

.contact a {
	display: block;
	padding: 15px;
	font-size: calc(2rem / 1.6);
	font-weight: bold;
	line-height: 1.6;
	color: #fff;
	background: var(--blue);
}

.contact a[target="_blank"] span {
	position: relative;
	display: inline-block;
	padding-right: 30px;
}

.contact a[target="_blank"] span::after {
	position: absolute;
	top: calc(50% - 10px);
	right: 0;
	width: 20px;
	height: 20px;
	content: "";
	background: url(/shared/corporate_opt/images/new_window_icon2024.svg)
		no-repeat 50% / cover;
	filter: var(--filter-white);
}

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

	.contact {
		margin-bottom: 0;
	}

	.contact + .section {
		margin-top: 240px;
	}
} /* @media */
