/*header*/


/*パソコン*/

header {
    margin: 0 auto;
    padding: 25px 35px 12px;
    z-index: 555;
    top: 0;
    display: flex;
    align-items: center;
    max-width: 1200px;
}

header img {
    width: 250px;
    height: auto;
}

.nav__list {
    list-style: none;
    margin: 0;
    display: flex;
}

.nav__item {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 2px;
    margin-left: 20px;
}

.nav__item a {
    color: #3e4f5e!important;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.nav__item a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #6c9bd2;
    transform: scale(0, 1);
    transform-origin: left;
    transition: transform .3s;
}

.nav__item a:hover::after {
    transform: scale(1, 1);
}


/*スマホ*/

.sp-nav {
    display: none;
}

@media screen and (max-width: 700px) {
    .pc-nav {
        display: none;
    }
    .sp-nav {
        display: block;
    }
    .header-sp {
        left: 0;
        top: 0;
        width: 100%;
    }
    .global-nav {
        position: fixed;
        right: 100vw;
        /* これで隠れる */
        top: 0;
        width: 100vw;
        /* スマホに収まるくらい */
        height: 100vh;
        padding-top: 40px;
        background-color: rgb(255, 255, 255);
        background-size: 50px auto;
        transition: all .6s;
        z-index: 200;
        overflow-y: auto;
        /* メニューが多くなったらスクロールできるように */
    }
    .hamburger {
        position: absolute;
        width: 60px;
        /* クリックしやすいようにちゃんと幅を指定する */
        height: 40px;
        /* クリックしやすいようにちゃんと高さを指定する */
        cursor: pointer;
        z-index: 300;
        display: inline;
        right: 0%;
        margin: 1.4%;
    }
    .global-nav__list {
        margin: 0;
        list-style: none;
        vertical-align: top;
        width: 40%;
        padding-top: 50px;
    }
    .global-nav__item {
        text-align: left;
        padding: 16px 7px;
        font-size: 4vw;
        font-weight: 600;
    }
    .global-nav__item a {
        color: #3e4f5e!important;
        position: relative;
        display: inline-block;
        text-decoration: none;
    }
    .global-nav__item a::after {
        position: absolute;
        bottom: -4px;
        left: 0;
        content: '';
        width: 100%;
        height: 1px;
        background: #6c9bd2;
        transform: scale(0, 1);
        transform-origin: left;
        transition: transform .3s;
    }
    .global-nav__item a:hover::after {
        transform: scale(1, 1);
    }
    .hamburger__line {
        position: absolute;
        left: 16px;
        width: 27px;
        height: 2px;
        background-color: #3e4f5e;
        transition: all .6s;
        margin-top: 30px;
    }
    .hamburger__line--1 {
        bottom: 14px;
    }
    .hamburger__line--2 {
        bottom: 20px;
    }
    .hamburger__line--3 {
        bottom: 26px;
    }
    .black-bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 100;
        background-color: #3e4f5e;
        opacity: 0;
        visibility: hidden;
        transition: all .6s;
        cursor: pointer;
    }
    /* 表示された時用のCSS */
    .nav-open .global-nav {
        right: 0;
    }
    .nav-open .black-bg {
        opacity: .8;
        visibility: visible;
    }
    .nav-open .hamburger__line--1 {
        transform: rotate(45deg);
        bottom: 20px;
    }
    .nav-open .hamburger__line--2 {
        width: 0;
        left: 50%;
    }
    .nav-open .hamburger__line--3 {
        transform: rotate(-45deg);
        bottom: 20px;
    }
}


/* フッター設定*/

footer {
    position: absolute;
    background: rgba(51, 51, 51, 0.5);
    color: #fff;
    width: 100%;
}

footer img {
    width: 250px;
    height: auto;
}

#footer-list {
    margin-top: 33px;
    margin-right: 100px;
    list-style: none;
    font-size: 14px;
}

#footer-list section {
    max-width: 1200px;
    margin: 0px auto;
}

#c1 {
    width: unset;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    position: relative;
}

#c1 li {
    padding: 5px 0px;
}

#c1 address {
    text-align: center;
    font-size: 10px;
}

#c1 span {
    position: absolute;
    height: 50px;
    line-height: 55px;
    padding: 5px 10px;
    text-decoration: none;
}

#c1 span:hover {
    color: #ffffff;
}

#footer-list ul {
    display: block;
    list-style: none;
    padding-inline-start: 0;
}

#footer-list li a {
    color: #ffffff;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

#footer-list a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #6c9bd2;
    transform: scale(0, 1);
    transform-origin: left;
    transition: transform .3s;
}

#footer-list li a:hover::after {
    transform: scale(1, 1);
}

#end li {
    display: inline-block;
    font-size: 14px;
}

#end ul a {
    padding: 0 24px 4px 0;
    text-decoration: none;
    color: #ffffff;
}

#end ul a:hover {
    text-decoration: none;
    ;
}

.footer-pageTop {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 4px;
    padding: 4px;
    background: rgb(51, 51, 51);
    border: thin dotted #E58A37;
    color: #fff;
}

@media all and (-ms-high-contrast: none) {
    footer {
        position: static;
    }
}


/*スマホ*/

@media only screen and (max-width: 745px) {
    footer {
        height: 850px;
    }
    #footer-list {
        margin-right: 0;
    }
    #c1 {
        display: inline-block;
    }
    #footer-list section {
        text-align: center;
    }
    #c1 .s {
        margin-right: 120px;
    }
}

.border-2 {
    border-bottom: thin solid #6c9bd2;
    display: inline-block;
}