@charset "UTF-8";
/*======================
    common
======================*/
*, ::before,::after { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}
ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    /*font-family: 'Noto Serif JP', serif;*/
}
.wrapper {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 10px;
}
.wrapper2 {
    max-width: 1500px;
    margin: 30px auto;
    padding: 0 10px;
}
.sp-br {
    display: none;
}


/*======================
    header
======================*/
.openbtn {
    display: none;
}
header {
    padding: 20px 20px 10px 20px;
    position: sticky;
    width: 100%;
    /*background: #efefef;*/
    background: url(../img/header-bg.svg) no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    z-index: 999;
    transition: all .3s ease-out;
}
header.fixed-hide {
    top: -120%;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 {
    width: 30%;
}
header h1 img {
    width: 100%;
}
#g-nav .contact {
    margin: 0 0 30px auto;
    text-align: right;
}
#g-nav .contact a {
    color: #707070;
    /*border-bottom: 1px solid #707070;*/
}
#g-nav .contact a span {
    position: relative;
}
#g-nav .contact a span::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    transform: scale(1, 1);
    width: 100%;
    height: 1px ;
    background: #707070;
}
#g-nav .contact img {
    display: inline-block;
    width: 35px;
    vertical-align: middle;
    margin-right: 10px;
}
/*#g-nav .contact::before {
    content : '\f2b6';
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    margin-right:10px;
    
}*/
#g-nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#g-nav ul li {
    border-right: 1px solid #707070;
    display: flex;
    align-items: center;
}
#g-nav ul li:last-child {
    border-right: none;
}
#g-nav ul li a {
    color: #4677af;
    padding: 5px 20px;
    transition: all .3s;
    cursor: pointer;
    font-weight: 700;
    display: inline-block;
    width: 100%;
}
#g-nav ul li a span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
#g-nav ul li a span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0px;
    width: 100%;
    height: 2px;
    background: #4677af;
    transition: all .3s;
    transform: scale(0, 1);
    transform-origin: left top;
}
#g-nav ul li a span:hover::after {
    transform: scale(1, 1);
}
#g-nav ul li:first-child a {
    padding: 5px 20px 5px 0;
}
#g-nav ul li:last-child a {
    padding: 5px 0 5px 20px;
}
.nav-innerImg img {
    width: 30px;
    display: inline-block;
    margin-right: 5px;
}
#g-nav.active #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: auto;
}
/*.nav-innerImg {
    position: relative;
}
.nav-innerImg::before {
    background: url(../img/home.png) no-repeat center center;
    width: 30px;
    height: 30px;
    background-size: contain;
    content: "";
    position: absolute;
    top: -8px;
    left: -32px;
}*/


/*======================
    contact
======================*/
#contact {
    margin: 60px auto;
}
#contact h2 {
    display: flex;
    align-items: flex-end;
    border-bottom: 5px solid #6d8dbe;
    padding-bottom: 10px;
    letter-spacing: 0.1em;
}
#contact h2::before, .down-road a span::before {
    content: "";
    display: inline-block;
    background-size: contain;
    margin-right: 10px;
}
#contact h2::before {
    width: 50px;
    height: 30px;
    background: url(../index/img/contact-image_01.svg) no-repeat center center;
}
.contact-text {
    margin: 30px auto;
}
.contact-text p {
    margin-bottom: 5px;
}
.down-road a {
    color: #6d8dbe;
    font-weight: 500;
    border-bottom: 0.3px solid #707070;
    transition: all .3s;
    padding: 5px 5px 10px 5px;
}
.down-road a span {
    font-size: 1em;
    letter-spacing: 0.1em;
}
.down-road a span::before {
    width: 20px;
    height: 20px;
    background: url(../index/img/contact-image_02.svg) no-repeat center center;
}
.down-road a:hover {
    color: #cd5547;
} 
.nav-logo {
    display: none !important;
}


/*======================
    footer
======================*/
footer {
    width: 100%;
    background: #6d8dbe;
    font-weight: 500;
    padding: 20px;
}
.footer-inner, .footer-inner a {
    color: #fff;
}
.footer-inner {
    padding: 60px 20px 50px;
    margin: 0 auto;
}
.footer-info-top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.footer-address {
    padding: 0 10px;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
}
.footer-address table {
    border-collapse: collapse;
    margin: 0 auto;
}
.footer-address table td {
    padding: 0 10px;
}
.footer-access::before {
    background: url(../img/white-triangle.svg) no-repeat;
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 4px;
}
.footer-title {
    width: 40%;
}
.footer-address {
    width: 50%;
}
.footer-access {
    padding: 0 0px 0 20px;
    position: relative;
}
.footer-access a {
    border-bottom: 1px solid #fff;
    padding-left: 20px;
}
.footer-title {
    font-size: 2em;
}
.footer-info-bottom {
    margin: 30px auto;
}
.footer-info-bottom p {
    margin-bottom: 10px;
}


