@charset "utf-8";
/* ============================
container
============================ */
.container {
    background-color: #F5F5F5;
}

/* ============================
header
============================ */
.header {
    background-color: inherit;
}

/* ============================
contact
============================ */
.contact__step {
    margin-top: 96px;
}

.contact__stepItems {
    display: flex;
    justify-content: space-between;
    width: 43.1034%;
    margin: 0 auto;
    position: relative;
}

.contact__stepItems::before {
    content: "";
    background-color: #FDEDB4;
    top: 29.484%;
    height: 5%;
    width: 100%;
    position: absolute;
    z-index: -1;
}

.contact__stepNumber {
    background-color: #FDEDB4;
    width: 5.5555vw;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EC782A;
    font-family: "Rounded Mplus 1c";
    font-size: 2.2222vw;
    font-weight: 700;
    line-height: 1.6; 
}

.contact__stepNumber--current {
    background-color: #FABE00;
    color: #FDFDFD;
}

.contact__stepName {
    color: #171B1D;
    text-align: center;
    font-family: "Rounded Mplus 1c";
    font-size: 1.1111vw;
    font-weight: 700;
    line-height: 1.6;
    margin-top: 12px;
}

.contact__stepText {
    margin-top: 60px;
    color: #171B1D;
    text-align: center;
    font-family: "Rounded Mplus 1c";
    font-size: 1.1111vw;
    font-weight: 700;
    line-height: 1.6;
}

.contact {
    padding: 96px 12.5vw;
    border-radius: 30px;
    background: #FDFDFD;
    margin-top: 60px;
}

.contact__contents {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
}

.contact__content {
    font-size: 1.1111vw;
    font-weight: 500;
    line-height: 1.6;
    width: 100%;
}

.contact__heading {
    display: flex;
}

.contact__title {
    margin-right: 0.8333vw;
}

.contact__required {
    border-radius: 30px;
    background: #EC782A;
    padding: 3px 8px;
    color: #FDFDFD;
}

.contact__text {
    width: 100%;
    margin-top: 12px;
}

input[type=text],
input[type=tel],
input[type=email],
.contact__select,
.contact__textarea {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #EC782A;
    background: #FDFDFD;
    padding: 18px 24px;
    
}

input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
.contact__select:focus,
.contact__textarea:focus {
    outline: 0;
    box-shadow: 0 0 7px #EC782A;
    transition: 0.3s;
}

::placeholder {
    color: rgba(23, 27, 29, 0.50);
}

.contact__checkBoxs {
    margin-top: 12px;
}

input[type="checkbox"] {
    border-radius: 5px;
    border: 1px solid #EC782A;
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

input[type="checkbox"]:checked {
    position: relative;
}

input[type="checkbox"]:checked::after {
    display: inline-block;
    content: "";
    width: 11px;
    height: 6px;
    border-left: 2px solid #5C6DAC;
    border-bottom: 2px solid #5C6DAC;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(-45deg);
}

.contact__checkBox{
    margin-right: 24px;
}

.contact__optional {
    border-radius: 30px;
    background: #AAA;
    padding: 3px 8px;
    color: #FDFDFD;
}

.contact__textarea {
    resize: none;
}

.contact__submit {
    margin: 96px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__btn {
    border-radius: 1000px;
    background: #EC782A;
    color: #FDFDFD;
    font-size: 1.1111vw;
    font-weight: 500;
    line-height: 1.6;
    display: flex;
    width: 25vw;
    height: 18.3333%;
    padding: 20px 0;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}

.contact__btn:hover {
    opacity: 0.5;
}

@media screen and (max-width: 768px) {
    .contact__step {
        margin-top: 48px;
    }

    .contact__stepItems {
        width: 74.4%;
    }

    .contact__stepItems::before {
        content: "";
        background-color: #FDEDB4;
        top: 30%;
        height: 5%;
        width: 100%;
        position: absolute;
        z-index: -1;
    }

    .contact__stepNumber {
        width: 16vw;
        font-size: 6.4vw;
    }

    .contact__stepName {
        font-size: 3.733vw;
        margin-top: 6px;
    }

    .contact__stepText {
        margin-top: 36px;
        font-size: 3.733vw;
    }

    .contact {
        padding: 48px 6.4vw;
        margin-top: 48px;
    }

    .contact__content {
        font-size: 3.7333vw;
    }

    .contact__title {
        margin-right: 1.6vw;
    }

    .contact__required {
        padding: 1px 4px;
    }

    input[type=text],
    input[type=tel],
    input[type=email],
    .contact__select,
    .contact__textarea {
        padding: 18px 12px;
        
    }

    .contact__checkBoxs {
        margin-top: 0;
        display: grid;
    }

    .contact__optional {
        padding: 1px 4px;
    }

    .contact__checkBox{
        margin-right: 0;
        margin-top: 12px;
    }

    .contact__submit {
        margin-top: 48px;
    }

    .contact__btn {
        font-size: 4.2666vw;
        width: 100%;
        padding: 18px 0;
    }
}