.terms-wrap {
    width: 100%;
    max-width:680px;
    display:flex;
    flex-direction: column;
    flex:1;
    height:100%;
    overflow-y: auto;
}

.terms-header {
    border-bottom: solid 1px #eee;
    width: 100%;
}

.terms-wd {
    width: 120rem;
    height: 100%;
    margin: 0 auto;
}

.terms-wd .terms-logo {
    display: inline-block;
}

.terms-wd .terms-logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.terms-body {
    margin: 0 auto;
    height:100%;
    overflow-y: auto;
    flex:1;
}

.terms-tab-wrap {
    padding: 0;
}

.terms-tab::after {
    content: '';
    display: block;
    clear: both;
}

.terms-tab {
    padding: 0;
    margin: 0;
    list-style: none;
}

.terms-tab>li {
    text-align: center;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: solid 1px #eee;
}

.terms-tab>li.on {
    border: solid 1px transparent;
    background: #333;
}

.terms-tab>li>a {
    display: block;
    color: #333;
}

.terms-tab>li.on>a {
    color: #fff;
}

.terms-tab>li:hover a {
    text-decoration: underline;
}


.terms-body-txt {
    color: #333;
    white-space: pre-line;
    line-height: 1.8;
    font-weight: 300;
}

.terms-body-txt h3 {
    font-weight: 700;
}

.terms-body-txt h4 {
    font-weight: 400;
}

.terms-body-txt strong {
    font-weight: 700;
}

@media all and (min-width: 1024px) {

    .terms-header {
        height: 6rem;
    }

    .terms-wd {
        width: 120rem;
    }

    .terms-wd .terms-logo {
        width: 8.7rem;
        height: 1.9rem;
        padding: 2.05rem 0;
        background: url('/img/v2/header_logo.png') left center no-repeat;
    }

    .terms-body {
        width: 120rem;
    }

    .terms-tab-wrap {
        width: 120rem;
        margin: 5rem auto 3rem;
    }

    .terms-tab>li {
        float: left;
        width: 25%;
        height: 5.6rem;
        line-height: 5.6rem;
    }

    .terms-tab>li {
        margin-left: -1px;
    }

    .terms-tab>li>a {
        font-size: 1.6rem;
    }

    .terms-body-txt {
        margin: 5rem 0;
        font-size: 1.3rem;
    }

    .terms-body-txt h3 {
        font-size: 1.9rem;
    }

    .terms-body-txt h4 {
        font-size: 1.7rem;
    }

    .terms-body-txt strong {
        font-size: 1.5rem;
    }
}

@media all and (max-width: 1023px) {

    .terms-header {
        height: 5rem;
    }

    .terms-wd {
        width: 100%;
        height: 100%;
    }

    .terms-wd .terms-logo {
        margin-left: 2.4rem;
        width: 6rem;
        height: 100%;
        background: url('/img/v2/amlg.png') no-repeat center center;
        background-size: 6rem 1.2rem;
    }

    .terms-logo>a {
        display: block
    }

    .terms-body {
        width: 100%;
    }

    .terms-tab-wrap {
        width: 100%;
    }

    .terms-tab>li {
        float: left;
        width: calc(50% + 1px);
        line-height: 1.6;
        padding: 2%;
    }

    .terms-tab>li {
        margin-top: -1px;
        margin-left: -1px;
    }

    .terms-tab>li>a {
        font-size: 1.1rem;
    }

    .terms-body-txt {
        width: 92%;
        margin: 0 auto;
        font-size: 1.2rem;
    }

    .terms-body-txt h3 {
        font-size: 1.7rem;
    }

    .terms-body-txt h4 {
        font-size: 1.5rem;
    }

    .terms-body-txt strong {
        font-size: 1.3rem;
    }
}