.b-footer {
  position: relative;
}

.subs {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  z-index: 99;
}

.subs-inner {
  position: relative;
  background: #E5E5E5;
}

@media only screen and (max-width: 767.98px) {
  .subs-inner {
    margin: 0 -8px;
  }
}

.subs-body {
  width: 100%;
}

.subs-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
  z-index: 5;
  cursor: pointer;
  opacity: 0.4;
  -webkit-transition: opacity 0.1s ease;
  transition: opacity 0.1s ease;
  border-radius: 50%;
  border: 1px solid #000;
  background: url(../img/svg/close-3.svg) center no-repeat;
  background-size: contain;
}

@media only screen and (max-width: 1280px) {
  .subs-close {
    top: 11px;
    right: 9px;
  }
}

.subs-close:hover {
  opacity: 1;
}

.subs-main {
  width: 100%;
  max-width: 870px;
  margin: 0 auto;
  padding: 10px 42px;
  text-align: center;
}

@media only screen and (max-width: 767.98px) {
  .subs-main {
    padding: 10px 32px;
  }
}

@media only screen and (max-width: 374.98px) {
  .subs-main {
    padding: 10px 8px;
  }
}

.subs-success {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.15s ease;
  transition: opacity 0.15s ease;
  background: #E5E5E5;
}

.subs-success.show {
  opacity: 1;
  visibility: visible;
  display: flex !important;
}

.subs-success span {
  font-size: 12px;
  text-align: center;
  color: #1E2631;
}

.subs-toptext {
  font-size: 12px;
  line-height: 1.333;
  color: #1E2631;
}

@media only screen and (max-width: 374.98px) {
  .subs-toptext {
    padding: 0 30px;
  }
}

.subs-bottomtext {
  font-size: 11px;
  line-height: 1.272;
  color: #1E2631;
}

.subs-bottomtext a {
  color: #4d63a0;
}

.subs-mid {
  padding: 10px 0;
}

.subs-form {
  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: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.subs-form-field {
  -ms-flex-negative: 1;
  flex-shrink: 1;
  max-width: 305px;
  width: 100%;
}

.subs-form-field input {
  display: block;
  width: 100% !important;
  height: 30px;
  font-size: 12px;
  text-align: center;
  border-radius: 0 !important;
  border: 1px solid #1E2631 !important;
  background: none;
}

.subs-form-btn {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 135px;
  height: 30px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  border: none !important;
  background: #1E2631 !important;
}

.subs-form-btn:hover {
  color: #fff !important;
  background: #4d63a0 !important;
}
