#header,
#header_bottom {
    z-index: 1001;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    background: var(--main-bg-color);
    transition: background 1s ease-in-out;
}

#header .header-inner,
#header_bottom .header-inner {
    display: flex;
    align-items: center;
    height: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 800px) {
    #header .header-inner,
    #header_bottom .header-inner {
        display: none;
    }
}

#header .header-inner .hedaer-nav,
#header_bottom .header-inner .hedaer-nav {
    width: calc(100% - 40px - 44px - 80px - 80px);
    height: 100%;
}

#header .header-inner .hedaer-nav .hedaer-nav-list,
#header_bottom .header-inner .hedaer-nav .hedaer-nav-list {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 0;
    height: 100%;
}

#header .header-inner .hedaer-nav .hedaer-nav-list .hedaer-nav-item,
#header_bottom .header-inner .hedaer-nav .hedaer-nav-list .hedaer-nav-item {
    position: relative;
    padding-top: 8px;
    padding-bottom: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #eda915;
    font-weight: 700;
    width: 100%;
    letter-spacing: -0.6px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: rgba(65, 76, 140, 0);
    transition: background-color 0.3s ease;
}

@media (max-width: 1100px) {
    #header .header-inner .hedaer-nav .hedaer-nav-list .hedaer-nav-item,
    #header_bottom .header-inner .hedaer-nav .hedaer-nav-list .hedaer-nav-item {
        font-size: 0.8rem;
    }
}

#header .header-inner .hedaer-nav .hedaer-nav-list .hedaer-nav-item a,
#header_bottom .header-inner .hedaer-nav .hedaer-nav-list .hedaer-nav-item a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #eda915;
}

#header .header-inner .hedaer-nav .hedaer-nav-list .hedaer-nav-item::before,
#header_bottom
    .header-inner
    .hedaer-nav
    .hedaer-nav-list
    .hedaer-nav-item::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 40px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 0%;
    height: 80px;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

#header .header-inner .hedaer-nav .hedaer-nav-list .hedaer-nav-item:hover,
#header_bottom
    .header-inner
    .hedaer-nav
    .hedaer-nav-list
    .hedaer-nav-item:hover {
    background-color: rgba(65, 76, 140, 0.6);
}

#header .header-inner .hedaer-logo,
#header_bottom .header-inner .hedaer-logo {
    margin-right: 40px;
    margin-left: 40px;
    width: 10%;
}

#header .header-inner .hedaer-logo .hedaer-logo-top,
#header_bottom .header-inner .hedaer-logo .hedaer-logo-top {
    color: #eda915;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

#header .header-inner .hedaer-logo .hedaer-logo-top img,
#header_bottom .header-inner .hedaer-logo .hedaer-logo-top img {
    width: 90%;
    margin: 0 auto;
}

#header .header_sp,
#header_bottom .header_sp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    max-width: 500px;
    position: relative;
    margin: auto;
    height: 100%;
    box-shadow: 0px 4px 4px -4px rgba(0, 0, 0, 0.2);
}

#header .header_sp .logo,
#header_bottom .header_sp .logo {
    display: flex;
    position: absolute;
    /* top: 50%; */
    left: 5%;
    /* transform: translateY(-50%); */
    z-index: 1001;
    position: absolute;
    width: 336px;
    height: 100%;
    align-items: center;
}

@media (max-width: 576px) {
    #header .header_sp .logo,
    #header_bottom .header_sp .logo {
        left: 5%;
        width: 226px;
    }
}

.logo-link-img {
    width: 95px;
    height: 27px;
    object-fit: contain;
}

#header .header_sp h3,
#header_bottom .header_sp h3 {
    font-size: 24px;
    width: 70%;
    text-align: center;
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 1200px) {
    #header .header_sp h3,
    #header_bottom .header_sp h3 {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    #header .header_sp h3,
    #header_bottom .header_sp h3 {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    #header .header_sp h3,
    #header_bottom .header_sp h3 {
        display: none;
    }
}

#header .header_sp #burger,
#header_bottom .header_sp #burger {
    z-index: 1001;
    position: absolute;
    /* transform: translate(-50%, -50%); */
    right: 5%;
    top: 0%;
    height: 100%;
}

#burger circle {
    fill: #fff;
}

svg#burger {
    cursor: pointer;
}

@media (max-width: 800px) {
    #burger circle {
        fill: transparent;
    }
}

#menu {
    /* background-color: #ffffff; */
    color: #fff;
    width: 100%;
    height: 100vh;
    position: fixed;
    right: -100%;
    z-index: 1000;
    transition: 1s ease-in-out;
    opacity: 0;
}

#menu.open {
    right: 0%;
    opacity: 1;
}

#menu .menu-container {
    max-width: 500px;
    margin: auto;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    height: 100%;
    padding-top: 100px;
    padding-left: 75px;
    /* left: 50px; */
    /* background: rgba(0, 0, 0, 0.7); */
    position: relative;
}

#menu .menu-container::before {
    content: "";
    width: 85%;
    height: 100%;
    background: rgba(58, 58, 58, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: absolute;
    display: block;
    top: 0;
    /* right: -100%; */
    /* 初期位置（画面外右端） */
    transition: right 1s ease-in-out;
}

#menu .menu-container .nav-list {
    font-size: 18px;
    margin-bottom: 100px;
    text-align: center;
    position: relative;
}

li.nav-item.oroginal-border {
    font-size: 16px;
    border: 2px solid #fff;
    border-radius: 100px;
    margin: 40px 0;
    padding: 5px 30px;
    background-color: var(--main-font-color);
}

li.nav-item.oroginal-border a {
    margin-right: 10px;
    position: relative;
}

.oroginal-border a::before {
    content: "";
    width: 17px;
    height: 2px;
    background: #fff;
    transform: rotate(135deg);
    top: 47%;
    right: -9px;
    position: absolute;
}

.oroginal-border a::after {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    top: 34%;
    right: -7px;
    position: absolute;
}

li.nav-item.m-0.icon-lists {
    display: flex;
}

#menu .menu-container .nav-link {
    letter-spacing: 0.2rem;
    color: #fff;
    padding: 0.8rem 1rem;
    transition: 0.35s;
}

@media (max-width: 1100px) {
    #menu .menu-container .nav-link {
        padding: 0.6rem 1rem;
    }
}

#menu .menu-container .nav-link:hover {
    /* color: var(--main-bg-color); */
    opacity: 0.6;
}

#menu .menu-container .nav-link img {
    height: 35px;
    width: 35px;
    object-fit: cover;
}

#header_bottom {
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #eda915;
    width: 100%;
}

@media (max-width: 800px) {
    #header_bottom {
        height: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

#header_bottom .header-inner {
    height: 10px;
    background-color: #eda915;
}
