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

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(--sec-black);
    display: block;
}
.nav-items__item .top-bt a{
    color: white;
}
.nav-items__item:last-child a {
    margin-right: 0;
}
.nav-items__item.base-btn{
    margin: unset;
    background: var(--red-button);
    box-shadow: 0 5px var(--red-button-shadow);
}
.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;
    }
}

.nav-items__item.border-btn a{
    margin-bottom: 0;
}
.header__nav.active .nav-items__item.border-btn{
    margin-bottom: 30px;
}

@media screen and (max-width: 960px) {
    /* ハンバーガーメニューの線 */

    .hamburger span {
        width: 100%;
        height: 2px;
        background-color: var(--primary);
        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 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);
    }
}

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

footer

-------------------------------------------*/
footer{
    padding: 30px 0 0;
}
footer .flex{
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}
.footer__inner .footer-text{
    color: var(--primary);
    font-weight: 600;
}
.footer__inner .footer-text h2{
    margin: 0 0 10px 0;
    font-size: 2.4rem;
    font-weight: normal;
}
.footer-cover{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.footer-logo{
    width:25%;
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}
.footer-logo img:nth-child(1){
    width: 100%;
}
.footer-logo img:nth-child(2){
    width: 60%;
}
.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;
    line-height: 0;
}
footer .tel_preparation{
    font-size: 2.5rem;
    line-height: 1;
}
footer .flex-left p{
    margin: 0;
    font-size: 1.8rem;
}

footer .flex-right p{
    align-items: end;
}

footer .cs-info{
    justify-content: start;
}

footer .tel .fa-phone{
    font-size: 1.6rem;
}
footer .cs-info{
    justify-content: start;
}
.copyright{
    color: #fff;
    background-color: var(--primary);
    padding: 0.5rem 0;
    margin: 3rem 0 0 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: 25rem;
        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: 100%;
        margin: 0 auto 30px;
        text-align: center;
    }

    .footer-logo img:nth-child(1){
        width: 65%;

    }

    .footer-logo img:nth-child(2){
        width: 35%;
    }

    .footer__inner .mr_20{
        margin: 0;
        padding: 0;
    }

    .footer__inner hr{
        margin: 20px 0;
    }

    footer .tel{
        font-size: 4rem;
        line-height: 2.5rem;
    }

    footer .tel_preparation{
        font-size: 3.5rem;
    }

    .footer__inner .footer-text{
        text-align: left;
        margin-left: 0;
        margin-top: 3rem;
    }

    .mb_0 br{
        display: none;
    }

    footer .secretariat_time {
        font-size: 1.6rem;
        margin-top: 5px;
    }
}