/* design-top.html 専用 — 先に common.css を読み込むこと */

body.design-top-body .main {
    background-color: var(--primary-whiteLow, #fffdf8);
}

body.design-top-body .hero-wrap {
    background-color: #fff;
}

/* PC：トップのロゴ＋ハンバーガーは非表示（左サイドバーで遷移） */
@media screen and (min-width: 769px) {
    body.illust-top-body .hero-wrap .header {
        display: none;
    }
}

/* 見出し縦線：このページでは translate を打ち消し（画像どおりの位置に近づける） */
body.design-top-body #design-heading.section-title::before {
    transform: none;
}

.illust-top {
    padding: 0 1.6rem 4.8rem;
}

.illust-top__list {
    list-style: none;
    margin: 2.8rem auto 0;
    padding: 0;
    width: var(--contentWith);
    max-width: 39rem;
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
}

.illust-top__card {
    margin: 0;
}

.illust-top__figure {
    position: relative;
    margin: 0;
    width: 100%;
    aspect-ratio: 340 / 280;
    overflow: hidden;
    background-color: #e8e4dc;
    box-shadow:
        0 2px 8px rgba(29, 41, 71, 0.08),
        0 12px 28px rgba(29, 41, 71, 0.06);
}

.illust-top__figure img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.illust-top__title {
    margin: 1.8rem 0 0;
    font-family: "Roboto Mono", "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 2rem;
    line-height: normal;
    text-align: center;
    color: var(--primary-darkblue, #1d2947);
}

.illust-top__tag {
    margin: 0.8rem 0 0;
    font-family: "Roboto Mono", "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: normal;
    text-align: center;
    color: var(--primary-orange, #ff9d00);
}

@media screen and (min-width: 769px) {
    .illust-top {
        padding: 0 2.4rem 5.6rem;
    }

    .illust-top__list {
        max-width: 90rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 110px 72px;
        margin-top: 3.2rem;
    }
}
