body {
    /* height: 800px;  */
    /* font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", sans-serif; */
    line-height: 2rem;
}


.job-listing-box {
  width: 1080px;
  margin: 0 auto;
}

.job-listing {
    /* display: flex; */
    /* justify-content: space-between; */
    /* gap: 20px; */
    /* flex-wrap: wrap; */
}

.job-card {
    /* background-color: #fff; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(50% - 10px); /* 2カラム用の幅調整 */
    margin: 40px 3px;
    display: inline-block;
    flex-direction: column;
}

.job-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.job-info {
    padding: 15px;
    text-align: left;
}

.job-info h3 {
    font-size: 22px;
    color: #006633;
    margin-bottom: 10px;
}

.job-info p {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    line-height: 2em;
}

.apply-btn {
    text-align: center;
    padding: 15px;
    background-color: #f5f5f5;
}

.apply-btn a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 80px;
    border: 2px solid #006633;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.apply-btn a span {
    margin-left: 10px;
    transition: margin-left 0.3s ease;
}

.apply-btn a:hover {
    background-color: #006633;
    color: #fff;
}

.apply-btn a:hover span {
    margin-left: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

  .job-listing-box{
   width: min(85vw, 95vh * 0.75);  /* 横幅の計算 */
   /* height: min(95vh, 95vw / 0.75); */ /* 縦幅の計算 */
  }
  .job-listing  {
    /* display: block; */
    flex-direction: column;
  }
  .job-card {
    width: 100%;
    margin: 20px auto 0px;
  }
}
