
body {
    font-family: "Kaisei Decol", serif;
}

.recruit-message {
    width: 90%;
    max-width: 1300px;

    margin: 70px auto 0;
    padding: 25px 40px;

    box-sizing: border-box;

    text-align: center;
}

.recruit-message-text {
    width: 90%;

    margin: 0 auto;

    font-size: clamp(18px, 1.5vw, 23px);
    font-family: "Inria Serif", "Noto Serif JP", serif;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.75;
    text-align: center;
}

.recruit-message .button1 {
    margin-top: 20px;
}

.recruit-requirements {
    width: 90%;
    max-width: 1300px;

    margin: 50px auto 0;
    padding: 40px 45px;

    box-sizing: border-box;

    background-color: #EAF7F8;

    border: 10px solid #ffffff;
    border-radius: 25px;

    box-shadow: 15px 15px 20px rgb(138, 135, 135);
}

.recruit-section-title {
    width: fit-content;

    margin: 0 auto 45px;
    padding: 0 35px 10px;

    border-bottom: 1px solid #555555;

    font-size: clamp(27px, 3vw, 38px);
    font-weight: 400;

    text-align: center;
}

.requirement-list {
    width: 95%;

    margin: 0 auto;
    padding: 0;
}

.requirement-item {
    display: grid;

    grid-template-columns: 220px 1fr;

    align-items: stretch;

    border-bottom: 1px solid #777777;
}

.requirement-item:last-child {
    border-bottom: none;
}

.requirement-item dt {
    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px 15px;

    box-sizing: border-box;

    border-right: 1px solid #777777;

    font-size: clamp(22px, 1.7vw, 28px);
    font-weight: 400;

    text-align: center;
}

.requirement-item dd {
    margin: 0;
    padding: 25px 30px;

    box-sizing: border-box;

    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.8;
}

.requirement-item dd p {
    margin: 0 0 15px;
}

.requirement-item dd p:last-child {
    margin-bottom: 0;
}

.curriculum-section {
    width: 92%;
    max-width: 1350px;

    margin: 120px auto 0;
}

.curriculum-list {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 35px;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}

.curriculum-card {
    min-height: 260px;

    padding: 28px 22px;

    box-sizing: border-box;

    background-color: #EAF7F8;

    border: 8px solid #ffffff;
    border-radius: 20px;

    box-shadow: 12px 12px 18px rgb(138, 135, 135);

    text-align: center;
}

.curriculum-title {
    margin: 0 0 25px;

    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 400;
}

.curriculum-text {
    margin: 0;

    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.7;

    text-align: center;
}

.application-section {
    width: 92%;
    max-width: 1350px;

    margin: 120px auto 0;
}

.application-list {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    column-gap: 35px;
    row-gap: 45px;

    width: 92%;

    margin: 0 auto;
    padding: 0;

    list-style: none;
}

.application-card:nth-child(1) {
    grid-column: 1 / 3;
}

.application-card:nth-child(2) {
    grid-column: 3 / 5;
}

.application-card:nth-child(3) {
    grid-column: 5 / 7;
}

.application-card:nth-child(4) {
    grid-column: 2 / 4;
}

.application-card:nth-child(5) {
    grid-column: 4 / 6;
}

.application-card {
    min-height: 210px;

    padding: 30px 25px;

    box-sizing: border-box;

    background-color: #EAF7F8;

    border: 8px solid #ffffff;
    border-radius: 20px;

    box-shadow: 12px 12px 18px rgb(138, 135, 135);

    text-align: center;
}

.application-title {
    margin: 0 0 25px;

    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 400;
}

.application-text {
    margin: 0;

    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.7;

    text-align: center;
}

.entry-section {
    width: 72%;
    max-width: 1050px;

    margin: 120px auto 80px;
    padding: 45px 40px;

    box-sizing: border-box;

    background-color: #EAF7F8;

    border: 10px solid #ffffff;
    border-radius: 25px;

    box-shadow: 15px 15px 20px rgb(138, 135, 135);

    text-align: center;
}

