/* 全体 */
br {
    height: 0;
}

form.wpcf7-form.init {
    display: flex;
    padding: 80px 0;
}

.cf7-form {
    margin: auto;
    width: 90%;
}

.cf7-form {
    max-width: 740px;
}

/* グループ間の余白 */
.form-group {
    margin-bottom: 40px;
}

/* ラベル */
.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

/* 必須バッジ */
.required-badge {
    background: #ff5e5e;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

/* サブテキスト（例: 例 山田 太郎） */
.form-subtext {
    display: block;
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

/* 入力欄 */
.form-input,
.form-textarea,
.wpcf7-form-control-wrap select {
    width: 100%;
    border: 1px solid #ccc;
    padding: 14px;
    font-size: 16px;
    border-radius: 4px;
    background: #fff;
}

.form-textarea {
    height: 200px;
}

/* セレクトボックスの▼を整える */
.wpcf7-form-control-wrap select {
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

/* チェックボックス */
.agree-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 送信ボタン */
.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1dbf73;
    color: #fff;
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    opacity: 0.8;
}

/* Contact Form 7 送信ボタン */
.wpcf7-form-control.wpcf7-submit.btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: var(--font-size-md);
    font-weight: 600;
    color: #fff;

    width: fit-content;
    gap: 30px;

    padding: 10px 35px;

    text-decoration: none;

    background: linear-gradient(90deg, #3fa9f5, #00c27a);

    border-radius: 50rem;
    border: none;
    cursor: pointer;

    transition: 0.3s;
}

/* hover */
.wpcf7-form-control.wpcf7-submit.btn-gradient:hover {
    background: linear-gradient(90deg, #00c27a, #3fa9f5);
}

/* active */
.wpcf7-form-control.wpcf7-submit.btn-gradient:active {
    transform: translateY(0);
    box-shadow: none;
}

/* spinnerの位置調整 */
.wpcf7-form-control.wpcf7-submit.has-spinner {
    position: relative;
}