@import url("../tokens.css");

/* Header */

/* PC__header-menu
================================================*/
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
    padding: 0px 48px;
}

nav {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-4);
    font-size: var(--fs-14);

    color: #4d4d4d;

}

nav ul {
    display: flex;
}

.header_l-logo {
    display: none;
}


.header-logo {
    display: flex;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-weight: 700;
    padding: 0 40px;
}

.header-inner .header-logo:hover {
    text-decoration: none;
}

.header-logo img {
    width: 32px;
    display: block;

}

.nav-links li {
    flex: 1;
    display: flex;
    justify-content: center;
    display: inline-block;
}

.nav-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
    font-weight: bold;
    padding: 0 1.5rem;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.nav-links a:hover {
    background: #1f86c9;
    color: #ffffff;
    text-decoration: none;
}



.dropdown {
    position: relative;
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
    min-width: 100%;
}

.dropdown .dropdown-content li {
    width: 100%;
}

.dropdown .dropdown-content a {
    justify-content: left;
}

.title-header {
    position: relative;
    margin-bottom: 50px;
}


/* ================================================
PC__header-menu*/










/* SP__header-menu
================================================*/




/* hamburger-btn
================================================*/
.burger {
    display: none;
    cursor: pointer;
    background-color: #000;
    border: solid #eee;
    position: fixed;
    top: 10px;
    right: 30px;
    padding: 5px;
    border-radius: 8px;

    height: 45px;
    z-index: 3000;
}


.burger div {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 4px;
    border-radius: 10px;
    transition: all 0.25s ease-in-out;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-6px, -6px);
}


/* ================================================
hamburger-btn*/

.sp-menu {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--c-border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 2000;
}

.sp-menu-active {
    display: block;
}

.sp-menu-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 1rem;
}

.sp-menu-icon img {
    width: 50px;
    margin-right: 1.5rem;
}

.top {
    background-color: #000;
    display: flex;
    justify-content: center;
}

/* SP-menu_accordion ============================== */

.menu-hidden {
    display: none;
}

.sp-menu-accordion {
    width: 80%;
}

.sp-menu-accordion:not(:last-child) {
    border-bottom: dashed #fff;
}

.menu-title,
.menu-title-ac {
    display: block;
    background-color: var(--c-border);
    color: var(--c-primary);

    font-weight: bold;

    padding: 15px;
    cursor: pointer;
    position: relative;
}

.sp-menu-accordion>input:checked+label+.menu-content {
    position: relative;
    visibility: visible;
    transform: translateY(0);
}

.menu-title-ac::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    top: 50%;
    right: 10px;
    background: #ffffff;
    transform: translateY(-50%);
}

.menu-title-ac::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 20px;
    height: 3px;
    background: #ffffff;
    transition: .4s;
    transform: translateY(-50%) rotate(90deg);
}

.menu-hidden:checked+.menu-title-ac::after {
    transform: translateY(-50%) rotate(180deg);
    background: #ffffff;
}

.menu-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: #f4f4f4;
}

.menu-hidden:checked+.menu-title-ac+.menu-content {
    max-height: 300px;
}

.menu-content ul {
    padding: 0;
    margin: 0;
}

.sp-menu-accordion .menu-content li {
    width: 100%;
    display: inline-block;
}

.menu-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
}


/* Responsive Styles__TABLET__header-menu
    ================================================*/
@media (min-width:768px) and (max-width: 1024px) {

    header {
        padding: 0px;
    }

    .nav-links {
        width: auto;
    }

    .nav-links a {
        padding: 0 1rem;
    }
}

/* ================================================
    Responsive Styles__TABLET__header-menu*/


/* Responsive Styles__SP__header-menu
    ================================================*/
@media (max-width: 767px) {

    /* .br-pc {
        display: none;
    } */

    header {
        height: 0;
        padding: 0px;
    }


    .header-logo {
        padding: 0 40px 20px;
        color: var(--c-primary);
    }

    nav {
        display: none;
        height: 0;
    }

    .nav-links {
        width: stretch;
    }

    .nav-links li {
        display: block;
    }

    .nav-links a {
        height: 0;
    }

    .nav-links a:hover {
        color: #F9BF3A;
    }

    .burger {
        display: block;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .burger div {
        background-color: var(--c-primary);


        margin: 4px;
    }

    .logo {
        margin-right: 0;
        width: 8rem;
    }

    .sp-menu-inner li {
        display: flex;
        justify-content: flex-start;
    }

    /* ================================================
        Responsive Styles__SP__header-menu*/


    .header_l-logo {
        display: block;
        color: var(--c-primary);
    }


    .header_l-logo {
        display: flex;
        align-items: center;
        gap: var(--sp-2);
        font-weight: 700;
        padding: 16px 0 0 16px;
    }

    .header_l-logo img {
        width: 32px;
        display: block;
    }

    .title-header {
        margin-bottom: 50px;
    }

    .title-header img{
        position: absolute;
        top: 20px;
    }

}





/* ================================================
SP__header-menu */
