@charset "utf-8";

header {
    padding: 1.8rem 0 1.6rem;
    border-bottom: 0.1rem solid #d8d8d8;
}

header .innerWide {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pcRightMenu .pcUserInfo {
    display: flex;
    justify-content: flex-end;
}

.pcRightMenu .pcUserInfo span {
    font-size: 1.2rem;
    line-height: 1;
}

.pcRightMenu .pcUserInfo span:nth-of-type(2) {
    margin-left: 1rem;
}

.pcRightMenu .pcUserInfo span:nth-of-type(3) {
    margin-left: 0.2rem;
}

.pcRightMenu .pcRightMenu_list {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.pcRightMenu .pcRightMenu_list li {
    font-size: 1.4rem;
    font-weight: bold;
}

.pcRightMenu .pcRightMenu_list li + li {
    margin-left: 1rem;
}

.pcRightMenu .pcRightMenu_list li a {
    position: relative;
    margin-right: 1rem;
    color: #333;
}

.pcRightMenu .pcRightMenu_list li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translateY(-50%);
    width: 0.1rem;
    height: 1.6rem;
    background-color: #F0F0F0;
}

.pcRightMenu .pcRightMenu_list li:last-child a {
    margin-right: 0;
}

.pcRightMenu .pcRightMenu_list li:last-child a::after {
    display: none;
}

@media (any-hover: hover) {
    .pcRightMenu .pcRightMenu_list li a:hover {
        opacity: 0.5;
    }
}

@media only screen and (max-width: 768px) {
    header {
        position: relative;
        height: 6rem;
        padding: 1.5rem 0;
    }

    header .innerWide {
        padding-right: 0.3rem;
    }

    .header_logo {
        width: 11.3rem;
    }

    /* ============ メニューボタン ============ */
    .spMenuBtn {
        position: absolute;
        top: 1.6rem;
        right: 1.6rem;
        width: 2.4rem;
        height: 3rem;
        background-color: var(--color-main);
        cursor: pointer;
        z-index: 200;
    }

    .spMenuBtn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 0.2rem;
        background-color: #fff;
        border-radius: 0.1rem;
    }

    .spMenuBtn,
    .spMenuBtn span {
        display: inline-block;
        transition: all 0.3s;
        box-sizing: border-box;
    }

    .spMenuBtn span:nth-of-type(1) {
        top: 0;
    }

    .spMenuBtn span:nth-of-type(2) {
        top: 0.7rem;
    }

    .spMenuBtn span:nth-of-type(3) {
        top: 1.4rem;
    }

    .spMenuBtn img {
        position: absolute;
        top: 2.2rem;
        left: 50%;
        width: 2.4rem;
        transform: translateX(-50%);
    }

    .spMenuBtn.is-active span:nth-of-type(1) {
        -webkit-transform: translateY(0.7rem) rotate(45deg);
        transform: translateY(0.7rem) rotate(45deg);
    }

    .spMenuBtn.is-active span:nth-of-type(2) {
        opacity: 0;
    }

    .spMenuBtn.is-active span:nth-of-type(3) {
        -webkit-transform: translateY(-0.7rem) rotate(-45deg);
        transform: translateY(-0.7rem) rotate(-45deg);
    }

    /* ============ メニュー背景 ============ */
    .spMenuBack {
        position: absolute;
        top: 0;
        right: 0;
        width: 6rem;
        height: 6rem;
        background-color: var(--color-main);
        transition-duration: 0.3s;
        z-index: 100;
    }

    .spMenuBack.is-active {
        position: fixed;
        width: 100%;
        height: 100vh;
    }

    /* ============ メニュー ============ */
    .spMenu {
        position: absolute;
        top: 0;
        left: 0;
        display: none;
        width: 100%;
        height: 100vh;
        padding: 1.5rem 0 3rem;
        overflow-y: auto;
        z-index: 150;
    }

    header .spMenu .innerWide {
        display: block;
    }

    .spUserInfo {
        width: 100%;
        margin-top: 2.5rem;
    }

    .spUserInfo p {
        font-size: 1rem;
        color: white;
    }

    .spUserInfo p + p {
        margin-top: 1rem;
    }

    .spUserInfo p span {
        display: inline-block;
        margin-left: 0.5rem;
        font-size: inherit;
        color: inherit;
    }

    .spMenu_list {
        margin-top: 0.5rem;
    }

    .spMenu_list p,
    .spMenu_list a {
        position: relative;
        width: 100%;
        color: white;
    }

    .spMenu_list a::after {
        content: "";
        position: absolute;
        right: 0;
        width: 1rem;
        height: 1rem;
        border-top: 0.2rem solid white;
        border-right: 0.2rem solid white;
        transform: translate(0, -50%) rotate(45deg);
    }

    .spMenu_list .spMenu_title {
        border-bottom: 0.1rem solid var(--color-accent8);
    }

    .spMenu_list .spMenu_title p,
    .spMenu_list .spMenu_title a {
        padding: 1.5rem 0 0.5rem;
        font-size: 1.6rem;
        font-weight: bold;
    }

    .spMenu_list .spMenu_title a::after {
        top: calc(50% + 0.55rem);
    }

    .spMenu_list .spMenu_subList .spMenu_subTitle p,
    .spMenu_list .spMenu_subList .spMenu_subTitle a {
        padding: 2rem 0 0;
        font-size: 1.4rem;
        font-weight: normal;
    }

    .spMenu_list .spMenu_subList .spMenu_subTitle a::after {
        top: calc(50% + 1.1rem);
    }

    /* ============ ログアウト ============ */
    .spLogout {
        margin-top: 8rem;
        text-align: center;
    }

    .spLogout .spLogout_btn {
        width: 15rem;
        padding: 0;
        background-color: var(--color-main);
        border: 0.1rem solid white;
        border-radius: 1.9rem;
        font-size: 1.6rem;
        font-weight: bold;
        text-align: center;
        line-height: 3.8rem;
        color: white;
    }
}

/* メニュー
-----------------------------------------------------------*/
.navMenu {
    background-color: var(--color-main);
}

.navMenu_list {
    display: flex;
    justify-content: space-between;
}

.navMenu_list li {
    flex-grow: 1;
}

.navMenu_list li a {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1.4rem 0;
}

.navMenu_list li a::before,
.navMenu_list li:last-child a::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0.1rem;
    height: 1.6rem;
    background-color: var(--color-accent1);
}

.navMenu_list li a::before {
    left: 0;
}

.navMenu_list li:last-child a::after {
    right: 0;
}

.navMenu_list li a p {
    display: inline-block;
    margin-left: 1rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
}

@media only screen and (max-width: 768px) {
    .navMenu {
        position: fixed;
        bottom: 0;
        left: 0;
        display: none;
        width: 100%;
        background-color: white;
        box-shadow: 0 -0.2rem 0.6rem 0 #3333331a;
        z-index: 10;
    }

    .navMenu_list li a {
        flex-wrap: wrap;
        padding: 1rem 0;
    }

    .navMenu_list li a::before {
        height: 4.4rem;
        background-color: #f0f0f0;
    }

    .navMenu_list li:first-child a::before,
    .navMenu_list li:last-child a::after {
        display: none;
    }

    .navMenu_list li a svg {
        position: relative;
        width: 2.4rem;
        height: 2.4rem;
    }

    .navMenu_list li a p {
        width: 100%;
        margin: 0.5rem 0 0;
        font-size: 1rem;
        text-align: center;
        color: var(--color-main);
    }
}
