@charset "utf-8";
/*--京base_sp.css--*/

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:575px) {
    
    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;
    }

    header > .box_inner,
    .small_header header > .box_inner{
        height: 16vw;
    }

    header > .box_inner .logo_site_title a{
        padding-bottom: 0;
        align-items: center;
    }

        header > .box_inner .logo_site_title a .site_logo{
            width: 2.5rem;
        }

        header > .box_inner .logo_site_title a .site_title {
            width: 13rem;
            padding-bottom: 0;
        }

    header > .box_inner .navs,
    header > .box_inner .h_contact{
        display: none;
    }

    .contents{
        padding-top: 16vw;
    }


    footer{}

        footer > .box_header .f_contact{
            height: auto;
            flex-direction: column;
            gap: 1rem;
            padding: 2rem 0;
        }

        footer > .box_header .f_contact .contact_tel dl dt{
            font-size: 1.75rem;
        }

        footer > .box_header .f_contact .contact_tel dl dd{
            font-size: 2.25rem;
        }

        footer > .box_header .f_contact .contact_mail a{
            height: 3.5rem;
            border-radius: 1.75rem;
        }

            footer > .box_header .f_contact .contact_mail a::after{
                width: 2rem;
                height: 2rem;
                background-size: 0.75rem auto;
                top: calc(50% - 1rem);
                right: 1rem;
            }

        footer > .box_header .f_map{
            height: 16rem;
        }

        footer > .box_inner{
            padding: 2rem 0;
        }

            footer > .box_inner .f_contact_info_calendar{
                flex-direction: column-reverse;
            }

            footer > .box_inner .f_contact_info .f_site_title{
                width: 60%;
                margin: 0 auto 0.5rem;
            }

            footer > .box_inner .f_contact_info .lbl_industry{
                margin-left: 0;
                margin-top: 0.5rem;
                margin-bottom: 1.5rem;
                text-align: center;
            }

            footer > .box_inner .f_contact_info .zip_addr_tel_fax{
                padding-left: 0;
            }

            footer > .box_inner .f_contact_info .zip_addr{
                flex-direction: row;
                justify-content: center;
            }

                footer > .box_inner .f_contact_info .zip_addr .zip{
                    margin-right: 0.5em;
                }

            footer > .box_inner .f_contact_info .tel_fax{
                display: flex;
                justify-content: center;
                gap: 1em;
            }

            footer > .box_inner .f_calendar{
                margin-bottom: 1.5rem;
                padding-left: 0;
            }

                footer > .box_inner .f_calendar iframe{
                    height: 10rem;
                }

                footer > .box_inner .f_calendar p{
                    font-size: 0.8em;
                }


        footer > .box_footer{
            padding-bottom: 2rem;
        }

            footer > .box_footer .copyright{
                text-align: center;
            }

    .nav_oc{
        display: block;
        width: 16vw;
        height: 16vw;
        top: 0;
        right: 0;
    }

    .menu-trigger::before{
        width: 12vw;
        height: 12vw;
        top: 2vw;
        left: 2vw;
    }

    .menu-trigger .lines{
        width: 5vw;
    }

        .menu-trigger .lines span{
            width: 5vw;
        }

    .side_nav{
        display: block;
        width: 60%;
        padding-top: 18vw;
        background-size: 75% auto;
        background-position: right -6vw bottom 12vw;
    }

    .side_nav .side_global_nav > ul > li > a{
        font-size: 1.1em;
    }


    .pagetop{
        width: 14vw;
        height: 14vw;
        right: 3vw;
        bottom: 3rem;
    }


    /*改行のPC,SPでの表示切替*/
    br.pc,
    img.pc,
    span.pc{
        display:none;
    }

    br.sp,
    img.sp,
    span.sp{
        display:inline;
    }
    
    .tel_no{
        display: none;
    }

    a[href^="tel:"] {
        pointer-events: initial;
    }
}
