/* ============================================
   Content Styles
   全ページ共通コンテンツスタイル（店舗カード、フッター等）
   ============================================ */

/* ============================================
   店舗カード共通
   ============================================ */
.shop-card {
    position: relative;
    background: var(--color-white);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.shop-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #e8e0d8 0%, #d4c8bc 100%);
    overflow: hidden;
    margin: 20px 20px 0;
}

/* PC: 小さいカードは4:3 */
.shop-card.small .shop-card-image {
    aspect-ratio: 4 / 3;
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* ホバー時のオーバーレイ */
.shop-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

/* ホバーエフェクト：画像ズーム + オーバーレイ */
.shop-card:hover .shop-card-image img {
    transform: scale(1.08);
}

.shop-card:hover .shop-card-image::after {
    background: rgba(0, 0, 0, 0.15);
}

/* 画像上のバッジエリア（左上：カテゴリ＋NEW） */
.shop-card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 2;
}

/* 画像上のアクションエリア（右上：マップ＋ハート） */
.shop-card-actions-top {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 2;
}

/* カテゴリタグ */
.shop-card-category {
    padding: 6px 14px;
    background: var(--color-white);
    font-size: 12px;
    letter-spacing: 1px;
    border: 1px solid var(--color-border);
}

/* NEWバッジ */
.shop-card-new {
    padding: 6px 14px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 12px;
    letter-spacing: 1px;
}

/* アクションボタン（画像内） */
.shop-card-actions-top .action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-card-actions-top .action-btn svg {
    width: 18px;
    height: 18px;
    color: #000;
    stroke: #000;
}

.shop-card-actions-top .action-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.shop-card-actions-top .action-favorite:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

.shop-card-actions-top .action-favorite.active {
    background: #fef2f2;
    border-color: #ef4444;
}

.shop-card-actions-top .action-favorite.active svg {
    fill: #ef4444;
    stroke: #ef4444;
}

/* 小さいカード用サイズ調整 */
.shop-card.small .shop-card-badges {
    top: 10px;
    left: 10px;
    gap: 6px;
}

.shop-card.small .shop-card-actions-top {
    top: 10px;
    right: 10px;
    gap: 6px;
}

.shop-card.small .shop-card-category,
.shop-card.small .shop-card-new {
    padding: 5px 10px;
    font-size: 10px;
}

.shop-card.small .shop-card-actions-top .action-btn {
    width: 30px;
    height: 30px;
}

.shop-card.small .shop-card-actions-top .action-btn svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   小さいカード用コンパクト表示
   ============================================ */
.shop-card-body.compact {
    padding: 12px 15px;
}

.shop-card-body.compact .shop-card-name {
    font-size: 14px;
    margin-bottom: 6px;
}

.shop-card-area-access {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.shop-card-area-access .icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.shop-card-area-access .icon svg {
    width: 100%;
    height: 100%;
}

.shop-card-stats-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 11px;
}

.shop-card-stats-compact .shop-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shop-card-stats-compact .stars {
    color: #f5a623;
    font-size: 10px;
}

.shop-card-stats-compact .score {
    font-weight: 700;
}

.shop-card-counts-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 10px;
}

.shop-card-counts-inline svg {
    margin-right: 2px;
}

/* キャッチコピー（コンパクト） */
.shop-card-catch-compact {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 予算（コンパクト） */
.shop-card-budget-compact {
    display: flex;
    gap: 12px;
    font-size: 11px;
    margin-bottom: 8px;
}

.shop-card-budget-compact .budget-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #555;
}

.shop-card-budget-compact .budget-item svg {
    flex-shrink: 0;
}

.shop-card-budget-compact .budget-item.night svg {
    stroke: #6b7280;
}

.shop-card-budget-compact .budget-item.lunch svg {
    stroke: #f59e0b;
}

/* 特徴タグ（コンパクト） */
.shop-card-features-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.shop-card-features-compact .feature-tag {
    padding: 2px 6px;
    font-size: 9px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #f9f9f9;
}

/* クーポン（コンパクト・詳細版） */
.shop-card-coupon-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: #fffbe6;
    border: 1px dashed #d4a017;
    font-size: 10px;
}

.shop-card-coupon-compact .coupon-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #d4a017;
    font-weight: 600;
}

.shop-card-coupon-compact .coupon-badge svg {
    stroke: #d4a017;
}

