/*
Theme Name: Flat
Theme URI: https://themeisle.com/themes/flat/
Author: ThemeIsle
Author URI: https://themeisle.com
Description: Flat is a free Blog Theme designed by YoArts. Works nice for a personal blog, magazine ,news or review website.
Version: 1.7.11
WordPress Available:  yes
Requires License:    no
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: flat
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-menu, editor-style, post-formats, translation-ready,featured-images, threaded-comments

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.sticky {}

.bypostauthor {}

.widget_text.sponsor {
    background-image: url(/wp-content/themes/flat/assets/img/bg_sponsor.gif);
    overflow: hidden;
}

.widget_text.sponsor .textwidget.custom-html-widget {
    margin: 34px;
    background-image: url(/wp-content/themes/flat/assets/img/bg_sponsor2.gif);
}

/*
.widget_text.sponsor .textwidget.custom-html-widget ul {
    display: flex;
    margin: 0;
    justify-content: space-around;
    padding: 0.5em 1em 1em;
}

.widget_text.sponsor .textwidget.custom-html-widget ul li {
    list-style: none;
    margin: 0 0.5em;
}
*/

.widget_text.sponsor .textwidget.custom-html-widget ul {
    margin: 0;
    padding: 0.5em 0.5em 0;
    overflow: hidden;
    text-align: center;
}

.widget_text.sponsor .textwidget.custom-html-widget ul li {
    list-style: none;
    margin: 0 0.5% 1%;
    float: left;
    width: 19%;
}

@media screen and (max-width: 480px) {

    /* 480pxまでの幅の場合に適応される */
    .widget_text.sponsor .textwidget.custom-html-widget ul {
        display: block;
        padding-bottom: 0;
    }

    .widget_text.sponsor .textwidget.custom-html-widget ul li {
        width: 49%;
        margin-bottom: 2%;
    }

    /*
    .widget_text.sponsor .textwidget.custom-html-widget ul li {
        margin: 0 0.5% 1em;
        display: inline-block;
        width: 48%;
    }
*/
}