/* =====================================
   Tips 記事ページ専用CSS
   トップページのデザイン体系 (オレンジ + ネイビー + クリーム) に統一
   ===================================== */

/* ===== Main / Container ===== */
.tips-main {
    background: #fff;
}

.tips-article {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== パンくずリスト ===== */
.tips-breadcrumb {
    max-width: 820px;
    margin: 0 auto;
    padding: 16px;
    font-size: 13px;
    color: var(--lp-text, #363d49);
    font-weight: 500;
}

.tips-breadcrumb-link {
    color: var(--lp-orange-2, #ff6a00);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.tips-breadcrumb-link:hover {
    opacity: 0.7;
}

.tips-breadcrumb-separator {
    margin: 0 8px;
    color: var(--lp-border-cream, #f2e3d1);
}

.tips-breadcrumb-current {
    color: var(--lp-navy-2, #050b4e);
    font-weight: 700;
}

/* ===== 記事ヘッダー ===== */
.tips-article-header {
    padding: 48px 0 24px;
    text-align: center;
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.tips-article-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--lp-orange-light, #ffede0);
    color: var(--lp-orange-2, #ff6a00);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.tips-article-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.5;
    color: var(--lp-navy-2, #050b4e);
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.tips-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--lp-text, #363d49);
}

/* ===== メインビジュアル ===== */
.tips-article-visual {
    margin: 0 0 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(45, 22, 0, 0.12);
}

.tips-article-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 記事本文 ===== */
.tips-article-content {
    padding: 0 0 40px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.95;
    color: var(--lp-text, #363d49);
}

/* h2 - メインセクション (オレンジ→クリーム グラデバンド) */
.tips-article-content h2 {
    position: relative;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.45;
    color: var(--lp-navy-2, #050b4e);
    margin: 56px 0 24px;
    padding: 18px 20px 18px 26px;
    background: linear-gradient(
        90deg,
        var(--lp-orange-light, #ffede0) 0%,
        rgba(255, 237, 224, 0.25) 100%
    );
    border-left: 6px solid var(--lp-orange-2, #ff6a00);
    border-radius: 0 14px 14px 0;
    border-bottom: none !important;
}

/* h3 - サブセクション (オレンジ縦バー) */
.tips-article-content h3 {
    font-size: 19px;
    font-weight: 900;
    color: var(--lp-navy-2, #050b4e);
    margin: 36px 0 14px;
    padding-left: 16px;
    border-left: 4px solid var(--lp-orange-2, #ff6a00);
    line-height: 1.5;
}

/* h4 - 細かい区切り (オレンジ ◆ プレフィックス) */
.tips-article-content h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 900;
    color: var(--lp-orange-2, #ff6a00);
    margin: 24px 0 10px;
    line-height: 1.5;
}
.tips-article-content h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--lp-orange-2, #ff6a00);
    border-radius: 50%;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* 段落 */
.tips-article-content p {
    margin: 0 0 18px;
    line-height: 1.95;
}

/* リスト (ul) - オレンジドット */
.tips-article-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.tips-article-content ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    line-height: 1.85;
}
.tips-article-content ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0.7em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lp-orange-2, #ff6a00);
}

/* リスト (ol) - オレンジ番号バッジ */
.tips-article-content ol {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    counter-reset: tips-step;
}
.tips-article-content ol li {
    position: relative;
    padding-left: 42px;
    margin-bottom: 14px;
    line-height: 1.85;
    counter-increment: tips-step;
    min-height: 28px;
}
.tips-article-content ol li::before {
    content: counter(tips-step);
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-orange, #ff5a09) 0%, var(--lp-orange-2, #ff6a00) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 4px 8px rgba(255, 106, 0, 0.25);
}

/* strong - マーカーハイライト */
.tips-article-content strong {
    background: linear-gradient(180deg, transparent 60%, var(--lp-orange-light, #ffede0) 60%);
    padding: 0 3px;
    font-weight: 900;
    color: var(--lp-navy-2, #050b4e);
}

/* リンク */
.tips-article-content a {
    color: var(--lp-orange-2, #ff6a00);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
    transition: opacity 0.2s ease;
}
.tips-article-content a:hover {
    opacity: 0.7;
    color: var(--lp-orange-2, #ff6a00);
}

/* テーブル */
.tips-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(45, 22, 0, 0.06);
}
.tips-article-content table th,
.tips-article-content table td {
    border: 1px solid var(--lp-border-cream, #f2e3d1);
    padding: 14px 16px;
    text-align: left;
}
.tips-article-content table th {
    background: var(--lp-orange-light, #ffede0);
    color: var(--lp-navy-2, #050b4e);
    font-weight: 900;
}
.tips-article-content table td {
    background: #fff;
    color: var(--lp-text, #363d49);
}

/* hr / 区切り線 */
.tips-article-content hr {
    border: 0;
    border-top: 1px dashed var(--lp-border-cream, #f2e3d1);
    margin: 32px 0;
}

/* blockquote */
.tips-article-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    background: var(--lp-cream, #fffaf4);
    border-left: 4px solid var(--lp-orange-2, #ff6a00);
    border-radius: 0 12px 12px 0;
    font-style: normal;
    color: var(--lp-navy-2, #050b4e);
    font-weight: 500;
}

/* インラインコード */
.tips-article-content code {
    background: var(--lp-cream, #fffaf4);
    border: 1px solid var(--lp-border-cream, #f2e3d1);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.9em;
    color: var(--lp-orange-2, #ff6a00);
    font-family: 'Inter', monospace;
}

/* 記事中の追加画像 (将来用) */
.tips-article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px auto;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(45, 22, 0, 0.08);
}

/* チェックボックスリスト風 (☑ で始まるリスト全体) */
/* 既存HTMLの ☑ を活かしつつ、リスト全体に統一感を */

/* ===== 記事フッター ===== */
.tips-article-footer {
    padding: 32px 0;
    border-top: 1px solid var(--lp-border-cream, #f2e3d1);
    margin-top: 24px;
}

.tips-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tips-article-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--lp-cream, #fffaf4);
    border: 1px solid var(--lp-border-cream, #f2e3d1);
    color: var(--lp-navy-2, #050b4e);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tips-article-tag:hover {
    background: var(--lp-orange-light, #ffede0);
    border-color: var(--lp-orange-2, #ff6a00);
    color: var(--lp-orange-2, #ff6a00);
}

/* ===== シェア ===== */
.tips-article-share {
    text-align: center;
    margin-top: 24px;
}

.tips-article-share-title {
    font-size: 14px;
    font-weight: 900;
    color: var(--lp-navy-2, #050b4e);
    margin: 0 0 12px 0;
}

.tips-article-share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.tips-article-share-button {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--lp-border-cream, #f2e3d1);
    color: var(--lp-navy-2, #050b4e);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tips-article-share-button:hover {
    background: var(--lp-orange-2, #ff6a00);
    border-color: var(--lp-orange-2, #ff6a00);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 106, 0, 0.22);
}

/* ===== 関連記事 ===== */
.tips-related {
    background: var(--lp-cream, #fffaf4);
    padding: 56px 16px;
    margin-top: 40px;
    border-top: 1px solid var(--lp-border-cream, #f2e3d1);
}

.tips-related-inner {
    max-width: 820px;
    margin: 0 auto;
}

.tips-section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 28px 0;
    color: var(--lp-navy-2, #050b4e);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-section-icon {
    color: var(--lp-orange-2, #ff6a00);
    font-size: 22px;
}

/* 記事カード */
.tips-article-card {
    display: block;
    background: #fff;
    border: 1px solid var(--lp-border-cream, #f2e3d1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(45, 22, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    margin-bottom: 16px;
}

.tips-article-card:last-child {
    margin-bottom: 0;
}

.tips-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(45, 22, 0, 0.14);
}

.tips-article-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.tips-article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tips-article-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--lp-orange-2, #ff6a00);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.25);
}

.tips-article-card-content {
    padding: 18px;
}

.tips-article-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    color: var(--lp-navy-2, #050b4e);
    margin: 0 0 10px 0;
}

.tips-article-card-excerpt {
    font-size: 13px;
    line-height: 1.7;
    color: var(--lp-text, #363d49);
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tips-article-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--lp-text, #363d49);
}

/* ===== レスポンシブ - PC ===== */
@media (min-width: 768px) {
    .tips-article {
        padding: 0 24px;
    }
    .tips-article-header {
        padding: 64px 0 32px;
    }
    .tips-article-title {
        font-size: 36px;
        line-height: 1.45;
    }
    .tips-article-content {
        font-size: 17px;
        line-height: 2;
    }
    .tips-article-content h2 {
        font-size: 28px;
        padding: 22px 24px 22px 30px;
        margin: 64px 0 28px;
    }
    .tips-article-content h3 {
        font-size: 22px;
        margin: 40px 0 16px;
    }
    .tips-article-content h4 {
        font-size: 17px;
        margin: 28px 0 12px;
    }
    .tips-article-content ol li::before {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: 0.1em;
    }
    .tips-article-content ol li {
        padding-left: 46px;
    }
    .tips-related {
        padding: 72px 24px;
    }
    .tips-section-title {
        font-size: 28px;
    }
}

@media (min-width: 1024px) {
    .tips-article-title {
        font-size: 40px;
    }
    .tips-article-visual {
        border-radius: 28px;
    }
}
