{"id":10,"date":"2021-05-20T14:26:52","date_gmt":"2021-05-20T05:26:52","guid":{"rendered":"http:\/\/gaku-on.com\/?p=10"},"modified":"2024-03-07T08:40:08","modified_gmt":"2024-03-06T23:40:08","slug":"contactform7-%e4%bb%8a%e3%81%ae%e3%81%a8%e3%81%93%e3%82%8d%e3%81%93%e3%82%8c%e3%81%8c%e3%83%99%e3%82%b9%e3%83%88css%ef%bc%81%ef%bc%81","status":"publish","type":"post","link":"http:\/\/gaku-on.com\/?p=10","title":{"rendered":"contactform7 \u4eca\u306e\u3068\u3053\u308d\u3053\u308c\u304c\u30d9\u30b9\u30c8CSS\uff01\uff01"},"content":{"rendered":"\n<p>HTML\u306b\u306f<\/p>\n\n\n\n<p>\u203b\u9001\u4fe1\u5f8c\u306f\u3001\u3044\u3089\u3093\u30d5\u30a9\u30fc\u30e0\u3092\u6d88\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;div class=\"contact-input-area\">\n\n&lt;label>&lt;span class=\"hissu\">\u5fc5\u9808&lt;\/span>\u304a\u540d\u524d&lt;div id=\"koumoku\">&#91;text* your-name] &lt;\/div>&lt;\/label>\n&lt;label>&lt;span class=\"hissu\">\u5fc5\u9808&lt;\/span>\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&lt;div id=\"koumoku\">  &#91;email* your-email] &lt;\/div>&lt;\/label>\n&lt;label>&lt;span class=\"hissu\">\u5fc5\u9808&lt;\/span>\u90f5\u4fbf\u756a\u53f7\u3000\u4f4f\u6240\u81ea\u52d5\u5165\u529b&lt;div id=\"koumoku\">&#91;text* zip id:zip watermark\"\u4f8b\uff1a7300123\"] &lt;\/div> &lt;\/label>\n&lt;label>&lt;span class=\"hissu\">\u5fc5\u9808&lt;\/span>\u90fd\u9053\u5e9c\u770c&lt;div id=\"koumoku\">&#91;text* pref id:pref watermark\"\u4f8b\uff1a\u5e83\u5cf6\u770c\"]&lt;\/div>&lt;\/label>\n&lt;label>&lt;span class=\"hissu\">\u5fc5\u9808&lt;\/span>\u3054\u4f4f\u6240&lt;div id=\"koumoku\">&#91;text* addr id:addr watermark\"\u4f8b\uff1a\u5e83\u5cf6\u5e02\u4e2d\u533a\u5927\u624b\u753a\uff12\u4e01\u76ee\uff15\u2212\uff11\uff11\"]&lt;\/div>&lt;\/label>\n&lt;label>&lt;span class=\"nini\">\u4efb\u610f&lt;\/span>\u8077\u7a2e&lt;div id=\"koumoku\">&#91;text text-54 watermark\"\u4f8b\uff1a\u5efa\u8a2d\u696d\u3000\u4e0d\u52d5\u7523\u696d\u306a\u3069\"]&lt;\/div>&lt;\/label>\n&lt;span class=\"hissu\">\u5fc5\u9808&lt;\/span>\u8cc7\u683c\u8a8d\u5b9a\u8b1b\u5ea7\u3068\u30bb\u30c3\u30c8\u7533\u8fbc\u3067\u3059\u304b\uff1f\n&lt;div id=\"koumoku2\">&#91;checkbox checkbox-212 \"\u306f\u3044\" \"\u3044\u3044\u3048\"]&lt;\/div>\n&lt;strong>&lt;span class=\"hissu\">\u5fc5\u9808&lt;\/span>DIY\u30ea\u30d5\u30a9\u30fc\u30e0\u30a2\u30c9\u30d0\u30a4\u30b6\u30fc\u8cc7\u683c\u53d6\u5f97\u306e\u76ee\u7684\uff08\u8907\u6570\u56de\u7b54\u53ef\uff09&lt;\/strong>\n&lt;div id=\"koumoku2\">&#91;checkbox checkbox-667 \"\u81ea\u5b85\u3092\u30ea\u30d5\u30a9\u30fc\u30e0\u3057\u305f\u3044\" \"\u6240\u6709\u7a7a\u304d\u5bb6\u3092\u30ea\u30d5\u30a9\u30fc\u30e0\u3057\u305f\u3044\" \"\u6240\u6709\u3059\u308b\u8cc3\u8cb8\u4f4f\u5b85\u306e\u30ea\u30d5\u30a9\u30fc\u30e0\u306b\u6d3b\u7528\u3057\u305f\u3044\" \"\u73fe\u5728\u306e\u4ed5\u4e8b\u306b\u6d3b\u304b\u3057\u305f\u3044\" \"\u65b0\u3057\u3044\u30d3\u30b8\u30cd\u30b9\u3092\u8003\u3048\u305f\u3044\"]&lt;\/div>\n&lt;label>&lt;div class=\"qqqq\">\u3054\u8cea\u554f\u306a\u3069\u3069\u3046\u305e&lt;\/div>\n    &#91;textarea your-message] &lt;\/label>\n\n&#91;acceptance acceptance-0]\u5185\u5bb9\u3092\u3054\u78ba\u8a8d\u306e\u4e0a\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044&#91;\/acceptance]\n\n&#91;submit \"\u9001\u4fe1\u3059\u308b\"]\n\n&lt;\/div>\n\n&lt;div class=\"complete-display\">\n\u304a\u554f\u5408\u305b\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\n\u5f8c\u65e5\u30b9\u30bf\u30c3\u30d5\u3088\u308a\u6298\u308a\u8fd4\u3057\u3055\u305b\u3066\u9802\u304d\u307e\u3059\n&lt;a href=\"\/\">\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u623b\u308b&lt;\/a>\n\n&lt;\/div><\/code><\/pre>\n\n\n\n<p>CSS<\/p>\n\n\n\n<p>\u203bcontactform7\u6a19\u6e96\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306b<br>\u3054\u8a18\u5165\u3044\u305f\u3060\u3044\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u78ba\u8a8d\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3066\u3044\u307e\u3059<br>\u3092\u66f8\u304d\u63db\u3048\u3066\u304a\u304f\u3068\u30d9\u30bf\u30fc<\/p>\n\n\n\n<p>\/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br># form\u7cfb<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*\/<br>.qqqq{<br>&nbsp; &nbsp; font-weight: bold;<br>&nbsp; &nbsp; font-size: 110%;<br>&nbsp; &nbsp; margin-top: 10px;<br>&nbsp; &nbsp; margin-bottom: 5px;<br>}<\/p>\n\n\n\n<p>.sent .contact-input-area{<br>&nbsp; &nbsp; display: none;<br>}<\/p>\n\n\n\n<p>span.wpcf7-list-item {<br>display: block;<br>}<\/p>\n\n\n\n<p>.complete-display{<br>&nbsp; &nbsp; display: none;<br>}<\/p>\n\n\n\n<p>.sent .complete-display{<br>&nbsp; &nbsp; display: block;<br>&nbsp; &nbsp; text-align: center;<br>}<br>.hissu{<br>&nbsp; &nbsp; background-color: #DB2446;<br>&nbsp; &nbsp; padding-top: 6px;<br>&nbsp; &nbsp; padding-right: 10px;<br>&nbsp; &nbsp; padding-bottom: 4px;<br>&nbsp; &nbsp; padding-left: 10px;<br>&nbsp; &nbsp; color: #FFFFFF;<br>&nbsp; &nbsp; font-weight: bold;<br>&nbsp; &nbsp; margin-right: 18px;<br>}<br>.nini{<br>&nbsp; &nbsp; background-color: #177AB8;<br>&nbsp; &nbsp; padding-top: 6px;<br>&nbsp; &nbsp; padding-right: 10px;<br>&nbsp; &nbsp; padding-bottom: 4px;<br>&nbsp; &nbsp; padding-left: 10px;<br>&nbsp; &nbsp; color: #FFFFFF;<br>&nbsp; &nbsp; font-weight: bold;<br>&nbsp; &nbsp; margin-right: 18px;<br>}<br>#koumoku{<br>&nbsp; &nbsp; margin-top: 10px;<\/p>\n\n\n\n<p>&nbsp; &nbsp;&nbsp;<br>}<br>#koumoku2{<br>&nbsp; &nbsp; margin-top: 10px;<br>&nbsp; &nbsp; margin-bottom: 10px; &nbsp; &nbsp;<br>&nbsp; &nbsp;&nbsp;<br>}<\/p>\n\n\n\n<p>.wpcf7 input[name=&#8221;your-name&#8221;],<br>.wpcf7 input[name=&#8221;your-email&#8221;],<br>.wpcf7 input[name=&#8221;zip&#8221;],<br>.wpcf7 input[name=&#8221;pref&#8221;],<br>.wpcf7 input[name=&#8221;addr&#8221;]{<br>&nbsp; &nbsp; &nbsp; &nbsp; width: 50%;<br>&nbsp; &nbsp; &nbsp; &nbsp; height: 35px !important;<br>}<br>&nbsp;<br>.wpcf7 textarea[name=&#8221;your-message&#8221;] {<br>&nbsp; &nbsp; &nbsp; &nbsp; width: 80%;<br>&nbsp; &nbsp; &nbsp; &nbsp; height: 350px !important;<br>}<\/p>\n\n\n\n<p>\/* \u9001\u4fe1\u30dc\u30bf\u30f3\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba *\/<br>.wpcf7 input[type=&#8221;submit&#8221;] {<br>font-size: 100%; \/* \u30d5\u30a9\u30f3\u30c8\u306e\u5927\u304d\u3055 *\/<br>padding: 1em 2em; \/* \u300c\u9001\u4fe1\u3059\u308b\u300d\u3068\u3044\u3046\u6587\u5b57\u3068\u30dc\u30bf\u30f3\u306e\u67a0\u307e\u3067\u306e\u9593\u9694\uff08\u4e0a\u4e0b1\u6587\u5b57\u3001\u5de6\u53f32\u6587\u5b57\u3092\u6307\u5b9a\uff09*\/<br>background: #00008b; \/* \u80cc\u666f\u8272 *\/<br>color: #ffffff; \/* \u6587\u5b57\u8272 *\/<br>border-radius: 4px; \/* \u30b3\u30fc\u30ca\u30fc\u3092\u5fae\u5999\u306b\u4e38\u304f*\/<br>box-shadow: 0 2px 4px rgba(0,0,0,0.2); \/* \u30dc\u30bf\u30f3\u306b\u5f71\u3092\u3064\u3051\u3066\u7acb\u4f53\u7684\u306b *\/<br>border: 1px solid #ccc; \/* \u30dc\u30bf\u30f3\u306e\u67a0\u306e\u6307\u5b9a *\/<br>text-align: center; \/* \u30dc\u30bf\u30f3\u306e\u4e2d\u306e\u6587\u5b57\u306e\u4f4d\u7f6e\u306e\u6307\u5b9a\uff08\u4e2d\u592e\uff09*\/<br>}<br>\/* \u9001\u4fe1\u30dc\u30bf\u30f3\u306b\u30de\u30a6\u30b9\u304c\u4e57\u3063\u305f\u3089\u8272\u3092\u5909\u3048\u308b *\/<br>.wpcf7 input[type=&#8221;submit&#8221;]:hover {<br>background: #f0ffff; \/* \u30de\u30a6\u30b9\u304c\u4e57\u3063\u305f\u3089\u80cc\u666f\u8272\u3092\u5909\u66f4 *\/<br>color: #555555; \/* \u30de\u30a6\u30b9\u304c\u4e57\u3063\u305f\u3089\u6587\u5b57\u8272\u3092\u5909\u66f4 *\/<br>}<\/p>\n\n\n\n<p><code>\u4f4f\u6240\u81ea\u52d5\u5165\u529b\u306f<\/code><br><br>&nbsp;<\/p>\n\n\n\n<p><code>&lt;!-- ajaxzip --&gt;<\/code><\/p>\n\n\n\n<p><code>&lt;script src=\"<a href=\"https:\/\/ajaxzip3.github.io\/ajaxzip3.js\">https:\/\/ajaxzip3.github.io\/ajaxzip3.js<\/a>\" charset=\"UTF-8\"&gt;&lt;\/script&gt;<\/code><\/p>\n\n\n\n<p><code>&lt;script type=\"text\/javascript\"&gt;<\/code><\/p>\n\n\n\n<p><code>jQuery(function(){<\/code><\/p>\n\n\n\n<p><code>jQuery('#zip').keyup(function(event){<\/code><\/p>\n\n\n\n<p><code>AjaxZip3.zip2addr(this,'','pref','addr');<\/code><\/p>\n\n\n\n<p><code>})<\/code><\/p>\n\n\n\n<p><code>})<\/code><\/p>\n\n\n\n<p><code>&lt;\/script&gt;<\/code><\/p>\n\n\n\n<p>footer.php\u306e\uff1c\/body\uff1e\u76f4\u524d\u306b\u3044\u308c\u3066\u307f\u3066\u304f\u3060\u3055\u3044<\/p>\n\n\n\n<p>\u30b5\u30f3\u30af\u30b9\u30da\u30fc\u30b8\u3000\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u306b\u5165\u308c\u308b\u3060\u3051<br>&lt;script type=&#8221;text\/javascript&#8221;&gt;<br>document.addEventListener( &#8216;wpcf7mailsent&#8217;, function( event ) {<br>&nbsp; &nbsp; location = &#8216;\u4f5c\u6210\u3057\u305f\u30b5\u30f3\u30af\u30b9\u30da\u30fc\u30b8\u30a2\u30c9\u30ec\u30b9&#8217;;<br>}, false );<br>&lt;\/script&gt;<\/p>\n\n\n\n<p>\u753b\u9762\u5909\u79fb\u305b\u305a\u306b\u5b8c\u4e86\u753b\u9762<br><a href=\"https:\/\/www.cherrypieweb.com\/weblog\/technical\/20121211133906.php\">https:\/\/www.cherrypieweb.com\/weblog\/technical\/20121211133906.php<\/a>]<\/p>\n\n\n\n<p><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3082\u5fd8\u308c\u305a\u306b\u3000reCAPTCHA v3<\/strong><br><a href=\"https:\/\/www.google.com\/recaptcha\/admin\/create\">https:\/\/www.google.com\/recaptcha\/admin\/create<\/a><br>\u2191<br>\u4e0a\u8a18\u304b\u3089\u767a\u884c\u3059\u308b<br>\u30b5\u30a4\u30c8\u30ad\u30fc\u3068\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30ad\u30fc\u3092\u3000contactform7\u306e\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u5165\u308c\u308b\u3060\u3051<br>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTML\u306b\u306f \u203b\u9001\u4fe1\u5f8c\u306f\u3001\u3044\u3089\u3093\u30d5\u30a9\u30fc\u30e0\u3092\u6d88\u3059 C&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gaku-on.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":4,"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":334,"href":"http:\/\/gaku-on.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/334"}],"wp:attachment":[{"href":"http:\/\/gaku-on.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gaku-on.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gaku-on.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}