header {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}

header .header_inner {
    height: 100%;
}

header .header_inner .nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    width: calc(100% - 16px);
    max-width: calc(var(--max-size) - 16px);
    height: var(--nav-height);
    padding: 0 16px;
    background-color: #fff;
    border-radius: var(--nav-height);
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    transition: .3s;
}

header .header_inner .nav .home_menu {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

header .header_inner .nav .home_menu a {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--main-color);
    gap: 0;
}

header .header_inner .nav .home_menu a p {
    color: #fff;
    font-size: 12px;
}

header .header_inner .nav .home_menu a .ic_box svg {
    fill: #fff;
}

header .header_inner .nav .home_menu.active a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--main-color-opacity);
}

header .header_inner .nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

header .header_inner .nav ul li {
    width: 62px;
}

header .header_inner .nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

header .header_inner .nav a .ic_box {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

header .header_inner .nav ul li.mypage a .ic_box {
    border-radius: 50%;
    border: 1px solid var(--bd-color01);
}

header .header_inner .nav ul li.mypage a .ic_box:has(svg) {
    border: none;
}

header .header_inner .nav ul li a .ic_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header .header_inner .nav ul li a p {
    color: var(--bd-color02);
    font-size: 10px;
    line-height: 1;
}

header .header_inner .nav ul li.active a p {
    color: var(--main-color);
}

header .header_inner ul li .ic_box svg {
    fill: var(--bd-color02);
    height: 100%;
}

header .header_inner .nav ul li.active .ic_box svg {
    fill: var(--main-color);
}

@media screen and (max-width:500px) {
    header .header_inner .nav {
        justify-content: space-between;
        gap: 0;
    }

    header .header_inner .nav ul {
        gap: 0;
    }
}


/*---------------------------------------------------------
                トップバー
---------------------------------------------------------*/
.top_bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 40px;
    width: 100%;
    max-width: var(--max-size);
    height: var(--topbar-height);
    padding: 0 max(20px, 2.5%);
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.top_bar.no_bg {
    position: static;
    transform: unset;
    background: none;
    box-shadow: none;
}

.top_bar h1 {
    color: var(--text-color01);
    font-size: 16px;
    font-weight: 500;
}

.top_bar.no_bg h1 {
    position: relative;
    z-index: 10;
}

.top_bar .btn_back {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top_bar .btn_back svg {
    width: 10px;
    fill: var(--text-color01);
}

.top_bar .notice_box {
    position: fixed;
    top: 0;
    right: calc(50% - 495px);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 16px;
    background: var(--main-color);
    border-radius: 0 0 0 20px;
    box-shadow: 0 0 10px var(--shadow-color02);
    cursor: pointer;
}

.top_bar .notice_box .ic_news {
    fill: #fff;
}

.top_bar .notice_box .corner_20 {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 20px;
    fill: var(--main-color);
}

.top_bar .notice_box .count {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    align-items: center;
    justify-content: center;
    padding: 0px 4px;
    min-width: 16px;
    height: 16px;
    background-color: var(--err-color);
    color: var(--base-color);
    font-family: var(--font-sub);
    font-size: 10px;
    line-height: 1;
    letter-spacing: normal;
    border-radius: 100vh;
}

@media screen and (max-width:990px) {
    .top_bar .notice_box {
        right: 0;
    }
}