@charset "UTF-8";

.faq_box {
	position: relative;
	width: 100%;
	margin-bottom: 80px;
	padding: 40px 50px 50px;
	background: #fff;
	border: #ddd 1px solid;
}

/* SP */
@media only screen and (max-width: 767px) {
	.faq_box {
		margin-bottom: 50px;
		padding: 30px 5% 50px;
	}
}

/*-- 汎用 --*/
.faq_heading_1 {
	position: relative;
	padding-bottom: 10px;
	text-align: center;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: 24px;
	color: #4f4124;
}

.faq_heading_1::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 2px;
	background: #ca9b69;
}

/* SP */
@media only screen and (max-width: 767px) {
	.faq_heading_1 {
		font-size: 20px;
	}
}

/*-- 検索窓 --*/
.faq_box .faq_search_input_box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: min(90%, 480px);
	margin-inline: auto;
	padding: 5px 20px;
	background: #f7f7f7;
	border: #ebebeb 1px solid;
	border-radius: 30px;
}

.faq_box .faq_search_input {
	width: 100%;
}

.faq_box #faq_search {
	width: 100%;
	padding-block: 10px;
	background: #f7f7f7;
	border: none;
	font-size: 16px;
}

/* Safari・Chrome のデフォルト検索クリアボタンを非表示 */
.faq_box #faq_search::-webkit-search-decoration,
.faq_box #faq_search::-webkit-search-cancel-button,
.faq_box #faq_search::-webkit-search-results-button,
.faq_box #faq_search::-webkit-search-results-decoration {
	display: none;
}

.faq_box #faq_search:focus {
	outline: none;
	box-shadow: none;
}

.faq_box .faq_search_reset {
	cursor: pointer;
	font-size: 20px;
	font-weight: 700;
	color: #aaa;
}

.faq_box .faq_suggest_box {
	position: relative;
}

.faq_box #faq_suggest {
	box-sizing: border-box;
	position: absolute;
	top: 10px;
	left: 0;
	z-index: 1;
	width: 100%;
	max-height: calc(100vh - 455px);
	padding-inline: 20px;
	background: #fff;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
	overflow-y: auto;
	/* scrollbar-width: none; */
}

.faq_box #faq_suggest > li {
	cursor: pointer;
	position: relative;
	width: 100%;
	padding: 20px 35px;
	border-bottom: #ddd 1px solid;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
}

.faq_box #faq_suggest > li.faq_search_no_result {
	cursor: auto;
}

.faq_box #faq_suggest > li:not(.faq_search_no_result)::before {
	content: 'Q.';
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	font-size: 21px;
	color: #333;
}

.faq_box #faq_suggest .faq_search_category {
	margin-bottom: 15px;
	font-size: 12px;
}

.faq_box #faq_suggest .faq_search_category span {
	display: inline-block;
	padding: 2px 15px;
	border-radius: 50px;
}

.faq_box #faq_suggest .faq_search_category span:nth-child(1) {
	background-color: #574e38;
	color: #fff;
}

.faq_box #faq_suggest .faq_search_category span:nth-child(2) {
	background-color: #fbf5ee;
	color: #b5834d;
}

.faq_box #faq_suggest .faq_search_question {
	font-size: 16px;
	font-weight: 700;
}

.faq_box .popular_kwd {
	display: flex;
	gap: 20px;
	width: min(100%, 440px);
	margin: 10px auto 0;
}

.faq_box .popular_kwd > p {
	font-size: 14px;
	font-weight: 700;
}

.faq_box .popular_kwd_list span {
	cursor: pointer;
	position: relative;
	font-size: 14px;
	transition: all 0.3s ease;
}

/* PC */
@media only screen and (min-width: 768px) {
	.faq_box #faq_suggest > li {
		transition: all 0.3s ease;
	}
	
	.faq_box #faq_suggest > li:not(.faq_search_no_result):hover {
		padding-left: 50px;
	}
	
	.faq_box .popular_kwd_list span:hover {
		color: #a30000;
	}
}

/* SP */
@media only screen and (max-width: 767px) {
	.faq_box #faq_suggest {
		max-height: calc(100vh - 45vh);
	}
	
	.faq_box .popular_kwd {
		justify-content: center;
		gap: 15px;
		margin-top: 15px;
	}
}

/*-- ピックアップFAQ --*/
.faq_box .faq_pickup {
	width: min(100%, 600px);
	margin: 50px auto 0;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
}

.faq_box .faq_pickup .pickup_list {
	margin-top: 20px;
}

.faq_box .faq_pickup .pickup_list a {
	position: relative;
	display: block;
	padding: 16px 0 16px 0;
	background: url(../images/faq/arrow_down_gray.png) no-repeat right center / 15px;
	border-bottom: #ddd 1px solid;
	transition: all 0.3s ease;
}

.faq_box .faq_pickup .pickup_category {
	display: inline-block;
	padding: 5px 30px;
	background: #574e38;
	border-radius: 30px;
	font-size: 12px;
	color: #fff;
}

