/* DX認定ニュース詳細ページ専用スタイル */

.dx-news-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.dx-news-header {
    text-align: center;
    margin-bottom: 40px;
}

.dx-news-header h1 {
    font-size: 2rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.dx-news-divider {
    position: relative;
    height: 2px;
    background-color: #0097ce;
    margin: 20px auto 40px auto;
    max-width: 100%;
}

.dx-news-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #fff;
    border: 2px solid #0097ce;
    border-radius: 50%;
}

.dx-news-date {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

.dx-news-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    text-align: justify;
}

.dx-news-logo-wrapper {
    text-align: center;
    margin: 40px 0;
}

.dx-news-logo-wrapper img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.dx-news-section-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.dx-news-section-title::before {
    content: '●';
    color: #0097ce;
    margin-right: 8px;
    font-size: 1rem;
}

.dx-news-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.dx-news-external-link {
    margin-left: 20px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.dx-news-external-link a {
    color: #0097ce;
    text-decoration: underline;
    word-break: break-all;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dx-news-external-link a:hover {
    color: #007099;
}

/* 参考画像を模したグレー枠線ボックス */
.dx-news-initiatives-box {
    border: 2px solid #d0d7de;
    border-radius: 12px;
    padding: 35px 40px;
    margin: 40px 0;
    background-color: #fafbfc;
}

.dx-news-initiatives-box h3 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #222;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.dx-news-initiative-item {
    margin-bottom: 25px;
}

.dx-news-initiative-item:last-child {
    margin-bottom: 0;
}

.dx-news-initiative-item h4 {
    font-size: 1.05rem;
    font-weight: bold;
    color: #0097ce;
    margin-top: 0;
    margin-bottom: 8px;
}

.dx-news-initiative-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* ボタンエリア */
.dx-news-btn-area {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.dx-news-btn-area .btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #0097ce 0%, #0080b3 100%);
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 151, 206, 0.2);
}

.dx-news-btn-area .btn-primary:hover {
    background: linear-gradient(135deg, #0080b3 0%, #006a96 100%);
    transform: translateY(-2px);
}

.dx-news-btn-area .btn-secondary {
    display: inline-block;
    background: #f0f4f8;
    color: #333 !important;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #d0d7de;
    transition: all 0.3s ease;
}

.dx-news-btn-area .btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .dx-news-container {
        padding: 40px 20px;
    }

    .dx-news-header h1 {
        font-size: 1.5rem;
    }

    .dx-news-initiatives-box {
        padding: 25px 20px;
    }

    .dx-news-initiatives-box h3 {
        font-size: 1.1rem;
    }

    .dx-news-btn-area {
        flex-direction: column;
        align-items: stretch;
    }

    .dx-news-btn-area a {
        text-align: center;
    }
}
