html,
body {
  scroll-behavior: unset;
}

html {
  overflow-y: scroll;
}

@media screen and (max-width: 767px) {
  .header {
    box-shadow: unset;
  }
}

@media screen and (max-width: 767px) {
  .page__sp-header--job-list {
    border-bottom: 0.5px rgba(184, 184, 184, 0.4) solid;
  }
}

.page-job-list {
  background: #F8F8F8;
}

.page-job-list .date-flicking-wrapper {
  width: 100%;
  position: relative;
}

.page-job-list .date-flicking-wrapper .flicking-viewport {
  padding-bottom: 0;
}

.job-list__content {
  background: #f8f8f8;
  flex-grow: 1;
}

.job-list__title {
  height: 93px;
  align-items: center;
  justify-content: center;
  top: 100px;
  z-index: 100;
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
  .job-list__title {
    top: 60px;
  }
}

.job-list__tabs {
  height: 53px;
  background: #fff;
  top: 193px;
  z-index: 100;
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
  .job-list__tabs {
    top: 153px;
  }
}

@media screen and (max-width: 767px) {
  .job-list__tabs {
    top: 60px;
    height: 41px;
  }
}

.job-list__tabs .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  height: 100%;
}

.job-list__tab {
  color: #868686;
  padding-bottom: 11px;
  padding-top: 11px;
  border-bottom: 3px solid #EDEDED;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

@media screen and (max-width: 767px) {
  .job-list__tab {
    padding-bottom: 10px;
  }
}

.job-list__tab span:first-child {
  font-weight: 700;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .job-list__tab span:first-child {
    font-size: 12px;
    line-height: 1;
  }
}

.job-list__tab--active {
  color: #333;
  border-bottom: 3px solid #F85858;
}

.job-list__dates {
  background: #fff;
  border-bottom: 0.3px solid #ddd;
  background: white;
  z-index: 100;
}

.job-list__dates>.container {
  padding-block: 32px 16px;
  display: flex;
  gap: 8px;
}

@media screen and (max-width: 767px) {
  .job-list__dates>.container {
    width: 95%;
    max-width: 95%;
    margin-inline: calc(50% - 45vw);
    padding-block: 11px;
  }
}

.job-list__dates--slider {
  padding-right: 24px;
}

.job-list__dates--arrow--prev,
.job-list__dates--arrow--next {
  width: 20px;
  height: 20px;
}

.job-list__dates--arrow--prev:before,
.job-list__dates--arrow--prev:after,
.job-list__dates--arrow--next:before,
.job-list__dates--arrow--next:after {
  all: unset;
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
}

@media screen and (max-width: 767px) {

  .job-list__dates--arrow--prev,
  .job-list__dates--arrow--next {
    display: none;
  }
}

.job-list__dates--arrow--prev {
  background-image: url("/img/renewal/img/common/slide-arrow-prev.svg");
  left: -44px;
}

.job-list__dates--arrow--next {
  background-image: url("/img/renewal/img/common/slide-arrow-next.svg");
  right: -44px;
}

.job-list__dates--item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 68px;
  gap: 10px;
  background: #fff;
  border: 0.3px solid #ddd;
  border-radius: 6px;
  flex-shrink: 0;
  cursor: pointer;
}

.job-list__dates--item.holiday {
  background-color: #FFE9E8;
}

.job-list__dates--item:not(:last-child) {
  margin-right: 5px;
}

.job-list__dates--item:not(:first-child) {
  margin-left: 5px;
}

