@media screen and (min-width: 768px) {
  #footer .alert p {
    margin-left: 0;
  }
}

.res-list .border-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.btn-center {
  text-align: center;
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.link-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: 200px;
}

.link-btn:nth-child(2) {
  background-color: #cc0000;
  color: #fff;
  border: none;
}

.link-btn:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  .link-btn {
    font-size: 12px;
    padding: 10px;
    width: 140px;
  }
}

/* 下部追従CTA */
.footer {
  padding-bottom: 120px;
}
.cta {
  position: fixed;
  right: 25px;
  bottom: 0px;
  z-index: 999;
  padding: 12px 0;
  /* background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); */
}

.cta .container {
  max-width: none;
}


.cta_box {
  display: flex;
  justify-content: center;
  background: linear-gradient(to right, #ffeda4, #fff000);
  padding: 4px;
  border-radius: 50%;
  
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.cta_btn {
  display: inline-block;
  padding: 50px 15px 20px;
  border: solid 1px #ffd200;
  color: #000;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  font-weight: bold;
  border-radius: 50%;
  width: 170px;
  height: 170px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta_btn .cta_icon-pc {
  width: 95px;
  height: auto;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.cta_btn span {
  display: inline-block;
  color: #ff0000;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  #mv {
    height: 620px;
  }

  .footer {
    margin-bottom: 80px;
  }
  .cta {
    padding: 8px 0 0;
    width: 100%;
    right: 0;
  }

  .cta .container {
    max-width: none;
  }
  .cta_box {
    padding: 4px 4px 0 4px;
    margin: 0 20px;
    border-radius: 20px 20px 0 0;
  }
  .cta_btn {
    width: 100%;
    height: auto;
    padding: 30px 0 30px;
    font-size: 14px;
    border-radius: 20px 20px 0 0;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
  }

  .cta_btn span {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 18px;
    display: flex;
    align-items: center;
  }

  .cta_btn .cta_icon-sp {
    width: 50px;
    height: auto;
    position: absolute;
    bottom: -5px;
    left: 10px;
  }
  .cta_btn .cta_icon-left {
    margin-right: 10px;
  }
  .cta_btn .cta_icon-right {
    left: auto;
    right: 10px;
    width: 58px;
  }
  /* 一旦解除: SPでスクロール時に表示する挙動をOFF（常時表示）
  .cta {
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .cta.is-visible {
    transform: translateY(0);
  }
  */
}

