:root {
	--back-color: #604c3f;
	--line-color: #ccc;
}

#p-main-visual .p-main-visual_inner {
	background: url(../img/faq/main-visual.jpg) no-repeat center center;
	background-size: cover;
}

#p-main-visual .p-main-visual_txt img {
	width: 30vw;
}

#p-main-visual .p-main-visual_txt {
	bottom: -22px;
	transform: rotate(-5.1deg);
}

.p-inner-faq.p-inner {
	width: 94%;
}

.p-ttl {
	margin-bottom: 40px;
}

.ttl {
	display: flex;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: 20px;
}

.ttl::before {
	content: "Q.";
	display: inline-block;
	margin-right: 6px;
}

.contents {
	background: #f5f2e7;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	margin-bottom: 80px;
	padding: 24px 20px;
	row-gap: 12px;
}

.contents .wp-block-paragraph {
	font-size: 15px;
	line-height: 1.8;
}

.faq-btn {
	margin-inline: auto;
	max-width: 380px;
	width: 92%;
}

.faq-btn a {
	align-items: center;
	background: #604c3f;
	border-radius: 10px;
	color: #fff !important;
	display: flex;
	font-size: 16px;
	font-weight: bold;
	height: 70px;
	letter-spacing: .08em;
	justify-content: center;
	position: relative;
	width: 100%;
}

.faq-btn a::after{
	border-bottom:6px solid transparent;
	border-right:9px solid #fff;
	border-top:6px solid transparent;
	content:'';
	display:block;
	position:absolute;
	left:24px;
	top:50%;
	transform:translate(0,-50%);
	z-index:0;
}

/* archive */
.faq-cate {
	margin-bottom: 60px;
}

.faq-cate-ttl {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 30px;
	text-align: center;
}

.faq-cate-list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	list-style-type: none;
	padding: 0;
	row-gap: 14px;
}

.faq-cate-list li {
	display: flex;
}

.faq-cate-list li a {
	align-items: center;
	background: #604c3f;
	border-radius: 10px;
	color: #fff !important;
	display: flex;
	font-size: 14px;
	line-height: 1.4;
	justify-content: center;
	padding: 14px 30px;
	position: relative;
	width: 100%;
}

.faq-cate-list li a::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 6px solid #fff;
	content: '';
	display: block;
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translate(0, -50%);
	z-index: 0;
}

.faq-section-wrap {
	display: flex;
	flex-direction: column;
	row-gap: 40px;
}

.faq-section {
	background: #f5f2e7;
	border-radius: 10px;
	padding: 30px 20px;
}

.faq-section-ttl {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
	line-height: 1.4;
}

.faq-section-desc {
	display: flex;
	flex-direction: column;
	margin-bottom: 36px;
	row-gap: 10px;
}

.faq-section-desc p {
	font-size: 14px;
	line-height: 1.3;
}

.faq-list {
	display: flex;
	flex-direction: column;
	list-style-type: none;
	padding-left: 0;
	row-gap: 20px;
}

.faq-list li {
	line-height: 1.5;
	position: relative;
}

.faq-list li:not(:last-of-type) {
	border-bottom: 1px dotted #dbd4c1;
	padding-bottom: 20px;
}

.faq-list li a {
	display: flex;
	font-size: 14px;
	padding-right: 1.5em;
}

.faq-list li a::before {
	content: "Q.";
	display: inline-block;
	margin-right: 6px;
}

.faq-list li a::after {
	border-bottom: 6px solid transparent;
	border-left: 9px solid #604c3f;
	border-top: 6px solid transparent;
	content: '';
	display: block;
	position: absolute;
	right: 0;
	top: 3px;
	z-index: 0;
}


@media screen and (width >= 1024px) {
	#p-main-visual {
		margin-bottom: 80px;
	}

	#p-main-visual .p-main-visual_txt img {
		width: 247px;
	}

	.p-ttl {
		margin-bottom: 60px;
	}

	.ttl {
		font-size: 20px;
		margin-bottom: 30px;
	}

	.contents {
		margin-bottom: 120px;
		padding: 40px 30px;
		row-gap: 20px;
	}

	.contents .wp-block-paragraph {
		font-size: 16px;
	}

	.faq-btn a {
		font-size: 18px;
		height: 74px;
	}

	/* archive */
	.faq-cate {
		margin-bottom: 80px;
	}

	.faq-cate-ttl {
		font-size: 28pxx;
		margin-bottom: 40px;
	}

	.faq-cate-list {
		align-items: stretch;
		display: grid;
		gap: 20px;
		grid-template-columns: repeat(3, 1fr);
	}

	.faq-cate-list li a {
		font-size: 16px;
		padding-block: 12px;
	}

	.faq-section-wrap {
		row-gap: 60px;
	}

	.faq-section {
		padding: 60px 50px;
	}

	.faq-section-ttl {
		font-size: 24px;
		margin-bottom: 24px;
	}

	.faq-section-desc {
		margin-bottom: 60px;
		row-gap: 15px;
	}

	.faq-section-desc p {
		font-size: 16px;
	}

	.faq-list {
		row-gap: 30px;
	}

	.faq-list li:not(:last-of-type) {
		padding-bottom: 30px;
	}

	.faq-list li::after {
		top: 5px;
	}

	.faq-list li a {
		font-size: 16px;
	}
}