:root {
    --ink:     #1a1a18;
    --paper:   #f5f0e8;
    --paper2:  #ede7d9;
    --green:   #5b8a52;
    --green-d: #3f6238;
    --green-l: #7aad70;
    --gold:    #c9a84c;
    --muted:   #8a8278;
    --white:   #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    background: var(--ink);
    color: var(--paper);
    line-height: 1.8;
    font-weight: 300;
}

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 300;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px; height: 72px;
    background: rgba(26,26,24,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(91,138,82,0.3);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; display: block; mix-blend-mode: lighten; }
nav ul { list-style: none; display: flex; gap: 40px; }
nav ul a {
    color: rgba(245,240,232,0.7); text-decoration: none;
    font-size: 0.8rem; letter-spacing: 0.18em; transition: color 0.25s;
}
nav ul a:hover { color: var(--green-l); }
nav ul a.active { color: var(--green-l); }

/* ── PAGE HERO ── */
.page-hero {
    padding: 160px 0 72px;
    background: var(--ink);
    border-bottom: 1px solid rgba(91,138,82,0.2);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 80% at 70% 50%, rgba(91,138,82,0.08) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-eyebrow {
    font-size: 0.65rem; letter-spacing: 0.4em;
    color: var(--green-l); text-transform: uppercase;
    margin-bottom: 16px; display: block;
}
.page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300; letter-spacing: 0.1em;
    line-height: 1.3; color: var(--white);
    margin-bottom: 16px;
}
.page-desc {
    font-size: 0.88rem;
    color: rgba(245,240,232,0.55);
    letter-spacing: 0.08em;
}

