/* ==================================================
   Header
================================================== */
.header-nav .news .header-nav-item {
    border: 2px solid #21a4dc;
    border-radius: 25px;
}

/* sec01 */
.sec01.archive {
    margin: 200px 0;
    padding: 0;
}

.sec01 .wrapper {
    display: flex;
    justify-content: center;
}

.sec01 .wrapper .inner {
    width: 100vw;
    background-color: #f4f8f9;
}

.sec01 .news-link {
    display: flex;
    position: relative;
    padding: 40px 20%;
    border-bottom: .5px solid #4d6d90;
    color: inherit;
    text-decoration: none;
    gap: 120px;
    transition: background-color .3s ease;
}

.sec01 .news-link:first-of-type {
    border-top: .5px solid #4d6d90;
}

.sec01 .circle-btn {
    opacity: 0;
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translate(50%, -50%);
    width: 5%;
    height: auto;
    transition: opacity .3s ease;
}

.sec01 .circle-svg {
    width: 100%;
    height: 100%;
    animation: border-animation 15s linear infinite;
}

.sec01 .circle-text {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -.038em;

    fill: #4d6d90;
}

.sec01 .circle-arrow {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #222222;
    font-size: 2.4rem;
}

@keyframes border-animation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* =========================
   pagination 全体
========================= */
.pagination {
    margin: 80px 0 0;
    padding: 0 0 80px;
    display: flex;
    justify-content: center;
}

/* =========================
   pagination-links
========================= */
.pagination-links {
    display: flex;
    align-items: center;
    gap: 32px; /* Prev / 数字 / Next の間隔 */
}

/* =========================
   Prev / Next 共通
========================= */
.prev-link,
.next-link {
    display: flex;
    align-items: center;
}

/* a / span 共通 */
.prev-link a,
.next-link a,
.prev-link span,
.next-link span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}

/* =========================
   SVG 共通
========================= */
.prev-link svg,
.next-link svg {
    width: 40px;   /* ← サイズ調整ここ */
    height: auto;
    display: block;
}

/* 無効状態 */
.prev.disabled,
.next.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* =========================
   ページ番号
========================= */
/* ページネーション全体の基準 */
.pagination .pagination-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ページ番号ラッパー */
.pagination .page-number-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ページ番号共通 */
.pagination .page-number-wrapper a,
.pagination .page-number-wrapper span {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    line-height: 36px;   /* ← 高さと完全一致させる */
    padding: 0;
    box-sizing: border-box;
}

/* 現在ページ（青丸） */
.pagination .page-number-wrapper .current {
    background-color: #1e6fff;
    color: #fff;
    border-radius: 50%;
    font-weight: 600;

    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
    padding-left: 0.1em; /* ← これが決定打 */
}

/* ==================================================
    hover (PCのみ)
================================================== */
@media (min-width: 1026px) {
    .sec01 .wrapper .inner .news-link:hover {
        background: linear-gradient(90deg,
        rgba(31,133,181,.23) 0%,
        rgba(33,164,220,.23) 26.92%,
        rgba(237,234,57,.23) 72.41%,
        rgba(196,195,25,.23) 94.83%);
    }

    .sec01 .news-link:hover .circle-btn {
        opacity: 1;
    }

    .sec01 .wrapper .inner .news-link:hover::before,
    .sec01 .wrapper .inner .news-link:hover::after {
        opacity: 1;
    }
}

/* ==================================================
    Tablet (768〜1025px)
================================================== */
@media (max-width:1025px) and (min-width:768px) {
    .sec01.archive {
        margin: 150px 0;
    }

    .sec01 .wrapper .inner {
        width: 100%;
    }

    .sec01 .news-link {
        padding: 35px 15%;
        gap: 60px;
    }

    .sec01 .news-link p,
    .sec01 .news-link h3 {
        font-size: 2rem;
        line-height: 1.6;
    }

    .sec01 .circle-btn {
        opacity: 1;
        right: 15%;
        width: 6%;
    }

    .pagination {
        margin: 60px 0 0;
        padding: 0 0 60px;
    }
}

/* ==================================================
    Mobile (~767px)
================================================== */
@media (max-width:767px) {
    .sec01.archive {
        margin: 100px 0;
    }

    .sec01 .wrapper {
        margin-bottom: 0;
    }

    .sec01 .wrapper .inner {
        width: 100%;
    }

    .sec01 .news-link {
        flex-direction: row;
        align-items: center;
        padding: 30px 20px;
        gap: 15px;
    }

    .sec01 .news-link p {
        font-size: 1.4rem;
        margin-bottom: 0;
    }

    .sec01 .news-link h3 {
        font-size: 1.6rem;
        line-height: 1.5;
        flex: 1;
    }

    .sec01 .circle-btn {
        opacity: 1;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        margin-top: 0;
        align-self: auto;
    }

    .sec01 .circle-arrow {
        font-size: 1.8rem;
    }

    .pagination {
        margin: 40px 0 0;
        padding: 0 0 40px;
    }

    .pagination-links {
        gap: 20px;
    }

    .prev-link svg,
    .next-link svg {
        width: 30px;
    }

    .pagination .page-number-wrapper {
        gap: 8px;
    }

    .pagination .page-number-wrapper a,
    .pagination .page-number-wrapper span {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .pagination .page-number-wrapper .current {
        width: 32px;
        height: 32px;
    }
}







