﻿body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, aside, blockquote, th, td, span, i, b {
    margin: 0;
    padding: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    width: 100%;
    margin: 0 auto;
    font-size: 16px
}

html, button, input, select, textarea {
    font-family: 'hiraginosansgb w3','Helvetica Neue',Helvetica,'microsoft yahei',Arial,sans-serif;
}

body {
    min-width: 320px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media screen and (min-width:360px) and (max-width:374px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width:375px) and (max-width:479px) {
    html {
        font-size: 18px;
    }
}

@media screen and (min-width:480px) and (max-width:539px) {
    html {
        font-size: 20px;
    }
}

@media screen and (min-width:540px) and (max-width:639px) {
    html {
        font-size: 24px;
    }
}

@media screen and (min-width:640px) {
    html {
        font-size: 28px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-size: 100%;
}

:focus {
    outline: 0;
}

a, input, select, textarea {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

q:before, q:after {
    content: '';
}

em, i {
    font-style: normal;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    border: none;
}

ol, ul, li {
    list-style: none;
    vertical-align: middle;
}

input, textarea {
    outline: none;
    -webkit-appearance: none;
}

textarea {
    resize: none;
}

    textarea::-webkit-input-placeholder, textarea::-moz-input-placeholder, textarea::-ms-input-placeholder, input::-webkit-input-placeholder, input::-moz-input-placeholder;input::-ms-input-placeholder {
        color: #bababa;
    }

input:focus {
    outline-width: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}

a {
    text-decoration: none;
    outline: none;
    font-weight: normal;
    border: 0;
}

.clearfix:after {
    content: '';
    display: block;
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.tc {
    text-align: center;
}

.tr {
    text-align: right;
}

.tl {
    text-align: left;
}

.vm {
    vertical-align: middle;
}

.rel {
    position: relative;
}

.abs {
    position: absolute;
}

.f3 {
    background: #f3f3f3 !important;
}

.f5 {
    background: #f5f5f5 !important;
}

.BgWhite {
    background: #ffffff !important;
}

.pt0 {
    padding-top: 0 !important;
}

.pr0 {
    padding-right: 0 !important;
}

.pb0 {
    padding-bottom: 0 !important;
}

.pl0 {
    padding-left: 0 !important;
}

.mt0 {
    margin-top: 0 !important;
}

.mt1 {
    margin-top: 1rem !important;
}

.mr0 {
    margin-right: 0 !important;
}

.mb0 {
    margin-bottom: 0 !important;
}

.mb50 {
    margin-bottom: 50px !important;
}

.ml0 {
    margin-left: 0 !important;
}
