@charset "utf-8";
@import url("reset.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');
/*--京base.css--*/
html {
    font-size: 16px;
}

body {
    width: 100%;
    height: 100%;
    color: #222;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    line-height: 1.0;
}

img{
    vertical-align:bottom;
}

#container{
    width: 100%;
    position: relative;
}

/*----------header----------*/
header{
    width:100%;
    height:110px;
    background: #fff;
    position: fixed;
    top:0;
    left: 0;
    z-index: 3;
    transition: .3s all ease;
}

    header > .box_inner {
        box-sizing: border-box;
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        background: rgba(255,255,255,0.95);
        transition: .3s all ease;
}

        header > .box_inner > .logo_site_title {
            height: 100%;
        }

            header > .box_inner > .logo_site_title a {
                display: flex;
                height: 100%;
                transition: .3s all ease;
            }

            header > .box_inner > .logo_site_title a:hover {
                opacity: 0.9;
            }

                header > .box_inner > .logo_site_title a img{
                    max-width: 100%;
                    height: auto;
                }

                header > .box_inner > .logo_site_title a .logo{
                    width: 198px;
                    height: 100%;
                    padding: 0 1.75rem 0 2rem;
                    background: #222;
                    display: flex;
                    align-items: center;
                }

                header > .box_inner > .logo_site_title a .site_title{
                    width: 190px;
                    height: 100%;
                    padding: 0 0 0 1.5rem;
                    display: flex;
                    align-items: center;
                }

        .navs{
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            padding-bottom: 0.25rem;
        }

            .navs .global_nav1 {
                margin-bottom: 1.5rem;
                padding-right: 4vw;
                transition: .3s all ease;
            }

                .navs .global_nav1 ul {
                    display:flex;
                    align-items: center;
                    font-size: 0.96rem;
                }

                    .navs .global_nav1 ul li{
                        margin-right: 2em;
                    }

                    .navs .global_nav1 ul li:last-child{
                        margin-right: 0;
                    }

                        .navs .global_nav1 ul li a{
                            display: block;
                            color: #111;
                            text-decoration: none;
                            padding: 0 0 0 1.15em;
                            position: relative;
                            transition: .3s all ease;
                        }

                            .navs .global_nav1 ul li a:before{
                                content: "";
                                display: block;
                                width: 0.65rem;
                                height: 0.65rem;
                                background: #009FD9;
                                position: absolute;
                                top: 0.2em;
                                left: 0;
                            }

                            .navs .global_nav1 ul li a:after{
                                content: "";
                                display: block;
                                width: 100%;
                                border-bottom: 1px solid #009FD9;
                                transition: .3s all ease;
                                position: absolute;
                                bottom: -0.25em;
                                left: 0;
                                opacity: 0;
                                transform: scaleX(0);
                            }

                            .navs .global_nav1 ul li a:hover:after{
                                opacity: 1;
                                transform: scaleX(1);
                            }

                    .navs .global_nav1 ul li.gn_lang{}

                        .navs .global_nav1 ul li.gn_lang a{
                            padding: 0.3em 1em 0.4em;
                            font-size: 0.9rem;
                            background: rgba(0,159,217,0.1);
                        }

                        .navs .global_nav1 ul li.gn_lang a:hover{
                            background: rgba(0,159,217,1);
                            color: #fff;
                        }

                            .navs .global_nav1 ul li.gn_lang a:before,
                            .navs .global_nav1 ul li.gn_lang a:after{
                                content: none;
                            }

            .navs .global_nav2 {
                padding-right: calc(4vw - 1rem);
            }

                .navs .global_nav2 ul {
                    display: flex;
                    font-size: 1.1rem;
                }

                    .navs .global_nav2 ul li{
                        margin-right: 0.5rem;
                    }

                    .navs .global_nav2 ul li:last-child{
                        margin-right: 0;
                    }

                        .navs .global_nav2 ul li a{
                            display: block;
                            color: #333;
                            text-decoration: none;
                            font-weight: 700;
                            position: relative;
                            padding: 0.8rem 2vw 0.9rem;
                            border-radius: 0.25rem;
                        }

                        .navs .global_nav2 ul li.active a{
                            background: #215474;
                            color: #fff;
                        }

                            .navs .global_nav2 ul li a:after{
                                content: "";
                                display: block;
                                width: calc(100% - 2rem);
                                border-bottom: 3px solid #009FD9;
                                transition: .3s all ease;
                                position: absolute;
                                bottom: 0.3rem;
                                left: 1rem;
                                opacity: 0;
                                transform: scaleX(0);
                            }

                            .navs .global_nav2 ul li a:hover:after{
                                opacity: 1;
                                transform: scaleX(1);
                            }

                            .navs .global_nav2 ul li.active a:before{
                                content: "";
                                display: block;
                                width: 0;
                                height: 0;
                                border-style: solid;
                                border-width: 0.8rem 0.8rem 0 0.8rem;
                                border-color: #215474 transparent transparent transparent;
                                position: absolute;
                                bottom: -0.7rem;
                                right: 0;
                                left: 0;
                                margin: auto;
                            }

                            .navs .global_nav2 ul li.active a:hover:after{
                                opacity: 0;
                            }



/*small_header*/
.small_header header{
    height: 90px;
    box-shadow: 0px 3px 3px -1px rgba(0,0,0,0.2);
}

    .small_header header .navs .global_nav1 {
        margin-bottom: 0.65rem;
    }


/*----------contents----------*/
.contents{
    position:relative;
    top:0;
    left:0;
    z-index:0;
    padding-top: 110px;
    padding-bottom: 5rem;

}

