@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&display=swap');

/* # =================================================================
   # 共通要素
   # ================================================================= */
html {
  font-size: 62.5%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
  font-size: 1.7rem;
  line-height: 1.5;
  color: #231815;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: baseline;
  transition: all 0.3s;
}

a {
  color: inherit;
  transition: all .3s;
  text-decoration: none;
}


.container {
  width: 900px;
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
}

.txtCenter {
  text-align: center;
}

.wrap {
  max-width: 1000px;
  background-color: #D11312;
  background: url("../img/bg-textile.jpg") repeat-y center top / contain;
  padding-bottom: 30px;
  margin: 0 auto;
  position: relative;
}

.wrapInner {
  background: url("../img/bg-snow.png") no-repeat center top / contain;
}

.attention {
  width: 814px;
  max-width: 90vw;
  font-family: 'M PLUS 1p', sans-serif;
  color: #FFF;
  text-align: center;
  background-color: rgba(139, 39, 45, 0.5);
  border: 1px solid #FFF;
  padding: 15px 23px;
  margin: 0 auto;
}

.attention p {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #FFF;
}

.taishougai {
  font-family: 'M PLUS 1p', sans-serif;
  color: #FFF;
  font-size: 1.8rem;
  padding: 0 50px 60px;
}

.yScroll {
  width: 900px;
  max-width: 90vw;
  height: 340px;
  overflow-y: scroll;
  margin: 0 auto;
}

.yScroll .terms {
  background-color: #FFF;
  padding: 20px;
}

.yScroll dl {
  margin-bottom: 1.5em;
}

.yScroll dt {
  font-size: 1.1em;
  margin-bottom: 0.2em;
}

.bold {
  font-weight: bold;
}

.formBtnWrap {
  position: relative;
  width: 900px;
  max-width: 90vw;
  padding: 1em 0 0.5em;
  margin: 1em auto 4em;
}

.formBtnWrap .close {
  display: none;
  background: rgba(3, 3, 3, 0.8);
  border-radius: 15px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.formBtnWrap .close img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 70vw;
}

/* オープン前 */
.formBtnWrap .preopen {
  display: none;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.formBtnWrap .preopen img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80vw;
  width: 86%;
  /* color: #000000;
    text-align: center;
    font-weight: bold;
    font-size: 30px; */
}

.check {
  font-size: 2rem;
  color: #FFF;
  text-align: center;
  margin: 0 0 1.6em;
}

input[type=radio] {
  display: none;
}

.check label {
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  position: relative;
  line-height: 2;
  padding-left: 30px;
  margin: 0 20px;
}

.check label::before {
  background: #fff;
  border-radius: 50%;
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  left: 0;
  margin-top: -8px;
  position: absolute;
  top: calc(50% - 2px);
}

input[disabled]+label::before {
  background: #CCC;
  opacity: 0.7;
}

.check label::after {
  background: #006837;
  border-radius: 50%;
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  top: calc(50% - 5px);
  left: 5px;
  opacity: 0;
  transition: all 0.2s;
}

input[type=radio]:checked+label::after {
  opacity: 1;
}

.btnBox {
  text-align: center;
  margin: 0 auto;
}

#next[disabled] {
  filter: grayscale(0.9) brightness(0.7);
}

#next {
  transition: all 0.1s;
}

.terms dd p {
  padding-left: 20px;
  position: relative;
}

.terms dd p.no-indent {
  padding-left: 0;
}

.terms dd p span.t-mark01,
.terms dd p span.t-mark02 {
  position: absolute;
  left: 0;
  text-align: center;
  width: 20px;
}

/* # =================================================================
   # レスポンシブ要素
   # ================================================================= */

/* Medium（タブレット） */
@media screen and (max-width: 768px) {
  body {
    font-size: 1.3rem;
  }

  .taishougai {
    font-size: 1em;
    padding: 0 5vw 40px;
  }

  .terms {
    font-size: 1.3rem;
  }
}


/* モバイル */
@media screen and (max-width: 600px) {
  .attention {
    text-align: left;
    padding: 15px;
  }

  .check {
    font-size: 1em;
  }

}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  z-index: 100;

  display: grid;
  place-content: center;
  place-items: center;
}

.modal::-webkit-scrollbar {
  display: none;
}

.modal__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.modal__cont {
  background-color: #fff;
  width: 800px;
  padding: 50px 20px 15px;
  /* max-width: 80%; */
  container-type: inline-size;
}

.modal__cont .ttl {
  font-size: 2.6rem;
  color: #b41101;
  text-align: center;
  font-weight: bold;
}

.modal__cont .desc {
  line-height: 1.6;
  margin-top: 1em;
  font-size: 1.8rem;
}


.modal__cont strong {
  color: #b41101;
}

.modal__cont .close {
  display: grid;
  place-content: center;
  width: 100%;
  height: 50px;
  margin-top: 20px;
  background-color: #b41101;
  color: #fff;
  transition: all 0.3s;
  font-size: 2.6rem;
}

.modal__cont .close:hover {
  opacity: 0.6;
}

@media screen and (max-width: 768px) {
  .modal__cont {
    width: 90vw;
    padding: 2rem 1rem 1rem;
  }

  .modal__cont .ttl {
    font-size: 1.5rem;
  }

  .modal__cont .desc {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .modal__cont .close {
    margin-top: 3rem;
    margin-top: 2rem;
    font-size: 1.8rem;
  }
}
