.flex {
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

footer .inner {
    max-width: 1300px;
    width: 94.93%;
    margin: 0 auto;
}

footer {
    width: 100%;
    background: var(--sub4-color);
}

.footer_sec {
    width: 100%;
    padding: 2.91% 0 3.66% 0;
}

.ft_sec_lft {
    width: 40%;
}

.ft_sec_rgt {
    width: 60%;
}

.med_logo {
    width: 137px;
}

.med_logo,
.ft_menu_list {
    margin-bottom: 40px;
}

.ft_menu_list li{
    width: 14%;
    text-align: left;
}

.ft_menu_list li:nth-child(2),
.ft_menu_list li:last-child{
    width: 27%;
}

.med_logo img {
    width: 100%;
    height: auto;
}

.ttl_address {
    font-size: 18px;
    font-weight: normal;
    line-height: 1;
    color: #fff;
    margin-bottom: 10px;
}

.txt_common_addr,
.link_site,
.ttl_ft_menu_link {
    font-size: 14px;
    font-weight: normal;
    color: var(--sub5-color);
}

.txt_common_addr,
.link_site {
    line-height: 2;
}

.link_site,
.link_share {
    display: inline-block;
}

.link_site img {
    width: 12px;
    height: auto;
}

.link_share img {
    width: 22px;
    height: auto;
}

.ttl_ft_menu_link {
    margin-bottom: 6px;
}

.ft_menu_list li {
    margin-right: 10px;
    position: relative;
    padding-top: 18px;
}

.ft_menu_list li:before {
    content: "";
    position: absolute;
    top: 0;
    left: 3px;
    width: 18px;
    height: 1px;
    background: var(--sub5-color);
}

.txt_ft_menu_link {
    font-size: 12px;
    line-height: 1.8;
    color: #dddddd;
    display: block;
    text-indent: -3px;
}

.contact_group {
    float: left;
}

.btn_contact {
    display: inline-block;
    padding: 22px 58px;
    background: var(--sub5-color);
    border-radius: 50px;
    border: 2px solid var(--sub5-color);
    text-align: center;
    -webkit-transition: all .3s;
    transition: all .3s;
    margin-bottom: 15px;
}

.btn_contact span {
    font-size: 16px;
    color: var(--sub4-color);
    position: relative;
    left: 15px;
}

.btn_contact span:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: url('../images/common/icon_arrow_01.png') center no-repeat;
    background-size: cover;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.btn_contact:hover {
    background: var(--main-color);
    border: 2px solid var(--main-color);
    opacity: 1;
}

.btn_contact:hover span{
    color: var(--sub5-color);
}

.contact_group p {
    text-align: left;
}

.txt_no {
    font-size: 34px;
    line-height: 1;
    color: var(--sub5-color);
    display: inline-block;
    font-family: "futura-pt", sans-serif;
    padding-left: 38px;
    background: url(../images/common/icon_free01.png) no-repeat center left;
    -webkit-background-size: 35px auto;
         -o-background-size: 35px auto;
            background-size: 35px auto;
}

.phone_no {
    padding: 7px 5px 7px 0;
    display: inline;
}

.phone_group span {
    font-size: 14px;
    font-weight: normal;
    color: var(--sub5-color);
    display: inline-block;
}

.txt_time_info {
    display: none;
}

.txt_time {
    display: inline-block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--sub5-color);
}

.img_footer_logo {
    text-align: center;
    background: var(--sub5-color);
    padding: 16px;
}

.img_footer_logo img {
    width: 142px;
    height: auto;
}

