/* ── 神グッズ特集 シングルページ ── */
.goditems-single-wrap {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem 3rem;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
    color: #333;
}

/* パンくず */
.goditems-breadcrumb {
    font-size: .82rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}
.goditems-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}
.goditems-breadcrumb a:hover { text-decoration: underline; }

/* ページタイトル */
.goditems-single-title {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    color: #1e3a5f;
    line-height: 1.35;
    margin: 0 0 .5rem;
    border-left: 5px solid #f59e0b;
    padding-left: .75rem;
}

/* 更新日 */
.goditems-updated {
    font-size: .8rem;
    color: #9ca3af;
    margin-bottom: 2rem;
}

/* 本文（自動生成 HTML） */
.goditems-single-content {
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.goditems-single-content img { display: block; max-width: 100%; height: auto; }
.goditems-single-wrap :focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; border-radius: 6px; }

/* god-items-list グリッド */
.goditems-single-content .god-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 1.5rem;
}

/* カード */
.goditems-single-content .god-item-card {
    background: #fff;
    box-shadow: 0 3px 14px rgba(0,0,0,.10);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.goditems-single-content .god-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.13);
}
.goditems-single-content .god-item-card > div > a:last-child,
.goditems-back-link { min-height: 44px; box-sizing: border-box; }

/* ページ下部リンク */
.goditems-back-link {
    display: inline-block;
    margin-top: 2.5rem;
    padding: .55rem 1.2rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .875rem;
    color: #6b7280;
    text-decoration: none;
    transition: background .15s;
}
.goditems-back-link:hover {
    background: #f3f4f6;
    color: #374151;
}

/* メタ情報バー */
.goditems-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.2rem;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: .82rem;
    color: #6b7280;
}
.goditems-rating-label {
    color: #d97706;
    font-weight: 700;
}
.goditems-rating-label i { margin-right: .25em; }
.goditems-source-label i,
.goditems-updated i { margin-right: .25em; color: #9ca3af; }

/* リード文 */
.goditems-lead {
    background: linear-gradient(135deg, #fefce8, #fef9c3);
    border-left: 4px solid #f59e0b;
    border-radius: 0 10px 10px 0;
    padding: .85rem 1rem;
    font-size: .92rem;
    line-height: 1.75;
    color: #44403c;
    margin-bottom: 2rem;
}
.goditems-lead strong { color: #b45309; }

/* 検索意図別の情報ブロック */
.goditems-single-content h2 {
    margin: 2.3rem 0 1rem;
    padding-bottom: .55rem;
    border-bottom: 2px solid #fde68a;
    color: #1e3a5f;
    font-size: clamp(1.12rem, 2.5vw, 1.4rem);
    line-height: 1.45;
}
.goditems-intro h2 { margin-top: 0; }
.goditems-updated { color: #6b7280; font-size: .84rem; }
.goditems-selection,
.goditems-notice {
    margin: 1.35rem 0;
    padding: 1rem 1.15rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}
.goditems-selection h2 { margin: 0 0 .65rem; padding: 0; border: 0; font-size: 1rem; }
.goditems-selection ul { margin: 0 0 .55rem 1.25rem; padding: 0; }
.goditems-selection p,
.goditems-notice p { margin: .45rem 0 0; color: #64748b; font-size: .84rem; }
.goditems-toc {
    margin: 1.7rem 0;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: #fffdf4;
    border: 1px solid #fde68a;
}
.goditems-toc h2 { margin: 0 0 .75rem; padding: 0; border: 0; font-size: 1.05rem; }
.goditems-toc ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.goditems-toc a { color: #1d4ed8; font-weight: 700; text-underline-offset: 3px; }
.goditems-top5 {
    margin: 2rem 0;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    border: 1px solid #fed7aa;
}
.goditems-top5 h2 { margin: 0 0 .8rem; padding: 0; border: 0; }
.goditems-top5 ol { margin: 0; padding-left: 1.7rem; }
.goditems-top5 li { padding: .42rem 0; color: #c2410c; font-weight: 800; }
.goditems-top5 li + li { border-top: 1px dashed #fed7aa; }
.goditems-top5 a { color: #1f2937; text-decoration: none; }
.goditems-top5 a:hover { color: #c2410c; text-decoration: underline; }
.goditems-top5 small { margin-left: .65rem; color: #64748b; font-weight: 500; }
.goditems-category { scroll-margin-top: 80px; }

/* 商品カード */
.god-item-card__image { position: relative; display: block; overflow: hidden; background: #f1f5f9; }
.god-item-card__image img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; }
.god-item-card__rank {
    position: absolute;
    top: .65rem;
    left: .65rem;
    padding: .28rem .55rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(194, 65, 12, .94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    font-size: .76rem;
    font-weight: 800;
}
.god-item-card__body { display: flex; flex: 1; flex-direction: column; gap: .55rem; padding: 1rem; }
.god-item-card__category { align-self: flex-start; margin: 0; padding: .2rem .5rem; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: .72rem; font-weight: 700; }
.god-item-card__body h3 { margin: 0; font-size: 1.04rem; line-height: 1.45; }
.god-item-card__body h3 a { color: #172554; text-decoration: none; }
.god-item-card__facts { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; color: #f59e0b; }
.god-item-card__facts b { color: #334155; font-size: .84rem; }
.god-item-card__facts small { color: #64748b; }
.god-item-card__summary { flex: 1; margin: 0; padding: .65rem .75rem; border-radius: 8px; background: #f8fafc; color: #475569; font-size: .87rem; line-height: 1.65; }
.god-item-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: auto;
    padding: .55rem .75rem;
    border-radius: 9px;
    background: #1d4ed8;
    color: #fff;
    font-size: .84rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.god-item-card__cta:hover { background: #1e40af; color: #fff; }
.goditems-notice { border-color: #fed7aa; background: #fff7ed; }
.goditems-notice strong { color: #9a3412; }
.goditems-faq dl { display: grid; gap: .75rem; }
.goditems-faq dl > div { padding: .9rem 1rem; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.goditems-faq dt { color: #1e3a5f; font-weight: 800; }
.goditems-faq dd { margin: .45rem 0 0; color: #475569; }

@media (max-width: 600px) {
    .goditems-single-wrap {
        margin: 1rem auto;
        padding: 0 .75rem 2.5rem;
        overflow-x: clip;
    }
    .goditems-single-content .god-items-list {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .goditems-meta-bar {
        gap: .4rem .8rem;
    }
    .goditems-single-title { font-size: 1.35rem; }
    .goditems-lead { padding: .8rem .85rem; }
    .goditems-toc ul { grid-template-columns: 1fr; }
    .goditems-top5,
    .goditems-toc,
    .goditems-selection,
    .goditems-notice { padding: .85rem .9rem; }
    .god-item-card__body { padding: .85rem; }
    .goditems-single-content section[style] { padding: 1rem !important; }
}
@media (prefers-reduced-motion: reduce) {
    .goditems-single-content .god-item-card { transition: none; }
}
