@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.contact-form-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.contact-form-wrap p {
    margin-bottom: 24px;
}

.contact-form-wrap label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
}

.contact-form-wrap .required {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #d90000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
    box-sizing: border-box;
    transition: border-color .3s ease;
}

.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="tel"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap textarea:focus {
    border-color: #333;
    outline: none;
}

.contact-form-wrap textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form-wrap .privacy-link {
    margin-bottom: 12px;
    text-align: center;
}

.contact-form-wrap .privacy-link a {
    color: #0066cc;
    text-decoration: underline;
    transition: opacity .3s ease;
}

.contact-form-wrap .privacy-link a:hover {
    opacity: .7;
}

.contact-form-wrap .privacy-check {
    margin-bottom: 32px;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

.contact-form-wrap .privacy-check .wpcf7-list-item {
    margin: 0;
}

.contact-form-wrap .submit-btn {
    margin-bottom: 0;
    text-align: center;
}

.contact-form-wrap input[type="submit"] {
    display: inline-block;
    width: 100%;
    max-width: 420px;
    padding: 18px 20px;
    border: none;
    border-radius: 999px;
    background: #222;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: opacity .3s ease;
    -webkit-appearance: none;
}

.contact-form-wrap input[type="submit"]:hover {
    opacity: .8;
}

.contact-form-wrap .wpcf7-not-valid-tip {
    margin-top: 8px;
    font-size: 13px;
}

.contact-form-wrap .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

@media screen and (max-width: 768px) {

    .contact-form-wrap p {
        margin-bottom: 20px;
    }

    .contact-form-wrap label {
        font-size: 15px;
    }

    .contact-form-wrap input[type="text"],
    .contact-form-wrap input[type="tel"],
    .contact-form-wrap input[type="email"],
    .contact-form-wrap textarea {
        padding: 12px 14px;
        font-size: 15px;
    }

    .contact-form-wrap input[type="submit"] {
        padding: 16px 18px;
        font-size: 15px;
    }

}