#contents .bg1 {
  background-color: #FEED07;
}
#contents .present .body {
  border: solid 1px #C60917;
  border-bottom: none;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position: relative;
}
#contents .present .num {
  position: absolute;
  top: -40px;
  left: -25px;
}
@media screen and (max-width: 767px) {
  #contents .present .num {
    left: 10px;
    top: -50px;
  }
}
#contents .present .foot {
  background-color: #FBEEEF;
  border: solid 1px #C60917;
  border-top: none;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
#contents .present .body2 {
  position: relative;
  border: solid 1px #C60917;
  border-radius: 5px;
}
#contents .present h3 {
  color: #C60917;
  font-size: 21px;
}
@media screen and (max-width: 767px) {
  #contents .present h3 {
    font-size: 18px;
  }
}
#contents .present .data {
  color: #C60917;
}
#contents .present .thumbnail {
  position: relative;
  cursor: pointer;
  background-color: #fff;
}
#contents .present .thumbnail img:hover {
  opacity: 0.85;
}
#contents .present .thumbnail div.ic {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 22px;
  height: 22px;
  background-image: url(../images/present/ic_clickable.png);
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  #contents .present .thumbnail div.ic {
    background-image: url(../images/present/ic_clickable@2x.png);
    background-size: 22px 22px;
  }
}
#contents .btn-submit a {
  line-height: 1;
  display: block;
  background-color: #C60917;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}
#contents .btn-submit a:hover {
  opacity: 0.9;
}
@media screen and (max-width: 767px) {
  #contents .btn-submit a {
    padding: 10px;
  }
  #contents .btn-submit a img {
    max-height: 18px;
    width: auto;
  }
}
#contents .btn-next a {
  line-height: 1;
  display: block;
  border: solid 1px #C60917;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  background-image: url(../images/present/ic_next.png);
  background-position: right 20px center;
  background-repeat: no-repeat;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  #contents .btn-next a {
    background-image: url(../images/present/ic_next@2x.png);
    background-size: 12px 23px;
  }
}
#contents .btn-next a:hover {
  opacity: 0.9;
}
@media screen and (max-width: 767px) {
  #contents .btn-next a {
    padding: 10px;
    background-size: 6px 11.5px;
  }
  #contents .btn-next a img {
    max-height: 14px;
    width: auto;
  }
}
#contents .btn-prev a {
  line-height: 1;
  display: block;
  border: solid 1px #C60917;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  background-image: url(../images/present/ic_prev.png);
  background-position: left 20px center;
  background-repeat: no-repeat;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  #contents .btn-prev a {
    background-image: url(../images/present/ic_prev@2x.png);
    background-size: 12px 23px;
  }
}
#contents .btn-prev a:hover {
  opacity: 0.9;
}
@media screen and (max-width: 767px) {
  #contents .btn-prev a {
    padding: 10px;
    background-size: 6px 11.5px;
  }
  #contents .btn-prev a img {
    max-height: 14px;
    width: auto;
  }
}
#contents .thanks {
  color: #C60917;
}

#modal {
  display: none;
  position: fixed;
  z-index: 10;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
#modal .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.9;
  z-index: 1;
  cursor: pointer;
}
#modal .frame {
  position: fixed;
  z-index: 2;
  top: 50%;
  left: 50%;
  margin-left: -300px;
  margin-top: -225px;
}
@media screen and (max-width: 767px) {
  #modal .frame {
    width: 300px;
    height: 225px;
    margin-left: -150px;
    margin-top: -112.5px;
  }
}
#modal .frame .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  #modal .frame .btn-close {
    width: 30px;
    height: 30px;
  }
}