/* modalプルダウン用 Start */
.modalPulldown-fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}
.modalPulldown-pulldown {
  background: #fff;
  margin: auto;
  width: 90%;
  max-height: 77%;
  overflow: scroll;
  color: #333;
  box-shadow: 0px 0px 10px 0px #555;
  -moz-box-shadow: 0px 0px 10px 0px #555;
  -webkit-box-shadow: 0px 0px 10px 0px #555;
}
.modalPulldown-pulldown {
  overflow: auto;
}
.modalPulldown-pulldown::-webkit-scrollbar {
  /* スクロールバー本体 */
  width: 5px;
  background: #ccc;
}
.modalPulldown-pulldown::-webkit-scrollbar:horizontal {
  /* 横方向のスクロールバー本体 */
  width: 5px;
  background: #ccc;
}
.modalPulldown-pulldown::-webkit-scrollbar-thumb {
  /* スクロールバーの動く部分 */
  background: #2bb2ff;
  border-radius: 2px;
}
.modalPulldown-pulldown::-webkit-scrollbar-thumb:horizontal {
  /* 横方向のスクロールバーの動く部分 */
  background: #2bb2ff;
  border-radius: 2px;
}
.modalPulldown-pulldown::-webkit-scrollbar-track-piece:start {
  /* スクロールバーの動く部分の前 */
  background: #aaa;
}
.modalPulldown-pulldown::-webkit-scrollbar-track-piece:end {
  /* スクロールバーの動く部分の後ろ */
  background: #ccc;
}
.modalPulldown-pulldown::-webkit-scrollbar-corner {
  /* スクロールバー角 */
  background: transparent;
}

.modalPulldown-modal {
  z-index: 99;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-color: rgba(0, 0, 0, 0.3);
  text-align: center;
  display: none;
}

#experience_year_pulldown,
#req_emp_type_pulldown,
#cook_only_pulldown,
#req_date_pulldown {
  margin-top: 53%;
}
#birth_year_modal,
#req1_addr1_pulldown,
#addr1_pulldown,
#addr2_pulldown {
  margin-top: 7%;
}
#retirement_intention_pulldown,
#current_workplace_pulldown {
  margin-top: 40%;
}

.modalPulldown-pulldown ul {
  padding: 0;
  text-align: left;
}

.modalPulldown-pulldown li {
  padding: 0.6em;
  border-bottom: 1px solid #eee;
}
.modalPulldown-pulldown li:last-child {
  border-bottom: 0;
}

input[type='radio'] {
  display: none;
}

input[name='req_date_modal'] + label,
input[name='birth_year_modal'] + label,
input[name='addr1_modal'] + label,
input[name='addr2_modal'] + label,
input[name='experience_year_modal'] + label,
input[name='req_emp_type_modal'] + label,
input[name='cook_only_modal'] + label,
input[name='req1_addr1_modal'] + label,
input[name='retirement_intention_modal'] + label,
input[name='current_workplace_modal'] + label {
  box-sizing: border-box;
  width: 100%;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}

input[name='req_date_modal'] + label:after,
input[name='birth_year_modal'] + label:after,
input[name='experience_year_modal'] + label:after,
input[name='req_emp_type_modal'] + label:after,
input[name='cook_only_modal'] + label:after,
input[name='req1_addr1_modal'] + label:after,
input[name='retirement_intention_modal'] + label:after,
input[name='current_workplace_modal'] + label:after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  margin-top: -10px;
  width: 16px;
  height: 16px;
  border: 2px solid #bbb;
  border-radius: 50%;
  content: '';
}

input[name='req_date_modal'] + label:before,
input[name='birth_year_modal'] + label:before,
input[name='experience_year_modal'] + label:before,
input[name='req_emp_type_modal'] + label:before,
input[name='cook_only_modal'] + label:before,
input[name='req1_addr1_modal'] + label:before,
input[name='retirement_intention_modal'] + label:before,
input[name='current_workplace_modal'] + label:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  right: 5px;
  display: block;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ff6b6b;
  content: '';
  opacity: 0;
}
input[type='radio']:checked + label:before {
  opacity: 1;
}
input[type='radio']:checked + label:after {
  border: 2px solid #ff6b6b;
}

.modalPulldown-checked input[type='radio']:checked + label,
.modalPulldown-checked .checkCol input[type='checkbox']:checked + label {
  background: #ffa500 !important;
  border: none !important;
  color: #fff !important;
  opacity: 0.8;
}

.modalPulldown-checked input[name='addr1_modal'] + label:before,
.modalPulldown-checked input[name='addr2_modal'] + label:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  margin-top: -7px;
  width: 14px;
  height: 14px;
  content: '';
  opacity: 0;
  background: url(../img/ico_check.png) no-repeat center;
  background-size: contain;
}

.modalPulldown-checked input[type='radio']:checked + label::before,
.modalPulldown-checked .checkCol input[type='checkbox']:checked + label::before {
  opacity: 1;
}
/* modalプルダウン用 End*/
