@charset "utf-8";

/* CSS Document */
/*----------------------------------------
全体設定
----------------------------------------*/
html {
  scroll-behavior: smooth;
}

/*body全体の初期スタイル設定*/
body {
  font-size: 4vw;
  max-width: 500px;
  margin: 0 auto;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-shadow: 0px 0px 15px #ccc;
  box-sizing: border-box;
}

@media only screen and (min-width: 768px) {
  body {
    font-size: 2em;
  }
}

main {
  min-height: 100vh;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/*ボタンの設定*/
button {
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.btn {
  transition: 0.3s;
}

.btn:hover {
  opacity: 0.8;
}

/*リンク文字の設定*/
a {
  text-decoration: underline;
  color: #0000ff;
  transition: 0.3s;
}

a:hover,
a:active {
  color: #000086;
}

/*----------------------------------------
キラキラアニメーション
----------------------------------------*/
.kirakira {
  display: block;
  position: relative;
  overflow: hidden;
  transition: 300ms;
  margin-bottom: 3%;
}

.kirakira::before {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #ffffff;
  transition: 300ms;
  animation: shinyshiny 2.5s ease-in-out infinite;
}

.kirakira:hover {
  text-decoration: none;
  color: #fff;
  box-shadow: none;
  transform: translateY(3px);
  -webkit-transform: translateY(3px);
}

@keyframes shinyshiny {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }

  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }

  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/*----------------------------------------
全体レイアウト
----------------------------------------*/
/*全体エリア*/
.main,
.footer {
  width: 100%;
  overflow: hidden;
}

/*----------------------------------------
各種コンテンツ設定
----------------------------------------*/
/*----------------------------------------
セクション（FV）
----------------------------------------*/
.sec_fv {
  background-color: #fff;
}
.btn_download_fv {
  width: 90%;
  margin: -3% auto;
  padding: 0rem 0 3rem;
}
/*----------------------------------------
セクション（権威性&社長）
----------------------------------------*/
.sec_keni {
  position: relative;
}
.mov_re {
  position: absolute;
  top: 50.1%;
  right: 12%;
  width: 36%;
}
.arrow_white {
  position: absolute;
  bottom: 0%;
  left: 31.865%;
  transform: translate(-50%, 0%);
  width: 36.27%;
}
/*----------------------------------------
セクション（オファー）
----------------------------------------*/
.sec_cta {
  position: relative;
}

.btn_download_cta {
  position: absolute;
  top: 69%;
  left: 5%;
  width: 90%;
}
/*----------------------------------------
セクション（導入事例BA）
----------------------------------------*/
.sec_ba {
  position: relative;
}
.txt_ba {
  position: absolute;
}
.tba1 {
  width: 72.13%;
  top: 33.3%;
  right: 5%;
}

.tba2 {
  width: 55.2%;
  top: 59.4%;
  left: 7%;
}

.tba3 {
  width: 79.33%;
  top: 91.6%;
  right: 0;
}
/*----------------------------------------
セクション（お客様の声）
----------------------------------------*/
.sec_voice {
  background-color: #fff;
}
.mov_voice {
  width: 100%;
  margin-top: 0.2rem;
  margin-bottom: 2rem;
}

/*----------------------------------------
セクション（脂肪冷却とは）
----------------------------------------*/
.sec_tokucho {
  position: relative;
}
.mov_handfree {
  position: absolute;
  top: 21.5%;
  left: 50%;
  width: 78.13%;
  transform: translate(-50%, 0);
}

/*----------------------------------------
セクション（強み）
----------------------------------------*/

/*----------------------------------------
セクション（デモ体験説明）
----------------------------------------*/
.sec_demo {
  position: relative;
}

/*----------------------------------------
セクション（フォーム）
----------------------------------------*/
.sec_form {
  padding-bottom: 3rem;
}
/*----------------------------------------
セクション（フォーム1）
----------------------------------------*/
.sec_form1 p {
  background-color: #cccccc;
  margin: 5% 5%;
  padding: 5% 5%;
  text-align: center;
}

/*----------------------------------------
フォーム設定
----------------------------------------*/
.sec_form1 {
  padding-bottom: 13%;
}

.btn_tel_form {
  display: block;
  width: 76%;
  margin: 0 auto;
  margin-top: 7%;
}

/* フォーム設定 */
.form-table {
  margin-top: 0.5em;
}

.form-table table {
  width: 100%;
}

.form-table th {
  display: block;
  width: auto;
  padding: 1rem 5.5% 1rem 5.5%;
  font-weight: 500;
  font-size: 1.2rem;
  text-align: left;
  background-color: #f3fbfd;
}

.form-table th .req {
  display: inline-block;
  padding: 0 0 0 3.5rem;
  position: relative;
}

.form-table th .req:before {
  display: block;
  content: "必須";
  padding: 0.175rem 0.5rem;
  background: #ff7ebb;
  border-radius: 0.25rem;
  font-size: 1rem;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

.form-table td {
  display: block;
  width: auto;
  padding: 1rem 5.5%;
}

.form-table td input[type="text"],
.form-table td input[type="tel"],
.form-table td input[type="email"] {
  width: 92%;
  padding: 1rem 0.75rem;
  box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.1) inset;
  border: 0.1rem solid #ccc;
  border-radius: 0.6rem;
  font-size: 1.4rem;
  outline: none;
}

.form-table td.is-error input[type="text"],
.form-table td.is-error input[type="tel"],
.form-table td.is-error input[type="email"] {
  border: 0.2rem solid #ffcccc;
}

.form-table td input[type="text"].other-fild,
.form-table td input[type="tel"].other-fild,
.form-table td input[type="email"].other-fild {
  width: calc(100% - 2em);
  margin-left: 1rem;
  padding: 0.5rem 0.75rem;
}

.form-table td label {
  display: block;
  font-size: 1.4rem;
  cursor: pointer;
}

.form-table td label + label {
  margin-top: 1rem;
}

.form-table td label input[type="checkbox"],
.form-table td label input[type="radio"] {
  margin-right: 0.5rem;
}

.form-table td label input[type="text"] {
  margin-top: 0.5rem;
}

.form-table td textarea {
  width: 92%;
  height: 20rem;
  padding: 1rem 0.75rem;
  box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.1) inset;
  border: 0.1rem solid #ccc;
  border-radius: 0.6rem;
  font-size: 1.4rem;
  resize: none;
  appearance: none;
  outline: none;
}

