.footer_ads{
    background-color: #fff;
    border-top: 3px solid #e0e0e0;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;

    display:flex;
    justify-content:center;
align-items:center;
}

.footer_ads a{
    transition: all 200ms 0s ease;
    text-decoration: none;
}

.footer_ads a:hover{
    opacity: 0.5;
    transition: all 200ms 0s ease;
}

.footer_ads a img{
    max-width: 330px;
    width: 100%;
    height: auto;
    display: inline-block;
    margin: 0 5px;
}

#fotwrapper {
    width: 100%;
    color: #fff;
    background-color: #222;
    margin-top: 0rem;
    border-top: 5px solid #ddd;
    position: relative;
}

#footer_contents h1 {
    font-weight: bold;
    font-size: 1.45rem;
    font-family: sans-serif!important;
    padding: 1rem 0 0.5rem 1rem;
    text-align: left;
}

#contents {
    max-width: 1000px;
    margin: auto;
    margin-bottom:1rem;
}

#contents_inner {
    max-width: 900px;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-direction: row;
    
}

.genre {
    flex: 1 1 0;
    text-align: left;
}

#contents_inner h2 {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: 2px solid #bbb;
    max-width: 8rem;
    padding-bottom: 2px;
    text-align: left;
    font-family: 'Kosugi Maru', sans-serif;
}

#contents a {
    text-decoration: none;
    color: #fff;
    display: block;
    padding: 0.5rem 0;
    font-family: sans-serif!important;
}

#contents a:hover {
    opacity: 0.5;
}

#shopping a:before {
    content: ">";
    color: #259;
    font-weight: bold;
    margin-right: 2px;
}
#rental a:before {
    content: ">";
    color: #02b48c;
    font-weight: bold;
    margin-right: 2px;
}
#kaitori a:before {
    content: ">";
    color: #c00;
    font-weight: bold;
    margin-right: 2px;
}

.pana_seiki{
    /*position: absolute;*/
    /*bottom: 7rem;*/
    /*left: 0.8rem;*/
}
.pana_seiki img{
    max-width: 150px!important;
    width: 100%;
    height: auto;
}




















#copyright {
    padding: 10px;
    font-size: 13px;
    text-align: center;
    background-color: #fff;
    color: #222;
    border-top: 5px solid #ddd;

}

@media(max-width:769px){
    .footer_ads{
        display: none;
    }
    
    #fotwrapper {
        margin-top: 2rem;
    }
    
    #contents_inner{
        width: 90%;
        flex-direction: column;
    }
    .genre{
        text-align: left;
        padding: 10px 0;
        margin: auto;
        width: 90%;/*?*/
    }
}