@charset "utf-8";

#detailBtn1 {}
#detailBtn2 {}
#detailBtn3 {}
#youtubeBtn {}
#howtoBtn {}

.modalBox {
  text-align: left;
  max-height: 90%;
  scrollbar-width: thin;
}

.modalBox .modalTitle {
  font-size: 24px;
  line-height: 36px;
  margin: 36px auto;
  font-weight: 600;
  text-align: center;
}

.modalBox .features {
  width: 100%;
  margin: 0 auto;
  flex-direction: row;
}

.modalBox .feature {
  width: 90%;
  margin: 30px auto;
}

.modalBox .featureImgS, .featureImgL {
  height: auto;
  text-align: center;
  margin: 20px auto;
}

.modalBox .featureImgS {
  width: 40%;
}
.modalBox .featureImgL {
  width: 80%;
}

.modalBox .feature .title {
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 600;
}

.modalBox .feature .text {
  margin-bottom: 16px;
}

.modalBox .services {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:normal;
  -ms-flex-direction:row;
  flex-direction:row;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  width: 90%;
  margin: 0 auto;
}

.modalBox .services .serviceIcon {
  width: 20%;
  height: auto;
  max-width: 120px;
  text-align: center;
  margin-bottom: 30px;
}

.modalBox .service {
  width: 70%;
  padding-left: 30px;
}

.modalBox .service .name {
  font-size: 22px;
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.modalBox .service .text {
  margin-bottom: 16px;
}

/* youtube */
#youtube_wrapper {
  background: #111;
  border: 2px solid #111;
}
.modalBox .iframe-wrap {
  text-align: center;
  width: 100%;
  padding-bottom: 30.79%;
  height: 200px;
  position: relative;
  margin: 30px auto;
}

#youtube_wrapper .modalClose {
    position: absolute;
    top: 12px;
    /* left: 12px; */
    right: 12px;
    width: 24px;
    height: 24px;
    background: url("../images/common/close-w.png") no-repeat center center;
    background-size: cover;
    cursor: pointer;
}


.modalBox .iframe-wrap iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}


@media only screen and (max-width: 640px) {
  .modalBox .featureImgS, .featureImgL {
    width: 80%;
  }
  .modalBox .services .serviceIcon {
    text-align: center;
    width: 40%;
    margin: 0 auto;
  }
  .modalBox .services .service {
    width: 90%;
    padding-left: 20px;
  }
  .modalBox .services .service .name {
    text-align: center;
    margin-top: 8px;
  }
  .modalBox .iframe-wrap {
		width: 100%;
    height: 0;
		padding-bottom: 56.25%;
	}
  .modalBox .eachStep  {
    margin: 10px auto;
  }
}
