/* =========================================================
   勤スポニュース
   ========================================================= */

.kinspo-news-page {
    background: #fff;
    color: #333;
}

.kinspo-news-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

.kinspo-news-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.pc-only {
    display: block;
}


/* =========================================================
   パンくず
   ========================================================= */

.kinspo-news-breadcrumb {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #777;
    font-size: 13px;
}

.kinspo-news-breadcrumb .separator {
    margin: 0 8px;
    color: #aaa;
}


/* =========================================================
   ページタイトル
   ========================================================= */

.kinspo-news-heading {
    padding: 40px 0;
    text-align: center;
}

.kinspo-news-heading-sub {
    margin: 0;
    color: #1454a0;
    font-size: 16px;
    font-weight: 600;
}

.kinspo-news-heading p {
    margin: 24px 0 0;
    color: #555;
    font-size: 14px;
    line-height: 2;
}


/* =========================================================
   最新号
   ========================================================= */

.kinspo-latest {
    position: relative;
    padding: 0 0 75px;
}

/*
 * 最新号ラベル
 * 画面左端ではなくコンテンツ幅に合わせる
 */
.kinspo-latest-label {
    position: absolute;
    z-index: 3;

    top: 0;

    left: max(
        20px,
        calc((100% - 1100px) / 2)
    );

    padding: 9px 42px 9px 18px;

    color: #fff;
    background: #1454a0;

    font-size: 14px;
    font-weight: 700;

    clip-path: polygon(
        0 0,
        100% 0,
        88% 100%,
        0 100%
    );
}

.kinspo-latest-inner {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;

    min-height: 500px;

    padding: 65px 80px;

    background:
        linear-gradient(
            135deg,
            #f5f9fd 0%,
            #eef5fb 100%
        );

    border-radius: 2px;
}


/* 最新号表紙 */

.kinspo-latest-cover {
    display: flex;
    justify-content: center;
    align-items: center;
}

.kinspo-cover-shadow {
    width: min(330px, 85%);

    background: #fff;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .12),
        0 18px 35px rgba(0, 0, 0, .08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.kinspo-cover-shadow:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, .15),
        0 22px 40px rgba(0, 0, 0, .1);
}

.kinspo-cover-shadow img {
    width: 100%;
}


/* 最新号情報 */

.kinspo-latest-info {
    padding-left: 45px;
}

.kinspo-latest-number {
    color: #1454a0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .05em;
}

.kinspo-latest-number span {
    font-size: 54px;
    line-height: 1;
}

.kinspo-latest-date {
    display: inline-block;

    margin-top: 10px;
    padding: 7px 15px;

    color: #fff;
    background: #1454a0;

    font-size: 14px;
    font-weight: 600;
}

.kinspo-latest-info > p {
    max-width: 430px;

    margin: 28px 0;

    color: #444;

    font-size: 14px;
    line-height: 2;
}


/* =========================================================
   ボタン
   ========================================================= */

.kinspo-button {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    width: 300px;
    min-height: 50px;

    box-sizing: border-box;

    border-radius: 3px;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.kinspo-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .12);
}

.kinspo-button-primary {
    color: #fff !important;
    background: #1454a0;
}

.kinspo-button-primary:hover {
    color: #fff !important;
    background: #0d4488;
}

.kinspo-button-secondary {
    margin-top: 12px;

    color: #1454a0 !important;
    background: #fff;

    border: 1px solid #1454a0;
}

.kinspo-button-secondary:hover {
    color: #fff !important;
    background: #1454a0;
}

.button-icon {
    margin-right: 9px;
    font-size: 16px;
}

.button-arrow {
    position: absolute;
    right: 18px;

    font-size: 24px;
    font-weight: 300;
}

.kinspo-pdf-note {
    width: 300px;

    margin: 7px 0 0 !important;

    color: #777 !important;

    font-size: 11px !important;
    text-align: center;
}


/* =========================================================
   バックナンバー
   ========================================================= */

.kinspo-archive {
    padding: 10px 0 80px;
}


/* セクションタイトル */

.kinspo-section-title {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 42px;
}

.kinspo-section-title span {
    flex: 1;

    height: 1px;

    background: #9db7d3;
}

.kinspo-section-title h2 {
    flex: 0 0 auto;

    margin: 0;
    padding: 0;
    border: none;

    color: #1454a0;

    font-size: 27px;
    font-weight: 700;

    letter-spacing: .08em;
}


/* =========================================================
   年
   ========================================================= */

.kinspo-year {
    margin-bottom: 55px;
}

