@charset "utf-8";

.faq_wrap h2.h2_ttl span{
  width: 175px;
}
.faq_wrap h2.h2_ttl + p{
  margin-bottom: 30px;
  text-align: center;
}
.faq_wrap h3.h3_ttl{
  margin-bottom: 0!important;
}
.faq_tab input{
  display: none;
}
.faq_tab .tab_item{
  display: flex;
  position: relative;
  float: left;
  align-items: center;
  justify-content: center;
  width: calc((100% - 20px)/3);
  height: 60px;
  margin-left: 10px;
  line-height: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: 2px solid #333;
  cursor: pointer;
}
.faq_tab .tab_item:first-of-type{
  margin-left: 0;
}
.faq_tab .tab_item > span{
  position: relative;
  padding-right: 15px;
}
.faq_tab .tab_item span::before{
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-color: transparent transparent transparent #333;
}
.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;
}
.faq_tab input:checked + .tab_item{
  color: #fff;
  background-color: #333;
}
.faq_tab input:checked + .tab_item span::before{
  border-color: transparent transparent transparent #fff;
}
.faq_list{
  padding-bottom: 15px;
}
.faq_list li .question{
  position: relative;
  padding: 20px 20px 20px 25px;
  font-weight: bold;
  border-bottom: 1px solid #333;
  cursor: pointer;
}
.faq_list li .question::before{
  position: absolute;
  content: "";
  top: 20px;
  bottom: 0;
  left: 0;
  width: 12px;
  height: 20px;
  background: url("../img/faq/tx_faq_01.png")no-repeat center left /12px;
}
.faq_list li .question::after{
  position: absolute;
  font-family: 'Material Icons';
  content: "\e145";
  top: 15px;
  right: 10px;
  line-height: 1;
  color: #00FF00;
  font-size: 25px;
  font-weight: 200;
}
.faq_list li .question.open::after{
  content: "\e15b";
}
.faq_list li .answer{
  position: relative;
  margin-top: 10px;
  padding: 15px 20px 15px 40px;
  font-weight: bold;
  background-color: #F8F6F5;
}
.faq_list li .answer::before{
  position: absolute;
  content: "";
  top: 20px;
  bottom: 0;
  left: 15px;
  width: 12px;
  height: 15px;
  background: url("../img/faq/tx_faq_02.png")no-repeat center left /12px;
}


@media screen and (max-width: 768px){
  
  .faq_tab .tab_item{
    display: block;
    width: 100%;
    height: 60px;
    margin: 5px 0 0 0;
    padding: 20px 0 0 15px;
  }
  .faq_tab .tab_item span{
    font-weight: bold;
  }
  .faq_list li .question{
    padding: 10px 40px 10px 30px;
  }
  .faq_list li .question::before{
    top: 13px;
  }
  
  
  
  
  
  
  
}