/* ==================================================
   記事ページ共通デザイン
================================================== */

body {
    background-color: #fff;

    background-image:
        linear-gradient(
            90deg,
            transparent 0 24px,
            rgba(88, 185, 233, .30) 24px 38px,
            transparent 38px 62px,
            rgba(255, 212, 92, .27) 62px 76px,
            transparent 76px 100px,
            rgba(88, 188, 104, .24) 100px 114px,
            transparent 114px 138px,
            rgba(244, 160, 100, .20) 138px 152px,
            transparent 152px 176px
        ),
        linear-gradient(
            0deg,
            transparent 0 24px,
            rgba(88, 185, 233, .20) 24px 38px,
            transparent 38px 62px,
            rgba(255, 212, 92, .20) 62px 76px,
            transparent 76px 100px,
            rgba(88, 188, 104, .17) 100px 114px,
            transparent 114px 138px,
            rgba(244, 160, 100, .14) 138px 152px,
            transparent 152px 176px
        );

    background-size: 176px 176px;
}

article {
    box-shadow: 0 8px 24px rgba(46, 76, 96, .12);
}
/* ==================================================
   記事下部ナビ
================================================== */

.article-navigation {
    max-width: 900px;
    margin: 28px auto 60px;
    padding: 18px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;

}

.article-navigation-side {
    min-width: 0;
    display: flex;
}

.article-navigation-side .article-navigation-link {
    width: 100%;
    height: 100%;
}

.next-side {
    text-align: right;
}

.article-navigation-link,
.articles-back-link {


    text-decoration: none;
}

.article-navigation-link {
    height: 100%;
    padding: 13px 15px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    color: #263b4d;

    background: #fff;

    border: 1px solid #dce7ec;
    border-radius: 11px;
}

.article-navigation-link:hover {
    background: #f4fbff;
}

.navigation-label {
    display: block;
    margin-bottom: 5px;

    color: #5caed8;

    font-size: 13px;
    font-weight: 800;
}

.navigation-title {
    display: block;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.article-navigation-center {
    display: flex;
    align-items: stretch;
}

.articles-back-link {
    width: 100%;
    height: 100%;

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

    text-align: center;
    padding: 13px 18px;

    color: #263b4d;

    background: #fff5cf;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;
}

.articles-back-link:hover {
    background: #ffeaa0;
}


/* スマホ */

@media (max-width: 700px) {

    .article-navigation {
        width: calc(100% - 24px);

        grid-template-columns: 1fr;

        margin-top: 20px;
    }

    .next-side {
        text-align: left;
    }

    .article-navigation-center {
        justify-content: center;
    }
}
