@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: #603305;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-shadow: 0px 0px 15px #ccc;
  box-sizing: border-box;
}

body .wrapper .contact_d {
  width: 88%;
  max-width: 700px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 2%;
  margin: 0 auto;
  z-index: 1;
}

@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 {
  position: relative;
}

.box_cdt_fv {
  position: absolute;
  top: 7.8%;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 90%;
  text-align: center;
  padding-bottom: 0;
  border-bottom: 1px solid #000;
  line-height: 1;
}

.sub_cdt_fv {
  font-size: 3vw;
  font-weight: bold;
  padding-right: 10px;
}

.cdt_fv {
  font-size: 4.5vw;
  font-weight: bold;
}

@media only screen and (min-width: 500px) {
  .box_cdt_fv {
    position: absolute;
    top: 70px;
  }

  .sub_cdt_fv {
    font-size: 14px;
    font-weight: bold;
    padding-right: 0.7rem;
  }

  .cdt_fv {
    font-size: 24px;
    font-weight: bold;
  }
}

@media only screen and (min-width: 768px) {
  .box_cdt_fv {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 90%;
    text-align: center;
    padding-bottom: 0;
    border-bottom: 1px solid #000;
    line-height: 1;
  }

  .sub_cdt_fv {
    font-size: 14px;
    font-weight: bold;
    padding-right: 10px;
  }

  .cdt_fv {
    font-size: 24px;
    font-weight: bold;
  }
}

/*----------------------------------------
セクション（オファー）
----------------------------------------*/
.sec_cta {
  position: relative;
}

.box_cdt_cta {
  background-color: rgba(255, 255, 255, 0.9);
  position: absolute;
  top: 59%;
  left: 12%;
  width: 76%;
  text-align: center;
  padding: 5px 0;
  line-height: 1;
}
.box_cdt_cta p {
  font-size: 16px;
  margin-bottom: 5px;
}
.cdt_cta {
  font-size: 24px;
  font-weight: bold;
  color: #d70016;
}

@media only screen and (min-width: 500px) {
  .box_cdt_cta {
    position: absolute;
    top: 59%;
    left: 12%;
    width: 76%;
    text-align: center;
    padding: 5px 0;
    line-height: 1;
  }

  .cdt_cta {
    font-size: 26px;
    font-weight: bold;
  }
}

@media only screen and (min-width: 768px) {
  .box_cdt_cta {
    position: absolute;
    top: 59%;
    left: 10%;
    width: 80%;
    text-align: center;
    padding: 5px 0;
    line-height: 1;
  }

  .cdt_cta {
    font-size: 30px;
    font-weight: bold;
  }
}

.arrow_white {
  position: absolute;
  top: 75%;
  width: 35.2%;
  left: 32.4%;
}

.btn_download_cta {
  position: absolute;
  top: 76.5%;
  left: 0%;
}

/*----------------------------------------
セクション（口コミ）
----------------------------------------*/
.sec_voice {
  position: relative;
}

.txt_voice {
  position: absolute;
}

.tv1 {
  width: 46.30%;
  top: 32.7%;
  left: 11%;
}

.tv2 {
  width: 48.43%;
  top: 63.5%;
  right: 12.5%;
}

.tv3 {
  width: 46.67%;
  top: 92.4%;
  left: 12%;
}

/*----------------------------------------
セクション（最安値）
----------------------------------------*/
.sec_cheap {
  position: relative;
}

.mov_cheap {
  position: absolute;
  top: 57.2%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, 0);
}

/*----------------------------------------
セクション（導入メリット）
----------------------------------------*/
.sec_merit {
  position: relative;
}

.mov_merit {
  position: absolute;
  bottom: 4.1%;
  right: 10.3%;
  width: 35.1%;
}

/*----------------------------------------
セクション（導入店舗）
----------------------------------------*/
.sec_tempo {
  position: relative;
}

