/*
Theme Name: sagakosei
*/
@charset "utf-8";


/*-----------------------------------
footer.php
-----------------------------------*/
#body_frame {
    display: flex;
    flex-flow: column;
    min-height: 100vh;
}
#main_frame {
    flex: 1;
}

footer {
    background-color: #fff;
}
footer .footer_inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
}
.footer_left {
    width: 50%;
    padding-top: 40px;
}
.footer_left a {
    color: #000;
    text-decoration: none;
}
.footer_left img {
    padding-left: 30px;
}
.footer_right {
    display: flex;
    justify-content: space-around;
    width: 50%;
}
.footer_right p {
    margin-bottom: 0;
}
.footer_right div p:nth-child(2) {
    padding-top: 2em;
}
.fr_line {
    position: relative;
}
.fr_line p:nth-child(3) {
    padding-top: 1em;
}
.fr_line:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    border-left: 1px solid #000;
    left: -30px;
}
@media screen and (max-width: 1280px) {
    footer .footer_inner {
        max-width: calc(1140/1280*100vw);
        padding: calc(50/1280*100vw) 0;
    }
    .footer_left {
        padding-top: calc(40/1280*100vw);
    }
    .footer_left img {
        width: calc(164/1280*100vw);
        padding-left: calc(30/1280*100vw);
    }
    .footer_left a {
        font-size: calc(18/1280*100vw);
    }
    .footer_right {
        font-size: calc(16/1280*100vw);
    }
    .fr_line:before {
        left: calc(-30/1280*100vw);
    }
}
@media screen and (max-width: 750px) {
    footer .footer_inner {
        max-width: calc(1140/750*100vw);
        padding: calc(60/750*100vw) 0;
        display: block;
        margin: 0 auto;
    }
    .footer_left {
        padding-top: calc(10/750*100vw);
        width: 100%;
        text-align: center;
    }
    .footer_left a {
        font-size: 16px;
    }
    .footer_left img {
        width: 164px;
        margin: 0 auto;
        padding-left: 0;
    }
    .footer_left p {
        font-size: 16px;
    }
    .footer_right {
        display: block;
        width: 100%;
        font-size: 16px;
        margin: 0 auto;
        text-align: center;
        padding-top: 40px;
    }
    .footer_right div p:nth-child(2) {
        padding-top: 1em;
    }
    .fr_line {
        padding-top: 60px;
    }
    .fr_line:before {
        border-left: none;
        top: 30px;
        left: 0;
        right: 0;
        width: 150px;
        margin: 0 auto;
        border-top: 1px solid #000;
    }
}
