/* =======================================================
* sub_main
* ======================================================= */
#sub_main {
  background: url(../images/bg-question.jpg) no-repeat center/cover;
}

/* =======================================================
* question
* ======================================================= */
#question {
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 30%, rgb(227 227 227 / 30%) 100%);
  overflow-x: hidden;
}

#question::before {
  position: absolute;
  content: "";
  width: 500px;
  height: 500px;
  border: 1px solid #ddd;
  border-radius: 50%;
  top: -140px;
  left: -140px;
}

#question::after {
  position: absolute;
  content: "";
  width: 500px;
  height: 500px;
  border: 1px solid #ddd;
  border-radius: 50%;
  bottom: 0px;
  right: -140px;
}

#question .accordion {
  max-width: 800px;
  margin: 0 auto;
}

#question .accordion p {
  position: relative;
  cursor: pointer;
  background: var(--color-lite);
  padding: 10px 30px;
  border-radius: 5px;
  margin-bottom: 20px;
  z-index: 1;
}

/* プラスの横線 */
#question .accordion p::before {
  content: "";
  position: absolute;
  background: var(--color-black);
  top: 23px;
  right: 22px;
  width: 15px;
  height: 1px;
  transform: translateY(-50%);
}

/* プラスの縦線 */
#question .accordion p:after {
  content: "";
  position: absolute;
  background: var(--color-black);
  top: 23px;
  right: 29px;
  width: 1px;
  height: 15px;
  transform: translateY(-50%);
  transition: .3s;
}

#question .accordion p.open:after {
  top: 25%;
  opacity: 0;
  transform: rotate(90deg);
}

#question .accordion div {
  display: none;
  padding: 0px 40px 20px;
  line-height: 1.8;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

#question .linkBtn {
  margin-top: 100px;
}


@media screen and (max-width:900px) {
  #question::before {
    width: 300px;
    height: 300px;
    top: 30px;
    right: -100px;
  }

  #question::after {
    width: 300px;
    height: 300px;
    right: -100px;
  }

  #question .accordion p {
    padding: 7px 33px 7px 15px;
    margin-bottom: 18px;
  }

  #question .accordion p::before {
    top: 21px;
    right: 15px;
    width: 13px;
  }

  #question .accordion p:after {
    top: 21px;
    right: 21px;
    height: 12px;
  }

  #question .accordion div {
    padding: 0px 20px 30px;
    margin-bottom: 0;
  }

  #question .linkBtn {
    margin-top: 70px;
  }

  #question .linkBtn a {
    background: var(--color-white);
    z-index: 1;
  }
}