@charset "UTF-8";
/* 日本下水道事業団コーポレートサイト タイムライン用CSS */

/*--------------------------------------------------------------------------- タイムライン */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #004080; /* 縦線の色 */
}

.timeline-item {
    position: relative;
    margin: 20px 0;
    padding-left: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid #004080; /* ドットの色 */
    border-radius: 50%;
    z-index: 1;
}

.timeline-year {
    font-size: 18px;
    font-weight: bold;
    color: #004080; /* 年の色 */
    margin-top: 20px; /* 必要に応じて値を調整 */
    margin-bottom: 5px;
}

.timeline-content-container {
    display: flex;
    gap: 10px;
}

.timeline-content {
    background-color: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.timeline-content h3 {
    margin: 0;
    color: #333;
}

.timeline-content p {
    margin: 5px 0 0;
    color: #555;
}

/*--------------------------------------------------------------------------- ニュースレター */
.newsletter-item {
    display: flex;
    align-items: flex-start; /* 画像とテキストの上部を揃える */
    gap: 20px;
    margin-bottom: 20px;
}

.newsletter-item img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .newsletter-item {
        flex-direction: column; /* スマホでは縦に並べる */
        align-items: left;
    }
}	
