/* ========================================
   Insights記事ページ専用スタイル
   ======================================== */

/* 記事コンテナの幅設定 */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-container .article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-container .article-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-container .article-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 500;
}

.article-container .article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #1f2937;
}

/* 記事全体のフォント設定（ゴシック体統一） */
.article-content,
.article-content *,
.article-body,
.article-body * {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 記事内のすべての見出しスタイル統一 */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6,
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 700;
    color: #000;
}

/* 記事本文のスタイル */
.article-content p,
.article-body p {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
}

/* セクション番号付き見出し */
.section-heading {
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: #000;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.section-heading .section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 16px;
}

.subsection-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #000;
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
}

/* リスト */
.content-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #333;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.content-list li strong {
    color: #000;
    font-weight: 700;
}

.nested-list {
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.nested-list li {
    margin-bottom: 0.5rem;
}

/* テーブル */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.comparison-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    color: #333;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.comparison-table tbody tr:hover {
    background: #eff6ff;
}

/* 警告ボックス */
.warning-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 5px solid #f59e0b;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.warning-box p {
    margin: 0;
    color: #78350f;
    font-weight: 500;
    line-height: 1.8;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.warning-box i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

/* 要約セクション */
.summary {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 2px solid #3b82f6;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.summary-list li {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.summary-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.summary-list li i {
    color: #10b981;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.summary-list li strong {
    color: #3b82f6;
}

/* 結論セクション用引用ボックス */
.conclusion-quote-box {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 3px solid #f59e0b;
    border-radius: 12px;
    padding: 0;
    margin: 2.5rem 0;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
    overflow: hidden;
}

.quote-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff !important;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.quote-header * {
    color: #ffffff !important;
}

.quote-header i {
    font-size: 1.5rem;
    color: #fef3c7;
}

.quote-content {
    padding: 2rem 2.5rem;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #78350f;
    font-weight: 700;
    background: white;
    border: none;
    font-style: normal;
}

.quote-content::before {
    content: '📜 ';
    margin-right: 0.5rem;
}

/* 最終メッセージボックス */
.final-message {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 5px solid #3b82f6;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.final-message p {
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--gray-800);
}

.final-message p:last-child {
    margin-bottom: 0;
}

.final-message i {
    color: #3b82f6;
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

/* 最終CTAボックス */
.final-cta {
    margin: 3rem 0;
}

.cta-box {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.cta-box .cta-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-box .cta-button {
    background: white;
    color: #1e40af;
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-box .cta-button:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 記事ヘッダー */
.article-header {
    background: white;
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--gray-200);
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: #3b82f6;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.article-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #000;
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.article-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 2rem;
    color: #64748b;
    text-align: center;
}

.article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
    justify-content: center;
    color: #64748b;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 警告アラート */
.warning-alert {
    padding: 2rem 0;
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
}

.alert-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border-left: 6px solid #fbbf24;
}

.alert-icon {
    width: 70px;
    height: 70px;
    background: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-icon i {
    font-size: 2.5rem;
    color: #7f1d1d;
}

.alert-content {
    color: white;
}

.alert-content h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.alert-content p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* 記事本文 */
.article-content {
    padding: var(--spacing-xl) 0;
    background: white;
}

.article-content .container {
    max-width: 1200px;
}

.article-body {
    max-width: 100%;
}

/* セクション */
.content-section {
    margin-bottom: 4rem;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.9;
    color: var(--gray-800);
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 5px solid #2563eb;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.content-section strong {
    color: var(--gray-900);
    font-weight: 700;
}

/* セクション見出し */
.section-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #2563eb;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: #ffffff !important;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700 !important;
    flex-shrink: 0;
    margin-right: 16px;
}

/* セクション番号のテキストを強制的に白に */
.section-heading .section-number {
    color: #ffffff !important;
}

span.section-number {
    color: #ffffff !important;
}

/* ハイライトボックス */
.highlight-box {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    border-left: 5px solid #2c5282;
    margin: 2rem 0;
}

.highlight-box p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

/* 条文引用ボックス（重要） */
.statute-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    margin: 3rem 0;
    border: 2px solid #2c5282;
    box-shadow: 0 4px 16px rgba(44, 82, 130, 0.1);
    overflow: hidden;
    color: #1f2937 !important;
}

.statute-box * {
    color: inherit !important;
}

.statute-box strong {
    color: #1f2937 !important;
}