/* ── CONTAINER ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

/* ── PRODUCTS AREA ── */
.products-area { padding: 80px 0 120px; }
.products-count {
    font-size: 0.72rem; letter-spacing: 0.2em;
    color: rgba(245,240,232,0.4);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(91,138,82,0.15);
}
.products-count span { color: var(--green-l); font-size: 1.1rem; font-family: 'Noto Serif JP', serif; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── PRODUCT CARD ── */
.product-card {
    background: rgba(245,240,232,0.04);
    border: 1px solid rgba(91,138,82,0.18);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    border-color: rgba(91,138,82,0.4);
}
.product-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; border-bottom: 1px solid rgba(91,138,82,0.25); }
.product-card-img-wrap {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.product-card-img-wrap img { transition: transform 0.4s ease; }
.product-card-img-wrap:hover img { transform: scale(1.06); }
.product-card-img-wrap::after {
    content: '🔍 写真を見る';
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(26,26,24,0.45);
    color: var(--paper);
    font-size: 0.72rem; letter-spacing: 0.15em;
    opacity: 0; transition: opacity 0.3s;
    pointer-events: none;
}
.product-card-img-wrap:hover::after { opacity: 1; }
.product-card-photo-count {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(26,26,24,0.65);
    color: var(--paper);
    font-size: 0.65rem; letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 2px;
    display: flex; align-items: center; gap: 4px;
    pointer-events: none;
}
.product-card-placeholder {
    width: 100%; aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    border-bottom: 1px solid rgba(91,138,82,0.25);
}
.product-card-body { padding: 20px 22px 22px; }
.product-card-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 7px;
}
.product-card-origin {
    font-size: 0.62rem; letter-spacing: 0.28em;
    color: var(--green-l); text-transform: uppercase;
}
.product-card-season {
    font-size: 0.65rem; color: rgba(245,240,232,0.45); letter-spacing: 0.1em;
}
.product-card-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.05rem; font-weight: 600;
    color: var(--paper); margin-bottom: 10px;
    letter-spacing: 0.04em; line-height: 1.4;
}
.product-card-desc {
    font-size: 0.8rem; color: rgba(245,240,232,0.6);
    line-height: 1.9;
}
.product-card-date {
    font-size: 0.62rem; color: rgba(245,240,232,0.3);
    margin-top: 14px; letter-spacing: 0.12em;
    border-top: 1px solid rgba(91,138,82,0.15);
    padding-top: 10px;
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 500;
    background: rgba(10,10,9,0.95);
    backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 24px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-box {
    width: 100%; max-width: 760px;
    display: flex; flex-direction: column;
    align-items: center;
}
.lightbox-header {
    width: 100%;
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 16px;
    color: var(--paper);
}
.lightbox-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem; font-weight: 600;
    letter-spacing: 0.05em;
}
.lightbox-origin {
    font-size: 0.7rem; letter-spacing: 0.15em;
    color: var(--green-l);
}
.lightbox-main {
    position: relative;
    width: 100%;
    background: rgba(245,240,232,0.03);
    border: 1px solid rgba(91,138,82,0.25);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.lightbox-main img {
    width: 100%; max-height: 60vh;
    object-fit: contain;
    display: block;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(26,26,24,0.55);
    border: 1px solid rgba(245,240,232,0.25);
    color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.3rem;
    transition: background 0.25s, border-color 0.25s;
    user-select: none;
}
.lightbox-nav:hover { background: var(--green); border-color: var(--green); }
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox-counter {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(26,26,24,0.6);
    color: var(--paper);
    font-size: 0.7rem; letter-spacing: 0.1em;
    padding: 5px 12px;
}
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    width: 42px; height: 42px;
    background: none;
    border: 1px solid rgba(245,240,232,0.3);
    color: var(--paper);
    font-size: 1.2rem; cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.lightbox-close:hover { border-color: var(--green-l); color: var(--green-l); }
.lightbox-thumbs {
    display: flex; gap: 10px; margin-top: 16px;
    justify-content: center; flex-wrap: wrap;
}
.lightbox-thumb {
    width: 64px; height: 48px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s;
}
.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.active { opacity: 1; border-color: var(--green-l); }

@media (max-width: 600px) {
    .lightbox-nav { width: 38px; height: 38px; font-size: 1.1rem; }
    .lightbox-thumb { width: 50px; height: 38px; }
}

/* ── BACK LINK ── */
.back-link-wrap {
    display: flex;
    justify-content: center;
    padding: 48px 0 80px;
    border-top: 1px solid rgba(91,138,82,0.15);
    margin-top: 64px;
}
.back-link {
    display: inline-block;
    padding: 14px 44px;
    border: 1px solid rgba(245,240,232,0.25);
    color: rgba(245,240,232,0.7);
    text-decoration: none;
    font-size: 0.78rem; letter-spacing: 0.22em;
    transition: all 0.3s;
}
.back-link:hover { border-color: var(--green-l); color: var(--green-l); }

/* ── FOOTER ── */
footer {
    background: #111110; color: rgba(245,240,232,0.35);
    padding: 36px 0; text-align: center;
    font-size: 0.72rem; letter-spacing: 0.12em;
    border-top: 1px solid rgba(91,138,82,0.2);
}
.footer-sns { display: flex; gap: 20px; justify-content: center; margin-bottom: 16px; }
.footer-sns a { color: rgba(245,240,232,0.4); transition: color 0.25s; display: flex; align-items: center; }
.footer-sns a:hover { color: var(--green-l); }
.footer-sns svg { width: 18px; height: 18px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    nav { padding: 0 24px; }
    nav ul { gap: 24px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    nav ul { display: none; }
    .page-hero { padding: 120px 0 56px; }
    .products-grid { grid-template-columns: 1fr; }
    .container { padding: 0 20px; }
}

/* ── HAMBURGER MENU ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none; border: none;
    cursor: pointer; padding: 4px;
}
.hamburger span {
    display: block;
    width: 100%; height: 2px;
    background: var(--paper);
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.mobile-menu-close {
    position: absolute; top: 24px; right: 24px;
    background: none; border: 1px solid rgba(245,240,232,0.25);
    color: var(--paper); font-size: 1.1rem;
    width: 40px; height: 40px;
    border-radius: 2px; cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    line-height: 1;
}
.mobile-menu-close:hover { border-color: var(--green-l); color: var(--green-l); }

.mobile-menu {
    display: none;
    position: fixed; inset: 0; z-index: 150;
    background: rgba(26,26,24,0.97);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: rgba(245,240,232,0.75);
    text-decoration: none;
    font-size: 1.15rem;
    letter-spacing: 0.25em;
    padding: 14px 0;
    width: 100%;
    max-width: 280px;
    text-align: center;
    border-bottom: 1px solid rgba(91,138,82,0.15);
    transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover,
.mobile-menu a:active { color: var(--green-l); }
.mobile-menu .mobile-sns {
    display: flex; gap: 28px;
    margin-top: 28px;
}
.mobile-menu .mobile-sns a {
    width: auto; border: none; padding: 8px;
    font-size: 0; color: rgba(245,240,232,0.45);
}
.mobile-menu .mobile-sns a:hover { color: var(--green-l); }
.mobile-menu .mobile-sns svg { width: 22px; height: 22px; }

@media (max-width: 600px) {
    nav ul { display: none; }
    .hamburger { display: flex; }
}
