@charset "utf-8";
/*--京base_sp.css--*/

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:575px) {
    html{
        font-size: 3.4vw;
        min-width: auto;
    }

    body {
        min-width:initial;
        min-width:auto;
        overflow-y: scroll;
    }

    #container{
        min-width:initial;
        min-width:auto;
    }

    /*下スクロールでheader非表示、上スクロールで表示*/
    /*header.hide{
        transform: translateY(-18vw);
    }*/

    header{
        background: url(../shared/home/bg_home_catch.png) no-repeat;
        background-size: 270vw auto;
        background-position: top center;
    }

    header > .box_inner{
        height: 18vw;
    }

        header > .box_inner .logo_site_title a{}

        header > .box_inner .logo_site_title a .site_title{
            height: 9vw;
        }

        header > .box_inner .navs_h_contact{
            display: none;
        }

        header > .box_inner .h_faq{
            display: none;
        }

        header > .box_inner .h_contact{
            display: none;
        }

    .small_header header{
        box-shadow: 0 5px 10px -10px rgb(0 0 0 / 40%);
    }

    .contents{
        padding-top: 18vw;
        padding-bottom: 3rem;
    }

    footer{
        padding-bottom: 4rem;
    }

        footer > hr{
            width: 90%;
        }
        footer > .box_header{
            padding: 1rem;
        }

        footer > .box_header ul{
            gap: 0.6rem;
        }

        footer > .box_header ul li{
            width: calc((100% - 1.2rem) / 3);
            margin-right: 0;
        }

        footer > .box_header ul li:nth-child(even){
            margin-right: 0;
            margin-bottom: 0;
        }

        footer > .box_inner .f_logo_etc{
            flex-wrap: wrap;
            align-items: stretch;
            justify-content: center;
        }
    
            footer > .box_inner .f_logo_etc .f_logo_taragi {
                width: 100%;
                margin-bottom: 0.8rem;
            }
    
                footer > .box_inner .f_logo_etc .f_logo_taragi a{
                    flex-direction: column;
                }

                    footer > .box_inner .f_logo_etc .f_logo_taragi a .logo {
                        width: 9vw;
                        margin-right: 0;
                        margin-bottom: 0.4rem;
                    }

                    footer > .box_inner .f_logo_etc .f_logo_taragi a .lbl{
                        align-items: center;
                    }

                        footer > .box_inner .f_logo_etc .f_logo_taragi a .lbl .org_name {
                            width: 60vw;
                            margin-bottom: 0.5rem;
                        }
    
            footer > .box_inner .f_logo_etc .fig_chiikitotomoni{
                width: 30vw;
                margin-right: 1rem;
            }
    
            footer > .box_inner .f_logo_etc .fig_jcqhc {
                width: calc(30vw / 430 * 440);
            }
    
    footer > .box_inner .related_facilities{
        padding: 1rem 0;
    }
    
        footer > .box_inner .related_facilities ul{
            line-height: 1.2;
            font-size: 0.7rem;
        }
    
            footer > .box_inner .related_facilities ul li{
                width: 50%;
                padding-left: 0.7rem;
            }

                footer > .box_inner .related_facilities ul li:before{
                    width: 0.5rem;
                    height: 0.5rem;
                }

        footer > .box_footer{
            flex-direction: column;
            align-items: center;
            padding: 2.5em 8vw 1.5em;
            gap: 1.5em;
        }

            footer > .box_footer .f_nav ul{
                gap: 2em;
            }

/*side_bnr*/
.side_bnr{
    width: 100%;
    height: 4rem;
    display: flex;
    align-items: center;
    position: fixed;
    top: unset;
    bottom: 0;
    left: 0;
    right: unset;
    z-index: 4;
    padding: 0;
    background: #fff;
    box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.1);
}

.side_bnr ul{
    width: 100%;
    display: flex;
    flex-direction: unset;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.side_bnr ul li{
    width: calc((90% - 1rem) / 2);
}

.side_bnr ul li a{
    padding: 0.9rem 1.5rem;
    background: #0a4e7b;
    color: #fff;
    display: block;
    border-radius: 0.5rem;
    writing-mode: unset;
    text-orientation: unset; 
    text-align: center;
}

    /*ページトップ*/
    .pagetop{
        width:14vw;
        height:14vw;
        bottom: 21vw;
        right: 2vw;
    }

    .pagetop a::before {
        font-size: 2rem;
    }

    .nav_oc {
        width: 14vw;
        height: 13vw;
        top: 2.5vw;
        right: 3vw;
        display: block;
    }

    .menu-trigger{
        gap: 0;
        padding-bottom: 0;
    }

        .menu-trigger .lines{
            height: 13px;
        }

        .menu-trigger .lines span{
        }

        .menu-trigger.active .lines span:nth-of-type(1){
            transform: rotate(30deg) scaleX(1.3);
        }

        .menu-trigger.active .lines span:nth-of-type(3){
            transform: rotate(-30deg) scaleX(1.3);
        }

        .menu-trigger .lbl{
            font-size: 0.7rem;
            white-space: nowrap;
        }
    
    .side_nav{}

        .side_nav_box{
            width: 100%;
            justify-content: flex-start;
            padding-top: 20vw;
        }

            .side_nav_box > .box_header{
                margin-bottom: 2rem;
            }

                .side_nav_box > .box_header img{
                    height: 100%;
                    width: auto;
                }

                .side_nav_box > .box_header .logo_site_title a{
                    gap: 0.5rem;
                    align-items: center;
                }

                .side_nav_box > .box_header .logo_site_title a .site_title{
                    height: 11vw;
                }


        .side_nav_box > .box_inner{
            flex-direction: column;
            padding: 0;
        }

            .side_nav .side_global_nav1{
                width: 100%;
                flex-direction: column;
                gap: 0;
                margin-bottom: 1.5em;
            }

                .side_nav .side_global_nav1 > ul{
                    flex-direction: row;
                    gap: 1rem;
                    flex-wrap: wrap;
                }

                .side_nav .side_global_nav1 > ul > li{
                    width: calc((100% - 1rem) / 2);
                }

                    .side_nav .side_global_nav1 > ul > li > a{
                        box-sizing: border-box;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        gap: 0.5rem;
                        padding:0.75em 0;
                        font-size: 1.2em;
                        color: #000;
                        border: 1px solid #0a4e7b;
                        border-radius: 0.5rem;
                        box-shadow: 0.25rem 0.25rem 0 0 rgba(0,0,0,0.1);
                    }

                    .side_nav .side_global_nav1 > ul > li > a .icon{
                        width: 3rem;
                    }

                    .side_nav .side_global_nav1 > ul > li > a .icon img{
                        max-width: 100%;
                        height: auto;
                    }

            .side_nav .side_global_nav2{
                line-height: 1.3;
                padding-left: 1em;
                padding-right: 1em;
            }

                .side_nav .side_global_nav2 ul li{
                    margin-bottom: 0.5em;
                }

                .side_nav .side_global_nav2 ul li a{
                    display: flex;
                    align-items: center;
                    color: var(--base_color1);
                    font-size: 1.1em;
                    padding: 0.3em 0;
                }

                .side_nav .side_global_nav2 ul li a::before{
                    font-family: FontAwesome;
                    content:"\f111";
                    color: var(--base_color2);
                    margin-right: 0.3em;
                }
                
  
    
    /*改行のPC,SPでの表示切替*/
    br.pc,
    img.pc,
    span.pc{
        display:none;
    }

    br.sp,
    img.sp,
    span.sp{
        display:inline;
    }
    
    .tel_no{
        display: none;
    }
}
