@charset "utf-8";

.pc_cont {
  display: none;
}

.mihon {
  position: absolute;
  top: 6.25vw;
  opacity: 0.6;
  z-index: -1;
}

#inquiry {
  padding-top: 16.25vw;
  color: #001464;
  position: relative;
}

#inquiry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}

#inquiry .hero {
  padding: 14.7vw 0 0;
  height: 170.8vw;
}

#inquiry .hero__title {
  text-align: center;
  font-size: 7.8vw;
  width: 80vw;
  margin: 0 auto;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 7.6vw;
}

#inquiry .hero__text {
  text-align: center;
  padding: 0 8vw 0;
  font-size: 3.75vw;
  line-height: 1.66;
  letter-spacing: 0;
  margin-bottom: 8.5vw;
}

#inquiry .hero__visual {
  width: 100%;
  height: 100%;
}

#inquiry .hero__visual__container {
  position: relative;
}

#inquiry .hero_badge {
  position: absolute;
  color: #ffffff;
  font-weight: 500;
  text-align: left;
  aspect-ratio: 1;
  background: linear-gradient(90deg, #4169e1 0%, #cb00e3 100%);
  padding: 1vw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#inquiry .hero_badge::after {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
}

#inquiry .hero_badge.fir {
  width: 30.2vw;
  top: -0.5vw;
  left: 5.1vw;
  font-size: 3.35vw;
  line-height: 1.5;
}

#inquiry .hero_badge.fir::after {
  width: 15.3vw;
  background: url(https://test-mensetsu.maglaro.site/img/inquiry/inq_img1.webp)
    no-repeat center center / cover;
  transform: scaleX(-1);
  top: 24.7vw;
  left: 0.7vw;
}

#inquiry .hero_badge.sec {
  width: 24vw;
  bottom: 32.6vw;
  left: 8.1vw;
  font-size: 3vw;
  line-height: 1.4;
}

#inquiry .hero_badge.sec::after {
  width: 11.9vw;
  background: url(https://test-mensetsu.maglaro.site/img/inquiry/inq_img3.webp)
    no-repeat center center / cover;
  bottom: -5.5vw;
  right: -5.2vw;
  transform: scaleX(-1);
}

#inquiry .hero_badge.thir {
  width: 23.6vw;
  right: 4.8vw;
  top: 24.6vw;
  font-size: 3.1vw;
  line-height: 1.2;
  text-align: center;
}

#inquiry .hero_badge.thir::after {
  width: 12vw;
  background: url(https://test-mensetsu.maglaro.site/img/inquiry/inq_img2.webp)
    no-repeat 69% 0% / 225%;
  bottom: -8vw;
  left: 10.4vw;
}

#inquiry .background_image {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -2;
}

#inquiry .form {
  margin-top: 30.27vw;
  padding: 0 4vw 22vw;
  overflow-x: hidden;
}

#inquiry #form_area {
  padding: 11.7vw 5.3vw 16vw 5.45vw;
}

#inquiry .form_title {
  font-size: 6.1vw;
  text-align: center;
  margin-bottom: 2.3vw;
}

#inquiry .form_title > h2 {
  margin-bottom: 2.3vw;
}

#inquiry .form_attention {
  font-size: 3vw;
  margin-bottom: 9vw;
}

/* trialSP */
#inquiry .trial-container {
  position: relative;
}

#inquiry .trial-title {
  text-align: center;
  color: #000080;
  font-size: 4.78vw;
  margin-bottom: 19.12vw;
}

#inquiry .trial-flex {
  max-width: 87.25vw;
  margin: 0 auto;
  height: fit-content;
}

#inquiry .trial-flex-container {
  width: 100%;
  color: #fff;
}

#inquiry .trial-flex-container:nth-child(1) {
  padding: 4.78vw 0 3.187vw;
}

#inquiry .trial-flex-container .trial-flex-inner {
  background: linear-gradient(90deg, #4169e1 0%, #cb00e3 100%);
  font-size: 3.187vw;
  margin-bottom: 3.187vw;
  padding: 3.187vw 0 3.984vw 3.187vw;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
}

#inquiry .trial-flex-container .trial-flex-inner dt {
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 3.187vw;
}

#inquiry .trial-flex-container .trial-flex-inner dd {
  font-weight: 500;
  letter-spacing: 2px;
  width: fit-content;
  position: relative;
}

#inquiry .trial-flex-container .trial-flex-inner dd::before {
  content: "";
  background: linear-gradient(90deg, #ff7a00 0%, #ffbf00 100%);
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: -4px;
  left: 0;
}

#inquiry .trial-flex-container .trial-flex-inner .trial-bg-txt {
  font-size: 5.577vw;
  font-weight: 700;
}

#inquiry .trial-flex-container:nth-child(2) {
  object-fit: cover;
  max-width: 100%;
}

