.popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: .6s;
}
.popup > div{
  padding:0!important;
}
.popup.is-show {
  opacity: 1;
  visibility: visible;
  padding:0!important;
}
.popup > div.popup-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 90%;
  max-width: 600px;
  padding: 20px!important;
  background-image: url(../img/top/letter-sp.jpg);
  background-repeat: repeat-y;
  background-size: 100%;
  z-index: 2;
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .3);
}

.popup-inner .letter {
  width: 100%;
  cursor: pointer;
  padding:0 0 40px 0!important;
  line-height: 1.5rem;
  background-image: url(../img/top/letter-sp-photo.png);
  background-repeat:no-repeat;
  background-size:55%;
  background-position: bottom left;
}
.popup-inner .letter h3{
  color: #50b996;
  font-size: 18px;
  font-weight: bold;
  margin:20px 0;
}
.popup-inner .letter p + p{
  text-align: right;
  margin-top:20px;
}

.close-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}
.close-btn i {
  font-size: 20px;
  color: #333;
}

.black-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.8);
  z-index: 1;
  cursor: pointer;
}