.job-list__dates--item--date {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.job-list__dates--item--wday {
  font-size: 13px;
  font-weight: 700;
  color: #868686;
  line-height: 1;
}

.job-list__dates--item--wday--sat {
  color: #5FB4F9;
}

.job-list__dates--item--wday--sun {
  color: #FF4453;
}

.job-list__dates--item--wday--last {
  color: #333333;
}

.job-list__dates--item.selected {
  background: #FF7974;
  color: #fff;
  border: none;
}

.job-list__dates--item.selected .job-list__dates--item--wday {
  color: #fff;
}

.job-list__narrow-down-small {
  background: #fff;
  border-bottom: 0.3px solid #ddd;
  background: white;
  z-index: 9;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 767px) {
  .job-list__narrow-down-small>.container {
    width: 95%;
    max-width: 95%;
    margin-inline: calc(50% - 45vw);
    padding-right: 20px;
  }
}

.job-list__narrow-down-small.visible {
  top: 359px;
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
  .job-list__narrow-down-small.visible {
    top: 303px;
  }
}

@media screen and (max-width: 767px) {
  .job-list__narrow-down-small.visible {
    top: 217px;
  }
}

.job-list__narrow-down-small>.container {
  padding-block: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
}

@media screen and (max-width: 767px) {
  .job-list__narrow-down-small>.container {
    padding-block: 20px;
  }
}

.job-list__narrow-down-small--button {
  width: 11.14px;
  cursor: pointer;
  margin-right: 8px;
}

.job-list__narrow-down-small--item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 14px;
  background: #EDEDED;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  .job-list__narrow-down-small--item {
    padding: 4px 12px;
    border-radius: 11px;
  }
}

.job-list__narrow-down-small--item:hover {
  cursor: pointer;
}

.job-list__narrow-down-small--item--text {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.job-list__narrow-down-small--item--badge {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4453;
  background: #fff;
  font-size: 9px;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  line-height: 14px;
  margin-left: 4px;
  position: relative;
  top: -1px;
}

@media screen and (max-width: 767px) {
  .job-list__narrow-down-small--item--badge {
    width: 12px;
    height: 12px;
    line-height: 12px;
  }
}

.job-list__narrow-down-small--item.selected__multiple .job-list__narrow-down-small--item--text {
  color: #333333;
}

.job-list__narrow-down-small--item.selected__single {
  background: #FF4453;
}

.job-list__narrow-down-small--item.selected__single .job-list__narrow-down-small--item--text {
  color: #fff;
}

.job-list__narrow-down-large {
  background: #fff;
}

.job-list__narrow-down-large--sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .job-list__narrow-down-large--pc {
    display: none;
  }

  .job-list__narrow-down-large--sp {
    display: block;
  }
}

.job-list__narrow-down-large>.container {
  padding-top: 20px;
}

@media screen and (max-width: 767px) {
  .job-list__narrow-down-large>.container {
    padding-top: 12px;
  }
}

.job-list__narrow-down-large--title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.job-list__narrow-down-large--items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 7px 9px;
}

.job-list__narrow-down-large--item {
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-block: 14px 11px;
  cursor: pointer;
}

.job-list__narrow-down-large--item--icon {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
}

.job-list__narrow-down-large--item--title {
  font-size: 11px;
  font-weight: 700;
}

.job-list__narrow-down-large--item--active {
  background: #FF4453;
  color: #fff;
}

.job-list__jobs {
  background: #fff;
}

.job-list__jobs>.container {
  padding-block: 24px;
  padding-bottom: 60px;
  width: calc(100% - 100px);
  max-width: 900px;
}


@media screen and (max-width: 767px) {
  .job-list__jobs>.container {
    padding: 16px 0 60px;
    width: 90%;
    max-width: 90%;
  }
}

.job-list__jobs--list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 46px 28px;
}

@media screen and (max-width: 767px) {
  .job-list__jobs--list {
    grid-template-columns: 1fr 1fr;
    gap: 19px 9px;
  }
}

.job-list__jobs--list:has(.no-entry__container) {
  display: block;
}

.job-list__jobs .page-pagination {
  padding-block: 40px 10px;
}

.job-list__jobs--button {
  font-weight: 700;
  margin-top: 60px;
}

@media screen and (max-width: 767px) {
  .job-list__jobs--button {
    margin-top: 24px;
  }
}

