@charset 'utf-8';

.box_popup_bg,
.boxPopupBg {
  display: none;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.box_popup_bg:hover,
.boxPopupBg:hover {
  cursor: pointer;
}

.boxPopup {
  cursor: pointer;
}

.boxPopupDetail,
.boxPopupCont {
  overflow-y: auto;
  display: none;
  width: 840px;
  height: 80%;
  padding: 50px 50px 50px 50px;
  background-color: #fff;
  color: #333;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 100%;
  z-index: 1001;
}
@media all and (max-width: 640px){
  .boxPopupDetail,
  .boxPopupCont {
    /*-webkit-overflow-scrolling: touch;*/
    width: 96%;
    height: 90%;
    padding: 5% 5%;
  }
}

.btnPopupClose{
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
}
@media all and (max-width: 640px){
  .btnPopupClose{
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
  }
}

.img_popup{
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 100%;
  z-index: 1001;
}
.img_popup:hover{
  cursor: pointer;
}

.btnPopupNext,
.btnPopupPrev {
  position: absolute;
  top: 50%;
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  cursor: pointer;
}
@media all and (max-width: 640px){
  .btnPopupNext,
  .btnPopupPrev {
    width: 4%;
  }
}

.btnPopupNext {
  left: 94.3%;
}
.btnPopupPrev {
  left: 5.7%;
}
@media all and (max-width: 640px){
  .btnPopupNext {
    left: 93%;
    width: 21px;
    height: 40px;
  }
  .btnPopupPrev {
    left: 7%;
    width: 21px;
    height: 40px;
  }
}

.boxBtnPopupClose {
  position: absolute;
  top: 2%;
  right: 2%;
  cursor: pointer;
}
@media all and (max-width: 640px){
  .boxBtnPopupClose {
    top: 3%;
    right: 5%;
  }
}

.boxPopupContA {
  overflow-y: auto;
  display: none;
  width: 760px;
  height: 35%;
  padding: 50px 50px 0 50px;
  background-color: #fff;
  color: #333;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 100%;
  z-index: 1001;
}
@media all and (max-width: 640px){
  .boxPopupDetail,
  .boxPopupCont {
    -webkit-overflow-scrolling: touch;
    width: 96%;
    height: 90%;
    padding: 5% 5%;
  }
	
 .boxPopupContA {
    width: 90%;
    height: 50%;
    padding: 30px 20px 0;
    overflow: scroll;
  }
}

.boxPopupContA {
  overflow-y: auto;
  /*height: 430px;*/
  min-height: 200px;
}
