@charset "UTF-8";

/* ページタイトル */
#page-title_sec .page-top_scene {
	background-image: url(../img/faq/page-top.webp);
	background-position: 50% 35%;
}

/* FAQカテゴリナビゲーション */
#faq-nav_sec.wrapper {
	margin: 80px auto;
}

#faq-nav_sec .faq-nav-list {
	max-width: 900px;
	margin: 0 auto;
	display: grid;
	align-items: flex-end;
	grid-template-columns: repeat(auto-fill, minmax(19em, 1fr));
	gap: 0 3.2%;
}

#faq-nav_sec .faq-nav-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5em;
	position: relative;
	padding: 1em 0.5em 1em 0.5em;
	font-size: 18px;
	line-height: 1.5;
	color: var(--color_black);
	text-decoration: none;
	border-bottom: 1px solid var(--color_black);
	transition: all 0.3s;
}

#faq-nav_sec .faq-nav-item::after {
	content: "";
	position: relative;
	right: 0.5em;
	width: 0.4em;
	height: 0.4em;
	border-bottom: 1px solid var(--color_black);
	border-right: 1px solid var(--color_black);
	transform: rotate(45deg);
	transition: all 0.3s;
}

#faq-nav_sec .faq-nav-item:hover {
	color: var(--color01);
	background-color: var(--color02);
	border-bottom: 1px solid var(--color01);
}
#faq-nav_sec .faq-nav-item:hover::after {
	bottom: -0.2em;
	border-color: var(--color01);
}


/* FAQコンテンツセクション */
#faq-content_sec.wrapper {
	padding: 0 0 80px;
}

#faq-content_sec .contents {
	max-width: 900px;
	margin: 0 auto;
}

/* FAQカテゴリ */
#faq-content_sec .faq-category {
	margin-bottom: 80px;
	scroll-margin-top: var(--header_height);
}

#faq-content_sec .faq-category:last-child {
	margin-bottom: 0;
}

#faq-content_sec .faq-category-header {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--color01);
}

#faq-content_sec .faq-category-number {
	font-size: 32px;
	font-weight: var(--fw_en_bold);
	color: var(--color01);
	line-height: 1;
}

#faq-content_sec .faq-category-title {
	font-size: clamp(24px, 4vw, 32px);
	line-height: 1.5;
	letter-spacing: 0.1em;
	color: var(--color_black);
}

/* FAQリスト */
#faq-content_sec .faq-question {
	display: flex;
	align-items: center;
	padding: 25px 0.7em;
	border-bottom: 1px solid var(--color_grey02);
	cursor: pointer;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
}

#faq-content_sec .faq-question:hover {
	background-color: var(--color02);
	padding-left: 10px;
	padding-right: 10px;
}

#faq-content_sec .faq-question.active {
	background-color: var(--color02);
}

#faq-content_sec .faq-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	background-color: var(--color01);
	color: #fff;
	font-size: 18px;
	font-weight: var(--fw_en_bold);
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	flex-shrink: 0;
	margin-right: 20px;
}

#faq-content_sec .faq-text {
	flex: 1;
	font-size: 18px;
	line-height: 1.5;
	font-weight: var(--fw_jp_bold);
	letter-spacing: 0.05em;
}

#faq-content_sec .faq-toggle {
	width: 24px;
	height: 24px;
	position: relative;
	flex-shrink: 0;
	margin-left: 20px;
}

#faq-content_sec .faq-toggle::before,
#faq-content_sec .faq-toggle::after {
	content: "";
	position: absolute;
	background-color: var(--color_black);
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
}

#faq-content_sec .faq-toggle::before {
	width: 2px;
	height: 16px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#faq-content_sec .faq-toggle::after {
	width: 16px;
	height: 2px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#faq-content_sec .faq-question.active .faq-toggle::before {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}

#faq-content_sec .faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	-webkit-transition: max-height 0.3s ease-out;
	-moz-transition: max-height 0.3s ease-out;
	-ms-transition: max-height 0.3s ease-out;
	-o-transition: max-height 0.3s ease-out;
}

#faq-content_sec .faq-answer.active {
	max-height: 1000px;
}

#faq_sec .faq-answer a {
	display: inline;
}

#faq-content_sec .faq-answer p {
	padding: 20px 0 25px 60px;
	font-size: 15px;
	line-height: 2;
	letter-spacing: 0.05em;
	text-align: justify;
    text-align-last: left;
}

#faq-content_sec .faq-answer p a {
	color: var(--color01);
	text-decoration: underline;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
}

#faq-content_sec .faq-answer p a:hover {
	opacity: 0.8;
}

/* スマートフォン用 */
@media screen and (max-width: 768px) {

	/* FAQカテゴリナビゲーション */
	#faq-nav_sec.wrapper {
		margin: 40px auto;
	}

	#faq-nav_sec .faq-nav-list {
		flex-direction: column;
		gap: 15px;
	}

	#faq-nav_sec .faq-nav-item {
		width: 100%;
		font-size: 16px;
	}

	/* FAQコンテンツセクション */
	#faq-content_sec.wrapper {
		padding: 0 0 40px;
	}

	#faq-content_sec .contents {
		margin: 0 auto;
	}

	/* FAQカテゴリ */
	#faq-content_sec .faq-category {
		margin-bottom: 50px;
	}

	#faq-content_sec .faq-category-header {
		gap: 15px;
		margin-bottom: 30px;
		padding-bottom: 15px;
	}

	#faq-content_sec .faq-category-number {
		font-size: 24px;
	}

	#faq-content_sec .faq-category-title {
		font-size: 20px;
	}

	/* FAQリスト */
	#faq-content_sec .faq-icon {
		width: 35px;
		height: 35px;
		font-size: 16px;
		margin-right: 15px;
	}

	#faq-content_sec .faq-text {
		font-size: 16px;
	}

	#faq-content_sec .faq-toggle {
		width: 20px;
		height: 20px;
		margin-left: 15px;
	}

	#faq-content_sec .faq-toggle::before {
		height: 14px;
	}

	#faq-content_sec .faq-toggle::after {
		width: 14px;
	}

	#faq-content_sec .faq-answer.active {
		max-height: 2000px;
	}

	#faq-content_sec .faq-answer p {
		padding: 15px 0 20px 0;
		font-size: 14px;
	}

}

