3,000円
SEARCH
パーツ設置費用
CSS
.side__search { background-color: #f2f2f2; padding: 20px; } .side__search h2 { background: url("https://ec.excellent.ne.jp/wp/wp-content/uploads/2021/04/search_btn_2.png") no-repeat 0 50% / 21px; border: none!important; display: table; image-rendering: -webkit-optimize-contrast; margin: 0 auto 10px; padding: 0; padding-left: 30px; } .side__search .search__form .searchTxt { border: solid 1px #ccc; padding: 15px; height: 40px; width: 100%; } .side__search .search__form .searchBtn { border: solid 1px #666; background-color: #666; color: #fff; display: table; font-size: 14px; letter-spacing: 4px; margin: 10px auto 0; padding: 5px 6px 5px 10px; } @media screen and (max-width: 800px) { .side__search { padding: 2vw; } .side__search h2 { background-size: 3vw; margin: 0 auto 1vw; padding-left: 4vw; } .side__search .search__form .searchTxt { padding: 2vw; height: 7vw; } .side__search .search__form .searchBtn { font-size: 1.8vw; font-weight: 500; letter-spacing: .4vw; margin: 2vw auto 0; padding: .5vw 1.7vw .5vw 2vw; } } @media screen and (min-width: 250px) and (max-width: 540px) { .side__search { padding: 4vw; } .side__search h2 { background-size: 5vw; margin: 0 auto 2vw; padding-left: 6vw; } .side__search .search__form .searchTxt { padding: 4vw; height: 12vw; } .side__search .search__form .searchBtn { font-size: 3.4vw; letter-spacing: 1vw; margin: 4vw auto 0; padding: .8vw 2.4vw .8vw 3vw; } }
HTML
<section class="side__search"> <h2>SEARCH</h2> <form class="search__form" method="get" action="https://esearch.rakuten.co.jp/rms/sd/esearch/vc"> <input name="sv" type="hidden" value="6"> <input name="sid" type="hidden" value="店舗ID"> <input name="su" type="hidden" value="店舗URL"> <input name="sn" type="hidden" value="店舗名"> <input name="f" type="hidden" value="A"> <input class="searchTxt" name="sitem" type="text" placeholder="商品を検索する"> <p class="border"></p> <input class="searchBtn" type="submit" value="検索"> </form> </section>