.job-list__modal--title {
  padding-block: 0;
}

.job-list__modal--title span {
  font-weight: 700;
}

.job-list__modal--title>.container {
  font-weight: 700;
  padding-block: 36px 16px;
  position: relative;
}

.job-list__modal--close,
.job-list__modal--back {
  position: absolute;
  bottom: 18px;
}

.job-list__modal--close:hover,
.job-list__modal--back:hover {
  cursor: pointer;
}

.job-list__modal--back {
  padding: 8px 12px;
  color: #FF4453;
  bottom: 9px;
  left: -6px;
  display: none;
}

.job-list__modal--back--inner {
  height: auto;
  width: 9px;
}

.job-list__modal--close {
  padding: 14px;
  position: absolute;
  bottom: 4px;
  right: -10px;
}

.job-list__modal--close--inner {
  width: 16px;
  height: 16px;
}

.job-list__modal--close--inner:before,
.job-list__modal--close--inner:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 21px;
  height: 2px;
  background-color: #FF4453;
}

.job-list__modal--close--inner:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.job-list__modal--close--inner:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.job-list__modal--narrow-down {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 120px;
  position: relative;
  padding-block: 36px 50px;
}

.job-list__modal--narrow-down>.container {
  max-width: 500px;
}

.job-list__modal--narrow-down--items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.job-list__modal--narrow-down--items--title {
  font-size: 16px;
  font-weight: 700;
  padding-block: 60px 20px;
}

.job-list__modal--narrow-down--item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 8px;
}

.job-list__modal--narrow-down--item:hover {
  cursor: pointer;
}

.job-list__modal--narrow-down--item input[type=checkbox] {
  width: 18px;
  height: 18px;
}

.job-list__modal--narrow-down--item--save-condition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 25px;
}

.job-list__modal--narrow-down--item--save-condition input[type=checkbox] {
  width: 12px;
  height: 12px;
}

.job-list__modal--narrow-down--item--save-condition label {
  font-size: 14px;
  text-decoration: underline;
}

.job-list__modal--narrow-down--item--content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: #BFBDBD;
  cursor: pointer;
  flex-wrap: wrap;
  width: 100%;
}

.job-list__modal--narrow-down--item--content.select_sortby,
.job-list__modal--narrow-down--item--content.site_pref,
.job-list__modal--narrow-down--item--content.job_day,
.job-list__modal--narrow-down--item--content.big_category,
.job-list__modal--narrow-down--item--content.timeslots,
.job-list__modal--narrow-down--item--content.sex,
.job-list__modal--narrow-down--item--content.work_style {
  padding-right: 20px;
}

.job-list__modal--narrow-down--item--content.select_sortby::after,
.job-list__modal--narrow-down--item--content.site_pref::after,
.job-list__modal--narrow-down--item--content.job_day::after,
.job-list__modal--narrow-down--item--content.big_category::after,
.job-list__modal--narrow-down--item--content.timeslots::after,
.job-list__modal--narrow-down--item--content.sex::after,
.job-list__modal--narrow-down--item--content.work_style::after {
  content: "";
  display: block;
  width: 7px;
  height: 12px;
  background-image: url('/img/renewal/img/common/arrow-right-red.svg');
  background-size: cover;
  position: absolute;
  top: 33%;
  right: 0;
}

.job-list__modal--narrow-down--item--content span {
  line-height: 14px;
}

.job-list__modal--narrow-down--item--content img {
  height: 12px;
  width: auto;
}

.job-list__modal--narrow-down--item--content--full {
  width: 100%;
}

.job-list__modal--narrow-down--item--content--full input {
  width: 100%;
  padding: 16px;
}

.job-list__modal--narrow-down--item--content--full input::-moz-placeholder {
  font-size: 14px;
}

.job-list__modal--narrow-down--item--content--full input::placeholder {
  font-size: 14px;
}