.entry-title {
    margin: 0 0 25px;

    font-size: clamp(27px, 3vw, 38px);
    font-weight: 400;
}

.entry-text {
    margin: 0;

    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.7;
}

.entry-section .button1 {
    margin-top: 25px;
}

 @media (max-width: 1200px) {

        .recruit-message {
        width: 92%;
        padding: 25px 30px;
    }

    .recruit-requirements {
        width: 92%;
        padding: 35px 30px;
    }

    .requirement-list {
        width: 96%;
    }

    .requirement-item dd {
        padding: 25px 20px;
    }

    .curriculum-section {
        width: 92%;
        margin-top: 100px;
    }

    .curriculum-list {
        grid-template-columns: repeat(2, 1fr);

        gap: 30px;
    }

    .application-section {
        width: 92%;
        margin-top: 100px;
    }

    .application-list {
        width: 100%;

        column-gap: 25px;
        row-gap: 35px;
    }

    .entry-section {
        width: 82%;

        margin-top: 100px;
        padding: 40px 30px;
    }
}

/*スマホ端末用*/
@media (max-width: 768px) {

    /* 採用メッセージ */
   .recruit-message {
        width: 92%;

        margin-top: 50px;
        padding: 22px 18px;
    }

    .recruit-message-text {
        width: 100%;

        font-size: clamp(16px, 4.5vw, 20px);
        line-height: 1.7;
    }

    .recruit-message .button1 {
        margin-top: 18px;
    }


   /* 募集要項 */
    .recruit-requirements {
        width: 92%;

        margin-top: 45px;
        padding: 30px 18px;
    }

    .recruit-section-title {
        max-width: 100%;

        margin-bottom: 35px;
        padding: 0 12px 8px;

        box-sizing: border-box;

        font-size: clamp(24px, 7vw, 30px);
    }

    .requirement-list {
        width: 100%;
    }

    .requirement-item {
        display: block;

        padding: 22px 5px;
    }

    .requirement-item dt {
        display: block;

        padding: 0 0 12px;

        border-right: none;

        font-size: clamp(18px, 5vw, 22px);

        text-align: left;
    }

    .requirement-item dd {
        padding: 0;

        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.8;
    }

    .requirement-item dd p {
        margin: 0 0 12px;
    }


    /* 未経験者向けカリキュラム */
    .curriculum-section {
        width: 92%;

        margin-top: 80px;
    }

    .curriculum-list {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .curriculum-card {
        min-height: 0;

        padding: 25px 20px;

        border-width: 5px;
        border-radius: 18px;

        box-shadow: 8px 8px 14px rgb(138, 135, 135);
    }

    .curriculum-title {
        margin-bottom: 20px;

        font-size: clamp(20px, 5vw, 24px);
    }

    .curriculum-text {
        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.8;
    }


    /* 応募ステップ */
    .application-section {
        width: 92%;

        margin-top: 80px;
    }

    .application-list {
        grid-template-columns: 1fr;

        width: 100%;

        gap: 25px;
    }

    .application-list .application-card {
        grid-column: auto;
    }

    .application-card {
        min-height: 0;

        padding: 25px 20px;

        border-width: 5px;
        border-radius: 18px;

        box-shadow: 8px 8px 14px rgb(138, 135, 135);
    }

    .application-title {
        margin-bottom: 20px;

        font-size: clamp(20px, 5vw, 24px);
    }

    .application-text {
        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.8;
    }


    /* エントリー */
    .entry-section {
        width: 92%;

        margin: 80px auto 60px;
        padding: 30px 20px;

        border-width: 5px;
        border-radius: 20px;

        box-shadow: 8px 8px 14px rgb(138, 135, 135);
    }

    .entry-title {
        margin-bottom: 20px;

        font-size: clamp(24px, 7vw, 30px);
    }

    .entry-text {
        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.7;
    }

    .entry-section .button1 {
        margin-top: 20px;
    }
}

