@charset "UTF-8";
/* CSS Document */
main {
  color: #fff;
  font-family: "Noto Serif JP", serif;
}
.hero-img {
  background-image: url("../01_images/cover.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
}
.d-button {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-size: 20px;
  text-decoration: none;
  border: solid 1px #ffffff;
  padding: 20px;
}
.d-button:hover {
  background-color: rgb(51, 51, 51);
}
@media (max-width: 599px) {
  .d-button {
    display: block;
    width: 100%;
    margin: 20px auto;
  }
}

/*------------------------------------------------------------------------------------------------------------*/
.section-faq {
  display: block;
  margin: 80px auto;
  max-width: 900px;
  padding-left: 80px;
}
.cp_qa02 *,
.cp_qa02 *:after,
.cp_qa02 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
}
.cp_qa02 .cp_actab {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 0 1em 0;
  color: #0c0c0c;
}
.cp_qa02 .cp_actab input {
  position: absolute;
  opacity: 0;
}
/* 質問 */
.cp_qa02 .cp_actab label {
  font-size: 14px;
  line-height: 1.6em;
  position: relative;
  display: block;
  margin: 0 0 0 0;
  padding: 1em 2em 1em 2.5em;
  cursor: pointer;
  text-indent: 1em;
  border-bottom: solid 0.5px #fff;
}
.cp_qa02 .cp_actab label::before {
  font-family: serif;
  font-size: 1.5em;
  margin-left: -2em;
  padding-right: 0.5em;
  content: "Q";
}
.cp_qa02 .cp_actab label:hover {
  transition: all 0.3s;
  color: #fff;
}
/* --質問の＋アイコン */
.cp_qa02 .cp_actab label::after {
  font-size: 1.7em;
  font-weight: bold;
  line-height: 2em;
  position: absolute;
  top: 0;
  right: 0;
  content: "+";
  display: inline-block;
  width: 2em;
  height: 2em;
  -webkit-transition: transform 0.4s;
  transition: transform 0.4s;
}
/* 答え */
.cp_qa02 .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 0 0 2.5em;
  -webkit-transition: max-height 0.2s;
  transition: max-height 0.2s;
  border-radius: 0 0 0.5em 0.5em;
}
.cp_qa02 .cp_actab .cp_actab-content::before {
  font-family: serif;
  font-size: 1.5em;
  position: absolute;
  margin: 0.4em 0 0 -1em;
  padding: 0;
  content: "A";
}
.cp_qa02 .cp_actab .cp_actab-content p {
  margin: 1em 1em 1em 0;
  line-height: 25px;
  font-size: 14px;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa02 .cp_actab input:checked ~ .cp_actab-content {
  max-height: 40em;
  border: 10px solid rgba(12, 12, 12, 1);
}
/* 質問をクリックした時のアイコンの動き */
.cp_qa02 .cp_actab input:checked ~ label {
  color: #fff;
  border: none !important;
}
/* 質問をクリックした時の+の動き */
.cp_qa02 .cp_actab input[type="checkbox"]:checked + label::after {
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

/*------------------------------------------------------------------------------------------------------------*/

.cp_qa {
  margin: 0 auto;
  background: #0c0c0c;
}
.cp_qa input {
  display: none;
  cursor: pointer;
}
/* カテゴリー */
.cp_qa #cp_content1,
.cp_qa #cp_content2,
.cp_qa #cp_content3,
.cp_qa #cp_content4,
.cp_qa #cp_content5,
.cp_qa #cp_content6 {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #dddddd;
}
.cp_qa label.cp_tabitem {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px;
  text-align: center;
  color: #fff;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
}

.cp_qa input:checked + label {
  color: #fff;
  border: 1px solid #fff;
  border-bottom: 1px solid #ffffff;
  cursor: pointer;
  /*	background-color: #1a1a1a;*/
}
/* --ブロックのバーの色 */
.cp_qa input:checked {
  background-color: #7a7a7a;
}

/* QAブロック */
.cp_qa #cp_conttab1:checked ~ #cp_content1,
.cp_qa #cp_conttab2:checked ~ #cp_content2,
.cp_qa #cp_conttab3:checked ~ #cp_content3,
.cp_qa #cp_conttab4:checked ~ #cp_content4,
.cp_qa #cp_conttab5:checked ~ #cp_content5,
.cp_qa #cp_conttab6:checked ~ #cp_content6 {
  display: block;
}
.cp_qa .cp_qain {
  overflow-x: hidden;
  margin: 0 auto;
  color: #333333;
}
.cp_qa .cp_qain .cp_actab {
  padding: 20px 0;
  border-bottom: 1px dotted #cccccc;
}
/* 質問 */
.cp_qa .cp_qain label {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 10px 0 48px;
  cursor: pointer;
}
/* ＋アイコン */
.cp_qa .cp_qain .cp_plus {
  font-size: 2em;
  line-height: 100%;
  position: absolute;
  z-index: 5;
  margin-top: 3px;
  margin-left: 10px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

/* 答え */
.cp_qa .cp_qain .cp_actab-content {
  position: relative;
  overflow: hidden;
  height: 0;
  margin: 0 10px 0 48px;
  padding: 14px 0;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  opacity: 0;
}
/* 質問を開いた時の仕様 */
.cp_qa .cp_qain .cp_actab input[type="checkbox"]:checked ~ .cp_actab-content {
  height: auto;
  opacity: 1;
}
/* 質問をクリックした時の▼アイコンの動き */
.cp_qa .cp_qain .cp_actab input[type="checkbox"]:checked ~ .cp_plus {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.bp-link-wrap {
  padding: 200px 0;
  font-size: 14px;
}
.bp-link-button {
  border: solid 0.5px #fff;
  padding: 15px 25px;
  text-decoration: none;
  color: #fff;
  display: block;
  margin-top: 15px;
  width: 25%;
  text-align: center;
}
.bp-link-button:hover {
  background-color: #333;
}
@media (max-width: 599px) {
  .section-faq {
    display: block;
    margin: 40px auto;
    max-width: 900px;
    padding: 0 10px;
  }
  .cp_qa label.cp_tabitem {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 15px 7px;
    text-align: center;
    color: #fff;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 14px;
    width: 28%;
  }
  /* QAブロック */
  .cp_qa #cp_conttab1:checked ~ #cp_content1,
  .cp_qa #cp_conttab2:checked ~ #cp_content2,
  .cp_qa #cp_conttab3:checked ~ #cp_content3,
  .cp_qa #cp_conttab4:checked ~ #cp_content4,
  .cp_qa #cp_conttab5:checked ~ #cp_content5,
  .cp_qa #cp_conttab6:checked ~ #cp_content6 {
    display: block;
  }
  .bp-link-wrap {
    padding: 40px 0 100px 0;
    font-size: 14px;
    line-height: 25px;
  }
  .bp-link-button {
    border: solid 0.5px #fff;
    padding: 15px 15px;
    text-decoration: none;
    color: #fff;
    display: block;
    margin: 15px auto 0;
    width: 80%;
    text-align: center;
  }
  .cp_qa02 .cp_actab label::before {
    font-family: serif;
    font-size: 1.2em;
    margin-left: -2em;
    padding-right: 0.5em;
    content: "Q";
  }
  .cp_qa02 .cp_actab .cp_actab-content::before {
    font-family: serif;
    font-size: 1.2em;
    position: absolute;
    margin: 0.4em 0 0 -1em;
    padding: 0;
    content: "A";
  }
}

/*タブレット----------------------------------------------------------------------------------------------------------------------*/
@media (min-width: 600px) and (max-width: 1024px) {
  .section-faq {
    display: block;
    margin: 80px auto;
    max-width: 900px;
    padding: 0 20px 0 100px;
  }
  .cp_qa label.cp_tabitem {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 15px 9px;
    text-align: center;
    color: #fff;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 14px;
  }
  .cp_qa02 .cp_actab label::before {
    font-family: serif;
    font-size: 1.3em;
    margin-left: -2em;
    padding-right: 0.5em;
    content: "Q";
  }
  .cp_qa02 .cp_actab .cp_actab-content::before {
    font-family: serif;
    font-size: 1.3em;
    position: absolute;
    margin: 0.4em 0 0 -1em;
    padding: 0;
    content: "A";
  }
}
