@charset "UTF-8";

/* ===================================================
   FAQ PAGE — よくあるご質問 (01top09_01_04)
=================================================== */

/* ===== PAGE TITLE ===== */
.faq-title {
	padding: 48px 20px 40px;
	background: #fff;
}

.faq-title__inner {
	max-width: 1100px;
	margin: 0 auto;
	text-align: center
}

.faq-title__heading {
	font-size: 54px;
	font-weight: 500;
	color: #00A63C;
	letter-spacing: 0.06em
}

/* ===== FAQ CONTENT ===== */
.faq-content {
	padding: 0 20px 80px;
}

.faq-content__inner {
	max-width: 1100px;
	margin: 0 auto
}

/* ===== FAQ SECTION ===== */
.faq-section {
	margin-bottom: 48px;
	gap: 22px;
}

.faq-section:last-child {
	margin-bottom: 0
}

.faq-section__heading {
	font-size: 40px;
	font-weight: 500;
	color: #00A63C;
	padding: 64px 0 26px 0px;
	line-height: 1.5
}

/* ===== FAQ ITEM (details/summary accordion) ===== */
.faq-item {
	border: none;
	border-radius: 0;
	margin-bottom: 20px;
	overflow: visible;
	background: transparent;
}

.faq-item:last-child {
	margin-bottom: 0
}

/* Remove default marker */
.faq-item__question {
	padding: 8px 20px 8px 75px;
	height: auto;
	cursor: pointer;
	list-style: none;
	user-select: none;
	-webkit-user-select: none;
	border: 2px solid #33B863;
	border-radius: 10px;
	background: #fff;
	color: #00A63C;
}

.faq-item__question::-webkit-details-marker {
	display: none
}

.faq-item__question::marker {
	display: none;
	content: ""
}

/* Question text */
.faq-item__question-text {
	flex: 1;
	font-size: 22px;
	font-weight: 500;
	color: #00A63C;
	line-height: 1.6;
	letter-spacing: -0.05em;
}

/* Toggle arrow */
.faq-item__arrow {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	border-right: 2px solid #999;
	border-bottom: 2px solid #999;
	transform: rotate(45deg);
	transition: transform 0.25s ease
}

.faq-item[open] .faq-item__arrow {
	transform: rotate(-135deg)
}

/* Answer area */
.faq-item__answer {
	padding: 34px 20px 34px 75px;
	background-color: white;
	border-radius: 0 0 10px 10px;
}

.faq-item__answer-text {
	color: black;
	line-height: 1.85;
	letter-spacing: -0.03em;
}

/* icon */
.faq-item__question,
.faq-item__answer {
	position: relative;
}

.faq-item__question::before,
.faq-item__answer::before {
	position: absolute;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	width: 24px;
	aspect-ratio: 24/20;
}

.faq-item__question::before {
	background-image: url(../../common/img/page/faq/question.png);
	top: 17px;
	left: 27px
}

.faq-item__answer::before {
	background-image: url(../../common/img/page/faq/answer.png);
	top: 42px;
	left: 29px;
}

/* ===== RESPONSIVE — 1024px ===== */
@media(max-width:1024px) {
	.faq-hero__image {
		height: 300px
	}

	.faq-title__heading {
		font-size: 24px
	}

	.faq-content__inner {
		max-width: 100%
	}
}

/* ===== RESPONSIVE — 768px ===== */
@media(max-width:768px) {
	.faq-hero {
		padding: 0 12px
	}

	.faq-hero__image {
		height: 220px;
		border-radius: 0 0 10px 10px
	}

	.faq-title {
		padding: 32px 16px 28px
	}

	.faq-title__heading {
		font-size: 20px
	}

	.faq-content {
		padding: 0 20px 50px
	}

	.faq-section {
		margin-bottom: 36px
	}

	.faq-section__heading {
		font-size: 20px;
		padding: 30px 0px 10px 12px;
	}

	.faq-item__question {
		padding: 8px 20px 8px 40px;

	}

	.faq-item__question-text {
		font-size: 18px;
	}

	.faq-item__answer {
		padding: 20px 20px 20px 40px;
	}

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

	/* icon */

	.faq-item__question::before,
	.faq-item__answer::before {
		width: 20px;
	}

	.faq-item__question::before {
		top: 16px;
		left: 10px
	}

	.faq-item__answer::before {
		top: 26px;
		left: 10px;
	}
}