
.cMain {
    margin-bottom: 100px;
    ;
    overflow-x: hidden;

}




/* ご案内 */
.cInner {
    padding: 80px 10%;
}

.cInner p {
    line-height: 1.8;
    margin: 30px 0;
}

.contact {
    font-weight: bold;
    font-size: 1.5rem;
}

.contact p {
    margin-bottom: 10px;
}

.tell {
    margin-left: 30px;
    line-height: 2;
}


.warning {
    font-size: 24px;
    font-weight: bold;
    color: rgb(255, 0, 0);
    text-shadow: 1px 1px 10px rgb(209, 209, 209);
    text-align: center;
}

.guidance {
    font-weight: 700;
    text-shadow: 1px 1px 10px rgb(209, 209, 209);
    text-align: center;
}

span {
    color: red;
}


/* お問い合わせフォーム */
.contactForm {
    display: flex;
    position: relative;
    flex-direction: column;
    max-width: 50vw;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.cTitle {
    font-size: 2vw;
    padding: 1vw 0;
    height: auto;
    text-align: center;
    align-items: stretch;
    justify-content: center;
    border: 1px solid #ccc;
    background-color: #FAFAFA;

}

.formGroup {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #ccc;
    padding: 1vw;

}

/* label */
.formGroup label {
    flex: 0 0 30%;
    background-color: #F9F7FA;
    text-align: center;
    font-weight: bold;
    font-size: 1vw;
    border-right: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}



/*input */
.formGroup input,
.formGroup textarea {
    flex: 1;
    padding: 1vw;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.2vw;
    background-color: #FAFAFA;
    width: 100%;
}


.formGroup textarea {
    resize: vertical;
    min-height: 5em;
}

.button {
    display: block;
    margin: 20px auto;
    text-align: center;
    left: 50%;
    line-height: 48px;
    text-align: center;
    font-size: 1.8vw;
    width: 40vw;
    max-width: 80%;
    background-color: #FAFAFA;
    border: none;
    border: double 3px #000;
    padding: 1vw;
    background-color: #F9F7FA;
    transition: background-color .25s, color .25s;
}

.button:hover {
    background-color: var(--main-color);
    color: white;
}

/* 確認画面 */

.confirm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;

}

.confirm h2 {
    font-size: 32px;
    padding: 15px 0;
    margin-top: 120px;
    height: 90px;
    width: 100%;
    text-align: center;
    border: 1px solid #ccc;
    background-color: #FAFAFA;
}

.confirm p {
    flex: 1;
    height: 30px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
    background-color: #FAFAFA;
    letter-spacing: 4px;
}

.confirmText {
    resize: vertical;
    height: 160px;
    min-height: 450px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}




/* 成功メッセージ */
.success {
    font-size: 30px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    margin: 450px auto;
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: white;
}

/* エラーメッセージ */
.error {
    font-size: 20px;
    font-weight: bold;
    padding: 15px;
    border: double 4px rgb(255, 0, 0);
    border-radius: 8px;
    text-align: center;
    width: 80%;
    margin: 450px auto;
    background-color: #ffffff;
    color: rgb(255, 0, 0);
}

/* 警告メッセージ */
.miss {
    font-size: 20px;
    font-weight: bold;
    padding: 15px;
    border: double 4px rgb(255, 0, 0);
    border-radius: 8px;
    text-align: center;
    width: 80%;
    margin: 450px auto;
    background-color: #ffffff;
    color: rgb(255, 0, 0);
}


/* タブレット用　レスポンシブ */
@media (max-width: 1024px) {

    /* ご案内 */

  
    .cInner {
        padding-bottom: 0;
    }


    .warning {
        font-size: 22px;
        padding: 0;

    }

    .guidance {
        font-size: 18px;
    }


    /* お問い合わせフォーム */
    .cTitle {
        font-size: 1.6em;
    }


    .contactForm {
        margin-top: 120px;
        max-width: 60vw;
    }

    .formGroup {
        flex-direction: column;
        align-items: flex-start;
        min-height: 120px;
    }

    .formGroup label {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
        text-align: left;
        padding: 10px;
        font-size: 1.1em;
    }

    .formGroup input,
    .formGroup textarea {
        font-size: 1em;
        padding: 1vw;
        height: auto;
    }

    .textarea {
        resize: vertical;
        min-height: 200px;
    }

    .button {
        font-size: 3vw;
        margin-top: 30px;
    }

    /* 確認画面 */
    .confirm {
        max-width: 70%;
    }

    .confirm p {
        font-size: 14px;
    }

    .button {
        display: block;
        margin: 20px auto;

    }

    /* 結果 */
    .miss {
        font-size: 18px;
    }

    .success {
        font-size: 18px;
    }

    .error {
        font-size: 18px;
    }

}






/* スマホ用 レスポンシブ */

@media (max-width: 600px) {


    /* ご案内     */
    .contact {
        margin: 0;
        font-size: 0.9rem;
    }

    .tell {
        font-size: 12px;
    }

    .cInner {
        margin: 0;
        padding: 80px 3%;
        
    }

    .guidance {
        font-size: 14px;
    }

    .warning {
        font-size: 14px;
        padding: 0;
    }


    /* お問い合わせフォーム */

    .cTitle {
        font-size: 1em;
    }


    .contactForm {
        max-width: 60vw;
        margin-top: 80px;

    }


    .formGroup {
        flex-direction: column;
        /* スマホでは縦並び */
        align-items: flex-start;
        min-height: 60px;
    }


    .formGroup label {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
        text-align: left;
        padding: 10px;
        font-size: 10px;
    }

    .formGroup input,
    .formGroup textarea {
        font-size: 1em;
        padding: 1vw;
        height: auto;
    }

    .textarea {
        resize: vertical;
        min-height: 150px;
    }


    .confirm {
        max-width: 60%;
    }

    .confirm p {
        font-size: 10px;
    }

    .button {
        display: block;
        margin: 20px auto;
        font-size: 14px;

    }

    /* 結果 */
    .miss {
        margin-top: 350px;
        font-size: 10px;
    }

    .success {
        margin-top: 350px;
        font-size: 10px;
    }

    .error {
        margin-top: 350px;
        font-size: 10px;
    }

}