@charset "utf-8";
/* ファーストビュー--------------------------------------------------------------- */
.first-view {
    background-image: url(../img/recruit/recruit_mv.jpg);
}
/* --------------------------------------------------------------- */

/* スライダーテキスト部分--------------------------------------------------------------- */
.slider-contents {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 93%;
    margin: 150px 0 0 auto;

} 

.slider-contents .text-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;

    width: 40%;
    max-width: 450px;
} 

.slider-contents h2 {
    font-family: var(--serif-text);
    font-size: 2rem;
    line-height: 1.3;
}

.slider-contents .desc {
    line-height: 2;
}
@media(max-width:800px){
    .slider-contents {
        flex-direction: column-reverse;
        width: 100%;
        justify-content: flex-start;
        gap: 5rem;
        margin: auto;
    }
    .slider-contents .text-area {
        width: 80%;
        max-width: none;
    }
}
/* --------------------------------------------------------------- */



/* スライダー--------------------------------------------------------------- */
 .infinite-slider {
    width: 55%;
    overflow: hidden;
 }

 .sd-track {
    display: flex;
    gap: 1.5rem;

    width: calc(200%);
    animation: scroll 20s linear infinite;
 }
 .slide {
    flex-shrink: 0;
    width: 25%;
    min-width: 315px;
 }

 .slide img {
    width: 100%;
    height: auto;
    display: block;
 } 

 /* アニメーション */
 @keyframes scroll {
    0%{
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
    
 } 
 @media(max-width:800px) {
    .infinite-slider {
        width: 100%;
    } 
    .slide {
        max-width: 315px;
        min-width: auto;
    }
 }


/* --------------------------------------------------------------- */

/* --------------------------------------------------------------- */
.recruit-info .title span {
    margin: 2rem 0 0 0;
}
.recruit-info .contents-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    width: 80%;
}

.recruit-info .sub-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    border-bottom: .5px solid var(--txt-black);

    padding: 0 0 2rem 0;
}

.recruit-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

@media(max-width:600px) {
    .recruit-info .contents-area {
        width: 85%;
    }
    .table-dt {
        width: 25%;
    }
    .table-dd {
        width: 70%;
    }
}
/* --------------------------------------------------------------- */

/* 表--------------------------------------------------------------- */

.table {
    display: flex;
    flex-direction: column;
}

.table-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 2rem 0;
    border-bottom: .5px solid var(--txt-black);
}
.table-dt {
    width: 20%;
}
.table-dd {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    width: 75%;
    line-height: 1.8;
}

.table-dd dt {
    font-weight: normal;
}

.table-dd ul {
    list-style-type: disc;
    margin: 0 0 0 1rem;
}
.table-dd ol {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style-type: decimal;
    margin: 
    .5rem 0 0 1rem;
}

/* 電話ボタン */
.tel-btn {
    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--btn-green);
    color: var(--txt-white);
    font-size: 1.2rem;

    width: 90%;

    margin: 30px auto 0;
    padding: .8rem 2rem;
    border-radius: 50px;
}
.tel-btn:hover {
    background: var(--btn-hover);
}

.tel-btn i {
    margin: 0 .8rem 0 0 ;
    font-size: 1.3rem;
}

@media(max-width:600px) {
    .tel-btn {
        width: 100%;
    }
}
/* --------------------------------------------------------------- */