@charset "utf-8";

/* ==========================================================================
   キャッシュレス決済 お知らせページ 専用CSS
   保存先：/cashless/css/cashless.css
   ※ 既存の common/css/style.css, common/css/common.css を読み込んだ上で
     追加で読み込むこと（既存CSSファイルは変更していません）
   対象ページ：cashless/index.html, cashless/neyagawa.html, cashless/settsu.html
   ========================================================================== */

/* --------------------------------------------------------------------------
   一覧ページ（cashless/index.html）：店舗カード
   -------------------------------------------------------------------------- */
.cashless-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cashless-store-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.cashless-store-card .store-name {
    font-size: 20px;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 6px;
}
.cashless-store-card .store-status {
    font-size: 13px;
    color: #4a5568;
}
.status-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    margin-right: 6px;
}
.status-badge.started {
    background: #61b33a;
}
.status-badge.upcoming {
    background: #ff6600;
}
.cashless-store-card .btn-detail-modern {
    flex-shrink: 0;
    width: 180px;
}

/* ★店舗詳細ページ＋店舗情報（map.html）の2ボタンを縦に並べるラッパー */
.cashless-store-card .card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 180px;
}
.cashless-store-card .card-actions .btn-detail-modern {
    width: 100%;
}

.cashless-note-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    font-size: 13px;
    color: #4a5568;
    margin-top: 20px;
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   詳細ページ：告知ヒーローブロック
   -------------------------------------------------------------------------- */
.cashless-hero {
    background: linear-gradient(135deg, #fdeef3 0%, #fbe4ee 100%);
    border: 2px solid #e11d48;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 30px;
}
.cashless-hero .hero-date {
    font-size: 20px;
    font-weight: bold;
    color: #e11d48;
    margin-bottom: 4px;
}
.cashless-hero .hero-store {
    font-size: 26px;
    font-weight: bold;
    color: #0f172a;
    margin: 4px 0;
}
.cashless-hero .hero-main {
    font-size: 22px;
    font-weight: bold;
    color: #e11d48;
}
.cashless-hero .hero-sub {
    font-size: 13px;
    color: #64748b;
    margin-top: 10px;
}
/* ★スマホ表示で「スタート！」等の単語中央で改行されるのを防止 */
.cashless-hero p {
    word-break: keep-all;
    overflow-wrap: break-word;
}
/* 導入済み店舗用（グリーン系） */
.cashless-hero.is-started {
    border-color: #61b33a;
    background: linear-gradient(135deg, #f0fbe8 0%, #e7f8dc 100%);
}
.cashless-hero.is-started .hero-main {
    color: #339911;
}

/* --------------------------------------------------------------------------
   対応ブランド バッジ
   -------------------------------------------------------------------------- */
.brand-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 20px 0;
}
/* --- 前回版（アイコン追加前：テキストのみのバッジ）。ロールバック用に残置 ---
.brand-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: 56px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    color: #1e293b;
}
--- */

/* --- 前回版（自作SVGアイコン版：72×46固定サイズ）。ロールバック用に残置
.brand-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 120px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}
.brand-badge img {
    width: 72px;
    height: 46px;
    display: block;
}
.brand-badge .brand-badge-label {
    font-weight: bold;
    font-size: 12px;
    color: #1e293b;
    text-align: center;
}
--- */

/* ★正式ロゴ画像版：各社ロゴの縦横比がまちまちなため、
   固定の枠（object-fit:contain）に収めて高さを揃える */
.brand-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 110px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}
.brand-badge img {
    width: 100px;
    height: 48px;
    object-fit: contain;
    display: block;
}
.brand-badge .brand-badge-label {
    font-weight: bold;
    font-size: 12px;
    color: #1e293b;
    text-align: center;
}

/* --------------------------------------------------------------------------
   導入のメリット
   -------------------------------------------------------------------------- */
.merit-grid {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}
.merit-card {
    flex: 1;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}
.merit-card .merit-title {
    font-weight: bold;
    color: #e11d48;
    margin-bottom: 6px;
    font-size: 15px;
}
.merit-card .merit-desc {
    font-size: 12px;
    color: #64748b;
}

/* QRコード決済追加予定の一文 */
.cashless-qr-note {
    text-align: center;
    font-weight: bold;
    color: #0066cc;
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 14px;
    margin: 0 0 30px;
}

/* --------------------------------------------------------------------------
   お客様へのお願い
   -------------------------------------------------------------------------- */
.request-box {
    background: #fffdf9;
    border: 1px solid #fbd38d;
    padding: 20px 24px;
    border-radius: 8px;
    color: #744210;
    margin: 25px 0;
}
.request-box h3 {
    margin-bottom: 10px;
    font-size: 15px;
}
.request-box ul {
    padding-left: 4px;
}
.request-box li {
    margin-bottom: 6px;
    font-size: 13px;
    padding-left: 1em;
    text-indent: -1em;
}
.request-box li::before {
    content: "＊";
    margin-right: 2px;
}

/* --------------------------------------------------------------------------
   結びの文 ＆ 店長署名
   -------------------------------------------------------------------------- */
.cashless-closing {
    text-align: center;
    margin: 30px 0 10px;
    font-size: 13px;
    color: #4a5568;
    line-height: 1.8;
}
.cashless-signature {
    text-align: right;
    font-size: 13px;
    color: #334155;
    margin-top: 10px;
    max-width: 960px;
}

.back-link-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 30px 0;
}
.back-link-wrap .btn-detail-modern {
    display: inline-flex;
    width: auto;
    padding: 12px 30px;
}

/* ★店舗情報（map.html）へのリンクボタン。back-link-wrap内で使用 */
.btn-store-map {
    background: #61b33a !important;
    color: #fff !important;
    border-color: #61b33a !important;
}
.btn-store-map:hover {
    background: #339911 !important;
    border-color: #339911 !important;
}

/* --------------------------------------------------------------------------
   トップページ（index.html）お知らせバナー
   -------------------------------------------------------------------------- */
.cashless-top-banner-wrap {
    max-width: 960px;
    margin: 20px auto 0;
    padding: 0 20px;
}
.cashless-top-banner {
    display: block;
    background: #fff5f7;
    border: 2px solid #e11d48;
    border-radius: 8px;
    padding: 14px 20px;
    text-align: center;
    font-weight: bold;
    color: #e11d48;
    text-decoration: none;
}
.cashless-top-banner:hover {
    background: #ffeaef;
    text-decoration: none;
    opacity: 1;
}

/* --------------------------------------------------------------------------
   レスポンシブ（768px以下）
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .cashless-store-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cashless-store-card .btn-detail-modern {
        width: 100%;
    }
    .cashless-store-card .card-actions {
        width: 100%;
        flex-direction: column;
    }
    .merit-grid {
        flex-direction: column;
    }
    .brand-badge {
        min-width: 84px;
        padding: 8px 10px;
    }
    /* --- 前回版（自作SVGアイコン版）。ロールバック用に残置
    .brand-badge img {
        width: 60px;
        height: 38px;
    }
    --- */
    .brand-badge img {
        width: 76px;
        height: 36px;
        object-fit: contain;
    }
    .cashless-hero .hero-store {
        font-size: 22px;
    }
    .cashless-hero .hero-main {
        font-size: 19px;
    }
}
