.wp-block-image img {
    border-style: none;
    padding: 0px;
}

/* ====================================
   Contact Form 7 シンプルデザイン
   ==================================== */

/* フォーム全体の最大幅と中央寄せ */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 見出し（セクション区切り） */
.wpcf7 h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background-color: #f4f4f4; /* 薄いグレーの背景 */
    padding: 10px 15px;
    border-left: 5px solid #555; /* 左側のアクセント線 */
    margin-top: 40px;
    margin-bottom: 20px;
}

/* ラベル（項目名） */
.wpcf7 label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
}

/* 必須マークの赤色 */
.wpcf7 .required {
    color: #d00;
    font-size: 12px;
    margin-left: 5px;
    background: #ffecec;
    padding: 2px 6px;
    border-radius: 3px;
}

/* 入力エリア（テキスト、電話、日付、テキストエリア） */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
    width: 100%; /* 横幅いっぱいに */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px; /* 角を少し丸く */
    background-color: #fff;
    box-sizing: border-box; /* 枠線を含めたサイズ計算 */
    font-size: 16px; /* スマホでズームされないサイズ */
    margin-bottom: 20px; /* 下の余白 */
    transition: 0.3s;
}

/* 入力エリア選択時のハイライト */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #333;
    outline: none;
    background-color: #fafafa;
}

/* テキストエリアの高さ */
.wpcf7 textarea {
    height: 150px;
}

/* ラジオボタンの並び（横並びにする） */
.wpcf7 .wpcf7-list-item {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
}

.wpcf7 .wpcf7-list-item label {
    font-weight: normal; /* 選択肢の文字は太字にしない */
    margin-bottom: 0;
    cursor: pointer;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 300px; /* ボタンの最大幅 */
    margin: 40px auto 0; /* 上の余白と中央寄せ */
    background-color: #333; /* ボタンの色（黒） */
    color: #fff;
    font-weight: bold;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
    font-size: 16px;
}

/* 送信ボタンのマウスホバー時 */
.wpcf7 input[type="submit"]:hover {
    opacity: 0.8;
}