.kinspo-year h3 {
    margin: 0 0 18px;
    padding: 0 0 9px;

    color: #1454a0;

    border-bottom: 2px solid #1454a0;

    font-size: 21px;
    font-weight: 700;
}


/* =========================================================
   バックナンバーカード
   ========================================================= */

.kinspo-archive-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.kinspo-archive-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #ddd;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.kinspo-archive-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 9px 22px rgba(0, 0, 0, .1);
}


/* 表紙 */

.kinspo-card-cover {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 280px;

    padding: 14px;

    background: #f5f6f7;
}

.kinspo-card-cover img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .12);
}


/* 情報 */

.kinspo-card-info {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px 12px 8px;
}

.kinspo-card-number {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    color: #fff;
    background: #1454a0;

    font-size: 14px;
    font-weight: 700;
}

.kinspo-card-date {
    color: #444;

    font-size: 12px;
    line-height: 1.5;
}


/* PDFボタン */

.kinspo-card-button {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    min-height: 36px;

    margin: 0 10px 10px;

    color: #1454a0 !important;

    border: 1px solid #1454a0;

    text-decoration: none !important;

    font-size: 12px;

    transition:
        color .2s ease,
        background-color .2s ease;
}

.kinspo-card-button:hover {
    color: #fff !important;
    background: #1454a0;
}

.kinspo-card-button span {
    font-size: 15px;
}


/* =========================================================
   PDF注意書き
   ========================================================= */

.kinspo-pdf-reader {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 50px;
    padding: 16px 20px;

    background: #f7f7f7;

    font-size: 12px;
}

.reader-icon {
    padding: 5px 7px;

    color: #fff;
    background: #d33;

    font-size: 9px;
    font-weight: 700;
}

.kinspo-pdf-reader p {
    margin: 0;
}

.kinspo-pdf-reader a {
    color: #1454a0;
}


/* =========================================================
   データ未登録時のメッセージ
   ========================================================= */

.kinspo-empty {
    padding: 40px 20px;

    color: #777;
    background: #f7f7f7;

    text-align: center;
    font-size: 14px;
}


/* =========================================================
   タブレット
   ========================================================= */

@media (max-width: 900px) {

    .kinspo-latest-inner {
        grid-template-columns: 45% 55%;

        padding: 55px 40px;
    }

    .kinspo-latest-info {
        padding-left: 30px;
    }

    .kinspo-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =========================================================
   スマートフォン
   ========================================================= */

@media (max-width: 767px) {

    .kinspo-news-container {
        width: calc(100% - 30px);
    }

    .pc-only {
        display: none;
    }


    /* タイトル */

    .kinspo-news-heading {
        padding: 40px 0 30px;
    }

    .kinspo-news-heading h1 {
        font-size: 29px;
    }

    .kinspo-news-heading-sub {
        font-size: 15px;
    }

    .kinspo-news-heading p {
        margin-top: 20px;

        font-size: 13px;
        line-height: 1.9;
    }


    /* 最新号 */

    .kinspo-latest {
        padding-bottom: 50px;
    }

    .kinspo-latest-label {
        left: 15px;

        padding: 8px 30px 8px 13px;

        font-size: 12px;
    }

    .kinspo-latest-inner {
        display: block;

        min-height: 0;

        padding: 55px 20px 30px;
    }

    .kinspo-latest-cover {
        margin-bottom: 30px;
    }

    .kinspo-cover-shadow {
        width: min(280px, 90%);
    }

    .kinspo-latest-info {
        padding-left: 0;

        text-align: center;
    }

    .kinspo-latest-number {
        font-size: 26px;
    }

    .kinspo-latest-number span {
        font-size: 43px;
    }

    .kinspo-latest-info > p {
        font-size: 13px;
    }

    .kinspo-button {
        width: 100%;
    }

    .kinspo-pdf-note {
        width: 100%;
    }


    /* バックナンバー */

    .kinspo-section-title {
        gap: 10px;
        margin-bottom: 30px;
    }

    .kinspo-section-title h2 {
        font-size: 21px;
    }

    .kinspo-archive-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .kinspo-card-cover {
        height: 220px;
        padding: 10px;
    }

    .kinspo-card-info {
        gap: 7px;

        padding: 9px 8px 6px;
    }

    .kinspo-card-number {
        flex-basis: 33px;

        width: 33px;
        height: 33px;

        font-size: 12px;
    }

    .kinspo-card-date {
        font-size: 10px;
    }

    .kinspo-card-button {
        margin: 0 7px 7px;

        min-height: 32px;

        font-size: 10px;
    }

    .kinspo-pdf-reader {
        align-items: flex-start;

        font-size: 10px;
    }

}