#faq_search {
  margin-top: 40px;
}

.inner::before{
    position: absolute;
    content: "";
    right: 15px;
    width: 8px;
    height: 8px;
    top: 50%;
    display: inline-block;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.faq_container{
  width: 90%;
  max-width: 1040px;
  margin: 0 auto;
}
.faq_keyword{
  width: 35%;
  max-width: 300px;
  height: 35px;
  border: solid 1px #b5b5b6;
  padding: 0 10px;
  position: relative;
  margin-left: -75px;
  border-right: none;
}

.btn_search{
  display:inline-block;
  font-weight: bolder;
  width: 75px;
  height: 35px;
  line-height: 35px;
  background-color: #B67C29;
  border: solid 1px #B67C29;
  color:#fff;
  letter-spacing:1px;
  cursor:pointer;
  position: absolute;
}

.btn_search:hover{
  opacity:0.7;
}

.faq_list{
  width: 100%;
  margin: 40px 0 50px;
  overflow: hidden;
}

.hero > img{
    filter: brightness(30%);
}
.col-lg-4 {
    width: 50%;
}
.faq-list {
	list-style-type: none;
	padding: 0;
}
.faq-list li .category-list {
	border-radius: 4px;
	padding: 5px;
	cursor: pointer;
	-webkit-transition: background-color linear 0.2s;
	-moz-transition: background-color linear 0.2s;
	-o-transition: background-color linear 0.2s;
	transition: background-color linear 0.2s;
}

.faq-list li .category-list:hover {
	background-color: #FFEFB5;
}

.faq-list li ul.question-list {
	list-style-type: none;
	padding-left: 20px;
	display: none;
}

.faq-list li ul.question-list li {
	padding: 5px;
	-webkit-transition: color linear 0.2s;
	-moz-transition: color linear 0.2s;
	-o-transition: color linear 0.2s;
	transition: color linear 0.2s;
}

.faq-list li ul.question-list li:hover {
	color: red;
}

.faq-overlay {
	position: absolute;
	display: none;
	top: 0;
	width: 100%;
	z-index: 200;
	background-color: rgba(0,0,0,0.6);
}

.faq-box {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	overflow: auto;
	background-color: #FFFFFF;
	border-radius: 4px;
	width: 30%;
	min-width: 300px;
	min-height: 300px;
	padding: 10px;
	z-index: 201;
}

.faq-box .close-box {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.faq-box .close-box::before,
.faq-box .close-box::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 30px;
	height: 4px;
	border-radius: 2px;
	background-color: #A0A0A0;
}

.faq-box .close-box::before {
	transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
}

.faq-box .close-box::after {
	transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
}

.faq-box h3 {
	margin: 35px 0 25px;
	margin: 35px 0 25px;
	font-size: 20px;
	padding: 0 25px;
	line-height: 1.5em;
}

.faq-box p {
	margin: 0 15px;
	text-indent: 1em;
	text-align: justify;
}

.faq-box .faq-inquiry {
	width: 90%;
	margin: 20px auto;
	padding: 5px;
	text-align: center;
	background-color: #F0F0F0;
	border: 1px solid #C7C7C7;
}

.faq-box .faq-inquiry .btn-post {
	margin: 15px auto 8px;
	width: 150px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	cursor: pointer;
	color: #303030;
	font-weight: normal;
	background-color: #F1C455;
	border-radius: 4px;
	z-index: 202;
	-webkit-transition: background-color linear 0.2s;
	-moz-transition: background-color linear 0.2s;
	-o-transition: background-color linear 0.2s;
	transition: background-color linear 0.2s;
}

.faq-box .faq-inquiry .btn-post:hover {
	background-color: #CC9900;
}

.faq-box .faq-inquiry input[type="radio"] {
	display: inline-block;
	margin-right: 6px;
}

.faq-box .faq-inquiry input[type="radio"] + label {
	position: relative;
	display: inline-block;
	margin-right: 12px;
	font-size: 14px;
	line-height: 30px;
	cursor: pointer;
}
@media screen and (max-width: 741px){
  .faq_keyword{
   width: 60%;
  }
  .faq_container{
    width: 100%;
  }
  .col-lg-4 {
    width: 100%;
    padding: 0;
  }
  /* .faq_list{
    border-top: solid 1px #B67C2D;
  } */
  .outer{
    margin-bottom: 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
  }
}
@media (min-width: 1px) {

	.faq-box .faq-inquiry input[type="radio"] {
		display: none;
		margin: 0;
	}

	.faq-box .faq-inquiry input[type="radio"] + label {
		padding: 0 0 0 24px;
	}

	.faq-box .faq-inquiry input[type="radio"] + label::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		box-sizing: border-box;
		display: block;
		width: 18px;
		height: 18px;
		margin-top: -9px;
		background: #FFFFFF;
	}

	.faq-box .faq-inquiry input[type="radio"] + label::before {
		border: 2px solid #C0C0C0;
		border-radius: 30px;
	}

	.faq-box .faq-inquiry input[type="radio"]:checked + label::after {
		content: "";
		position: absolute;
		top: 50%;
		box-sizing: border-box;
		display: block;
	}

	.faq-box .faq-inquiry input[type="radio"]:checked + label::after {
		left: 5px;
		width: 8px;
		height: 8px;
		margin-top: -4px;
		background-color: #F1C455;
		border-radius: 8px;
	}

	.info-search-button {
		height: 40px;
		margin: 0px 20px 8px;
		line-height: 40px;
		background-color: #e23958;
		padding: 0 8px;
		text-align:center;
		border-radius: 6px;
	}
	.info-search-button a{
		color: #fff;
		font-size: 20px;
		text-decoration: none;
		font-weight: normal;
	}

}


/* 20251127追加 */
.faq_list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.faq_item {
	width: 100%;
  	position: relative;  
}

.faq_item a {
	display: block;
	align-items: center;
	color: var(--color-primary);
	font-weight: bold;
	border: 1px solid currentColor;
	border-radius: 5px;
    padding: 16px;
    
}

.faq_item .inner {
	display: flex;
	align-items: center;
	height: 100%;
}

/* ▼ FAQカテゴリのクリック範囲・見た目調整 */

/* li 自体の padding をなくして、a に移す */
#info__faq ul li {
    padding: 0;
}
  
/* 枠全体をクリックできるようにする */
#info__faq ul li a {
    display: flex; /* 中央寄せ用 */
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0.7em 0.5em;
    /* font-size: 1rem; */
    text-decoration: none;
}

/* さらに小さい幅では、文字も少しだけ小さく */
@media screen and (max-width: 599px){
    /* #info__faq ul li a {
        font-size: 0.9rem;
    } */
}

/* 選択中カテゴリの背景色と太字 */
#info__faq ul li.selected a {
    background-color: #F2FBFE;
    font-weight: bold;
}
  
@media (min-width: 768px) {
	.faq_item {
		width: calc((100% - 16px) / 2);
	}
}

#info__faq ul li a {
	border-bottom: none;
}

@media (min-width: 1024px) {
	#info__faq ul li {
		width: 80% !important;
	}
}