@charset "UTF-8";
#production #heading-area.hide-exhibition {
	background: #0d1736;
}

/* -------------------------------------------
   セクション全体
------------------------------------------- */
#exhibition-section {
    background: #152728;
    color: #fff;
    padding: 0;
    margin-bottom: 50px;
    font-family: "Noto Sans JP", sans-serif;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    z-index: 5;
    margin-top: 60px;
    transition: z-index 0.1s;
}
#exhibition-section.is-modal-active { z-index: 2000; }

/* ヘッダー・スライダー */
.ex-header-area { padding-bottom: 20px; text-align: left; }
.ex-date { font-size: 16px; font-weight: bold; color: #88ca1f; margin-bottom: 10px; letter-spacing: 0.05em; }
.ex-title-row { display: flex; justify-content: flex-start; align-items: center; gap: 15px; flex-wrap: wrap; }
.ex-badge { background: #fff; color: #152728; padding: 4px 12px; font-size: 14px; font-weight: bold; border-radius: 4px; white-space: nowrap; }
.ex-title { font-size: 28px; font-weight: 800; line-height: 1.3; margin: 0; color: #fff; }

.ex-container-fluid { width: 100%; }
.ex-content-wrapper { max-width: 1000px; margin: 0 auto; padding: 30px 20px; }
.ex-slider-wrapper { width: 100%; padding: 0; margin-bottom: 0; }
.ex-slider img { width: 100%; height: 350px; object-fit: cover; display: block; }
.ex-slide-btn { padding: 0; border: none; background: none; width: 100%; cursor: pointer; display: block; }

/* 説明文・フッター */
.ex-body-area { padding-top: 30px; }
.ex-description { font-size: 15px; line-height: 2; margin-bottom: 40px; white-space: pre-wrap; text-align: left; }

.ex-footer {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
    background: rgba(255, 255, 255, 0.05); padding: 25px 30px;
    border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1);
}

.ex-booth-text {
    display: flex; align-items: center; gap: 10px;
    font-weight: bold; font-size: 16px;
}
.ex-arrow-icon {
    display: inline-block; width: 8px; height: 8px;
    border-top: 2px solid #fff; border-right: 2px solid #fff;
    transform: rotate(45deg); margin: 0 5px;
}
.booth-num { font-size: 20px; color: #fff; font-family: "Open Sans", sans-serif; }

.ex-footer-buttons { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }

.ex-map-btn {
    background: #88ca1f; color: #fff; border: none; padding: 12px 30px;
    border-radius: 50px; cursor: pointer; font-weight: bold; font-size: 14px;
    transition: all 0.3s; line-height: 1;
}
.ex-map-btn:hover { background: #76b01b; }

.ex-site-link {
    display: inline-block; background: #fff; color: #152728; border: none;
    padding: 12px 30px; border-radius: 50px; font-weight: bold;
    text-decoration: none; transition: all 0.3s; font-size: 14px; line-height: 1;
}
.ex-site-link:hover { background: #e6e6e6; color: #000; }

/* モーダル */
.ex-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 0;
}
.ex-modal-overlay.is-open { opacity: 1; visibility: visible; }
.ex-modal-content {
    background: transparent; width: 100%; height: 100%;
    display: flex; flex-direction: column; position: relative;
}

.ex-modal-header {
    position: absolute; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: rgba(0, 0, 0, 0.6); z-index: 100;
}

.ex-zoom-controls { display: flex; align-items: center; gap: 8px; }
.ex-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.3); margin: 0 4px; }

/* アイコンボタン共通 */
.ex-zoom-btn, .ex-modal-close, .ex-reset-btn {
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px; cursor: pointer; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; transition: background 0.2s; padding: 0;
}
.ex-zoom-btn:hover, .ex-modal-close:hover, .ex-reset-btn:hover { background: rgba(255, 255, 255, 0.4); }

/* 印刷ボタン */
.ex-print-btn {
    height: 36px;
    padding: 0 10px;
    background: #88ca1f;
    border: none; border-radius: 4px; color: #fff;
    font-weight: bold; font-size: 13px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.3s;
	margin-right: 7px;
}
.ex-print-btn:hover { opacity: 0.8; }

.ex-zoom-level { font-family: "Open Sans", sans-serif; font-size: 14px; font-weight: 500; min-width: 45px; text-align: center; color: #fff; }

.ex-modal-body {
    flex: 1; width: 100%; height: 100%; overflow: hidden;
    background: rgba(0, 0, 0, 0.75); display: flex; justify-content: center; align-items: center;
    cursor: grab; position: relative;
}
.ex-modal-body:active { cursor: grabbing; }

.ex-image-container {
    display: flex; justify-content: center; align-items: center;
    width: 100%; height: 100%;
    transform-origin: center center;
    transition: transform 0.1s linear; 
    will-change: transform, opacity;
}

#ex-modal-image {
    max-width: 100%; max-height: 100%; object-fit: contain;
    user-select: none; -webkit-user-drag: none; touch-action: none;
}

.anim-slide-out-left { transition: transform 0.3s ease, opacity 0.3s ease; transform: translateX(-50px) !important; opacity: 0; }
.anim-slide-out-right { transition: transform 0.3s ease, opacity 0.3s ease; transform: translateX(50px) !important; opacity: 0; }
.anim-slide-in-left { animation: slideInLeft 0.3s ease forwards; }
.anim-slide-in-right { animation: slideInRight 0.3s ease forwards; }
@keyframes slideInLeft { from { transform: translateX(-50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.ex-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 80px; background: rgba(0,0,0,0.3); color: #fff;
    border: none; font-size: 24px; cursor: pointer; z-index: 50; display: none;
    align-items: center; justify-content: center; transition: background 0.3s;
}
.ex-nav-btn:hover { background: rgba(0,0,0,0.6); }
.ex-prev { left: 0; }
.ex-next { right: 0; }

@media (max-width: 767px) {
    #exhibition-section { margin-top: 40px; }
    .ex-slider img { height: 200px; }
    .ex-footer { flex-direction: column; text-align: center; }
    .ex-booth-text { flex-direction: column; gap: 5px; }
    .ex-arrow-icon { transform: rotate(135deg); margin: 5px 0; }
    .ex-footer-buttons { width: 100%; flex-direction: column; gap: 10px; }
    .ex-map-btn, .ex-site-link { width: 100%; box-sizing: border-box; }
}

/* 印刷時は不要要素を隠すだけ（JSで別窓を開くため、スタイルは最小限でOK） */
@media print {
    .ex-modal-header, .ex-nav-btn, .ex-footer, header, footer { display: none !important; }
}