.job-list__modal--narrow-down--item.selected-entry .job-list__modal--narrow-down--item--title {
  font-weight: 700;
}

.job-list__modal--narrow-down--item .job-list__modal--narrow-down--item--content.selected {
  color: #333;
}

.job-list__modal--narrow-down--item--full {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.job-list__modal--narrow-down--save {
  display: flex;
  align-items: center;
  margin-block: 74px 20px;
  gap: 4px;
}

.job-list__modal--narrow-down--save span {
  font-size: 14px;
}

.job-list__modal--narrow-down--save:hover {
  cursor: pointer;
}

.job-list__modal--narrow-down--buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.job-list__modal--narrow-down--buttons .page-button {
  width: 100%;
  max-width: 273px;
  font-weight: 700;
}

.job-list__banners--link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

@media screen and (max-width: 767px) {
  .job-list__banners--link {
    padding: 5px;
  }
}

.job-list__banners--image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}

.job-list__banner-modal {
  position: relative;
  border-radius: 5px;
  max-width: 500px;
  margin-inline: auto;
  background: #fff;
}

@media screen and (max-width: 767px) {
  .job-list__banner-modal {
    width: 95%;
    max-width: 95%;
  }
}

.job-list__banner-modal--image-wrapper {
  border-radius: 2px 2px 0 0;
}

.job-list__banner-modal--image {
  border-radius: 2px 2px 0 0;
}

.job-list__banner-modal--checkbox--wrapper {
  background: #fff;
  padding-block: 14px;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 2px 2px;
}

.job-list__banner-modal--checkbox--input {
  position: relative;
  top: -1px;
  border-radius: 3px;
}

.job-list__banner-modal--checkbox--label {
  font-size: 12px;
  line-height: 1;
}

.job-list__banner-modal--checkbox--label:hover {
  cursor: pointer;
}

.job-list__banner-modal--button {
  margin-top: 38px;
}

.job-list__banner-modal--close {
  position: absolute;
  top: -10px;
  right: -6px;
  width: 26px;
  height: 26px;
  z-index: 5;
}

.job-list__banner-modal--close:hover {
  cursor: pointer;
}

.no-entry__container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  padding-block: 120px;
  background: #fff;
}

@media screen and (max-width: 767px) {
  .no-entry__container {
    padding-block: 50px 40px;
  }
}

.no-entry__text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.no-entry__image {
  width: 60px;
  height: 60px;
}

/* Modal styles */

dialog.job-list-modal {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border: none;
  display: none;
  overflow: hidden;
}

.modal-content {
  border: none;
  position: absolute;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  top: 0;
  left: 0;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out, top 0.5s ease-in-out;
  overflow: hidden;
}

.modal-content.show {
  overflow: visible;
  height: 100%;
  max-height: 100%;
  opacity: 1;
  transform: translateY(0%);
}

.modal-content.no-height {
  height: 0;
  max-height: 0;
  top: 100%;
  overflow: hidden;
  visibility: hidden;
}

.modal-content--select {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  top: 0;
  left: 0;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out, top 0.5s ease-in-out;
  overflow: hidden;
}

.modal-content--select.show {
  overflow: visible;
  height: 100%;
  max-height: 100%;
  opacity: 1;
  transform: translateY(0%);
}

.modal-content--select.no-height {
  height: 0;
  max-height: 0;
  top: 100%;
  overflow: hidden;
  visibility: hidden;
}

.modal-content--select .job-list__modal--narrow-down--items {
  margin-bottom: 60px;
}

main {
  overflow: unset;
}

.job-list__modal--narrow-down--items--radio {
  gap: 8px;
}

.job-list__modal--narrow-down--item--radio {
  justify-content: flex-start;
  gap: 13px;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 8px 12px;
}

.job-list__modal--narrow-down--item--radio .job-list__modal--narrow-down--item--title {
  font-size: 15px;
}

.job-list__modal--narrow-down--item--radio.radio-selected {
  background: #FF4453;
  border: 1px solid #FF4453;
  color: #fff;
}

