/* --- SmartLife Compass 共通スタイルシート --- */

/* 1. 全体のタイポグラフィ（AI記事の読みやすさ設定） */
.prose {
    line-height: 2.1;
    font-size: 1.125rem;
    color: #334155;
    word-break: break-word;
}

/* タブレット・PCでは文字をさらに大きく */
@media (min-width: 768px) {
    .prose {
        font-size: 1.25rem;
    }
}

/* 2. 見出しの装飾 */

/* 記事内 H2: 青いサイドラインと背景色 */
.prose h2 {
    font-weight: 800;
    font-size: 1.75rem;
    color: #1e293b;
    margin-top: 5rem;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background-color: #f8fafc;
    border-left: 6px solid #2563eb;
    border-radius: 0 1rem 1rem 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

/* 記事内 H3: 芽生えのようなドットアクセント */
.prose h3 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #334155;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prose h3::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #3b82f6;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 3. 本文・余白の調整 */

/* 段落間の広めの余白 */
.prose p {
    margin-bottom: 2.5rem;
}

/* リスト：チェックマーク付きの装飾 */
.prose ul {
    margin-bottom: 3rem;
    padding-left: 1rem;
}

.prose li {
    position: relative;
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    list-style: none;
}

.prose li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 900;
}

/* テーブル（比較表など） */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    font-size: 1rem;
    background-color: #ffffff;
}

.prose th, .prose td {
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
}

.prose th {
    background-color: #f1f5f9;
    font-weight: bold;
    text-align: left;
}

/* 4. 楽天アフィリエイト用カスタム装飾 */
.rakuten-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rakuten-card:hover {
    transform: translateY(-5px);
    border-color: #fca5a5; /* red-300 */
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}