.form-table td .error-txt {
  margin-top: 0.8rem;
  display: none;
  font-weight: 700;
  font-size: 1.4rem;
  color: #ff7ebb;
}

.form-table td.is-error .error-txt {
  display: block;
}

.form-table .agree-txt {
  margin-top: 3rem;
  display: block;
  font-size: 1.2rem;
  text-align: center;
  cursor: pointer;
  padding: 0 5.5%;
}

.form-table .agree-txt input[type="checkbox"] {
  margin-right: 0.5rem;
}

.form-btn {
  width: 80%;
  margin: 3rem auto 0;
  text-align: center;
}

.form-btn button {
  width: 100%;
  height: 6rem;
  padding: 1.2rem 1.5rem;
  background: #ededed;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  font-size: 1.4rem;
  cursor: pointer;
  outline: none;
  appearance: none;
}

#required_field {
  width: 80%;
  margin: 3rem auto 0;
  padding: 2.1rem 0.5rem;
  display: none;
  background: #ff7ebb;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
}

.txt-type-01 {
  font-size: 1.6rem;
}

.txt-type-01 + .txt-type-01 {
  margin-top: 3rem;
}

/* ローディングアニメーション */
#overlay {
  display: none;
  position: fixed;
  top: 5vh;
  left: 5vw;
  width: 90vw;
  height: 90vh;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column; /* 子要素を垂直に配置する */
  z-index: 10000;
  border-radius: 15px;
}

