/* ------------------------------
   ヘッダー
------------------------------ */
header {
    align-items: end;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 11;
    transition: .5s;
    font-weight: bold;
    font-size: 120%;
    border-bottom: 8px solid #fb838c;
    display: flex;
    height: 8rem;
    background: #fff;
}



.tbOnly {
    display: none;
}

#head_wrap .splogo {
    display: none;
}

.menu {
    background-color: #fff;
    width: 100%;
}

#nav-toggle {
    display: none;
}

#global-nav {
    display: flex;
    justify-content: center;
    /*ボタン追加後にspace-betweenに変更*/
    width: 95%;
    max-width: 1600px;
    height: auto;
    position: relative;
    top: 0;
    z-index: 10;
    margin: 0 auto;
    padding-top: 0.4%;

}


#global-nav .logo {
    width: 11%;
    line-height: 0;
}




#global-nav .logo img {
    max-width: 1920px;
    width: 80%;
}



#global-nav ul {
    width: 68%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

}

#global-nav li {
    margin-left: 1%;
}

#global-nav .loginBtn {
    width: 20%;
    max-width: 250px;
}

#global-nav .loginBtn img {
    width: 100%;
}

#global-nav .loginBtn a {
    transition-duration: 0.3s;
    border-bottom: #fff;
}


#global-nav .login {
    display: flex;
    align-items: center;
    width: 20%;
    text-align: right;
}





#global-nav .login img {
    max-width: 353px;
    width: 100%;
}

#global-nav li a {
    transition-duration: 0.1s;
    border-bottom: 0.2rem solid rgba(131, 193, 213, 0);
}


#global-nav li a:hover {
    color: #eb6101;
    border-bottom: 0.2rem solid rgb(240 120 91 / 50%);
}

#global-nav .loginBtn a:hover {
    border-bottom: none;
    transform: scale(1.1);
}

#global-nav .login a {
    width: 100%;
    transition-duration: 0.3s !important;
}

#global-nav .login a:hover {
    border-bottom: #fff;
    transform: scale(1.1, 1.1);
}

#mobile-head .login {
    width: 100%;
    display: none;
}

@media screen and (max-width:1500px) {
    header {
        font-size: 100%;
    }


}

/*max-width:1500px*/


/*SPヘッダー-----------------*/
@media screen and (max-width:1100px) {
    header {
        display: block !important;
        background: none;
    }

    #global-nav li a:hover {
        color: #eb6101;
        border-bottom: none;
    }

    #mobile-head {
        display: flex;
        justify-content: space-between;
        width: 100%;
        position: fixed;
        background-color: #fff;
        top: 0;
        align-items: center;
        z-index: 30;
        height: 80px;
    }

    #mobile-head .spOnly {
        display: block;
    }

    #mobile-head .login {
        width: 25%;
        margin-right: 8rem;
        margin-top: 1%;

    }

    #mobile-head .login img {
        width: 100%;
    }

    #head_wrap .splogo {
        display: block;
        line-height: 0;
    }

    #head_wrap .splogo a {
        display: block;

    }



    #head_wrap .splogo img {
        max-width: 238px;
        */ width: auto;
        /* height: 80px; */
        /* padding-top: 4%; */
        max-height: 78px;
        height: 100%;
    }

    #nav-toggle {
        display: flex;
        align-items: center;
        margin-bottom: auto;
        margin-right: 0%;
        position: absolute;
        right: 12px;
        top: 25%;
        width: 4rem;
        height: 0px;
        cursor: pointer;
        z-index: 20;
    }

    #nav-toggle div {
        position: relative;
    }

    #nav-toggle span {
        display: block;
        position: absolute;
        width: 4rem;
        height: 0.8rem;
        left: 0;
        border-radius: 100px;
        background-color: #fb838c;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
    }

    #nav-toggle span:nth-child(1) {
        top: 0;
    }

    .open #nav-toggle span:nth-child(1) {
        top: 15px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #nav-toggle span:nth-child(2) {
        top: 15px;
    }

    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    #nav-toggle span:nth-child(3) {
        top: 29px;
    }

    .open #nav-toggle span:nth-child(3) {
        top: 15px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }


    #global-nav {
        position: fixed;
        top: -1100px;
        max-width: 100%;
        width: 100%;
        text-align: center;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        z-index: 20;
    }


    #global-nav li {
        margin-left: 1%;
    }

    #global-nav .logo {
        display: none;
    }

    #global-nav .pcOnly {
        display: none;
    }

    #global-nav ul {
        display: block;
        width: 100%;
        height: 1000px;
        position: relative;
        top: 0;
        z-index: 10;
        margin: 0 auto;
        margin-top: 70px;
        padding-bottom: 4px;
        background: #f7e8e7;
        padding-top: 3%;
        text-align: left;

    }




    #global-nav ul li {
        background: url(../img/allow02.png);
        background-size: auto;
        background-position: 95%;
        background-repeat: no-repeat;
        padding-left: 2%;
        padding-top: 2%;
        padding-bottom: 2%;
        position: relative;
        width: 100%;
        height: 40px;
        margin: 0;
        display: block;
        border-bottom: solid 0.2rem rgb(240 120 91 / 50%);
        overflow: hidden;
        cursor: pointer;
        display: flex;
        align-items: center;
    }


    #global-nav ul:last-child {
        border-bottom: none;
    }

    #global-nav ul li a {
        width: 100%;
    }


    #global-nav ul li p {
        padding-top: 0.5%;
    }



    #global-nav ul .head1 {
        width: 100%;


    }

    #global-nav ul .head2 {
        width: 100%;


    }

    #global-nav ul .head3 {
        width: 100%;

    }

    #global-nav ul .head4 {
        width: 100%;

    }

    #global-nav ul .head5 {
        width: 100%;

    }

    #global-nav ul a p {
        text-align: left;
    }


    .open #global-nav {
        -moz-transform: translateY(1099px);
        -webkit-transform: translateY(1099px);
        transform: translateY(1099px);
    }




}

