@charset "UTF-8";

/* common */

.container {
  max-width: 850px;
  padding: 9.5rem 0 0;
}

/* modal（popup） */

.swal2-popup {
  width: 90%;
  max-width: 640px;
  height: auto;
  box-sizing: border-box;
}

.swal2-popup .swal-img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 60vh;
  margin: 0 auto 2rem;
}

.swal2-popup .swal-title {
  color: var(--main-color);
  font-family: var(--font-family-01);
  font-size: 21px;
  margin-bottom: 0.5rem;
}

.swal2-popup .swal-text {
  text-align: left;
}

.swal2-popup .swal2-confirm {
  color: #fff;
  background-color: var(--main-color);
  font-size: 15px;
  border-radius: 5px;
  padding: 10px 16px;
  transition: all 0.4s ease;
}

.swal2-popup .swal2-confirm:hover {
  opacity: 0.6;
}

.swal2-popup .swiper-button-next,
.swal2-popup .swiper-button-prev {
  color: var(--main-color);
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
}

.swal2-popup .swiper-button-next::after,
.swal2-popup .swiper-button-prev::after {
  font-size: 25px;
}

.swal2-popup .swiper-button-next:hover,
.swal2-popup .swiper-button-prev:hover {
  opacity: 0.6;
}

.swal2-popup .swiper-pagination-bullet-active {
  background-color: var(--main-color);
}

/* main */

#jobs-contents {
  margin-top: 2.5rem;
}

#jobs-contents .container {
  padding: 0;
}

#jobs-contents .item-gp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

#jobs-contents .item {
  background-color: #fff;
}

#jobs-contents .item-gp .img-box {
  margin-bottom: 0.2rem;
}

#jobs-contents .item-ttl {
  color: var(--main-color);
  display: block;
  text-align: center;
  font-family: var(--font-family-01);
  font-size: 19px;
  margin-bottom: 0.4rem;
}

#jobs-contents .item .modal-btn {
  color: #fff;
  background-color: var(--main-color);
  display: block;
  font-size: 15px;
  border: none;
  border-radius: 5px;
  padding: 10px 16px;
  margin: 0 auto 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

#jobs-contents .item .modal-btn:hover {
  opacity: 0.6;
}

@media screen and (min-width: 768px) {
  #jobs-contents .item-gp {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1200px) {
  #jobs-contents .item-gp {
    grid-template-columns: repeat(3, 1fr);
  }
}