.statute-header {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.statute-header i {
    font-size: 2rem;
    color: #2c5282;
}

.statute-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.statute-text {
    padding: 2rem;
    background: #ffffff;
    color: #1f2937 !important;
}

.statute-text p {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.8;
    color: #374151 !important;
    font-style: italic;
    margin: 0;
}

.statute-text p strong {
    color: #1f2937 !important;
}

.statute-text blockquote {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #1f2937 !important;
    font-style: normal;
    margin: 0;
    padding: 0;
    border: none;
    font-weight: 700;
}

.statute-text blockquote strong {
    color: #2c5282 !important;
    font-weight: 700;
}

.statute-translation {
    padding: 1.5rem 2rem;
    background: #f0f4f8;
    color: #374151 !important;
}

.statute-translation h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c5282 !important;
    margin-bottom: 1rem;
}

.statute-translation p {
    font-size: 1.1rem;
    color: #374151 !important;
    line-height: 1.9;
    margin: 0;
    font-weight: 600;
}

.statute-translation p strong {
    color: #1f2937 !important;
}

.statute-translation * {
    color: #374151 !important;
}

/* 条項ボックス */
.clause-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    border-left: 5px solid #2c5282;
    margin: 2rem 0;
}

.clause-text {
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    font-style: italic;
    color: #2c5282;
    margin-bottom: 1rem;
}

.clause-text blockquote {
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    font-style: italic;
    color: #2c5282;
    margin: 0;
    padding: 0;
    border: none;
}

.clause-translation {
    font-size: 1rem;
    color: var(--gray-700);
    margin: 0;
}

/* 判例ケーススタディ */
.case-study {
    background: white;
    border: 2px solid #2563eb;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.case-study h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.case-study p {
    margin-bottom: 1.5rem;
}

.case-study p:last-child {
    margin-bottom: 0;
}

/* 重要な教訓 */
.key-takeaway {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 5px solid #059669;
    margin: 2rem 0;
}

.key-takeaway h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.key-takeaway p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #047857;
    margin: 0;
}

/* リスクカード */
.risk-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.risk-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.risk-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.risk-icon.red {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.risk-icon.orange {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
}

.risk-icon i {
    font-size: 2rem;
}

.risk-icon.red i {
    color: #dc2626;
}

.risk-icon.orange i {
    color: #ea580c;
}

.risk-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.risk-card p {
    font-size: 1rem;
    margin: 0;
}

/* 結論セクション */
.conclusion {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 16px;
    border-top: 5px solid #2563eb;
}

.final-message {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
    border: 3px solid #2563eb;
}

.final-message p:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    font-style: italic;
    margin-bottom: 1rem;
}

.final-message i {
    color: #2563eb;
    opacity: 0.5;
}

.message-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-600);
    margin: 0;
}

/* サイドバー */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.sidebar-info p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.priority-high {
    color: #dc2626;
    font-weight: 700;
}

.sidebar-card.cta {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
}

.sidebar-card.cta h3,
.sidebar-card.cta p {
    color: white;
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    color: #2563eb;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.related-articles {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 1rem;
}

.related-articles a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.related-articles a:hover {
    color: #2563eb;
    transform: translateX(5px);
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 24px;
}

.share-btn[data-share="linkedin"] {
    background: #0077B5;
}

.share-btn[data-share="twitter"] {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
}

/* Xアイコンを確実に白色にする - すべての可能なセレクタ */
.share-btn[data-share="twitter"] i {
    color: #ffffff !important;
}

.share-btn[data-share="twitter"] i.fab {
    color: #ffffff !important;
}

.share-btn[data-share="twitter"] i.fa-x-twitter {
    color: #ffffff !important;
}

.share-btn[data-share="twitter"] .fab.fa-x-twitter {
    color: #ffffff !important;
}

.share-btn[data-share="twitter"] i::before {
    color: #ffffff !important;
}

.share-btn[data-share="twitter"] .fab::before {
    color: #ffffff !important;
}

.share-btn[data-share="twitter"] .fa-x-twitter::before {
    color: #ffffff !important;
}

.share-btn[data-share="twitter"] svg {
    fill: #ffffff !important;
    color: #ffffff !important;
}

.share-btn[data-share="twitter"] svg path {
    fill: #ffffff !important;
    color: #ffffff !important;
}

.share-btn[data-share="facebook"] {
    background: #1877F2;
}

.share-btn[data-share="email"] {
    background: #EA4335;
}

