@charset "utf-8";

/* --- 1. 基本設定（全画面共通） --- */
.shop-page-wrapper {
    width: 100%;
    padding: 0 0.8rem;
    box-sizing: border-box;
}

/* --- 2. 見出しとラベル（垂直方向をさらにタイトに） --- */
.category {
    margin: 1.5rem 0 0.3rem 0 !important; /* 上の余白をさらに削減 */
}

.guide-mark, .guide-mark_sm {
    font-size: clamp(1.6rem, 4.5vw, 2.0rem);
    font-weight: 700;
}

.online-status, .label {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 0.3rem;
    color: #fff !important;
    margin: 0 0 0.8rem 0 !important;
}

.online-status { background: #2563eb !important; }
.archive-label, .label-past { background: #64748b !important; }
.label-now { background: #d9534f; }

/* --- 3. スマホ縦画面：2列グリッド形式（ここを修正） --- */
.cover_artist, .cover_artist_featured {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 2列を左右に振り分け */
    gap: 0.8rem; /* カード間の隙間を最小限に */
    padding: 0.8rem 0 !important;
    border-top: 1px solid #444;
}

.point_artist {
    display: flex;
    flex-direction: column !important; /* 画像を上に、文字を下に */
    width: calc(50% - 0.4rem) !important; /* ぴったり2列 */
    align-items: center;
    text-align: center;
    margin-bottom: 1.2rem;
    padding: 0.5rem;
    box-sizing: border-box;
}

.pict_ex, .pict {
    width: 100% !important;
    max-width: 7.0rem; /* 画像が大きくなりすぎないよう制限 */
    height: auto;
    margin: 0 auto 0.5rem auto !important; /* 写真下の余白を最小化 */
}

.text_ex, .text_featured {
    font-size: 1.2rem; /* 文字を少し小さくして密度を上げる */
    line-height: 1.3;
    width: 100%;
}

/* --- 4. 横長画面・PC（40rem以上）：3列カード型へ拡張 --- */
@media screen and (min-width: 40rem) {
    .shop-page-wrapper { padding: 0 2.0rem; }

    .cover_artist, .cover_artist_featured {
        gap: 1.5rem !important;
        padding: 1.5rem !important;
        background: #f9f9f9;
        border-radius: 0.8rem;
        justify-content: flex-start;
    }

    .point_artist {
        width: calc((100% - 3.5rem) / 3) !important; /* 3列 */
        background: #fff;
        padding: 1.2rem !important;
        border: 1px solid #ddd;
        border-radius: 0.6rem;
    }

    .pict_ex, .pict {
        max-width: 8.5rem;
    }






    /* =========================================
   開催中（NOW ON）の特別装飾
   ========================================= */

    /* A. 企画展（Standard）の開催中 */
    .current-grid .point_artist {
        border: 2px solid #d9534f !important; /* あーとらんどレッドで強調 */
        background: #fff !important;
        box-shadow: 0 1.0rem 2.5rem rgba(217, 83, 79, 0.15); /* ほのかな赤みの影 */
        transform: scale(1.03); /* ほんの少しだけ大きく見せる */
        z-index: 10;
        position: relative;
    }

    /* 企画展タイトルの文字色も強調 */
    .current-grid .text_ex strong {
        color: #d9534f !important;
    }

    /* B. オンライン展（Online）の開催中 */
    .online-layout .cover_artist:first-of-type .point_artist {
        border: 2px solid #2563eb !important; /* オンラインブルーで強調 */
        background: #fff !important;
        box-shadow: 0 1.0rem 2.5rem rgba(37, 99, 235, 0.15); /* ほのかな青みの影 */
        transform: scale(1.03);
    }

    /* オンラインタイトルの文字色も強調 */
    .online-layout .cover_artist:first-of-type .text_ex strong {
        color: #2563eb !important;
    }

    /* 共通：開催中のカードには「動き」を出す */
    .current-grid .point_artist:hover,
    .online-layout .cover_artist:first-of-type .point_artist:hover {
        transform: translateY(-5px) scale(1.05); /* 指を置いたときに弾むような反応 */
        transition: all 0.3s ease;
    }








}

/* --- 5. 作品・作家検索ボタン（カテゴリ検索） --- */
.wrap_whole { margin: 2.0rem 0; }
.wrapping_all_work { margin-bottom: 1.2rem; }
.cover_all_work { display: flex; gap: 0.8rem; }
.point_all_work { flex: 1; }
.text_wk {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4.4rem;
    background: #2563eb;
    color: #fff;
    border-radius: 0.4rem;
    font-size: 1.5rem;
    font-weight: 700;
}
.text_wk.ghost { background: #f0f4ff; color: #2563eb; border: 1px solid #2563eb; }

/* --- 6. 特集セクション（注目のアーティスト） --- */
.section-featured {
    background: #f3f4f6;
    padding: 2.0rem 0.8rem;
    border-radius: 1.0rem;
    margin-top: 2.0rem;
}
.featured-separator { border: 0; height: 1px; background: #ccc; margin: 1.5rem 0; }
.featured_remark { display: none; } /* 縦2列時は「作家詳細」を隠してスッキリさせる */




/* --- 訪問済みリンクが紫になるのを防ぐ --- */
.shop-page-wrapper a,
.shop-page-wrapper a:visited {
    text-decoration: none;
    color: inherit; /* 親要素の色をそのまま使う */
}

/* 作家名やタイトルなどの色を濃いグレー（#3F3F3F）で上書き */
.shop-page-wrapper .color,
.shop-page-wrapper .text_ex strong {
    color: #3F3F3F !important;
}

/* ホバー（指やマウスを重ねた時）の反応を少しだけ出す */
.shop-page-wrapper a:hover {
    opacity: 0.7;
}