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

/* ヘッダーをモダンでエレガントなデザインに変更 */
.header {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(245, 250, 255, 0.95) 100%) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .logo .question-mark {
    background: linear-gradient(135deg, #00bfff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.header .logo-text {
    color: #1a1a1a;
    font-weight: 700;
}

.header .nav-list a {
    color: #4a5568;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.header .nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00bfff, #0080ff);
    transition: width 0.3s ease;
}

.header .nav-list a:hover {
    color: #00bfff;
}

.header .nav-list a:hover::after {
    width: 100%;
}

.header .btn-line {
    background: linear-gradient(135deg, #00bfff, #0080ff);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
    font-weight: 600;
}

.header .btn-line:hover {
    background: linear-gradient(135deg, #0099d8, #0066cc);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
    transform: translateY(-2px);
}

.mobile-menu-toggle span {
    background-color: #4a5568;
}

/* パンくずリスト */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #6c757d;
}

.breadcrumb-list a {
    color: #00bfff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #0099d8;
    text-decoration: underline;
}

.breadcrumb-list li:last-child {
    color: #6c757d;
}

/* 記事メインコンテナ */
.article-main {
    padding: 4rem 0;
    background-color: #ffffff;
    min-height: 100vh;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

/* お知らせ一覧に戻るボタン */
.back-to-news {
    margin-bottom: 2rem;
}

.back-to-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #00bfff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.back-to-news-btn:hover {
    background-color: #f8f9fa;
    border-color: #00bfff;
    transform: translateX(-5px);
}

.back-to-news-btn svg {
    transition: transform 0.3s ease;
}

.back-to-news-btn:hover svg {
    transform: translateX(-3px);
}

/* 記事ヘッダー */
.article-header {
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-date {
    color: #6c757d;
    font-size: 0.875rem;
}

.article-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.article-category.category-update {
    background-color: #fff5eb;
    color: #ff6b35;
}

.article-category.category-news {
    background-color: #ebf8ff;
    color: #00bfff;
}

.article-category.category-event {
    background-color: #f0f4ff;
    color: #6666ff;
}

.article-category.category-other {
    background-color: #ffebf0;
    color: #ff66aa;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    margin-bottom: 1.5rem;
}

.article-author {
    color: #6c757d;
    font-size: 0.875rem;
}

/* アイキャッチ画像 */
.article-featured-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 記事本文 */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 4rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00bfff;
}

.article-content h4 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #333;
    margin: 2rem 0 1rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.article-content strong {
    font-weight: 600;
    color: #00bfff;
}

.article-content blockquote {
    border-left: 4px solid #00bfff;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.article-content blockquote cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
}

/* タグ */
.article-tags {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.article-tags h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background-color: #00bfff;
    color: #ffffff;
    border-color: #00bfff;
    transform: translateY(-2px);
}

/* SNSシェアボタン */
.article-share {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.article-share h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-x {
    background-color: #000000;
    color: white;
}

.share-x:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.share-facebook {
    background-color: #1877F2;
    color: white;
}

.share-facebook:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
}

.share-line {
    background-color: #00B900;
    color: white;
}

.share-line:hover {
    background-color: #00a000;
    transform: translateY(-2px);
}

.share-copy {
    background-color: #6c757d;
    color: white;
}

.share-copy:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* 関連記事 */
.related-articles {
    margin-bottom: 3rem;
}

.related-articles h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #333;
}

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

.related-article-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-article-date {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.related-article-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.related-article-category {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* CTAセクション */
.article-cta {
    background: linear-gradient(135deg, #00bfff 0%, #0099d8 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 3rem;
}

.article-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: white;
}

.article-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: white;
    color: #FFD700;
}

.cta-buttons .btn-primary:hover {
    background-color: #f8f9fa;
    color: #FFA500;
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background-color: white;
    color: #00bfff;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h3 {
        font-size: 1.5rem;
    }
    
    .article-content h4 {
        font-size: 1.25rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-cta {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
    }
}