@charset "UTF-8";

/* ===============================================
    派遣のしくみ
=============================================== */
.p-haken .l-main__contentInner {
    padding-right: 0;
    padding-left: 0;
}

.p-haken .l-main {
    margin: 0;
}

.p-haken img {
    display: block;
    height: auto;
}

/* ===============================================
    MV
=============================================== */

.p-haken__mv {
    position: relative;
    width: 100%;
}

.p-haken__mvPicture,
.p-haken__mvImage {
    display: block;
    width: 100%;
}

.p-haken__mvImage {
    height: auto;
}

.p-haken__mvInner {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 100%;
    max-width: none;
    padding-right: 60px;
    padding-left: 15%;
    box-sizing: border-box;
}

.p-haken__mvTitle,
.p-haken__mvText {
    max-width: 540px;
}

.p-haken__mvTitle {
    margin: 0 0 8px;
    font-size: 48px;
    font-weight: normal;
    color: #0089d4;
    line-height: 1.35;
    text-align: left;
}

.p-haken__mvText {
    font-size: 18px;
    margin: 0 0 15px;
    text-align: left;
    line-height: 1.7;
}

/* ===============================================
    HOW TO WORK 
=============================================== */

.p-haken__howto {
    padding: 180px 15px;
    background-repeat: no-repeat;
    background-color: #fff;

    background-image: 
        url("../img/haken_structure/howtowork_right.png"),
        url("../img/haken_structure/howtowork_left.png");
    background-size: 300px, 280px;
    background-position: 
        top 4% right 0%, 
        bottom 3% left 0%;
}