#inquiry .cv-btn {
  width: fit-content;
  border-radius: 7px;
  background: linear-gradient(#ff7a00 0%, #ffbf00 100%);
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

#inquiry .cv-btn a {
  display: inline-block;
  padding: 4.78vw 12.772vw 4.78vw 2.988vw;
  color: #fff;
  font-size: 4.78vw;
  width: 100%;
  position: relative;
}

#inquiry .cv-btn a::after {
  content: url("https://test-mensetsu.maglaro.site/webroot/img/cta_wrrow_sp.png");
  width: fit-content;
  position: absolute;
  top: 25%;
  right: 7%;
}

@media (min-width: 640px) {
  .pc_cont {
    display: block;
  }

  .sp_cont {
    display: none;
  }
}

@media (min-width: 641px) {
  #inquiry {
    padding-top: 8vw;
  }

  #upper .head_pc {
    display: none !important;
  }

  #inquiry .hero {
    padding: 0 0 2.8vw;
    height: 100%;
  }

  #inquiry .hero__container {
    display: flex;
    max-width: 1280px;
    width: 75vw;
    margin: 0 auto;
    height: 40vw;
    max-height: 680px;
  }

  #inquiry .hero__content {
    padding-top: 13vw;
    position: relative;
    left: 6vw;
  }

  #inquiry .hero__title {
    text-align: left;
    width: 100%;
    font-size: clamp(12px, 2.4vw, 41px);
    letter-spacing: 0.9px;
    margin-bottom: 1.75vw;
    padding: 0;
    line-height: 1.6;
  }

  #inquiry .hero__text {
    text-align: left;
    padding: 0;
    font-size: clamp(8px, 1vw, 16px);
    line-height: 1.8;
  }

  #inquiry .hero__visual {
    max-width: 733px;
    width: 45vw;
    height: 100%;
    position: relative;
    left: 11vw;
  }

  #inquiry .hero__visual > img {
    object-fit: initial;
    height: auto;
  }

  #inquiry .hero_badge {
    padding: 0.75vw;
  }

  #inquiry .hero_badge.fir {
    max-width: 164px;
    width: 11.2vw;
    top: 3.9vw;
    left: 7.2vw;
    font-size: clamp(6px, 1.1vw, 17px);
    line-height: 1.4;
  }

  #inquiry .hero_badge.sec {
    max-width: 119px;
    width: 9vw;
    bottom: initial;
    top: 18.6vw;
    left: 14.7vw;
    font-size: clamp(6px, 1vw, 16px);
  }

  #inquiry .hero_badge.thir {
    max-width: 132px;
    width: 9vw;
    font-size: clamp(6px, 1.1vw, 16px);
    line-height: 1.4;
    text-align: left;
    top: initial;
    left: 6.9vw;
    bottom: 5.3vw;
  }

  #inquiry .hero_badge.fir::after {
    width: 4.5vw;
    top: 8.2vw;
    left: 1.3vw;
    max-width: 75px;
  }

  #inquiry .hero_badge.sec::after {
    max-width: 50px;
    width: 3vw;
    background: url(https://test-mensetsu.maglaro.site/img/inquiry/inq_img2.webp)
      no-repeat 69% 0 / 220%;
    bottom: -1.5vw;
    right: 4.3vw;
    transform: scaleX(1);
  }

  #inquiry .hero_badge.thir::after {
    width: 4vw;
    max-width: 58px;
    background: url(https://test-mensetsu.maglaro.site/img/inquiry/inq_img3.webp)
      no-repeat center center / cover;
    transform: scaleX(-1);
    bottom: -1.6vw;
    left: 6.2vw;
  }

  #inquiry .form {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px 176px;
  }

  #inquiry #form_area {
    padding: 62px 42px;
  }

  #inquiry .form_title {
    font-size: clamp(12px, 2.1vw, 32px);
  }

  #inquiry .form_title > h2 {
    margin-bottom: 22px;
  }

  #inquiry .form_attention {
    font-size: 12px;
    margin-bottom: 4vw;
  }

  #inquiry #form_area .mauticform-row:not(.mauticform-required) label::before {
    font-size: 11px;
    top: 11px;
    left: 25%;
    padding: 4px 5px;
    border-radius: 4px;
  }

  #inquiry
    #mauticform_label_kyaouraimianjieowenihewase_o_weni_hewase_nei_rong::after {
    position: absolute;
    font-size: 16px;
    left: 36%;
    top: -18px;
    padding-top: 27px;
  }

  /* trialTAB */
  #inquiry .trial-container {
    position: static;
  }

  #inquiry .trial-title {
    font-size: 24px;
    padding-top: 48px;
    margin-bottom: 0;
  }

  #inquiry .trial-flex {
    max-width: 800px;
    display: flex;
  }

  #inquiry .trial-flex-container {
    width: 50%;
  }

  #inquiry .trial-flex-container:nth-child(1) {
    padding: 64px 10px 0 0;
  }

  #inquiry .trial-flex-container .trial-flex-inner {
    font-size: 16px;
    margin-bottom: 32px;
    padding: 32px 32px 36px;
  }

  #inquiry .trial-flex-container .trial-flex-inner dt {
    margin-bottom: 24px;
  }

  #inquiry .trial-flex-container .trial-flex-inner dd {
    font-weight: 400;
  }

  #inquiry .trial-flex-container .trial-flex-inner .trial-bg-txt {
    font-size: 28px;
  }

  #inquiry .trial-flex-container:nth-child(2) {
    padding: 32px 0 0 10px;
  }

  #inquiry .trial-flex-container:nth-child(2) img {
    object-fit: contain;
  }

  #inquiry .cv-btn {
    margin: 40px auto;
    border-radius: 50px;
    position: static;
    transform: translateX(0);
  }

  #inquiry .cv-btn a {
    padding: 23px 73px 24px 32px;
    font-size: 24px;
    width: 100%;
  }

  #inquiry .cv-btn a::after {
    content: url("https://test-mensetsu.maglaro.site/webroot/img/cta_down.png");
    width: fit-content;
    position: absolute;
    top: 22%;
    right: 7%;
  }
}

