@charset "UTF-8";
.for_pc{display: block;}
#faq .change ul{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 15px;
}
#faq .change ul li{
  flex: 0 0 24%;
  margin-bottom: 10px;
}
#faq .change input[type="radio"]{
  display: none;
}
#faq .change input + label{
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  line-height: 1.4;
  border: 2px solid #ccc;
  color: #999;
  cursor: pointer;
}
#faq .change #cate_1:checked + label{color: #e61673;border-color: #e61673;}
#faq .change #cate_2:checked + label{color: #ea5514;border-color: #ea5514;}
#faq .change #cate_3:checked + label{color: #FFA300;border-color: #FFA300;}
#faq .change #cate_4:checked + label{color: #22ac38;border-color: #22ac38;}
#faq .change #cate_5:checked + label{color: #2ea7e0;border-color: #2ea7e0;}
#faq .change #cate_6:checked + label{color: #172a88;border-color: #172a88;}
#faq .change #cate_7:checked + label{color: #601986;border-color: #601986;}
#faq .change #cate_8:checked + label{color: #333;border-color: #333;}

#faq .title_wrap {
  background-image: url("../images/faq/faq_h2.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: auto 100%;
}
.qa_box {
  margin: 50px auto
}
.qa_box div, .qa_box p {
  box-sizing: border-box
}
.accordion{
  border-bottom: 1px solid #d7d7d7;
}
.accordion div {
  width: 100%;
  display: block;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box
}
.accordion .title_box{
  display: flex;
  width: 100%;
}
.accordion .title_box .cate_con{
  display: flex;
	flex: 0 0 125px;
	width: 100%;
  margin: 0 15px;
  height: 45px;
  padding: 0;
	font-size: 13px;
	justify-content: center;
	align-items: center;
	text-align: center;
	line-height: 1.4;
}
.accordion .title_box .cate_con_1{
  max-width: 130px;
  color: #e61673;
  border: 2px solid #e61673;
}
.accordion  .title_box .cate_con_2{
  max-width: 200px;
  color: #ea5514;
  border: 2px solid #ea5514;
}
.accordion .title_box .cate_con_3{
  max-width: 130px;
  color: #FFA300;
  border: 2px solid #FFA300;
}
.accordion .title_box .cate_con_4{
  max-width: 130px;
  color: #22ac38;
  border: 2px solid #22ac38;
}
.accordion .title_box .cate_con_5{
  max-width: 200px;
  color: #2ea7e0;
  border: 2px solid #2ea7e0;
}
.accordion  .title_box .cate_con_6{
  max-width: 200px;
  color: #172a88;
  border: 2px solid #172a88;
}
.accordion  .title_box .cate_con_7{
  max-width: 150px;
  color: #601986;
  border: 2px solid #601986;
}
.accordion div p:first-child {
  width: 65px;
}
.accordion div p:last-child {
  width: calc(100% - 65px);
}
.accordion div.q p:last-child {
  width: calc(100vw - 10vw);
  padding-top: 4px;
  padding-right: 60px;
  position: relative;
  font-size: 18px;
}
.accordion div p span.icon {
  font-size: 24px;
  line-height: 1;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%
}
.accordion div.q {
	display: flex;
  width: 100%;
  padding: 12px 15px 12px;
  font-size: 18px;
  color: #333;
  font-weight: bold;
  line-height: 1.8;
  border-top: 1px solid #d7d7d7;
  cursor: pointer;
}
.accordion div.q:hover {
	opacity: 0.8;
}
.accordion div.q p span {
  background: #e6001b
}
.accordion div.a p span {
  background: #9499a4
}
.accordion .a-wrap {
  display: none;
  padding: 0 15px 15px;
}
.accordion .a-wrap .a{
  display: flex;
}
.accordion .a-wrap a{
  text-decoration: underline;
}
.arr::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border: 6px solid transparent;
  border-top: 7px solid #e6001b;
  background: transparent;
  position: absolute;
  top: 20px;
  right: 40px;
  transform: rotate(0deg);
}
.arr::after {
  content: none;
}
.q.open .arr::before {
  top: 13px;
  right: 40px;
  transform: rotate(180deg);
}
.q.open .arr::after {
  top: 19px;
  transform: rotate(215deg);
}
@media screen and (max-width:768px) {
  .for_pc{display: none;}
  #faq .change ul li{
    flex: 0 0 48%;
    font-size: 14px;
  }
  .qa_box {
    margin: 25px auto
  }
  .accordion .title_box{
    display: block;
    width: calc(100% - 40px);
  }
  .accordion .title_box .cate_con{
    height: auto;
    padding: 5px;
    margin-left: 10px;
  }
  .accordion div p:first-child {
    width: 40px;
    padding: 0;
  }
  .accordion div p:last-child {
    width: calc(100% - 40px);
    padding: 0 10px 10px 10px;
  }
  .accordion div.q p:last-child {
    width: 100%;
		padding-top: 5px;
    padding-right: 8vw;
    font-size: 16px;
  }
  .accordion div p span.icon {
    font-size: 20px;
    width: 35px;
    height: 35px;
  }
  .accordion div.q {
    font-size: 18px;
    line-height: 1.6;
    padding: 12px 15px 7px;
  }
  .arr:before,
  .arr:after {
    top: 23px;
    right: 4vw;
  }
  .q.open .arr::before, .q.open .arr::after {
    top: 15px;
  }
  #faq .title_wrap {
    background-position: 65% center;
  }
}
