:root {
    --bg-color: #f9f9f9;
    --text-color: #333;
    --accent-color: #a38b75; 
    --font-serif: "Times New Roman", "Montserrat", serif;
}

/* --- 全体レイアウト安定化 --- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-serif);
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

body.is-fixed { 
    overflow: hidden;
    height: 100vh;
    width: 100%;
    position: fixed;
}

/* --- 1. オープニング演出 --- */
.opening {
    position: fixed; inset: 0; z-index: 10000; background: var(--bg-color); overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1);
}
.opening.is-finished { transform: translateY(-100%); }
.opening-logo-phase {
    position: absolute; inset: 0; z-index: 50; display: flex; justify-content: center; align-items: center; background: var(--accent-color); opacity: 1; transition: opacity 0.8s ease-in-out;
}
.opening-logo { width: 60%; max-width: 240px; opacity: 0; }
.opening-logo img { width: 100%; height: auto; display: block; }
.opening.is-visible .opening-logo { animation: simpleFadeInLogo 1.2s forwards; }

.opening-slideshow-phase {
    position: absolute; inset: 0; z-index: 20; opacity: 0; background: #000; transition: opacity 0.8s ease-in-out;
}
.opening-slideshow-phase.is-active { opacity: 1; }
.slide-item { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.slide-item.is-active { opacity: 1; }
.slide-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes simpleFadeInLogo { to { opacity: 1; } }

/* --- 2. ヘッダー --- */
.site-header { 
    position: fixed; top: 0; left: 0; width: 100%; z-index: 5000; 
    background: rgba(255, 255, 255, 0.95); padding: 12px 40px; 
    box-sizing: border-box; transition: transform 0.4s ease; 
}
.site-header.is-hide { transform: translateY(-100%); }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.header-logo { width: 110px; line-height: 0; }
.header-logo img { width: 100%; height: auto; display: block; }

.pc-nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.pc-nav ul li { margin-left: 30px; }
.pc-nav ul li a { text-decoration: none; color: #333; font-size: 10px; letter-spacing: 0.12em; font-weight: 500; }

.sp-menu-btn { display: none; cursor: pointer; width: 24px; height: 16px; position: relative; z-index: 6000; }
.sp-menu-btn span { position: absolute; width: 100%; height: 1px; background: #333; transition: .3s; }
.sp-menu-btn span:nth-child(1) { top: 0; }
.sp-menu-btn span:nth-child(2) { bottom: 0; }
.sp-menu-btn.is-active span { background: #fff; }
.sp-menu-btn.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.sp-menu-btn.is-active span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

.sp-nav { 
    display: none; position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; 
    background: rgba(0, 0, 0, 0.95); transition: right 0.5s ease; z-index: 5500; 
    flex-direction: column; justify-content: center; align-items: center; 
}
.sp-nav.is-active { right: 0; }
.sp-nav ul { list-style: none; padding: 0; text-align: center; }
.sp-nav li { margin-bottom: 30px; }
.sp-nav a { text-decoration: none; color: #fff; font-size: 16px; letter-spacing: 0.1em; }

/* --- 3. 共通アニメーション --- */
.reveal { 
    opacity: 0; transform: translateY(40px); transition: 1.5s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform, opacity;
}
.reveal.active { opacity: 1 !important; transform: translate(0, 0) !important; }

/* --- 4. レイアウト --- */
.lower-container { padding: 160px 0 100px; max-width: 1400px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.page-header { text-align: center; margin-bottom: 100px; }
.page-title { font-size: 36px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 300; margin-bottom: 10px; }
.page-sub { font-size: 11px; color: var(--accent-color); letter-spacing: 0.2em; }

.look-flex-grid { 
    display: flex; flex-direction: column; gap: 120px; 
    padding: 0 5%; width: 100%; box-sizing: border-box; 
    margin-bottom: 150px;
}

.look-item { position: relative; width: 100%; }
.look-item.-left { align-self: flex-start; width: 45%; }
.look-item.-right { align-self: flex-end; width: 55%; }
.look-item.-small { width: 35%; }
.look-item.-center { align-self: center; width: 70%; }
.-size-70 { width: 70% !important; margin-left: auto; margin-right: auto; }

/* --- 5. 画像・ホバー演出 --- */
.look-image-wrap { position: relative; overflow: hidden; line-height: 0; width: 100%; }
.look-image-wrap img { width: 100%; height: auto; display: block; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.look-image-wrap:hover img { transform: scale(1.03); }

.look-caption { 
    position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); 
    display: flex; justify-content: center; align-items: center; 
    opacity: 0; transition: opacity 0.6s ease; padding: 20px; z-index: 10;
}
.look-image-wrap:hover .look-caption { opacity: 1; }

.caption-inner { 
    transform: translateY(15px); 
    transition: transform 0.6s ease; 
    width: 100%; 
    text-align: center; 
}
.look-image-wrap:hover .caption-inner { transform: translateY(0); }

.caption-item-link { 
    display: block; 
    text-decoration: none; 
    color: #fff; 
    margin-bottom: 25px; 
    transition: opacity 0.3s ease; 
 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.caption-item-link:hover { opacity: 0.5; }
.caption-item-link:last-child { margin-bottom: 0; }

.item-name { 
    font-size: 14px; 
    font-weight: 300; 
    margin-bottom: 4px; 
    line-height: 1.6;
    letter-spacing: 0.1em;
    color: #fff;
}
.item-buy-text, .item-price { 
    font-size: 11px; 
    opacity: 0.8; 
    letter-spacing: 0.15em;
    color: #fff;
    font-weight: 300;
}

.mini-slide-container { display: grid; }
.mini-slide-item { grid-area: 1/1; opacity: 0; transition: opacity 1.2s ease-in-out; }
.mini-slide-item.is-active { opacity: 1; z-index: 2; }

/* --- 6. NEXT CATEGORY --- */
.next-category { 
    margin: 200px auto 100px; 
    text-align: center; 
    padding: 0 5%; 
    max-width: 1200px;
}
.section-title { 
    font-size: 14px; 
    letter-spacing: 0.2em; 
    text-transform: uppercase;
    color: var(--accent-color); 
    margin-bottom: 60px; 
    font-weight: 300;
}
.next-grid { display: flex; justify-content: center; gap: 40px; }
.next-item { text-decoration: none; color: var(--text-color); width: 40%; }
.next-img-wrap { position: relative; overflow: hidden; line-height: 0; margin-bottom: 20px; }
.next-img-wrap img { width: 100%; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.next-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; justify-content: center; align-items: center; opacity: 0; transition: 0.6s; }
.next-item:hover .next-overlay { opacity: 1; }
.next-item:hover img { transform: scale(1.05); }

.next-label { 
    color: #fff; 
    font-size: 10px; 
    letter-spacing: 0.2em; 
    border: 1px solid #fff; 
    padding: 10px 20px; 
    display: inline-block;
}
.next-title { font-size: 18px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 300; }

/* --- 7. フッター  --- */
.site-footer { 
    position: relative; background: #fff; padding: 80px 20px 40px; 
    text-align: center; border-top: 1px solid #eee; z-index: 200; 
    overflow: hidden;
}

.footer-logo { width: 130px; margin: 0 auto 30px; line-height: 0; }
.footer-logo img { width: 100%; height: auto; display: block; }

.footer-nav ul { list-style: none; padding: 0; display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.footer-nav a { text-decoration: none; color: #666; font-size: 10px; }
.copyright { font-size: 9px; color: #999; }

/* --- 8. レスポンシブ (SP) --- */
@media (max-width: 768px) {
    .site-header { padding: 10px 20px; }
    .header-logo { width: 90px; }
    .pc-nav { display: none; }
    .sp-menu-btn { display: block; }
    .sp-nav { display: flex; }

    .lower-container { padding: 120px 0 60px; }

    .look-flex-grid.-first {
        padding: 0 !important;
        margin-bottom: 80px;
    }
    .look-flex-grid.-first .look-item {
        width: 100% !important;
        margin: 0 !important;
    }

    .look-flex-grid { gap: 80px; margin-bottom: 80px; }
    .look-item.-left, .look-item.-right, .look-item.-small, .look-item.-center, .-size-70 { 
        width: 100% !important; 
    }
    .caption-item-link { margin-bottom: 20px; }
    .item-name { font-size: 13px; letter-spacing: 0.08em; }
    .item-buy-text, .item-price { font-size: 10px; letter-spacing: 0.12em; }

    .next-grid { flex-direction: column; gap: 40px; }
    .next-item { width: 100%; }
}