@charset "utf-8";

/*------------------------------------------------
video - モバイルベース
------------------------------------------------*/
.mainview_video video {
    display: block;
    width: 100%;
    overflow: hidden;
}

/*------------------------------------------------
message - モバイルベース
------------------------------------------------*/

.message_contents {
    background-image: url(../../img/home/message_back.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.message_title {
    background-image: url('../../../assets/img/home/message_italic.webp');
}


.message_text h2 {
    color: var(--mainText);
    font-family: var(--subFonts);
    font-weight: 700;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    /* margin: -3.5vh auto 2.5vh; */
    margin: 1em auto 1.5em;
}
.message_text p {
    color: var(--mainText);
    font-family: var(--mainFonts);
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 180%;
    width: calc(100% - 5%);
    margin: 0 auto;
}
.message_text p:last-child {
    margin: 1% auto 0;
}


/*------------------------------------------------
recruit - モバイルベース
------------------------------------------------*/

.recruit_contents {
    background-color: var(--mainText);
}
.recruit_title {
    background-image: url('../../../assets/img/home/recruit_italic.webp');
}

.recruit_button {
    width: calc(100% - 20%);
    margin: 5% auto 0;
}
.recruit_button_top, .recruit_button_bottom {
    display: block;
}
.recruit_button_bottom {
    margin: -1% auto 0;
}
.recruit_button img {
    width: 45vw;
    display: block;
    margin: 2vh auto;
}

/*------------------------------------------------
point - モバイルベース
------------------------------------------------*/
.point_contents {
    background-image: url(../../img/home/point_back.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.point_title {
    background-image: url('../../../assets/img/home/point_italic.webp');
    background-size: contain;
}
.point_text {
    width: calc(100% - 5%);
    margin: 0 auto;
}
.point_text h2 {
    color: var(--subText);
    font-family: var(--subFonts);
    font-weight: 700;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    margin: 2em auto;
}
.point_text p {
    color: var(--subText);
    font-family: var(--mainFonts);
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 29px;
}
.point_cta_button img {
    display: block;
    width: 200px;
    margin: 50px auto 0;
}

/*------------------------------------------------
faq - モバイルベース
------------------------------------------------*/
.faq_contents {
    background-color: var(--mainText);
}

.faq_title {
    background-image: url('../../../assets/img/home/faq_italic.webp');
}

.faq_list {
    font-family: var(--mainFonts);
    text-align: center;
    width: 95%;
    margin: 0 auto;
}
.faq_list dt {
    color: var(--subColor);
    font-size: 18px;
    font-family: var(--subFonts);
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 0.5em;
}

.faq_list dd +  dt  {
    margin-top: 1.5em;
}
.faq_list dd {
    color: var(--subText);
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;

}


/*------------------------------------------------
400px以上
------------------------------------------------*/
@media print, screen and (min-width: 400px) {

/*------------------------------------------------
point
------------------------------------------------*/

    .point_cta_button img {
        margin: 50px auto 0;
    }
}


/*------------------------------------------------
500px以上
------------------------------------------------*/
@media print, screen and (min-width: 500px) {

/*------------------------------------------------
message
------------------------------------------------*/
    .message_text h2 {
        font-size: 18px;
    }
    .message_text p {
        font-size: 12px;
    }

/*------------------------------------------------
recruit
------------------------------------------------*/

    .recruit_button {
        width: calc(100% - 20%);
    }
    .recruit_button_top, .recruit_button_bottom {
        display: flex;
        gap: 5vw;
        justify-content: center;
    }
    .recruit_button img {
        width: 20vw;
        margin: 0 auto;
    }

/*------------------------------------------------
point
------------------------------------------------*/

    .point_text {
        width: calc(100% - 5%);
    }
    .point_text h2 {
        font-size: 18px;
    }
    .point_text p {
        font-size: 12px;
    }
    .point_cta_button img {
        width: 200px;
    }

/*------------------------------------------------
faq
------------------------------------------------*/

    .faq_list dt {
        font-size: 18px;
        /* margin-bottom: 10px; */
    }
    .faq_list dd {
        font-size: 12px;
    }
}


/*------------------------------------------------
600px以上
------------------------------------------------*/
@media print, screen and (min-width: 600px) {

/*------------------------------------------------
faq
------------------------------------------------*/
    .faq_contents {
        padding: 60px 1em 110px;
    }
    /* .faq_list dd {
        margin-bottom: auto;
    } */
}


/*------------------------------------------------
700px以上
------------------------------------------------*/
@media print, screen and (min-width: 700px) {

/*------------------------------------------------
message
------------------------------------------------*/

    .message_text h2 {
        font-size: 21px;
        /* line-height: 35px; */
    }
    .message_text p {
        font-size: 13px;
        line-height: 29px;
    }

/*------------------------------------------------
point
------------------------------------------------*/
    .point_text h2 {
        /* margin: 0 auto 30px; */
        font-size: 21px;
    }
    .point_text p {
        font-size: 13px;
        line-height: 29px;
    }
    .point_cta_button img {
        width: 250px;
        margin: 70px auto 0;
    }

/*------------------------------------------------
faq
------------------------------------------------*/

    .faq_list dt {
        font-size: 21px;
    }
    .faq_list dd {
        font-size: 13px;
        /* line-height: 29px; */
    }
}



/*------------------------------------------------
1000px以上
------------------------------------------------*/
@media print, screen and (min-width: 1000px) {


/*------------------------------------------------
message
------------------------------------------------*/

    .message_text h2 {
        font-size: 24px;
        /* line-height: 36px; */
        /* margin: 0.1vh auto 2.8vh; */
    }
    .message_text p {
        font-size: 16px;
        line-height: 28px;
    }
    /* .message_text p:last-child {
        margin: 1% auto 0;
    } */


/*------------------------------------------------
point
------------------------------------------------*/

    .point_text h2 {
        font-size: 24px;
        /* line-height: 36px; */
        /* margin: 1vh auto 3vh; */
    }
    .point_text p {
        font-size: 16px;
        line-height: 28px;
    }
    .point_cta_button img {
        width: 300px;
        margin: 7vh auto 0;
    }

/*------------------------------------------------
faq
------------------------------------------------*/
    .faq_list {
        margin: 3em auto 0;
    }
    .faq_list dt {
        font-size: 24px;
        /* line-height: 36px; */
        /* margin: 3vh auto 2.8vh; */
    }
    .faq_list dd {
        font-size: 16px;
        /* line-height: 28px; */
    }
}


/*------------------------------------------------
1500px以上
------------------------------------------------*/
@media print, screen and (min-width: 1500px) {


/*------------------------------------------------
message
------------------------------------------------*/

    .message_text h2 {
        font-size: 26px;
        letter-spacing: 2px;
        /* line-height: 40px; */
        /* margin-top: 0; */
    }
    .message_text p {
        font-size: 18px;
        line-height: 30px;
        letter-spacing: 1.5px;
    }

/*------------------------------------------------
recruit
------------------------------------------------*/

    .recruit_button {
        width: 1160px;
    }
    .recruit_button img {
        width: 300px;
    }

/*------------------------------------------------
point
------------------------------------------------*/

    .point_text h2 {
        font-size: 26px;
        letter-spacing: 2px;
        /* line-height: 40px; */
        /* margin: 20px auto 30px; */
    }
    .point_text p {
        font-size: 18px;
        line-height: 30px;
        letter-spacing: 1.5px;
    }
    .point_cta_button img {
        width: 330px;
        margin-top: 60px;
    }

/*------------------------------------------------
faq
------------------------------------------------*/

    .faq_list dt {
        font-size: 26px;
        letter-spacing: 2px;
        /* line-height: 40px; */
        /* margin: 20px auto 30px; */
    }
    .faq_list dd {
        font-size: 18px;
        /* line-height: 30px; */
        letter-spacing: 1.5px;
    }
}



/*------------------------------------------------
1600px以上
------------------------------------------------*/
@media print, screen and (min-width: 1600px) {


/*------------------------------------------------
mainview_video
------------------------------------------------*/
    .mainview_video {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    .mainview_video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center; /* ←中央配置を維持 */
        /* 下側の切れ対策：ほんの少しだけ上へシフト＆縮小 */
        transform: translateY(1%) scale(1.02);
        transform-origin: center center;
        display: block;
    }

/*------------------------------------------------
message
------------------------------------------------*/

    .message_text h2 {
        font-size: 30px;
    }

/*------------------------------------------------
point
------------------------------------------------*/

    .point_text h2 {
        font-size: 36px;
    }

/*------------------------------------------------
faq
------------------------------------------------*/

    .faq_list dt {
        font-size: 36px;
    }

}
