/* フォーム全体 */
.scf-pro-form {
    max-width: 600px;
    padding: 2em;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1em; /* 各項目間の間隔 */
}

/* ラベル＋入力のラッパー */
.scf-pro-form p {
    display: flex;
    flex-direction: column;
    gap: 0;             /* flex間のgapは0に */
    margin-bottom: 1em; /* 各項目の下余白を調整 */
}

/* ラベル */
.scf-pro-form label {
    font-weight: 600;
    color: #333;
    margin: 0;          /* ラベルの下マージンを削除 */
    line-height: 0.1;   /* ラベルと入力の行間を詰める */
}

/* テキスト入力・メール・テキストエリア */
.scf-pro-form input[type="text"],
.scf-pro-form input[type="email"],
.scf-pro-form textarea {
    width: 100%;
    padding: 0.6em 0.8em;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* フォーカス時 */
.scf-pro-form input:focus,
.scf-pro-form textarea:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
    outline: none;
}

/* テキストエリアの高さ */
.scf-pro-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ボタン */
.scf-pro-form button {
    padding: 0.6em 1.2em;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    align-self: flex-start; /* ボタンを左揃え */
}

/* ホバー・アクティブ */
.scf-pro-form button:hover {
    background-color: #005f8d;
    transform: translateY(-1px);
}
.scf-pro-form button:active {
    transform: translateY(0);
}

/* メディアクエリ（モバイル対応） */
@media (max-width: 480px) {
    .scf-pro-form {
        padding: 1.5em;
    }
    .scf-pro-form input[type="text"],
    .scf-pro-form input[type="email"],
    .scf-pro-form textarea,
    .scf-pro-form button {
        font-size: 0.95rem;
    }
}