.faq_box .faq_pickup .pickup_title {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.faq_box .faq_pickup .pickup_more {
	cursor: pointer;
	width: 200px;
	margin: 30px auto 0;
	padding: 8px 0;
	background: #fff url(../images/faq/arrow_down_gray.png) no-repeat right 10px center / 11px;
	border: #ddd 1px solid;
	border-radius: 30px;
	text-align: center;
	font-size: 14px;
	color: #574e38;
}

/* PC */
@media only screen and (min-width: 768px) {
	.faq_box .faq_pickup .pickup_list a:hover {
		padding-left: 20px;
	}
}

/* SP */
@media only screen and (max-width: 767px) {
	.faq_box .faq_pickup .pickup_list a {
		padding-right: 16px;
	}
	
	.faq_box .faq_pickup .pickup_category {
		padding-inline: 20px;
	}
}

/*-- カテゴリから探す --*/
.faq_box .faq_category {
	margin-top: 60px;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
}

.faq_box .faq_category .category_box {
	display: flex;
	align-items: flex-start;
	gap: 25px;
	margin-top: 30px;
}

.faq_box .faq_category .category_box > div {
	width: calc(100% / 3);
}

.faq_box .faq_category .category_item {
	padding: 15px;
	background: #fff;
	border: #ca9b69 1px solid;
}

.faq_box .faq_category .category_item:last-child {
	margin-top: 13px;
}

.faq_box .faq_category .category_name {
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 70px;
	padding: 15px 50px;
	background: #574e38 url(../images/faq/arrow_down_white.png?01) no-repeat right 15px center / 15px;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: #fff;
}

.faq_box .faq_category .category_title_list li {
	border-bottom: #f4dbc0 1px solid;
}

.faq_box .faq_category .category_title_list li a {
	position: relative;
	display: block;
	padding: 10px 20px 10px 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #382219;
	transition: all 0.3s ease;
}

.faq_box .faq_category .category_title_list li a::after {
	content: '';
	position: absolute;
	top: 16px;
	right: 10px;
	width: 8px;
	height: 7px;
	background: #382219;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* PC */
@media only screen and (min-width: 768px) {
	.faq_box .faq_category .category_title_list li a:hover {
		background: #fdfaf6;
	}
}

/* SP */
@media only screen and (max-width: 767px) {
	.faq_box .faq_category .category_box {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	
	.faq_box .faq_category .category_box > div {
		width: 100%;
	}
	
	.faq_box .faq_category .category_item {
		padding: 10px;
	}
	
	.faq_box .faq_category .category_item:last-child {
		margin-top: 10px;
	}
	
	.faq_box .faq_category .category_name {
		min-height: auto;
		padding: 10px 25px 10px 10px;
		background: #fbf5ee url(../images/faq/arrow_down_brown.png) no-repeat right 10px center / 15px;
		text-align: left;
		color: #b5834d;
	}
	/*
	.faq_box .faq_category .category_title_list {
		display: none;
	}
	*/
}

/*-- メインのFAQ --*/
.faq_box .faq_main {
	margin-top: 80px;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
}

.faq_box .faq_main_parent + .faq_main_parent {
	margin-top: 50px;
}

.faq_box .faq_main_parent_name {
	width: 100%;
	padding: 22px;
	background: #574e38;
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	color: #fff;
}

.faq_box .faq_main_children {
	margin-top: 20px;
}

.faq_box .faq_main_children_name {
	padding: 10px;
	background: #fbf5ee;
}

.faq_box .faq_main_children_name span {
	display: inline-block;
	padding: 10px 10px;
	border-left: #b5834d 5px solid;
	font-size: 18px;
	font-weight: 600;
	color: #b5834d;
}

.faq_box .faq_main_children_item {
	padding-inline: 20px;
	border-bottom: #ddd 1px solid;
	transition: all 0.3s ease;
}

.faq_box .faq_main_children_question {
	cursor: pointer;
	position: relative;
	padding: 21px 30px;
}

.faq_box .faq_main_children_question::before {
	content: 'Q.';
	position: absolute;
	top: 21px;
	left: 0;
	font-size: 21px;
	color: #333;
}

.faq_box .faq_main_children_question::after {
	content: '';
	position: absolute;
	top: 30px;
	right: 0px;
	display: inline-block;
	width: 15px;
	height: 8px;
	background: url(../images/faq/arrow_down_gray.png) no-repeat left top / 100% 100%;
}

.faq_box .faq_main_children_question.is-open::after {
	transform: rotate(180deg);
}

.faq_box .faq_main_children_question h5 {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: #333;
}

.faq_box .faq_main_children_answer {
	position: relative;
	display: none;
	padding: 0 0 21px 30px;
	line-height: 1.8;
}
/*
.faq_box .faq_main_children_answer.is-open {
	display: block;
}
*/
.faq_box .faq_main_children_answer::before {
	content: 'A.';
	position: absolute;
	top: -5px;
	left: 2px;
	font-size: 21px;
	color: #a30000;
}

.faq_box .faq_main_children_answer p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: #333;
}

.faq_box .faq_main_children_answer p a {
	text-decoration: underline;
	color: #a30000;
}

/* PC */
@media only screen and (min-width: 768px) {
	.faq_box .faq_main_children_item:hover {
		background: #fdf9f9;
	}
}

/* SP */
@media only screen and (max-width: 767px) {
	.faq_box .faq_main {
		margin-top: 50px;
	}
	
	.faq_box .faq_main_parent_name {
		padding: 15px;
		font-size: 18px;
		line-height: 1.5;
	}
	
	.faq_box .faq_main_children_name span {
		padding-block: 5px;
		font-size: 16px;
		line-height: 1.5;
	}
	
	.faq_box .faq_main_children_item {
		padding-inline: 10px;
	}
	
	.faq_box .faq_main_children_question::before {
		top: 23px;
		font-size: 18px;
	}
	
	.faq_box .faq_main_children_answer::before {
		top: 2px;
		left: 2px;
		font-size: 18px;
	}
	
	.faq_box .faq_main_children_question h5,
	.faq_box .faq_main_children_answer p {
		font-size: 14px;
	}
}
