/* ヘッダー全体 */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
}

/* ハンバーガーボタン */
.hamburger {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #B2A86F;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: fixed;
    top: 65px;
    right: 50px;
    z-index: 1001;
}

/* 三本線 */
.hamburger span {
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 3px 0;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* ✕に変形 */
.hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* メニュー（初期は非表示・右外に配置） */
.hamburger-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #B2A86F;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: block;
}

.hamburger-nav ul {
    list-style: none;
    margin: 0;
    padding: 135px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hamburger-nav li {
    margin-bottom: 0;
}

.hamburger-nav li:last-child {
    margin-bottom: 0;
}

.hamburger-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.08em;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    font-family: 'Playfair Display', serif;
}

.hamburger-nav a:hover {
    opacity: 0.75;
}

.hamburger-nav.is-open {
    transform: translateX(0);
}

/* オーバーレイ */
.hamburger-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 999;
}

.hamburger-overlay.is-open {
    display: block;
}

.top-background {
    position: relative;
    width: 100%;
    height: 200px;
    background: #ffffff;
    display: block;
    clip-path: url(#wave-clip);
}

.top-background::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}

.header-logo {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.header-title {
    margin: 0;
    font-weight: 300;
    font-size: 22px;
    color: #656565;
}

.header-logo-name {
    width: 170px;
    height: auto;
}

/* SPスタイル */
@media (max-width: 768px) {
    .hamburger {
        top: 39px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .header-logo {
        top: 30px;
    }

    .header-logo-name {
        width: 130px;
    }

    .top-background {
        height: 150px;
    }

    .hamburger-nav ul {
        padding-top: 100px;
    }
}