* {
    font-weight: inherit;
    font-style: inherit;
    font-variant: inherit;
    text-decoration: inherit;
    color: inherit;
    background-color: transparent;
    font-size: inherit;
    margin: 0px;
    padding: 0px;
/*
    line-height: inherit;
    word-spacing: inherit;
    white-space: inherit;
    letter-spacing: inherit;
*/
}

body {
    margin: 0 auto;
    color: #ffffff;
    line-height: 16px;
    font-size: 12px;
    word-spacing: 0px;
    white-space: normal;
    letter-spacing: 0px;
}

a {
    text-decoration: underline;
}

ul {
    list-style-type: none;
    clear: both;
}

ul.model>li {
    float: left;
}

input {
    text-align: right;
    color: #eeeeee;
}

select {
    background-color: #505050;
    color: #ffffff;
}

table {
    background-color: #505050;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: #224444;
    border-style: double;
    border-width: 2px;
    caption-side: top;
/*
    float: left;
*/
}

th {
    background-color: #000022;
    background-image: "";
    background: center;
    background-repeat: no-repeat;
    border-color: #004444;
    border-style: double;
    border-width: 2px;
    text-align: center;
}

td {
    background-image: "";
    background-repeat: no-repeat;
    border-color: #004444;
    border-style: double;
    border-width: 2px;
    text-align: right;
    vertical-align: bottom;
}

table.treasure {
    clear: left;
    margin-bottom: 16px;
}

table.treasure th,
table.treasure td {
    width: 40px;
    height: 40px;
}

table.treasure tr>th:first-child {
    width: 84px;
    text-align: right;
}

table.item {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    display: inline-block;
    vertical-align: top;
}

table.item th {
    width: 40px;
    height: 40px;
    vertical-align: bottom;
}

table.item th p {
    background-image: url(./tr_bg.png);
    background-repeat: repeat;
    height: 16px;
/*
    font-size: 8px;
*/
    color: #ffff00;
    text-align: center;
    white-space: nowrap;
    line-height: 8px;
}

table.item th p span {
/*
    wordrap;
*/
}

table.item td {
    width: 40px;
    vertical-align: top;
}

table.num {
    width: 180px;
    margin-right: 15px;
    margin-bottom: 16px;
}

table.num td {
    width: 128px;
    height: 40px;
}

table.model {
    width: 100%;
    background-color: #333333;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: #ff4444;
    border-style: double;
    border-width: 2px;
    margin-bottom: 16px;
}

table.model td {
    border-color: #ff4444;
}

div {
    border: solid 0px #ff3333;
}

div.clear {
    clear: left;
}

div.submit p {
/*
    padding-top: 18px;
*/
    padding-left: auto;
    text-align: center;
    vertical-align: center;
}

div.submit {
/*
    width: 280px;
*/
    font-size: 32px;
    text-align: center;
}

p input {
    width: 256px;
    height: 48px;
    color: #ffb300;
    font-size: 16px;
    text-align: center;
    background-image: url(./Ds4_password_return.GIF);
    border: 0px;
}

div.result {
    clear: left;
/*
    width: 640px;
*/
    height: 120px;
    margin-top: 16px;
    margin-left: 0px;
    margin-bottom: 16px;
    background-image: url(./Ds4_password_result.GIF);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
}

p.result {
    color: #cccccc;
/*
    width: 640px;
*/
    line-height: 32px;
    font-size: 30px;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 10px;
}

div.conv {
    border: solid 1px #3333ff;
    clear: left;
    width: 628px;
    margin-top: 10px;
    margin-left: 0px;
    padding: 5px;
}

table.conv {
    background-color: #00ffff;
    margin-left: 24px;
}

table.conv td {
    background-color: #0044ff;
    border-color: #004444;
    border-style: double;
    border-width: 2px;
    text-align: center;
    vertical-align: bottom;
}

h1 {
    font-weight: bold;
    color: #66ffbb;
    background-color: #0D5050;
/*
    background-color: rgba(66, 255, 200, 0.3);
    padding: 16px 0;
*/
}

DIV.main {
/*
    width: 954px;
*/
}

DIV.main1 {
    float: left;
    width: 275px;
    margin-left: 16px;
    border: solid 0px #3333ff;
}

DIV.main2 {
    float: left;
    width: 724px;
    margin-left: 16px;
/*
    margin-bottom: 16px;
*/
    border: solid 0px #33ff33;
    text-align:center;
}

DIV.main3 {
    float: left;
    width: 724px;
    margin-left: 16px;
    border: solid 0px #33ffff;
}

DIV.main4 {
    float: left;
    width: 720px;
    margin-top: 7px;
    margin-left: 16px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border: solid 1px #3333ff;
    text-align:center;
}

h4 {
    text-indent: 0;
    text-align: left;
}

div.main3 h4 {
    color: #ffb300;
    background-color: rgba(255, 180, 0, 0.4);
}

div.main4 h4 {
    color: #66aaff;
    background-color: rgba(42, 170, 255, 0.2);
}

 header {
  width : 100%;
  font-size: 12px;
  margin: 0 0 0 0;
}

@media screen and (max-width:1100px) {

    html {
        font-size: calc(130% + 0.20vw);
    }

    DIV.main {
        width: 100%;
        margin: 0 auto;
    }

    DIV.main1 {
        width: 100%;
        margin: 0 auto;
    }

    DIV.main2 {
        width: 100%;
        margin: 0 auto;
    }

    DIV.main3 {
        width: 100%;
        margin: 0 auto;
    }

    DIV.main4 {
        box-sizing:border-box;
        width: 100%;
        margin: 0 auto;
    }

    div.result {
        width: 100%;
    }

    div.submit {
        width: 100%;
    }

    p.result {
        height: 120px;
        width: 100%;
        line-height: 1.2em;
        font-size: 16px;
        padding-top: 20px;
    }

    img.cc {
        width: 100%;
    }

    table.num {
        width: 45%;
        margin-right: 16px;
        margin-bottom: 16px;
    }

    table.item {
        float: left;
    }
    table.item th {
        width: 32px;
        height: 32px;
        vertical-align: middle;
    }
    table.item img {
        width: 32px;
        height: 32px;
        vertical-align: bottom;
    }
    table.item input {
        width: 32px;
    }

}