@charset "UTF-8";

ul.category_list {
    flex-wrap: wrap;
    justify-content: space-around;
}

ul.category_list li h2 {
    text-align: center;
}

@media screen and (min-width: 1010px) {

    ul.category_list li {
        margin-bottom: 30px;
        width: 250px;
    }

    #wrapper .content {
        float: right;
        width: 539px;
        margin-left: 140px;
        padding-bottom: 60px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #wrapper .content .category_list div {
        width: 250px;
        height: 166px;
        overflow: hidden;
        position: relative;
        margin: 0 0 5px 0;
        font-size: 14px;
    }

    #wrapper .content .category_list aside {
        text-align: left;
        font-size: 10px;
        line-height: 1.5em;
        margin-top: 10px;
        border-bottom: 1px solid #ccc;
    }

    #wrapper .content .category_list td {
        vertical-align: top;
        text-align: center;
        width: 250px;
        padding: 0 0 0 10px;
    }

    #wrapper .content .category_list tr:not(:first-child) td {
        padding-top: 30px;
    }


    .tds h2 {
        font-size: 14px !important;
        color: #11aaaa !important;
    }

    .tdl h2 {
        font-size: 14px !important;
        color: #DD4477;
    }

    header nav.top_nav {
        position: absolute;
        top: 350px;
    }

}

/* スマホ用 */
@media screen and (min-width: 0) and (max-width: 1009px) {

    #wrapper .content {
        width: auto;
        overflow: hidden;
        height: auto;
        margin: 0 10px 0px 10px;
    }

    #wrapper .content ul.category_list {
        width: 100%;
        border-spacing: 10px 0;
    }

    ul.category_list li {
        width: 45%;
        display: inline-block;
        margin-bottom: 30px;

    }

    #wrapper .content .category_list div {
        width: 100%;
        height: 120px;
        overflow: hidden;
        position: relative;
        margin-bottom: 5px;
    }

    #wrapper .content .category_list aside {
        font-size: 9px;
        line-height: 1.5em;
        margin: 10px 0 10px 0;
        text-align: left;
    }

    #wrapper .content .category_list td {
        vertical-align: top;
        text-align: center;
        width: 50%;
    }

    .tds h2 {
        font-size: 10px !important;
        color: #11aaaa !important;
    }

    .tdl h2 {
        font-size: 10px !important;
        color: #DD4477;
    }
}