/*==================================================
fixed banner
===================================*/

/* ============ バナー全体 ============ */
.contact_banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
}

/* ============ ヘッド ============ */
.contact_banner__head {
  background: #ff8e1d;
  color: var(--color-white);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-align: center;
}

@media screen and (max-width: 959px) {
  .contact_banner__head {
    font-size: 1rem;
    letter-spacing: 0.05em;
  }
}

/* ============ コンテナ ============ */
.contact_banner__container {
  max-width: 1000px;
  height: 7.2rem;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  margin-inline: auto;
  padding-right: 6.2rem;
  padding-left: 6.2rem;
  background: var(--color-white);
}

@media screen and (max-width: 959px) {
  .contact_banner__container {
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }
}

/* ============ アイテムグリッド ============ */
.contact_banner__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* ============ アイテム ============ */
.contact_banner__item {
  padding-top: 2px;
}

@media screen and (max-width: 959px) {
  .contact_banner__item {
    padding-top: 0;
  }
}

.contact_banner__item:nth-child(1) {
  position: relative;
}

/* ============ ラインデコレーション ============ */
.contact_banner__item_line_decoration {
  position: absolute;
  top: -0.5rem;
  left: 3px;
  width: 5rem;
}

@media screen and (max-width: 959px) {
  .contact_banner__item_line_decoration {
    top: 0;
    left: 2.5rem;
  }
}

@media screen and (max-width: 767px) {
  .contact_banner__item_line_decoration {
    top: -3px;
    left: 5px;
    width: 3rem;
  }
}

/* ============ トップボタン ============ */
.top_btn {
  position: absolute;
  top: 2.5rem;
  right: 2.7rem;
  z-index: 20;
  width: 2.94rem;
  gap: 1.5rem;
  transition: 0.2s;
}

/* ============ エリアバナー ============ */
.area_banner {
  display: block;
  position: fixed;
  bottom: 1rem;
  right: 2.5rem;
  z-index: 998;
  width: 17rem;
}

.area_banner:hover {
  opacity: 0.9;
}

@media screen and (max-width: 959px) {
  .area_banner {
    display: none;
  }
}

/*==================================================
fixed banner END
===================================*/
