/* =========================================================
   Awards
   ========================================================= */
.sg-award {
    padding: 0 0 56px;
    --sg-aw-gold: #bb9619;
}

/* Hero */
.sg-award .sgaw-hero {
    margin: 0 auto 30px;
}

.sg-award .sgaw-hero-media {
    margin: 0;
}

.sg-award .sgaw-hero-media img {
    width: 100%;
    height: auto;
    display: block;
}

.sg-award .sgaw-hero-note {
    margin: 5px 0 0;
    line-height: 1.7;
    letter-spacing: .04em;
    text-align: left;
}

/* バッジグリッド */
.sg-award .sgaw-wrap {
    margin: 0 auto;
    padding-bottom: 30px;
}

.sg-award .sgaw-badge-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 800px;
    gap: 0 30px;
    justify-items: center;
    margin: 0 auto;
    padding: 0;
}

/* バッジ本体 */
.sg-award .sgaw-badge {
    position: relative;
    display: grid;
    width: 220px;
    aspect-ratio: 1 / 1;
    place-items: center;
}

/* 月桂冠SVG */
.sg-award .sgaw-laurel {
    position: absolute;
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    color: var(--sg-aw-gold);
}

/* 文字 */
.sg-award .sgaw-in {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    padding: 40px 18px 64px;
    color: var(--sg-aw-gold);
}

/* ブランド */
.sg-award .sgaw-brand {
    font-family: "Cormorant", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.05;
    margin: 0;
}

/* 三協アルミ（長いので調整） */
.sg-award .sgaw-item--sankyo .sgaw-brand {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.1em;
}

/* 中段（2行） */
.sg-award .sgaw-lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.0;
    min-height: calc(1.2em * 2);
    margin: 0;
}

/* メイン（入選/受賞など） */
.sg-award .sgaw-main {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.0;
    margin: 0 0 10px;
}

/* リボン */
.sg-award .sgaw-ribbon {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0 0 15px;
}

.sg-award .sgaw-ribbon span {
    display: inline-block;
    background: var(--sg-aw-gold);
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 16px;
    letter-spacing: .12em;
    line-height: 1;
    color: #fff;
    padding: 5px 15px;
}

/* Years（年度別） */
.sg-award .sgaw-year {
    padding: 0 0 30px;
}

/* 年号見出し */
.sg-award .sgaw-year-title {
    text-align: center;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 25px;
    font-weight: 500;
    font-feature-settings: "palt" 1;
    letter-spacing: -0.02em;
    border: 1px solid rgba(0, 0, 0, .35);
    margin: 10px auto 25px;
    padding: 5px 0;
}

/* 受賞カードgrid */
.sg-award .sgaw-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    justify-content: center;
    margin: 0 auto 50px;
    padding: 0;
}

.sg-award .sgaw-grid>.sgaw-card:only-child {
    grid-column: 2;
}

.sg-award .sgaw-card {
    margin: 0;
}

/* 画像 */
.sg-award .sgaw-fig {
    margin: 0;
}

.sg-award .sgaw-fig img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, .15);
}

/* 画像下キャプション */
.sg-award .sgaw-cap {
    text-align: center;
    font-size: 0.95em;
    font-feature-settings: 'palt';
    letter-spacing: -0.01em;
    line-height: 1.5;
    margin-top: 7px;
}

/* ボタン */
.sg-award .sgaw-actions {
    margin-top: 12px;
    text-align: center;
}

.sg-award .sg-btn.sgaw-btn--link {
    font-size: 15px;
    font-weight: 600;
    font-feature-settings: 'palt';
    letter-spacing: -0.04em;
    padding: 1px 14px;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.20);
}

/* 年移動ナビ */
.sg-award .sgaw-ynav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5px;
    margin: 0 auto 20px;
}

/* ボタン（リンク） */
.sg-award .sgaw-ynav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    letter-spacing: .06em;
    color: #000;
    line-height: 1.3;
}

.sg-award .sgaw-ynav-btn span {
    font-feature-settings: 'palt';
    letter-spacing: -0.03em;
}

/* 左：新しい年へ（左端） */
.sg-award .sgaw-ynav-btn--prev {
    justify-self: start;
    text-align: left;
}

/* 右：古い年へ（右端） */
.sg-award .sgaw-ynav-btn--next {
    justify-self: end;
    text-align: right;
}

