/* htmlサンプルから引っ張ってきた。 */

@charset "UTF-8";

.timeline {
    /* タイムラインの機能で出してるborderを処理。 */
    padding-bottom: 40px;
}

    .contact-wrapper {
        width: 300px;

        margin: 0 auto;
    }
    
    .contact .heading {
        width: 174px;
        height: 35px;

        border: 1px solid #333333;
        border-radius: 13px;

        font-size: 2.5rem;
        font-weight: bold;

        line-height: 35px;
        letter-spacing: 0.025rem;
    }

    .contact-wrapper2 {
        width: 250px;

        margin: 0 auto;
        margin-top: 34px;
    }

    .name,
    .nameRuby,
    .emailAddress,
    .emailConfirmation,
    .phoneNumber,
    .message {
        display: block;

        margin-top: 9px;

        font-weight: bold;
        text-align: left;

        letter-spacing: 0.015rem;
    }

    #name,
    #nameRuby,
    #emailAddress,
    #emailConfirmation,
    #phoneNumber {
        display: block;

        width: 250px;
        height: 32px;

        margin-top: 6px;
        border: 2px solid #333;
        outline: none;

        font-size: 1.5rem;
    }
    
    #message {
        display: block;
        
        width: 250px;
        height: 160px;

        margin-top: 6px;
        border: 2px solid #333;
        outline: none;

        font-size: 1.5rem;

        resize: none;
    }

    #name:focus,
    #nameRuby:focus,
    #emailAddress:focus,
    #emailConfirmation:focus,
    #phoneNumber:focus,
    #message:focus {
        border: 1px solid rgba(51, 51, 51, 0.76);

        box-shadow: 0 0 3px rgb(22, 228, 255) inset;
    }

    .submit {
        width: 250px;
        height: 30px;

        margin-top: 20px;
        border: 0px none;
        border-radius: 10px;

        background-color: #57CAFF;

        color: rgb(255, 255, 255);
        font-size: 2rem;
        font-weight: bold;

        box-shadow: 0px 4px #306F8C;
        cursor: pointer;
    }

    .submit:hover {
        background-color: rgb(206, 250, 253);
    }

    .submit:active {
        position: relative;
        top: 4px;

        box-shadow: none;
    }

    /* 2022/10/15 */
    /* 新しく記述。 */
    .validation {
        padding-top: 5px;
        margin-bottom: 10px;

        color: red
    }