@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

#footer {
    width: 100%;
    padding: 20px 0 20px 0;
    background-color: #f08300;
}

#footer .contents div {
    text-align: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}


#footer:before,
#footer:after {
    content: " ";
    display: table
}

#footer:after {
    clear: both
}

#footer a:link,
#footer a:visited {
    color: #fff;
    text-decoration: none;
}

#footer a:hover,
#footer a:active {
    color: #fff;
    text-decoration: underline;
}

#footer ul {
    list-style: none outside none;
    float: left;
    margin: 0 0 5px 0;
    padding: 0;
    position: relative;
    left: 50%;
}

#footer ul:before,
#footer ul:after {
    content: " ";
    display: table
}

#footer ul:after {
    clear: both
}

#footer ul li {
    padding: 0 1em 0 1em;
    border-right: 1px solid #fff;
    float: left;
    position: relative;
    left: -50%;
    font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", "Lucida Grande", "Helvetica", "Arial", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: normal;
    line-height: 18px;
}

#footer ul li:last-child {
    border-right: none;

}


/*-----------------------*----*----*----*----*----* copyright */
footer .copyr {

    font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", "Lucida Grande", "Helvetica", "Arial", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
    margin-top: 50px;
    text-align: center;
    width: 100%;
    font-size: 0.8em;
}

@media(max-width:768px) {

    #ft-bnner {}

    #ft-bnner ul {
        width: 100%;
        margin-bottom: 1em;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }

    #ft-bnner ul li a:hover {
        opacity: 0.7;
    }

    #ft-bnner ul li a img {
        width: 100%;
    }

    #ft-bnner p {
        text-align: center;
        padding-bottom: 10px;
        font-size: 1em;
    }

    footer {
        width: 100%;
        padding: 20px 0 15px 0;
        color: #fff;
    }

    footer:before,
    footer:after {
        content: " ";
        display: table
    }

    footer:after {
        clear: both
    }

    footer a:link,
    footer a:visited {
        color: #fff;
    }

    footer a:hover,
    footer a:active {
        color: #fff;
        text-decoration: underline;
    }

    footer ul {
        display: inline;
    }


    footer ul a:link,
    footer a:visited {
        color: #fff;
    }


    footer ul li {
        float: left;
        padding: 0px 7px 0px 7px;
        border-right: 1px solid #fff;
        font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", "Lucida Grande", "Helvetica", "Arial", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
        /* line-height:1%; */
        margin-bottom: 5px;
        display: inline;
    }

    #footer ul li:last-child {
        border-right: 1px solid #fff !important;
    }



    /*-----------------------*----*----*----*----*----* copyright */
    footer .copyr {

        font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", "Lucida Grande", "Helvetica", "Arial", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
        margin-top: 20px;
        text-align: center;
        width: 100%;
        font-size: 0.7em;
    }


    /* 親をフレックス化して全 li を横並びに */
    #footermenu {
        display: flex;
        flex-wrap: wrap;
        /* はみ出したら折り返し */
        justify-content: flex-start;
        gap: 12px 8px;
        /* 行間・列間 */
    }

    /* 中間の div / ul を透明化して “li 直並び” にする */
    #footermenu>div,
    #footermenu ul {
        display: contents;
        /* 子要素(li)だけ残す */
    }

    /* li の体裁調整 */
    #footermenu li {
        display: inline-flex;
        align-items: center;
        font-size: 0.7em !important;
        line-height: 10px !important;
        white-space: nowrap;
    }

    #footer .copyr {
        flex-basis: 100%;
        /* フレックス行を強制的に改行 */
        display: block;
        /* ブロック要素として下に配置 */
        text-align: center;
    }

    /* 余分な左右マージン・罫線を削除 */
    #footermenu ul,
    #footermenu li {
        margin: 0 0px 0 0 !important;
        padding: 0 5px 0 0 !important;
        float: none !important;
        left: 0 !important;
    }

    #footer .contents {
        padding: 0 16px;
    }

    #footer ul:before,
    #footer ul:after {
        content: none;
    }
}