@charset "utf-8";

/* 矢印削除 - Chrome、Safari */
summary::-webkit-details-marker {
	display: none;
}

/* 矢印削除 - Chrome、Safari以外 */
summary {
	display: block;
	list-style: none;
}

details {
	width: 100%;
	margin: 5% auto 0;
}

details summary {
	position: relative;
	padding: 5%;
	border-radius: 13px;
	background-color: #FFF6EF;
	text-align: center;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}

details summary::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 5%;
	transform: translate(0%, -50%) scale(1, -1);
	width: 16px;
	height: 16px;
	background-image: url(../img/arrow.png);
	background-position: center;
	background-size: cover;
}

.q_text_area {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 8px;
	width: 95%;
	margin: 0 auto 0 0;
}

.q_number_area {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 10%;
	padding: 0.5em 0.8em;
	border-radius: 10px;
	background-color: #6FC5E6;
	color: #fff;
}

.q_number_area_content_1 {
	margin-top: 0.25em;
}

.q_number_area_content_2 {
	font-size: 2em;
	font-weight: 700;
}

.q_text {
	width: 100%;
	text-align: center;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.5;
}

.q_text_small {
	font-size: 0.5em;
}

.a_text_area {
	margin: 2% auto 0;
	padding: 5%;
	border-radius: 13px;
	background-color: #F2E8E0;
	text-align: center;
	font-size: 1rem;
	line-height: 1;
}

.a_text_area_text {
	width: fit-content;
	margin: 0 auto 0;
	text-align: left;
	line-height: 1.5;
}

/* アコーディオンがオープン時 */

details[open] summary::after {
	content: '';
	transform: translate(0%, -50%) rotate(0deg);
}

@media screen and (min-width: 768px) {
	.q_text_area {
		flex-direction: row;
		gap: 0;
	}
}

@media screen and (min-width: 1024px) {}

@media screen and (min-width: 1440px) {
	details summary::after {
		width: 24px;
		height: 24px;
	}

	.q_text {
		font-size: 2rem;
	}

	.qa .a_text_area {
		padding: 5% 12%;
	}

	.a_text_area_text {
		font-size: 1.2rem;
	}
}

@media screen and (min-width: 1920px) {}