@media (min-width: 1028px) {
  #inquiry
    #mauticform_label_kyaouraimianjieowenihewase_o_weni_hewase_nei_rong::after {
    left: 43%;
  }

  /* trialPC */
  #inquiry .trial-title {
    font-size: 32px;
    padding-top: 32px;
  }

  #inquiry .trial-flex {
    max-width: 1080px;
  }

  #inquiry .trial-flex-container .trial-flex-inner {
    font-size: 20px;
  }

  #inquiry .trial-flex-container .trial-flex-inner .trial-bg-txt {
    font-size: 32px;
  }

  #inquiry .trial-flex-container:nth-child(2) img {
    object-fit: cover;
  }

  #inquiry .cv-btn a {
    font-size: 32px;
  }

  #inquiry .cv-btn a::after {
    top: 25%;
  }
}

@media (min-width: 1680px) {
  .mihon {
    width: 100%;
    margin: auto;
    max-width: 1680px;
    position: absolute;
    left: 0;
    right: 0;
    top: 30px;
    z-index: 0;
    opacity: 0.6;
  }

  .mihon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
  }

  #inquiry {
    padding-top: 84px;
  }

  #inquiry .hero {
    padding: 0 0 44px;
  }

  #inquiry .hero__container {
    display: flex;
    max-width: 1280px;
    width: 75vw;
    margin: 0 auto;
    height: 40vw;
    max-height: 680px;
  }

  #inquiry .hero__content {
    padding-top: 204px;
    left: 90px;
  }

  #inquiry .hero__title {
    margin-bottom: 27px;
  }

  #inquiry .hero__visual {
    left: 167px;
  }

  #inquiry .hero__visual > img {
    object-fit: contain;
  }

  #inquiry .hero_badge {
    padding: 12px;
  }

  #inquiry .hero_badge.fir {
    top: 61px;
    left: 111px;
  }

  #inquiry .hero_badge.sec {
    top: 289px;
    left: 227px;
  }

  #inquiry .hero_badge.thir {
    left: 107px;
    bottom: 83px;
  }

  #inquiry .hero_badge.fir::after {
    top: 127px;
    left: 20px;
  }

  #inquiry .hero_badge.sec::after {
    bottom: -23px;
    right: 67px;
  }

  #inquiry .hero_badge.thir::after {
    bottom: -25px;
    left: 97px;
  }

  #inquiry .form {
    padding: 0;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 176px;
  }

  #inquiry #form_area {
    padding: 89px 142px 62px 146px;
  }

  #inquiry .form_title {
    font-size: clamp(12px, 1.8vw, 32px);
  }

  #inquiry .form_title > h2 {
    margin-bottom: 22px;
  }

  #inquiry .form_attention {
    margin-bottom: 88px;
  }

  #mauticform_label_kyaouraimianjieowenihewase_o_weni_hewase_nei_rong::after {
    font-size: 16px;
    left: 288px;
    top: -24px;
  }
}

/*===============================
Thanks
===============================*/
.Thanks_body .allwrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
}

#thanks_page {
  width: 100%;
  flex-grow: 1;
}

#thanks_page .inner {
  width: 100%;
  height: 100%;
  padding: 0 7.5vw;
  margin: 0 auto;
  border-bottom: 1px solid #eee;
}

#thanks_page .cont {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 0 10vw;
}

/*ロゴ*/
#thanks_page .logo {
  width: 37.5vw;
  margin: 0 auto 5vw;
}

/*テキスト*/
#thanks_page .txt {
  font-size: 1.2rem;
  line-height: 2;
  text-align: center;
}

@media (min-width: 640px) {
  #thanks_page .inner {
    width: 100%;
    max-width: 960px;
    padding: 0 32px;
  }

  #thanks_page .cont {
    width: 100%;
    max-width: 960px;
    padding: 0 0 32px;
  }

  /*ロゴ*/
  #thanks_page .logo {
    width: 240px;
    margin: 0 auto 32px;
  }

  /*テキスト*/
  #thanks_page .txt {
    font-size: 16px;
  }
}
