@charset "utf-8";

/* ==================================== 
mainVisual
=====================================*/
.mainVisual {
    position: relative;
}

.mainVisual::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; 
    left: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 10;
}

.mv__Sp1 {
    display: block;
    width: 100%;
    margin-top: 93px;
}

.mv__Sp2 {
    display: block;
    width: 100%;
    margin-top: 93px;
}

.mv__Sp3 {
    display: block;
    width: 100%;
    margin-top: 93px;
}

.mainVisual__pcBox {
    display: none;
}

.mv__topic {
    position: absolute;
    top: 50.8%;
    left: 18.1%;
    z-index: 15;
}

.mainVisual__topic1 {
    display: block;
    color: var(--primary-white);
    font-family: "Noto Sans JP";
    font-size: 10.6vw;
    font-weight: 700;
    line-height: 1;
}

.mainVisual__topic2 {
    display: block;
    color: var(--primary-white);
    font-family: "Roboto";
    font-size: 10.6vw;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

@media screen and (min-width:769px) {
    .mainVisual {
        position: relative;
    }

    .mainVisual::before {
        content: "";
        width: 91.6%;
        height: 100%;
        position: absolute;
        top: 0; 
        left: 8.3%;
        background-color: rgba(0,0,0,0.3);
        border-radius: 50px 0 0 50px;
        z-index: 10;
    }

    .mainVisual__spBox {
       display: none;
    } 

    .mainVisual__pcBox {
        display: block;
        margin-top: 115px;
        margin-bottom: 70px;
        width: 91.6%;
        margin-left: auto;
        border-radius: 50px 0 0 50px;
    }

    .mv__Pc1 {
        display: block;
        border-radius: 50px 0 0 50px;
    }
    
    .mv__Pc2 {
        display: block;
        border-radius: 50px 0 0 50px;
    }
    
    .mv__Pc3 {
        display: block;
        border-radius: 50px 0 0 50px;
    }

    .mv__topic {
        position: absolute;
        top: 36.8%;
        left: 39.4%;
        z-index: 15;
    }

    .mainVisual__topic1 {
        font-size: 4.8vw;
    }

    .mainVisual__topic2 {
        font-size: 4.8vw;
    }
}

/* ==================================== 
section--mailForm
=====================================*/
.section--mailForm {
    padding: 60px 4.2%;
    background-color: var(--primary-sectionPink);
}

.mailForm__wrapper {
    background-image: url(../images/bg-img.jpg);
    border-radius: 20px;
    padding: 48px 4.2%;
}

.topic__contactMail {
    font-size: 2.2rem;
    max-width: 214px;
    line-height: 1.5;
    position: relative;
}

.topic__contactMail::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: var(--primary-orange);
}

.topic__contactMail::after {
    position: absolute;
    top: 16px;
    right: 0;
    content: "";
    width: 20px;
    height: 3px;
    background-color: var(--primary-orange);
}

.form {
    margin-top: 18px;
}

.form__parts {
    padding: 20px 0;
    border-bottom: 1px dotted #000;
}

.form__parts:first-of-type {
    padding-top: 0;
}

.form__category {
    font-family: "M PLUS 1";
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
}

.form__category::before {
    display: inline-block;
    content: '必須';
    height: 21px;
    width: 38px;
    background-color: var(--primary-btnPink);
    text-align: center;
    color: var(--primary-white, #FDFDFD);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 3px;
    margin-right: 8px;
}

.form__parts:nth-of-type(2) .form__category::before,
.form__parts:nth-of-type(3) .form__category::before,
.form__parts:nth-of-type(4) .form__category::before {
    content: '任意';
}

.group {
    margin-top: 5px;
}

input[type="text"],
.group__textArea {
    display: inline-block;
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #000;
    background-color: var(--primary-white);
    font-size: 1.2rem;
}

::placeholder {
    color: lightgray;
}

input[type="text"]:focus,
.group__textArea:focus {
    outline: solid 1px var(--primary-btnPink);
    border: 1px solid var(--primary-btnPink);
}

.mail__confirmation {
    color: #F00;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 8px 0;
}

.form__parts--submit {
    border: none;
    margin-top: 48px;
}

@media screen and (min-width:769px) {
    .section--mailForm {
        padding: 120px 20px;
    }

    .mailForm__wrapper {
        margin: 0 auto;
        max-width: 1200px;
        padding: 80px 0;
    }

    .topic__contactMail {
        font-size: 3rem;
        max-width: 330px;
    }

    .topic__contactMail::before {
        top: 20px;
        width: 50px;
    }

    .topic__contactMail::after {
        top: 20px;
        width: 50px;
    }

    .form {
        max-width: 550px;
        margin: 48px auto 0;
    }

    .form__parts {
        display: flex;
        align-items: center;
        gap: 0 20px;
    }

    .form__parts:nth-of-type(5),
    .form__parts:nth-of-type(6) {
        align-items: flex-start;
    }

    .form__category {
        font-size: 2rem;
        width: 177px;
        flex-shrink: 0;
    }

    .form__category::before {
        height: 24px;
        width: 42px;
        font-size: 1.6rem;
    }

    .group {
        margin-top: 0;
        width: 100%;
    } 
}