.elementor-kit-1499{--e-global-color-primary:#7E4197;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-589d944:#A39FCF;--e-global-color-23db026:#7E4197;--e-global-color-9a050d8:#BB7D0F;--e-global-color-613ae12:#5936A3;--e-global-color-66b32cf:#C8693A;--e-global-color-0789143:#324A6D;--e-global-color-9d09d4a:#FDFDFD;--e-global-color-c1690e8:#FDFDFD;--e-global-color-b082b1d:#FFFFFF;--e-global-color-5eca0e3:#709B4A;--e-global-color-0e0d0c5:#C06BA4;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-1499 button,.elementor-kit-1499 input[type="button"],.elementor-kit-1499 input[type="submit"],.elementor-kit-1499 .elementor-button{background-color:var( --e-global-color-23db026 );color:#FFFFFF;border-style:none;border-radius:60px 60px 60px 60px;padding:10px 60px 10px 60px;}.elementor-kit-1499 button:hover,.elementor-kit-1499 button:focus,.elementor-kit-1499 input[type="button"]:hover,.elementor-kit-1499 input[type="button"]:focus,.elementor-kit-1499 input[type="submit"]:hover,.elementor-kit-1499 input[type="submit"]:focus,.elementor-kit-1499 .elementor-button:hover,.elementor-kit-1499 .elementor-button:focus{background-color:var( --e-global-color-23db026 );color:#FFFFFF;border-style:none;}.elementor-kit-1499 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header{padding-inline-end:0px;padding-inline-start:0px;}@media(max-width:1350px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* フォーム全体のコンテナスタイル */
/* Contact Form 7 のショートコードを囲む親要素（例: Elementorのカラムやセクション）に
   「contact-form-wrapper」というCSSクラスを追加してください。*/
.contact-form-wrapper {
    /* background-color: #ffffff; */ /* 背景色を削除 */
    padding: 40px; /* 内側の余白は維持（必要に応じて調整してください） */
    /* border-radius: 10px; */ /* 角の丸みを削除 */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */ /* 影を削除 */
    max-width: 900px; /* フォームの最大幅は維持 */
    margin: 50px auto; /* 上下の余白と中央寄せは維持 */
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Contact Form 7 のデフォルトの div.wpcf7 が持つ余分なマージンをリセット */
.wpcf7 {
    margin-bottom: 0 !important;
}

/* テーブルの基本的なリセットとスタイリング */
.contact-form-wrapper .mail.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

/* 各行（tr）のスタイル */
.contact-form-wrapper .mail.table tr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
    border-bottom: none;
}

/* 項目名と入力欄のセル（td） */
.contact-form-wrapper .mail.table .item,
.contact-form-wrapper .mail.table .input {
    flex-grow: 1;
    padding: 0;
    vertical-align: top;
    background-color: transparent; /* ここはすでに透明なので問題なし */
    border: none;
}

/* 項目名のスタイル */
.contact-form-wrapper .mail.table .item {
    width: 100%;
    flex-basis: 100%;
    font-size: 0.9em;
    color: #555;
    font-weight: normal;
    margin-bottom: 5px;
}

/* 必須マークのスタイル */
.contact-form-wrapper .mail.table .item font {
    color: #e74c3c;
    font-size: 0.8em;
    margin-left: 5px;
    font-weight: bold;
}

/* 入力欄（input, textarea）のスタイル - 下線デザイン */
.contact-form-wrapper .mail.table input[type="text"],
.contact-form-wrapper .mail.table input[type="email"],
.contact-form-wrapper .mail.table textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ddd; /* この下線は残します。不要であればここも削除してください */
    background-color: transparent;
    outline: none;
    box-shadow: none;
    font-size: 1.1em;
    color: #333;
    transition: border-color 0.3s ease;
    margin-top: 0;
    margin-bottom: 0;
}

.contact-form-wrapper .mail.table input[type="text"]:focus,
.contact-form-wrapper .mail.table input[type="email"]:focus,
.contact-form-wrapper .mail.table textarea:focus {
    border-bottom-color: #007bff; /* フォーカス時に青い下線 */
}

/* 入力例などのヒントテキスト */
.contact-form-wrapper .mail.table .instance,
.contact-form-wrapper .mail.table .small {
    font-size: 0.85em;
    color: #777;
    margin-top: 3px;
    display: block;
    opacity: 0.8;
}

/* ラジオボタンのスタイル調整 */
.contact-form-wrapper .mail.table .input .wpcf7-list-item {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
}

.contact-form-wrapper .mail.table input[type="radio"] {
    margin-right: 8px;
    vertical-align: middle;
    width: auto;
    height: auto;
    border-bottom: none;
}

.contact-form-wrapper .mail.table .wpcf7-list-item-label {
    font-size: 1em;
    color: #333;
    cursor: pointer;
    vertical-align: middle;
}

/* テキストエリアの高さ */
.contact-form-wrapper .mail.table textarea {
    min-height: 100px;
    resize: vertical;
}

/* 郵便番号と住所の小さい入力欄 */
.contact-form-wrapper .mail.table input.small {
    width: 150px;
    display: inline-block;
    margin-right: 15px;
    vertical-align: bottom;
}

/* 住所の各入力フィールドのラベル (都道府県、市町村など) */
.contact-form-wrapper .mail.table .input .small:not(.instance) {
    display: block;
    font-size: 0.85em;
    color: #777;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* 送信ボタンのスタイル */
.contact-form-wrapper .mail.table input[type="submit"] {
    display: block;
    width: 200px;
    margin: 40px auto 10px auto;
    padding: 15px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); /* ボタンの影は維持していますが、不要なら削除してください */
}

.contact-form-wrapper .mail.table input[type="submit"]:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* エラーメッセージのスタイル (Contact Form 7 標準のクラス) */
.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 25px;
        margin: 30px 20px;
    }

    .contact-form-wrapper .mail.table tr {
        margin-bottom: 20px;
    }

    .contact-form-wrapper .mail.table .item {
        font-size: 0.85em;
        margin-bottom: 3px;
    }

    .contact-form-wrapper .mail.table input[type="text"],
    .contact-form-wrapper .mail.table input[type="email"],
    .contact-form-wrapper .mail.table textarea {
        font-size: 1em;
        padding: 8px 0;
    }

    .contact-form-wrapper .mail.table input.small {
        width: calc(50% - 10px);
        margin-right: 10px;
    }

    .contact-form-wrapper .mail.table .input .small:not(.instance) {
        margin-top: 10px;
    }

    .contact-form-wrapper .mail.table input[type="submit"] {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }
}/* End custom CSS */