@charset "utf-8";
/*--京base_sp.css--*/

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:575px) {
    html{
        font-size: 3.2vw;
        min-width: auto;
    }

    body {
        min-width:initial;
        min-width:auto;
        overflow-y: scroll;
    }

    #container{
        min-width:initial;
        min-width:auto;
    }

    .site-header {}

    .site-header__inner {}

    .site-header__logo {}

    .site-header__logo a {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .site-header__logo .h_logo {}

    .site-header__logo p {
        font-size: 0.7rem;
    }

    .logo_h_kamuri {
        width: 3.5rem;
        top: 1.5rem;
        left: auto;
        right: 18.5vw;
    }


.site-footer__header_logo_contact{
    padding: 2rem 5vw;
    gap: 1rem;
}

.logo_f_kamuri {
  width: 8rem;
}

.f_contact_tel {
  margin-bottom: 1rem;
}

.f_contact_tel dt {
  font-size: 0.8rem;
}

.f_contact_tel dd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

  .f_contact_tel dd::before{
    width: 2.5rem;
    background-size: 1.25rem auto;
  }

.tel_number {
  font-size: 2rem;
}

.tel_time {
    font-size: 0.7rem;
}

.f_contact_mail a {
  gap: 0.25rem;
  padding: 0.75rem 2rem 0.75rem 1.75rem;
  font-size: 0.8rem;
}

  .f_contact_mail a::before{
    width: 1rem;
  }

.yano_contents{
    padding: 2rem 0;
    gap: 1.5rem;
}

.yano_contents__header h2{
    margin-bottom: 1rem;
}

.yano_contents__header .lbl_en {
    font-size: 2.3rem;
}

.yano_contents__body li a{
    height: 3rem;
    width: auto;
    padding: 0 3rem 0 3rem;
}

    .yano_contents__body li a::before{
        width: 1.5rem;
        left: 0.75rem;
    }

.site-footer__body_bottom{
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

.f_nav {
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  margin-left: 5vw;
  margin-right: 5vw;
}

.f_nav ul {
    flex-wrap: wrap;
    gap: 0.2em 1em;
    padding: 0 1em;
}

.f_nav li {
    width: calc((100% - 1em) / 2);
}

.f_company {
  gap: 1rem;
  margin-bottom: 2rem;
  flex-direction: column;
}

.f_site_title {
  width: 9rem;
}

.f_company_info {
    text-align: center;
}

.lbl_tel_fax {
    display: block;
}


    /*ページトップ*/
    .pagetop{
        width:12vw;
        height:12vw;
        bottom:12vw;
        right:4vw;
    }

    .nav_oc button, .site_search button{
        width: 16vw;
        height: 16vw;
    }

    .nav_oc {
        width: 16vw;
        height: 16vw;
        position: fixed;
        top: 0;
        right: 0;
        display: block;
        z-index: 11;
        transition: .3s all ease;
    }

    .side_nav_box{
        padding-top: 32vw;
    }

    .side_nav_box > .box_inner{
        padding: 0 5vw;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .side_nav_box > .box_inner .side_global_nav1{
        width: 100%;
    }

    .side_nav_box > .box_inner .side_global_nav2,
    .side_nav_box > .box_inner .side_global_nav3{
        display: flex;
        width: calc((100% - 1rem) / 2);
    }

    .side_nav_box > .box_inner .side_global_nav1{
        order: 3;
    }

    .side_nav_box > .box_inner .side_global_nav2{
        order: 1;
    }

    .side_nav_box > .box_inner .side_global_nav3{
        order: 2;
    }

    .sgn{
        gap: 2rem;
    }

    .sgn > li.sp{
        display: block;
    }

    .sgn > li.pc{
        display: none;
    }

    .sgn .child_nav{
        margin-top: 1em;
    }

    .sgn_home{
        margin-top: 2rem;
    }

    .side_nav_box > .box_inner .side_global_nav1 .sgn{
        display: none;
    }

    .sgn_sns{
        justify-content: center;
        margin-top: 2rem;
    }

    .sgn_contact{
        padding: 0;
        margin-top: 2rem;
    }

    .sgn_logo_kamuri {
        width: 8rem;
    }

    .sgn_contact_tel {
    margin-bottom: 1rem;
    }

    .sgn_contact_tel dt {
    font-size: 0.8rem;
    }

    .sgn_contact_tel dd {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }

    .sgn_contact_tel dd::before{
        width: 2.5rem;
        background-size: 1.25rem auto;
    }

    .sgn_tel_number {
    font-size: 2rem;
    }

    .sgn_tel_time {
        font-size: 0.7rem;
    }

    .site_search{
        top: 16vw;
    }

    html.side_nav_show{
        overflow-y: hidden;
    }

    .site_search_form form{
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }

    .site_search_form form .site_search_form_submit{
        margin-top: 0;
    }


    a[href^="tel:"]{
        pointer-events: initial;
    }
    
    /*改行のPC,SPでの表示切替*/
    br.pc,
    img.pc,
    span.pc{
        display:none;
    }

    br.sp,
    img.sp,
    span.sp{
        display:inline;
    }
    
    .tel_no{
        display: none;
    }
}
