@charset "utf-8";

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: rgb(18, 36, 93);
  line-height: 1;
  background-color: #fff;
}

img {
  max-width: 100%;
}


header {
  background-color: rgb(230, 238, 251);
  height: 20%;
}

.header-inner {
  height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-logo {
  display: block;
  width: 30%;
  margin-left: 5%;
}

.site-menu ul {
  display: flex;

}

.site-menu ul li {
  margin: 0 20px;
}

.header-site-menu {
  margin-right: 5%;
}

.site-menu ul li a {
  font-weight: bold;
  font-size: 15px;
  padding-right: 30px;
}

.site-menu img {
  width: 50%;
}

ul.page-navi {
  padding: 0;
  text-align: center;
}

ul.page-navi li {
  display: inline-block;
}

ul.page-navi li a {
  display: block;
  color: rgb(18, 36, 93);
  padding: 1em;
  text-decoration: none;
}

ul.page-navi a::first-line {
  font-size: 16px;
  font-weight: bold;
}

.page-navi img {
  padding-bottom: 8px;
}

.form strong {
  color: rgb(234, 60, 97);
}

ul.page-navi li:hover {
  opacity: 0.5;
}

/* ここからメイン */
.guide-img {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 40px;
}

.guide-img img {
  width: 250px;
}

.cp_qa03 p {
  text-align: center;
  padding-bottom: 30px;
  font-size: 20px;
  font-weight: bold;
}

.cp_qa03 {
  margin-top: 80px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.cp_qa03 .cp_actab {
  position: relative;
  width: 100%;
  margin: 0 0 1em 0;
  color: #1b2538;
}

.cp_qa03 .cp_actab input {
  display: none;
}

/* 質問 */
.cp_qa03 .cp_actab label {
  font-weight: bold;
  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-radius: 0.5em;
  background: rgba(27, 37, 56, 0.1);
}

.cp_qa03 .cp_actab label::before {
  content: 'Q';
  font-family: serif;
  font-size: 1.5em;
  margin-left: -2em;
  padding-right: 0.5em;
}

.cp_qa03 .cp_actab label:hover {
  color: #00838f;
  transition: all 0.3s;
}

/* --質問の＋アイコン */
.cp_qa03 .cp_actab label::after {
  position: absolute;
  top: 0;
  right: 0;
  content: '+';
  font-size: 1.7em;
  font-weight: bold;
  line-height: 2em;
  display: inline-block;
  width: 2em;
  height: 2em;
  transition: transform 0.3s;
}

/* 答え */
.cp_qa03 .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 0 0 2.5em;
  border-radius: 0 0 0.5em 0.5em;
  transition: max-height 0.2s;
}

.cp_qa03 .cp_actab .cp_actab-content::before {
  position: absolute;
  content: 'A';
  font-family: serif;
  font-size: 1.5em;
  margin: 0.4em 0 0 -1em;
  padding: 0;
}

.cp_qa03 .cp_actab .cp_actab-content p {
  margin: 1em 1em 1em 0;
}

/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa03 .cp_actab input:checked~.cp_actab-content {
  max-height: 40em;
  border: 10px solid rgba(27, 37, 56, 0.1);
}

/* 質問をクリックした時のアイコンの動き */
.cp_qa03 .cp_actab input:checked~label {
  color: #00838f;
  border-radius: 0.5em 0.5em 0 0;
}

/* 質問をクリックした時の+の動き */
.cp_qa03 .cp_actab input[type=checkbox]:checked+label::after {
  transform: rotateZ(45deg);
  transform-origin: 50% 50%;
}

.form-btn-area2 {
  text-align: center;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.form-btn {
  margin-top: 60px;
  background-color: rgb(236, 90, 121);
  display: inline-block;
  min-width: 220px;
  line-height: 50px;
  border-radius: 14px;
  color: #fff;
  font-size: 20px;
}

.form-btn:hover {
  background-color: rgb(241, 168, 184);
}

.contact {
  text-align: center;
  margin-top: 50px;
}

.contact a {
  color: rgb(95, 161, 255);
  border-bottom: 1px solid;
}


/* フッター */
.footer {
  background-color: rgb(230, 238, 251);
  margin-top: 200px;
  color: rgb(28, 37, 77);
}

.footer-logo {
  padding-top: 30px;
  padding-left: 100px;
}

.add-area {
  padding-left: 100px;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  padding-right: 100px;
  margin-top: 40px;
}

.footer-site-menu ul {
  display: flex;
  text-align: center;
}

.footer-site-menu ul li {
  display: inline;
  padding: 0 40px 30px;
  font-weight: bold;

}

.footer-site-menu ul li:hover {
  opacity: 0.5;
}

.adress-small {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 14px;
}


@media (max-width: 850px) {

  header,
  .header-inner {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: rgb(230, 238, 251);
    z-index: 9999;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);

  }

  .header-inner {
    padding: 5px 50px 0 20px;
    position: fixed;
  }

  .header-inner .header-logo {
    width: 30%;
  }

  .site-menu ul li img {
    display: none;
  }

  /* ハンバーガーメニュのスタイル設定 */
  .ham,
  .ham::before,
  .ham::after {
    display: block;
    width: 35px;
    height: 2px;
    background-color: #000;
    margin: 0 auto;
    position: relative;
    transition: all 0.5s 0.1s linear;
  }

  .header-inner {
    padding: 0;
  }

  .ham {
    transition: all 0.2s 0s linear;
  }

  .ham::before,
  .ham::after {
    content: "";
    position: absolute;
  }

  .ham::before {
    top: -10px
  }

  .ham::after {
    top: 10px;
  }

  .ham.is-show {
    background-color: transparent;
  }

  .ham.is-show::before {
    top: 0;
    transform: rotate(45deg);
  }

  .ham.is-show::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    width: 100%;
    height: 40%;
    background-color: rgba(230, 238, 251, 0.9);
    transition: 0.5S;
    z-index: -50;
  }

  .site-menu.is-show {
    top: 60px;
  }

  .site-menu ul {
    display: block;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }

  .site-menu ul li {
    text-align: center;
    padding-bottom: 3px;
    border-bottom: 1px solid rgb(28, 37, 77);
    font-weight: bold;
  }

  .site-menu ul li a {
    width: 150px;
  }

  .footer-logo {
    width: 45%;
  }

  .guide-img img {
    width: 150px;
    margin-bottom: 0;
  }

  .cp_qa03 .cp_actab label::before {
    padding-right: 0.8em;
  }

  .cp_qa03 {
    margin-top: 40px;
  }

  .form-btn-area2,
  .form-btn {
    margin-top: 20px;
  }

  .cp_qa03 p {
    font-size: 16px;
    text-align: start;
    padding-bottom: 0;
  }

  .cp_qa03 h3 {
    font-size: 16px;
    text-align: center;
    padding-bottom: 20px;
  }

  /* フッター */
  .footer {
    margin-top: 100px;
  }

  .add-area {
    padding-left: 0;
  }

  .add-area p,
  .footer-logo {
    padding-left: 20px;
  }

  .footer-logo {
    padding-top: 10px;
    width: 35%;
  }

  .add-area p {
    font-size: 10px;
  }

  .adress-small {
    font-size: 10px;
  }

  .footer-site-menu ul {
    flex-wrap: nowrap;
  }

  .footer-site-menu ul li {
    font-size: 10px;
    padding: 0 5px 10px;
  }

  .footer-right {
    padding-right: 0;
    justify-content: center;
  }

  .adress-small {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

}