.slider_tempo {
  position: absolute;
  bottom: 2%;
  /*横幅100%で左右の余白をなくす*/
  width: 100%;
  margin: 0 auto;
}

.slider_tempo img {
  width: 75vw;
  /*スライダー内の画像を60vwにしてレスポンシブ化*/
  height: auto;
  margin: 0 auto;
}

@media only screen and (min-width: 600px) {
  .slider_tempo img {
    width: 55%;
    height: auto;
    margin: 0 auto;
  }
}

.slider_tempo .slick-slide {
  transform: scale(0.8);
  /*左右の画像のサイズを80%に*/
  transition: all 0.5s;
  /*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5;
  /*透過50%*/
}

.slider_tempo .slick-slide.slick-center {
  transform: scale(1);
  /*中央の画像のサイズだけ等倍に*/
  opacity: 1;
  /*透過なし*/
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slider_tempo .slick-prev {
  position: absolute;
  /*絶対配置にする*/
  background-image: url(../assets/images/arrow_left.png);
  background-size: contain;
  background-repeat: no-repeat;
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  height: 15%;
  width: 15%;
  z-index: 1;
}

.slider_tempo .slick-next {
  position: absolute;
  /*絶対配置にする*/
  background-image: url(../assets/images/arrow_right.png);
  background-size: contain;
  background-repeat: no-repeat;
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  height: 15%;
  width: 15%;
  z-index: 1;
}

.slider_tempo .slick-prev {
  /*戻る矢印の位置と形状*/
  left: 4%;
}

.slider_tempo .slick-next {
  /*次へ矢印の位置と形状*/
  right: -5%;
}

/*----------------------------------------
セクション（7大特典）
----------------------------------------*/
.sec_tokuten {
  position: relative;
}

.mov_tokuten {
  position: absolute;
  bottom: 20.1%;
  left: 11.1%;
  width: 32%;
}

/*----------------------------------------
セクション（マシンが選べる）
----------------------------------------*/
.sec_choise {
  position: relative;
  padding-bottom: 165%;
}

@media only screen and (min-width: 600px) {
  .sec_choise {
    position: relative;
    padding-bottom: 172%;
  }
}

.slider_choise {
  position: absolute;
  bottom: 2%;
  /*横幅100%で左右の余白をなくす*/
  width: 100%;
  margin: 0 auto;
}

.slider_choise li {
  position: relative;
}

.slider_choise img {
  width: 75vw;
  /*スライダー内の画像を60vwにしてレスポンシブ化*/
  height: auto;
  margin: 0 auto;
  margin-left: -1rem;
  margin-right: -1rem;
}

@media only screen and (min-width: 600px) {
  .slider_choise img {
    width: 55%;
    height: auto;
    margin: 0 auto;
  }
}

.slider_choise img.slider_btn {
  position: absolute;
  bottom: 22%;
  left: 11%;
  width: 86%;
}

@media only screen and (min-width: 600px) {
  .slider_choise img.slider_btn {
    position: absolute;
    bottom: 22%;
    left: 50%;
    width: 45%;
    transform: translate(-50%, 0);
  }
}

.slider_choise .slick-slide {
  transform: scale(0.8);
  /*左右の画像のサイズを80%に*/
  transition: all 0.5s;
  /*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5;
  /*透過50%*/
}

.slider_choise .slick-slide.slick-center {
  transform: scale(1);
  /*中央の画像のサイズだけ等倍に*/
  opacity: 1;
  /*透過なし*/
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slider_choise .slick-prev {
  position: absolute;
  /*絶対配置にする*/
  background-image: url(../assets/images/arrow_left2.webp);
  background-size: contain;
  background-repeat: no-repeat;
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  height: 15%;
  width: 15%;
  z-index: 1;
}

.slider_choise .slick-next {
  position: absolute;
  /*絶対配置にする*/
  background-image: url(../assets/images/arrow_right2.webp);
  background-size: contain;
  background-repeat: no-repeat;
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  height: 15%;
  width: 15%;
  z-index: 1;
}

.slider_choise .slick-prev {
  /*戻る矢印の位置と形状*/
  left: 4%;
}

.slider_choise .slick-next {
  /*次へ矢印の位置と形状*/
  right: 4%;
}

/*----------------------------------------
セクション（導入実績）
----------------------------------------*/
.sec_jisseki {
  position: relative;
}

.slider_jisseki {
  position: absolute;
  bottom: 10%;
  width: 100%;
  margin-left: 0;
}

.slider_jisseki img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider_jisseki .slick-slide {
  margin: 0 10px;
  /*スライド左右の余白調整*/
}

/*----------------------------------------
セクション（Q&A）
----------------------------------------*/
.sec_qa {
  background-color: #eaeaea;
  padding-bottom: 3%;
}

.qa_inner {
  padding-top: 4%;
}

.q {
  margin-bottom: 4%;
}

.ans {
  position: relative;
}

.link_01 {
  position: absolute;
  bottom: 30.55%;
  left: 22%;
  width: 25.3%;
}

/*----------------------------------------
セクション（フォーム）
----------------------------------------*/
.sec_form {
  padding-bottom: 3rem;
}

/* フォーム設定 */
.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: #fff6f4;
}

.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: #e73904;
  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"],
.form-table td select.requir-fild {
  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: #e73904;
}

.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: #e73904;
  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: 5rem;
}