.share-btn[data-share="line"] {
    background: #00B900;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* すべてのシェアボタンアイコンの色を明示的に設定 */
.share-btn i {
    color: inherit;
}

/* X (Twitter) アイコンの擬似要素にも白色を適用 */
.share-btn[data-share="twitter"]::before,
.share-btn[data-share="twitter"]::after,
.share-btn[data-share="twitter"] *::before,
.share-btn[data-share="twitter"] *::after {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .article-content .container {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .risk-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .alert-box {
        flex-direction: column;
        text-align: center;
    }
}

/* 関連記事セクション */
.related-articles-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid var(--gray-200);
}

.related-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.related-title i {
    color: #3b82f6;
    font-size: 1.8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.related-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.related-card:hover .related-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.related-icon i {
    font-size: 2rem;
    color: white;
}

/* ========================================
   ページの先頭に戻るボタン
   ======================================== */
.back-to-top-section {
    text-align: center;
    padding: 3rem 0;
    margin: 4rem 0 0 0;
    border-top: 2px solid #e5e7eb;
}

.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #000000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
}

.back-to-top-btn:hover {
    background: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.back-to-top-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-3px);
}

.related-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.related-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* 比較ブロック */
.comparison-block {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-left: 5px solid #2c5282;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
}

.comparison-block.warning-style {
    background: #ffffff;
    border-left-color: #dc2626;
}

.comparison-block h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.highlight-box.danger {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-left: 5px solid #dc2626;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.highlight-box.danger .highlight-icon {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border: 2px solid #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.highlight-box.danger .highlight-icon i {
    font-size: 2rem;
    color: #dc2626;
}

.highlight-box.danger h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

/* ========================================
   Xアイコン強制白色表示（最優先）
   ======================================== */
a.share-btn[data-share="twitter"] i.fab.fa-x-twitter,
a.share-btn[data-share="twitter"] i.fab.fa-x-twitter::before,
a[data-share="twitter"].share-btn i.fab.fa-x-twitter,
a[data-share="twitter"].share-btn i.fab.fa-x-twitter::before {
    color: white !important;
    fill: white !important;
    background-color: transparent !important;
}

.highlight-box.danger p {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.highlight-box.danger p:last-child {
    margin-bottom: 0;
}

/* 比較グリッド */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-item {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-item.s1 {
    border-top: 4px solid #059669;
}

.comparison-item.f1 {
    border-top: 4px solid #dc2626;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.comparison-header i {
    font-size: 2rem;
}

.comparison-item.s1 .comparison-header i {
    color: #059669;
}

.comparison-item.f1 .comparison-header i {
    color: #dc2626;
}

.comparison-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.comparison-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-item li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
    color: var(--gray-700);
}

.comparison-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 1.2rem;
}

.comparison-item.s1 li::before {
    color: #059669;
}

.comparison-item.f1 li::before {
    color: #dc2626;
}

.comparison-item li strong {
    color: var(--gray-900);
    font-weight: 700;
}

/* 質問ボックス */
.question-box {
    background: white;
    border: 3px solid #2563eb;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.15);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.question-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.question-content {
    flex: 1;
}

.question-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.question-content p {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.question-content p:last-child {
    margin-bottom: 0;
}

.question-insight {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid #3b82f6;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem !important;
    color: #1e40af !important;
    line-height: 1.7;
}

.question-insight i {
    color: #3b82f6;
    margin-right: 0.5rem;
}

/* 専門家の視点ボックス */
.expert-insight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid #f59e0b;
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.2);
    position: relative;
}

.expert-insight-box::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.5;
}

.expert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.expert-icon i {
    font-size: 2.5rem;
    color: white;
}

.expert-content {
    text-align: center;
}

.expert-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.expert-title i {
    color: #f59e0b;
    font-size: 1.8rem;
}

.expert-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #78350f;
    margin-bottom: 1.5rem;
}

.expert-content p strong {
    color: #92400e;
    font-weight: 700;
}

.expert-cta {
    margin-top: 2rem;
}

.expert-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.expert-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
}

.expert-cta-btn i {
    font-size: 2rem;
    flex-shrink: 0;
}

.expert-cta-btn span {
    text-align: left;
    line-height: 1.5;
}

.expert-cta-btn strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.25rem;
}

.expert-cta-btn small {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .related-title {
        font-size: 1.5rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .question-box {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }
    
    .question-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }
    
    .question-content h4 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .expert-insight-box {
        padding: 2rem 1.5rem;
    }
    
    .expert-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .expert-cta-btn {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }
    
    .expert-cta-btn span {
        text-align: center;
    }
}