@charset "utf-8";

/*スマホ時のナビ*/

.spNavBlock {
    flex: 1;
    display: flex;
}

.spNav {
    max-width: calc(100% - 70px);
    width: 100%;
    height: 70px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999;
    border-top: 1px solid var(--black);
}

.spNavArea {
    width: 100%;
    height: 100%;
    display: flex;
    background-color: var(--primary);
}

.spNavConte-l {
    width: 33.33%;
    border-right: 1px solid var(--black);
}

.spNavConte-m {
    width: 33.33%;
    background: var(--black);
}

.spNavLinkIconBx {
    line-height: 1em;
}

.spNavLink {
    padding: 11px 5px 5px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spFa {
    font-size: 23px;
    color: var(--black);
}

.spNavBtnBar {
    max-width: 36px;
    height: 26px;
    width: 100%;
    position: relative;
}

.spNavBtnTxt {
    margin: 5px auto 0;
    font-size: 12px;
    color: var(--black);
}

.spNavLinkTxt {
    margin: 5px auto 0;
    font-size: 10px;
    color: var(--black);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.spHamBox {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 65px;
    cursor: pointer;
    transition: all .5s;
}

.spHamBox:hover {
    opacity: .5;
}


.spHamBox .spNavBtnBarItem:nth-of-type(2) {
    top: 12px;
}

.spHamBox .spNavBtnBarItem:nth-of-type(3) {
    bottom: 0;
}

.open.spHamBox .spNavBtnBarItem:nth-of-type(1) {
    transform: translateY(12px) rotate(45deg);
}

.open.spHamBox .spNavBtnBarItem:nth-of-type(2) {
    opacity: 0;
}

.open.spHamBox .spNavBtnBarItem:nth-of-type(3) {
    transform: translateY(-12px) rotate(-45deg);
}

.spNavBtnBarItem {
    width: 100%;
    height: 2px;
    right: 0;
    background: var(--black);
    border-radius: 3px;
    position: absolute;
    transition: ease .5s;
}

.spNavMainBtn {
    right: 0;
    bottom: 0;
    position: fixed;
    display: flex;
    z-index: 99999;
    background: var(--black);
    width: 70px;
    height: 70px;
}

.open .spNavBtnBarItem {
    transition: ease .5s;
}

.spMenu {
    margin: auto;
    padding: 0;
    max-width: 1920px;
    width: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: ease .5s;
}

.spMenu.open {
    right: 0;
}

.spMenuArea {
    width: 100%;
    height: 100%;
}

.spMenuConte {
    padding: 15px;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow-y: scroll;
    -ms-overflow-style: none;
    display: flex;
    align-items: flex-start;
    margin: 0 0 0 auto;
    background: var(--white);
}

.spMenuBx {
    width: 100%;
}

.spNavBox {
    max-width: 400px;
    width: 100%;
    margin: auto;
    padding: 50px 0 120px;
}

.spMenuConte::-webkit-scrollbar {
    display: none;
}

.spMenuLink {
    padding: 10px 10px;
    text-align: center;
    display: block;
    font-size: 14px;
    color: #524B40;
    border-bottom: 1px solid #ccc;
    transition-duration: .5s;
}

.spMenuLink:hover {
    color: #524B40;
    opacity: .7;
}

.spLinkIconBx {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 5px;
    height: 40px;
    width: 100%;
}

.spLinkIconA {
    max-width: 40px;
    width: 100%;
    transition-duration: .5s;
}

.spLinkIconA:hover {
    opacity: .7;
}

.spNavList01 {
    display: block;
    font-size: 13px;
    color: #161616;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding: 15px 0;
    text-align: left;
    border-bottom: 1px solid var(--black);
    transition: .5s;
}

.spNavList01:hover {
    color: var(--black);
    transition: .5s;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:768px) {

    .spHamBox {
        display: none;
    }

}

/* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:1024px) {

    .spNav {
        display: none;
    }

    .hPcHamBox .spNavBtnBar .spNavBtnBarItem {
        background: var(--black);
    }

    .spMenuConte {
        max-width: 460px;
    }

}

/* min-width: 1024px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */