#modal-firmware,
#modal-manual {
  display: none;
}

#modal-firmware.is-open,
#modal-manual.is-open {
  display: block;
}

.modal {
  z-index: 40000;
}

.modal__overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.modal__container {
  width: 100%;
  max-width: 800px;
  max-height: 100vh;
  margin-right: 20px;
  margin-left: 20px;
  padding: 30px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  background-color: transparent;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.25;
}

.modal__close {
  border: 0;
  background: transparent;
}

.modal__header .modal__close:before {
  content: "\2715";
}

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: rgba(0,0,0,.8);
  line-height: 1.5;
}

.modal__btn {
  transform: translateZ(0);
  width: 100%;
  max-width: 320px;
  margin: 0;
  padding-top: 20px;
  padding-right: 1rem;
  padding-bottom: 20px;
  padding-left: 1rem;
  overflow: visible;
  border-width: 0;
  border-style: none;
  border-radius: 4px;
  background-color: #1b95e0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.15;
  text-transform: none;
  cursor: pointer;
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out, -webkit-transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;

  -webkit-appearance: button;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}

.modal__btn:focus,
.modal__btn:hover {
  transform: scale(1.05);

  -webkit-transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}



/**************************\
  Demo Animation Style
\**************************/
@-webkit-keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@-webkit-keyframes mmslideIn {
  from {
    -webkit-transform: translateY(15%);
    transform: translateY(15%);
  }
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes mmslideIn {
  from {
    -webkit-transform: translateY(15%);
    transform: translateY(15%);
  }
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes mmslideOut {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
  }
}

@keyframes mmslideOut {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  -webkit-animation: mmfadeIn .3s cubic-bezier(.0, .0, .2, 1);
  animation: mmfadeIn .3s cubic-bezier(.0, .0, .2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  -webkit-animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  -webkit-animation: mmfadeOut .3s cubic-bezier(.0, .0, .2, 1);
  animation: mmfadeOut .3s cubic-bezier(.0, .0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  -webkit-animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}



/**************************\
Common
\**************************/
.sec {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sec::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  content: "";
}

.sec01 {
  background-image: url(img/bg-01.jpg);
}

.sec02 {
  background-image: url(img/bg-02.jpg);
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.content {
  flex: 0 0 100%;
  position: relative;
  z-index: 2;
  max-width: 100%;
  text-align: center;
}

.heading {
  margin-bottom: 20px;
  color: #fff;
  font-size: 28px;
}

.modal__footer {
  margin-right: auto;
  margin-left: auto;
  padding: 20px 0;
}

.modal__footer button {
  width: 100%;
  max-width: 120px;
  margin: 0;
  padding: .5rem 1rem;
  overflow: visible;
  border-width: 0;
  border-radius: 4px;
  color: #000;
  font-size: 1rem;
  line-height: 1.15;
  text-transform: none;
  cursor: pointer;

  -webkit-appearance: button;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}