/* =========================
よくある質問
========================= */

.faq-section {
	padding: 0px 0 40px;
	background: #FFFFFF;
}

.faq-section__inner {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	padding: 0 10px;
}

/* ========================================
   FAQ 見出し
   intro-h3 とデザイン統一
======================================== */

.faq-section__heading {
	width: 100%;
	margin: 0 0 14px;
}

.faq-section__title {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 4px 8px 6px 13px;
	border-bottom: 1px solid var(--color-main);
	color: var(--color-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.01em;
}

.faq-section__title::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--color-main);
	content: "";
}
/* =========================
アコーディオン
========================= */

.faq-accordion {
	width: 100%;
}

.faq-accordion__item {
	border-bottom: 1px solid #D8D8D8;
}

.faq-accordion__item:first-child {
	border-top: 0;
}

.faq-accordion__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 14px 14px 12px;
	border: 0;
	background: transparent;
	color: #EF5478;
	text-align: left;
	font: inherit;
	cursor: pointer;
	appearance: none;
}

.faq-accordion__question {
	display: block;
	flex: 1;
	padding-right: 18px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
}

/* =========================
矢印
店舗情報と同じ見た目
========================= */

.faq-accordion__arrow {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
}

.faq-accordion__arrow::before,
.faq-accordion__arrow::after {
	content: "";
	position: absolute;
	top: 8px;
	width: 12px;
	height: 3px;
	border-radius: 999px;
	background: #EF5478;
	transition:
		transform 0.25s ease,
		top 0.25s ease;
}

.faq-accordion__arrow::before {
	left: -0.5px;
	transform: rotate(45deg);
}

.faq-accordion__arrow::after {
	right: 0;
	transform: rotate(-45deg);
}

.faq-accordion__item.is-open .faq-accordion__arrow::before {
	top: 7px;
	transform: rotate(-45deg);
}

.faq-accordion__item.is-open .faq-accordion__arrow::after {
	top: 7px;
	transform: rotate(45deg);
}

/* =========================
回答
========================= */

.faq-accordion__panel {
	height: 0;
	overflow: hidden;
}

.faq-accordion__panel[hidden] {
	display: block;
}

.faq-accordion__answer {
	margin: 0 10px 14px;
	padding: 14px;
	background: #FFF0F4;
	color: #333333;
	font-size: 16px;
	line-height: 1.8;
}

/* =========================
フォーカス
========================= */

.faq-accordion__button:focus-visible {
	outline: 2px solid #EF5478;
	outline-offset: 2px;
}

/* =========================
スマホ微調整
========================= */

@media screen and (max-width: 374px) {
	.faq-section__inner {
		padding-right: 8px;
		padding-left: 8px;
	}

	.faq-section__heading {
		gap: 12px;
	}

	.faq-section__number {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
		font-size: 30px;
	}

	.faq-section__title {
		font-size: 24px;
	}

	.faq-accordion__button {
		padding-right: 10px;
		padding-left: 8px;
	}

	.faq-accordion__question {
		font-size: 18px;
	}

	.faq-accordion__answer {
		margin-right: 8px;
		margin-left: 8px;
		padding: 12px;
		font-size: 15px;
	}
}

/* ==================================================
   FAQ下 CTA
================================================== */
.faq-section__cta-wrap {
    width: 100%;
    margin: 40px auto 0;
    padding: 0;
    box-sizing: border-box;
}

.faq-section__cta-wrap .ranking-cta {
    width: 100%;
    margin: 0 auto;
}

.faq-section__cta-wrap .cta-btn--ranking {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
/* ========================================
   FAQ見出しの文字サイズ固定
======================================== */
.faq-section__title {
	font-size: 18px;
	line-height: 1.45;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}