/*********************************/
/*           FirstView           */
/*********************************/
.firstview {
  background-image: url(../img/common/type-b_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  padding: 15.3% 0 0;
  position: relative;
  min-height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
}

.underlayer .firstview {
  padding: 21.3% 0 0;
}

.firstview-contents {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 76%;
}


.firstview-select-list {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.firstview-select-item {
  margin-bottom: 9.2%;
  width: 100%;
}

.firstview-select-item:last-of-type{
  margin-bottom: 0;
}

/*********************************/
/*            Question           */
/*********************************/
.question {
  position: absolute;
  width: 100%;
  z-index: 999;
}

.question-btn {
  margin-left: auto;
  width: 21.3%;
}

/*********************************/
/*             Return            */
/*********************************/
.return {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.return-btnArea {
  margin-left: 3%;
  margin-bottom: 3%;
  width: 13.3%;
}

/*********************************/
/*            Remodal            */
/*********************************/
.remodal-wrapper {
  padding: 5vw;
}

.remodal {
  border-radius: 2.5vw;
  padding: 0;
  margin-bottom: 0;
  height: 100%;
}

.remodal.no-thum {
  padding: 6% 0 0;
  height: 60%;
}

.remodal-thum {
  margin-bottom: 2vh;
  height: 35vh;
  width: 100%;
}
/* Safari */
_::-webkit-full-page-media, _:future, :root .remodal-thum {
  margin-bottom: 2vh;
  height: 38vh;
  width: 100%;
}

.swiper-wrapper .remodal-thum {
  height: 100%;
  width: 100%;
}

.remodal-thum__img {
  border-radius: 2.5vw 2.5vw 0 0;
  width: 100%;
}

.remodal-textArea {
  padding: 0 7.7%;
  height: 47vh;
}

/* Safari */
_::-webkit-full-page-media, _:future, :root .remodal-textArea {
  height: 40vh;
}

.remodal-textArea__title {
  border-bottom: 0.4vw solid #7d0022;
  color: #333;
  font-size: 3.5vw;
  margin-bottom: 3%;
  text-align: center;
  padding-bottom: 2.5%;
  padding-top: 3%;
  width: 100%;
}

.en-remodal-textArea__title {
  font-family: 'Noto Serif', serif;
  border-bottom: 0.4vw solid #7d0022;
  color: #333;
  font-size: 4vw;
  letter-spacing: 0;
  margin-bottom: 3%;
  text-align: center;
  padding-bottom: 2.5%;
  padding-top: 3%;
  width: 100%;
}

.remodal-textArea__text {
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3.5vw;
  line-height: 1.7;
  text-align: left;
  overflow-y: auto;
  padding-right: 1%;
  height: 74%;
  width: 104%;
}

.remodal-textArea__text::-webkit-scrollbar{
  width: 1.5vw;
}

.remodal-textArea__text::-webkit-scrollbar-track{
  border-radius: 10px;
  border: 0.1vw solid #aaa;
}

.remodal-textArea__text::-webkit-scrollbar-thumb{
  background: #7d0022;
  border-radius: 10px;
}

.remodal-close {
  background-clip: padding-box;
  background-image: url(../img/common/remodal-close_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left top;
  border: none;
  border-radius: 0 0 2.5vw 0;
  position: absolute;
  top: auto;
  bottom: 0;
  left: auto;
  right: 0;
  height: 9vw;
  width: 9vw;
}

.remodal-close::before {
  color: #fff;
  font-size: 7vw;
  position: absolute;
  left: 7%;
  top: 6%;
}