.page_top {
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    padding: 22px 0;
    background: #878787;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    .ft_sec_lft {
        width: 25%;
        margin-right: 8%;
    }

    .ft_sec_rgt {
        width: 65%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    footer .inner {
        max-width: 100%;
        width: 94.93%;
        margin: 0 auto;
    }

    footer {
        width: 100%;
    }    

    .med_logo {
        width: 9.786vw;
    }

    .med_logo,
    .ft_menu_list {
        margin-bottom: 2.857vw;
    }


    .ttl_address {
        font-size: 1.286vw;
        margin-bottom: 1.286vw;
    }

    .txt_common_addr,
    .link_site,
    .ttl_ft_menu_link {
        font-size: 1vw;
    }


    .link_site img {
        width: 0.857vw;
        height: auto;
    }

    .link_share img {
        width: 1.571vw;
        height: auto;
    }

    .ttl_ft_menu_link {
        margin-bottom: 0.429vw;
    }

    .ft_menu_list li {
        margin-right: 0.857vw;
        padding-top: 0.857vw;
    }

    .ft_menu_list li:before {
        top: 0;
        left: 0.214vw;
        width: 0.857vw;
        height: 1px;
    }

    .txt_ft_menu_link {
        font-size: 0.857vw;
        text-indent: -0.214vw;
    }

    .btn_contact {
        padding: 1vw 4.857vw;
        border-radius: 2.002vw;
        border: 2px solid var(--sub5-color);
        margin-bottom: 1.071vw;
    }

    .btn_contact span {
        font-size: 1.143vw;
        left: 1.071vw;
    }

    .btn_contact span:before {
        width: 1.429vw;
        height: 1.429vw;
        left: -2.143vw;
        top: 50%;
        transform: translateY(-50%);
    }

    .btn_contact:hover {
        border: 2px solid #ffcb00;
    }

    .txt_no {
        font-size: 2.429vw;
        padding-left: 3.169vw;
        background: url(../images/common/icon_free01.png) no-repeat center left;
        -webkit-background-size: 2.919vw auto;
             -o-background-size: 2.919vw auto;
                background-size: 2.919vw auto;
    }

    .phone_no {
        padding: 0.500vw 0.357vw 0.500vw 0;
    }

    .phone_group span {
        font-size: 1vw;
    }

    .txt_time {
        font-size: 0.857vw;
    }
    
    .img_footer_logo {
        padding: 1.333vw;
    }

    .img_footer_logo img {
        width: 11.833vw;
        height: auto;
    }

    .page_top {
        font-size: 1.333vw;
        width: 100%;
        padding: 1.833vw 0;
    }
}

@media only screen and (max-width: 767px) {
    .inner {
        max-width: 6.5rem;
        width: 100%;
        margin: 0 auto;
    }

    footer {
        width: 100%;
    }

    .footer_sec {
        display: block;
        width: 100%;
        padding: .5rem 0;
    }

    .ft_sec_lft,
    .ft_sec_rgt {
        width: 100%;
        text-align: center;
    }

    .med_logo {
        width: 3.13rem;
    }

    .med_logo {
        margin: 0 auto 0.77rem;
    }

    .ft_menu_list {
        display: none;
    }

    .ttl_address {
        font-size: .40rem;
        letter-spacing: 0.05rem;
        margin-bottom: 0.5rem;
    }

    .txt_common_addr,
    .link_site,
    .ttl_ft_menu_link {
        font-size: .28rem;
        margin-bottom: 0.22rem;
    }

    .txt_common_addr,
    .link_site {
        line-height: 1;
    }

    .link_site img {
        width: 0.24rem;
        height: auto;
    }

    .link_share {
        margin: 0.05px 0.24rem 0.4rem;
    }

    .link_share img {
        width: 0.64rem;
        height: auto;
    }

    .contact_group {
        float: initial;
        margin-right: 0;
    }

    .btn_contact {
        padding: 0.25rem 1.14rem;
        border-radius: 0.5rem;
        border: 2px solid var(--sub5-color);
        margin-bottom: .56rem;
    }

    .btn_contact span {
        font-size: .3rem;
        left: 0.2rem;
    }

    .btn_contact span:before {
        width: 0.3rem;
        height: 0.3rem;
        left: -0.4rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .contact_group p {
        text-align: center;
    }

    .txt_no {
        font-size: .8rem;
        line-height: 1;
        padding-left: .7rem;
        background: url(../images/common/icon_free01.png) no-repeat center left;
        -webkit-background-size: .65rem auto;
             -o-background-size: .65rem auto;
                background-size: .65rem auto;
    }

    .phone_no {
        padding: 0.2rem 0 0.2rem 0;
        display: inline;
        display: block;
    }

    .phone_group span {
        font-size: 14px;
        font-weight: normal;
    }

    .txt_time_info,
    .txt_time {
        display: inline-block;
        font-size: .24rem;
        line-height: 1.5;
        color: var(--sub5-color);
        margin: 0 0.05rem;
    }

    .img_footer_logo {
        padding: 0.42rem;
    }

    .img_footer_logo img {
        width: 2.8rem;
        height: auto;
    }

    .page_top {
        width: 100%;
        font-size: .24rem;
        padding: 0.28rem 0;
    }
}