body {
    font-family: 
        "メイリオ",
        Meiryo,
        "ヒラギノ角ゴ Pro W3",
        "Hiragino Kaku Gothic Pro",
        HiraKakuPro-W3,
        "ＭＳ Ｐゴシック",
        "MS PGothic",
        Osaka,
        Verdana,sans-serif;
    margin: 0px;
    font-size: 0.87rem;
}

.top-container {
    display: flex;
    flex-direction: column;
}

.top-container div {
    display: grid;
}

.top-container .avn-menu-area {
    grid-template-columns: repeat(1, 1fr);
    column-gap: 0px;
    height: 60px;
}

.top-container .avn-menu-area > * {
    place-items: center;
    border-radius: 10px 10px 0 0;
}

.top-container .avn-menu {
    background-color: #e60012;
    color: #ffffff;
    border: 1px solid #d6d6d6;
}
.top-container .category > * {
    place-items: center;
    border: 1px solid #cccccc;
    height: 46px;
}
.top-container .avn-category {
    grid-template-columns: repeat(6, 1fr);
    font-weight: 600;
}
.avn-category .current {
    border-bottom: #e60012 3px solid;
}
.avn-category a {
    text-decoration: none;
    font-weight: 600;
}
.p_h1 {
    font-size: 23px;
    font-weight: 900;
    /* margin: 60px 0; */
    margin-top: 40px;
    margin-bottom: 20px;

}
.avnmanual {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 60px;
}
.toriatsukai {
    background-color: #fb6262;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 4px;
}
table {
    width: 100%;
    min-width: 720px;
    white-space: normal;
    text-align: center;
}

table, th, td {
    border-collapse: collapse;
    border:1px solid #333;
}

th {
    background-color: #f2f2f2;
}

th, td {
    padding: 5px 5px;
    height: 32px;
    white-space: nowrap;
    font-size: 0.8rem;
}
td a, td button {
    display: inline-block;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    padding: 4px 7px;
    cursor: pointer;
}
.text-left {text-align: left;}
td > * {
    margin: 3px 1px;
}
table tr td:nth-of-type(1) {
    text-align: left;
    white-space: normal;
}
table td a {
    font-weight: bold;
}
table td a:hover {
    color: #ffffff;
}
.footer_link {
    position: relative;
    top: 0px;
    left: 0px;
}
.copyright {
    float: right;
    color: #898888;
    font-size: small;
    position: relative;
    left: 100px;
    top:-20px
}
small {
    font-size: 11px;
    line-height: 1.2em;
    margin: 15px 0;
}
@media (min-width: 1200px){
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1000px;
    }
}
@media screen and (max-width: 980px) {
    .top-container .avn-menu {
        background-color: #e60012;
        color: #ffffff;
        border: 1px solid #d6d6d6;
    }
    .top-container .category > * {
        place-items: center;
        border: 1px solid #cccccc;
        height: 46px;
    }
    .top-container .avn-category {
        grid-template-columns: repeat(1, 1fr);
        font-weight: 600;
    }
    .avn-category .current {
        border-left: #e60012 3px solid;
    }
    .avn-category a {
        text-decoration: none;
        font-weight: 600;
    }
.jp-category {
    margin: 0;
}

    .footer_link {
        position: relative;
        top: 0px;
        left: 0px;
    }
    .copyright {
        float: left;
        color: #898888;
        font-size: small;
        position: relative;
        left: 0px;
        top:0px
    }
    footer {
        width: 83%;
        margin: 0 auto;
        padding-right: 12px;
        padding-left: 12px;
        max-width: 1139px;
    }
    .top-wrapper {
        display: none;
    }
    table {
        width: 1000px !important;
        overflow-x: scroll;
    }
    .sp_mgn {
        margin-top: 47px;
    }
}
