@charset "UTF-8";

/*===============================================
FAQ検索・絞り込み / 既存の本文・見出しの寸法を継承
================================================*/
.faq_search {
	padding: 3rem;
	background: #edf6fa;
	margin: 4rem 0 2rem;
	border: 1px solid #d5e1e8
}

.faq_fields {
	display: grid;
	grid-template-columns: 1fr 1.5fr auto;
	gap: 2rem;
	align-items: end
}

.faq_field {
	display: flex;
	flex-direction: column;
	gap: .8rem;
	min-width: 0;
	font-weight: 700;
	font-size: 1.5rem
}

.faq_field select,
.faq_field input {
	min-height: 48px;
	width: 100%;
	max-width: 100%;
	padding: 1rem 1.2rem;
	border: 1px solid #8aa5b4;
	border-radius: 0;
	background: #fff;
	color: #143c50;
	font: 400 16px/1.5 "Noto Sans JP", sans-serif
}

.faq_reset {
	min-height: 48px;
	padding: 1rem 1.6rem;
	border: 1px solid #007cad;
	background: #fff;
	color: #007cad;
	font-size: 1.5rem;
	transition: color .3s, background .3s
}

.faq_field select:focus-visible,
.faq_field input:focus-visible,
.faq_reset:focus-visible {
	outline: 3px solid #007cad;
	outline-offset: 3px
}

.faq_count {
	margin-top: 2rem;
	font-size: 1.5rem;
	font-weight: 700
}

.faq_empty {
	margin-top: 2rem
}

.faq_empty .btn {
	margin-top: 2rem
}

.faq_entry[hidden],
.faq_empty[hidden] {
	display: none !important
}

.faq_results summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding-right: 4rem
}

.faq_results summary::-webkit-details-marker {
	display: none
}

.faq_results summary::after {
	content: "";
	display: inline-block;
	width: 2rem;
	height: 2rem;
	flex-shrink: 0;
	background-color: currentColor;
	mask: url("../img/common/icons/icon_add.svg") center/contain no-repeat;
	position: absolute;
	right: .5rem;
	top: 0;
	color: #007cad;
	font-size: 2.2rem
}

.faq_results details[open]>summary::after {
	content: "−"
}

.faq_results summary:focus-visible {
	outline: 3px solid #007cad;
	outline-offset: 5px
}

@media(hover:hover) {
	.faq_reset:hover {
		background: #007cad;
		color: #fff
	}
}

@media(max-width:1000px) {
	.faq_fields {
		grid-template-columns: 1fr 1fr
	}

	.faq_keyword {
		grid-column: 1/2
	}
}

@media(max-width:767px) {
	.faq_search {
		padding: 2rem;
		margin-top: 3rem
	}

	.faq_fields {
		grid-template-columns: 1fr;
		gap: 2rem
	}

	.faq_keyword {
		grid-column: auto
	}

	.faq_reset {
		width: 100%
	}

	.faq_results summary {
		padding-right: 3rem
	}
}

/* FAQ一覧：質問・回答の余白を抑え、サービス名は小さな楕円で表示 */
.faq_category { margin: 3.2rem 0 0; font-size: 2.4rem; line-height: 1.5; font-weight: 700; color: var(--page_ink); }
.common_design .faq_entry .wf_section { padding: 2rem 0 2rem 3.6rem; }
.common_design .faq_entry [data-question]::before { top: 2rem; font-size: 2.2rem; }
.common_design .faq_entry summary h3 { font-size: 1.8rem; line-height: 1.6; letter-spacing: .02em; margin: 0; font-weight: 700; color: var(--page_ink); }
.common_design .faq_entry .wf_question { margin-top: 1.2rem; }
.common_design .faq_entry .wf_question p { font-size: 1.6rem; line-height: 1.8; max-width: none; width: 100%; padding: 1rem 1.4rem; margin: 0; }
.common_design .faq_entry .faq_services { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .8rem; }
.faq_service { display: inline-flex; align-items: center; padding: .2rem 1rem; border: 0; border-radius: 999px; background: #edf6fa; font-size: 1.4rem; line-height: 1.5; color: #143c50; }
a.faq_service { text-decoration: none; border-bottom: 0; }
a.faq_service:focus-visible { outline: 3px solid #007cad; outline-offset: 3px; }
.faq_category[hidden] { display: none !important; }
@media(max-width:767px) {
 .faq_category { font-size: 2rem; }
 .common_design .faq_entry .wf_section { padding: 1.6rem 0 1.6rem 2.8rem; }
 .common_design .faq_entry [data-question]::before { top: 1.6rem; font-size: 2rem; }
 .common_design .faq_entry summary h3 { font-size: 1.7rem; }
 .common_design .faq_entry .wf_question p { font-size: 1.5rem; }
}
