/* ========================================
   デザイン
======================================== */
/* セクションタイトル */
.font-title {
  text-align: center;
  font-size: x-large;
  color: #666666;
  font-weight: bolder;
}

/* フッターテキスト */
.font-footer {
  color: #ffffff;
  text-align: center;
  padding: 5px 0;
  font-size: small;
}

.cont-save {
  justify-content: center;
}

/* ヘッダー */
.g-header {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 10px;
}

/* ロゴサイズ固定 */
.logo {
  width: 161px;
  height: 64px;
}

/* 汎用マージン */
.mb {
  margin-bottom: 20px;
}

.btn-orange {
  --bs-btn-color: #fff;
  --bs-btn-bg: #feb272;
  --bs-btn-border-color: #feb272;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #fd9a45;
  --bs-btn-hover-border-color: #fd9a45;
  --bs-btn-focus-shadow-rgb: 254, 178, 114;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #fc8a2a;
  --bs-btn-active-border-color: #fc8a2a;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #feb272;
  --bs-btn-disabled-border-color: #feb272;
}

.faq-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

/* アイコン画像 */
.faq-icon {
  max-width: 70%;
  height: auto;
  object-fit: contain;
}

/* アイコンコンテナ */
.faq-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  margin-right: 15px;
}

/* 下線区切りリンクリスト */
.underline-link {
  padding: 15px 0;
  margin-bottom: 0;
  border-bottom: solid 1px lightgrey;
}

.underline-link:last-of-type {
  margin-bottom: 30px;
}

/* ========================================
   画像
======================================== */

/* PC用画像（SP時は非表示） */
.display-pc {
  display: none;
}

/* SP用画像 */
.display-sp {
  display: block;
}

/* 画像マージン・パディング */
.img-mb {
  margin: 10px 10px 0px;
  padding: 10px 10px 0px;
}

/* 画像ホバー */
.img_wrap:hover img {
  cursor: pointer;
  filter: brightness(110%);
  opacity: 0.6;
}

/* ========================================
   背景
======================================== */

/* メインセクション背景（SP用画像） */
.bg-main {
  background-size: 100% 100%;
  background-image: url("../img/contact/background01_sp.jpg");
  padding-top: 20px;
  padding-bottom: 70px;
}

/* 完了画面背景 */
.bg-comp {
  background-size: cover;
  background-color: #ffffff;
  padding-top: 10px;
  padding-bottom: 40px;
}

/* その他セクション背景（SP用画像） */
.bg-other {
  background-size: cover;
  background-image: url("../img/relatedSites/background02_sp.jpg");
  padding-top: 35px;
}



/* ========================================
   タブレット以上 (768px〜)
======================================== */
@media (min-width: 768px) {
  svg {
    width: 64px;
    height: 64px;
  }

  .faq-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .faq-icon {
    max-width: 70%;
    height: auto;
    object-fit: contain;
  }

  .faq-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    margin-right: 15px;
  }

  .underline-link {
    padding: 15px 0;
    margin-bottom: 0;
    border-bottom: solid 1px lightgrey;
  }

  .underline-link:last-of-type {
    margin-bottom: 30px;
  }

  /* PC用画像を表示、SP用を非表示に切り替え */
  .display-pc {
    display: block;
  }

  .display-sp {
    display: none;
  }

  /* メインセクション背景をPC用画像に切り替え */
  .bg-main {
    background-size: 100% 100%;
    background-image: url("../img/contact/background01.jpg");
    padding-bottom: 130px;
  }

  /* その他セクション背景をPC用画像に切り替え */
  .bg-other {
    background-size: 100% 100%;
    background-image: url("../img/relatedSites/background02.jpg");
    padding-top: 150px;
  }

  .font-title {
    text-align: center;
    font-size: xx-large;
    color: #666666;
    font-weight: bolder;
    margin: 10px;
  }

  .font-footer {
    color: #ffffff;
    text-align: center;
    padding: 5px 0;
    font-size: medium;
  }

  .p-ribbon {
    margin-left: 0px;
    margin-right: 0px;
  }

  .p-ribbon img {
    width: 96%;
    height: auto;
  }
}