/* トップ下：右だけナビ */
.sg-award .sgaw-ynav--rightonly {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sg-award .sgaw-ynav--rightonly .sgaw-ynav-btn--next {
    justify-self: auto;
    text-align: right;
}

/* hover */
.sg-award .sgaw-ynav-btn:hover,
.sg-award .sgaw-ynav-btn:focus {
    opacity: .5;
}

.sg-award .sgaw-ynav-ico {
    font-size: 22px;
    line-height: 1.5;
    vertical-align: middle;
    color: #000;
}

/* 2025年（latest）も通常と同じにする */
#award-latest .sgaw-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    justify-content: center;
}

#award-latest .sgaw-grid .sgaw-card {
    width: auto;
}

/* Archive（受賞歴アーカイブ） */
.sg-award .sgaw-archive {
    border-top: 1px solid rgba(0, 0, 0, .35);
    margin: 10px auto 0;
    padding-top: 50px;
}

.sg-award .sgaw-archive-title {
    font-weight: 600;
    letter-spacing: .08em;
    margin: 0 0 15px;
}

.sg-award .sgaw-archive-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 30px;
    row-gap: 15px;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.sg-award .sgaw-archive-links a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, .35);
    padding-bottom: 0;
    text-underline-offset: 2px;
}

.sg-award .sgaw-archive-links a:visited {
    color: inherit;
}

/* アーカイブ：現在ページ */
.sg-award .sgaw-archive-links a[aria-current="page"],
.sg-award .sgaw-archive-links a.is-current {
    pointer-events: none;
    cursor: default;
    font-weight: 400;
    color: #888888;
    opacity: 1;
    border-bottom-color: transparent;
}

/* 最後のspanで2行目を左寄せ */
.sg-award .sgaw-archive-links span {
    flex: auto;
}


/* -------------------------
   Responsive
------------------------- */

@media (max-width: 900px) {

    .sg-award .sgaw-hero {
        margin-bottom: 44px;
    }

    /* 受賞カード */
    .sg-award .sgaw-grid,
    #award-latest .sgaw-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 36px;
    }

    /* 1件だけ中央 */
    .sg-award .sgaw-grid>.sgaw-card:only-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(360px, 100%);
    }

    /* ブランド */
    .sg-award .sgaw-brand {
        transform: translateY(6px); /* ←ここで下げる */
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    /* 三協アルミ */
    .sg-award .sgaw-item--sankyo .sgaw-brand {
        font-size: 24px;
        letter-spacing: -0.08em;
        white-space: nowrap;
    }

    /* 中段 */
    .sg-award .sgaw-lines {
        font-size: 14px;
        line-height: 1.0;
        margin-bottom: 0;
    }

    /* メイン（入選など） */
    .sg-award .sgaw-main {
        font-size: 26px;
        line-height: 1.0;
        margin: 0 0 2px;
        white-space: nowrap;
    }
    /* バッジ */
    .sg-award .sgaw-badge {
        width: 200px;
    }
    /* =========================
     リボン
  ========================= */
    .sg-award .sgaw-ribbon span {
        white-space: nowrap;
        font-size: 15px;
        padding: 4px 10px;
    }

}

@media (max-width: 600px) {

    /* =========================
     バッジグリッド（2列）
  ========================= */
    .sg-award .sgaw-badge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
        justify-items: center;
    }

    .sg-award .sgaw-badge {
        width: min(160px, 42vw);
    }

    /* =========================
     バッジ中身
  ========================= */
    .sg-award .sgaw-in {
        padding: 24px 8px 40px;
    }

    /* ブランド */
    .sg-award .sgaw-brand {
        font-size: 24px;
        line-height: 1.0;
        margin-bottom: 2px;
    }

    /* 三協アルミ */
    .sg-award .sgaw-item--sankyo .sgaw-brand {
        font-size: 18px;
        letter-spacing: -0.08em;
        white-space: nowrap;
    }

    /* 中段 */
    .sg-award .sgaw-lines {
        font-size: 14px;
        line-height: 1.0;
        margin-bottom: 0;
    }

    /* メイン（入選など） */
    .sg-award .sgaw-main {
        font-size: 20px;
        line-height: 1.0;
        margin: 0 0 2px;
        white-space: nowrap;
    }

    /* =========================
     リボン
  ========================= */
    .sg-award .sgaw-ribbon {
        bottom: -4px;
        /* ←月桂樹ラインに合わせる */
    }

    .sg-award .sgaw-ribbon span {
        font-size: 12px;
        padding: 4px 10px;
    }

}