@charset "utf-8";

:root {
    --base-size: 1920;
    --pcWidth: 1360;
    --spWidth: 1125;
}

* {
    box-sizing: border-box;
}

#top_footer a,
#top_footer h2,
#top_footer li,
#top_footer p {
    color: #222222;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1rem;
    font-family: 'メイリオ', Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

/* ------------------------------------------------------------
PC
------------------------------------------------------------ */

#top_footer .f_wrap {
    border-top: 1px #999999 solid;
    padding: 40px 20px 20px;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto 10px;
}

#top_footer .f_wrap.comp {
    padding: 40px 20px 20px;
}

#top_footer .pc_footer {
    display: block !important;
}

#top_footer .sp_footer {
    display: none !important;
}

#top_footer .pc_footer hr {
    border: none;
    border-top: 1px #999999 solid;
    padding: 20px;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

/* ---f_box--- */
#top_footer .pc_footer .f_box {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 0 0 20px;
    display: flex;
    flex-flow: wrap;
    align-items: flex-start;
}

#top_footer .pc_footer .f_box ul {
    width: 16.6%;
}

/* ---リンク--- */
#top_footer .pc_footer .f_wrap a {
    color: #222;
    transition: 0.3s;
    text-decoration: none;
}

#top_footer .pc_footer .f_wrap a:hover {
    text-decoration: underline;
}

/* ---フッター見出し--- */
#top_footer .pc_footer .f_tit a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding: 0 0 0 12px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

#top_footer .pc_footer .f_tit a:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 2px #222;
    border-right: solid 2px #222;
    transform: translateY(-50%) translateX(-50%)rotate(45deg);
    position: absolute;
    top: 50%;
    left: calc(-5/ var(--pcWidth) * 100vw);
    margin: auto;
}


/* ---カテゴリ見出し--- */
#top_footer .pc_footer .f_box .f_category a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    padding: 0 0 0 14px;
}

#top_footer .pc_footer .f_box .f_category a:hover {
    text-decoration: underline;
}

#top_footer .pc_footer .f_box .f_category a:before {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #222;
    border-right: solid 2px #222;
    transform: translateY(-50%) translateX(-50%)rotate(45deg);
    position: absolute;
    top: 50%;
    left: 0;
    margin: auto;
}


/* ---リンク無しテキスト--- */
#top_footer .pc_footer .f_wrap .f_txt {
    color: #222;
    font-size: 14px;
    font-weight: bold;
}

#top_footer .pc_footer .f_box ul li.small a {
    letter-spacing: -1px;
}


/* ------------------------------------------------------------
SP
------------------------------------------------------------ */

@media only screen and (max-width: 800px) {

    #top_footer .pc_footer {
        display: none !important;
    }

    #top_footer .sp_footer {
        display: block !important;
        padding-bottom: 50px;
    }

    #top_footer a,
    #top_footer h2,
    #top_footer li,
    #top_footer p {
        font-size: 16px;
        letter-spacing: 1px;
        line-height: 2.0rem;
    }

    #top_footer ul.f_box {
        border-top: 1px #999999 solid;
        width: 90%;
        margin: auto;
    }

    #top_footer ul.f_box>li {
        border-top: #999999 1px solid;
    }

    #top_footer ul.f_box>li:first-child {
        border-top: none;
    }

    #top_footer .sp_footer hr {
        border: none;
        border-top: 1px #999999 solid;
        padding: 20px;
        width: 90%;
        margin: 0 auto;
    }


    /* ---リンク--- */

    #top_footer ul.f_box .f_tit a,
    #top_footer ul.f_box .f_category a,
    #top_footer .accordion_title {
        position: relative;
        z-index: +1;
        cursor: pointer;
        display: block;
        text-align: left;
        text-decoration: none;
        color: #222;
        font-weight: bold;
        padding: 10px 10px 10px 30px;
        transition-duration: 0.2s;
        margin-left: 20px;
    }

    #top_footer ul.f_box .f_tit a {
        padding: 15px;

    }

    /* ---リンク--- */
    #top_footer ul.f_box .f_txt {
        position: relative;
        z-index: +1;
        cursor: pointer;
        display: block;
        text-align: left;
        text-decoration: none;
        color: #222;
        font-weight: bold;

        transition-duration: 0.2s;

    }

    /* ---リンクのやじるし--- */
    #top_footer ul.f_box .f_tit a:after,
    #top_footer ul.f_box .f_category a:after {
        position: absolute;
        top: 50%;
        right: calc(8/ var(--spWidth) * 100vw);
        content: '';
        display: inline-block;
        width: 18px;
        height: 18px;
        background: url(../img/arrow_black.webp) no-repeat;
        background-size: contain;
        margin-right: 8px;
        transform: translateY(-50%) translateX(-50%);

    }

    /* ---アコーディオン・アイコン--- */
    #top_footer .icon_wrap {
        position: absolute;
        top: 50%;
        right: calc(0/ var(--spWidth) * 100vw);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        margin-top: -20px;
        box-sizing: border-box;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        transform-origin: center center;
        transition-duration: 0.2s;
    }

    #top_footer .icon {
        display: block;
        width: 18px;
        height: 18px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        transform-origin: center center;
        transition-duration: 0.2s;
        position: relative;
    }

    #top_footer .accordion_title.open .icon_wrap {
        -webkit-transform: rotate(-0deg);
        transform: rotate(-0deg);
    }

    #top_footer .icon:before,
    #top_footer .icon:after {
        display: flex;
        content: '';
        background-color: #222;
        border-radius: 10px;
        width: 16px;
        height: 2px;
        position: absolute;
        top: 7px;
        left: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        transform-origin: center center;
    }

    #top_footer .icon:before {
        width: 2px;
        height: 16px;
        top: 0;
        left: 7px;
    }

    #top_footer .accordion_title.open .icon_wrap .icon:before {
        content: none;
    }

    #top_footer .accordion_title.open .icon_wrap .icon:after {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    /* ---アコーディオン・コンテンツ--- */
    #top_footer .accordion_inner {
        display: none;
        padding: 0 0 20px;
        box-sizing: border-box;
        width: 90%;
        margin: 0 auto;
    }

    #top_footer .accordion_inner a {
        display: block;
        text-align: left;
        text-decoration: none;
        color: #222;
        padding: 10px 0;
    }
}