@charset "UTF-8";

/* ----------------------------------------
   共通スタイル
---------------------------------------- */

.faq .page_ttl:first-letter {
  color: #07a5b7;
}

/* common.cssの見出し内span（60%）を打ち消し、文字サイズを揃える。 */
.faq .page_ttl .faq_ttl_rest {
  color: #032730;
  font-size: inherit;
}

.faq .list_content,
.faq .category_content,
.faq .list_post {
  padding-top: 9px;
}

.faq .faq_question_list {
  margin-top: 30px;
}

.faq .faq_question_item {
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.faq .faq_question_item + .faq_question_item {
  margin-top: 10px;
}

.faq .faq_question_item a {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

@media (any-hover: hover) {
  .faq .faq_question_item a:hover {
    opacity: 0.7;
  }
}

.faq .faq_question_mark {
  color: #07a5b7;
}

@media screen and (max-width: 767.98px) {
  .faq .list_content,
  .faq .category_content,
  .faq .list_post {
    padding-top: 0;
  }

  .faq .faq_question_list {
    margin-top: 20px;
  }

  .faq .faq_question_item {
    font-size: 1.2rem;
  }

  .faq .faq_question_item + .faq_question_item {
    margin-top: 12px;
  }
}

/* ----------------------------------------
   Q&Aトップページ
---------------------------------------- */

.faq .list_content {
  padding-bottom: 4px;
}

.faq .faq_category_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.faq .faq_category {
  border: 1px solid #07a5b7;
  padding: 39px 39px 38px;
}

.faq .faq_category_link {
  margin-top: 30px;
  font-size: 1.8rem;
  line-height: 1.5;
  text-align: right;
}

.faq .faq_category_link a {
  color: #07a5b7;
  text-decoration: none;
  transition: 0.3s;
}

@media (any-hover: hover) {
  .faq .faq_question_item a:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 767.98px) {
  .faq .list_content {
    padding-bottom: 0;
  }

  .faq .faq_category_list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .faq .faq_category {
    padding: 20px;
  }

  .faq .faq_category .section_ttl {
    line-height: 1.5;
  }

  .faq .faq_category_link {
    margin-top: 20px;
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 768px) {
  .faq .faq_category_link {
    padding-right: 4px;
  }
}

/* ----------------------------------------
   カテゴリーページ
---------------------------------------- */

.faq .category_content .faq_question_list.style-2 {
  margin-top: 10px;
}

.faq .category_content .faq_question_list.style-2 .faq_question_item {
  font-size: 2rem;
  border-bottom: 1px solid #f4f5f7;
}

.faq .category_content .faq_question_list.style-2 .faq_question_item + .faq_question_item {
  margin-top: 0;
}

.faq .category_content .faq_question_list.style-2 a {
  padding: 29.5px 50px;
}

@media screen and (max-width: 767.98px) {
  .faq .category_content .list_ttl {
    line-height: 1.5;
  }

  .faq .category_content .faq_question_list.style-2 .faq_question_item {
    font-size: 1.4rem;
  }

  .faq .category_content .faq_question_list.style-2 a {
    padding: 20px 10px;
  }
}

/* ----------------------------------------
   詳細ページ
---------------------------------------- */

.faq .list_post .post_ttl {
  padding-bottom: 20px;
  border-bottom: 1px solid #f4f5f7;
  overflow-wrap: anywhere;
}

.faq .list_post .post_content {
  max-width: 1050px;
  margin-top: 29px;
  overflow-wrap: anywhere;
}

.faq .list_post .post_content p + p {
  margin-top: 24px;
}

.faq .faq_back {
  margin-top: 72px;
  text-align: center;
}

.faq .faq_back a {
  display: inline-grid;
  place-content: center;
  width: 190px;
  min-height: 47px;
  border: 1px solid #07a5b7;
  color: #07a5b7;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: 0.3s background-color, 0.3s color;
}

@media (any-hover: hover) {
  .faq .faq_back a:hover {
    background-color: #07a5b7;
    color: #fff;
  }
}

@media screen and (max-width: 767.98px) {
  .faq .list_post .post_ttl {
    padding-bottom: 15px;
    font-size: 1.6rem;
    line-height: 1.5;
  }

  .faq .list_post .post_content {
    margin-top: 20px;
  }

  .faq .list_post .post_content p + p {
    margin-top: 18px;
  }

  .faq .faq_back {
    margin-top: 30px;
  }

  .faq .faq_back a {
    width: 160px;
    min-height: 40px;
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 768px) {
  .faq .faq_back a {
    padding-bottom: 2px;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
  }
}
