/* 文字の大きさ */
h1,
h2,
h3,
h4 {
    margin: 0;
    padding: 0;
}

.form-container {
    margin: 5% 10% 10%;
    padding: 20px;
}

.form-container h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.form-container p {
    font-size: 18px;
    color: #333;
}

#form-instruction {
    margin-bottom: 5%;
}

.form-group {
    margin-bottom: 2%;
}

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

.required::before {
    content: "必須";
    color: #fff;
    font-size: 12px;
    background-color: #e74c3c;
    padding: 4px 6px;
    margin-right: 1%;
    border-radius: 3px;
}

input,
textarea {
    color: black;
    width: 95%;
    margin-top: 1%;
    padding: 10px;
    border: #F8F8F8;
    border-radius: 4px;
    font-size: 18px;
    background-color: #F8F8F8;
}

textarea {
    resize: none;
}

.form-group :focus {
    border: 2px solid orange;
    outline: none;
}

::placeholder {
    color: #aaa;
    opacity: 0.6;
}



.submit-btn {
    border: 2px solid #aaa;
    background-color: #F8F8F8;
    width: 15%;
    height: 100%;
    cursor: pointer;
    font-size: 18px;
    display: block;
    margin: 0 auto;
    text-align: center;
    border-radius: 5px;
}

.submit-btn p {
    margin: 0;
}

.confirmation-container,
.send-container {
    margin: 5% 8%;
}

.footer {
    position: relative;
    z-index: 1;
}

/* 画像サイズ */
#TopTriangle {
    position: absolute;
    top: -3%;
    left: -2%;
}

/* アニメーション */

.svg-wrapper {
    top: -39%;
    left: -1%;
}

#Form {
    position: relative;
}


@keyframes infinity-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100vw);
    }
}

.wpcf7-spinner {
    display: none !important;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

    .Top-title h2 {
        font-size: 48px;
    }

    .Top-title h3 {
        font-size: 35px;
    }

    .form-container h2 {
        font-size: 22px;
        margin-left: 15px;
    }

    .form-group p {
        font-size: 16px;
        margin-left: 15px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 17px;
        width: 320px;
    }

    .submit-btn {
        width: 120px;
        font-size: 16px;
    }


    #TopView {
        position: relative;
        height: 300px;
    }

    #TopTriangle {
        position: absolute;
        top: 0%;
        left: -2%;
        width: 22%;
    }

    .back-ground-logo {
        width: 120px !important;
    }

    .form-container {
        width: 100%;
        margin: 15% auto;
        padding: 0;
    }

    .form-container p {
        margin: 5% 4%;
    }

    .form-container p {
    font-size: 16px;
    }

    .required::before {
        padding: 5px 10px;
        font-size: 14px;
        margin-right: 4%;
    }


    .submit-btn {
        width: 140px;
        height: 45px;
        font-size: 18px;
        margin: 8% auto;
    }

    .form-group {
        margin-bottom: 3%;
    }

    .svg-wrapper {
        top: -60%;
        left: -15%;
    }

    .back-ground-logo {
        width: 120px !important;
    }

    #Form {
        top: -5%;
    }

    .wpcf7-submit {
        padding: 0;
    }

}