/*
  MODAL
========================================================================================================*/

[data-remodal-target] {
  cursor: pointer;
}
a[data-remodal-target] {
  color: #499916;
  text-decoration: none;
}
a[data-remodal-target]:hover {
  color: #499916;
  text-decoration: underline;
}
a[data-remodal-target] img {
  position: relative;
  top: 3px;
}

.remodal-overlay {
  background: #000;
  opacity: .8;
}

.remodal {
  max-width: 1080px;
  background: transparent;
  padding: 0;
  text-align: left;
}
.remodal a{
  text-decoration: none;
}
.remodal a.blank{
  background: url(/img/icon/icon_blank.png) no-repeat right center;
  padding: 0 18px 0 0;
}
.remodal .modal-header {
  position: relative;
  height: 104px;
}
.remodal .modal-header .modal-title {
  margin: 0;
  padding: 0;
  padding-top: 32px;
  color: #fff;
  font-size: 24px;
  font-weight: 400;    
}
.remodal .modal-header .modal-icon-close {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: inherit;
  cursor: pointer;
  z-index: 10;
  height: 34px;
  width: 34px;
  margin: auto;
}

.remodal .modal-header .modal-icon-close:before,
.remodal .modal-header .modal-icon-close:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4px;
  right: 0;
  display: block;
  border-top: 2px solid #fff;
  width: 43px;
  height: 0px;
  margin: auto;
}

.remodal .modal-header .modal-icon-close:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.remodal .modal-header .modal-icon-close:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.remodal .modal-content {
  overflow: hidden;
  background: #fff;
  padding: 40px;
}
.remodal .modal-content .modal-title {
  margin: 0 0 20px 0;
  font-size: 32px;
  font-weight: 400;
}
.remodal .modal-content > *:last-child {
  margin-bottom: 0;
}
.remodal .lead{
  width: 80%;
  margin: auto;
}
.remodal .tb{
  width: 80%;
  margin: auto;
}
.remodal .tb table{
  width: 100%;
  font-size: 110%;
}
.remodal .tb td{
  background: url(/img/icon/icon_arw_rg2_s.png) no-repeat 1em 19px;
  padding-left: calc(1em + 15px);
}
.remodal .tb td a{
  font-weight: bold;
}
.remodal .tb td a:hover{
  text-decoration: underline;
}
.remodal .btn a.blank{
  background: linear-gradient(to bottom, #fff 0, #fff 50%, #f4f4f4 51%, #f4f4f4 100%) !important;
  padding: 10px 11px !important;
}
@media only screen and (max-width: 767px) {
  .remodal .modal-content .modal-title {
    font-size: 22px;
  }
  .remodal .lead{
    width: 100%;
  }
  .remodal .tb,
  .remodal .tb tbody,
  .remodal .tb th,
  .remodal .tb td{
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-bottom: none;
  }
  .remodal .tb td{
    background-image: url(/img/icon/icon_arw_rg2@2x.png);
    background-size: 6px 10px;
  }
  .remodal .tb tr:last-of-type td{
    border-bottom: 1px solid #e3e3e3;;
  }
}

.remodal .modal-footer {
  position: relative;
  padding: 40px 0;
}
.remodal .modal-footer .modal-btn-close {
  position: relative;
  display: inline-block;
  padding: 0 26px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
}
.remodal .modal-footer .modal-btn-agree {
  position: relative;
  display: inline-block;
  width: 180px;
  padding: 10px 10px;
  border: 1px solid #fff;
  font-size: 18px;
  color: #fff;
}
.remodal .modal-footer .modal-btn-agree:hover {
  -webkit-transition: all .3s;
  transition: all .3s;
  background: #fff;
  color: #1a1a1a;
  text-decoration: none;
}
.remodal .modal-footer .modal-btn-close:before,
.remodal .modal-footer .modal-btn-close:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  border-top: 2px solid #fff;
  width: 16px;
  height: 0px;
  margin: auto;
}
.remodal .modal-footer .modal-btn-close:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.remodal .modal-footer .modal-btn-close:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

@media only screen and (max-width: 767px) {
  .remodal-wrapper {
      padding: 0 16px 95px;
  }
  .remodal .modal-header {
      height: 65px;
  }
  .remodal .modal-header .modal-title {
      padding-top: 20px;
      font-size: 16px;
  }
  .remodal .modal-header .modal-icon-close {
      width: 22px;
      height: 22px;
  }
  .remodal .modal-header .modal-icon-close:before,
  .remodal .modal-header .modal-icon-close:after {
      width: 30px;
  }
  .remodal .modal-content {
      padding: 30px 15px;
  }
  .remodal .modal-footer {
      padding: 20px 0;
  }
  .remodal .modal-footer .modal-btn-agree {
      font-size: 14px;
  }
}