/*max-width:1024px*/

@media screen and (max-width:767px) {
    #mobile-head .login {
        width: 100%;
        display: block;
    }

    #mobile-head {
        background-image: url(../img/logo.png);
        background-repeat: no-repeat;
        background-size: 30%;
        background-position-x: 2%;
        background-position-y: bottom;
    }

    #mobile-head .login img {
        width: 100%;
    }

    #head_wrap .splogo {
        display: block;
        line-height: 0;
        width: 40%;
        opacity: 0;
    }


    #mobile-head .login {
        width: 40%;
        margin-right: 6rem;
    }

    #mobile-head .login img {
        width: 100%;
    }


}

/*max-


/*フッター*/
footer {
    background: #fff;
    width: 100%;
    padding: 1% 0;

    font-size: 90%;
    font-weight: normal;
}

footer a {
    color: #000;
}



footer ul {
    display: flex;
    justify-content: center;
}

footer ul li {
    position: relative;
}

footer ul li:not(:last-of-type) {
    padding-right: 2rem;
}


footer ul li:not(:last-of-type)::after {
    position: absolute;
    top: 0;
    right: 0;
    content: "/";
    margin: 0 0.6rem;
    /* 記号の左右の余白 */
}

footer .inner ul li a {
    text-decoration: underline;
}

footer .inner ul li a:hover {
    color: #eb6101;
}


.footunder {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}



.logoWrap {
    display: flex;
    width: 80%;
    justify-content: space-between;
}

.footLogo {
    width: 19%;
    margin-right: 1%;
}

.footLogo a:hover {
    opacity: 0.5;
}

.footLogo img {
    max-width: 280px;
    width: 100%;
}

.footText {
    width: 85%;
}

.footText img {
    max-width: 1171px;
    width: 100%;
}

.iconWrap {
    width: 15%;
    display: flex;
    justify-content: space-between;
}


.iconWrap p {
    margin: 0 2%;
}


.iconWrap img {
    max-width: 90px;
    width: 98%;
}


@media screen and (max-width:1100px) {

    /*TBフッター*/
    footer {
        padding: 2% 0;
    }

    footer .inner {
        max-width: 70%;
    }

    footer .inner ul {
        margin-bottom: 2%;
        font-size: 80%;
    }

    .footunder {
        width: 100%;
        display: block;
        justify-content: space-between;
    }


    .logoWrap {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .footLogo {
        width: 30%;
    }

    .footText {
        width: 69%;
    }

    .footText img {
        max-width: 402px;
        width: 100%;
    }

    .iconWrap {
        width: 30%;
        margin: 0 auto;
    }

    .iconWrap p {
        margin: 0 2%;
    }
}

/*max-width:1100px*/

@media screen and (max-width:767px) {

    /*SPフッター*/
    footer {
        padding: 3% 0;
    }

    footer .inner {
        max-width: 90%;
    }

    footer ul li:not(:last-of-type) {
        padding-right: 1rem;
    }

    footer ul li:not(:last-of-type)::after {
        right: -4%;
    }
}

/*max-width:767px*/

/*PCトップへ -----------------*/
.to-top {
    width: 8rem;
    height: auto;
    position: fixed;
    bottom: 1%;
    right: 1%;
    z-index: 5;
}

.to-top a {
    display: block;
    width: auto;
}


.to-top img {
    width: 100%;
    height: auto;
    transition-duration: 0.7s;
}

.to-top img:hover {

    transform: scale(0.8, 0.8);

}