﻿/* ==========================================================================
   イベント一覧・詳細（独立型UI）
   ========================================================================== */
.evt-wrap {
    width: 100%;
    margin-bottom: 30px;
}

/* フィルタ（タブ） */
.evt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.evt-tabs-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: 0.2s;
}

    .evt-tabs-btn.is-active {
        background: #e6005c;
        color: #fff;
    }

/* 一覧リスト */
.evt-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.evt-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: 0.2s;
}

    .evt-item:hover {
        border-color: #e6005c;
        background: #fffdfd;
    }

.evt-item-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 4px;
    overflow: hidden;
}

    .evt-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.evt-item-body {
    flex: 1;
}

.evt-date {
    font-size: 12px;
    color: #e6005c;
    font-weight: bold;
    margin-bottom: 4px;
}

.evt-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 4px;
}

.evt-shop {
    font-size: 13px;
    color: #64748b;
}

/* 詳細ページ */
.evt-detail-wrap {
    background: #fff;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.evt-back-btn {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 20px;
    background: #eee;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
}

.evt-detail-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6005c;
}

.evt-detail-content {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
}

/* 詳細画像のスタイル */
.evt-detail-img {
    margin-bottom: 20px;
    text-align: center;
}

    .evt-detail-img img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
    }

/* 詳細の店舗情報エリア */
.evt-detail-shop {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* 独立した店舗情報エリア */
.evt-shop-info {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.evt-shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.evt-shop-name {
    font-size: 18px;
    font-weight: bold;
    color: #1e293b;
}

/* 店舗ページへのボタンデザイン */
.evt-shop-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #e6005c;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

    .evt-shop-btn:hover {
        background: #c81244;
    }

.evt-shop-body {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

.evt-tel-link {
    display: inline-block;
    color: #1e293b;
    text-decoration: none;
    transition: 0.2s;
}

    .evt-tel-link:hover {
        color: #e6005c;
        text-decoration: underline;
    }



/* Event date display styles (Mobile first) */
.evt-date {
    font-size: 0.82rem;
    color: #0284c7;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.4;
}

.AnivDetailDateBox {
    display: flex;
    align-items: center;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
    gap: 10px;
}

.AnivDetailDateLabel {
    background: #0284c7;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.AnivDetailDateValue {
    font-size: 0.95rem;
    font-weight: bold;
    color: #0369a1;
}

/* Tablet (600px - 899px) */
@media screen and (min-width: 600px) {
    .evt-date {
        font-size: 0.86rem;
    }

    .AnivDetailDateBox {
        padding: 12px 16px;
    }

    .AnivDetailDateValue {
        font-size: 1.05rem;
    }
}

/* PC (900px and up) */
@media screen and (min-width: 900px) {
    .evt-date {
        font-size: 0.88rem;
    }

    .AnivDetailDateBox {
        padding: 14px 18px;
    }
}

/* イベント一覧のカード全体 */
.evt-item {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    margin-bottom: 12px;
}

    .evt-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

/* イベント画像 */
.evt-item-img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

    .evt-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ステータスバッジ（開催中・終了など） */
.evt-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    color: #ffffff;
    writing-mode: horizontal-tb; /* 横書きにする場合 */
    flex-shrink: 0;
    line-height: 1.2;
}

/* 開催中（赤） */
.evt-badge-running {
    background-color: #e63f31;
}

/* 開催予定（青） */
.evt-badge-planned {
    background-color: #3182ce;
}

/* 終了（グレー） */
.evt-badge-ended {
    background-color: #718096;
}

/* テキストコンテンツエリア */
.evt-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 開催期間 */
.evt-date {
    font-size: 13px;
    font-weight: bold;
    color: #2b6cb0;
}

/* タイトル */
.evt-title {
    font-size: 13px;
    font-weight: bold;
    color: #1a202c;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 店舗名 */
.evt-shop {
    font-size: 12px;
    color: #718096;
    margin-top: 2px;
}



/* フィルタータブのデザイン */
.evt-filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.evt-tab-btn {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: bold;
    color: #666666;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .evt-tab-btn:hover {
        background: #e2e8f0;
    }

    .evt-tab-btn.is-active {
        color: #ffffff;
        background: #e63f31;
        border-color: #e63f31;
    }