body {
    overflow-x: hidden;
}

/* タイトル */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('../img/採用情報.webp') no-repeat;
    background-size: cover;
    background-position: center 30%;

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .55);
    pointer-events: none;
    z-index: 2;
}

.wrap {
    width: 100%;
    padding: 24px;
    text-align: center;
    z-index: 3;
}

.hero-title {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    font-size: 48px;
    margin: 0 auto;
    color: #fff;
    letter-spacing: 0.2em;
}

.hero-subtitle {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    font-size: 32px;
    margin: 0 auto;
    color: #fff;
    letter-spacing: 0.2em;
}

.recruit {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 160px;
    padding: 0 24px;
    height: 3000px;
}

/* 背景のグレー帯 */
.recruit-rail {
    position: absolute;
    left: 24px;
    top: 40px;
    bottom: 0;
    width: 450px;
    height: 3120px;
    background-color: #f4f4f4;
    z-index: 1;
}

/* コンテンツ */
.recruit-content {
    position: relative;
    padding: 80px;
    z-index: 2;
    height: 3000px;
    background-color: #fff;
    border: 1px solid #eee;
    text-align: left;
    top: 80px;
    left: 160px;
}

.recruit-title {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    font-size: 42px;
}

.recruit-title-1 {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    font-size: 42px;
    position: relative;
    margin-top: 80px;
}


.detail {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    font-size: 24px;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px 16px;
    column-gap: 60px;
    row-gap: 40px;
    position: relative;
    margin-bottom: 80px;
}

.recruit-term {
    color: #39975c;
    grid-column: 1;
    margin: 0;
    width: 200px;
}

.recruit-desc {
    grid-column: 2;
    margin: 0;
}

hr {
  border: none;          /* デフォルトの立体ボーダーを消す */
  border-top: 2px solid #39975c;  /* 上線を好きな色・太さに */
}


@media (max-width: 798px) {

.hero-title{
    font-size: 32px;
}

.hero-subtitle {
    font-size: 20px;
}

.recruit {
    max-width: 90%;
    margin: 0 ;
    padding: 0;
    height: 2640px;
}

.recruit-rail {
    left: 0px;
    max-width: 50%;
    margin-bottom: 40px;
    height: 2600px;
}

.recruit-content {
    left: 24px;
    padding: 16px;
    height: 2500px;
}

.recruit-title {
    font-size: 22px;
}

.recruit-title-1 {
    font-size: 22px;
}


.detail {
    font-size: 16px;
    display: block;
}

.recruit-term {
    margin-bottom: 8px;
}

.recruit-desc {
    margin-bottom: 24px;
}
}

