@charset "utf-8";

/* ==========================
	faq style
============================= */

.faq .ttl {
	margin-top: 5.5rem;
	font-size: 4.6rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	line-height: 1.3;
	text-align: center;
}
.faq .inner {
	max-width: 106rem;
	margin: 0 auto;
	padding: 0 1rem;
}
.faq h2 {
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-align: center;
}
@media (max-width: 768px) {
	.faq .ttl span {
		font-size: 4.2rem;
	}
	.faq .inner {
		max-width: 100%;
		padding: 0 2.6rem;
	}
	.faq h2 {
		font-size: 3.4rem;
	}
}

/* anc */
.faq .anc {
	margin-top: 5rem;
	display: flex;
	justify-content: space-between;
}
.faq .anc li {
	width: 33.4rem;
}
.faq .anc li a {
	display: block;
	border: solid 1px var(--redColor);
	border-radius: 1rem;
	font-weight: 600;
	text-align: center;
	color: var(--redColor);
	padding: 2.5rem 1rem 3rem;
	position: relative;
}
.faq .anc li a::after {
	content: "";
	width: 0.7rem;
	height: 0.7rem;
	border-bottom: solid 0.3rem var(--redColor);
	border-right: solid 0.3rem var(--redColor);
	position: absolute;
	bottom: 0.8rem;
	left: 50%;
	transform: translate(-50% , 0) rotate(45deg);
}
@media (max-width: 768px) {
	.faq .anc {
		margin-top: 6rem;
		display: block;
	}
	.faq .anc li {
		width: 100%;
	}
	.faq .anc li a {
		border: solid 0.3rem var(--redColor);
		border-radius: 0;
		font-size: 3rem;
		text-align: left;
		padding: 3rem 3rem 3rem 6rem;
	}
	.faq .anc li a::after {
		width: 1rem;
		height: 1rem;
		border-bottom: solid 0.5rem var(--redColor);
		border-right: solid 0.5rem var(--redColor);
		bottom: auto;
		top: 50%;
		left: 3rem;
		transform: translate(0 , -50%) rotate(45deg);
	}
	.faq .anc li:first-child a {
		border-radius: 1.2rem 1.2rem 0 0;
	}
	.faq .anc li:last-child a {
		border-radius: 0 0 1.2rem 1.2rem;
	}
	.faq .anc li + li a {
		border-top: none;
	}
}

/* qa */
.faq section {
	margin-top: 8rem;
}
.faq .qa h2 + .details {
	margin-top: 5rem;
}
.faq .qa .details {
	border-top: solid 1px var(--grayColor01);
	border-bottom: solid 1px var(--grayColor01);
}
.faq .qa .details + .details {
	border-top: none;
}
summary {
	display: block;
	list-style: none;
}
summary::-webkit-details-marker {
	display: none;
}
.faq .summary {
	padding: 2.5rem 0 2.5rem 3rem;
	font-weight: 600;
	position: relative;
	cursor: pointer;
}
.faq .summary::before {
	content: "";
	width: 1.8rem;
	height: 2.1rem;
	background: url(/faq/img/q.png) no-repeat;
	background-size: contain;
	position: absolute;
	top: 2.5rem;
	left: 0;
}
.faq .summary span {
	display: block;
	position: relative;
}
.faq .summary span::before ,
.faq .summary span::after {
	content: "";
	width: 0.3rem;
	height: 2.1rem;
	background: var(--redColor);
	position: absolute;
	top: calc(50% - 1.05rem);
	right: 2rem;
	transition: all 0.3s;
}
.faq .summary span::after {
	transform: rotate(90deg);
}
.faq details[open] .summary span::before {
	transform: rotate(90deg);
}
.faq .answer .answerInner {
	padding-bottom: 2.5rem;
}
.faq .answer p {
	font-size: 1.7rem;
	line-height: 2.89rem;
}
.faq .answer p + p {
	margin-top: 2rem;
}
.faq .answer p .link {
	display: inline-block;
	text-decoration: underline;
	position: relative;
	margin-left: 2rem;
	color: var(--redColor);
}
.faq .answer p .link::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-top: solid 0.2rem var(--redColor);
	border-right: solid 0.2rem var(--redColor);
	transform: rotate(45deg) translate(0 , -50%);
	position: absolute;
	top: 50%;
	left: -2rem;
}
@media (max-width: 768px) {
	.faq section {
		margin-top: 14rem;
	}
	.faq .qa h2 + .details {
		margin-top: 9rem;
	}
	.faq .qa .details {
		border-top: solid 0.3rem var(--grayColor01);
		border-bottom: solid 0.3rem var(--grayColor01);
	}
	.faq .summary {
		padding: 4.5rem 6.5rem 4.5rem 4.5rem;
		font-size: 3rem;
		line-height: 5.1rem;
	}
	.faq .summary::before {
		width: 2.9rem;
		height: 3.5rem;
		top: 5.5rem;
	}
	.faq .summary span::before ,
	.faq .summary span::after {
		width: 0.5rem;
		height: 3.4rem;
		top: calc(50% - 1.7rem);
		right: -4.5rem;
	}
	.faq .answer .answerInner {
		padding-bottom: 4.5rem;
	}
	.faq .answer p {
		font-size: 3rem;
		line-height: 5.1rem;
	}
	.faq .answer p + p {
		margin-top: 5rem;
	}
	.faq .answer p .link {
		margin-left: 3rem;
	}
	.faq .answer p .link::before {
		width: 1rem;
		height: 1rem;
		border-top: solid 0.5rem var(--redColor);
		border-right: solid 0.5rem var(--redColor);
		transform: rotate(45deg) translate(0);
		top: 2rem;
		left: -3rem;
	}
}

/* inquiry */
.faq .inquiry .inquiryTxt {
	margin-top: 4rem;
	font-size: 1.7rem;
	text-align: center;
}
.faq .inquiry .inquiryBox {
	margin-top: 4rem;
	padding: 3rem 0;
	border-top: solid 1px var(--grayColor01);
	border-bottom: solid 1px var(--grayColor01);
}
.faq .inquiry .inquiryBox + .inquiryBox {
	margin-top: 0;
	border-top: none;
}
.faq .inquiry h3 {
	font-size: 1.9rem;
	font-weight: bold;
}
.faq .inquiry ul {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0;
}
.faq .inquiry ul li {
	width: 25%;
	line-height: 3.23rem;
	padding-left: 1em;
    position: relative;
}
.faq .inquiry ul li::before {
	display: inline-block;
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	background: var(--baseColor);
	border-radius: 50%;
	position: absolute;
	top: 1.5rem;
	left: 0.5rem;
}
@media (max-width: 768px) {
	.faq .inquiry .inquiryTxt {
		margin-top: 7rem;
		font-size: 3rem;
		line-height: 5.1rem;
	}
	.faq .inquiry .inquiryBox {
		margin-top: 6rem;
		padding: 5.5rem 0;
		border-top: solid 0.3rem var(--grayColor01);
		border-bottom: solid 0.3rem var(--grayColor01);
	}
	.faq .inquiry h3 {
		font-size: 3rem;
		line-height: 5.1rem;
	}
	.faq .inquiry ul {
		margin-top: 2rem;
		gap: 0;
	}
	.faq .inquiry ul li {
		width: 50%;
		line-height: 5.32rem;
		padding-left: 1em;
	}
	.faq .inquiry ul li::before {
		width: 0.8rem;
		height: 0.8rem;
		top: 2.5rem;
		left: 0.5rem;
	}
}