/* ===== SINGLE CASE WORK ===== */

/* --- MAIN CONTENT --- */
.case-single { padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 80px); max-width: 1380px; margin: 0 auto; }
.case-single-inner { max-width: 900px; margin: 0 auto; }

.case-single-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 3vw, 32px);
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: clamp(24px, 3vw, 40px);
}

/* --- YOUTUBE EMBED (16:9) --- */
.case-single-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: clamp(24px, 3vw, 40px);
}
.case-single-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- BACK BUTTON --- */
.case-single-back { margin-bottom: clamp(40px, 5vw, 80px); }
.case-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    border: 1px solid var(--navy);
    border-radius: 4px;
    padding: 10px 20px;
    transition: background 0.2s, color 0.2s;
}
.case-back-btn:hover { background: var(--navy); color: #fff; }
.case-back-btn .material-icons { font-size: 18px; }

/* --- FULL-WIDTH DIVIDER --- */
.case-divider {
    border: none;
    border-top: 1px solid var(--light-gray);
    margin: 0;
    width: 100%;
}

/* --- OTHER CASES --- */
.case-others { padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 80px); max-width: 1380px; margin: 0 auto; }
.case-others-inner {}

.case-others-label {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--navy);
    letter-spacing: 2px;
    margin-bottom: clamp(24px, 3vw, 40px);
}

/* works-grid / work-item は page-case.css から継承 */

/* --- 一覧へリンク --- */
.case-list-link { display: flex; justify-content: flex-end; margin-top: clamp(32px, 4vw, 60px); }
.case-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1.4px;
    color: var(--navy);
    text-decoration: none;
    transition: opacity 0.2s;
}
.case-list-btn:hover { opacity: 0.7; }
.case-list-btn .material-icons { font-size: 18px; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .case-others .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .case-others .works-grid { grid-template-columns: 1fr; }
}
