@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
*/

/* フォーム全体 */
.c-contactForm {
    max-width: 640px;
    margin: 0 auto;
}

/* 各フィールドの余白 */
.c-contactForm__field {
    margin-bottom: 20px;
}

/* ラベル行（左：項目名、右：バッジ） */
.c-contactForm__labelRow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.c-contactForm__label {
    font-size: 14px;
    font-weight: 600;
}

/* 必須 / 任意バッジ */
.c-contactForm__badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    line-height: 1.4;
}

.c-contactForm__badge--required {
    background-color: #e53935;
    color: #fff;
}

.c-contactForm__badge--optional {
    background-color: #e0e0e0;
    color: #555;
}

/* 入力パーツ共通（テキスト・メール・TEL・URL・テキストエリア） */
.c-contactForm .form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* テキストエリア */
.c-contactForm__field--textarea .form-control {
    min-height: 160px;
}

/* プレースホルダー */
.c-contactForm ::placeholder {
    color: #b0b0b0;
    opacity: 1;
}

/* 注意書き（電話番号の文字数など） */
.c-contactForm__note {
    margin-top: 4px;
    font-size: 11px;
    color: #777;
    display: flex;
    justify-content: space-between;
}

/* 規約テキスト・チェックボックス */
.c-contactForm__agreementText {
    font-size: 12px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
}

.c-contactForm__checkbox label {
    font-size: 13px;
}

/* reCAPTCHA 周りの余白 */
.c-contactForm__field--recaptcha {
    margin-top: 16px;
}

/* 送信ボタン（全幅・グレー・角丸） */
.c-contactForm__submit {
    margin-top: 24px;
}

.c-contactForm input[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-radius: 4px;
    border: none;
    background-color: #3199DC;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ホバー時 */
.c-contactForm input[type="submit"]:hover {
    opacity: 0.9;
}

/* エラー表示 */
.c-contactForm .wpcf7-not-valid {
    border-color: #e53935;
    background-color: #fff6f6;
}

.c-contactForm .wpcf7-not-valid-tip {
    color: #e53935;
    font-size: 12px;
    margin-top: 4px;
}

.c-contactForm .wpcf7-response-output {
    margin-top: 16px !important;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
}

.grecaptcha-badge {
    visibility: hidden;
}
