/* ===================================================================
  faq.css
  よくある質問ページ専用

  メインビジュアルは common.css の共通スタイル
  （.lower-mv）を使用しています。

  画像配置先：images/faq/faq_mv.jpg
  推奨サイズ：横 1920px × 縦 960px 以上
  推奨アスペクト比：2:1
  元デザイン画像：横 1400px × 縦 700px（2:1）
=================================================================== */

/* メインビジュアル：よくある質問ページ用の表示位置 */
.faq-mv__image {
  object-position: center center;
}

@media (max-width: 768px) {
  .faq-mv__image {
    object-position: center center;
  }
}

/* ===================================================================
  よくある質問 コンテンツ
=================================================================== */
.faq-content {
  padding: 80px 0 0;
}

.faq-content__intro {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 34px;
  font-size: 16px;
  line-height: 1.9;
}

.faq-content__group {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 52px;
}

.faq-content__group:last-of-type {
  margin-bottom: 44px;
}

.faq-content__category {
  padding: 0 4px 12px;
  border-bottom: 1px solid #CCCCCC;
  color: #0159A0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.faq-content__list {
  display: grid;
  grid-template-columns: 1.6em minmax(0, 1fr);
  margin: 0;
}

.faq-content__term,
.faq-content__description {
  margin: 0;
  padding-top: 17px;
  font-size: 16px;
  line-height: 1.9;
}

.faq-content__term {
  padding-left: 4px;
  font-weight: 400;
}

.faq-content__term--question {
  color: #0159A0;
  font-weight: 500;
}

.faq-content__term--answer {
  padding-bottom: 18px;
  border-bottom: 1px solid #CCCCCC;
}

.faq-content__description {
  min-width: 0;
  padding-right: 4px;
  overflow-wrap: anywhere;
}

.faq-content__description--question {
  color: #0159A0;
  font-weight: 500;
}

.faq-content__description:not(.faq-content__description--question) {
  grid-column: 2;
  padding-top: 17px;
  padding-bottom: 18px;
  border-bottom: 1px solid #CCCCCC;
}

.faq-content__contact {
  text-align: center;
}

.faq-content__contact-text {
  margin-bottom: 10px;
}

.faq-content__contact-btn {
  min-width: 280px;
  min-height: 56px;
  border: 1px solid var(--color-text);
}

@media (max-width: 768px) {
  .faq-content {
    padding: 60px 0 0;
  }

  .faq-content__intro {
    margin-bottom: 28px;
    line-height: 1.85;
  }

  .faq-content__group {
    margin-bottom: 42px;
  }

  .faq-content__group:last-of-type {
    margin-bottom: 36px;
  }

  .faq-content__category {
    padding: 0 0 10px;
    font-size: 18px;
  }

  .faq-content__list {
    grid-template-columns: 1.6em minmax(0, 1fr);
  }

  .faq-content__term,
  .faq-content__description {
    padding-top: 15px;
    line-height: 1.6;
  }

  .faq-content__term {
    padding-left: 0;
  }

  .faq-content__term--answer {
    padding-bottom: 16px;
  }

  .faq-content__description {
    padding-right: 0;
  }

  .faq-content__description:not(.faq-content__description--question) {
    padding-top: 15px;
    padding-bottom: 16px;
  }

  .faq-content__contact-text {
    margin-bottom: 18px;
    line-height: 1.8;
  }

  .faq-content__contact-btn {
    width: 100%;
    max-width: 280px;
    min-width: 0;
  }
}

