@charset "utf-8";
/*--京base_sp.css--*/

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
    
    html{
        font-size: 3.6vw;
        min-width: auto;
    }

    body {
        min-width:initial;
        min-width:auto;
        overflow-y: scroll;
    }

    #container{
        min-width:initial;
        min-width:auto;
        padding-top: 16vw;
    }
    
    .header{
        padding: 2.2vw 0;
        box-shadow: 0 1px 1px 0 #dcdcdc;
    }

    .header_inner{
        min-width: unset;
        width: 92vw;
    }

    .logo-galts-1-icon,
    .site-title-1-icon{
        height: 11.6vw;
    }
    
    .site-title-1-icon{
        height: 10.8vw;
    }

    .nav_link{
        display: none;
    }


    footer .box_inner{
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: auto;
        padding: 7vw 2vw;
    }
    
    .rectangleframelogo{
        height: 21vw;
        display: block;
    }
    
    .f-logo-title-1-icon{
        width:auto;
    }

    .f_global_nav{
        display: none;
    }

    .footer_link{
        display: none;
    }

    .footer_contact{
        font-size: 4vw;
        margin-top: 1em;
    }

    .nav_oc {
        display: block;
        width: 16vw;
        height: 16vw;
    }
    
    footer .box_footer{
        padding: 7vw 0;
    }

    .side_nav{
        padding-top: 20vw;
        display: block;
    }
    
    .side_nav .side_global_nav{
        box-sizing: border-box;
        width: 100%;
        padding: 0 5vw;
        margin-bottom: 1rem;
    }
    
        .side_nav .side_global_nav > ul{
            width: 100%;
            display: flex;
            flex-wrap: wrap;
        }
    
            .side_nav .side_global_nav > ul > li{
                width: calc((100% - 2vw) / 2);
                margin-right: 2vw;
                margin-bottom: 3vw;
            }
    
            .side_nav .side_global_nav > ul > li:nth-child(even){
                margin-right: 0;
            }
    
                .side_nav .side_global_nav > ul > li > a{
                    box-sizing: border-box;
                    background: #0079c0;
                    display: block;
                    font-size: 1.14rem;
                    padding: 1.5em 0;
                    color: #fff;
                    text-align: center;
                    text-decoration: none;
                    font-weight: 500;
                    position: relative;
                    z-index: 0;
                    transition: .3s all ease;
                    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
                    box-shadow: 0.125rem 0.125rem 0 0 rgba(0,0,0,0.16);
                }

        .side_nav .side_link ul{
            display: flex;
            flex-direction: column;
            margin: 0 2em;
        }

        .side_nav .side_link ul li{
            margin-bottom: 1em;
        }

        .side_nav .side_link ul li a{
            color: #825bb8;
            text-decoration: none;
            margin-right: 0.3em;
        }

        .blog_btn{
            bottom: unset;
            top: -80px;
            right: 1rem;
        }

    /*改行のPC,SPでの表示切替*/
    br.pc,
    img.pc,
    span.pc{
        display:none;
    }

    br.sp,
    img.sp,
    span.sp{
        display:inline;
    }
    
    .tel_no{
        display: none;
    }
}
