.warning img {
    object-fit: contain;
    height: 100px;
    margin-top: -20px;
}

.warning {
    padding: 30px;
    text-align: center;
}



.warning h3 {
    margin: 25px;
    font-family: "Kaisei Opti";
    color: #464646;
}
.warning li{
    text-align: left;
}

.intro-text h3 {
    font-family: "Kiwi Maru", serif;
}

.job-address {
    display: inline-block;
    margin: 40px 10px;
    text-align: left;
}



.job-list .faq-list {
    width: auto;
    gap: 100px 100px;
    margin: 80px auto;

}

.job-list li {
    height: auto;
}

.job-list img {
    object-fit: cover;
    width: 90%;
    height: 200px;

    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: -150px;
}

.job-card {
    width: 85%;
    margin: 200px auto 0 auto;

    position: relative;

    box-shadow: 0px 15px 10px rgb(180, 180, 180);
    background-color: #fcfcfc;
}

.job-card section {
    padding: 30px 15px;
    overflow: hidden;

    max-height: 300px;
    position: relative;

    transition: max-height 1s ease-out;

}

.job-card section::after {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 80px;
    content: '';

    background: linear-gradient(#00000000, #ffffff);
}

.job-card h4 {
    margin: 50px 0 10px 0;
}

.job-card p {
    margin-bottom: 10px;
}

.add-text {
    z-index: 100;
    padding: 10px;
}

.job-list li:has(:checked) .job-card section {
    max-height: 1000px;
}

.job-list li:has(:checked) .add-text::after {
    content: 'ー';
}

.job-list li:has(:checked) .job-card section::after {
    background: #00000000;
}







#job-info h3 {
    color: #008B9D;
}

#job-info h4 {
    margin-top: 30px;
}

#job-info ul {
    display: table;
    margin: 0px auto 70px auto;
    color: #464646;
}








@media only screen and (min-width: 600px) and (max-width: 1024px){
    .job-list img {
        width: 350px;
        height: 240px;
        top: 0px;

    }
    .job-card{
        width: 300px;
    }
}


@media only screen and (min-width: 1024px) {
    .warning img {
        height: 120px;
        margin-top: 0px;
    }
    
    .warning {
        padding: 60px 30px;
    }
    .warning section {
        margin: 50px 0 120px 0;
    }
    .job-address {
        margin: 90px 0 30px 0;
    }
    

    
    .job-list img {
        width: 550px;
        height: 300px;

        top: 0px;
    }
    
    .job-card {
        width: 500px;
        margin: 230px auto 0 auto;
    }
    
    .job-card section {
        max-height: 300px;
    }
    

    
    .job-list li:has(:checked) .job-card section {
        max-height: 1100px;
    }
    
}