@charset "utf-8";

.title_group .content.inner {
    display: flex;
    align-items: center;
    gap: 0 37px;
    margin: 65px auto 110px;
}

.title_group .content.inner .left {
    width: 200px;
}

.title_group .content.inner .right p {
    font-size: 45px;
    font-weight: bold;
    line-height: 1.5555;
    letter-spacing: 0.05em;
}

.title_group .content.inner .right .markar {
    position: relative;
    padding: 0 15px;
}

.title_group .content.inner .right .markar::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #F8E9E9;
    z-index: -1;
}

span.red {
    color: #BB2929;
}

.sttl {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.35;
    margin: 150px auto 40px;
    padding: 0;
}

.sttl span {
    position: relative;
	padding-left: 50px;
}

.sttl span::before {
    content: "";
    display: inline-block;
    background: url("../../images/faq/icon.svg") 0% 0% / contain no-repeat;
    background-position: center;
    width: 49px;
    height: 36.4px;
    left: -13px;
    top: 50%;
    margin: 0px 30px 0px 0px;
    position: absolute;
    transform: translateY(-50%);
}

.accordion {
	margin: 0 auto 200px;
}

.toggle {
	display: none;
}

.faq {
	position: relative;
	margin-bottom: 20px;
}

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

.question,.anser {
	transform: translateZ(0);
	transition: all 0.3s;
}

.question {
    padding: 20px 0 20px 25px;
    display: block;
    color: #000;
    background: #F5F5F5;
}

.question p {
	padding-left: 40px;
	position: relative;
	line-height: 1.8;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
}

.question p:before {
	content:"Q";
    font-size: 27px;
    padding-right: 15px;
    color: #c30a01;
	font-family: "Noto Sans", sans-serif;
	font-weight: 700;
	position: absolute;
	top: -6px;
	left: 2px;
}

.rightMark {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: #bb2929;
    width: 40px;
    height: 40px;
    border-radius: 50px;
}

.rightMark:after,.rightMark:before {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 2px;
	height: 0.75rem;
	background-color: #fff;
	transition: all 0.3s;
}

.rightMark:after {
	transform: rotate(90deg);
}

.anser {
	max-height: 0;
	overflow: hidden;
}

.anser div {
	margin: 0;
	padding: 20px 25px;
	line-height: 1.8;
}

.anser div p {
	font-size: 18px;
	line-height: 1.8;
	font-weight: 600;
	letter-spacing: 3px;
	position: relative;
	padding-left: 40px;
}

.anser div p:before {
	content:"A";
    font-size: 27px;
    padding-right: 15px;
    color: #c30a01;
	font-family: "Noto Sans", sans-serif;
	font-weight: 700;
	position: absolute;
	top: -6px;
	left: 2px;
}

.toggle:checked + .question + .anser {
	max-height: 500px;
	transition: all 1.5s;
}

.toggle:checked + .question .rightMark {
	background: #757575;
}

.toggle:checked + .question .rightMark:before {
	transform: rotate(90deg) !important;
}

.faqBtn {
	text-align: center;
	margin: 70px auto 0;
}

@media screen and (max-width: 1300px) {
	.title_group .content.inner {
		gap: 25px;
		margin: 5vw auto 8.46vw;
	}
	.title_group .content.inner .left {
		width: 14.38vw;
	}
	.title_group .content.inner .right p {
		font-size: calc((45 / 1300) * 100vw);
	}
	.title_group .content.inner .right .markar {
		padding: 0 10px;
	}
	.title_group .content.inner .right .markar::before {
		height: 1.6vw;
	}
}

@media screen and (max-width: 767px) {
	.title_group .content.inner {
		margin: 35px auto 30px;
		flex-direction: column;
		gap: 10px;
	}
	.title_group .content.inner .left {
		width: 80px;
	}
	.title_group .content.inner .right p {
		text-align: center;
		font-size: 20px;
	}
	.title_group .content.inner .right .markar::before {
		height: 10px;
	}
	
	.sttl {
			font-size: 25px;
			margin: 60px auto 40px;
			padding: 0px 0px 0 10px;
	}

	.sttl span {
	}

	.sttl span::before {
			top: 50%;
			transform: translateY(-50%);
	}

	.sttl span::after {
			left: 50%;
			bottom: -10px;
			width: 50px;
	}
	
	.accordion {
		margin: 0 auto 80px;
	}
	
	.question {
		padding: 10px 40px 10px 10px;
		
	}
	
	.question p {
		font-size: 16px;
		padding-left: 30px;
		letter-spacing: 2px;
	}
	
	.question p:before {
		font-size: 22px;
		top: -6px;
		left: 0;
	}
	
	.rightMark {
		right: 12px;
		width: 25px;
		height: 25px;
	}
	
	.rightMark:after, .rightMark:before {
		right: 12px;
		height: 0.6rem;
	}

	.anser div {
		padding: 10px 10px;
	}
	
	.anser div p {
		font-size: 15px;
		padding-left: 30px;
		letter-spacing: 2px;
	}
	
	.anser div p:before {
		top: -5px;
		font-size: 22px;
	}	
	
	.faqBtn a {
		padding: 0 5em 0 3.5em;
	}	
	
	
}