@charset "UTF-8";

#a01,#a02 {
  scroll-margin-top: 100px;
}

.faq__item {
	scroll-margin-top: 100px;
}

/* MV */
.mv {
	background: var(--white) url('https://www.finese.co.jp/careers/wp-content/themes/Finese/assets/img/faq/mv_img.svg') no-repeat right 15.4% bottom -135% / 18.2%;
}

.mv-tag {
	background: var(--cyanTeal);
}

@media (max-width: 768px) {
	.mv {
		background: var(--white) url('https://www.finese.co.jp/careers/wp-content/themes/Finese/assets/img/faq/mv_img.svg') no-repeat right 10% bottom / 25%;
	}
}

/* FAQ */
.faq {
	padding-top: 80px;
}

.faq__wrap {
	padding-bottom: 120px;
	border-bottom: 1px solid var(--border-grey);
}

.faq__content {
	background-image: var(--bg-dot);
	background-repeat: repeat;
	padding: var(--content-inner-gutter);
}

.faq__inner {
	display: flex;
	flex-direction: column;
	gap: 90px;
}

.faq__heading {
	padding-inline: var(--content-inner-gutter);
}

.faq__title {
	font-size: var(--font-36);
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-bottom: 35px;
}

.faq__list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.faq__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	cursor: pointer;
	list-style: none;
	padding: 30px 20px;
}

.faq__summary::-webkit-details-marker {
	display: none;
}

.faq__item {
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0.05em;
	border-top: 3px solid var(--black);
	background: var(--white);
}

.faq__item[open] .faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

@media (hover: hover) and (pointer: fine) {
	.faq__item:hover .faq__icon {
		color: var(--white);
		border: none;
		background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
	}

	.faq__item:hover .faq__icon::before, .faq__item:hover .faq__icon::after {
		background-color: var(--white);
	}
}

.faq__question {
	display: flex;
	align-items: center;
	gap: 50px;
	font-size: var(--font-17);
	line-height: 1.7;
	letter-spacing: 0.03em;
}

.faq__question::before {
	content: "Q";
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 1.25em;
	font-weight: 700;
	flex-shrink: 0;
}

.faq__icon {
	position: relative;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 1px solid var(--black);
	border-radius: 2px;
	flex-shrink: 0;
}

.faq__icon::before, .faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: var(--black);
	transition: transform 0.3s ease;
}

.faq__icon::before {
	width: 0.8125em;
	height: 1px;
	transform: translate(-50%, -50%);
}

.faq__icon::after {
	width: 1px;
	height: 0.8125em;
	transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
	padding: 20px;
	display: flex;
	gap: 50px;
	border-top: 1px solid var(--border-grey);
	font-size: var(--font-basic);
	font-weight: 400;
}

.faq__answer a {
	text-decoration: underline;
}

.faq__a {
	flex: 0 0 auto;
	font-size: 1.25em;
	font-weight: 400;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.faq {
		padding-top: 140px;
	}
}

@media (max-width: 768px) {
	.faq__wrap {
		padding-bottom: 90px;
	}

	.faq__inner {
		gap: 60px;
	}

	.faq__title {
		font-size: 1.75rem;
	}

	.faq__list {
		gap: 20px;
	}

	.faq__summary {
		gap: 10px;
		padding: 20px 10px;
	}

	.faq__item {
		font-size: 1rem;
	}

	.faq__question {
		gap: 10px;
		font-size: 1rem;
	}

	.faq__icon {
		width: 28px;
		height: 28px;
	}

	.faq__answer {
		padding: 20px 10px;
		gap: 10px;
	}
}