/* /contact */
#container.contact {
    font-size: 16px;
    
 form {
        font-weight: 500;
    }
    
 form .form-group {
        margin-top: 3rem;
    }
    
 form .form-group:first-child {
        margin-top: 0;
    }
    
 form .form-group .label {
        display: flex;
        align-items: center;
    }
    
 form .form-group .label small {
        color: #fff;
        background: #999999;
        font-size: 1.2rem;
        padding: 0 1rem;
        border-radius: .5rem;
        margin-right: 1.5rem;
    }
    
 form .form-group .label small.required {
        background: var(--primary-color);
    }
    
 form .form-group .label label {
        font-size: 1.7rem;
    }
    
 form .form-group input,
 form .form-group textarea {
        width: 100%;
        padding: 1.5rem;
        border: 1px solid #999;
        border-radius: .5rem;
        font-size: 1.7rem;
        margin-top: 0.5rem;
        box-sizing: border-box;
        font-family: "Noto Sans JP", sans-serif;
    }
    
 form .form-group input::placeholder,
 form .form-group textarea::placeholder {
        color: #ccc;
        font-weight: 300;
        font-size: 1.7rem;
    }
    
 form .form-group input[type="checkbox"] {
        width: auto;
        margin: 0 1rem 0 0;
    }
    
 form .form-group textarea {
        min-height: 20rem;
        resize: vertical;
    }
    
 form .terms {
        border: 1px solid #999;
        border-radius: .5rem;
        height: 15rem;
        min-height: 15rem;
        overflow-y: auto;
        background: #fff;
        padding: 2rem;
        font-size: 1.3rem;
        font-weight: 400;
        color: #555;
        margin: 0.5rem 0;
        resize: vertical;
    }
    
 .back,
 .button {
        color: #fff;
        background: #333;
        width: 100%;
        max-width: 25rem;
        border-radius: .5rem;
        padding: 2rem 0;
        font-size: 1.6rem;
        margin: auto;
        display: block;
        margin-top: 5rem;
        cursor: pointer;
        border: none;
        text-align: center;
        text-decoration: none;
    }
}

/* /contact/confirm */
#container.confirm {
 .form-group input,
 .form-group textarea {
        /* background: #fff; */
        cursor: not-allowed;
        border-color: #ccc;
        background: #2020200f;
    }

 .button-group {
        display: flex;
        gap: 3rem;
        /* grid-template-columns: repeat(2, 1fr); */
        margin-top: 7.5rem;
        justify-content: center;
    }

 .button-group .back,
 .button-group .button {
        margin: 0;
        /* width: auto; */
    }

 .button-group .back {
        outline: #333;
        border: 1px solid #333;
        color: #333;
        background: #fff;
    }
}

#container.thanks {
    .massages {
        font-weight: 400;
    }
    .contact {
        border: 1px solid #ccc;
        background: #fff;
        font-weight: 400;
        padding: 1rem 2rem;
        border-radius: var(--border-radius);
    }

    .contact a {
        color: #333;
        /* font-size: 1.3em; */
    }
}

@media (max-width: 768px) {
    #container .title {
        padding: 7.5rem 0;
    }
    #container form .form-group .label label {
        font-size: 17px;
    }
    #container form .form-group .label small {
        font-size: 11px;
        margin-right: 10px;
    }
    #container form .form-group input, #container form .form-group textarea {
        font-size: 16px;
    }
    #container form .terms {
        font-size: 12px;
    }
    #container form .checkbox {
        display: flex;
        align-items: center;

    }
}