@charset "UTF-8";
.p-modal {
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  padding: 17vw 4vw 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 9999999;
}
.p-modal#modal01 {
  height: 100vh;
  padding: 17vw 4vw 5vw;
}

@supports (-webkit-touch-callout: none) {
  .p-modal#modal01 {
    /* Safari用のハック */
    height: -webkit-fill-available;
  }
}

.p-modal-bkblack {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 0;
}
.c-modalCloseBtn {
  position: absolute;
  top: 5vw;
  right: 4vw;
  width: 7vw;
  height: 7vw;
}

.p-modal__inner {
  position: relative;
  margin: 0 auto 0;
  background-color: #fff;
  max-width: 1000px;
  height: auto;
  padding: 5vw 15px 8vw;
  overflow-y: scroll;
}

#modal01 .p-modal__inner {
  height: 100%;
}

.c-modal__title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #9d9d9d;
  padding-bottom: 10px;
}
.c-modal__check {
  font-size: 14px;
  border-bottom: 1px solid #d6d6d6;
  padding: 10px 0;
}
.c-modal__check:last-child {
  border-bottom: none;
}
.c-modal__check.hp-noborder {
  border-bottom: none;
  padding-top: 5vw;
}

.c-modal__check label {
  display: inline-block;
  margin-bottom: 5px;
}
.c-modal__check label.c-modal__all {
  margin-bottom: 0;
}
.c-modal__all input[type="checkbox"]+span {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 21px;
}

.c-modal__all input[type="checkbox"]+span {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.c-modal__check input[type="checkbox"]+span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 6px;
}
/* ラベルの左に表示させる正方形のボックス□ */
.c-modal__check input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  height: 19px;
  width: 19px;
  transition:all .15s ease-out 0s;
  color: #fff;
  cursor: pointer;
  outline: none;
  border: 1px solid;
  border-color: #d6d6d6;
  border-radius: 2px;
  margin-left: 10px;
  z-index: 99;
  top: 4px;
  background-color: #fff;
}
.c-modal__check .c-modal__all input[type=checkbox] {
  top: 2px;
}
/* Checkbox */
.c-modal__check input[type=checkbox]:before,input[type=checkbox]:after {
  position: absolute;
  content: "";
  background: #cc0801;
  transition: all .2s ease-in-out;
}
.c-modal__check input[type=checkbox]:before {
  left: 2px;
  top: 6px;
  width: 0;
  height: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
.c-modal__check input[type=checkbox]:after {
  right: 9px;
  bottom: 3px;
  width: 2px;
  height: 0;
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  -o-transform: rotate(40deg);
  transition-delay: .2s;
}
.c-modal__check input[type=checkbox]:checked:before {
  left: 1px;
  top: 10px;
  width: 6px;
  height: 2px;
}
.c-modal__check input[type=checkbox]:checked:after {
  right: 5px;
  bottom: 1px;
  width: 2px;
  height: 14px;
}
.c-modal__check input[type=checkbox]:indeterminate:before,input[type=checkbox]:indeterminate:after {
  width: 7px;
  height: 2px;
  transform: rotate(0);
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
}
.c-modal__check input[type=checkbox]:indeterminate:before {
  left: 1px;
  top: 7px;
}
.c-modal__check input[type=checkbox]:indeterminate:after {
  right: 1px;
  bottom: 7px;
}
.c-modal__check input[type=checkbox]:checked+span,input[type=checkbox]:indeterminate+span {
  /* background: #2196f3; */
  position: relative;
  z-index: 9;
}

.c-modal__check input[type=checkbox]:checked+span::after, input[type=checkbox]:indeterminate+span::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  padding: 8px 5px 8px 25px;
  background-color: #f7d3e7;
  left: -25px;
  top: -8px;
  z-index: -1;
  border-radius: 5px;
}

.c-modalBtnBox {
  display: block;
  flex-wrap: wrap;
  margin: 5vw auto 0;
  justify-content: center;
}
.c-modalBtnBox__clear {
  margin-bottom: 3vw;
}
.c-modalBtnBox__clear button {
  display: block;
  border: 1px solid #cc0801;
  border-radius: 7px;
  color: #cc0801;
  width: 102px;
  height: 47px;
  line-height: 47px;
  margin: 0 auto;
  font-size: 16px;
}
.c-modalBtnBox__select button {
  display: block;
  border: 1px solid #000;
  background-color: #000;
  border-radius: 7px;
  color: #fff;
  width: 215px;
  height: 47px;
  line-height: 47px;
  font-size: 16px;
  margin: 0 auto;
}

.scroll-prevent {
  overflow: hidden;
}

