

/* ----- キーワード検索 ----- */

.sub-page.faq .qaSearch {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	max-width: 591px;
	margin: 0 auto 60px;
}

.sub-page.faq .qaSearch__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	border: 1px solid var(--white);
	background: var(--white);
	border-radius: 34px;
	padding: 0 24px;
	box-shadow: 0 3px 20px rgba(128, 197, 235, 0.24);
	font-family: var(--font-jpn);
	font-size: 16px;
	line-height: 24px;
	color: #617079;
}

.sub-page.faq .qaSearch__input::placeholder {
	color: #617079;
	opacity: 0.5;
}

/* 検索ボタン */
.sub-page.faq .qaSearch__btn {
	flex: 0 0 auto;
	width: 114px;
	height: 46px;
	border: 0;
	border-radius: 23px;
	background: var(--button-skyblue-bg-color);
	box-shadow: 0 3px 6px rgba(128, 197, 235, 0.39);
	color: var(--white);
	font-family: var(--font-jpn);
	font-weight: 500;
	font-size: 17px;
	line-height: 27px;
	cursor: pointer;
}

.sub-page.faq .qaSearch__noHit {
	text-align: center;
	color: var(--important);
	font-family: var(--font-jpn);
	font-size: var(--font-size-body);
	line-height: var(--line-height-body);
	margin: 24px 0;
}

/* ----- カテゴリ見出し ----- */

.sub-page.faq h3.title {
	position: relative;
	font-family: var(--font-jpn);
	font-weight: 700;
	font-size: 20px;
	line-height: 29px;
	color: var(--color4);
	text-align: left;
	margin: 64px 0 16px;
	padding-left: 24px;
}

.sub-page.faq h3.title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 22px;
	border-radius: 2px;
	background:  var(--color3);
}

/* ----- FAQ アコーディオンカード ----- */

.sub-page.faq .faq-area {
	padding-bottom: 0;
}

.sub-page.faq .faq-area dl {
	background: var(--white);
	border: 1px solid var(--white);
	border-radius: 20px;
	padding: 0;
	margin: 0 0 11px;
}

/* 質問行 (dt): Q バッジ + 開閉アイコン。開閉 JS は search.js (.category dt click) */
.sub-page.faq .faq-area dt {
	position: relative;
	cursor: pointer;
	background: none;
	padding: 23px 58px 23px 77px;
	color: var(--text-color);
	font-family: var(--font-jpn);
	font-weight: 400;
	font-size: var(--font-size-body);
	line-height: var(--line-height-body);
}

.sub-page.faq .faq-area dt::before {
	content: "Q";
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 20px;
	top: 15px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color0);
	color: var(--white);
	font-family: 'Quicksand', var(--font-eng);
	font-weight: 600;
	font-size: 17px;
	transform: none;
}

.sub-page.faq .faq-area dt::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background:
		linear-gradient(var(--color3), var(--color3)) center / 18px 2px no-repeat,
		linear-gradient(var(--color3), var(--color3)) center / 2px 18px no-repeat;
}

.sub-page.faq .faq-area dt.open::after {
	background:
		linear-gradient(var(--color3), var(--color3)) center / 18px 2px no-repeat;
}

.sub-page.faq .faq-area dl dd {
	display: none;
	position: relative;
	margin: 0 20px;
	padding: 16px 0 28px 57px;
	color: var(--text-color);
	font-family: var(--font-jpn);
	font-size: var(--font-size-body);
	line-height: var(--line-height-body);
	background-image: repeating-linear-gradient(90deg, #A4D4EF 0, #A4D4EF 2px, transparent 2px, transparent 7px);
	background-size: calc(100% - 110px) 1px;
	background-position: 62px top;
	background-repeat: no-repeat;
}

.sub-page.faq .faq-area dd::before {
	content: "A";
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 0;
	top: 15px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #FDC0EA;
	color: var(--white);
	font-family: 'Quicksand', var(--font-eng);
	font-weight: 600;
	font-size: 17px;
}

.sub-page.faq .faq-area dd p {
	padding: 1em 0 0;
}

.sub-page.faq .faq-area dd p:nth-of-type(1) {
	padding: 0;
}

.sub-page.faq .faq-area a {
	color: var(--linkColor);
	text-decoration: underline;
}

/* ----- お問い合わせ ----- */

.sub-page.faq .qaContact p {
	color: var(--text-color);
	font-family: var(--font-jpn);
	font-size: var(--font-size-body);
	line-height: var(--line-height-body);
}

.sub-page.faq .qaContact a {
	color: var(--linkColor);
	text-decoration: underline;
}


.sub-page.faq .block {
	max-width: calc(886px + var(--page-padding) * 2);
}

/* ==================== レスポンシブ ==================== */

@media all and (max-width: 768px) {


	.sub-page.faq .qaSearch {
		gap: 8px;
		margin-bottom: 48px;
	}

	.sub-page.faq .qaSearch__input {
		padding: 0 17px;
		font-size: 16px;
	}

	.sub-page.faq .qaSearch__btn {
		width: 106px;
	}

	.sub-page.faq h3.title {
		margin: 56px 0 14px;
		padding-left: 20px;
	}

	.sub-page.faq .faq-area dl {
		margin-bottom: 16px;
	}

	.sub-page.faq .faq-area dt {
		padding: 19px 44px 19px 69px;
	}

	.sub-page.faq .faq-area dt::before {
		left: 15px;
		top: 14px;
	}

	.sub-page.faq .faq-area dl dd {
		margin: 0 15px;
		padding: 22px 0 26px 54px;
		background-size: calc(100% - 59px) 1px;
		background-position: 56px top;
	}
}
