@import url('../root.css');

.contact-area {
    .contact-title-area {
        width: 100%;
        margin: 0 auto;
        margin-top: 80px;
        text-align: center;

        .contact-title {
            font-size: 18px;
            font-weight: medium;

            h2 {}
        }

        .contact-sub-title {
            margin-top: 15px;
            font-size: 12px;

            p {}
        }

        .contact-policy {
            margin-top: 15px;
            font-size: 12px;

            a {}
        }
    }
}

.contact-form-area {
    width: 100%;
    max-width: var(--media-middle-width);
    margin: 0 auto;
    margin-top: 50px;

    .contact-form {
        width: calc(100% - 40px);
        padding: 20px;
        border-radius: 8px;

        .form-group {
            margin-bottom: 15px;

            label {
                display: block;
                margin-bottom: 5px;
                font-weight: bold;

                span.required {
                    color: red;
                }
            }

            input,
            textarea,
            .check-content {
                width: calc(100% - 20px);
                padding: 10px;
                background-color: #EEE;
                border-radius: 4px;
                border: 1px solid #ccc;
            }

            .check-content {
                background-color: #f7f7f7;
            }
        }

        .submit-area {
            display: flex;
            justify-content: center;
            gap: 50px;

            .submit-button {
                width: 25%;
                min-width: 100px;
                padding: 10px;
                background-color: var(--main-color);
                color: white;
                border: none;
                border-radius: 4px;
                cursor: pointer;
                text-align: center;

                &:hover {
                    background-color: var(--hover-color);
                }
            }

            .back-button {
                background-color: var(--back-color);
                color: #000;

                &:hover {
                    background-color: var(--back-hover-color);
                }
            }
        }
    }
}

.next-button {
    p{
        width: 25%;
        min-width: 150px;
        padding: 10px;
        background-color: var(--main-color);
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        text-align: center;
        margin: 0 auto;
    
        &:hover {
            background-color: var(--hover-color);
        }
    }
}

/* 今後commonに移動 */
input[type="submit"] {
    border: none;
    color: #FFF;
    background-color: none;
}