/* ニュース記事詳細ページ専用CSS */

/* ニュース記事のヒーロー */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    margin-top: -80px;
    padding-top: 160px;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.news-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.news-date {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
}

.news-category {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* メインコンテンツ */
.news-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.news-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 50px 0 30px;
    color: #2c3e50;
    position: relative;
    padding-left: 20px;
}

.news-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.news-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-content p {
    margin-bottom: 24px;
    text-align: justify;
}

.news-content ul {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.news-content ul li {
    position: relative;
    padding: 12px 0 12px 30px;
    margin-bottom: 8px;
    background: #f8f9fc;
    border-radius: 8px;
    padding: 16px 16px 16px 50px;
    transition: all 0.3s ease;
}

.news-content ul li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

.news-content ul li:hover {
    background: #e8f2ff;
    transform: translateX(5px);
}

/* 特別なボックス要素 */
.security-highlight,
.case-study-overview,
.holiday-notice,
.next-event,
.apology-section,
.new-year-message {
    background: #f8f9fc;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    border-left: 6px solid #667eea;
}

.security-highlight h3,
.case-study-overview h2,
.holiday-notice h2,
.next-event h3,
.apology-section h2,
.new-year-message h2 {
    color: #2c3e50;
    margin-top: 0;
}

/* 課題リスト */
.challenges-list {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.challenge-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #e74c3c;
}

.challenge-item h3 {
    font-size: 18px;
    margin: 0 0 15px;
    color: #e74c3c;
}

/* ソリューションステップ */
.solution-steps {
    margin: 40px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin: 30px 0;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 20px;
}

.step-content h3 {
    margin: 0 0 10px;
    color: #2c3e50;
}

/* 効果表示 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.result-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.result-metric {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.result-label {
    font-size: 14px;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.result-detail {
    font-size: 12px;
    color: #95a5a6;
}

/* お客様の声 */
.testimonials {
    margin: 40px 0;
}

.testimonial,
.client-testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial::before,
.client-testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: #667eea;
    font-family: serif;
    line-height: 1;
}

.testimonial p,
.client-testimonial p {
    margin: 0 0 15px;
    font-style: italic;
    color: #2c3e50;
    font-size: 16px;
}

.testimonial cite,
.client-testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: #667eea;
    display: block;
    text-align: right;
}

/* 休業日程表示 */
.holiday-dates,
.resume-date {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 20px 0;
    border: 2px solid #667eea;
}

/* 連絡方法 */
.contact-info-holiday {
    margin: 30px 0;
}

.contact-method {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #667eea;
}

.contact-method h3 {
    margin: 0 0 15px;
    color: #2c3e50;
}

/* 緊急連絡先 */
.emergency-contact {
    background: #fff3cd !important;
    border: 1px solid #ffeaa7 !important;
    border-left: 4px solid #fdcb6e !important;
}

/* 署名 */
.company-signature {
    text-align: right;
    padding: 30px 0;
    border-top: 2px solid #ecf0f1;
    margin-top: 50px;
}

/* CTAセクション */
.news-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 50px 0;
    color: white;
}

.news-cta h3 {
    color: white;
    margin: 0 0 20px;
    font-size: 24px;
}

.news-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px;
    font-size: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: #fff;
    color: #667eea;
}

.btn-primary:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* 関連サービス */
.related-services {
    background: #f8f9fc;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.related-services h3 {
    margin: 0 0 20px;
    color: #2c3e50;
}

.related-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-services ul li {
    background: #fff;
    margin: 10px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-services ul li::before {
    content: '→';
    color: #667eea;
    font-weight: bold;
}

.related-services ul li a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.related-services ul li a:hover {
    color: #764ba2;
}

/* フッター */
.news-footer {
    text-align: center;
    margin: 60px 0 20px;
    padding: 30px 0;
    border-top: 1px solid #ecf0f1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-content {
        padding: 0 15px;
    }
    
    .news-content h2 {
        font-size: 24px;
        padding-left: 15px;
    }
    
    .news-content h3 {
        font-size: 20px;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .result-metric {
        font-size: 28px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 0 15px;
    }
    
    .challenges-list {
        grid-template-columns: 1fr;
    }
    
    .news-cta {
        padding: 30px 20px;
    }
    
    .news-cta h3 {
        font-size: 20px;
    }
}