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

section.contents {
    margin: 0;
    padding: 60px 0 80px;
}

.news-list-box {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.news-date-category-title {
    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%);
    border-radius: 25px 25px 0 0;
    padding: 56px 4%;
}

h3.news-title {
    margin: 0 0 20px;
    color: #4d6d90;
    font-size: 3.6rem;
    line-height: 1.4;
    font-weight: bold;
    font-family: "dnp-shuei-gothic-kin-std", sans-serif;
}

p.news-date {
    margin: 0;
    font-size: 2.4rem;
    line-height: 1.5;
    font-family: "dnp-shuei-gothic-kin-std", sans-serif;
}

.news-content {
    padding: 56px 4%;
    background-color: #f4f8f9;
    border-radius: 0 0 25px 25px;
}

.news-content p {
    margin: 0 0 1em;
    font-size: 2.2rem;
    line-height: 1.75;
    font-family: "dnp-shuei-gothic-kin-std", sans-serif;
}

.news-content p:last-child {
    margin-bottom: 0;
}

.back-link {
    margin: 64px auto 0;
    padding: 0;
    text-align: center;
    max-width: 1200px;
}

/* ボタン本体（aタグ） */
.btn-back {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: auto;
    padding: 28px 48px 28px 132px;
    border-radius: 120px;
    background-color: #21a4dc;
    color: #ffffff;
    font-weight: bold;
    font-size: 2.2rem;
    font-family: "dnp-shuei-gothic-kin-std", sans-serif;
    cursor: pointer;
    transition: transform .3s ease;
    overflow: hidden;
    text-decoration: none;
}

/* テキスト */
.btn-back .back-text {
    position: relative;
    z-index: 3;
    color: inherit;
}

/* 円SVG */
.back-circle {
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    width: 75px;
    height: 75px;
    z-index: 1;
    pointer-events: none;
}

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

.back-circle text {
    font-size: 9px;
    letter-spacing: 0;
    font-weight: 700;
    fill: #fff;
}

/* ← 矢印 */
.btn-back::after {
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
    font-size: 3rem;
    content: "←";
    z-index: 2;
}

/* hover */
@media (min-width: 1026px) {
    .btn-back:hover {
        transform: translateY(-6px);
    }
}

/* 回転 */
@keyframes back-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

/* =========================
   Tablet (768〜1025px)
========================= */

@media (max-width:1025px) and (min-width:768px) {
    section.contents {
        padding: 48px 0 64px;
    }

    .news-list-box {
        width: 90%;
    }

    .news-date-category-title {
        padding: 48px 5%;
    }

    h3.news-title {
        font-size: 2.8rem;
        margin-bottom: 18px;
        line-height: 1.45;
    }

    p.news-date {
        font-size: 2rem;
        line-height: 1.5;
    }

    .news-content {
        padding: 48px 5%;
    }

    .news-content p {
        font-size: 2rem;
        line-height: 1.75;
    }

    .back-link {
        margin: 52px auto 0;
        padding: 0;
    }

    .btn-back {
        padding: 26px 44px 26px 116px;
        font-size: 2rem;
    }

    .back-circle {
        width: 72px;
        height: 72px;
        left: 3%;
    }

    .back-circle text {
        font-size: 8px;
    }

    .btn-back::after {
        font-size: 2.8rem;
        left: 26px;
    }
}

/* =========================
   Mobile (~767px) - タブレットの見た目に近づける
========================= */

@media (max-width: 767px) {
    section.contents {
        padding: 40px 0 56px;
    }

    .news-list-box {
        width: 92%;
    }

    .news-date-category-title {
        padding: 40px 5%;
    }

    h3.news-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    p.news-date {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .news-content {
        padding: 40px 5%;
    }

    .news-content p {
        font-size: 1.6rem;
        line-height: 1.75;
    }

    .news-content img {
        max-width: 100%;
        height: auto;
    }

    .back-link {
        margin: 48px auto 0;
        padding: 0;
    }

    .btn-back {
        padding: 24px 40px 24px 100px;
        font-size: 1.8rem;
    }

    .back-circle {
        width: 58px;
        height: 58px;
        left: 2%;
    }

    .back-circle text {
        font-size: 7px;
    }

    .btn-back::after {
        font-size: 2.4rem;
        left: 22px;
    }
}

.wp-block-image img {
    box-sizing: border-box;
    height: auto;
    vertical-align: baseline;
    max-width: 50% !important;
    margin: 0 auto;
    display: block;
}