@charset "UTF-8";

/* ===============================================
    はじめての方へ
=============================================== */
.p-firsttime .l-main__contentInner {
    padding-right: 0;
    padding-left: 0;
}

.p-firsttime .l-main__content {
    color: #353e47;
}

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

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

/* ===============================================
    MV
=============================================== */
.p-firsttime__mv {
    position: relative;
    min-height: 400px;
    background: 
        url("../img/firsttime/hajimete_mv.png")
        no-repeat 35% / cover;

    width: 100%;
}

.p-firsttime__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-firsttime__mvTitle,
.p-firsttime__mvText {
    max-width: 540px;
}

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

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

/* ===============================================
    INFORMATION & WORK 共通
=============================================== */

.p-firsttime__information,
.p-firsttime__work {
    padding: 180px 15px;
    background-repeat: no-repeat;
    background-color: #fff;
}

.p-firsttime__information {
        background-image: 
            url("../img/firsttime/information-icon-left.png"), 
            url("../img/firsttime/information-icon-right.png");
        background-size: 470px, 350px;
        background-position: 
            left 0% top 4%, 
            right 4% bottom 2%;
}

.p-firsttime__work {
    background-image: url("../img/firsttime/work-icon-right.png");
    background-size: 350px;
    background-position: right 13% top 3%;
}

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

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

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

