/* CSS Document */

/* == 全体 ============================================== */

.l-register_raku {
  display: block;
  font-size: 14px;
  margin-bottom: 120px;
}
.l-register_raku .contact.contact_new .inner {
  width: 84%;
  max-width: 580px;
  margin: 0 auto;
}
.l-register_raku .secondLayer__top {
  background-color: #eaf1fb;
  text-align: center;
  padding: 15px 0;
  margin-bottom: 30px;
}
.l-register_raku .secondLayer__top__heading {
  font-size: 28px;
}
.l-register_raku .secondLayer__top__heading span {
  display: inline-block;
}
.l-register_raku .inner.inner2 .common_txt a {
  font-weight: 700;
  text-decoration: underline;
  color: #0f37ff;
}
.l-register_raku .inner.inner2 .common_txt a:hover {
  text-decoration: none;
}


/* == SP ============================================== */

@media screen and (max-width: 767px) {

  .l-register_raku {
    margin: 19.6vw 0 24vw;
  }
  .l-register_raku .contact.contact_new .inner {
    padding-top: 0;
  }
  .l-register_raku .secondLayer__top {
    padding: 20px 0;
    margin-bottom: 40px;
  }
  .l-register_raku .secondLayer__top__heading {
    font-size: 24px;
    line-height: 1.2;
    width: 84%;
    margin: 0 auto;
  }
}



/* == サンクスページ ============================================== */

.l-register-thanks_raku .inner.inner2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  min-height: calc(100vh - 425px);
}
.l-register-thanks_raku .inner.inner2 h2 {
  font-size: 30px;
  color: #0f37ff;
  padding-bottom: 0;
  margin-top: 16px;
}
.l-register-thanks_raku .inner.inner2 h2 + .common_txt {
  margin: 40px auto 100px;
}
.l-register-thanks_raku .l-register-thanks_raku-enq {
  width: 680px;
  margin: 0 auto 80px;
}
.l-register-thanks_raku .l-register-thanks_raku-enq h3 {
  font-size: 24px;
  text-align: center;
  position: relative;
  margin-bottom: 24px;
}
.l-register-thanks_raku .l-register-thanks_raku-enq h3::after {
  content: "";
  display: block;
  background-color: #78afff;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  top: 50%;
  z-index: -2;
}
.l-register-thanks_raku .l-register-thanks_raku-enq h3 span {
  position: relative;
  display: inline-block;
  max-width: 400px;
  padding-left: 50px;
}
.l-register-thanks_raku .l-register-thanks_raku-enq h3 span::before {
  content: "";
  display: block;
  background: url(../images/contact/logo.png) no-repeat left top;
  background-size: 100% auto;
  width: 37px;
  height: 30px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.l-register-thanks_raku .l-register-thanks_raku-enq h3 span::after {
  content: "";
  display: block;
  background-color: #fff;
  width: calc(100% + 80px);
  height: 100%;
  position: absolute;
  left: -40px;
  top: 0;
  z-index: -1;
}
.l-register-thanks_raku .l-register-thanks_raku-enq .l_formHubspot {
  padding: 56px 80px;
  margin-top: 36px;
  border: 2px solid #78afff;
  border-radius: 16px;
}

.l-register-thanks_raku .inner.inner2 .c-form_submit {
  width: fit-content;
  min-width: 260px;
  margin-top: 40px;
  cursor: pointer;
}
.l-register-thanks_raku .inner.inner2 .c-form_submit span {
  font-weight: 700;
}


/* == SP ============================================== */

@media screen and (max-width: 767px) {
  .l-register-thanks_raku .inner.inner2 {
    width: 86%;
    padding-top: 5.7vw;
  }
  .l-register-thanks_raku .inner.inner2 h2 span,
  .l-register-thanks_raku .inner.inner2 .common_txt span {
    display: inline-block;
    white-space: nowrap;
  }
  .l-register-thanks_raku .inner.inner2 h2 {
    font-size: 5.87vw;
  }
  .l-register-thanks_raku .inner.inner2 h2 + .common_txt {
    margin: 8.53vw auto 21.3vw;
  }
  .l-register-thanks_raku .inner.inner2 .common_txt {
    text-align: left;
    margin-top: 4.27vw;
  }
  .l-register-thanks_raku .l-register-thanks_raku-enq {
    width: 100%;
    margin-bottom: 17vw;
  }
  .l-register-thanks_raku .l-register-thanks_raku-enq h3 {
    font-size: 5.33vw;
  }
  .l-register-thanks_raku .l-register-thanks_raku-enq h3 span {
    padding-left: 10.7vw;
  }
  .l-register-thanks_raku .l-register-thanks_raku-enq h3 span::before {
    width: 8vw;
    height: 6.67vw;
  }
  .l-register-thanks_raku .l-register-thanks_raku-enq .l_formHubspot {
    padding: 6.4vw 8.53vw;
  }
  .l-register-thanks_raku .inner.inner2 .c-form_submit {
    margin: 8vw auto 0;
    padding: 12px 52px;
    width: fit-content;
    height: 44px;
  }
  .l-register-thanks_raku .inner.inner2 .c-form_submit span {
    font-size: 14px;
  }
}