.job-list__modal--narrow-down--item input[type=radio] {
  display: none;
}

.job-list__modal--narrow-down--item .radio-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-image: url("/img/renewal/img/job-list/radio-unchecked.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.job-list__modal--narrow-down--item input[type=radio]:checked+.radio-icon {
  background-image: url("/img/renewal/img/job-list/radio-checked.svg");
}

.job-list__modal--narrow-down--item .job-list__modal--narrow-down--item--title {
  font-size: 16px;
  line-height: 1.5;
  width: 50%;
}

.job-list__modal--narrow-down--item {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.job-list__modal--narrow-down--item .custom-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.job-list__modal--narrow-down--item .checkbox-icon {
  position: absolute;
  right: 0;
  width: 22px;
  height: 22px;
  background-image: url("/img/renewal/img/common/unchecked.svg");
  background-size: cover;
}

.job-list__modal--narrow-down--item .custom-checkbox:checked+.checkbox-icon {
  background-image: url("/img/renewal/img/common/checked.svg");
}

.js-modal__main .custom-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.js-modal__main .custom-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.js-modal__main .checkbox-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url("/img/renewal/img/common/unchecked.svg");
  background-size: cover;
}

.js-modal__main .custom-checkbox:checked+.checkbox-icon {
  background-image: url("/img/renewal/img/common/checked.svg");
}

.job-list__modal--narrow-down--item--save-condition {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.job-list__modal--narrow-down--item--save-condition label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.job-list__modal--narrow-down--item--save-condition .custom-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.job-list__modal--narrow-down--item--save-condition .checkbox-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url("/img/renewal/img/common/unchecked.svg");
  background-size: cover;
}

.job-list__modal--narrow-down--item--save-condition .custom-checkbox:checked+.checkbox-icon {
  background-image: url("/img/renewal/img/common/checked.svg");
}

.js-modal__bg {
  width: 100%;
  height: 100%;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
}

.js-modal__main {
  width: 100%;
  height: 100%;
  top: 100%;
  left: 0;
  background: #fff;
  position: fixed;
  z-index: 1000;
  box-sizing: border-box;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
}

.js-modal__btn--close,
.js-modal__btn--back {
  margin-top: 40px;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
}

.js-modal__btn--close--fix {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 101;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.js-modal__btn--close--fix:before,
.js-modal__btn--close--fix:after {
  content: "";
  width: 20px;
  height: 2px;
  background-color: #333;
  position: absolute;
  top: 50%;
  left: 50%;
}

.js-modal__btn--close--fix:before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.js-modal__btn--close--fix:after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.js-modal__main._slideUp {
  transform: translateY(-100%);
  opacity: 1;
}

.js-modal__main._slideDown {
  transform: translateY(0);
}

.js-modal__main {
  z-index: 1001;
  overflow-y: auto;
  max-height: 100vh;
}

.job-list__modal--title>.container {
  max-width: 500px;
}

.job-list__modal--back {
  display: none;
}

.js-modal__main[data-modal]:not([data-modal=main]) .job-list__modal--back {
  display: block;
}

.job-list__modal--narrow-down--save .checkbox-icon {
  width: 20px;
  height: 20px;
  background-image: url("/img/renewal/img/common/unchecked02.svg");
}

.job-list__modal--narrow-down--item--save-condition .checkbox-icon {
  width: 20px;
  height: 20px;
  background-image: url("/img/renewal/img/common/unchecked02.svg");
}

#searchArea.fixed {
  position: fixed;
  top: 100px;
  left: 0;
  transform: translateY(0);
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

@media screen and (max-width: 1000px) {
  #searchArea.fixed {
    top: 60px;
  }
}

#searchArea.hidden {
  transform: translateY(-200%);
}

.modal-footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 15px;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  width: 100%;
}

.job-list__modal--narrow-down--items {
  padding-bottom: 0;
}