@charset "UTF-8";

/* faq lead
----------------------------------------------- */
.faq-lead {
	padding: 80px 40px 60px;
}

.faq-lead .inner {
	padding: 0;
}

.faq-lead-title {
	padding: 0 calc(var(--page-section-size) / 10) calc(var(--page-section-size) / 10);
	font-size: var(--page-section-size);
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.faq-lead-text {
	font-size: 15px;
	line-height: 2;
	color: rgba(44, 42, 38, 0.75);
	letter-spacing: 0.05em;
}

/* faq list section（白斜め背景）
----------------------------------------------- */
.faq-section {
	position: relative;
	padding: 0 40px calc(5vw + 100px);
}

.faq-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.6);
	clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.faq-section::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: calc(5vw + 1px);
	background: #233344;
	clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
	-webkit-clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.faq-section .inner {
	padding: 0;
}

.faq-list-inner {
	position: relative;
	z-index: 1;
	padding-top: calc(5vw + 80px);
}

/* faq accordion items
----------------------------------------------- */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.faq-item {
	border-top: 1.5px solid rgba(44, 42, 38, 0.1);
}

.faq-item:last-child {
	border-bottom: 1.5px solid rgba(44, 42, 38, 0.1);
}

.faq-question {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 28px 0;
	cursor: pointer;
	transition: opacity 0.2s ease;
	list-style: none;
}

.faq-question:hover {
	opacity: 0.7;
}

.faq-question-label {
	font-size: 20px;
	font-weight: 400;
	font-style: normal;
	color: #233344;
	font-family: 'EB Garamond', serif;
	flex-shrink: 0;
	line-height: 1;
	margin-top: 2px;
}

.faq-question-text {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: #2c2a26;
	letter-spacing: 0.04em;
	flex: 1;
}

.faq-question-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	position: relative;
	margin-top: 2px;
}

.faq-question-icon::before,
.faq-question-icon::after {
	content: '';
	position: absolute;
	background: #2c2a26;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-question-icon::before {
	width: 16px;
	height: 1.5px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.faq-question-icon::after {
	width: 1.5px;
	height: 16px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-question-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}

.faq-answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.4s ease;
}

.faq-item.is-open .faq-answer {
	max-height: 600px;
}

.faq-answer-inner {
	display: flex;
	gap: 20px;
	padding: 0 0 32px;
}

.faq-answer-label {
	font-size: 20px;
	font-weight: 400;
	font-style: normal;
	color: rgba(44, 42, 38, 0.35);
	font-family: 'EB Garamond', serif;
	flex-shrink: 0;
	line-height: 1;
	margin-top: 2px;
}

.faq-answer-text {
	font-size: 15px;
	line-height: 1.9;
	color: rgba(44, 42, 38, 0.8);
	letter-spacing: 0.05em;
	flex: 1;
}

/* SP
----------------------------------------------- */
@media screen and (max-width: 767px) {
	.faq-lead { padding: 50px 16px 40px; }

	.faq-section {
		padding: 0 16px calc(8vw + 60px);
	}

	.faq-section::before {
		clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
		-webkit-clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
	}

	.faq-section::after {
		clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
		-webkit-clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
		height: calc(8vw + 1px);
	}

	.faq-list-inner { padding-top: calc(8vw + 50px); }

	.faq-question { padding: 22px 0; gap: 14px; }

	.faq-question-text { font-size: 14px; }

	.faq-answer-text { font-size: 14px; }
}
