@charset "UTF-8";

#contents .event-modal {
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: all .2s ease-out;
  visibility: hidden;
  width: 100%;
  z-index: 1;
}

#contents .event-modal.open {
  opacity: 1;
  visibility: visible;
}

#contents .event-modal__overlay {
  background: #000;
  cursor: pointer;
  height: 100%;
  left: 0;
  opacity: .6;
  position: absolute;
  top: 0;
  width: 100%;
}

#contents .event-modal__body {
  background: #FFF;
  overflow-x: hidden;
  overflow-y: auto;
}

#contents .event-modal__close {
  background: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Crect%20width%3D%2240%22%20height%3D%2240%22%2F%3E%3Cg%20transform%3D%22translate(10%2010)%22%3E%3Cpath%20d%3D%22M19.293%2C20.707l-20-20L.707-.707l20%2C20Z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M.707%2C20.707-.707%2C19.293l20-20L20.707.707Z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') center/contain no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  position: absolute;
  text-indent: 100%;
  white-space: nowrap;
}

#contents .event-modal__index {
  display: block;
  line-height: 1.5;
  margin-bottom: 24px;
  position: relative;
}

#contents .event-modal__index:before {
  border-bottom: 1px solid #000;
  bottom: 0;
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 1;
}

#contents .event-modal__index span {
  border-bottom: 2px solid #009966;
  display: inline-block;
  height: 100%;
  padding-bottom: 8px;
  position: relative;
  z-index: 2;
}

#contents .event-modal select::-ms-expand {
  display: none;
}

#contents .event-modal select {
  appearance: none;
  background: #FFF url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2211.314%22%20height%3D%2211.314%22%20viewBox%3D%220%200%2011.314%2011.314%22%3E%3Cg%20transform%3D%22translate(-720.721%20-837.999)%22%3E%3Cpath%20d%3D%22M0%2C8V0H1.249V6.752H8V8Z%22%20transform%3D%22translate(720.721%20843.656)%20rotate(-45)%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') right 14px center/11.31px auto no-repeat;
  border: 1px solid #000;
  display: block;
  font-size: 16px;
  line-height: normal;
  padding: 0 40px 0 16px;
  width: 100%;
}

#contents .event-modal a {
  align-items: center;
  background: #009966;
  color: #FFF;
  display: flex;
  font-size: 16px;
  font-weight: bold;
  height: 48px;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  width: 240px;
}

@media screen and (min-width: 768px) {
  #contents .event-modal__body {
    border: 4px solid #000;
    left: 50%;
    max-height: 100%;
    max-width: 640px;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }

  #contents .event-modal__close {
    height: 40px;
    right: -4px;
    top: -4px;
    width: 40px;
  }

  #contents .event-modal__index {
    font-size: 1.5rem;
  }

  #contents .event-modal select {
    height: 40px;
  }

  #contents .event-modal a {
    margin-top: 40px;
    transition: opacity .2s ease-out;
  }

  #contents .event-modal a:hover {
    opacity: .7;
  }
}

@media only screen and (max-width: 767px) {
  #contents .event-modal {
    transform: translateY(20px);
  }

  #contents .event-modal.open {
    transform: translateY(0);
  }

  #contents .event-modal__body {
    height: 100%;
    padding: 107px 16px 0;
  }

  #contents .event-modal__close {
    height: 32px;
    right: 0;
    top: 0;
    width: 32px;
  }

  #contents .event-modal__index {
    font-size: 1.125rem;
  }

  #contents .event-modal select {
    height: 44px;
  }

  #contents .event-modal a {
    margin-top: 24px;
  }
}

.cpplication_bottom {width: 100%;}
