/* ===========================
   WORKS page (page-id-7)
   =========================== */
body.page-id-7 {
    background: #1a1a1a;
    color: #eaeaea;
}

/* 背景の白を殺す */
body.page-id-7 .site,
body.page-id-7 #page,
body.page-id-7 #content,
body.page-id-7 .site-content,
body.page-id-7 .ast-container {
    background: transparent !important;
}

/* デフォのページタイトル消す（保険） */
body.page-id-7 .entry-header,
body.page-id-7 .entry-title {
    display: none !important;
}

/* 余白と幅 */
body.page-id-7 .entry-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 20px 120px;
}

/* HERO */
body.page-id-7 .works-title {
    margin: 0 0 14px;
    font-size: 44px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #f2f2f2 !important;
}

body.page-id-7 .works-sub {
    margin: 0 0 46px;
    font-size: 15px;
    letter-spacing: .06em;
    color: rgba(242, 242, 242, .70) !important;
}

/* 3カラム（ここが本命） */
body.page-id-7 .works-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px;
    align-items: start;
}

/* タブレット以下は縦積み */
@media (max-width: 900px) {
    body.page-id-7 .works-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

body.page-id-7 .works-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .05em;
    color: #f2f2f2 !important;
}

body.page-id-7 .works-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(242, 242, 242, .62) !important;
}

/* Viewリンク：青を殺して白に */
body.page-id-7 .works-card a {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    letter-spacing: .12em;
    color: #f2f2f2 !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(242, 242, 242, .35) !important;
}

/* フッターを黒に馴染ませる（白帯を消す） */
body.page-id-7 .site-footer,
body.page-id-7 .ast-footer-wrap {
    background: #141414 !important;
    color: rgba(242, 242, 242, .55) !important;
}

body.page-id-7 .site-footer a {
    color: rgba(242, 242, 242, .70) !important;
}

/* 日本語サブ表記 */
body.page-id-7 .jp {
    font-size: 12px;
    letter-spacing: .06em;
    color: rgba(242, 242, 242, .62);
    font-weight: 500;
    margin-left: .5em;
    white-space: nowrap;
}

/* 見出し内の日本語だけ少し薄く */
body.page-id-7 .works-card h3 .jp {
    color: rgba(242, 242, 242, .55);
    font-weight: 500;
}

/* Viewの横の「見る」だけもっと控えめ */
body.page-id-7 .works-card a .jp {
    color: rgba(242, 242, 242, .55) !important;
    margin-left: .6em;
}

/*フッター*/
body.page-id-7 footer * {
    background: transparent !important;
}

body.page-id-7 footer {
    background: #141414 !important;
}

body.page-id-7 .ast-builder-footer,
body.page-id-7 .ast-footer-wrap,
body.page-id-7 footer,
body.page-id-7 .site-footer {
    background-color: #141414 !important;
    background-image: none !important;
}

body.page-id-7 .site-footer,
body.page-id-7 .site-footer p {
    color: rgba(242, 242, 242, .35) !important;
    font-size: 13px;
}

body.page-id-7 .site-footer a {
    color: rgba(242, 242, 242, .45) !important;
}

body.page-id-7 .site-footer {
    padding: 30px 20px;
}

body.page-id-7 .site-footer {
    opacity: .7;
}

/* Astra: Powered by Astra を非表示 */


/* /works 専用：フッターを静かにする（読める範囲） */
body.page-id-7 .site-footer,
body.page-id-7 .ast-footer-wrap {
    background: #141414 !important;
    /* ページと自然に馴染む暗さ */
    border-top: 1px solid rgba(255, 255, 255, .06);
    /* “区切り”だけ極薄で */
}

body.page-id-7 .site-footer,
body.page-id-7 .site-footer p {
    color: rgba(242, 242, 242, .55) !important;
    /* 読める薄さ（ここが肝） */
    font-size: 12px;
    letter-spacing: .06em;
}

body.page-id-7 .site-footer a {
    color: rgba(242, 242, 242, .62) !important;
    /* リンクも読めるが主張しない */
    text-decoration: none;
    border-bottom: 1px solid rgba(242, 242, 242, .18);
}

body.page-id-7 .site-footer a:hover {
    border-bottom-color: rgba(242, 242, 242, .35);
}