.elementor-3998 .elementor-element.elementor-element-51b402a{--display:flex;--margin-top:0px;--margin-bottom:80px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:80px;--padding-left:0px;--padding-right:0px;}.elementor-3998 .elementor-element.elementor-element-117a1c7{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-3998 .elementor-element.elementor-element-f476696 > .elementor-widget-container{margin:40px 40px 40px 40px;}.elementor-3998 .elementor-element.elementor-element-f476696{text-align:center;}.elementor-3998 .elementor-element.elementor-element-f476696 .elementor-heading-title{font-family:"Noto Serif JP", Sans-serif;font-weight:600;color:var( --e-global-color-3fa5987 );}.elementor-3998 .elementor-element.elementor-element-bda996b{--display:flex;--overlay-opacity:0.5;}.elementor-3998 .elementor-element.elementor-element-bda996b::before, .elementor-3998 .elementor-element.elementor-element-bda996b > .elementor-background-video-container::before, .elementor-3998 .elementor-element.elementor-element-bda996b > .e-con-inner > .elementor-background-video-container::before, .elementor-3998 .elementor-element.elementor-element-bda996b > .elementor-background-slideshow::before, .elementor-3998 .elementor-element.elementor-element-bda996b > .e-con-inner > .elementor-background-slideshow::before, .elementor-3998 .elementor-element.elementor-element-bda996b > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:var( --e-global-color-32aae02 );--background-overlay:'';}.elementor-3998 .elementor-element.elementor-element-bda996b.e-con{--align-self:center;}.elementor-3998 .elementor-element.elementor-element-d8cae92{--display:flex;--margin-top:80px;--margin-bottom:80px;--margin-left:80px;--margin-right:80px;}.elementor-3998 .elementor-element.elementor-element-d8cae92.e-con{--flex-grow:0;--flex-shrink:0;}@media(max-width:767px){.elementor-3998 .elementor-element.elementor-element-bda996b{--width:90%;}.elementor-3998 .elementor-element.elementor-element-d8cae92{--width:90%;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-3998 .elementor-element.elementor-element-d8cae92.e-con{--align-self:center;}}@media(min-width:768px){.elementor-3998 .elementor-element.elementor-element-bda996b{--width:80%;}.elementor-3998 .elementor-element.elementor-element-d8cae92{--width:80%;}}/* Start custom CSS for shortcode, class: .elementor-element-184795c */ /* --- Gallery庵様向け コンタクトフォーム再現CSS（修正版） --- */

.wpcf7 {
    font-family: "Yu Mincho", "YuMincho", serif;
    color: #333;
}

/* ラベル（項目名）のデザイン 
   ※.label-style を追加して、radio上の文字も同じデザインにしています */
.wpcf7 label,
.wpcf7 .label-style {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #4a4a4a;
}

/* 必須マーク（*）のデザイン */
.wpcf7 .required {
    color: #d9534f;
    margin-left: 4px;
}

/* 入力欄（テキスト・メール・電話・テキストエリア） */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background-color: #fff;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 24px;
    font-family: inherit;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #9d8666;
}

.wpcf7 textarea {
    height: 180px;
}

/* ラジオボタン（お問い合わせ種別）の配置調整 */
.wpcf7-list-item {
    display: block; 
    margin: 0 0 10px 0;
}
.wpcf7-list-item-label {
    font-size: 15px;
    margin-left: 5px;
}

/* ファイル添付ボタン */
.wpcf7 input[type="file"] {
    margin-bottom: 24px;
    font-size: 14px;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
    background-color: #968266; 
    color: #fff;
    font-size: 15px;
    padding: 12px 40px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    -webkit-appearance: none;
    margin-top: 10px;
    font-family: "Yu Mincho", "YuMincho", serif;
    letter-spacing: 1px;
}

.wpcf7 input[type="submit"]:hover {
    opacity: 0.8;
}
/* --- 追加：注意書きのデザイン --- */
.form-note {
    font-size: 13px;       /* 本文より少し小さく */
    color: #666;           /* 真っ黒ではなく濃いグレーで上品に */
    line-height: 1.6;      /* 行間を広げて読みやすく */
    background-color: #f9f9f9; /* 薄い背景色をつけて区分け（お好みで削除可） */
    padding: 15px;         /* 内側の余白 */
    margin-bottom: 24px;   /* 下の項目との余白 */
    border-radius: 4px;    /* 角丸 */
}

.form-note strong {
    display: block;        /* タイトルをブロック要素にして改行 */
    margin-bottom: 5px;    /* タイトル下の隙間 */
    color: #333;           /* タイトルだけ少し濃く */
}
/* --- 追加：注意書き内のリンクデザイン --- */
.form-note a {
    color: #968266; /* サイトのテーマカラーに合わせる */
    text-decoration: underline; /* 下線をつける */
    font-weight: bold;
}

.form-note a:hover {
    text-decoration: none; /* ホバー時に下線を消す */
    opacity: 0.7;
}
/* --- 修正版：余白調整用CSS（強制適用） --- */

/* 1. 添付ファイルの入力欄自体の下の隙間を極限まで縮める */
.wpcf7 .file-label-spacing input[type="file"] {
    margin-bottom: 5px !important; /* 強制的に5pxにする */
}

/* 2. ラベル自体の下の隙間をなくす */
.wpcf7 .file-label-spacing {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 3. 注意書きボックスの上の隙間をなくす */
.form-note {
    margin-top: 0 !important;
    padding-top: 10px !important; /* 文字がきつくならないよう少し内側に余白 */
} /* End custom CSS */