.shop-card-coupon-compact .coupon-title {
    color: #333;
    flex: 1;
}

.shop-card-coupon-compact .coupon-discount {
    color: #e74c3c;
    font-weight: 700;
}

/* カード番号（大きいカード用） */
.shop-card-number {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 60px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    letter-spacing: -2px;
}

.shop-card.small .shop-card-number {
    font-size: 30px;
}

/* カード本体 */
.shop-card-body {
    padding: 20px 25px;
}

.shop-card-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.shop-card.small .shop-card-name {
    font-size: 15px;
}

.shop-card-area {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-gray);
    margin-bottom: 8px;
}

.shop-card-area .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.shop-card-area .icon svg {
    width: 100%;
    height: 100%;
}

.shop-card.small .shop-card-area {
    font-size: 11px;
    margin-bottom: 5px;
}

.shop-card-catch {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #555;
}

.shop-card.small .shop-card-catch {
    display: none;
}

/* 評価・価格 */
.shop-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.shop-card.small .shop-card-meta {
    padding-top: 8px;
    gap: 8px;
    font-size: 11px;
}

.shop-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shop-card-rating .stars {
    color: #f5a623;
}

.shop-card-rating .score {
    font-weight: 700;
}

.shop-card-price {
    color: var(--color-gray);
}

/* クーポンバッジ */
.shop-card-coupon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 10px;
    background: #fff8e6;
    border: 1px solid #f5a623;
    font-size: 11px;
    color: #d4880f;
}

.shop-card.small .shop-card-coupon {
    display: none;
}

.shop-card-coupon .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.shop-card-coupon .icon svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   サンプルカード（全情報入り）用スタイル
   ============================================ */

/* サブ画像 */
.shop-card-sub-images {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--color-border);
}

.shop-card-sub-images .sub-image {
    flex: 1;
    aspect-ratio: 1 / 1;
}

/* アクセス情報 */
.shop-card-access {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* 評価・口コミ・お気に入りエリア */
.shop-card-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.shop-card-counts {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #666;
}

.shop-card-counts .count-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.shop-card-counts svg {
    opacity: 0.7;
}

/* 予算（夜/昼） */
.shop-card-budget {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
}

.shop-card-budget .budget-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shop-card-budget .budget-item.night {
    color: #5a4a8a;
}

.shop-card-budget .budget-item.lunch {
    color: #c98a3d;
}

/* 特徴タグ */
.shop-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.shop-card-features .feature-tag {
    font-size: 10px;
    padding: 3px 8px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    color: #555;
}

/* クーポン（詳細版） */
.shop-card-coupon-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: #fffbe6;
    border: 1px dashed #e6c84a;
    border-radius: 4px;
    font-size: 11px;
    margin-bottom: 12px;
}

.shop-card-coupon-detail .coupon-row-top {
    display: flex;
    align-items: center;
}

.shop-card-coupon-detail .coupon-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.shop-card-coupon-detail .coupon-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #c9503d;
}

.shop-card-coupon-detail .coupon-title {
    flex: 1;
    font-weight: 500;
}

.shop-card-coupon-detail .coupon-discount {
    font-weight: 700;
    color: #c9503d;
    background: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* アクションボタン */
.shop-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 15px;
    background: #fafafa;
}

.shop-card-actions .action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-card-actions .action-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.shop-card-actions .action-favorite:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

/* ============================================
   フッター
   ============================================ */
.site-footer {
    border-top: 1px solid var(--color-border);
    background: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    padding: 60px;
    border-bottom: 1px solid var(--color-border);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-dots svg {
    width: 20px;
    height: 20px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    letter-spacing: 8px;
    line-height: 1.8;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 15px;
}

.footer-share {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-share .share-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #666;
}

.footer-sns {
    display: flex;
    gap: 15px;
}

.footer-sns a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.3s;
}

.footer-sns a:hover {
    background: #000;
    color: #fff;
}

.footer-sns svg {
    width: 18px;
    height: 18px;
}

