body.single-works {
    background: #fafafa;
}

.single-works {
    margin: 80px 0 40px;
}

.single-works-container {
    max-width: 940px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.single-works-content {
    width: 100%;
}

.works-header {
    margin-bottom: 30px;
}

.works-title {
    margin: 0 0 20px;
    color: #222;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.45;
}

.works-meta,
.works-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.works-meta {
    gap: 14px 20px;
}

.works-categories {
    gap: 8px;
}

.works-category-tag {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 13px;
    border: 1px solid transparent;
    border-radius: 20px;
    color: #fff;
    background: #222;
    font-size: .78rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.works-category-tag-parent {
    border-color: #222;
    font-family: 'Tenor Sans', 'Noto Sans JP', sans-serif;
    letter-spacing: .06em;
}

.works-category-tag-service {
    border-color: #cfcfcf;
    color: #444;
    background: #fff;
}

.works-category-tag:hover,
.works-category-tag:focus-visible {
    border-color: #222;
    color: #fff;
    background: #222;
}

.works-production-date {
    color: #666;
    font-size: .8rem;
}

.works-production-date .meta-label {
    margin-right: 5px;
    font-weight: 500;
}

.works-hero {
    overflow: hidden;
    margin-bottom: 60px;
    border-radius: 8px;
}

.works-hero-image,
.works-hero-img {
    width: 100%;
}

.works-hero-img {
    display: block;
    height: auto;
}

.works-hero-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.works-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.works-video-container iframe,
.works-video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.works-content {
    margin-bottom: 60px;
}

.works-description {
    margin-bottom: 60px;
    font-size: 1rem;
    line-height: 1.9;
}

.works-description p {
    margin-bottom: 20px;
}

.works-description h2 {
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.works-description h3 {
    margin: 25px 0 12px;
    font-size: 1.25rem;
}

.works-description img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.works-credits {
    margin: 0 0 60px;
    padding: 30px;
    border-radius: 8px;
    background: #fff4f7;
}

.works-credits-content {
    color: #333;
    font-size: .9rem;
    line-height: 1.8;
}

.works-credits-content .member-link {
    border-bottom: 1px solid #222;
    color: #222;
    text-decoration: none;
}

.works-section-title {
    margin-bottom: 20px;
    color: #222;
    font-size: 1.5rem;
    font-weight: 700;
}

.works-kicker,
.works-section-index {
    margin: 0 0 14px;
    color: #777;
    font-family: 'Tenor Sans', sans-serif;
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.works-kicker {
    padding-top: 18px;
    border-top: 1px solid #d8d8d8;
}

.works-project-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin: 22px 0 0;
    padding: 18px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.works-project-fact {
    flex: 1 1 180px;
    min-width: 0;
    padding: 0;
}

.works-project-fact + .works-project-fact {
    padding-left: 0;
    border-left: 0;
}

.works-project-fact dt {
    margin-bottom: 7px;
    color: #777;
    font-size: .75rem;
    letter-spacing: .04em;
}

.works-project-fact dd {
    margin: 0;
    color: #222;
    font-size: .92rem;
    line-height: 1.7;
}

.works-talent-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.works-talent-list li + li {
    margin-top: 2px;
}

.works-original-link-wrap {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 60px;
}

.works-hero + .works-original-link-wrap {
    margin-top: -40px;
}

.works-original-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 15px;
    border-bottom: 1px solid #222;
    color: #222;
    font-size: .82rem;
    letter-spacing: .04em;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
}

.works-original-link:hover,
.works-original-link:focus-visible {
    border-color: #e85c88;
    color: #e85c88;
}

.works-description,
.works-related-services {
    padding-top: 28px;
    border-top: 1px solid #ddd;
}

.works-description > .works-section-title,
.works-related-services > .works-section-title {
    margin-top: 0;
}

.works-related-services {
    margin-top: 36px;
}

.works-related-service-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 10px;
}

.works-related-service-links a {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 18px;
    border: 1px solid #d8d8d8;
    color: #222;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.works-related-service-links a:hover,
.works-related-service-links a:focus-visible {
    border-color: #222;
    color: #fff;
    background: #222;
}

.works-video-facade {
    display: grid;
    place-items: center;
    overflow: hidden;
}

.works-video-facade .works-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works-video-play {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 12px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 20, 20, .78);
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
    transition: background-color .2s ease, transform .2s ease;
}

.works-video-play-icon {
    display: block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid currentColor;
}

.works-video-play:hover,
.works-video-play:focus-visible {
    background: #202020;
    transform: translateY(-2px);
}

.works-video-play:focus-visible,
.timestamp-link:focus-visible,
.works-related-project:focus-visible,
.works-cta-btn:focus-visible {
    outline: 2px solid #e85c88;
    outline-offset: 4px;
}

.works-video-facade.is-playing iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.timestamp-link {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 3px;
    color: #1769aa;
    font-weight: 600;
    text-underline-offset: 3px;
}

.works-related-projects {
    margin-top: 8px;
    padding: 32px;
    background: #f1f0ed;
}

.works-related-projects-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
    align-items: end;
    gap: 28px;
}

.works-related-projects-heading .works-section-index {
    color: #666;
}

.works-related-projects-heading .works-section-title {
    margin: 0;
}

.works-related-projects-heading > p {
    margin: 0 0 3px;
    color: #666;
    font-size: .78rem;
    line-height: 1.8;
}

.works-related-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.works-related-project {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid #d8d7d3;
    color: #222;
    background: #fff;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.works-related-project:hover,
.works-related-project:focus-visible {
    border-color: #222;
    transform: translateY(-3px);
}

.works-related-project-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

.works-related-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.works-related-project:hover .works-related-project-image img,
.works-related-project:focus-visible .works-related-project-image img {
    transform: scale(1.025);
}

.works-related-project-body {
    position: relative;
    display: flex;
    min-height: 154px;
    flex-direction: column;
    padding: 18px 20px 17px;
}

.works-related-project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #666;
    font-family: 'Tenor Sans', sans-serif;
    font-size: .66rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.works-related-project-title {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #222;
}

.works-related-project-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e4e4e1;
    color: #555;
    font-size: .72rem;
    letter-spacing: .04em;
}

.works-cta-section {
    margin-top: 56px;
    padding: 58px 20px 54px;
    background: #222;
    color: #fff;
    text-align: center;
}

.works-cta-container {
    max-width: 760px;
    margin: 0 auto;
}

.works-cta-section .works-section-index {
    margin-bottom: 12px;
    color: #aaa;
}

.works-cta-title {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 500;
    letter-spacing: .03em;
    color: #fff;
}

.works-cta-text {
    margin: 18px 0 26px;
    color: #ccc;
    font-size: .9rem;
    line-height: 1.8;
}

.works-cta-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.works-cta-btn:hover,
.works-cta-btn:focus-visible {
    color: #222;
    background: #fff;
}

@media (max-width: 767px) {
    .works-related-projects {
        padding: 24px 18px;
    }

    .works-related-projects-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .single-works {
        margin-top: 56px;
    }

    .single-works-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .works-project-facts,
    .works-related-service-links,
    .works-related-project-grid {
        grid-template-columns: 1fr;
    }

    .works-project-fact + .works-project-fact {
        padding-left: 0;
        border-top: 0;
        border-left: 0;
    }

    .works-original-link-wrap {
        justify-content: flex-start;
    }

    .works-hero {
        margin-bottom: 40px;
    }

    .works-content,
    .works-description,
    .works-credits {
        margin-bottom: 40px;
    }

    .works-video-play {
        min-height: 48px;
    }

    .works-cta-section {
        margin-top: 40px;
        padding: 46px 20px 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .works-video-play,
    .works-related-project,
    .works-related-project-image img,
    .works-cta-btn {
        transition: none;
    }

    .works-video-play:hover,
    .works-video-play:focus-visible,
    .works-related-project:hover,
    .works-related-project:focus-visible,
    .works-related-project:hover .works-related-project-image img,
    .works-related-project:focus-visible .works-related-project-image img {
        transform: none;
    }
}
.works-cta-title > span { display: inline-block; }

/* 2026-10-08: align detail spacing and copy with service pages. */
body.single-works .single-works{margin-top:36px}
body.single-works .works-project-fact dd,body.single-works .works-credits-content,body.single-works .works-description,body.single-works .works-cta-text,body.single-works .works-related-project-title{font-size:16px;line-height:1.9}
body.single-works .works-production-date,body.single-works .works-category-tag,body.single-works .works-related-service-links a{font-size:14px}
.works-cta-section a.works-return-link,
.works-cta-section a.works-return-link:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    margin: 18px auto 0;
    padding: 0 8px;
    color: #ddd;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: underline;
    text-decoration-color: #777;
    text-underline-offset: 6px;
}
.works-cta-section a.works-return-link::before {
    content: '\2190';
    text-decoration: none;
}
.works-cta-section a.works-return-link:hover,
.works-cta-section a.works-return-link:focus-visible {
    color: #fff;
    text-decoration-color: currentColor;
}
.works-cta-section a.works-return-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}
body.single-works .works-project-fact dd,body.single-works .works-credits-content{overflow-wrap:anywhere}
@media(max-width:767px){body.single-works .single-works{margin-top:28px}}
/* 2026-10-09: concise project facts and credits proportional to their content. */
.works-project-fact-date { flex: 0 1 145px; }
.works-credits { margin-bottom: 36px; padding: 28px; border-radius: 4px; }
.works-credits-compact { padding: 22px 24px; }
.works-credits .works-section-index { margin-bottom: 9px; }
.works-credits .works-section-title { margin: 0 0 14px; font-size: 1.2rem; }
.works-project-brief { margin: 0 0 16px; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.works-project-brief:last-child { margin-bottom: 0; }
.works-project-brief + .works-credits-content { padding-top: 14px; border-top: 1px solid #eadde2; }
@media(max-width:767px) {
 .works-project-facts { gap: 16px 20px; padding: 16px 0; }
 .works-project-fact { flex-basis: calc(50% - 10px); }
 .works-project-fact-date { flex: 1 1 calc(50% - 10px); }
 .works-credits, .works-credits-compact { padding: 20px; }
 .works-related-services { margin-top: 28px; }
}