.p-haken__howtoInner {
    position: relative;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.p-haken__howtoInner {
    margin-bottom: 100px;
}

.p-haken__contentTitle {
    position: relative;
    margin: 0;
    padding-bottom: 12px;
    color: rgb(0, 64, 151);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.p-haken__contentTitle::after {
    content: "";
    width: 50px;
    height: 4px;
    background-color: rgb(0, 64, 151);
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.p-haken__subTitle {
    color: #004097;
    font-size: 27px;
    width: 100%;
    max-width: 500px;
    margin: 30px auto 0px;
    text-align: center;
    line-height: 1.3;
}

.p-haken__contentText {
    text-align: center;
    margin: 30px 0 0;
    padding-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.p-haken__contentText strong {
    color: rgb(0, 64, 151);
    font-weight: 400;
}


/* ===============================================
    HOW TO WORK カード
=============================================== */

.p-haken__howtoList {
    padding: 0;
    width: 100%;
    max-width: 1000px;
    margin: 50px auto 0;
}

.p-haken__howtoItem {
    margin: 0 0 40px;
    list-style: none;
    background-color: #fff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

.p-haken__howtoItem::last-child {
    margin-bottom: 0;
}

.p-haken__howtoLink {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: opacity .3s;
    color: #353e47;
}

.p-haken__howtoLink {
    display: grid;
    grid-template-columns: 43% 57%;
    grid-template-areas: "body image";
    min-height: 140px;
    color: #04547d;
    text-decoration: none;
    transition: opacity .3s;
}

.p-haken__howtoLink:hover {
    text-decoration: none;
    opacity: .7;
}

.p-haken__howtoBody {
    grid-area: body;
    display: flex;
    align-items: center;
    padding: 20px 35px;
    box-sizing: border-box;
}

.p-haken__howtoTitle {
    color: #04547d;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;

    position: relative;
    display: inline-flex;
    align-items: center;
}

.p-haken__howtoTitle::before {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background-image: url("../img/haken_structure/arrow_icon.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
}

.p-haken__howtoImage {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.p-haken__howtoPicture {
    grid-area: image;
    display: block;
    overflow: hidden;
    clip-path: polygon(17.3% 0, 100% 0, 100% 100%, 0 100%);
}

/* ===============================================
    下部登録
=============================================== */

.p-haken__footerRegistration {
    padding: 80px 0;
    background: 
        url("../img/haken_structure/bg_foot.jpg")
        no-repeat center / cover;
        background-attachment: fixed;
}

.p-haken__footerRegistrationInner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 960px;
    width: 90%;
    gap: 0px;
    margin: 0px auto;
}

.p-haken__footerText,
.p-haken__footerAction {
    /* margin: 0px auto; */
    text-align: center;
}

.p-haken__footerAction {
    padding: 0;
    margin: 0;
}

.p-haken__footerText {
    margin: 0 auto;
    margin-top: 30px;
}


.p-haken__iconTitle  {
    position: relative;
    margin: 40px 0 40px;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    line-height: 1.4;
}

.p-haken__iconTitle::before {
    position: absolute;
    left: 50%;
    top: -100%;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    transform: translateX(-50%) translateY(-50%);
}

.p-haken__iconTitle--smartphone::before {
    width: 70px;
    height: 70px;
    background-image: url("../img/haken_structure/entry.svg");

}

.p-haken__footerRegistrationInner .p-haken__iconTitle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 15px;
    font-size: 30px;
    font-weight: normal;
    margin: 40px 0 0;
}

.p-haken__largeButton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 393px;
    margin: 0 auto;
    padding: 1em;
    box-sizing: border-box;
    color: #fff;
    background: linear-gradient(-90deg, #14baf8, #1993d6);
    border-radius: 50px;
    box-shadow: 0 0 25.6px 6.4px rgba(83, 83, 83, .2);
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1.2px;
    text-align: center;
    transition: all .5s;
}

.p-haken__largeButton:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(2px);
}

.p-haken__telephone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 0;
}

.p-haken__telephone::before {
    width: 30px;
    height: 30px;
    background:
        url("../img/haken_structure/tel.svg")
        no-repeat center / 100%;
    content: "";
}

.p-haken__telephone a {
    color: #333;
    font-size: 30px;
}

.p-haken__telephone span {
    font-size: 18px;
}


/* =====================================================================
    SP
======================================================================= */

@media screen and (max-width: 768px) {

/* ===============================================
    MV
=============================================== */
    .p-haken__mvInner {
        display: none;
    }

    .p-haken__mvImage {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .p-haken__mvTitle {
        font-size: 30px;
    }

/* ===============================================
    HOW TO WORK
=============================================== */
    .p-haken__howto {
        padding: 60px 27px;
        background-size: 150px, 170px;
        background-position: 
            top 3% right 0%, 
            bottom 3% left 4%;
    }

    .p-haken__howtoInner {
        max-width: 500px;
    }


    .p-haken__contentTitle {
        font-size: 24px;
        padding-bottom: 9px;
    }

    .p-haken__contentTitle::after {
        width: 40px;
    }

    .p-haken__subTitle {
        font-size: 18px;
    }

    .p-haken__contentText {
        width: 100%;
        max-width: 500px;
        margin: 30px auto 0;
        text-align: left;
    }

    .p-haken__howtoList {
        margin-top: 60px;
    }

    .p-haken__howtoItem {
        margin-bottom: 38px;
        overflow: hidden;
        border-radius: 20px;
        box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.12);
    }
    
    .p-haken__howtoLink {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .p-haken__howtoPicture {
        order: 1;
        width: 100%;
        clip-path: none;
    }

    .p-haken__howtoImage {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .p-haken__howtoBody {
        order: 2;
        min-height: 72px;
        padding: 14px 20px;
    }

    .p-haken__howtoText {
        min-height: 0;
    }

    .p-haken__howtoTitle {
        text-align: center;
        align-items: center;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .p-haken__howtoTitle::before {
        display: none;
    }

    .p-haken__howtoTitle::after {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        margin-right: 10px;
        background-image: url("../img/haken_structure/arrow_icon.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        content: "";
    }

/* ===============================================
    下部登録
=============================================== */

    .p-haken__footerRegistrationInner {
        display: block;

    }

    .p-haken__footerRegistrationInner .p-haken__iconTitle {
        font-size: 24px;
    }

    .p-haken__footerRegistrationInner .p-haken__iconTitle::before {
        top: -125%;
    }

    .p-haken__footerText p {
        margin: 10px 10px 15px 10px;
    }
    
    .p-haken__footerAction .p-haken__largeButton {
        font-size: 24px;
        padding: 1.1em;
        width: 280px;
        
    }

    .p-haken__footerAction {
        margin-top: 30px;
    }

    .p-haken__telephone {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        align-items: center;
        gap: 5px 10px;
    }

    .p-haken__telephone span {
        grid-column: 1 / -1;
        display: block;
    }

}


@media screen and (min-width: 769px) and (max-width: 1023px) { 

    .p-haken__mvTitle {
        font-size: 30px;
    }

    .p-haken__howtoList {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }

    /* .p-haken__footerRegistrationInner .p-haken__iconTitle {
        font-size: 24px;
    }

    .p-haken__telephone {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        align-items: center;
        gap: 5px 10px;
    }

    .p-haken__telephone span {
        grid-column: 1 / -1;
        display: block;
    }

    .p-haken__footerRegistrationInner {
        max-width: 627px;
    } */


    .p-haken__footerRegistrationInner {
        display: block;

    }

    .p-haken__footerRegistrationInner .p-haken__iconTitle {
        font-size: 24px;
    }

    .p-haken__footerRegistrationInner .p-haken__iconTitle::before {
        top: -125%;
    }

    .p-haken__footerText p {
        margin: 10px 10px 15px 10px;
    }
    
    .p-haken__footerAction .p-haken__largeButton {
        font-size: 24px;
        padding: 1.1em;
        width: 280px;
        
    }

    .p-haken__footerAction {
        margin-top: 30px;
    }

    .p-haken__telephone {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        align-items: center;
        gap: 5px 10px;
    }

    .p-haken__telephone span {
        grid-column: 1 / -1;
        display: block;
    }

}


/* ===============================================
    1024px辺りにてコンテンツ右側に空白ができる
=============================================== */
@media screen and (min-width: 769px) {
    .l-header__mainNavItem:last-child .c-gNav__dropdown {
        right: 0;
        left: auto;
    }
}