:root { --modal-bg: rgba(0, 0, 0, 0.9); --window-bg: #ffffff; --ease-actus: cubic-bezier(0.2, 1, 0.3, 1); }
.page-intro { text-align: center; padding: 60px 0 20px; }
.page-title { font-weight: 200; font-size: 2.4rem; letter-spacing: 0.2em; margin: 0; }
.page-subtitle { font-size: 0.8rem; color: var(--text-sub); margin-top: 10px; letter-spacing: 0.1em; }

.category-filter { margin: 40px 0 60px; display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.filter-item { font-size: 0.75rem; letter-spacing: 0.2em; color: #aaa; cursor: pointer; position: relative; padding-bottom: 5px; transition: color 0.3s; }
.filter-item.active, .filter-item:hover { color: #333; }
.filter-item.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: #333; }

.exhibitor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 80px 40px; padding-bottom: 120px; }
.exhibitor-grid.is-empty { display: flex; flex-direction: column; min-height: 40vh; padding-bottom: 0; }

.coming-soon-section { flex-grow: 1; display: flex; align-items: center; justify-content: center; padding: 100px 0; }
.cs-content { text-align: center; }
.cs-text { font-size: 1.5rem; letter-spacing: 0.5em; color: #ccc; font-weight: 200; margin-bottom: 20px; }
.cs-subtext { font-size: 0.8rem; color: #999; letter-spacing: 0.05em; line-height: 1.8; }

.shop-card { display: flex; flex-direction: column; cursor: pointer; transition: transform 0.4s var(--ease-actus); }
.shop-card:hover { transform: translateY(-8px); }

.img-wrapper { 
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; 
    min-height: 200px;
    background-color: #fcfcfc; 
    overflow: hidden; 
    margin-bottom: 24px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid #f0f0f0; 
}

.fade-in-img { 
    max-width: 90%; 
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain; 
    box-sizing: border-box;
    animation: fadeInImg 0.8s ease forwards; 
}
@keyframes fadeInImg { from { opacity: 0; } to { opacity: 1; } }

.no-image-placeholder { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 0.8rem; color: #ccc; letter-spacing: 0.1em; 
    background: #f9f9f9; 
}

.genre { display: block; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--text-sub); text-transform: uppercase; margin-bottom: 12px; }
.shop-name { font-size: 1.15rem; font-weight: 400; margin: 0 0 16px 0; letter-spacing: 0.05em; }
.shop-footer { font-size: 0.7rem; color: var(--text-sub); padding-top: 15px; border-top: 1px solid #f0f0f0; }

/* モーダル */
.modal-overlay { display: none; position: fixed; z-index: 3000; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--modal-bg); opacity: 0; transition: opacity 0.5s ease; backdrop-filter: blur(12px); overflow-y: auto; padding: 60px 20px; }
.modal-window { max-width: 1050px; margin: 0 auto; background-color: var(--window-bg); position: relative; padding: 80px 60px; opacity: 0; transform: scale(0.96) translateY(20px); transition: transform 0.6s var(--ease-actus), opacity 0.6s ease; box-sizing: border-box; }
.modal-overlay.active { display: block; opacity: 1; }
.modal-overlay.active .modal-window { opacity: 1; transform: scale(1) translateY(0); }
.modal-close-btn { position: absolute; top: 30px; right: 30px; font-size: 2.2rem; cursor: pointer; border: none; background: none; color: #ccc; }
.modal-body { display: grid; grid-template-columns: 1.2fr 1.1fr; gap: 60px; }

.modal-left { display: flex; flex-direction: column; gap: 30px; }
.modal-logo-wrapper { width: 120px; margin: 0 auto; }
.modal-logo-wrapper img { width: 100%; height: auto; border: 1px solid #eee; }

/* ▼ スライダー縦長3:4、画像は常に中央表示 ▼ */
.product-slider { position: relative; width: 100%; aspect-ratio: 3 / 4; background: #fcfcfc; overflow: hidden; border: 1px solid #f5f5f5; }
.product-slider .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-slider img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 20px 15px; margin-top: -30px; color: #333; font-size: 20px; background: rgba(255,255,255,0.7); user-select: none; }
.next { right: 0; } .prev { left: 0; }
.slide-number { position: absolute; bottom: 15px; right: 15px; font-size: 0.6rem; color: #999; background: rgba(255,255,255,0.8); padding: 2px 6px; }

.modal-header-meta { display: flex; justify-content: space-between; border-bottom: 1px solid #eee; padding-bottom: 12px; margin-bottom: 12px; }
.modal-date { font-size: 0.7rem; color: #aaa; }
.modal-shop-name { font-size: 1.8rem; font-weight: 400; margin: 0 0 40px 0; letter-spacing: 0.05em; line-height: 1.4; }
.section-label { font-size: 0.6rem; letter-spacing: 0.3em; color: #ddd; margin-bottom: 12px; font-weight: bold; }
.section-text { font-size: 0.9rem; line-height: 2.2; color: #444; margin-bottom: 30px; }
.instagram-link { display: inline-block; border: 1px solid #333; padding: 18px 50px; text-decoration: none; color: #333; font-size: 0.7rem; letter-spacing: 0.3em; transition: 0.4s; text-align: center; }
.instagram-link:hover { background: #333; color: #fff; }

@media (max-width: 768px) {
    .page-intro { padding: 40px 0 10px; }
    .page-title { font-size: 1.8rem; }
    .exhibitor-grid { gap: 50px 20px; padding-bottom: 80px; grid-template-columns: 1fr; }
    .modal-overlay { padding: 20px 15px; }
    .modal-window { padding: 40px 20px; }
    .modal-body { grid-template-columns: 1fr; gap: 30px; }
    .modal-shop-name { font-size: 1.5rem; text-align: center; margin-bottom: 25px; }
    .instagram-link { display: block; width: 100%; box-sizing: border-box; padding: 15px 0; }
    .img-wrapper { min-height: 250px; }
}