/* ========================================
   公開側 コラム
======================================== */


/* ========================================
   Breadcrumb
======================================== */

.front_column_breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 22px;

    color: #777;

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

.front_column_breadcrumb_link {
    color: #2457a6;

    text-decoration: none;
}

.front_column_breadcrumb_link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.front_column_breadcrumb_separator {
    color: #aaa;
}

.front_column_breadcrumb_current {
    min-width: 0;

    color: #666;

    overflow-wrap: anywhere;
}


/* ========================================
   Column index
======================================== */

.front_column {
    min-height: 100%;
}

.front_column_header {
    margin-bottom: 26px;
    padding-bottom: 16px;

    border-bottom: 2px solid #2f3337;
}

.front_column_title {
    margin: 0;

    color: #222;

    font-size: 27px;
    font-weight: 800;
    line-height: 1.45;
}

.front_column_lead {
    margin: 8px 0 0;

    color: #666;

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

.front_column_count {
    margin-top: 8px;

    color: #888;

    font-size: 12px;
}

.front_column_list {
    display: flex;
    flex-direction: column;

    gap: 24px;
}

.front_column_card {
    display: grid;

    grid-template-columns:
        minmax(190px, 32%)
        minmax(0, 1fr);

    gap: 20px;

    padding-bottom: 24px;

    border-bottom: 1px solid #e4e6e9;
}

.front_column_card:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.front_column_card.has_no_image {
    grid-template-columns: 1fr;
}

.front_column_card_image_link {
    display: block;

    align-self: start;

    overflow: hidden;

    background: #f1f2f4;

    border-radius: 7px;
}

.front_column_card_image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    object-fit: cover;

    transition: transform 0.18s ease;
}

.front_column_card_image_link:hover
.front_column_card_image {
    transform: scale(1.025);
}

.front_column_card_body {
    min-width: 0;
}

.front_column_card_meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px 13px;

    margin-bottom: 8px;
}

