@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #eeeae2;
    color: #333333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
/* HEADER */
.hero-header {
    position: absolute;
    z-index: 100;
    top: 32px;
    left: 40px;
    right: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-header h1 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.hero-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-nav a {
    color: #777;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.hero-nav a:hover {
    color: #222;
}

.menu-toggle {
    display: none;
}

/* FOOTER */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 80px 8% 32px;
    border-top: 1px solid #ddd;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 80px;
}

.footer-logo {
    white-space: nowrap;
    font-size: 24px;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-menu a {
    color: #777;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #222;
}
.footer-right {
    margin-right: 0;
    margin-left: 60px;
    transform: translateY(12px);
}


.footer-copy {
    width: 100%;
    margin-top: 30px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-align: center;
}
.footer-instagram-icon {
  width: 40px;
  height: 40px;
  display: block;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-header {
        top: 26px;
        left: 28px;
        right: 28px;
    }

    .hero-header h1 {
        font-size: 32px;
    }

    .hero-nav {
        gap: clamp(10px, 1.6vw, 17px);
    }

    .hero-nav a {
        font-size: clamp(12px, 1.45vw, 15px);
        letter-spacing: 0.08em;
    }

    .footer {
        padding: 60px 5% 28px;
    }

    .footer-menu {
        gap: 14px;
    }
}

@media (max-width: 767px) {
    body .hero-header {
        top: 20px;
        left: 20px;
        right: 20px;
        z-index: 10;
    }

    body .hero-header h1 {
        font-size: 24px;
        white-space: nowrap;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 20px;
        right: 0;
        z-index: 10000;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 22px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 100%;
        height: 1px;
        background: #555;
    }

    .hero-nav {
        display: none;
    }

    .hero-nav.is-open {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 9999;
        width: min(82%, 360px);
        height: 100vh;
        height: 100dvh;
        padding: 100px 32px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        background: #f0eee9;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .hero-nav.is-open a {
        color: #333;
        font-size: 16px;
        text-decoration: none;
        left: auto;
    }

    .footer {
        padding: 40px 20px 24px;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .footer-left {
        width: 100%;
        justify-content: center;
    }

    .footer-menu {
        width: min(100%, 360px);
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: center;
        gap: 14px 8px;
    }

    .footer-menu a {
        font-size: clamp(10px, 3vw, 12px);
        letter-spacing: 0.03em;
        white-space: nowrap;
    }

    .footer-right {
        margin: 0;
        transform: none;
    }

    .footer-instagram-icon {
        position: static;
        display: block;
        width: 32px;
        height: 32px;
    }

    .footer-copy {
        width: auto;
        margin-top: 0;
        font-size: 11px;
        transform: none;
    }
}