/*==================================================
section contact
===================================*/

.p-bottom-contact5 {
  position: relative;
  background-image: url(../img/bottom_cta_bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-white);
  text-align: center;
}

.p-bottom-contact5::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  content: "";
}

.p-bottom-contact5::after {
  position: absolute;
  bottom: -0.5rem;
  left: 5%;
  width: 10%;
  max-width: 10rem;
  height: 20%;
  background-image: url(../img/contact_cat.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5::after {
    width: 5rem;
    height: 7rem;
  }
}

/* ---- inner ---- */
.p-bottom-contact5__inner {
  position: relative;
  width: 100%;
  max-width: 1350px;
  margin-inline: auto;
  padding: 9.5rem 2.5rem 9.9rem;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__inner {
    max-width: 60rem;
    padding: 6.4rem 2rem;
  }
}

/* ---- タイトル ---- */
.p-bottom-contact5__title {
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: 0.14em;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__title {
    font-size: 2.4rem;
  }
}

.p-bottom-contact5__enTitle {
  display: block;
  color: #b59a24;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__enTitle {
    font-size: 1.8rem;
  }
}

/* ---- 説明文 ---- */
.p-bottom-contact5__description {
  margin-top: 3rem;
  margin-inline: auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.13em;
  line-height: 1.73;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__description {
    margin-top: 1.6rem;
    font-size: 1.4rem;
  }
}

/* ---- wrap（3カラムグリッド） ---- */
.p-bottom-contact5__wrap {
  display: grid;
  position: relative;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 7.4rem;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__wrap {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
  }
}

/* ---- block ---- */
.p-bottom-contact5__block {
  position: relative;
  width: 100%;
  margin-inline: auto;
}

.p-bottom-contact5__block::after {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  background-color: var(--color-white);
  content: "";
}

.p-bottom-contact5__block:nth-of-type(3)::after {
  display: none;
}

.p-bottom-contact5__block:nth-of-type(2),
.p-bottom-contact5__block:nth-of-type(3) {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__block::after {
    display: none;
  }

  .p-bottom-contact5__block:nth-of-type(2),
  .p-bottom-contact5__block:nth-of-type(3) {
    margin-top: 3.4rem;
  }
}

/* ---- contactWrap ---- */
.p-bottom-contact5__contactWrap {
  max-width: 42rem;
  margin: 0.4rem 5rem 0;
  padding: 2.2rem 0;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__contactWrap {
    margin: 0 auto;
    padding: 0;
  }
}

.p-bottom-contact5__block:nth-of-type(1) .p-bottom-contact5__contactWrap {
  margin-left: 0;
}

/* ---- callWrap ---- */
.p-bottom-contact5__callWrap {
  max-width: 27.8rem;
  margin: 0.3rem 0 0 6rem;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__callWrap {
    margin: 0 auto;
    padding: 0;
  }
}

/* ---- メールアイコン ---- */
.p-bottom-contact5__airplane {
  width: 4.9rem;
  height: 4rem;
  margin-inline: auto;
  background-image: url(../img/icon_mail.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__airplane {
    width: 4rem;
    height: 3.3rem;
  }
}

/* ---- テキスト ---- */
.p-bottom-contact5__text {
  margin-top: 3rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.13em;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__text {
    margin-top: 1.8rem;
    font-size: 1.4rem;
  }
}

.p-bottom-contact5__callWrap .p-bottom-contact5__text {
  margin-top: 2.7rem;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__callWrap .p-bottom-contact5__text {
    margin-top: 1.6rem;
  }
}

/* ---- ボタン ---- */
.p-bottom-contact5__button {
  display: inline-block;
  width: 100%;
  max-width: 26rem;
  margin-top: 3.5rem;
  padding: 1.8rem 0;
  border: 1px solid var(--color-white);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.13em;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__button {
    margin-top: 2.4rem;
    padding: 2rem 0;
  }
}

/* ---- 電話アイコン ---- */
.p-bottom-contact5__call {
  width: 3.5rem;
  height: 4.5rem;
  margin-inline: auto;
  background-image: url(../img/icon_tel_white.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
  .p-bottom-contact5__call {
    width: 2.8rem;
    height: 3.6rem;
  }
}

/* ---- 電話番号 ---- */
.p-bottom-contact5__callButton {
  display: block;
  margin-top: 0.9rem;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 3.2rem;
  letter-spacing: 0.13em;
}

/* ---- 営業時間・注意書き ---- */
.p-bottom-contact5__time,
.p-bottom-contact5__attention {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.13em;
}

/* ---- Webアイコン ---- */
.p-bottom-contact5__web {
  width: 4.2rem;
  height: 4rem;
  margin-inline: auto;
  background-image: url(../img/icon_web.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/*==================================================
section contact END
===================================*/