.footer-copyright {
    font-size: 10px;
    color: #999;
    letter-spacing: 1px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.footer-nav-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.footer-nav-item:hover {
    opacity: 0.6;
}

.footer-nav-item .nav-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-nav-item .nav-count {
    font-size: 12px;
    vertical-align: super;
}

.footer-nav-item .nav-name-jp {
    font-size: 11px;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    letter-spacing: 2px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.6;
}

.footer-link .arrow {
    font-size: 14px;
}

.footer-page-top {
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.footer-page-top:hover {
    opacity: 0.6;
}

/* ============================================
   アイコン案プレビュー（選択用）
   ============================================ */
.icon-preview {
    padding: 60px 40px;
    background: #f5f5f5;
    border-top: 1px solid var(--color-border);
    display: none;
}

.icon-preview-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.icon-preview-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

.icon-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.icon-option {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.icon-option:hover {
    border-color: #000;
    box-shadow: 4px 4px 0 #000;
}

.option-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #333;
}

.icon-display {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

/* ============================================
   ページトップボタン（追従）
   ============================================ */
.page-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top-btn:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-top-btn svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   レスポンシブ（共通コンテンツ用）
   ============================================ */
@media (max-width: 768px) {
    /* 店舗カード画像 */
    .shop-card-image {
        margin: 15px 15px 0;
    }
    
    /* スマホ: 大きいカードは真四角 */
    .shop-card.large .shop-card-image {
        aspect-ratio: 1 / 1;
    }
    
    /* スマホ: 小さいカードも真四角 */
    .shop-card.small .shop-card-image {
        aspect-ratio: 1 / 1;
        margin: 12px 12px 0;
    }
    
    .shop-card-number {
        font-size: 36px;
    }
    
    .shop-card.small .shop-card-number {
        font-size: 24px;
    }
    
    /* カードボディ調整 */
    .shop-card-body {
        padding: 15px 18px;
    }
    
    .shop-card-name {
        font-size: 18px;
    }
    
    .shop-card.small .shop-card-body {
        padding: 12px 15px;
    }
    
    .shop-card.small .shop-card-name {
        font-size: 15px;
    }
    
    .shop-card-catch {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    /* スマホ: バッジとアクションボタンを小さく（全カード共通） */
    .shop-card-badges {
        top: 10px;
        left: 10px;
        gap: 5px;
    }
    
    .shop-card-actions-top {
        top: 10px;
        right: 10px;
        gap: 5px;
    }
    
    .shop-card-category,
    .shop-card-new {
        padding: 4px 8px;
        font-size: 9px;
    }
    
    .shop-card-actions-top .action-btn {
        width: 28px;
        height: 28px;
    }
    
    .shop-card-actions-top .action-btn svg {
        width: 14px;
        height: 14px;
    }
    
    /* スマホ: 小さいカードはさらに小さく */
    .shop-card.small .shop-card-badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }
    
    .shop-card.small .shop-card-actions-top {
        top: 8px;
        right: 8px;
        gap: 4px;
    }
    
    .shop-card.small .shop-card-category,
    .shop-card.small .shop-card-new {
        padding: 3px 6px;
        font-size: 8px;
    }
    
    .shop-card.small .shop-card-actions-top .action-btn {
        width: 24px;
        height: 24px;
    }
    
    .shop-card.small .shop-card-actions-top .action-btn svg {
        width: 12px;
        height: 12px;
    }
    
    /* スマホ: コンパクトクーポン調整 */
    .shop-card-coupon-compact {
        flex-wrap: wrap;
        padding: 6px 8px;
        gap: 4px;
        font-size: 9px;
    }
    
    .shop-card-coupon-compact .coupon-badge {
        font-size: 9px;
    }
    
    .shop-card-coupon-compact .coupon-title {
        flex: 1;
        width: fit-content;
        order: 1;
        text-align: center;
        font-size: 10px;
        font-weight: 600;
    }
    
    .shop-card-coupon-compact .coupon-badge, .shop-card-coupon-compact .coupon-discount {
        flex: none;
        width: 100%;
        text-align: center;
        display: block;
    }
    .shop-card-coupon-compact .coupon-badge {
        display: none;
    }
    
    .shop-card-coupon-compact .coupon-discount {
        text-align: center;
        order: 2;
    }

    /* フッター */
    .footer-inner {
        flex-direction: column;
        gap: 50px;
        padding: 40px 20px;
    }
    
    .footer-right {
        align-items: flex-start;
    }
    
    .footer-nav {
        align-items: flex-start;
    }
    
    .footer-nav-item .nav-name {
        font-size: 20px;
    }

    .footer-nav-item .nav-name-jp {
        order: 1;
    }

    /* ページトップボタン */
    .page-top-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .page-top-btn svg {
        width: 18px;
        height: 18px;
    }
}
