@charset "utf-8";

/* ===レスポンシブ切替用 */
@media screen and (min-width: 768px) {
  .spOnly {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .pcOnly {
    display: none !important;
  }
}


/*────────────────────────────────────────────────────────────────────────
**  固定フッター追加（2025.06）
────────────────────────────────────────────────────────────────────────*/

.fixfooter-sec.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.fixfooter-sec {
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
  opacity: 1;
  visibility: visible;

  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 2;
  padding: 0 15px;
}
/* タイトル */
.fixfooter-sec .footer-title {
  font-size: min(24px, 2vw);
  font-weight: 900;
  line-height: 1;
  margin-right: 1em;
  text-align: center;
}

/* ボタン装飾 */
.fixfooter-sec a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: min(310px, 30vw);
  color: white;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  transform: translateY(0);
  position: relative;
  top: 0;
  font-size: clamp(12px, calc(6.6px + 1.3vw), 20px);
  padding: 0 1em 0 1.5em;
}
.fixfooter-sec a.btn.mailform {
  background: #F3752A;
  box-shadow: 0px 6px #9C4D1E;
}
.fixfooter-sec a.btn.mailform:hover {
  top: 4px;
  box-shadow: 0px 0 #9C4D1E;
}
.fixfooter-sec a.btn.tel {
  background: #00509D;
  box-shadow: 0px 6px #003A75;
}
.fixfooter-sec a.btn.tel:hover {
  top: 4px;
  box-shadow: 0px 0 #003A75;
}

@media screen and (min-width: 768px) {
  .fixfooter-sec a.btn.tel {
    font-size: min(24px, 2vw);
  }
}
@media screen and (max-width: 767px) {
  .fixfooter-sec {
    height: 60px;
    padding-bottom: 5px;
  }
  .fixfooter-sec a.btn {
    height: 45px;
    width: auto;
    max-width: 180px;
    flex: 1;
  }
}


/* アイコン部分 */
.fixfooter-sec .icon-mailform,
.fixfooter-sec .icon-tel {
  display: inline-block;
  width: 30px;
  height: 30px;
  position: absolute;
  left: 1rem;
}
.fixfooter-sec .icon-mailform {
  background: url(../img/icon-mailform.svg) center center no-repeat;
  background-size: cover;
}
.fixfooter-sec .icon-tel {
  background: url(../img/icon-tel.svg) center center no-repeat;
  background-size: cover;
}

.fixfooter-sec a.btn::after {
  content: "";
  display: inline-block;
  font-size: 20px;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 1rem;
  background: url(../img/icon-arrow.svg) center center no-repeat;
  background-size: cover;
}
@media screen and (min-width: 768px) {
  .fixfooter-sec a.btn.tel::after {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .fixfooter-sec .icon-mailform,
  .fixfooter-sec .icon-tel,
  .fixfooter-sec a.btn::after {
    width: 20px;
    height: 20px;
  }
}

/* grecaptcha かぶるので移動 */
.grecaptcha-badge {
  bottom: 100px !important;
}
@media screen and (max-width: 767px) {
  .grecaptcha-badge {
    bottom: 70px !important;
  }
}
