/*
===================================================
common.css
Header, Footer, and Menu styles extracted from style.css
===================================================
*/

/* --- Header --- */
.header {
    display: block;
    position: absolute;
    z-index: 2;
    padding: 40px 3.5vw;
    width: 100%;
}

/* Header Bug Fix */
.header {
    pointer-events: none;
    box-sizing: border-box;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-logo {
    pointer-events: auto;
    display: inline-block;
    width: auto;
}

@media screen and (max-width: 767px) {
    .header {
        padding: 15px 3.5vw;
        width: 100%;
    }

    .header-logo {
        display: block;
        width: 82px;
    }
}

/* Header Responsive Tweaks */
@media screen and (max-width: 767px) {
    .header-logo img {
        width: 80px !important;
        height: auto !important;
    }

    .header {
        padding-top: 20px !important;
        padding-left: 5vw !important;
    }
}

/* --- Menu --- */
.menu {
    display: block;
    position: absolute;
    right: 3.5vw;
    top: 72px;
    z-index: 200;
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    background: #fff;
    transition: 0.3s;
}

.menu span:nth-child(1) {
    top: 12px;
}

.menu span:nth-child(2) {
    top: 24px;
}

.menu.is-active span {
    background: #fff;
}

.menu.is-active span:nth-child(3) {
    transform: rotate(-30deg);
    top: 13px;
}

.menu.is-active span:nth-child(2) {
    transform: rotate(30deg);
    top: 13px;
}

.menu.is-active span:nth-child(1) {
    opacity: 0;
}

.menu__body {
    position: fixed;
    width: 100%;
    height: 100vh;
    right: 0;
    top: 0;
    background: #0A0C1A;
    z-index: 120;
    display: none;
}

.menu__body ul {
    padding: 120px 40px 0 40px;
    text-align: center;
}

.menu__body ul li {
    font-size: 34px;
    letter-spacing: 0.06em;
}

.menu__body ul li a {
    color: #fff;
    text-decoration: none;
}

/* SNSメニューのコンテナ */
.menu-sns-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 10;
    margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 40px;
}

.menu-sns-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.menu-sns-link {
    display: block;
    color: #ffffff;
    transition: opacity 0.3s;
}

.menu-sns-link svg {
    width: 40px;
    height: 40px;
    fill: #ffffff;
}

.menu-sns-link:hover {
    opacity: 0.7;
}

/* メニュー内の WAIFF CANNES リンク */
.menu-cannes-link {
    text-align: center;
}

.menu-cannes-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    padding: 12px 40px;
    width: 240px;
    max-width: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s;
}

.menu-cannes-btn:hover {
    background: #fff;
    color: #08072F;
}

.menu-cannes-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

@media screen and (max-width: 767px) {
    .menu {
        width: 34px;
        height: 18px;
        top: 25px !important;
        right: 5vw !important;
    }

    .menu span {
        height: 1px;
    }

    .menu span:nth-child(1) {
        top: 9px;
    }

    .menu span:nth-child(2) {
        top: 18px;
    }

    .menu__body {
        overflow-y: auto;
        max-height: 100vh;
        padding-bottom: 150px;
        -webkit-overflow-scrolling: touch;
    }

    .menu__body ul {
        padding: 80px 5vw 0 5vw;
        line-height: 2;
    }

    .menu__body ul li {
        font-size: 30px;
        letter-spacing: 0.06em;
    }

    .menu-sns-container {
        gap: 30px;
        margin-top: 25px;
        padding-top: 25px;
    }

    .menu-sns-link svg {
        width: 36px;
        height: 36px;
    }
}

/* --- Footer --- */
.footer {
    background: #08072F;
    color: #fff;
    position: relative;
    padding: 54px 5vw;
    font-weight: 400;
    font-size: 14px;
}

.footer a {
    color: #fff;
}

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

.footer-inner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-copy {
    font-family: "Barlow Condensed", sans-serif;
}

/* フッター内 WAIFF CANNES ボタン */
.footer-cannes-item {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
}

.footer-cannes-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid #fff;
    color: #fff !important;
    padding: 6px 16px;
    font-size: 0.8rem;
    text-decoration: none !important;
    transition: all 0.3s;
    font-family: "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.05em;
    line-height: 1;
    border-radius: 2px;
}

.footer-cannes-btn:hover {
    background: #fff;
    color: #08072F !important;
}

@media (max-width: 768px) {
    .footer-cannes-item {
        margin-left: 0;
        margin-top: 15px;
        display: block;
        text-align: center;
    }

    .footer {
        padding: 30px 5vw;
    }

    .footer-inner {
        flex-wrap: wrap;
        text-align: center;
        flex-direction: column-reverse;
    }

    .footer-inner ul {
        font-size: 12px;
        margin-bottom: 12px;
        justify-content: center;
        gap: 15px;
    }

    .footer-copy {
        font-size: 11px;
    }
}