.loader-2 {
  width: 40px;
  height: 40px;
  margin-bottom: 20px; /* ローディングテキストとの間に余白を作る */
  border-radius: 50%;
  border: solid 4px;
  border-color: #fff #fff0 #fff0;
  position: relative;
  animation: spin 1s infinite;
}

.errormessage {
  color: #fff; /* テキストの色を白に設定 */
  margin-top: 20px; /* ロゴ画像との間に余白を作る */
  font-size: 14px; /* テキストのサイズを設定 */
  text-align: center; /* テキストを中央揃えにする */
}
#loadingText {
  color: #fff; /* テキストの色を白に設定 */
  margin-bottom: 28px; /* ロゴ画像との間に余白を作る */
}

#logo {
  width: 230px; /* 適切なサイズに調整してください */
  height: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*----------------------------------------
セクション（フォーム2）
----------------------------------------*/
.sec_form2 {
  padding-bottom: 13%;
}

/* フォーム設定 */
.sec_form2 .form-table {
  margin-top: 5.5%;
}

.sec_form2 .form-table th .remark {
  font-size: 0.9rem;
}

.sec_form2 .form-table td input[type="text"],
.sec_form2 .form-table td input[type="tel"],
.sec_form2 .form-table td input[type="email"] {
  width: 92%;
  padding: 0.75rem 0.75rem;
  box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.1) inset;
  border: 0.1rem solid #ccc;
  border-radius: 0.6rem;
  font-size: 1rem;
  outline: none;
}

.sec_form2 .form-table td input[type="text"].other-fild,
.sec_form2 .form-table td input[type="tel"].other-fild,
.sec_form2 .form-table td input[type="email"].other-fild {
  width: calc(100% - 5em);
  margin-left: 1rem;
}

.sec_form2 .form-table td label {
  display: block;
  font-size: 1rem;
  cursor: pointer;
}

.sec_form2 .form-table td textarea {
  font-size: 1rem;
}

/*----------------------------------------
サンクス1ページ
----------------------------------------*/
.contInr_thanks {
  padding: 7% 5.5% 13%;
}

.txt_thanks {
  text-align: center;
  margin-bottom: 9%;
}

.txt_thanks a {
  font-weight: bold;
}

.box_inquiry {
  border: 1px solid #000;
  padding: 1.5em;
  text-align: center;
}

.box_inquiry p.txt_inquiry {
  margin-bottom: 5.5%;
}

.btn_tel_thanks {
  margin-bottom: 5.5%;
}

.txt_line {
  width: 70%;
  margin: 0 auto;
  margin-bottom: 0.5%;
}

.btn_line_thanks {
  width: 70%;
}

@media screen and (min-width: 768px) {
  .sec_thanks {
    font-size: 1.2rem;
  }
}
/*----------------------------------------
サンクス2ページ
----------------------------------------*/
.contInr_thanks2 {
  padding: 7% 5.5% 13%;
}

.box_cta_thanks2 {
  position: relative;
}

.btn_mov_cta {
  position: absolute;
  bottom: 14%;
  left: 8%;
  width: 84%;
}

@media screen and (min-width: 768px) {
  .sec_thanks {
    font-size: 1.2rem;
  }
}
/*----------------------------------------
プライバシーポリシー
----------------------------------------*/
.sec_privacy {
  padding: 8% 5.5%;
}

.sec_privacy h2 {
  margin: 0em 0em 1em;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}

.sec_privacy h3 {
  margin: 0.5em 0em;
  padding: 0.3em 0.6em;
  font-size: 1.3em;
  font-weight: bold;
  border-left: 8px solid #13acd6;
  border-bottom: 1px dotted #13acd6;
}

ol {
  list-style-type: decimal;
  margin-left: 5.5%;
}

