@charset "UTF-8";

/* ==========================================================================
   下層ページ メインビジュアル（ヘッダー下バナー）※共通パーツ
   ========================================================================== */
.sub-mv {
  margin-top: 80px; /* ヘッダー高さ分 */
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.sub-mv-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 768px) {
  .sub-mv {
    margin-top: 60px;
    height: 180px;
  }
}

/* ==========================================================================
   下層ページ ヘッダータイトル ＆ 区切り線
   ========================================================================== */
.sub-page-header {
  margin-bottom: 6rem;
}

.sub-page-header .header-line {
  width: 80px;
  height: 3px;
  background-color: #555555;
  margin: 2rem auto 0;
}

.section-divider {
  border: none;
  border-top: 2px solid #555555;
  width: 100%;
  margin: 8rem 0 0;
}

@media screen and (max-width: 768px) {
  .sub-page-header {
    margin-bottom: 4rem;
  }
  .section-divider {
    margin: 5rem 0 0;
  }
}

/* ==========================================================================
   ★FAQ（よくある質問リスト）トップページCSSより組み込み
   ========================================================================== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #dddddd;
  padding: 3rem 0;
}

.faq-q, .faq-a {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  font-size: 1.6rem;
  line-height: 1.8;
}

/* 質問(Q)の装飾 */
.faq-q {
  font-weight: 700;
  color: #222222;
  margin-bottom: 1.8rem;
}
.faq-q span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #00B7CE; /* デザインのブルーカラー */
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}

/* 回答(A)の装飾 */
.faq-a {
  color: #555555;
  font-size: 1.5rem;
}
.faq-a span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #d96c82; /* デザインのアクセントピンクカラー */
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}

/* スマホ・タブレット向けレスポンシブ */
@media screen and (max-width: 768px) {
  .faq-item {
    padding: 2.5rem 0;
  }
  .faq-q, .faq-a {
    font-size: 1.4rem;
    gap: 1.2rem;
  }
  .faq-q span, .faq-a span {
    font-size: 1.8rem;
  }
  .faq-q {
    margin-bottom: 1.2rem;
  }
}

/* ==========================================================================
   下層ページ共通：導線アイコン一覧（フッター直上 6連ナビゲーション）
   ========================================================================== */
.sub-nav-icons {
  padding: 5rem 0 6rem;
  background-color: #ffffff;
}

.nav-icons-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  text-align: center;
}

.nav-icons-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border-radius: 6px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.nav-icons-list li a:hover {
  transform: translateY(-4px);
  background-color: #f9f9f9;
  opacity: 1;
}

.nav-icons-list .icon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-bottom: 1.2rem;
}
.nav-icons-list .icon-img img {
  max-height: 40px;
  width: auto;
}

.nav-icons-list .icon-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222222;
  line-height: 1.3;
}

@media screen and (max-width: 1024px) {
  .nav-icons-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .sub-nav-icons {
    padding: 3rem 0 5rem;
  }
  .nav-icons-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .nav-icons-list li a {
    padding: 1.2rem 0.5rem;
    border: 1px solid #eeeeee;
    background-color: #fafafa;
  }
  .nav-icons-list .icon-img {
    height: 40px;
    margin-bottom: 0.8rem;
  }
  .nav-icons-list .icon-img img {
    max-height: 32px;
  }
  .nav-icons-list .icon-text {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   CONTACT（お問い合わせエリア）
   ========================================================================== */
.contact {
  background-color: #00B7CE;
  color: #ffffff;
}

.contact-title {
  font-size: 5.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.contact-sub {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact-text {
  font-size: 1.5rem;
  margin-bottom: 4rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 260px;
  padding: 1.6rem 2rem;
  background-color: #222222;
  color: #ffffff;
  font-size: 1.5rem;
  border-radius: 4px;
}
.btn-contact:hover {
  background-color: #444444;
}

@media screen and (max-width: 768px) {
  .contact-title { font-size: 3.6rem; }
  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .btn-contact {
    width: 100%;
    max-width: 320px;
  }
}