#_modal_ {
  width: 90vw;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: white;
  border: none;
  max-width: calc(100vw - 48px);
  overflow: hidden;
  z-index: 1500;
  transition: all 300ms;
  text-align: center;
  border-radius: 1.3vw;
  -webkit-border-radius: 1.3vw;
  -moz-border-radius: 1.3vw;
  -ms-border-radius: 1.3vw;
  -o-border-radius: 1.3vw;
}

#_modal_.enter,
#_modal_.leave {
  transform: translateX(-50%) translateY(-50%) scale(0);
}

#_modal_ > h1,
#_modal_ > .content {
  padding-left: 4.375vw;
  padding-right: 4.375vw;
}

#_modal_ > h1 {
  font-size: 4.375vw;
  line-height: 1.5;
  color: #333333;
  margin: 8vw auto 5.8vw;
}

#_modal_ > .content {
  font-size: 3.2vw;
  max-height: calc(90vh - 9em);
  word-break: break-all;
  overflow: auto;
  color: #666666;
  line-height: 1.5;
}

#_modal_ > .control {
  border-top: none;
  display: flex;
  min-height: 2em;
  font-size: 4.375vw;
}

#_modal_ > .control button {
  font-size: inherit;
  position: relative;
  flex: 1;
  border: none;
  padding: 1em;
  background: transparent;
  transition: all 200ms;
  cursor: pointer;
}

#_modal_ > .control button:active {
  background: #dddddd;
}

#_modal_ > .control button:nth-child(2n)::before {
  content: " ";
  width: 1px;
  height: 60%;
  top: 20%;
  left: 0;
  background: #999999;
  display: block;
  position: absolute;
}

#_modal_ > .control .confirm {
  color: #333333;
}

#_modal_ > .control .cancel {
  color: #999999;
}

#_mask_ {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: all 300ms;
}

#_modal_ .close {
  position: absolute;
  top: 3.125vw;
  right: 3.125vw;
  width: 5.625vw;
  height: 5.625vw;
  background: url(./close.png) no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
}

#_mask_.enter,
#_mask_.leave {
  opacity: 0;
}
@media screen and (min-width: 641px) {
  #_modal_ {
    max-width: 800px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
  }

  #_modal_ .close {
    width: 36px;
    height: 36px;
    top: 20px;
    right: 20px;
  }

  #_modal_ > h1,
  #_modal_ > .content {
    padding-left: 28px;
    padding-right: 28px;
  }

  #_modal_ > h1 {
    font-size: 28px;
    line-height: 1.5;
    margin: 60px auto 43px;
  }

  #_modal_ > .content {
    font-size: 20px;
  }
  #_modal_ > .control {
    font-size: 28px;
  }
  #_modal_ > .control button {
    padding: 0.75em;
  }
}