/* Dedicated SNS links section. Does not modify existing top.css. */
/* All SNS presentation rules are scoped to ndkSnsSection. */
/* On this top page only, reduce the preceding news section's 300px gap.
   The body:has() guard ensures this does not affect pages without our SNS block.
   Loaded after top.css, with higher specificity than [class$="Area"]. */
.ndkSnsSection {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 700px;
    margin: 40px auto 100px;
    padding: 0;
    text-align: center;
    position: relative;
}
.ndkSnsSection, .ndkSnsSection * {
    box-sizing: border-box;
}
.ndkSnsSection .ndkSnsTitle {
    margin: 0 0 10px;
    padding: 0;
    color: #333333;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
}
.ndkSnsSection .ndkSnsIntro {
    margin: 0 0 25px;
    color: #777777;
    font-size: 14px;
    line-height: 1.7;
}
.ndkSnsSection .ndkSnsList {
    width: 100%;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}
.ndkSnsSection .ndkSnsItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 20px 15px;
    color: #333333;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.ndkSnsSection .ndkSnsItem + .ndkSnsItem {
    border-top: 1px solid #eeeeee;
}
.ndkSnsSection .ndkSnsItem:hover {
    background-color: #f5f5f5;
    color: #333333;
    text-decoration: none;
}
.ndkSnsSection .ndkSnsItem:focus-visible {
    outline: 2px solid #555555;
    outline-offset: -3px;
}
.ndkSnsSection .ndkSnsInfo {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.ndkSnsSection .ndkSnsName {
    color: #333333;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
}
.ndkSnsSection .ndkSnsSub {
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
}
.ndkSnsSection .ndkSnsAction {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: #555555;
    font-size: 13px;
    line-height: 1.5;
}
.ndkSnsSection .ndkSnsArrow {
    font-size: 20px;
    line-height: 1;
}
@media print, screen and (min-width: 768px) {
    body:has(.ndkSnsSection) .newsArea {
        margin-bottom: 100px;
    }
    .ndkSnsSection {
        margin-top: 0;
    }
}
@media screen and (max-width: 767px) {
    .ndkSnsSection {
        width: calc(100% - 32px);
        margin: 24px auto 70px;
    }
    .ndkSnsSection .ndkSnsTitle {
        font-size: 21px;
    }
    .ndkSnsSection .ndkSnsItem {
        padding: 18px 10px;
    }
    .ndkSnsSection .ndkSnsName {
        font-size: 15px;
    }
    .ndkSnsSection .ndkSnsAction {
        gap: 5px;
        font-size: 12px;
    }
}