/*======================
    TOPへ戻るボタン
======================*/
.pageTop {
    cursor: pointer;
    position: fixed;
    /*right: 30px;*/
    bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #80c3f0;
    color: #fff;
    transition: all .5s;
    opacity: 0;/*デフォルトで非表示にすする*/
    z-index: 10;
}


/*************** レスポンシブ *************************/
@media screen and (max-width: 1120px) {
    /*======================
        header
    ======================*/
    header {
        padding: 10px;
    }
    header h1 {
        width: 75%;
    }
    header h1 a {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .openbtn {
        display: block;
        width: 50px;
        height: 50px;
        position: relative;
        z-index: 9999;
        cursor: pointer;
        background: #4677af;
    }
    .openbtn span {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width : 80%;
        height: 1px;
        background: #fff;
        display: inline-block;
        transition: all .3s;
    }
    .openbtn span:nth-of-type(1) {
        top: 30%;
        left: 50%;
        transform: translate(-50%, -30%);
    }
    .openbtn span:nth-of-type(2) {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .openbtn span:nth-of-type(3) {
        top: 70%;
        left: 50%;
        transform: translate(-50%, -70%);
    }
    .openbtn.active span:nth-of-type(1) {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(405deg);
    }
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .openbtn.active span:nth-of-type(3) {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-405deg);
    }
    .sp-nav {
        display: flex;
        flex-direction: column-reverse;
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }
    #g-nav .contact {
        margin: 10px auto;
        text-align: center;
        width: 100%;
    }
    #g-nav {
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        transition: all .3s;
        display: none;
    }
    #g-nav ul {
        display: block;
    }
    #g-nav ul li {
        border-right: none;
        display: block;
        text-align: center;
        opacity: 0;
        margin-bottom: 15px;
    }
    .contact {
        opacity: 0;
    }
    #g-nav.active {
        display: block;
    }
    #g-nav.active ul li, #g-nav.active .contact {
        animation: gnavAnime 1s .2s forwards;
        opacity : 0;
    }
    @keyframes gnavAnime {
        0% {
            opacity : 0;
        }
        100% {
            opacity: 1;
        }
    }
    .nav-logo {
        display: block !important;
        padding: 0 20px;
        margin-bottom: 10px !important;
    }
    .nav-logo , .nav-logo img {
        width: 100%;
    }
    .mask.active {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 998;
        background: rgba(64, 64, 64, .4);
    }
    body.active {
        overflow: hidden;
    }
    .circle-bg {
        position: fixed;
        z-index: 10;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #efefef;
        transform: scale(0);
        left: -50px;
        bottom: -50px;
        transition:all .5s;
    }
    .circle-bg.active {
        transform: scale(50);
    }
    #g-nav ul li a span:hover::after {
        transform: scale(0, 1);
    }
    #g-nav ul li a span {
        display: inline-block;
    }
    #g-nav ul li a, #g-nav ul li:last-child a {
        padding: 20px;
    }
    #g-nav .contact a {
        display: inline-block;
        width: 100%;
        padding: 20px;
    }


    /*======================
        footer
    ======================*/
    .footer-title {
        font-size: 1.4em;
    }
    .footer-title, .footer-address, .footer-access {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
    .footer-access {
        padding: 0;
        text-align: center;
    }
    .footer-address {
        padding: 0;
        border-right: none;
        border-left: none;
    }
    .footer-address table td {
        padding: 0;
        display: block;
        width: 100%;
        text-align: left;
    }
    .footer-info-bottom p {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .wrapper {
        padding: 0 20px;
    }
    .sp-br {
        display: block;
    }
    footer {
        padding: 40px 20px;
    }
}

@media screen and (max-width: 428px) {
    #contact h2, .footer-title {
        font-size: 1.2em;
    }
    #contact h2 {
        letter-spacing: 0;
    }
    .footer-info-bottom p {
        text-align: left;
    }
    .pageTop {
        bottom: 10px;
    }
    .footer-title {
        text-align: center;
    }
    .footer-address table {
        margin: 0 auto 0 0;
    }
    .footer-access {
        text-align: left;
    }
    .down-road a span {
        letter-spacing: 0;
    }
}
/*************** レスポンシブ end *************************/