@media screen and (min-width: 641px) {
  .p-modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    padding: 0 15px;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 999999;
    padding: 0;
  }
  .p-modal#modal01 {
    padding: 0;
  }
  .p-modal-bkblack {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
  }
  .c-modalCloseBtn {
    position: absolute;
    top: 50px;
    right: calc(50% - 500px);
    width: 35px;
    height: 35px;
  }
  .p-modal__inner {
    position: relative;
    margin: 123px auto 90px;
    background-color: #fff;
    max-width: 1000px;
    /* max-height: none; */
    max-height: 50%;
    height: auto;
    padding: 38px 34px 51px;
    overflow-y: scroll;
  }
  #modal01 .p-modal__inner {
    height: 80%;
  }
  .c-modal__title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #9d9d9d;
    padding-bottom: 10px;
  }
  .c-modal__check {
    font-size: 14px;
    border-bottom: 1px solid #d6d6d6;
    padding: 20px 0 0 0;
  }
  .c-modal__check:last-child {
    border-bottom: none;
  }
  .c-modal__check.hp-noborder {
    border-bottom: none;
    padding-top: 47px;
  }
  
  .c-modal__check label {
    display: inline-block;
    margin-bottom: 17px;
  }
  .c-modal__check label.c-modal__all {
    margin-bottom: 0;
  }
  .c-modal__all input[type="checkbox"]+span {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 21px;
  }
  
  .c-modal__all input[type="checkbox"]+span {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 21px;
  }
  
  .c-modal__check input[type="checkbox"]+span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding-left: 6px;
  }
  /* ラベルの左に表示させる正方形のボックス□ */
  .c-modal__check input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    height: 19px;
    width: 19px;
    transition:all .15s ease-out 0s;
    color: #fff;
    cursor: pointer;
    outline: none;
    border: 1px solid;
    border-color: #d6d6d6;
    border-radius: 2px;
    margin-left: 10px;
    z-index: 99;
    top: 4px;
    background-color: #fff;
  }
  .c-modal__check .c-modal__all input[type=checkbox] {
    top: 2px;
  }
  /* Checkbox */
  .c-modal__check input[type=checkbox]:before,input[type=checkbox]:after {
    position: absolute;
    content: "";
    background: #cc0801;
    transition: all .2s ease-in-out;
  }
  .c-modal__check input[type=checkbox]:before {
    left: 2px;
    top: 6px;
    width: 0;
    height: 2px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }
  .c-modal__check input[type=checkbox]:after {
    right: 9px;
    bottom: 3px;
    width: 2px;
    height: 0;
    transform: rotate(40deg);
    -webkit-transform: rotate(40deg);
    -moz-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    -o-transform: rotate(40deg);
    transition-delay: .2s;
  }
  .c-modal__check input[type=checkbox]:checked:before {
    left: 1px;
    top: 10px;
    width: 6px;
    height: 2px;
  }
  .c-modal__check input[type=checkbox]:checked:after {
    right: 5px;
    bottom: 1px;
    width: 2px;
    height: 14px;
  }
  .c-modal__check input[type=checkbox]:indeterminate:before,input[type=checkbox]:indeterminate:after {
    width: 7px;
    height: 2px;
    transform: rotate(0);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
  }
  .c-modal__check input[type=checkbox]:indeterminate:before {
    left: 1px;
    top: 7px;
  }
  .c-modal__check input[type=checkbox]:indeterminate:after {
    right: 1px;
    bottom: 7px;
  }
  .c-modal__check input[type=checkbox]:checked+span,input[type=checkbox]:indeterminate+span {
    /* background: #2196f3; */
    position: relative;
    z-index: 9;
  }
  
  .c-modal__check input[type=checkbox]:checked+span::after, input[type=checkbox]:indeterminate+span::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    padding: 8px 5px 8px 25px;
    background-color: #f7d3e7;
    left: -25px;
    top: -8px;
    z-index: -1;
    border-radius: 5px;
  }
  
  .c-modalBtnBox {
    display: flex;
    margin: 28px auto 0;
    justify-content: center;
  }
  .c-modalBtnBox__clear {
    margin-bottom: 0;
  }
  .c-modalBtnBox__clear button {
    border: 1px solid #cc0801;
    border-radius: 7px;
    color: #cc0801;
    width: 102px;
    height: 47px;
    line-height: 47px;
    margin-right: 20px;
    font-size: 16px;
  }
  .c-modalBtnBox__select button {
    border: 1px solid #000;
    background-color: #000;
    border-radius: 7px;
    color: #fff;
    width: 215px;
    height: 47px;
    line-height: 47px;
    font-size: 16px;
  }
  
  .scroll-prevent {
      overflow: hidden;
  }

}

