:root { --ink: #171319; --paper: #fffdf8; --yellow: #ffd95a; --pink: #ff5d8f; --pink-soft: #fff0f5; --blue: #5572ff; --blue-soft: #eef1ff; --line: rgba(23, 19, 25, 0.16); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans JP", sans-serif; background-image: linear-gradient(90deg, rgba(23, 19, 25, 0.035) 1px, transparent 1px), linear-gradient(rgba(23, 19, 25, 0.035) 1px, transparent 1px); background-size: 42px 42px; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 74px; padding: 0 clamp(22px, 5vw, 76px); background: rgba(255, 253, 248, 0.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand, h1, h2, h3, footer { font-family: "Space Grotesk", "Noto Sans JP", sans-serif; }
.brand { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.04em; }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 38px); font-family: "Space Grotesk", sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.site-header nav a, footer a { transition: opacity 180ms ease; }
.site-header nav a:hover, footer a:hover { opacity: 0.55; }
.hero { position: relative; min-height: min(760px, calc(100vh - 74px)); overflow: hidden; background: var(--yellow); border-bottom: 1px solid var(--ink); }
.hero__cat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__content { position: relative; z-index: 1; width: calc(100% - 10vw); margin: 0 5vw; padding: clamp(88px, 13vh, 144px) 0 84px; }
.kicker { margin: 0 0 18px; font-family: "Space Grotesk", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; }
.hero h1 { max-width: min(700px, 47vw); margin: 0; font-size: clamp(3.8rem, 6.3vw, 7rem); line-height: 0.86; letter-spacing: -0.075em; }
.hero__lead { max-width: 630px; margin: 32px 0 0; font-size: clamp(0.95rem, 1.4vw, 1.08rem); font-weight: 500; line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.pill { display: inline-flex; align-items: center; gap: 18px; min-width: 168px; justify-content: space-between; padding: 14px 16px 14px 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.85rem; font-weight: 700; transition: transform 180ms ease, box-shadow 180ms ease; }
.pill span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; font-family: "Space Grotesk", sans-serif; font-size: 0.72rem; }
.pill--dark { background: var(--ink); color: white; }
.pill--dark span { background: var(--yellow); color: var(--ink); }
.pill--light { background: rgba(255, 255, 255, 0.72); }
.pill--light span { background: var(--ink); color: white; }
.pill:hover { transform: translateY(-3px); box-shadow: 0 7px 0 rgba(23, 19, 25, 0.16); }
.category, .contact { scroll-margin-top: 74px; padding: clamp(76px, 10vw, 140px) clamp(22px, 5vw, 76px); }
.category--mv { background: var(--pink-soft); }
.category--animation { background: var(--blue-soft); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 430px); align-items: end; gap: 40px; max-width: 1340px; margin: 0 auto 50px; }
.section-heading h2, .contact h2 { margin: 0; font-size: clamp(3rem, 7vw, 6.8rem); line-height: 0.9; letter-spacing: -0.065em; }
.section-heading > p { margin: 0; padding-bottom: 5px; font-size: 0.95rem; line-height: 1.8; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); max-width: 1340px; margin: 0 auto; }
.work-card { overflow: hidden; background: var(--paper); border: 1px solid var(--ink); border-radius: 18px; box-shadow: 7px 7px 0 var(--ink); transition: transform 200ms ease, box-shadow 200ms ease; }
.work-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.work-card__topline { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 18px; border-bottom: 1px solid var(--ink); font-family: "Space Grotesk", sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; }
.work-card--pink .work-card__topline { background: var(--pink); }
.work-card--blue .work-card__topline { background: var(--blue); color: white; }
.new-badge { padding: 4px 10px; background: var(--yellow); color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; letter-spacing: 0.08em; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.work-card__copy { padding: 24px 25px 27px; }
.work-card__copy h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.25; letter-spacing: -0.035em; }
.work-card__copy p { margin: 10px 0 23px; color: rgba(23, 19, 25, 0.66); font-size: 0.83rem; }
.work-card__copy a { display: inline-flex; gap: 7px; align-items: center; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-size: 0.82rem; font-weight: 700; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; max-width: 1492px; margin: 0 auto; }
.contact__links { border-top: 1px solid var(--ink); }
.contact__links a { display: flex; justify-content: space-between; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--ink); font-family: "Space Grotesk", sans-serif; font-size: 1.02rem; font-weight: 700; transition: padding 160ms ease, color 160ms ease; }
.contact__links a:hover { padding-left: 12px; color: var(--blue); }
.contact__links span { font-family: "Noto Sans JP", sans-serif; font-size: 0.78rem; font-weight: 500; }
footer { display: flex; justify-content: space-between; padding: 24px clamp(22px, 5vw, 76px); background: var(--ink); color: white; font-size: 0.8rem; }
@media (max-width: 820px) { .hero { min-height: 720px; } .hero__cat { object-position: 64% center; opacity: 0.6; } .hero__content { padding-top: 88px; } .hero h1 { max-width: 92%; font-size: clamp(3.8rem, 15vw, 6.2rem); } .section-heading, .contact { grid-template-columns: 1fr; } .section-heading { gap: 20px; } .work-grid { grid-template-columns: 1fr; } .contact { gap: 45px; } }
@media (max-width: 540px) { .site-header { height: 64px; } .site-header nav { gap: 14px; font-size: 0.67rem; } .site-header nav a:last-child { display: none; } .hero { min-height: 660px; } .hero__cat { object-position: 68% bottom; } .hero__content { width: calc(100% - 36px); margin: 0 18px; padding-top: 68px; } .hero__lead { max-width: 88%; line-height: 1.7; } .desktop-break { display: none; } .category, .contact { padding-left: 18px; padding-right: 18px; } .section-heading h2, .contact h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); } .work-card { border-radius: 13px; box-shadow: 5px 5px 0 var(--ink); } .work-card__copy { padding: 20px; } .contact__links a { flex-direction: column; gap: 6px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
