/* ===============================================
   Header Styles - PC & SP
   =============================================== */

/* -----------------------------------------------
   Header PC
   ----------------------------------------------- */
.header.pc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vw * 80 / 1400);
    background-color: transparent;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.header.pc .header_inner {
    width: calc(100vw * 1200 / 1400);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header.pc .logo {
    width: calc(100vw * 143 / 1400);
    height: calc(100vw * 55 / 1400);
    position: relative;
}


.header.pc .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.header.pc .nav {
    display: flex;
    align-items: center;
    gap: calc(100vw * 30 / 1400);
}

.header.pc .nav_list {
    display: flex;
    align-items: center;
    gap: calc(100vw * 30 / 1400);
    margin: 0;
    padding: 0;
    list-style: none;
}

.header.pc .nav_list li {
    margin: 0;
    padding: 0;
}

.header.pc .nav_list a {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: calc(100vw * 20 / 1400);
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.02em;
    line-height: 1.8;
    transition: opacity 0.3s ease;
}

.header.pc .nav_list a:hover {
    opacity: 0.7;
}

.header.pc .head_contact_btn {
    width: calc(100vw * 218 / 1400);
    height: calc(100vw * 60 / 1400);
    background-color: #bf9443;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(100vw * 16 / 1400);
    text-decoration: none;
    transition: background-color 0.3s ease;
    color: white;
}

.header.pc .contact_btn:hover {
    background-color: #a67f38;
}

.header.pc .contact_btn span {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: calc(100vw * 20 / 1400);
    color: #ffffff;
    letter-spacing: 0.02em;
}

.header.pc .contact_btn svg {
    width: calc(100vw * 6.749 / 1400);
    height: calc(100vw * 13.499 / 1400);
}

/* -----------------------------------------------
   Header SP
   ----------------------------------------------- */
@media (max-width: 768px) {
    .header.sp {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100vw * 80 / 375);
        background-color: transparent;
        z-index: 100;
        transition: background-color 0.3s ease;
    }

    .header.sp .header_inner {
        width: 100%;
        height: 100%;
        padding: calc(100vw * 5 / 375) calc(100vw * 20 / 375);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header.sp .logo {
        width: calc(100vw * 120 / 375);
        height: calc(100vw * 46 / 375);
        position: relative;
    }

    
.header.sp .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

    .header.sp .logo_placeholder {
        width: 100%;
        height: 100%;
        background-color: #d9d9d9;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Cormorant Garamond', serif;
        font-weight: 500;
        font-size: calc(100vw * 10 / 375);
        color: #333;
    }

    /* Hamburger Button */
    .openbtn {
        width: calc(100vw * 30 / 375);
        height: calc(100vw * 21.005 / 375);
        position: relative;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
    }

    .openbtn span {
        display: block;
        position: absolute;
        width: 100%;
        height: calc(100vw * 2 / 375);
        background-color: #ffffff;
        transition: all 0.3s ease;
        left: 0;
    }

    .openbtn span:nth-child(1) {
        top: 0;
    }

    .openbtn span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
        width: 85%;
    }

    .openbtn span:nth-child(3) {
        bottom: 0;
        width: 70%;
    }

    .openbtn.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .openbtn.active span:nth-child(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-child(3) {
        bottom: 50%;
        width: 100%;
        transform: translateY(50%) rotate(-45deg);
    }

    /* Hamburger Menu Container */
    .hamburger_container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(39, 46, 39, 0.98);
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        padding-top: calc(100vw * 120 / 375);
        box-sizing: border-box;
    }

    .hamburger_container.down {
        opacity: 1;
        visibility: visible;
    }

    .hamburger_wrap {
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }

    .hamburger_nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: calc(100vw * 40 / 375);
        padding: 0 calc(100vw * 40 / 375);
    }

    .hamburger_nav li {
        text-align: center;
    }

    .hamburger_nav a {
        font-family: 'Cormorant Garamond', serif;
        font-weight: 500;
        font-size: calc(100vw * 24 / 375);
        color: #ffffff;
        text-decoration: none;
        letter-spacing: 0.02em;
        display: block;
        padding: calc(100vw * 16 / 375) 0;
        transition: opacity 0.3s ease;
    }

    .hamburger_nav a:hover {
        opacity: 0.7;
    }

    .hamburger_nav .contact_link {
        background-color: #bf9443;
        padding: calc(100vw * 16 / 375) calc(100vw * 32 / 375);
        border-radius: calc(100vw * 4 / 375);
        margin-top: calc(100vw * 20 / 375);
    }
}
