@charset "utf-8";

/* ===================================================================

	よくある質問 faq

=================================================================== */

.faq_txt_search {
	max-width: var(--def-max-width);
	width: var(--def-width);
	margin: 0 auto 40px;
	padding: 10px;
	background: var(--bs-white);
	border-radius: 30px;
	filter: var(--filter-box-shadow);
	overflow: hidden;
}
.faq_txt_search form {
	display: flex;
}
.faq_txt_search .input.text {
	flex-grow: 1;
}
.faq_search_input {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0.8em 1em;
	font-weight: 400;
	line-height: 1.5;
	color: var(--main-txt-color);
	background-color: var(--bs-white);
	background-clip: padding-box;
	border: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 20px 0 0 20px;
}

button.faq_search_btn {
	flex-shrink: 0;
	flex-grow: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 5em;
	padding: 0.5em 0.5em;
	text-align: center;
	color: var(--bs-white);
	background: var(--bs-primary);
	border-radius: 30px;
	border: none;
	font-weight: 900;
	line-height: 1;
	cursor: pointer;
	transition: all .3s;
}
.faq_search_btn img {
	width: 30px;
}


.faq_keyword {
	max-width: var(--def-max-width);
	width: var(--def-width);
	margin: 50px auto;
}
.faq_keyword h2 {
	margin-bottom: 10px;
	text-align: center;
	font-family: var(--maru-font-family);
	font-size: calc(var(--font-size--bs) * 1.2 );
	font-size: var(--font-size--md);
}
.faq_keyword_list {
	display: flex;
	justify-content: center;
}
.faq_keyword_list a {
	display: inline-block;
	margin-right: 0.5em;
	padding: 0.5em 1.2em 0.6em;
	border-radius: 1.1em;
	border: 2px solid var(--main-txt-color);
	color: var(--main-txt-color);
	line-height: 1;
}
.faq_keyword_list a:hover {
	background: var(--bs-primary);
	color: var(--bs-white);
}

/* タブっぽいもの */
.faq_tab {
	display: flex;
	justify-content: center;
	max-width: var(--def-max-width);
	width: var(--def-width);
	margin: 0 auto 40px;
}
.faq_tab li {
	margin-right: 0.6em;
}
.faq_tab li:last-of-type {
	margin-right: 0;
}

.faq_tab li a {
	color: var(--main-txt-color);
	border: 2px solid var(--bs-primary);
	background: var(--bs-white);
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.8em 1em;
	border-radius: 1.6em;
	color: var(--bs-primary);
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
}
.faq_tab li.current a {
	color: var(--bs-white);
	background: var(--bs-primary);
}
.faq_tab li a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -15px;
	transform: translateX(-50%);
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 14px 0;
	border-color: var(--bs-primary) transparent transparent transparent;
	opacity: 0;
	transition: all .2s;
}
.faq_tab li.current a::after {
	opacity: 1;
}
.faq_tab li a:hover::after {
	opacity: 1;
}

.faq_detail {
	max-width: var(--def-max-width);
	width: var(--def-width);
	margin: 0 auto 20px;
}
.faq_detail dl {
	margin-bottom: 30px;
	border-left: 3px solid var(--main-txt-color);
	border-right: 3px solid var(--main-txt-color);
	border-bottom: 3px solid var(--main-txt-color);
	border-radius: 50px;
	background: var(--bs-white);
}
.faq_detail dl dt {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100px;
	padding: 20px;
	border-radius: 50px;
	background: var(--bs-white);
	font-size: var(--font-size--md);
	font-weight: 700;
	z-index: 1;
	cursor: pointer;
}
.faq_detail dl dt::before {
	content: 'Q';
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	flex-grow: 0;
	width: 60px;
	height: 60px;
	margin-right: 20px;
	border-radius: 50%;
	background: var(--bs-primary);
	color: var(--bs-white);
	text-align: center;
	font-size: var(--font-size--lg);
	font-family: var(--en-font-family);
	font-weight: 700;
}
.faq_detail dl dt::after {
	content: "";
	display: block;
	position: absolute;
	top: -3px;
	left: -3px;
	width: calc(100% + 6px);
	height: calc(100% + 6px);
	border: 3px solid var(--main-txt-color);
	border-radius: 60px;
	z-index: 1;
}


.faq_detail dl dd {
	display: flex;
	padding: 20px;
}

.faq_detail dl dd::before {
	content: 'A';
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	flex-grow: 0;
	width: 60px;
	height: 60px;
	margin-right: 20px;
	border-radius: 50%;
	background: var(--bs-secondary);
	color: var(--bs-white);
	text-align: center;
	font-size: var(--font-size--lg);
	font-family: var(--en-font-family);
	font-weight: 700;
}
.faq_detail dl dd p {
	margin-top: 15px;
}




/* ===================================================================
	レスポンシブ対応用
=================================================================== */

/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) {
}
@media ( max-width : 1200px ){ 
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
	.faq_detail dl dt::before,
	.faq_detail dl dd::before {
		width: 46px;
		height: 46px;
		font-size: var(--font-size--md);
		margin-right: 10px;
	}
	.faq_detail dl dd p {
		margin-top: 10px;
	}
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
}