.front_column_card_category {
    display: inline-block;

    padding: 3px 8px;

    background: #eef1f4;

    border-radius: 4px;

    color: #444;

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

.front_column_card_category:hover {
    background: #e2e6ea;
}

.front_column_card_date {
    color: #8a8d91;

    font-size: 11px;
}

.front_column_card_title {
    margin: 0;

    color: #222;

    font-size: 20px;
    font-weight: 800;
    line-height: 1.55;
}

.front_column_card_title_link:hover {
    color: #2457a6;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.front_column_card_excerpt {
    margin: 10px 0 0;

    color: #5d6165;

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

.front_column_card_tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 12px;
}

.front_column_card_tag {
    color: #666;

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

.front_column_card_tag:hover {
    color: #2457a6;

    text-decoration: underline;
    text-underline-offset: 2px;
}

.front_column_empty {
    padding: 38px 20px;

    background: #f7f8f9;

    border: 1px solid #e3e5e8;
    border-radius: 7px;

    color: #777;

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


/* ========================================
   Pagination
======================================== */

.front_column_pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 34px;
    padding-top: 24px;

    border-top: 1px solid #e4e6e9;
}

.front_column_pagination_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;
    padding: 0 11px;

    background: #fff;

    border: 1px solid #d8dce0;
    border-radius: 5px;

    color: #444;

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

.front_column_pagination_link:hover {
    background: #f2f3f5;
}

.front_column_pagination_link.is_current {
    background: #2b2d30;

    border-color: #2b2d30;

    color: #fff;
}


/* ========================================
   Column article
======================================== */

.column_article {
    max-width: 900px;

    margin: 0 auto;
}

.column_article_header {
    margin-bottom: 28px;
    padding-bottom: 18px;

    border-bottom: 1px solid #e2e5e8;
}

.column_article_category {
    display: inline-block;

    margin-bottom: 10px;
    padding: 4px 9px;

    background: #eef1f4;

    border-radius: 4px;

    color: #444;

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

.column_article_category:hover {
    background: #e2e6ea;
}

.column_article_title {
    margin: 0;

    color: #222;

    font-size: clamp(27px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.4;

    overflow-wrap: anywhere;
}

.column_article_dates {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px 15px;

    margin-top: 12px;

    color: #888;

    font-size: 11px;
    line-height: 1.6;
}

.column_article_excerpt {
    margin: 15px 0 0;

    color: #555;

    font-size: 15px;
    line-height: 1.85;
}

.column_article_featured {
    margin: 0 0 34px;
}

.column_article_featured img {
    display: block;

    width: 100%;
    height: auto;
    max-height: 620px;

    object-fit: contain;
}

.column_article_featured figcaption {
    margin-top: 8px;

    color: #777;

    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}


/* ========================================
   Article body
======================================== */

.column_article_body {
    color: #2d3033;

    font-size: 16px;
    line-height: 1.95;

    overflow-wrap: anywhere;
}

.column_article_body h2 {
    margin: 2.25em 0 0.9em;
    padding: 0.55em 0.75em;

    background: #f5f6f8;

    border-left: 5px solid #222;

    color: #222;

    font-size: 1.5em;
    line-height: 1.5;
}

.column_article_body h3 {
    margin: 1.95em 0 0.75em;
    padding-bottom: 0.4em;

    border-bottom: 2px solid #ddd;

    color: #2a2d30;

    font-size: 1.25em;
    line-height: 1.55;
}

.column_article_body h4 {
    margin: 1.7em 0 0.65em;

    color: #333;

    font-size: 1.08em;
    line-height: 1.55;
}

.column_article_body p {
    margin: 0 0 1.4em;
}

.column_article_body ul,
.column_article_body ol {
    margin: 0 0 1.45em;
    padding-left: 1.7em;
}

.column_article_body li + li {
    margin-top: 0.35em;
}

.column_article_body strong {
    font-weight: 800;
}

.column_article_body a {
    color: #2457a6;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.column_article_body blockquote {
    margin: 1.6em 0;
    padding: 14px 18px;

    background: #f7f8f9;

    border-left: 4px solid #aeb4bb;

    color: #555;
}

.column_article_body img,
.column_article_body video {
    display: block;

    max-width: 100%;
    height: auto;
}

.column_article_body video {
    width: 100%;

    background: #000;
}

.column_article_media {
    margin: 30px 0;
}

.column_article_media img {
    margin-right: auto;
    margin-left: auto;
}

.column_article_media figcaption {
    margin-top: 8px;

    color: #777;

    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.column_article_body table {
    width: 100%;
    margin: 24px 0;

    border-collapse: collapse;
}

.column_article_body th,
.column_article_body td {
    padding: 10px 12px;

    border: 1px solid #ddd;

    vertical-align: top;
}

.column_article_body th {
    background: #f5f6f8;

    font-weight: 700;
}


/* ========================================
   Article tags / back link
======================================== */

.column_article_tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 36px;
    padding-top: 22px;

    border-top: 1px solid #e5e7eb;
}

.column_article_tag {
    display: inline-block;

    padding: 5px 10px;

    background: #f1f2f4;

    border-radius: 999px;

    color: #555;

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

.column_article_tag:hover {
    background: #e3e6e9;

    color: #333;
}

.column_article_back {
    margin-top: 30px;
}

.column_article_back_link {
    display: inline-flex;
    align-items: center;

    min-height: 38px;
    padding: 0 13px;

    background: #fff;

    border: 1px solid #d8dce0;
    border-radius: 5px;

    color: #444;

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

.column_article_back_link:hover {
    background: #f3f4f6;
}


/* ========================================
   Responsive
======================================== */

@media screen and (max-width: 720px) {

    .front_column_card {
        grid-template-columns: 150px minmax(0, 1fr);

        gap: 15px;
    }

    .front_column_card_title {
        font-size: 17px;
    }

    .front_column_card_excerpt {
        font-size: 12px;
    }

    .column_article_body {
        font-size: 15px;
    }
}


@media screen and (max-width: 520px) {

    .front_column_breadcrumb {
        margin-bottom: 17px;
    }

    .front_column_header {
        margin-bottom: 21px;
    }

    .front_column_title {
        font-size: 23px;
    }

    .front_column_card {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .front_column_card_image {
        aspect-ratio: 16 / 9;
    }

    .front_column_card_title {
        font-size: 18px;
    }

    .front_column_pagination_link {
        min-width: 35px;
        height: 35px;
        padding: 0 9px;
    }

    .column_article_title {
        font-size: 25px;
    }

    .column_article_excerpt {
        font-size: 14px;
    }

    .column_article_featured {
        margin-bottom: 27px;
    }

    .column_article_body {
        font-size: 15px;
        line-height: 1.9;
    }

    .column_article_body h2 {
        font-size: 1.35em;
    }

    .column_article_body h3 {
        font-size: 1.18em;
    }

    .column_article_body table {
        display: block;

        overflow-x: auto;

        white-space: nowrap;
    }
}
