@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP&display=swap');
/*common css*/
html {
    font-size: 62.5%;
    box-sizing: border-box;
}
html * {
    box-sizing: border-box;
}
body{
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8em;
    color: #000;
}
a{
    text-decoration: none;
    transition: all.2s ease;
    color: #496499;
}
button{
    transition: all 2s ease;
}
main{
    display: block;
}
img {
    max-width: 100%;
    height: auto;
}
/* header */
header{
    width: 100%;
}
.inner{
    margin: 0 auto;
    max-width: 960px;
}
.space{
    margin-bottom: 250px;
}
.header{
    display: flex;
    align-items: center;
}
.site-logo{
    width: 100px;
    position: relative;
}
.logo-a{
    display: block;
}
.global-nav{
    flex-grow: 1;
}
.global-nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-text{
    color: black;
}
.header-a {
    display: block;
    width: 100%;
    vertical-align: middle;
    color: black;
}
.under{
    display: inline-block;
    position: relative;
}
.under::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #293855;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
.header-a:hover .under::after{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.btn{
    display: flex;
    padding: 23px 24px;
    background: #293855;
    color: white;
}
.btn:hover{
    background: #496499;
}
.btn-text{
    color: #fff;
}
.pc{
    display: none;
}
/* --パンくずリスト-- */
.nav-inner{
    max-width: 960px;
    margin: 0 auto;
}
.breadcrumb {
    font-size: 1.6rem;
    margin: 30px 0;
}
nav li {
    display: inline;
    
}
.breadcrumb li:after {
  content: '>';
  padding: 0 3px;
  color: black;
}
.breadcrumb li:last-child:after {
  content: '';
}
.breadcrumb li a {
  text-decoration: none;
  color: black;
}
a.home:hover {
    text-decoration: underline;
    color: #496499;
}
a.taxonomy:hover {
  text-decoration: underline;
    color: #496499;
}
/* main */
.main-inner{
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}
.title{
    font-size: 2.2rem;
    padding: 24px 15px 24px;
    color: #fff;
    background: #A5B7D9;
    background: -moz-url(../images/common/opi-pattern.svg),linear-gradient(left, #293855 0%, #A5B7D9 100%);
    background: -webkit-url(../images/common/opi-pattern.svg),gradient(linear, left center, right center, from(#293855), to(#A5B7D9));
    background: -webkit-url(../images/common/opi-pattern.svg),linear-gradient(left, #293855 0%, #A5B7D9 100%);
    background: -o-url(../images/common/opi-pattern.svg),linear-gradient(left, #293855 0%, #A5B7D9 100%);
    background: url(../images/common/opi-pattern.svg),linear-gradient(to right, #293855 0%, #A5B7D9 100%);
    margin-top: 45px;
    background-position: 97%;
    background-repeat: no-repeat;
}
.f-size{
    font-size: 1.6rem;
}
.black{
    color: black;
}
.white{
    color: white;
}
/*page-top button */
/* pc・sp共通CSS */
.PageTopBtn {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 85px;
    right: 20px;
}
.PageTopBtn a:hover{
    opacity: 0.7;
    transition: all 1s ease;
}
.fas{
    margin: 0 7px;
}
.yellow{
    color: #ECB038;
}

/* footer */
footer{
    background-color: #e8e1e1;
    width: 100%;
}
.footer{
    display: flex;
    justify-content: space-between;
    padding-top: 45px;
    align-items: center;
}
.logo-a2{
    width: 110px;
    height: 100px;
}
.footer-rogo{
    width: 100%;
    height: 100%;
}
.footer-p{
    line-height: 1.3;
}
.footer-icon{
    display: flex;
}
.footer-icon li{
    position: relative;
    width: 50px;
    height: 50px;
    margin: 6px;
}
.footer-a:hover {
    opacity: 0.7;
    transition: all 1s ease;
}
.footer-a{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.copy{
    text-align: center;
    font-size: 1.3rem;
    padding: 50px 0 20px;
}
.tel{
     pointer-events: none;
}

/* ---spスタイル----*/
/*960以下*/
@media screen and (max-width: 960px){
    .inner{
        margin: 0 20px;
    }
     .nav-inner{
        margin: 0 20px;
    }
     /*footer*/
    footer{
        height: 435px;
    }
    .footer{
        display: block;
        padding-top: 10px;
        text-align: center;
    }
    .footer-p{
        margin-bottom: 25px;
        line-height: 1.3;
    }
    .logo-a2{
        width: 100px;
        display: flex;
        margin: 0 auto;
    }
     .footer-list{
        display: block;
        padding-top: 30px;
    }
    .footer-icon{
        max-width: 180px;
        margin: 0 auto;
    }
    .footer-btn{
        display: block;
        width: 158px;
        text-align: center;
        margin: 40px auto;
    }
    .copy{
        padding: 0;
    }
    a[href^="tel:"]{
        pointer-events: none;
    }
    
}
/*768以下*/
@media screen and (max-width: 768px){
    body{
    font-size: 1.6em;
    }
    .f-size{
        font-size:  1.4rem;
    }
    .sp{
        display: none;
    }
    /*----header----*/
    header{
        height: 80px;
    }
    .header-inner{
        width: 100%;
        position: relative;
        padding: 0;
        height: 80px;
    }
    .site-logo{
        width: 80px;
        margin: 0 15px;
        position: absolute;
        top: 0px;
        left: 0px;
    }
    .pc{
        display: inline;
    }
    /*ハンバーガーメニュー*/ 
    .nav-trg {
        position: absolute;
        width: 35px;
        height: 35px;
        top: 20px;
        right: 30px;
        cursor: pointer;
        z-index: 20;
        padding: 0;
    }
    .under{
        padding-left: 40px;
    }
    .global-nav{
        display: none;
    }
    .nav-sp{
        display: block;
    }
/*ハンバーガーアイコン*/
    .hanburger{
        position: absolute;
        right: 30px;
        top: 10px;
        width: 45px;
        height: 45px;
        cursor: pointer;
        z-index: 2;
    }
    .nav-trg span, .nav-trg span:before, .nav-trg span:after {
        position: absolute;
        height: 2px; /*線の太さ*/
        width: 35px; /* 長さ*/
        border-radius: 14px;
        background: #555;
        display: block;
        content: '';
        cursor: pointer;
    }
    .nav-trg span:before {
        top: -14px;
    }
    .nav-trg span:after {
        top: 14px;
        }
    button{
        -webkit-appearance:none;
        -moz-appearance:none;
        appearance:none;
        background: none;
        border: 0;
    }

    
/*ハンバーガー、ナビゲーション画面open時*/
        body.open .global-nav{
            display: block;
        }
        body.open .global-nav ul{
            display: block;
            width: 80%;
            position: absolute;
            top: 0;
            right: 0;
            padding: 100px 0 0 0;
            background-color: rgba(255,255,255,0.9);
            z-index: 10;
        }
        body.open .btn-span{
            color: white;
            line-height: 1.5;
        }
        body.open .btn-li a{
            background: #22407a;
            padding: 25px 30px;
        }

        body.open .nav-trg span{
            width: 0;
            left: 50%;
            top: -5px;
        }
        body.open .nav-trg span:before {
            transform: rotate(45deg);
            top: 21px;
            right: -20px;
            width: 41px;
        }
        body.open .nav-trg span:after {
            transform: rotate(-45deg);
            top: 21px;
            right: -20px;
            width: 41px;
        }

        body.open .nav-text{
            display: block;
        }
        body.open .header-a{
            display: flex;
            padding: 25px 0 25px;
        }
/* main*/
    .title{
        font-size: 2.2rem;
        padding: 15px 15px 15px;
        margin-top: 0;
        background-position: calc(100% + 150px) 50%,0 50%;
        background-repeat: no-repeat;
        background-size: contain,auto;
    }
    .nav-inner{
        margin: 0 20px;
    }
/*footer*/
     #PageTopBtn {
        right: 30px;
    }
     #PageTopBtn {
        right: 30px;
    }
    a[href^="tel:"]{
        pointer-events: auto;
    }
}