/*============================
	header
============================*/

header {
    z-index: 888;
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    transition: .5s;
    background: none;
    display: block;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
    transition: .5s;
}

.index__hd {
    opacity: 0;
}

.index__hd.on {
    opacity: 1;
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.hd__left {
    flex: 0 1 220px;
    z-index: 999;
    padding-left: 20px;
}

.hd__right {
    margin-left: auto;
}

.hd__logo01 {
    width: 220px;
    max-width: 100%;
    position: relative;
    z-index: 99;
}

.hd__logo02 {
    width: 280px;
    max-width: 100%;
    z-index: 999;
}

.hd__entry {
    display: none;
}
.hd__entry:hover {
    opacity: 0.6;
}
.hd__entry a {
    color: #fff;
    font-size: 13px;
    display: block;
}
.hd__entry a img {
    margin: 0 auto 10px;
    display: block;
}

.hd__entry--sp {
    display: none;
}

.pc-nav__ul {
    display: flex;
    width: 70%;
    margin-left: auto;
}
.pc-nav__li {
    text-align: center;
    padding: 20px 15px;
}
.pc-nav__li:hover {
    opacity: 0.6;
}
.pc-nav__li a {
    color: #006ED2;
    font-size: 13px;
    display: block;
    margin: 0 auto;
}
.pc-nav__li a img {
    margin-bottom: 10px;
}

/*.pc-nav__li:last-child {
    background: #006ED2;
    margin-right: 0;
}
.pc-nav__li:last-child a {
    color: #fff;
}*/

@media screen and (max-width:1350px) {
    .pc-nav__ul {
        width: 60%;
    }
    .pc-nav__li {
        text-align: center;
        padding: 20px 10px;
    }
}

@media screen and (max-width:1024px) {
    .hd__logo02 {
        width: 180px;
        margin: 20px 0;
    }
    .hd__right {
        margin-right: 20px;
        margin-left: 0;
        order: 2;
    }
    .pc-nav {
        display: none;
    }
    .hd__entry {
        display: block;
        order: 1;
        background: none;
        border: 3px solid #006ED2;
        padding: 0;
        width: 15%;
        margin-right: 15px;
    }
    .hd__entry a {
        color: #006ED2;
    }
    .hd__entry a img {
        margin-bottom: 0;
        padding: 10px;
        width: 70%;
    }
    .hd__entry a.hd__entry--pc {
        display: none;
    }
    .hd__entry--sp {
        display: block;
    }
}

@media screen and (max-width:768px) {
    .hd__logo02 {
        width: 155px;
    }
    .hd__entry {
        width: 25%;
    }
    .hd__entry a img {
        width: 100%;
    }
}



/***** ハンバーガー ▼*****/
.header__menu{
    position: relative;
    z-index: 9999;
    display: none;
}

.hd__hamburger {
    width: 40px;
    height: 20px;
    cursor: pointer;
    position: relative;
    
}

.hd__hamburger span {
    background: #006ED2;
    height: 3px;
    width: 100%;
    left: 0;
}

.hd__hamburger.active span {
    background: #006ED2;
}

.header__menu.active .close{
    display: none;
}

.header__menu.active .open{
    display: block;
}

.hd__hamburger--top {
    top: 0;
    transition: .5s;
}

.hd__hamburger--mid {
    top: 50%;
    transition: .5s;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.hd__hamburger--bottom {
    bottom: 0;
    transition: .5s;
}

.hd__hamburger.active .hd__hamburger--top {
    transform: translateY(9px) rotate(30deg);
}

.hd__hamburger.active .hd__hamburger--mid {
    display: none;
}

.hd__hamburger.active .hd__hamburger--bottom {
    transform: translateY(-9px) rotate(-30deg);
}

/***** sp nav *****/
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, .7);
    opacity: 0;
    display: none;
    transition: .5s;

}

html.active body:before {
    opacity: 0;
    z-index: 0;
    display: block;
    animation-name: BgAppear;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    z-index: 2;
}

@keyframes BgAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}

@keyframes BgHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

}

.g-nav__bg {
    position: fixed;
    top: 0;
    right: -120%;
    opacity: 0;
    height: 100vh;
    width: 80%;
    transition: all .5s;
    background: #fff;
    padding: 140px 10% 50px;
    overflow: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
    opacity: 0;
    animation-name: navHide;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.g-nav__bg.active {
    display: block;
    animation-name: navAppear;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    right: 0;
    opacity: 1;
}

@keyframes navAppear {
    0% {
        opacity: 0;
    }

    1% {
        right: 0;
    }

    100% {
        opacity: 1;
    }

}

@keyframes navHide {
    0% {
        opacity: 1;
    }

    99% {
        opacity: 0;

    }

    100% {
        opacity: 0;
        right: -120%;
    }

}

.g-nav__sp {
    margin-bottom: 60px;
}

.g-nav__sp li a {
    font-size: 1.8rem;
    color: #006ED2;
    text-align: left;
    height: 100%;
    display: table-cell;
    margin-bottom: 20px;
}

.g-nav__sp li img {
    margin-bottom: 10px;
    display: block;
}


@media screen and (max-width:1024px) {
    .header__menu {
        display: block;
    }
}

@media screen and (max-width:768px) {
    .g-nav__bg {
        padding: 110px 10% 50px;
    }
    .g-nav__sp {
        margin-bottom: 30px;
    }
    .g-nav__sp li a {
        font-size: 14px;
    }
    .g-nav__sp li img {
        width: 80%;
    }
}




/*============================
	footer
============================*/
