@media (max-width: 825px){#catalog{height:220px}}
@media (max-width: 767px){#catalog{height:210px}}
@media (max-width: 720px){#catalog{height:220px}}
@media (max-width: 650px){#catalog{height:230px}}
@media (max-width: 630px){#catalog{height:235px}}
@media (max-width: 600px){#catalog{height:auto}}
#item_body{font-size:85%}
@media (max-width: 767px){{font-size:80%}}
@media (max-width: 767px){{font-size:85%}}

div#footer-area{background-color:white}
.ruleBox {
    border: dotted 1px #e98034;
    padding: 20px;
    margin-bottom: 10px;
    height: 300px;
    overflow-y: scroll;
}
.ruleBox li {
list-style:none;
    text-indent: -1.5em;
    margin-left: 1.0em;
    margin-bottom: 8px;
}
.err_bg {
    background-color: #cc6078;
    color: #fff;
    line-height: 150%;
    padding: 7px;
}
.red{width:200px !important;border-right:4px solid crimson}
.gray{width:200px !important;border-right:4px solid #ccc}
.cell0{margin:0;padding:0 0 0 8px;line-height:1.8em}
.cell0 p{margin:0.5em 0 !important}
select{padding:0;line-height:1.5em !impotrant}input,textarea{margin:0;
-moz-box-shadow: inset 2px 2px 8px -3px rgba(0,0,0,0.2) !important;
-webkit-box-shadow: inset 2px 2px 8px -3px rgba(0, 0, 0, 0.2) !important;
box-shadow: inset 2px 2px 8px -3px rgba(0,0,0,0.2) !important;
-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

table#inquiry{width:92%;max-width:800px;margin:0 auto;border-top:1px solid #ccc}
table#inquiry td{padding:8px 0;}

#name table{max-width:374px;margin:0;}/*274*/
#name table td{padding:0 4px 0 0}
#birth select{width:12%;margin:0 0.2em 0.2em 0}
#birth select#b_year{width:16%;}
#zip table{max-width:280px;margin:0;padding:0}
#tel table{max-width:280px;margin:0;}#tel table td{padding:0}
#bukken table{max-width:280px;margin:0;padding:0}
#name table td,#zip table td,#tel table td,#job table td,#bukken table td{border:none;}
/*#zip input{max-width:80px}*/
#job table{max-width:460px;margin:0;padding:0}
#job select{max-width:100%;margin:0 0.2em 0.2em 0}


.sel_date_red{width:55%;padding-left:0.3em !important;border-left:4px solid crimson !important}
.sel_date_gray{width:55%;padding-left:0.3em !important;border-left:4px solid #ccc !important}


h3.sec_ttl{color:#0a1163;font-weight:bold !important;font-size:120%;}

.listbox{
background:#f2f2f2;
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#eaeaea));
background-image: linear-gradient(to bottom, #fcfcfc 0%, #eaeaea 100%);
background-repeat: repeat-x;
background-position: left top;
box-sizing:border-box;
padding:6px 0 4px 6px !important;
margin:0 0 4px 0;
border: 1px solid #ccc;
min-height:40px;
-moz-border-radius:4px;
-webkit-border-radius:4px;
border-radius:4px;}
.listbox label{font-size:106%;line-height:1.2em !important;word-wrap: break-word;}
.AreaTitle{font-size:110%;font-weight:bold;padding:10px 0 8px;color:darkblue;}
.bg-red{background: #cb3054 !important;color:#fff}.bg-red:hover{background: #d05980 !important;color:#f0f0f0}
.condition{padding:2px 0 4px}
#submit_bt {
    margin:20px auto;
    width:350px;
   padding:10px;
}
input#btn {
    color: #000;
}
#btn {text-align:center;
    padding: 10px !important;
    font-weight: bold;
    width:150px;
    height:auto;
    border:1px solid #aaa;
    background:#f2f2f2;
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#eaeaea));
background-image: linear-gradient(to bottom, #fcfcfc 0%, #eaeaea 100%);
background-repeat: repeat-x;
background-position: left top;
margin:10px 0;
}
#btn:hover{background:#fff}
#dummy{height:1px}
table#inquiry th{width:210px !important;line-height:1.4em/*padding-left:0.5em*/}

@media (max-width: 630px){
.cell0{max-width:280px}
#dummy{width:200px;height:1px}
.listbox{padding:8px 0 6px 6px !important;}
table#inquiry{width:100%;/*margin:0 8% 0 0*/}
/*table#inquiry th{width:90px !important}
table#inquiry table td {padding: 8px 4px 8px 0;}*/
/*
table#inquiry{width:92% !important;margin:0 4% 0 4%}*/
table#inquiry table td {padding: 8px 4px 8px 0;}
table#inquiry th{width:82px !important}
#inquiry td input{width:92% !important}
#name table{max-width:260px;margin:0;}
#birth select{width:20%;margin:0 0.2em 0.2em 0}
#birth select#b_year{width:30%;}

#comment{width:100%}
.ruleBox{padding:8px}ul, ol {
    margin: 0 0 9px 10px;
}

}
@media (max-width: 630px){
label{font-size:95%;line-height:1.8em}


}



input[type=radio],
input[type=checkbox] {
    display: inline-block;
    margin-right: 6px;
}
input[type=radio] + label,
input[type=checkbox] + label {
    position: relative;
    display: inline-block;
    margin:6px 0;
    font-weight:normal;
/**    font-size: 24px !important;---*/
    line-height: 32px;
/*    letter-spacing:-0.1em;*/
    cursor: pointer;
}
 
@media (min-width: 1px) {
    input[type=radio],
    input[type=checkbox] {
        display: none;
        margin: 0;
    }
    input[type=radio] + label,
    input[type=checkbox] + label {
        padding: 0 0 0 24px;
    }
    input[type=radio] + label::before,
    input[type=checkbox] + label::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
         
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
        width: 20px;
        height: 20px;
        margin-top: -12px;
        background: #fff;
    }
    input[type=radio] + label::before {
        border: 2px solid #333;
        border-radius: 30px;
    }
    input[type=checkbox] + label::before {
        border: 2px solid #333;
    }
    input[type=radio]:checked + label::after,
    input[type=checkbox]:checked + label::after {
        content: "";
        position: absolute;
        top: 50%;
         
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
    }
    input[type=radio]:checked + label::after {
        left: 4px;
        width: 12px;
        height: 12px;
        margin-top: -8px;
        background: #e71063;
        border-radius: 8px;
    }
    input[type=checkbox]:checked + label::after {
        left: 2px;
        width: 18px;
        height: 12px;
        margin-top: -10px;
         
        border-left: 5px solid #E71063;
        border-bottom: 5px solid #E71063;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}