/* GW Contact Form Styles */
.gwc-form-wrap {
    max-width: 720px;
    margin: 0 auto;
}
.gwc-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 28px 28px 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.gwc-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.gwc-field {
    margin-bottom: 18px;
}
.gwc-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}
.gwc-required {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}
.gwc-form input[type="text"],
.gwc-form input[type="email"],
.gwc-form select,
.gwc-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
    background: #fafafa;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    font-family: inherit;
}
.gwc-form input:focus,
.gwc-form select:focus,
.gwc-form textarea:focus {
    outline: none;
    border-color: #2271b1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}
.gwc-form textarea {
    resize: vertical;
    min-height: 140px;
}
.gwc-submit-wrap {
    text-align: center;
    margin-top: 28px;
}
.gwc-submit {
    display: inline-block;
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: #fff;
    border: none;
    border-radius: 28px;
    padding: 12px 48px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(34, 113, 177, 0.3);
    transition: transform 0.1s, box-shadow 0.15s;
    font-family: inherit;
}
.gwc-submit:hover {
    box-shadow: 0 4px 10px rgba(34, 113, 177, 0.4);
    transform: translateY(-1px);
}
.gwc-submit:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(34, 113, 177, 0.3);
}
.gwc-note {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin: 14px 0 0;
}
.gwc-notice {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}
.gwc-notice-success {
    background: #e8f5e9;
    color: #1b5e20;
    border-left: 4px solid #2e7d32;
}
.gwc-notice-error {
    background: #fdecea;
    color: #b71c1c;
    border-left: 4px solid #c62828;
}
@media (max-width: 640px) {
    .gwc-form {
        padding: 20px 16px 16px;
        border-radius: 8px;
    }
    .gwc-submit {
        width: 100%;
        padding: 14px;
    }
}

.gwc-recaptcha-wrap {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}
@media (max-width: 360px) {
    /* iPhone SE 等の極小画面用 reCAPTCHA スケール調整 */
    .gwc-recaptcha-wrap .g-recaptcha {
        transform: scale(0.88);
        transform-origin: center;
    }
}
