@charset "utf-8";

/* ============================== */
/* TOP専用CSS */
/* ============================== */

/* ------------------------------ */
/* FV CTAボタン */
/* ------------------------------ */

.p-front-page-fv__achievement-cta{
  display: flex;
  align-items: center;
  isolation: isolate;
}
.p-front-page-fv__achievement-cta-btn{
  position: relative;
  display: flex;
  margin: 70px auto 0;
  background: linear-gradient(50deg, #F00 3.53%, #FFF41F 105%);
  border-radius: 999px;
  border: 3px solid var(--color_white);
  color: var(--color_white);
  font-size: clamp(15px, 4vw, 28px);
  font-weight: 700;
  width: 90%;
  max-width: 580px;
  align-items: center;
  padding: 4px 0 4px 4px;
  gap: 20px;
  text-shadow: 0 2px 8px rgba(143, 54, 0, 0.50);
  box-sizing: border-box;
}
.p-front-page-fv__achievement-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 999px;
  opacity: 1;
  background-color: var(--color_gradient-orange-hsl-9);
  -webkit-animation: 2s p-front-page-fv__achievement-cta-btn linear infinite;
  animation: 2s p-front-page-fv__achievement-cta-btn linear infinite;
  z-index: -1;
  box-sizing: border-box;
}
@keyframes p-front-page-fv__achievement-cta-btn {0% {
    /* 開始時はボタンにぴったり重ねる */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.8;
  }
  100% {
    /* 上下左右一律に 10px 外側へ広げる */
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    /* 消える直前に透明にする */
    opacity: 0;
  }
}

@media (max-width: 1199px) {
  .p-front-page-fv__achievement-cta-btn{
    margin: 40px auto 0;
  }
}
@media (max-width: 599px) {
  .p-front-page-fv__achievement-cta-btn{
    gap: 10px;
  }
}

.p-front-page-fv__achievement-cta-btn-sub{
  color: var(--color_black);
  text-align: center;
  width: 20%;
  aspect-ratio: 1 / 1;
  font-size: clamp(11px, 3vw, 20px);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color_white);
  border-radius: 999px;
  line-height: 1.2;
  text-shadow: none;
}
.p-front-page-fv__achievement-cta-btn-icon {
  position: relative;
  width: 17%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background-color: var(--color_white);
  border-radius: 999px;
  color: var(--color_primary);
}
.p-front-page-fv__achievement-cta-btn-icon::before {
  content: "";
  display: block;
  width: 70%;
  aspect-ratio: 1 / 1;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(50deg, #F00 3.53%, #FFF41F 98.37%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url("../img/common/icon/sidebar/mail_icon.svg");
  mask-image: url("../img/common/icon/sidebar/mail_icon.svg");
}

/* レイアウト調整 */
.p-front-page-fv{
  height: auto;
  min-height: 100%;
}
.p-front-page-fv__bg {
  position: absolute;
  width: 100%;
  height: 100%;
}
.p-front-page-fv__bg-img-content {
  height: 100%;
  width: 100%;
  max-height: 100%;
  min-height: 100%;
}
img.p-front-page-fv__bg-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 100%;
  object-position: 10% 0%;
}
.p-front-page-fv__inner{
  height: auto;
  min-height: 100%;
  padding-top: 150px;
  padding-bottom: 70px;
}
.p-front-page-fv__heading {
  top: 0;
}
.p-front-page-fv__heading::before {
  width: clamp(120px, 30vw, 300px);
  height: clamp(60px, 15vw, 150px);
}
.p-front-page-about__outer {
  padding-top: clamp(100px, 20vw, 140px);
}
@media (max-width: 1199px) {
  .p-front-page-fv__inner{
    padding-top: 60px;
  }
  .p-front-page-fv__heading {
    top: 7vw;
  }
  .p-front-page-fv__heading::before {
    top: -16vw;
  }
  .p-front-page-fv__achievement {
    margin-top: 10vw;
  }
  .p-front-page-fv__achievement-logo {
    right: 12%;
    top: -180px;
    max-width: 150px;
  }
}
@media (max-width: 599px) {
  .p-front-page-fv__inner{
    padding-top: 0;
    margin-top: 50px;
  }
  img.p-front-page-fv__bg-img {
    object-position: 10% 20%;
  }
  .p-front-page-fv__heading {
    margin-top: 0;
    position: static;
    padding-top: 70px;
    margin-bottom: 30px;
  }
  .p-front-page-fv__heading::before {
    top: 0;
    left: 10px;
  }
  .p-front-page-fv__achievement {
    margin-top: 0;
    bottom: 0;
  }
  .p-front-page-fv__achievement-logo {
    right: 0;
    top: -120px;
    max-width: 100px;
  }
  .p-front-page-fv__achievement-link {
    position: relative;
  }
}