@charset "utf-8";

.qa_tab input{
  display: none;
}
.qa_tab .tab_item{
  display: flex;
  float: left;
  justify-content: center;
  align-items: center;
  width: calc(100%/4);
  height: 60px;
  line-height: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #fff;
  cursor: pointer;
	background-color: #f4f4f4;
}
.tab_content{
  display: none;
  clear: both;
  overflow: hidden;
}
input[name="tab-item"] {
  display: none;
}
#search:checked ~ #search_content, #purchase:checked ~ #purchase_content, #sale_request:checked ~ #sale_request_content,#sale_contract:checked ~ #sale_contract_content {
  display: block;
}
.qa_tab .tab_item .line,.qa_tab .tab_item .line .small_tx{
  font-weight: bold;
}
.qa_tab input:checked + .tab_item{
	position: relative;
  font-weight: bold;
  background-color: #1c81b1;
  color: #fff;
}
.qa_tab input:checked + .tab_item::after{
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	bottom: -10px;
	left: 0;
	right: 0;
	margin: 0 auto;
	border-style: solid;
	border-width: 10px 30px 0 30px;
	border-color: #1c81b1 transparent transparent transparent;
}
.qa_tab .tab_item span.small_tx{
  font-size: 12px;
}
.qa_list li + li{
  margin-top: 15px;
}
.qa_list li .question{
  position: relative;
  padding: 10px 30px 10px 50px;
  font-weight: bold;
  border: 1px solid #1c81b1;
  background: url("../img/qa/icn_qa_01.png")no-repeat top 10px left 15px/12px;
  cursor: pointer;
}
.qa_list li .question::before{
  position: absolute;
  font-family: 'Material Icons';
  content: "\e145";
  bottom: 5px;
  right: 15px;
  color: #23a438;
  font-size: 20px;
  font-weight: 100;
}
.qa_list li .question.open::before{
  content: "\e15b";
  color: #23a438;
}
.qa_list li .answer{
  position: relative;
  padding: 10px 30px 10px 50px;
  font-weight: bold;
	border-left: 1px solid #1c81b1;
	border-bottom: 1px solid #1c81b1;
	border-right: 1px solid #1c81b1;
  background-color: #f4f4f4;
}
.qa_list li .answer::before{
  position: absolute;
  content: "";
  top: 15px;
  bottom: 0;
  left: 17px;
  width: 13px;
  height: 20px;
  background: url("../img/qa/icn_qa_02.png")no-repeat center left /12px;
}


@media screen and (max-width: 768px){
  .qa_tab .tab_item{
    flex-wrap: wrap;
    width: calc(100%/2);
  }
	.qa_tab input:checked + .tab_item::after{
		display: none;
	}
  .qa_list li .question{
    padding: 10px 40px 10px 45px;
  }
  .qa_list li .question::before{
    top: 3px;
    right: 10px;
  }
	.qa_wrap a.green_btn{
		width: 100%;
	}


}