﻿.question_container a {
  text-indent: 0;
  text-decoration: underline;
}

.question_container .underline {
  text-decoration: underline;
}

/* アコーディオンの見出し */
.question_container .question_heading {
  font-size: 15px;
  line-height: 1.5;
  padding: 15px 0 6px 10px;
  border-bottom: 1px dotted #ddd;
  position: relative;
  cursor: pointer;
}

.question_container .question_heading::after {
  content: ">";
  font-size: 16px;
  font-family: sans-serif;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: rotate(90deg) translateX(-50%);
}

.question_container .question_heading.open::after {
  transform: rotate(-90deg) translateX(50%);
}

/* アコーディオンの中身 */
.question_container .question_answer {
  display: none;
  padding: 10px 0 35px 25px;
  font-size: 13px;
  line-height: 1.7;
  text-indent: -1em;
}

/* アコーディオンの中身のQ. */
.question_container .answer_heading {
  margin-bottom: 10px;
  font-weight: 600;
}

/* アコーディオンの中身のA. */
.question_container .answer_lead:not(:last-of-type) {
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  /* アコーディオンの見出し */
  .question_container .question_heading {
    padding: 2.4% 4% 2%;
    border-bottom: 1px solid #b3b3b3;
    font-size: 1.1rem;
    line-height: 1.6rem;
  }

  .question_container .question_heading::after {
    content: "+";
    width: 1.8rem;
    height: 1.8rem;
    margin: auto;
    font-size: 1.8rem;
    line-height: 1.8rem;
    text-align: center;
    top: 0;
    bottom: 0;
    right: 4%;
    transform: none;
  }

  .question_container .question_heading.open::after {
    content: "-";
    transform: none;
  }

  /* アコーディオンの中身 */
  .question_container .question_answer {
    width: 92%;
    padding: 2rem 0 2rem 1.2rem;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6rem;
  }

  /* アコーディオンの中身のQ. */
  .question_container .answer_heading {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.6;
  }

  /* アコーディオンの中身のA. */
  .question_container .answer_lead:not(:last-of-type) {
    padding-bottom: 2rem;
    border-bottom: 1px dotted #b3b3b3;
    margin-bottom: 2rem;
  }
}
