@charset "utf-8";

/** ***************************************************************************
 * お問い合わせ
 * ************************************************************************* */

#contact {
  padding: 30px 0;
  position: relative;
  z-index: 0;
}

#contact::after {
  content: '';
  max-width: none;
  width: 100vw;
  height: 100%;
  background: url("../_image/index/contact-bg.jpg") center center / cover no-repeat;
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% - 50vw);
}

@media screen and (min-width:768px) {

  #contact {
    padding: 70px 0;
  }

}

/**
 * お問い合わせ一覧
 */

#contact div.frame .item {
  padding: 20px 15px 30px;
  border: 1px solid #dcdcdc;
  background-color: #fff;
}

#contact div.frame .item ~ .item {
  margin-top: -1px;
}

@media screen and (min-width:768px) {

  #contact div.frame {
    padding-top: 1px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
  }

  #contact div.frame .item {
    width: calc(100% / 4 + 1px);
    min-width: 270px;
    margin-top: -1px;
    margin-right: -1px;
  }

}

/* タイトル */

#contact div.frame .section-title {
  padding-top: 4.5em;
  font-size: 1.286em;
  font-weight: 600;
  text-align: center;
  background-position: center top;
  background-size: 5em auto;
  background-repeat: no-repeat;
}

@media screen and (min-width:768px) {

  #contact div.frame .section-title {
    margin-bottom: 20px;
    font-size: 1.1875em;
  }

}

/* ボタン */

#contact div.frame div.button {
  margin-top: 15px;
  text-align: center;
}

@media screen and (min-width:768px) {

  #contact div.frame div.button {
    margin-top: 20px;
  }

}

/* TEL */

#contact div.frame div.tel {
  margin-top: 15px;
  color: rgba(var(--accentcolor-link-1));
  letter-spacing: 1px;
  line-height: 1;
  font-size: 1.714em;
  font-weight: 600;
  text-align: center;
}

@media screen and (min-width:768px) {

  #contact div.frame div.tel {
    margin-top: 20px;
    font-size: 1.375em;
  }

}

/* 受付時間 */

#contact div.frame div.time {
  margin-top: 15px;
  text-align: center;
}

@media screen and (min-width:768px) {

  #contact div.frame div.time {
    margin-top: 20px;
    font-size: 0.875em;
  }

}
