@charset "utf-8";

/* mask */
.mask-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 23, 49, 0.73);
  z-index: 200;
}
.mask-modal--open {
  display: block;
}
.modal-box {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 210;
  top: 0;
  left: 0;
}
.modal-box--open {
  display: block;
}
.modal-box__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  width: 100%;
  height: 100%;
}
.modal-box__inner {
  width: 900px;
  position: relative;
  max-height: 90%;
  padding: 30px 50px;
  overflow-y: scroll;
  background-color: #fff;
}
.modal-box__inner::-webkit-scrollbar {
  display: none;
}
.modal-box__switch {
  display: none;
}
.modal-box__switch--open {
  display: block;
}
.modal-box__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.modal-box__title {
  width: calc(100% - 40px);
  padding-left: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.05em;
  background-repeat: no-repeat;
  background-position: left center;
}
.modal-box__title {
  background-size: 14px auto;
}
.modal-box__button-close {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1px solid #CCCCCC;
  background-image: url("../images/btn_close_black.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12.5px 12.5px;
  cursor: pointer;
}
.modal-box__body {
  margin-top: 15px;
  border-radius: 7px;
  border: 1px solid #EDEDED;
  padding: 10px;
}
.modal-box__field {
  max-height: 500px;
  padding: 15px;
  overflow-y: scroll;
}
.modal-box__field::-webkit-scrollbar-track {
  background-color: #F2F2F2;
  border-radius: 40px;
}
.modal-box__field::-webkit-scrollbar-thumb {
  background-color: #CCCCCC;
  border-radius: 40px;
}
.modal-box__field::-webkit-scrollbar {
  width: 6px;
}
.modal-box__footer {
  margin-top: 28px;
}
.modal-box__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.modal-box__button-clear {
  margin-right: 30px;
}
.modal-box__button-link {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.43;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
}
.modal-box__button-submit {
  width: auto;
  min-width: 250px;
  border-radius: 26px;
  padding: 15px;
  background-color: #D22D25;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.modal-box__button-submit--color-grad {
  background: transparent linear-gradient(105deg,#F0790C 0%, #F71673 10%, #D52AC9 95%, #7A48E5 100%);
}
.modal-box__button-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.43;
  letter-spacing: 0.05em;
  color: #FFF;
}

/* modal search complex */
.modal-search-complex {
  
}
.modal-search-complex__list {

}
.modal-search-complex__item {

}
.modal-search-complex__item:nth-child(n+2) {
  margin-top: 20px;
}
.modal-search-complex__title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

/* modal search select */
.modal-search-select {

}
.modal-search-select__input {
  width: auto;
  border-radius: 5px;
  border: 1px solid #D9D9D9;
  padding: 10px 35px 10px 15px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  background-image: url(../images/triangle_down_pink.svg);
  background-repeat: no-repeat;
  background-position: calc(100% - 15px);
  background-size: 6px auto;
}

/* modal search choices */
.modal-search-choices {

}
.modal-search-choices__list {
  margin-top: -12px;

  /* display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap; */
}
.modal-search-choices__list:nth-child(n+2) {
  margin-top: 20px;
  width: 100%;
}
.modal-search-choices > .modal-search-choices__list:nth-child(n+2) {
  border-top: 1px solid #E2E2E2;
  padding-top: 20px;
}
.modal-search-choices__item {
  margin-top: 12px;
  /* min-width: 20%;
  max-width: 20%; */
  padding-right: 2.5%;
}
.modal-search-choices__list--column-4 .modal-search-choices__item {
  min-width: 25%;
  max-width: 25%;
}
.modal-search-choices__item--width-full {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  padding-right: 0 !important;
}

.modal-search-choices__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.modal-search-choices__label {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.modal-search-choices__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 14px;
  width: 14px;
  background-color: #FFFFFF;
  border: 1px solid #CCCCCC;
  border-radius: 18px;
}
.modal-search-choices__label::after {
  content: "";
  position: absolute;
  height: 4px;
  width: 8px;
  left: 3px;
  top: 4px;
  border-bottom: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.modal-search-choices__input:checked + .modal-search-choices__label {
  /* color: #EC60B8; */
}
.modal-search-choices__input:checked + .modal-search-choices__label::before {
  border: 1px solid #D22D25;
  background-color: #D22D25;
  border-radius: 10px;
}

.modal-search-choices__label--big {
  padding-left: 30px;
  font-size: 16px;
}
.modal-search-choices__label--big::before {
  height: 16px;
  width: 16px;
}
.modal-search-choices__label--big::after {
  height: 5px;
  width: 9px;
  left: 3px;
  top: 4px;
}
.modal-search-choices__label + .modal-search-choices__list {
  margin-top: 0;
  padding-left: 30px;
}

.modal-search-choices__label-radio {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.modal-search-choices__label-radio::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 14px;
  width: 14px;
  background-color: #FFFFFF;
  border: 1px solid #CCCCCC;
  border-radius: 50%;
}
.modal-search-choices__label-radio::after {
  content: "";
  position: absolute;
  height: 8px;
  width: 8px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
}
.modal-search-choices__input:checked + .modal-search-choices__label-radio {
  color: #EC60B8;
}
.modal-search-choices__input:checked + .modal-search-choices__label-radio::before {
  border: 1px solid #EC60B8;
}
.modal-search-choices__input:checked + .modal-search-choices__label-radio::after {
  background-color: #EC60B8;
}

.modal-search-choices__label--big {
  padding-left: 30px;
  font-size: 16px;
}
.modal-search-choices__label--big::before {
  height: 16px;
  width: 16px;
}
.modal-search-choices__label--big::after {
  height: 5px;
  width: 9px;
  left: 3px;
  top: 4px;
}
.modal-search-choices__label + .modal-search-choices__list {
  margin-top: 0;
  /* padding-left: 30px; */
}

.modal-search__text {
  margin-top: 8px;
  font-size: 13px;
}

/*----------------------------------------
  画面の横幅が560pxまで
----------------------------------------*/
@media (max-width: 560px) {
  .modal-box__inner {
    width: 85.71vw;
    padding: 3.57vw 3.57vw 7.14vw;
  }
  .modal-box__title {
    width: calc(100% - 7vw);
    padding-left: 5.35vw;
    font-size: 4.64vw;
  }
  .modal-box__title {
    background-size: 3.21vw auto;
  }
  .modal-box__button-close {
    width: 6.6vw;
    height: 6.6vw;
    border: 0.17vw solid #CCCCCC;
    background-size: 2.05vw 2.05vw;
  }
  .modal-box__body {
    margin-top: 2.67vw;
    border-radius: 1.25vw;
    border: 0.17vw solid #EDEDED;
    padding: 2.67vw;
  }
  .modal-box__field {
    max-height: 117.21vw;
    padding: 2.67vw;
  }
  .modal-box__field::-webkit-scrollbar-track {
    border-radius: 7.14vw;
  }
  .modal-box__field::-webkit-scrollbar-thumb {
    border-radius: 7.14vw;
  }
  .modal-box__field::-webkit-scrollbar {
    width: 2.14vw;
  }
  .modal-box__footer {
    margin-top: 7.14vw;
  }
  .modal-box__button {
    /* -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse; */
  }
  .modal-box__button-clear {
    /* margin-right: 0; */
    margin-right: 5.35vw;
  }
  .modal-box__button-link {
    font-size: 3.21vw;
    line-height: 1.33;
  }
  .modal-box__button-submit {
    min-width: 42.5vw;
    border-radius: 5.71vw;
    padding: 2.67vw;
  }
  /* .modal-box__button-submit--width-auto {
    width: auto;
  } */
  .modal-box__button-text {
    font-size: 3.21vw;
    line-height: 1.33;
  }

  /* modal search complex */
  .modal-search-complex {
    
  }
  .modal-search-complex__list {

  }
  .modal-search-complex__item {

  }
  .modal-search-complex__item:nth-child(n+2) {
    margin-top: 5.35vw;
  }
  .modal-search-complex__title {
    margin-bottom: 2.14vw;
    font-size: 3.39vw;
  }

  /* modal search select */
  .modal-search-select {

  }
  .modal-search-select__input {
    border-radius: 0.89vw;
    border: 0.17vw solid #D9D9D9;
    padding: 2.67vw 7.14vw 2.67vw 3.57vw;
    font-size: 2.85vw;
    background-position: calc(100% - 3.57vw);
    background-size: 1.07vw auto;
  }

  /* modal search choices */
  .modal-search-choices__list {
    margin-top: -2.14vw;
  }
  .modal-search-choices__list:nth-child(n+2) {
    margin-top: 5.35vw;
  }
  .modal-search-choices > .modal-search-choices__list:nth-child(n+2) {
    border-top: 0.17vw solid #E2E2E2;
    padding-top: 5.35vw;
  }
  .modal-search-choices__item {
    margin-top: 2.14vw;
    min-width: 50%;
    max-width: 100%;
  }
  .modal-search-choices__list--column-4 .modal-search-choices__item {
    min-width: 50%;
    max-width: 100%;
  }
  .modal-search-choices__label {
    padding-top: 0.53vw;
    padding-left: 7.14vw;
    font-size: 3.21vw;
    line-height: 1.5;
  }
  .modal-search-choices__label::before {
    height: 5vw;
    width: 5vw;
    background-color: #FFFFFF;
    border: 0.17vw solid #CCCCCC;
    border-radius: 0.35vw;
  }
  .modal-search-choices__label::after {
    height: 1.42vw;
    width: 2.85vw;
    left: 1.07vw;
    top: 1.07vw;
    border-bottom: 0.71vw solid #FFFFFF;
    border-left: 0.71vw solid #FFFFFF;
  }
  .modal-search-choices__input:checked + .modal-search-choices__label::before {
    border: 0.17vw solid #EC60B8;
  }
  
  .modal-search-choices__label-radio {
    padding-top: 0.53vw;
    padding-left: 7.14vw;
    font-size: 3.21vw;
    line-height: 1.5;
  }
  .modal-search-choices__label-radio::before {
    height: 5vw;
    width: 5vw;
    background-color: #FFFFFF;
    border: 0.17vw solid #CCCCCC;
  }
  .modal-search-choices__label-radio::after {
    height: 3vw;
    width: 3vw;
    left: 1.17vw;
    top: 1.17vw;
  }

  .modal-search-choices__label--big {
    padding-left: 7.14vw;
    font-size: 3.39vw;
  }
  .modal-search-choices__label--big::before {
    height: 5.17vw;
    width: 5.17vw;
  }
  .modal-search-choices__label--big::after {
    height: 1.78vw;
    width: 3.21vw;
    left: 0.97vw;
    top: 0.97vw;
  }

  .modal-search-choices__label + .modal-search-choices__list {
    margin-top: 1.57vw;
    padding-left: 5.35vw;
  }

  .modal-search__text {
    margin-top: 2.14vw;
    font-size: 3.21vw;
  }
}