/**
 * カスタムスタイル（style.css の後から読み込み）
 * メインサイト共通の上書き・追加用
 */

/* .hero-visual: duplicate of .visual (same rules as theme .visual) */

.hero-visual {
  letter-spacing: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #e3efff;
  background-image: linear-gradient(
    to right,
    rgba(44, 139, 249, 0.2) 0,
    rgba(19, 204, 221, 0.2) 100%
  );
  overflow: hidden;
  color: #000;
}

@media (max-width: 768px) {
  .hero-visual {
    font-size: 3.86vw;
  }
}
.hero-visual__inner {
  width: 90vw;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
  position: relative;
}

.hero-visual__inner::before,
.hero-visual__inner::after {
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 16rem;
  height: 24rem;
  border-radius: 1.5rem;
  display: block;
  position: absolute;
  filter: drop-shadow(0 0 10px rgba(211, 211, 211, 0.8));
}

.hero-visual__inner::before {
  background-image: url("https://ramipass.com/admin/wp-content/themes/ramipass/lp3/images/visual01.webp");
  top: 2rem;
  left: 65%;
  z-index: 2;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-visual__inner::before {
    background-image: url("https://ramipass.com/admin/wp-content/themes/ramipass/lp3/images/visual01@2x.webp");
  }
}

.hero-visual__inner::after {
  background-image: url("https://ramipass.com/admin/wp-content/themes/ramipass/lp3/images/visual02.webp");
  bottom: 2rem;
  left: 90%;
  z-index: 1;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-visual__inner::after {
    background-image: url("https://ramipass.com/admin/wp-content/themes/ramipass/lp3/images/visual02@2x.webp");
  }
}

.hero-visual__catch,
.hero-visual__heading,
.hero-visual__text,
.hero-visual__image,
.hero-visual__attention,
.hero-visual__button {
  position: relative;
  z-index: 10;
}

.hero-visual__catch {
  background-color: #2c8bf9;
  background-image: linear-gradient(to right, #2c8bf9 0, #13ccdd 100%);
  padding: 0 0.6em;
  line-height: 1.7em;
  color: white;
  font-size: 1.44rem;
  font-weight: 700;
  display: inline-block;
}

.hero-visual__heading {
  padding: 1rem 0;
  line-height: 1.1;
  font-size: 2.56rem;
  font-weight: 700;
}

.hero-visual__heading .large {
  font-size: 1.45em;
}

.hero-visual__text {
  line-height: 1.7em;
  text-align: center;
}

.hero-visual__text01 {
  color: #ff6986;
  font-weight: 700;
}

.hero-visual__text01::before {
  content: "＼ ";
}

.hero-visual__text01::after {
  content: " ／";
}

.hero-visual__text01 .number {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
}

.hero-visual__text01 .large {
  font-size: 1.46em;
}

.hero-visual__text01 br {
  display: none;
}

.hero-visual__text02 {
  font-size: 0.77rem;
}

.hero-visual__image {
  width: 68%;
  padding: 1rem 0;
}
.hero-visual__image img {
  filter: drop-shadow(4px 6px 8px rgba(0, 0, 0, 0.25));
}

.hero-visual__button {
  max-width: 35rem;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.hero-visual__button a {
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  background-color: #ff6986;
  background-image: url("https://ramipass.com/admin/wp-content/themes/ramipass/lp3/images/icon_arrow.svg");
  background-position: calc(100% - 1em) 50%;
  background-repeat: no-repeat;
  background-size: 0.5em auto;
  padding: 0.5em 1em 0.5em 0;
  border-radius: 10rem;
  line-height: 1.7em;
  color: white;
  font-size: 1.22rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.33rem;
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
}

.hero-visual__button a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .hero-visual__button a:hover {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .hero-visual__button a {
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3));
  }
}

.hero-visual__button a::before {
  content: "";
  background-image: url("https://ramipass.com/admin/wp-content/themes/ramipass/lp3/images/icon_mail.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 1.5em;
  height: 1.5em;
  margin: 0 0.5em 0 0;
}

@media screen and (max-width: 768px) {
  .hero-visual__button a {
    background-size: 0.7em auto;
    padding: 0.5em 1em 0.5em 0;
    line-height: 1.4;
  }

  .hero-visual__button a::before {
    width: 2em;
    height: 2em;
    margin: 0 1em 0 0;
  }
}

.hero-visual__button a br {
  display: none;
}

.hero-visual__button-sub {
  text-align: center;
  font-size: 15px;
  margin: 7px 0 20px;
}

.hero-visual__attention {
  padding: 1rem 0;
  line-height: 1.4;
  font-size: 0.55rem;
  position: absolute;
  top: 26.5rem;
  left: 0;
  font-weight: 700;
}

.hero-visual__attention-item {
  padding: 0 0 0 2em;
  position: relative;
}

.hero-visual__attention-item .mark {
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 768px) {
  .hero-visual {
    background-image: linear-gradient(
      to right bottom,
      rgba(44, 139, 249, 0.2) 0,
      rgba(19, 204, 221, 0.2) 100%
    );
  }

  .hero-visual__inner {
    padding: 5vw 0;
    text-align: center;
  }

  .hero-visual__inner::before,
  .hero-visual__inner::after {
    width: 42.03vw;
    height: 63.29vw;
    border-radius: 3vw;
    filter: drop-shadow(0 0 5px rgba(211, 211, 211, 0.8));
  }

  .hero-visual__inner::before {
    top: 69vw;
    left: 5vw;
  }

  .hero-visual__inner::after {
    top: 78vw;
    right: 5vw;
    bottom: auto;
    left: auto;
  }

  .hero-visual__catch {
    max-width: 22em;
    margin: 0 auto 0 0;
    padding: 0;
    font-size: 1.06rem;
    text-align: center;
    display: block;
  }

  .hero-visual__heading {
    padding: 3vw 0;
    line-height: 1.1;
    font-size: 1.7rem;
    text-align: left;
  }

  .hero-visual__heading .large {
    font-size: 1.3em;
  }

  .hero-visual__text01 {
    margin: 0 auto;
    display: inline-block;
    position: relative;
  }

  .hero-visual__text01::before,
  .hero-visual__text01::after {
    position: absolute;
    bottom: 0;
  }

  .hero-visual__text01::before {
    left: -1.5em;
  }

  .hero-visual__text01::after {
    right: -1.5em;
  }

  .hero-visual__text01 .large {
    font-size: 1.46em;
  }

  .hero-visual__text01 br {
    display: block;
  }

  .hero-visual__text02 {
    font-size: 0.6rem;
  }

  .hero-visual__image {
    width: 100%;
    padding: 0 0 80vw;
  }
  .hero-visual__image img {
    filter: drop-shadow(2px 3px 4px rgba(0, 0, 0, 0.25));
}

  .hero-visual__button {
    max-width: none;
    padding: 2vw 0 3vw;
  }

  .hero-visual__button a {
    font-size: 1.13rem;
  }

  .hero-visual__button a br {
    display: block;
  }

  .hero-visual__attention {
    padding: 5vw 0 0;
    font-size: 0.44rem;
    text-align: left;
    position: static;
  }

  .hero-visual__attention-item br {
    display: none;
  }
}

.lp-template-visual .hero-visual__heading .large {
  font-size: 1.25em;
}

@media screen and (max-width: 768px) {
  .lp-template-visual .hero-visual__heading .large {
    font-size: 1.15em;
  }
}

.lp-template-visual .hero-visual__heading {
  line-height: 1.2;
}

.lp-template-visual .hero-visual__attention {
  top: 28.5rem;
}
