@charset "UTF-8";

/* FAQ accordion */
.qa1 {
  margin-top: 72px;
  margin-bottom: 72px !important;
}

.qa1 .tit02 {
  margin-bottom: 32px;
}

.qa_accordion {
  display: grid;
  gap: 14px;
}

.faq_item {
  overflow: hidden;
  background-color: #fff;
  border: 1px solid rgba(41, 145, 209, 0.16);
  box-shadow: 0 6px 20px rgba(27, 90, 125, 0.05);
}

.faq_question {
  position: relative;
  display: block;
  padding: 21px 68px 21px 74px;
  color: #333;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  list-style: none;
}

.faq_question::-webkit-details-marker {
  display: none;
}

.faq_question::before {
  content: "Q";
  position: absolute;
  top: 18px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background-color: #2991d1;
  font-family: ten-mincho, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1;
}

.faq_question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(41, 145, 209, 0.4);
  background:
    linear-gradient(#2991d1, #2991d1) center / 14px 2px no-repeat,
    linear-gradient(#2991d1, #2991d1) center / 2px 14px no-repeat;
  transform: translateY(-50%);
  transition: background-size 0.2s ease, background-color 0.2s ease;
}

.faq_question:hover,
.faq_question:focus-visible {
  color: #087fc1;
  background-color: #f8fcfe;
}

.faq_question:focus-visible {
  outline: 3px solid rgba(41, 145, 209, 0.28);
  outline-offset: -3px;
}

.faq_item[open] .faq_question {
  color: #087fc1;
  background-color: #f8fcfe;
}

.faq_item[open] .faq_question::after {
  background:
    linear-gradient(#fff, #fff) center / 14px 2px no-repeat,
    linear-gradient(transparent, transparent) center / 0 0 no-repeat;
  background-color: #2991d1;
}

.faq_answer {
  position: relative;
  padding: 23px 30px 25px 74px;
  background-color: #fff;
  border-top: 1px solid #e6eef2;
}

.faq_answer::before {
  content: "A";
  position: absolute;
  top: 20px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background-color: #d7b293;
  font-family: ten-mincho, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1;
}

.faq_answer p {
  margin: 0;
  line-height: 2;
}

/* Keep added content sections from touching the preceding block. */
.box1.mb00 + .supervisor_box {
  margin-top: 72px;
}

.qa1.mb00 + .supervisor_box {
  margin-top: 0;
}

@media screen and (max-width: 640px) {
  .qa1 {
    margin-top: 52px;
    margin-bottom: 52px !important;
  }

  .qa1 .tit02 {
    margin-bottom: 22px;
  }

  .qa_accordion {
    gap: 10px;
  }

  .faq_question {
    padding: 17px 52px 17px 52px;
    font-size: 15px;
    line-height: 1.7;
  }

  .faq_question::before {
    top: 15px;
    left: 14px;
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .faq_question::after {
    right: 13px;
    width: 28px;
    height: 28px;
  }

  .faq_answer {
    padding: 18px 16px 20px 52px;
  }

  .faq_answer::before {
    top: 16px;
    left: 14px;
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .box1.mb00 + .supervisor_box {
    margin-top: 52px;
  }

  .qa1.mb00 + .supervisor_box {
    margin-top: 0;
  }
}