.p-firsttime__contentTitle,
.p-firsttime__workTitle {
    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-firsttime__contentTitle::after,
.p-firsttime__workTitle::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-firsttime__contentText,
.p-firsttime__workText {
    text-align: center;
    margin: 30px 0 0;
    padding-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

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


/* ===============================================
    INFORMATION カード
=============================================== */

.p-firsttime__informationList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 82px;
    margin: 90px 0 0;
    padding: 0;
}

.p-firsttime__informationItem {
    min-height: 0;
    height: auto;
    border: 1px solid rgb(0, 137, 210);
    background: rgb(255, 255, 255);
    list-style: none;
}

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

.p-firsttime__informationLink:hover {
    text-decoration: none;
    opacity: .8;
}

.p-firsttime__informationImage {
    width: 100%;
}

.p-firsttime__informationBody {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px;
}

.p-firsttime__informationTitle {
    color: #004097;
    margin: 0 0 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.p-firsttime__informationText {
    min-height: 77px;
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.p-firsttime__detailButton {
    display: inline-block;
    align-self: center;
    width: 150px;
    margin-top: auto;
    padding: 13px 0;
    color: #fff;
    background: linear-gradient(-90deg, #14baf8, #1993d6);
    border-radius: 50px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1.2px;
    text-align: center;
    transition: .3s;
}


/* ===============================================
    まずはご登録へ / Q&A / 下部登録　背景
=============================================== */
.p-firsttime__registration {
    padding: 80px 0;
    background: 
        url("../img/firsttime/bg_beauty01.png")
        no-repeat center / cover;
    background-attachment: fixed;
}

.p-firsttime__qa {
    padding: 160px 0 80px;
    background: 
        url("../img/firsttime/bg_green.jpg")
        no-repeat center / cover;
    background-attachment: fixed;
}

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

.p-firsttime__registrationInner,
.p-firsttime__qaInner {
    max-width: 640px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

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

.p-firsttime__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-firsttime__iconTitle--smartphone::before {
    width: 42px;
    height: 70px;
    background-image: url("../img/firsttime/entry.svg");
}

.p-firsttime__iconTitle--question::before {
    width: 60px;
    height: 74px;
    background-image: url("../img/firsttime/question.svg");
}

.p-firsttime__registrationButtons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p-firsttime__largeButton,
.p-firsttime__smallButton  {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    transition: 0.3s;
}

.p-firsttime__largeButton:hover,
.p-firsttime__smallButton:hover {
    text-decoration: none;
    opacity: .8;
}

.p-firsttime__smallButton > span:hover {
    color: #0089d4;
}

.p-firsttime__largeButton {
    width: 100%;
    /* max-width: 500px; */
    /* padding: 1.1em; */
    padding: 1.4em;
    color: #fff;
    background: linear-gradient(-90deg, #14baf8, #1993d6);
    box-shadow: 0px 0px 25.6px 6.4px rgba(83, 83, 83, 0.2);
    border-radius: 50px;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1.2px;
}

.p-firsttime__smallButton {
    position: relative;
    width: 100%;
    /* max-width: 500px; */
    /* padding: 1.1em; */
    padding: 1.4em;
    color: #353e47;
    background: linear-gradient(to right, #1993d6, #14baf8);
    border-radius: 50px;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1.2px;
    z-index: 0;
}

.p-firsttime__smallButton::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    box-sizing: border-box;
    border-radius: 50px;
    padding: 2px;
    width: 100%;
    height: 100%;
    background: #fff;
    background-clip: content-box;
}

.p-firsttime__qaText {
    margin: 0 0 30px;
    text-align: center;
}

/* ===============================================
    WORK
=============================================== */
.p-firsttime__workList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 58px;
    margin: 100px 0 70px;
    padding: 0;
}

.p-firsttime__workItem {
    list-style: none;
    text-align: left;
}

.p-firsttime__workItem a {
    display: block;
    color: #353e47;
}

.p-firsttime__workItem a:hover {
    text-decoration: none;
    opacity: .8;
}

.p-firsttime__workItem img {
    width: 100%;
    max-width: 640px;
    margin-bottom: 10px;
}

.p-firsttime__workItem span {
    display: block;
}

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


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

.p-firsttime__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-firsttime__footerText,
.p-firsttime__footerAction {
    /* margin: 0px auto; */
    text-align: center;
}

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

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

.p-firsttime__footerRegistrationInner .p-firsttime__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-firsttime__footerAction .p-firsttime__largeButton {
    max-width: 360px;
    padding: 1em 3em;
} 

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

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

.p-firsttime__telephone a {
    font-size: 30px;
    color: rgb(51, 51, 51);
}

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



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

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

/* ===============================================
    MV
=============================================== */
    .p-firsttime__mv {
        height: 300px;
        background: 
            url("../img/firsttime/hajimete_mv_sp.png")
            no-repeat 75% / cover;
    }

    .p-firsttime__mvInner {
        width: 75%;
        left: 5%;
        top: 20%;
        transform: none;
        
        padding: 0;
    }

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

    .p-firsttime__mvText {
        font-size: 14px;
        margin: 10px 10px 15px 10px;
        line-height: 1.6;
    }


/* ===============================================
    INFORMATION & WORK 共通
=============================================== */

    .p-firsttime__information,
    .p-firsttime__work {
        padding: 60px 27px;
    }

    .p-firsttime__contentTitle,
    .p-firsttime__workTitle {
        font-size: 24px;
        padding-bottom: 9px;
    }

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

    .p-firsttime__informationInner {
        margin-bottom: 130px;
    }

    .p-firsttime__information {
        background-size: 250px, 200px;
        background-position: 
            left -4% top 1%, 
            right 5% bottom 1%;
    }

    .p-firsttime__work {
        background-size: 140px;
        background-position: right 8% top 3%;
        padding: 80px 27px;
    }

/* ===============================================
    INFORMATION
=============================================== */

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

    .p-firsttime__informationList {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }

    .p-firsttime__informationItem {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 30px;
    }

    .p-firsttime__informationBody {
        padding: 30px 20px;
    }

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

/* ===============================================
    まずはご登録へ 
=============================================== */

    .p-firsttime__registration {
        min-height: 300px;
        padding: 90px 0 45px;
    }

    .p-firsttime__largeButton {
        width: 280px;
        padding: 1.56em;
        font-size: 14px;
    }

    .p-firsttime__smallButton {
        width: 280px;
        padding: 1.56em;
        font-size: 14px;
    }

/* ===============================================
    Q&A
=============================================== */
    .p-firsttime__qa {
        padding: 130px 0 80px;
    }

    .p-firsttime__qaInner .p-firsttime__iconTitle {
        margin-bottom: 20px;
    }

/* ===============================================
    WORK
=============================================== */
    .p-firsttime__workText {
        width: 100%;
        max-width: 500px;
        margin: 30px auto 0;
        text-align: left;
    }

    .p-firsttime__workList {
        display: block;
        padding: 1.1em;
        font-size: 14px;
        margin-top: 60px;
        margin-bottom: 10px;
    }

    .p-firsttime__workItem {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .p-firsttime__workInner {
        margin-bottom: 0;
    }


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

    .p-firsttime__footerRegistrationInner {
        display: block;

    }

    .p-firsttime__footerRegistrationInner .p-firsttime__iconTitle {
        font-size: 24px;
    }

    .p-firsttime__footerRegistrationInner .p-firsttime__iconTitle::before {
        top: -110%;
    }

    .p-firsttime__footerText p {
        margin: 10px 10px 15px 10px;
    }
    
    .p-firsttime__footerAction .p-firsttime__largeButton {
        font-size: 24px;
        padding: 1.1em;
        
    }

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

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

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

}


@media screen and (min-width: 769px) and (max-width: 1200px) { 
    .p-firsttime__informationList {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }

    .p-firsttime__footerRegistrationInner .p-firsttime__iconTitle {
        font-size: 24px;
    }

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

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

    .p-firsttime__footerRegistrationInner {
        max-width: 615px;
    }

}


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