@charset "UTF-8";
.u-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}
.u-modal__dialog {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%) translateY(-72px);
          transform: translateY(-50%) translateY(-72px);
  display: flex;
  flex-direction: column;
  margin: 72px auto;
  max-height: calc(100vh - 144px);
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
.u-modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 144px);
  overflow: hidden;
}
.u-modal__close {
  position: absolute;
  padding: 16px;
  right: 0;
  top: -36px;
  cursor: pointer;
}
.u-modal__close::before, .u-modal__close::after {
  content: "";
  height: 32px;
  width: 2px;
  position: absolute;
  background-color: #fff;
  right: 12px;
  top: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.u-modal__close::after {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.u-modal__body {
  position: relative;
  flex: 1 1 auto;
  overflow-y: auto;
}
.u-modal__modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
}
.u-modal__title {
  font-size: 18px;
  font-weight: bold;
  padding: 24px 16px 20px 16px;
  margin: 0;
}
.u-modal__title + .u-modal__main .u-modal__message,
.u-modal__title + .u-modal__main .u-modal__default-wrapper {
  padding-top: 0;
}
.u-modal__main .u-modal__title {
  margin: 24px 0 20px;
  padding: 0;
}
.u-modal__message {
  padding: 16px;
}
.u-modal__title + .dialog__message {
  margin-top: 8px;
}
.u-modal__default-wrapper {
  padding: 16px 16px 24px;
}
@media only screen and (min-width: 835px), (min-device-width: 835px) {
  .u-modal__default-wrapper a[class*=btn] {
    width: 175px;
  }
}
.u-modal__section-box {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background-color: #f6f6f6;
}
.u-modal__section-box.-yellow {
  border-color: #f4dfb4;
  background-color: #fdf7ea;
}
.u-modal__notes {
  margin: 24px 0;
  padding: 16px 20px;
  border-top: 1px solid #e5e5e5;
  background-color: #f6f6f6;
  color: #6b6b6b;
  counter-reset: number;
}
.u-modal__notes:last-child {
  margin-bottom: 0;
}
.u-modal__notes > p,
.u-modal__notes > li {
  display: flex;
  font-size: 14px;
}
.u-modal__notes > p::before,
.u-modal__notes > li::before {
  flex-shrink: 0;
  width: 2.5em;
  counter-increment: number;
  content: "※" counter(number);
}
.u-modal__footer {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
  padding: 10px 16px;
  border-top: solid 1px #e5e5e5;
}
@media only screen and (max-width: 834px) and (max-device-width: 834px) {
  .u-modal__footer > [class^=btn-] {
    max-width: calc(50% - 16px);
  }
}
.u-modal__footer > [class^=btn-] + [class^=btn-] {
  margin-left: 16px;
}
@media only screen and (max-width: 834px) and (max-device-width: 834px) {
  .u-modal__footer > [class^=btn-] + [class^=btn-] {
    margin-left: 12px;
  }
}
.u-modal-hidden {
  display: none;
}
@media only screen and (max-width: 834px) and (max-device-width: 834px) {
  .u-modal__dialog {
    -webkit-transform: translateY(-50%) translateY(-50px);
            transform: translateY(-50%) translateY(-50px);
    width: calc(100% - 32px) !important;
    max-height: calc(100vh - 100px);
    margin: 50px auto;
  }
  .u-modal__content {
    max-height: calc(100vh - 100px);
  }
}
@media only screen and (min-width: 835px), (min-device-width: 835px) {
  .u-modal__modal-bg {
    cursor: default;
  }
  .u-modal__title {
    padding: 24px 24px 24px 24px;
  }
  .u-modal__title + .u-modal__main .u-modal__message,
  .u-modal__title + .u-modal__main .u-modal__default-wrapper {
    padding-top: 0;
  }
  .u-modal__message {
    padding: 24px;
  }
  .u-modal__default-wrapper {
    padding: 24px;
  }
  .u-modal--s {
    width: 324px;
  }
  .u-modal--m {
    width: 620px;
  }
  .u-modal--l {
    width: 916px;
  }
}