@charset "utf-8";

/*-------------------------------------------------------------------------------------------------------------------------------
* style
------------------------------------------------------------------------------------------------------------------------------- */
:root {
  --base-color: #f9f9f9;
  --primar-color: #1aa2c2;
  --txt-color: #333333;
  --txt-color-red: #cc0000;
}


/* modal
===================================================================== */
.modal__overlay {
  position: fixed;
  z-index: 20000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: block;
  width: 100%;
  height: 100%;
  padding: 100px 0;
  box-sizing: border-box;
  overflow: auto;
}
.modal__container {
  position: relative;
  padding: 0;
  width: 630px;
  margin: 0 auto;
}

.modal__content {
  display: none;
}
.modal__content.active {
  display: block;
}
.modal__content-btn {
  position: absolute;
  bottom: 136px;
  left: 40px;
}

.modal__close {
  position: absolute;
  z-index: 20;
  top: -40px;
  right: -25px;
  display: block;
  cursor: pointer;
}

@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}