/* News & Attention Ticker Sections */
.p-attention-ticker {
    padding-bottom: 0px; /* Add space at the bottom for the link */
    width: fit-content;
margin: 3rem auto 0 auto;
    list-style: none !important; /* Remove list bullets */
}


.topnewslist{
    position: relative; /* Needed for absolute positioning of the child link */
    padding-bottom: 50px; /* Add space at the bottom for the link */
    width: fit-content;
margin: 3rem auto;
    list-style: none !important; /* Remove list bullets */
}

/* LI element styling */
.topnewslist li, .p-attention-ticker__slider li {
    padding: 8px 0;
    border-bottom: 1px dotted #ccc;
}

.topnewslist li:last-child, .p-attention-ticker__slider li:last-child {
    border-bottom: none;
}
.p-attention-ticker ul{
        list-style: none !important; /* Remove list bullets */

}
.p-attention-ticker ul li time{
 padding-right: 1em;   
}

.p-attention-ticker ul li a{
    color: black !important;

}
/* "一覧" Link Styling */
.p-more--news {
    position: absolute !important;
    right: -3em;
    bottom: 0;
}
.topnewslist li time{
 padding-right: 1em;   
}

@media screen and (max-width: 768px) {
.topnewslist li a, .p-attention-ticker ul li a{
display: flex;

}
.topnewslist, .p-attention-ticker {
margin: 3rem auto;
padding: 1rem;
}
.p-more--news {
    right: 20px;
    bottom: -20px;
}
.lpm{
    letter-spacing: -0.08em;
}
}


p.atitle {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
    color: rgb(209, 12, 12);
    padding-bottom: 0.25em;
    border-bottom: 2px solid rgb(209, 12, 12);
}

