/* ─────────────── */
/* Base */
/* ─────────────── */
.container-ss {
    max-width: 1200px !important;
}

.news-content {
    max-width: 1100px !important;;
}
.news-content p {
    margin-bottom: 0 !important;;
}

.contest__container {
    max-width: 900px;
    /* 900にしたいならここを900に */
    margin: 0 auto;
    padding: clamp(16px, 3vw, 40px);
}

.contest-section {
    margin-bottom: clamp(32px, 6vh, 72px);
}

/* 見出し */
.contest-title {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    margin: 0 0 clamp(16px, 3vh, 28px);
}

/* ─────────────── */
/* Intro list (ol/li) */
/* ─────────────── */

.contest-list {
    margin: 16px 0 0;
    padding-left: 1.2em;
    /* 番号のインデント */
}

.contest-list li {
    margin: 0 0 10px;
    line-height: 1.9;
}

.contest-list li strong {
    font-weight: 700;
}

/* ─────────────── */
/* Contest review (2-column) */
/* ─────────────── */

.contest-review-box {
    display: grid;
    gap: 20px;
    margin-bottom: clamp(24px, 4vh, 40px);
    grid-template-areas:
        "img"
        "text";
}

/* PC以上で2カラム */
@media (min-width: 900px) {
    .contest-review-box {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "img text";
        align-items: start;
    }

    .contest-review-box--reverse {
        grid-template-areas: "text img";
    }
}

.contest-review-img {
    grid-area: img;
}

.contest-review-text {
    grid-area: text;
}

/* スマホ時の余白 */
@media (max-width: 899px) {
    .contest-review-img {
        margin-bottom: 16px;
    }
}
/* ─────────────── */
/* 見出しアイコン付き（大賞など） */
/* ─────────────── */

.contest-award {
    font-size: 1.175rem;
    font-weight: 600;
    margin: 0 0 clamp(16px, 3vh, 28px);
    display: flex;
    align-items: center;
    gap: 7px;
}

.contest-award::before {
    content: "";
    width: 55px;
    height: 55px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex: 0 0 55px;
}

.contest-award-sbic::before {
    background-image: url(https://www.s-bic.co.jp/_wp/wp-content/themes/sbic/img/exterior/sbic_award.svg);
}

.contest-award-gold::before {
    background-image: url(https://www.s-bic.co.jp/_wp/wp-content/themes/sbic/img/exterior/gold_award.svg);
}

.contest-award--noicon {
    position: relative;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding-left: 14px;
    margin: 0 0 32px;
}

.contest-award--noicon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 4px;
    height: 1.2em;
    background: #222;
}

/* 大賞画像など */
.contest-image {
    margin: 0 0 clamp(16px, 3vh, 28px);
}

.contest-award-meta {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ─────────────── */
/* 最優秀賞グリッド */
/* ─────────────── */

.contest-three {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(335px, 1fr));
}

.contest-three-box {
    display: grid;
    gap: 10px;
}

.contest-three-category {
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    font-weight: 600;
    margin: 0;
    /* 余白は下の見出しルールで統一 */
}

.contest-three-info p {
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.8;
}

/* ─────────────── */
/* Video 3:2 */
/* ─────────────── */

.video-3x2 {
    position: relative;
    padding-top: 66.6667%;
    /* 2 / 3 */
}

.video-3x2 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.video-3x2 {
    background: #000;
    /* 黒フチで締まる */
    border-radius: 6px;
    /* 写真と揃える */
    overflow: hidden;
}

/* ─────────────── */
/* 受賞作品一覧テーブル（横スクロール対応） */
/* ─────────────── */

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.news-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    /* スマホで崩さず横スクロール */
}

.news-table th,
.news-table td {
    padding: .5em;
    line-height: 1.5;
    text-align: left;
    border: 1px solid #000;
    font-size: .875rem;
    vertical-align: middle;
}

.news-table thead th {
    background: #222;
    white-space: nowrap;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

/* テーブル列幅（thのinline style不要に） */
.news-table thead th:nth-child(1) {
    width: 20%;
}

.news-table thead th:nth-child(2) {
    width: 15%;
}

.news-table thead th:nth-child(3) {
    width: 35%;
}

.news-table thead th:nth-child(4) {
    width: 30%;
}

/* ─────────────── */
/* サムネ（必要になったら使う） */
/* ─────────────── */

.small-thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2%;
}

.small-thumb img {
    width: 120px;
    height: auto;
}

.contest-award-block {
    background: #f7f7f7;
    padding: clamp(24px, 4vw, 48px);
    border-radius: 12px;
}

.contest-review {
    background: #fafafa;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 12px;
}

/* ─────────────── */
/* Award heading sub copy */
/* ─────────────── */

.contest-award--noicon {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 32px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.contest-award--noicon::before {
    content: none !important;
}

.contest-award-sub {
    display: block;
    margin-top: 6px;
    font-size: 0.65em;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #777;
}