html, body, div, p, table, td, ul, li, a, img {
    margin: 0;
    padding: 0;
    border: 0;
    font-family:
        Meiryo,
        "$B%a%$%j%*(B",
        "Hiragino Kaku Gothic Pro",
        "$B%R%i%.%N3Q%4(B Pro W3",
        "MS P Gothic",
        "$B#M#S(B $B#P%4%7%C%/(B",
        sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 100%;
}

td, img, input, select {
    vertical-align: top;
}

body {
    color: #4b4641;
}

div#bg_l {
    max-width: 500px;
    height: 117px;
    margin: 0 auto;
    background-image: url("/gadgets/zip/img/bg_l.png");
    background-repeat: no-repeat;
    background-position: left top;
}

* html #bg_l {
    width: expression( document.body.clientWidth > 500 ? "500px" : "auto" );
}

div#bg_r {
    max-width: 500px;
    height: 117px;
    padding: 0;
    background-image: url("/gadgets/zip/img/bg_r_stamp.png");
    background-repeat: no-repeat;
    background-position: right top;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td#td_zip {
    width: 100%;
    padding: 10px 80px 6px 30px;
}

* html td#td_zip {
    padding: 9px 80px 5px 30px;
}

/*
*:first-child+html td#td_zip {
    padding: 9px 80px 5px 30px;
}
*/

td#td_address {
    padding: 5px 80px 6px 30px;
}

* html td#td_address {
    padding: 4px 80px 5px 30px;
}

*:first-child+html td#td_address {
    padding: 4px 80px 5px 30px;
}

input, select {
    margin: 0;
    padding: 0;
    border: 0;
}

input {
    height: 25px;
    padding: 0 10px;
    background-image: url("/gadgets/zip/img/text_l.png");
    background-repeat: no-repeat;
    background-position: left top;
}

input#search_zip {
    width: 105px;
    height: 20px;
    padding-top: 5px;
    font-weight: normal;
    font-size: 90%;
    color: #7d7873;
}

input#search_address {
    width: 100%;
    height: 20px;
    padding-top: 5px;
    font-weight: normal;
    font-size: 90%;
    color: #7d7873;
}

/* for Opera */
html:first-child div input#search_address {
    width: 190px;
}

div#result {
    padding: 5px 30px 0;
}

* html div#result {
    padding: 5px 0 0;
}

*:first-child+html div#result {
    padding: 5px 0 0;
}

p#error {
    font-weight: bold;
    font-size: 90%;
    color: #e52;
}

* html p#error {
    padding: 0 30px 0;
}

*:first-child+html p#error {
    padding: 0 30px 0;
}

select#address_list {
    width: 100%;
    font-size: 90%;
}

* html select#address_list {
    font-size: 70%;
}

*:first-child+html select#address_list {
    font-size: 70%;
}

* html img.search_button {
    margin-top: 1px;
}

*:first-child+html img.search_button {
    margin-top: 1px;
}

* html img#spinner {
    margin: 5px 30px 0;
}

*:first-child+html img#spinner {
    margin: 5px 30px 0;
}

* html a#map_link {
    margin: 5px 30px 0;
}

*:first-child+html a#map_link {
    margin: 5px 30px 0;
}
