@charset "utf-8";
.cont_img {
  background-image: url("../images/cont_img.jpg");
}
.cont_img h1 {
  background-image: url(../images/title.png);
}
#faq .link {
  padding-top: 0;
}
#faq h2 {
  background: url(../images/h2.png) no-repeat center center;
}
#faq h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  width: 300px;
  border-bottom: 1px solid #ae9210;
  margin: 30px 0;
}
/*アコーディオン*/

.cp_actab {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  color: #ffffff;
  margin-bottom: 20px;
}
.cp_actab input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.cp_actab label {
  font-weight: bold;
  line-height: 3;
  position: relative;
  display: block;
  padding: 0 0 0 1em;
  cursor: pointer;
  margin: 0 0 1px 0;
  background: #224169;
}
.cp_actab label span {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  margin-right: 10px;
}
.cp_actab .cp_actab-content {
  overflow: hidden;
  max-height: 0;
  -webkit-transition: max-height 0.35s;
  transition: max-height 0.35s;
  color: #333333;
  background: #224169;
}
.cp_actab .cp_actab-content p {
  margin: 1em;
}
.cp_actab .cp_actab-content span {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  margin-right: 10px;
  color: #ae9210;
}
/* :checked */
.cp_actab input:checked ~ .cp_actab-content {
  max-height: 20em;
}
/* Icon */
.cp_actab label::after {
  line-height: 3;
  position: absolute;
  top: 8px;
  right: 0;
  display: block;
  width: 3em;
  height: 3em;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  text-align: center;
}
.cp_actab input[type=checkbox] + label::after {
  content: '+';
}
.cp_actab input[type=checkbox]:checked + label::after {
  transform: rotate(315deg);
}
.white {
  padding: 10px;
  background: #fff;
  margin: 20px;
}

@media only screen and (max-width: 768px) {
  .cont_img {
  background-image: url("../images/cont_img_sp.jpg");
}
  
.cont_img h1 {
  background-image: url(../images/title_sp.png);
  background-size: 100%;
}
  
  
#faq h2 {
  background: url(../images/h2_sp.png) no-repeat center center;
  background-size: 100%;
}
#faq h3 {
  width: 100%;
}
.cp_actab label::after {
  top: 0px;
}
.cp_actab label {
  line-height: 2;
  padding: 30px 10px 20px;
}
}