/* フォーム設定 */
.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% 0% 0%;
}

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

.txt_thanks a {
  font-weight: bold;
}

/*----------------------------------------
サンクス2ページ
----------------------------------------*/
.sec_thanks2 {
  padding-top: 0%;
}
.contInr_thanks2 {
  padding: 7% 0% 0%;
}

.txt_thanks2 {
  text-align: center;
  margin-bottom: 7%;
}

.txt_thanks2 a {
  font-weight: bold;
}

.box_cta_thanks2 {
  position: relative;
}

.btn_linetop_thanks2 {
  position: absolute;
  width: 79.6%;
  top: 14.3%;
  left: 10.2%;
}
.btn_linebottom_thanks2 {
  position: absolute;
  width: 79.6%;
  bottom: 19.5%;
  left: 10.2%;
}

.btn_catalog_thanks2 {
  position: absolute;
  width: 80%;
  bottom: 4.3%;
  left: 50%;
  transform: translate(-50%, 0);
}

@media screen and (min-width: 768px) {
  .sec_thanks {
    font-size: 1.2rem;
  }
}

/*----------------------------------------
セクション（ムービー）
----------------------------------------*/

.sec_movie_thanks2 {
  width: 100%;
  height: auto; /* 必要に応じて高さを調整 */
  padding: 20px 0; /* セクションの上下に余白を追加 */
}

.mov_movie_thanks2 {
  width: 100%;
  height: auto; /* 必要に応じて高さを調整 */
}
/*----------------------------------
  セクション（プライバシー）
  ------------------------------------*/
.sec_privacy {
  padding-top: 1.5em;
  padding-bottom: 3em;
  padding-left: 20px;
  padding-right: 20px;
}

.sec_privacy a {
  color: #603305;
}

.sec_privacy a:hover,
.sec_privacy a:active {
  color: #cccccc;
}

.sec_privacy h2 {
  margin: 0rem 0rem 1.5rem;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  color: #603305;
  line-height: 1.3;
}

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

.indent01 {
  margin-left: 1em;
}

.indent02 {
  margin-left: 1.5em;
}

@media screen and (min-width: 768px) {
  .sec_privacy {
    padding: 3rem 20px 3rem;
    font-size: 18px;
  }

  .sec_privacy h2 {
    margin: 0rem 0rem 1.5rem;
    font-size: 2rem;
  }

  .sec_privacy h3 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .indent01 {
    margin-left: 1.5rem;
  }

  .indent02 {
    margin-left: 3rem;
  }
}

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

.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: 0.8rem;
  }

  .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;
}

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