@charset "utf-8";

/* =========================================================
共通
============================================================ */
.modal {
  height: 100vh;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.modal-none,
.modalContent {
  display: none;
}

.modal .modalOverlay {
  background: rgba(0, 0, 0, .5);
  height: 200%;
  z-index: 1;
}

.modal .modalContent {
  background-color: #fff;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  z-index: 2;
}

.modal .modalContent .modalHeader {
  background-color: #efefef;
  padding: 20px 0;
  text-align: center;
  width: 100%;
}

.modal .modalContent .modalHeader .ttl {
  font-size: 20px;
  font-weight: bold;
  margin: 5px 0;
}

.modal .modalContent .modalBody {
  box-sizing: border-box;
  padding: 1.5em;
}

/* ボタン */
.modal .modalContent .modalFooter {
  box-sizing: border-box;
  padding: 0 1.5em 1.5em;
  width: 100%;
}

.modal .modalContent .modalFooter ul.select {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.modal .modalContent .modalFooter ul.selectSingleButton {
  justify-content: center;
}

.modal .modalContent .modalFooter .select li {
  width: 48%;
}

.modal .modalContent .modalFooter .select li input {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  font-size: 15px;
  height: 45px;
  margin: 0 auto;
  text-align: center;
  transition: .3s;
  width: 100%;
}

.modal .modalContent .modalFooter .select .submitBtn {
  background: #000000;
  color: #fff;
  border: none;
}

.modal .modalContent .modalFooter .select .cancelBtn {
  background: #b2b2b2;
  color: #fff;
  border: none;
}

.fadeIn {
  animation-duration: .3s;
  animation-fill-mode: forwards;
  animation-name: fadeIn;
}

/* =========================================================
include/modalConfirmCosme.html
============================================================ */
.modalConfirmCosme .errorArea {
  margin: 1.5em 1.5em 0;
  width: auto;
}

.modalConfirmCosme .errorArea .detail {
  border: none;
  font-size: auto;
  margin-bottom: 0;
  padding: 0;
}

.modal.modalConfirmCosme .modalBody {
  padding: 1.5em 1.5em 0;
}

.modalConfirmCosme .modalBody .inputForm {
  margin: 0;
}

.modalConfirmCosme .modalBody .inputForm dl dt > div {
  white-space: normal;
}

.modalConfirmCosme .modalBody .inputForm dl dd {
  margin: 20px auto 30px;
  text-align: center;
}

.modalConfirmCosme .attentionWrap {
  margin: 1.5em;
}

.modal .attentionWrap ul.select {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin: 1.5em 0;
}

.modal .attentionWrap ul.select li {
  width: 48%;
}

.modal .attentionWrap ul.select .cancelBtn {
  background: #fff;
  border: 1px solid #a3a3a3;
  color: #010101;
}

.modal .attentionWrap ul.select li input {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  font-size: 15px;
  height: 45px;
  margin: 0 auto;
  text-align: center;
  transition: .3s;
  width: 100%;
}

.modalConfirmCosme .cannotWrap .btnArea {
  margin: 1.5em 0;
}

.modalConfirmCosme .cannotWrap .btnArea .submitBtnInversion {
  font-size: 15px;
  height: 45px;
  max-width: 220px;
}

/* =========================================================
include/modalConfirmCosmeEst.html
============================================================ */
.modalConfirmCosmeEst .modalContent .modalFooter .select li a {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  font-size: 15px;
  height: 45px;
  line-height: 15px;
  margin: 0 auto;
  padding: .4em .5em .5em;
  text-align: center;
  transition: .3s;
  width: 100%;
}

.modalConfirmCosmeEst .modalContent .modalFooter .select li a.submitBtnInversion {
  padding: .335em .5em .5em;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .modal .modalContent {
    width: 90%;
  }

  /* =========================================================
include/modalConfirmCosme.html
============================================================ */
  .modalConfirmCosme .cannotWrap .btnArea .submitBtnInversion {
    width: 100%;
  }

  /* =========================================================
  include/modalConfirmCosmeEst.html
  ============================================================ */
  .modalConfirmCosmeEst .modalContent .modalFooter .select li a {
    font-size: 13px;
    padding: .5em;
  }

  .modalConfirmCosmeEst .modalContent .modalFooter .select li a.submitBtnInversion {
    padding: .385em .5em .5em;
  }
}

@media screen and (max-width: 375px) {
  .modalConfirmCosmeEst .modalContent .modalFooter .select li a {
    font-size: 3.2vw;
    padding: 1.55vw;
  }
  .modalConfirmCosmeEst .modalContent .modalFooter .select li a.submitBtnInversion {
    padding: 1.45vw;
  }
}

@media screen and (max-width: 290px) {
  body {
    width: 280px;
  }
  .modalConfirmCosmeEst .modalContent .modalFooter .select li a {
    font-size: 2.2vw;
    padding: 3vw 1vw;
  }
  .modalConfirmCosmeEst .modalContent .modalFooter .select li a.submitBtnInversion {
    padding: 2.7vw 1vw;
  }
}
