/* NOKTOA HP — 制作実例カード（TOP と /works/ 共通）
   ニートlegend = 同社ピッチ資料（NEET-LEGEND-Pitch）の深緑×ライム・数字タイル・丸角パネルを踏襲
   NOKTOA Sessions = 企画書のチャコール×ティール×ミントを踏襲
   ※ ブランド色は各案件カード内だけで使い、サイト本体（黒基調・金は面塗りのみ）には広げない */

.cs-nl {
    --nl-bg: #00220c; --nl-panel: #003e16; --nl-panel2: #004117; --nl-lime: #a8e84c; --nl-green: #4ad66a; --nl-logo: #00792b;
}
.cs-ss {
    --ss-ink: #1f2021; --ss-ink2: #2b2d2e; --ss-teal: #23808b; --ss-teal2: #5fb0b0; --ss-mint: #c7e8da;
}

/* ---------- TOP: 2枚カード ---------- */
.works-cases { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; width: min(100% - var(--gutter) * 2, 1320px); margin: 22px auto 0; }
.cs-card { position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; padding: clamp(22px, 3vw, 36px); min-height: 100%; transition: transform .8s var(--ease, cubic-bezier(.19, 1, .22, 1)); }
.cs-card:hover { transform: translateY(-4px); }
.cs-card .cs-eyebrow { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.cs-card h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; margin: 10px 0 0; color: #fff; }
.cs-card p.cs-sub { margin-top: 10px; font-size: .9rem; line-height: 1.9; color: rgba(255, 255, 255, .72); }
.cs-more { margin-top: auto; padding-top: 22px; font-size: .9rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.cs-more span { transition: transform .6s var(--ease, cubic-bezier(.19, 1, .22, 1)); }
.cs-card:hover .cs-more span { transform: translateX(5px); }

/* ニートlegend */
.cs-nl.cs-card { background: var(--nl-bg); box-shadow: inset 0 0 0 1px rgba(168, 232, 76, .16); }
.cs-nl .cs-eyebrow { color: var(--nl-lime); }
.cs-nl .nl-logo { background: var(--nl-logo); border-radius: 18px; padding: 8px 14px; display: block; margin-bottom: 22px; }
.cs-nl .nl-logo img { width: 100%; max-width: 280px; height: auto; margin-inline: auto; }
.nl-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 0; }
.nl-stat { background: var(--nl-panel); border-radius: 16px; padding: 16px 18px; }
.nl-stat b { display: block; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.nl-stat i { font-style: normal; display: block; margin-top: 6px; font-size: .72rem; letter-spacing: .08em; color: var(--nl-lime); }
.nl-figs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.nl-figs img { width: 100%; height: auto; aspect-ratio: 9 / 15; object-fit: cover; border-radius: 10px; background: var(--nl-panel); }
.cs-nl .cs-more { color: var(--nl-lime); }

/* NOKTOA Sessions */
.cs-ss.cs-card { background: var(--ss-ink); box-shadow: inset 0 0 0 1px rgba(95, 176, 176, .18); }
.cs-ss .cs-eyebrow { color: var(--ss-teal2); }
.ss-thumb { position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 22px; background: var(--ss-ink2); }
.ss-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ss-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31, 32, 33, .55), transparent 55%); }
.ss-play { position: absolute; z-index: 1; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; letter-spacing: .1em; color: #fff; }
.ss-play::before { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--ss-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E") center / 22px no-repeat; }
.ss-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.ss-steps div { background: var(--ss-ink2); border-radius: 14px; padding: 14px 16px; }
.ss-steps b { display: block; font-size: 1.05rem; font-weight: 700; color: var(--ss-mint); }
.ss-steps span { display: block; margin-top: 4px; font-size: .74rem; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.cs-ss .cs-more { color: var(--ss-mint); }

@media (max-width: 820px) {
    .works-cases { grid-template-columns: 1fr; }
}

/* ---------- /works/ 詳細セクション ---------- */
.cs-panel { border-radius: 32px; padding: clamp(24px, 4vw, 52px); margin-bottom: 40px; }
.cs-nl.cs-panel { background: var(--nl-bg); box-shadow: inset 0 0 0 1px rgba(168, 232, 76, .16); }
.cs-ss.cs-panel { background: var(--ss-ink); box-shadow: inset 0 0 0 1px rgba(95, 176, 176, .18); }
.cs-panel .nl-logo { background: var(--nl-logo); border-radius: 22px; padding: 14px 24px; display: block; max-width: 420px; margin-bottom: 28px; }
.cs-panel .nl-logo img { width: 100%; height: auto; }
.cs-panel .cs-lede { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.6; color: #fff; margin-bottom: 14px; }
.cs-panel .cs-lede em { font-style: normal; color: var(--nl-lime); }
.cs-ss.cs-panel .cs-lede em { color: var(--ss-mint); }
.cs-panel .cs-text { white-space: normal; max-width: 62ch; line-height: 2.05; color: rgba(255, 255, 255, .72); }
.cs-panel .nl-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 32px 0 0; }
.cs-panel .nl-figs { gap: 12px; margin-top: 18px; }
.cs-panel .nl-figs img { border-radius: 14px; }
.cs-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 18px; }
.cs-tile { background: var(--nl-panel); border-radius: 18px; padding: 20px 22px; }
.cs-tile small { display: block; font-size: .68rem; letter-spacing: .16em; color: var(--nl-lime); margin-bottom: 8px; }
.cs-tile b { display: block; font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.5; }
.cs-tile span { display: block; margin-top: 6px; font-size: .84rem; line-height: 1.8; color: rgba(255, 255, 255, .6); }
.cs-ss .cs-tile { background: var(--ss-ink2); }
.cs-ss .cs-tile small { color: var(--ss-teal2); }
.cs-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding: 13px 26px; border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none; transition: transform .5s var(--ease, cubic-bezier(.19, 1, .22, 1)); }
.cs-link:hover { transform: translateY(-2px); }
.cs-nl .cs-link { background: var(--nl-lime); color: #00220c; }
.cs-ss .cs-link { background: var(--ss-mint); color: #1f2021; }
.cs-ss-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.cs-ss-grid .ss-thumb { margin: 0; }
@media (max-width: 820px) {
    .cs-ss-grid { grid-template-columns: 1fr; }
    .ss-steps { grid-template-columns: 1fr; }
}
