@charset "UTF-8";
/* =====================================================
   雑誌掲載情報 一覧ペEジ スタイル
   [magazine_list] ショートコード用
   ===================================================== */

.mag-list-wrap {
    max-width: 860px;
    margin: 0 auto;
    font-family: inherit;
}

/* ── フィルターフォーム ── */
.mag-filter-form {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 18px;
}

.mag-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 10px;
}

.mag-filter-row:last-child {
    margin-bottom: 0;
}

.mag-filter-types-row {
    align-items: flex-start;
}

.mag-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    min-width: 74px;
    white-space: nowrap;
}

.mag-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mag-filter-text,
.mag-filter-select {
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
}

.mag-filter-text {
    width: 180px;
}

.mag-filter-select {
    min-width: 150px;
}

.mag-filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.mag-filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    cursor: pointer;
}

.mag-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.mag-btn-search {
    padding: 6px 20px;
    background: #4865B2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.mag-btn-search:hover {
    background: #3a54a0;
}

.mag-btn-reset {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
}

.mag-btn-reset:hover {
    color: #555;
}

/* ── 件数表示 ── */
.mag-result-count {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.mag-result-count strong {
    color: #4865B2;
}

/* ── 年月グルーチE── */
.mag-month-group {
    margin-bottom: 20px;
}

.mag-month-heading {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    padding: 4px 0 4px 10px;
    border-left: 4px solid #4865B2;
    margin-bottom: 8px;
}

/* ── カーチE── */
.mag-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 6px;
}

/* ヘッダー: タイトルのみ */
.mag-card-header {
    background: #4865B2;
    padding: 11px 14px;
}

.mag-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    display: block;
}

/* ボディ: 行間は適度に、上下パチEングは小さめE*/
.mag-card-body {
    padding: 14px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 衁E: 発売日 + バッジ横並び */
.mag-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.mag-date-text {
    font-size: 12px;
    color: #666;
}

.mag-cover-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

/* バッジ */
.mag-badge {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
}

.mag-badge-cover {
    background: #f5c518;
    color: #333;
}

.mag-badge-type {
    background: #eef2fa;
    color: #4865B2;
}

.mag-badge-type--gravure {
    background: #fce8e8;
    color: #c0392b;
}

.mag-badge-type--interview {
    background: #e8f4e8;
    color: #27ae60;
}

.mag-badge-type--feature {
    background: #e8f0fa;
    color: #4865B2;
}

.mag-badge-type--special {
    background: #f5eefa;
    color: #8e44ad;
}

.mag-badge-type--other {
    background: #f0f0f0;
    color: #666;
}

/* 衁E: 掲載メンバE */
.mag-members-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

.mag-members-label {
    font-size: 12px;
    color: #888;
}

.mag-member-tag {
    display: inline-block;
    padding: 1px 8px;
    background: #f0f4fb;
    border: 1px solid #c5d4ea;
    border-radius: 10px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    /* リンクの下線を消す */
    transition: background 0.15s, color 0.15s;
}

.mag-member-tag:hover {
    background: #4865B2;
    color: #fff;
    border-color: #4865B2;
    text-decoration: none;
}

/* 衁E: 掲載E容チEスチE*/
.mag-content-note {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* スマE: プレビューEE行クランチE/ 展開時E全斁EE*/
@media (max-width: 600px) {
    .mag-content-preview {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mag-content-preview.expanded {
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
    }
}

/* 衁E: 備老E*/
.mag-remarks {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.mag-remarks-label {
    font-weight: 600;
}

/* 衁E: ポチチEE */
.mag-pochipp {
    margin-top: 12px;
    margin-bottom: 0;
}

/* ポチチEEのボタン群めEカラムに強制 */
.mag-pochipp .pochipp-btns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
}

.mag-pochipp .pochipp-btn {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* ポチチEEブロチE自体E上下EージンをリセチE */
.mag-pochipp .pochipp-block,
.mag-pochipp>div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 追加購入リンクEEチップ非対応EボタンEE*/
.mag-extra-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.mag-extra-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #555;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.mag-extra-btn:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

/* ポチチEE風カード（バリューコマEス等！E*/
.mag-vc-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
    background: #fff;
}

.mag-vc-card-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.mag-vc-card-inner:hover {
    background: #f8f9fa;
    text-decoration: none;
    color: inherit;
}

.mag-vc-img {
    width: 110px !important;
    height: 110px !important;
    max-width: 110px !important;
    max-height: 110px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: block;
    border-radius: 4px;
}

.mag-vc-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.mag-vc-shop {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.mag-vc-title {
    font-size: 14px;
    color: #333;
    font-weight: 700;
    line-height: 1.5;
}

.mag-vc-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #e65c00;
    color: #fff !important;
    border-radius: 50px;
    /* ポチチEE風のピル形状 */
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
    align-self: flex-start;
    text-decoration: none;
    transition: opacity 0.2s;
    min-width: 120px;
    text-align: center;
}

.mag-vc-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* アコーチEオントグルボタンEスマEのみJS制御で表示EE*/
.mag-accordion-toggle {
    display: none;
    /* PCでは非表示EESぁEdisplay: none を設定する前のフラチEュ防止EE*/
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    margin-top: 4px;
    width: 100%;
    text-align: center;
}

.mag-accordion-toggle:hover {
    background: #f5f5f5;
}

/* 結果なぁE*/
.mag-no-results {
    text-align: center;
    color: #999;
    padding: 36px 0;
    font-size: 14px;
}

/* ── モバイル ── */
@media (max-width: 600px) {
    .mag-filter-form {
        padding: 12px;
    }

    .mag-filter-text {
        width: 140px;
    }

    .mag-filter-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .mag-btn-search {
        width: 100%;
    }

    .mag-pochipp {
        margin-top: 20px;
    }
}