@charset "UTF-8";
/*
Theme Name: imai-art2026
Description: Imai Museum Custom Theme 2026 - Total Design Update
Version: 6.7.3
*/

/* --- 1. 基本設定 --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box !important; 
}

body {
    background-color: #ffffff;
    font-family: "Shippori Mincho", serif;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
}

.inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ハンバーガーボタン（PCは非表示） --- */
.hamburger-btn {
    display: none;
}

/* --- 2. ヘッダー --- */
.site-header {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #f0f0f0;
    position: fixed; 
    top: 0; 
    left: 0;
    z-index: 1000;
    transition: transform 0.4s ease, background-color 0.4s ease, height 0.4s ease;
}

.header-hide {
    transform: translateY(-100%);
}

.header-sticky {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px !important; 
    position: relative;
}

.header-sub-nav {
    display: flex;
    justify-content: flex-end;
    padding-top: 5px; 
}

.sub-menu-list {
    list-style: none;
    display: flex;
    gap: 15px;
}

.sub-menu-list li { font-size: 11px; }
.sub-menu-list li a { text-decoration: none; color: #888; }

.sns-menu-list li a { font-size: 32px !important; }

.header-main-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end; 
    padding-bottom: 15px; 
    margin-top: -45px; 
}

.logo-group-link {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-logo img {
    height: 140px; 
    width: auto;
    display: block;
    margin-top: -45px; 
}

.museum-name-under {
    font-size: 22px; 
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-top: -22px; 
}

.header-nav { 
    margin-left: 6%; 
    margin-bottom: 2px; 
}
.main-menu-list { list-style: none !important; display: flex !important; gap: 12px; }
.main-menu-list li { flex: 0 0 140px; }
.main-menu-list li a { 
    text-decoration: none; color: #444; display: block; font-size: 14px; padding: 12px 0; 
    background: #fff; border: 1px solid #eee; text-align: center; border-radius: 4px;
}

/* --- 3. コンテンツエリア --- */
.top-main-container { padding-top: 220px; }

/* --- 展覧会一覧（グリッド） --- */
.exhibition-list-section { margin-bottom: 120px; }

.ex-section-title {
    font-size: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 60px;
    letter-spacing: 0.15em;
    font-weight: 400;
}

.ex-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px 60px;
}

.ex-item-card { text-decoration: none; color: inherit; display: block; }

.ex-thumb-wrap {
    height: 280px; 
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
    background: #fdfdfd; 
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ex-thumb-wrap img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.ex-item-card:hover img { transform: scale(1.05); }

.ex-item-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 3em;
}

.ex-meta-info { font-size: 14px; color: #666; }

.ex-date {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* --- 開館状況の調整 --- */
.today-opening-announcement {
    text-align: center;
    margin: 40px auto;
    padding: 30px;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    max-width: 850px;
}

.today-status-title span {
    font-size: 26px !important; 
    font-weight: bold;
    padding: 12px 50px !important; 
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* ★修正：開館（緑の背景に白文字）、休館（赤文字のみ）のデザイン */
.status-open-box {
    background-color: #2e7d32 !important; /* 緑の枠・背景 */
    color: #ffffff !important;           /* 白抜き文字 */
    border: 2px solid #2e7d32;
}

.status-closed-box {
    background-color: transparent !important;
    color: #d63638 !important;           /* 赤文字 */
    border: none;
}

.today-status-time {
    font-size: 22px; /* 少し大きく */
    font-weight: 800;
    color: #333;
    margin-top: 10px;
}

.today-status-last {
    display: block;
    font-size: 16px;
    font-weight: normal;
    margin-top: 12px;
    color: #444;
    background: #f0f7f0;
    display: inline-block;
    padding: 6px 20px;
    border-radius: 4px;
}

/* --- VRバナーの修正 --- */
.vr-banner-link {
    display: flex;
    align-items: center;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden; 
}

.vr-banner-image { width: 50%; }
.vr-banner-image img { width: 100%; height: auto; display: block; object-fit: cover; }
.vr-banner-text { width: 50%; padding: 40px; text-align: center; }
.vr-text-sub { font-size: 12px; letter-spacing: 0.2em; color: #aaa; display: block; margin-bottom: 10px; }
.vr-text-main { font-size: 28px; letter-spacing: 0.1em; margin-bottom: 20px; }
.vr-text-desc { font-size: 14px; margin-bottom: 30px; }
.vr-btn { display: inline-block; border: 1px solid #fff; padding: 10px 30px; font-size: 12px; letter-spacing: 0.1em; transition: background-color 0.3s, color 0.3s; }
.vr-banner-link:hover .vr-btn { background-color: #fff; color: #111; }

/* --- 4. フッター --- */
.site-footer { margin-top: 100px; padding: 80px 0; background-color: #ffffff; border-top: 1px solid #eee; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: flex-start; }
.footer-museum-name { font-size: 28px; margin-bottom: 25px; }
.footer-info p { font-size: 16px; margin-bottom: 8px; }

/* --- 5. レスポンシブ --- */
@media (max-width: 768px) {
    .site-logo img { height: 60px; margin-top: 0; }
    .top-main-container { padding-top: 160px; }
    .ex-list-grid { grid-template-columns: 1fr; gap: 60px; }
    .ex-thumb-wrap { height: 220px; } 
    .ex-date { font-size: 15px !important; display: inline-block; white-space: nowrap; }
    .vr-banner-link { flex-direction: column; }
    .vr-banner-image, .vr-banner-text { width: 100%; }
}