ul {
  list-style-type: disc;
  margin-left: 5%;
}

@media only screen and (min-width: 768px) {
  .sec_privacy {
    padding: 5% 5.5%;
    font-size: 1rem;
  }

  .sec_privacy h2 {
    font-size: 1.6rem;
  }

  .sec_privacy h3 {
    font-size: 1.4rem;
  }
}

/*----------------------------------------
フッター部分
----------------------------------------*/
.footer {
  background-color: #13acd6;
  color: #ffffff;
  padding: 3% 0em 3%;
  text-align: center;
  font-size: 0.9em;
}

.footer_thanks,
.footer_privacy {
  padding-bottom: 3%;
}

.footer a {
  color: #ffffff;
  transition: 0.3s;
}

.footer a:hover,
.footer a:active {
  color: #f1ebdd;
}

.footer_cta {
  width: 33%;
  padding: 0em 0em 0em 0em;
  position: fixed;
  right: 0;
  bottom: 0;
  /* 1. メニューを画面下へ隠す */
  transform: translateY(100%);
  /* 2. 0.3秒かけて表示する */
  transition: 0.3s;
  z-index: 3;
}

.active {
  /* 3. メニューを定位置へ戻す */
  transform: translate(0);
}

.footer_cta .kirakira {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .footer {
    padding: 3% 0em 3%;
    font-size: 1rem;
  }

  .footer_thanks,
  .footer_privacy {
    padding-bottom: 3%;
  }

  .footer_cta {
    width: 180px;
    left: 75%;
    bottom: 0;
    /* 1. メニューを画面下へ隠す */
    transform: translate(-50%, 100%);
    /* 2. 0.3秒かけて表示する */
    transition: 0.3s;
    z-index: 3;
  }

  .active {
    /* 3. メニューを定位置へ戻す */
    transform: translate(-50%, 0);
  }
}

/*----------------------------------------
離脱防止バツボタン→ポップアップ　ここから
----------------------------------------*/

.popupbtn {
  display: inline-block;
  margin-bottom: 1em;
}

#adReserve {
  width: 60px;
  height: 60px;
  position: fixed;
  top: -0.3rem;
  background: #131313;
  transition: all 2s ease-out 0s;
  color: #fff;
  z-index: 210;
}

#adReserve .popupbtn {
  display: block;
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

#adReserve .popupbtn:before,
#adReserve .popupbtn:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 30px;
  background: #ffffff;
}

#adReserve .popupbtn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#adReserve .popupbtn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.fade {
  transition: all 3s;
  opacity: 0.5;
  visibility: hidden;
  transform: translate(0px, 50px);
}

.fadein {
  opacity: 1;
  visibility: visible;
  transform: translate(0px, 0px);
}

.modalWrap {
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.modalWrap.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modalWrap .modalContent {
  max-width: 30rem;
  width: 90vw;
  position: relative;
  overflow: visible;
}

.modalContent img {
  max-width: 100%;
  height: auto;
}

.modalWrap .modalClose {
  width: 40px;
  position: absolute;
  top: -2rem;
  right: -2rem;
  z-index: 11;
}

.modalWrap .modalClose a {
  width: 40px;
  height: 40px;
  display: block;
  background: #131313;
  border-radius: 100%;
  position: relative;
  transition: 0.3s;
  cursor: pointer;
}

.modalWrap .modalClose a:hover {
  opacity: 0.8;
}

.modalWrap .modalClose a:before,
.modalWrap .modalClose a:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 20px;
  background: #ffffff;
}

.modalWrap .modalClose a::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modalWrap .modalClose a::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modalWrap .adBtn {
  width: 85%;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.modalWrap .adBtn a {
  display: block;
}

.modalWrap .adBtn a:hover {
  opacity: 0.8;
}

/*----------------------------------------
離脱防止バツボタン→ポップアップ　ここまで
----------------------------------------*/