/*-----footer-----*/
footer {
    position: relative;
    z-index: 1;
    padding: 3.75rem 0 4rem;
    border-top: 1px solid #e5e5e5;
}

    footer > .box_inner{
        width: calc(100% - 14vw);
        max-width: 1100px;
        margin: 0 auto 3rem;
        display: flex;
        justify-content: space-between;
    }

        .f_contact_info{}

            .f_logo_site_title{
                margin-bottom: 1rem;
            }

                .f_logo_site_title a{
                    display: flex;
                }

                    .f_logo_site_title a img{
                        max-width: 100%;
                        height: auto;
                    }

                    .f_logo_site_title a .logo{
                        width: 165px;
                        margin-right: 1rem;
                    }

                    .f_logo_site_title a .site_title{
                        width: 158px;
                    }

            .f_contact_info .contact_addr,
            .f_contact_info .contact_tel_fax{
                color: #717171;
                line-height: 1.6;
                font-size: 0.94rem;
            }

                .f_contact_info .contact_tel_fax{
                    display: flex;
                }

                    .f_contact_info .contact_tel_fax dl{
                        display: flex;
                        margin-right: 1em;
                    }

                    .f_contact_info .contact_tel_fax dl:last-child{
                        margin-right: 0;
                    }

                        .f_contact_info .contact_tel_fax dl dt:after{
                            content: ":";
                            margin: 0 0.2em;
                        }


        footer > .box_inner .f_nav{
            display: flex;
        }

            footer > .box_inner .f_nav ul {
                margin-right: 3rem;
                line-height: 1.5;
            }

            footer > .box_inner .f_nav ul:last-child {
                margin-right: 0;
            }

                footer > .box_inner > .f_nav ul li a {
                    text-decoration: none;
                    color: #717171;
                }

                footer > .box_inner > .f_nav ul li a:hover{
                    text-decoration: underline;
                }

                    footer > .box_inner > .f_nav > ul > li{
                        margin-bottom: 0.5rem;
                    }

                    footer > .box_inner > .f_nav > ul > li > a {
                        font-weight: 700;
                    }

                        footer > .box_inner > .f_nav > ul > li > ul{
                            font-size: 0.9rem;
                            margin-top: 0.2em;
                        }

    footer > .box_footer{
        display: flex;
        justify-content: center;
    }

        footer > .box_footer > .copyright{
            font-weight: 500;
            color: #717171;
            font-size: 0.8rem;
        }

.nav_oc,
.side_nav{
    display: none;
}

/*ページトップ*/
.pagetop{
    width:80px;
    height:80px;
    position:fixed;
    bottom:90px;
    right:60px;
    z-index:10;
    transform:translateY(100px);
    transition:.3s all ease;
    opacity:0;
}

.pagetop.show{
    transform:translateY(0);
    opacity:1;
}

    .pagetop a{
        box-sizing: border-box;
        display:flex;
        justify-content: center;
        align-items: center;
        transition:.5s all ease;
        width:100%;
        height:100%;
        text-decoration:none;
        border-radius: 50%;
        background: rgba(43,173,195,0.8);
    }
    
    .pagetop a:hover{
        transform:translateY(-5px);
        background: rgba(43,173,195,1);
    }


    .pagetop a:before{
        font-family: FontAwesome;
        content:"\f106";
        color: #fff;
        font-size: 2.4rem;
    }


/*ヘッダ固定によるアンカーずれ対応*/
*[id^="anc_"]{
    padding-top: 210px;
    margin-top:-210px;
}


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

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

.ta_center{
    text-align:center;
}

.ta_left{
    text-align:left;
}

.ta_right{
    text-align:right;
}

/*WP汎用*/
.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.alignright {
  float: right;
  margin-bottom: 20px;
  margin-left: 20px;
}
.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}
.wp-caption,
[class*='wp-image'] {
  display: block;
  max-width: 100% !important;
  /*margin-top: 1.5em;*/
  text-align: center;
}
.wp-caption-text {
  margin-top: 0;
}

/*1200px以下*/
@media screen and (min-width:1px) and (max-width:1200px){}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){
    html {
        font-size: 1.8vw;
    }
    
    header,
    .small_header header{
        height: 10vw;
    }
    
        header > .box_inner > .logo_site_title a .logo{
            width: 18vw;
            padding: 0 1.25rem 0 1.5rem;
        }
    
        header > .box_inner > .logo_site_title a .site_title{
            width: calc(18vw / 198 * 190);
            padding-left: 1.25rem;
        }
    
        .navs{}
    
            .navs .global_nav1,
            .small_header header .navs .global_nav1{
                margin-bottom: 1rem;
            }
    
            .navs .global_nav2{
                padding-right: 2vw;
            }

            .navs .global_nav2 ul li a{
                padding: 0.7rem 1.25vw 0.8rem;
                font-size: 0.92rem;
            }
    
    .contents{
        padding-top: 10vw;
    }
    
    footer{
        padding: 3rem 0;
    }

        footer > .box_inner{
            width: calc(100% - 10vw);
        }

            .f_logo_site_title a .logo{
                width: 15vw;
            }

            .f_logo_site_title a .site_title{
                width: calc(15vw / 165 * 158);
            }

            footer > .box_inner .f_nav ul{
                margin-right: 2rem;
            }

    
}

/* ##########印刷用########## */
@media print{
    header{
        position:relative;
    }
    
    .pagetop{
        display: none;
    }
    
}