/*-------------------------------------------

header

-------------------------------------------*/
.header {
    background-color: rgba(255,255,255,0.9);;
    width: 100%;
    height: 9rem;
    position: fixed;
    top: 0;
    z-index: 999;
    box-sizing: border-box;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
}
.header__title {
    width: 120px;
}

@media screen and (min-width: 960px) {
    .header__title {
        width: 140px;
        margin: 0;
    }
}
.header__title img {
    display: block;
    width: 100%;
    height: auto;
}
.header__nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: #fff;
    transition: ease .4s;
}

@media screen and (min-width: 960px) {
    .header__nav {
        position: static;
        transform: initial;
        background-color: inherit;
        height: inherit;
        display: flex;
        justify-content: end;
        width: 90%;
    }
}

@media screen and (min-width: 960px) {
    .nav__items {
        width: 90%;
        display: flex;
        align-items: center;
        height: initial;
        justify-content: flex-end;
    }
}
@media screen and (max-width: 960px) {
    li.nav-items__item{
        width: 300px;
    }
}

@media screen and (min-width: 960px) {
    .nav-items__item{
        margin-right: 3rem;
    }
    .nav-items__item:last-of-type{
        margin-right: 0;
    }
}

.nav-items__item a {
    width: 100%;
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-weight: 600;
}
.nav-items__item a:not(.base-btn a) {
    color: var(--blue);
    display: block;
}
.nav-items__item .top-bt a{
    color: white;
}
.nav-items__item:last-child a {
    margin-right: 0;
}
.nav-items__item.base-btn{
    box-shadow: none;
    margin: unset;
    background-color: #2584bf;
}
.nav-items__item.base-btn a{
    line-height: 1;
    word-break: keep-all;
}

.nav-items__item.base-btn .fa-chevron-right{
    font-size: 1.4rem;
}
@media screen and (max-width: 1100px) {
    .nav-items__item {
        margin-right: 2rem;
    }
}

@media screen and (min-width: 960px) {
    .nav-items__item a {
        margin-bottom: 0;
    }
}

/* ハンバーガーメニュー */
.header__hamburger {
    width: 48px;
    height: 100%;

}

.hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
}

@media screen and (min-width: 960px) {
    .hamburger {
        display: none;
    }
}

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--blue);
    position: relative;
    transition: ease .4s;
    display: block;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    margin: 8px 0;
}

.hamburger span:nth-child(3) {
    top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
    transform: translateX(0);
    overflow: hidden;
}

.header__nav.active ul{
    margin: 0 auto;
    width: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}
.header__nav.active .nav-items__item {
    margin-right: 0;
}

.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;

}

.hamburger.active span:nth-child(3) {
    top: -15px;
    transform: rotate(-45deg);
}
.nav-items__item.border-btn a{
    margin-bottom: 0;
}
.header__nav.active .nav-items__item.border-btn{
    margin-bottom: 30px;
}


/*-------------------------------------------

footer

-------------------------------------------*/
footer{
    padding: 30px 0 0;
    background: var(--blue);
}
footer .flex{
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
}
.footer__inner .footer-text{
    color: #fff;
    font-weight: 600;
}
.footer__inner .footer-text h2{
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: normal;
}
.footer-cover{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.footer-logo{
    width: 15%;
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
}
.footer-logo img{
    width: 100%;
}
.bottom-line{
    height: 30px;
    background: #00B2E2;
    text-align: center;
    margin-top: 30px;
}
.bottom-line p{
    line-height: 2.5em;
    font-size: 12px;
    color:white;
}
footer .tel{
    font-size: 3rem;
    color: var(--yellow);
    line-height: 0;
}
footer .flex-left p{
    margin: 0;
}
footer .tel .fa-phone{
    font-size: 1.6rem;
}
.copyright{
    color: #fff;
    padding: 3rem 0 1rem 0;
    margin: 0;
}
.fa-phone:before {
    font-size: 2.5rem;
}
@media screen and (max-width: 959px) {
    footer {
        padding: 50px 0 0;
    }

    .footer-cover {
        display: block;
    }

    .footer-logo {
        width: 12rem;
        margin: 0 20px 0 0;
    }
    .footer__inner .footer-text{
        text-align: left;
    }
    .cs-info{
        display: block;
    }
    footer .tel{
        margin-top: 10px;
    }
}
@media screen and (max-width: 600px) {
    .header__title {
        width: 90px;
    }
    .footer-logo {
        width: 12rem;
        margin: 0 auto 30px;
    }
    .footer__inner .mr_20{
        margin: 0;
    }
    .footer__inner hr{
        margin: 20px 0;
    }
    .footer .tel{
        margin-top: 2rem;
    }
    .footer__inner .footer-text{
        text-align: center;
    }
}