
.m_modal h1, h2, h3, p {
  font-weight: 300;
  margin: 20px 0px;
  font-size: 18px;
}
.m_modal  h1,h2,h3 {
  line-height: 1.3;
}


#m_body .modal {
  will-change: visibility, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition-delay: $modal-delay;
}
#m_body .modal--active {
  visibility: visible;
  opacity: 1;
}
#m_body .modal--align-top {
  align-items: flex-start;
}
#m_body .modal__bg {
  background: transparent;
}
#m_body .modal__dialog {
  max-width: 600px;
}
#m_body .modal__content {
  will-change: transform, opacity;
  position: relative;
  padding: 5px 15px;
  background: #fff;
  background-clip: padding-box;
  box-shadow: 0 12px 15px 0 rgba(0,0,0,0.25);
  opacity: 0;
}
#m_body .modal__content p {
  text-align: center;
}
#m_body .modal__content--active {
  opacity: 1;
}
#m_body .modal__close {
  z-index: 1100;
  cursor: pointer;
}
#m_body .modal__trigger {
  position: relative;
  display: inline-block;
  float: left;
  width: 30%;
  margin: 1.5%;
  cursor: default !important;
  color: rgba(0,0,0,0.7);
  line-height: 1;
  cursor: pointer;
  background: #fff;
  user-select: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
#m_body .modal__trigger:hover span{text-decoration: underline;}
#m_body .modal__trigger>span {
    line-height: 50px;
}
#m_body .modal__trigger>img {
  width: 300px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
#m_body .modal__trigger--active {
  z-index: 10;
}

#m_body .modal__trigger>img:hover {
  background: #fff;
}

#m_body #modal__temp {
  will-change: transform, opacity;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 252, 247, 1) ; /*클릭할때*/
  transform: none;
  opacity: 1;
  transition: opacity 0.1s ease-out, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
/**
 * m specific CSS
 */

#m_body img {
  max-width: 100%;
}

#m_body .m-btns header h1 {
  margin: 0;
  color: rgba(0,0,0,0.54);
  font-weight: 300;
}
#m_body .m-btns .info {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column wrap;
}
#m_body .m-btns .info .buttons{
  width: 100%;
  height: 100%;
}
#m_body .m-btns p {
  text-align: center;
  color: #fff;
}
#m_body .m-btns .link {
  font-size: 20px;
}
@media (max-width: 640px) {
  #m_body .m-btns .modal__trigger {
    margin-bottom: 20px;
  }
  #m_body .modal__trigger{
    width: 46.6%;
  }
}
@media (max-width: 500px) {
  #m_body .modal__trigger>span{
    font-size: 13px;
  }
}

#m_body .m-close {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1.2rem;
  padding: 0.6rem;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
#m_body .m-close svg {
  width: 24px;
  fill: #fff;
  pointer-events: none;
  vertical-align: top;
}
#m_body .m-close:hover {
  background: rgba(0,0,0,0.6);
}
