:root {
    --cjz-orange: #ff5b0a;
    --cjz-ink: #111111;
    --cjz-muted: #68635d;
    --cjz-paper: #fffdf9;
    --cjz-soft: #f7f2eb;
    --cjz-line: #e8e1d8;
}

.cjz-site {
    background:
        radial-gradient(circle at 15% 5%, rgba(255, 91, 10, 0.045), transparent 24rem),
        var(--cjz-paper);
    color: var(--cjz-ink);
    font-family: "Inter", "Noto Sans JP", sans-serif;
    overflow: hidden;
}

.cjz-shell {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1240px;
    padding-left: 28px;
    padding-right: 28px;
}

.cjz-hero {
    padding: 88px 0 76px;
}

.cjz-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    gap: 70px;
    align-items: center;
}

.cjz-eyebrow,
.cjz-section-kicker {
    color: var(--cjz-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.22em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.cjz-hero h1 {
    font-size: clamp(52px, 6vw, 88px);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.98;
    margin: 0;
}

.cjz-hero__statement {
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 800;
    margin: 34px 0 18px;
}

.cjz-hero__statement strong {
    color: var(--cjz-orange);
}

.cjz-hero__lead {
    color: #282828;
    font-size: 16px;
    font-weight: 600;
    line-height: 2;
    margin: 0;
}

.cjz-hero__visual {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 390px;
}

.cjz-hero__visual img {
    display: block;
    height: auto;
    mix-blend-mode: multiply;
    width: 100%;
}

.cjz-latest,
.cjz-all-cases,
.cjz-related {
    padding-bottom: 86px;
}

.cjz-section-heading {
    align-items: flex-end;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.cjz-section-heading h2 {
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.25;
    margin: 0;
}

.cjz-section-heading > a {
    color: var(--cjz-orange);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.cjz-section-heading > p {
    color: var(--cjz-muted);
    font-size: 13px;
    margin: 0;
}

.cjz-card-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cjz-card-grid--latest {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cjz-card {
    background: #fff;
    border: 1px solid var(--cjz-line);
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(46, 30, 18, 0.055);
    min-width: 0;
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cjz-card:hover {
    border-color: rgba(255, 91, 10, 0.62);
    box-shadow: 0 14px 32px rgba(46, 30, 18, 0.11);
    transform: translateY(-4px);
}

.cjz-card__link {
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.cjz-card__media {
    aspect-ratio: 4 / 3;
    background: #eee7de;
    overflow: hidden;
    position: relative;
}

.cjz-card__image {
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease;
    width: 100%;
}

.cjz-card:hover .cjz-card__image {
    transform: scale(1.035);
}

.cjz-card__type {
    background: var(--cjz-orange);
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    left: 10px;
    letter-spacing: 0.02em;
    padding: 6px 10px;
    position: absolute;
    top: 10px;
    z-index: 2;
}

.cjz-card__placeholder {
    align-items: center;
    color: #a59a8f;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    height: 100%;
    justify-content: center;
    letter-spacing: 0.25em;
}

.cjz-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 16px 15px;
}

.cjz-card__title {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.35;
    margin: 0 0 9px;
}

.cjz-card__description {
    color: #3d3935;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.65;
    margin: 0 0 15px;
}

.cjz-card__meta {
    border-top: 1px solid #f0ebe5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: auto;
    padding-top: 12px;
}

.cjz-card__meta span {
    align-items: center;
    color: #777069;
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    gap: 4px;
}

.cjz-card__meta svg {
    height: 12px;
    width: 12px;
}

.cjz-types {
    background: var(--cjz-soft);
    border-bottom: 1px solid var(--cjz-line);
    border-top: 1px solid var(--cjz-line);
    margin-bottom: 86px;
    padding: 64px 0;
}

.cjz-section-heading--types {
    margin-bottom: 24px;
}

.cjz-type-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cjz-type-list a {
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--cjz-orange);
    border-radius: 999px;
    color: var(--cjz-ink);
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 50px;
    padding: 0 14px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

.cjz-type-list a:hover {
    background: var(--cjz-orange);
    color: #fff;
}

.cjz-type-list svg {
    color: var(--cjz-orange);
    height: 18px;
    width: 18px;
}

.cjz-type-list a:hover svg {
    color: #fff;
}

.cjz-type-list span {
    align-items: center;
    background: var(--cjz-soft);
    border-radius: 999px;
    display: inline-flex;
    font-size: 9px;
    height: 20px;
    justify-content: center;
    margin-left: auto;
    min-width: 20px;
}

.cjz-filter {
    align-items: end;
    background: var(--cjz-soft);
    border: 1px solid var(--cjz-line);
    border-radius: 18px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    margin-bottom: 34px;
    padding: 20px;
}

.cjz-filter label {
    display: block;
}

.cjz-filter label span {
    display: block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0 0 7px;
}

.cjz-filter select {
    appearance: none;
    background: #fff;
    border: 1px solid #dcd3c8;
    border-radius: 9px;
    color: var(--cjz-ink);
    font: inherit;
    font-size: 13px;
    height: 44px;
    padding: 0 34px 0 12px;
    width: 100%;
}

.cjz-filter button,
.cjz-empty a,
.cjz-contribute a {
    align-items: center;
    background: var(--cjz-orange);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 46px;
    justify-content: center;
    padding: 0 24px;
    text-decoration: none;
}

.cjz-filter--changed button {
    box-shadow: 0 0 0 4px rgba(255, 91, 10, 0.14);
}

.cjz-filter__reset {
    color: var(--cjz-muted);
    font-size: 11px;
    grid-column: 1 / -1;
    justify-self: end;
}

.cjz-empty {
    align-items: center;
    background: #fff;
    border: 2px dashed #e2d8cc;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    padding: 66px 30px;
    text-align: center;
}

.cjz-empty__icon {
    align-items: center;
    background: #fff0e7;
    border-radius: 50%;
    color: var(--cjz-orange);
    display: flex;
    height: 70px;
    justify-content: center;
    margin-bottom: 20px;
    width: 70px;
}

.cjz-empty__icon svg {
    height: 30px;
    width: 30px;
}

.cjz-empty h2 {
    font-size: 23px;
    font-weight: 900;
    margin: 0 0 8px;
}

.cjz-empty p {
    color: var(--cjz-muted);
    font-size: 13px;
    margin: 0 0 22px;
}

.cjz-empty--compact {
    padding: 44px 30px;
}

.cjz-pagination {
    margin-top: 36px;
}

.cjz-pagination .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.cjz-pagination .page-numbers {
    align-items: center;
    border: 1px solid var(--cjz-line);
    color: var(--cjz-ink);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    min-height: 38px;
    padding: 0 14px;
    text-decoration: none;
}

.cjz-pagination .current {
    background: var(--cjz-ink);
    color: #fff;
}

.cjz-contribute {
    padding: 0 0 86px;
}

.cjz-contribute__inner {
    background:
        linear-gradient(135deg, rgba(255, 91, 10, 0.07), rgba(255, 255, 255, 0.88)),
        var(--cjz-soft);
    border: 1px solid var(--cjz-line);
    border-radius: 24px;
    padding-bottom: 48px;
    padding-top: 48px;
    text-align: center;
}

.cjz-contribute h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
}

.cjz-contribute p:not(.cjz-section-kicker) {
    color: var(--cjz-muted);
    font-size: 13px;
    margin: 0 0 24px;
}

.cjz-contribute a {
    gap: 9px;
    margin: 0 auto;
}

.cjz-contribute a svg {
    height: 18px;
    width: 18px;
}

.cjz-breadcrumb {
    color: #8b837b;
    display: flex;
    flex-wrap: wrap;
    font-size: 11px;
    gap: 8px;
    padding: 32px 0;
}

.cjz-breadcrumb a {
    color: inherit;
}

.cjz-case {
    padding-bottom: 76px;
}

.cjz-case__header {
    margin: 24px auto 48px;
    max-width: 900px;
    text-align: center;
}

.cjz-case__type {
    background: var(--cjz-orange);
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 18px;
    padding: 7px 13px;
    text-decoration: none;
}

.cjz-case__header h1 {
    font-size: clamp(39px, 6vw, 70px);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 1.08;
    margin: 0 0 25px;
}

.cjz-case__hook {
    color: #35312d;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 760px;
}

.cjz-case__layout {
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 1fr) 280px;
}

.cjz-case__figure {
    margin: 0 0 34px;
}

.cjz-case__image {
    border-radius: 20px;
    display: block;
    height: auto;
    max-height: 900px;
    object-fit: contain;
    width: 100%;
}

.cjz-case__figure figcaption {
    color: #8a8179;
    font-size: 10px;
    margin-top: 8px;
    text-align: right;
}

.cjz-case__insight {
    background: #fff2e9;
    border-left: 6px solid var(--cjz-orange);
    margin-bottom: 48px;
    padding: 27px 30px;
}

.cjz-case__insight p {
    color: var(--cjz-orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
}

.cjz-case__insight h2 {
    font-size: clamp(21px, 2.5vw, 30px);
    font-weight: 900;
    line-height: 1.45;
    margin: 0;
}

.cjz-case__content > h2 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 0 0 26px;
}

.cjz-case__content .prose {
    color: #302c28;
    font-size: 16px;
    line-height: 2.05;
    max-width: 760px;
}

.cjz-case__content .prose p {
    margin-bottom: 1.45em;
}

.cjz-case__content .prose a,
.cjz-transfer__prose a {
    overflow-wrap: anywhere;
    text-underline-offset: 0.18em;
}

.cjz-transfer {
    background:
        linear-gradient(135deg, rgba(255, 91, 10, 0.055), transparent 24rem),
        #fff;
    border: 1px solid var(--cjz-line);
    border-top: 7px solid var(--cjz-orange);
    border-radius: 24px;
    margin-top: 56px;
    overflow: hidden;
    padding: 46px 50px 52px;
    position: relative;
}

.cjz-transfer::after {
    border: 1px dashed rgba(255, 91, 10, 0.2);
    border-radius: 50%;
    content: "";
    height: 180px;
    pointer-events: none;
    position: absolute;
    right: -90px;
    top: -90px;
    width: 180px;
}

.cjz-transfer__header {
    margin-bottom: 30px;
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.cjz-transfer__header h2 {
    color: var(--cjz-ink);
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.35;
    margin: 0 0 14px;
}

.cjz-transfer__header > p:last-child {
    color: var(--cjz-muted);
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}

.cjz-transfer__prose {
    border-top: 1px solid var(--cjz-line);
    color: #302c28;
    font-size: 16px;
    line-height: 2;
    max-width: 720px;
    padding-top: 34px;
    position: relative;
    z-index: 1;
}

.cjz-transfer__prose h2 {
    color: var(--cjz-ink);
    font-size: clamp(24px, 2.7vw, 32px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.5;
    margin: 50px 0 24px;
}

.cjz-transfer__prose h2:first-child {
    margin-top: 0;
}

.cjz-transfer__prose h3 {
    background: #fff6f0;
    border-left: 5px solid var(--cjz-orange);
    border-radius: 0 8px 8px 0;
    color: var(--cjz-ink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
    margin: 44px 0 22px;
    padding: 11px 15px;
}

.cjz-transfer__prose p {
    margin: 0 0 1.4em;
}

.cjz-transfer__prose p:last-child {
    margin-bottom: 0;
}

.cjz-ai-cta {
    align-items: center;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 91, 10, 0.18), transparent 18rem),
        #17130f;
    border-radius: 18px;
    color: #fff;
    display: grid;
    gap: 22px 30px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 48px;
    padding: 34px 36px;
    position: relative;
    z-index: 1;
}

.cjz-ai-cta__copy {
    max-width: 520px;
}

.cjz-ai-cta__eyebrow {
    color: #ff8a4d;
    display: block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cjz-ai-cta__copy h2 {
    color: #fff;
    font-size: clamp(23px, 2.6vw, 31px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.4;
    margin: 0 0 10px;
}

.cjz-ai-cta__copy p {
    color: #cfc7bf;
    font-size: 13px;
    line-height: 1.75;
    margin: 0;
}

.cjz-ai-cta__button {
    align-items: center;
    background: var(--cjz-orange);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(255, 91, 10, 0.26);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    min-height: 58px;
    padding: 0 20px 0 12px;
    transition: box-shadow 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.cjz-ai-cta__button:hover {
    box-shadow: 0 18px 42px rgba(255, 91, 10, 0.36);
    transform: translateY(-2px);
}

.cjz-ai-cta__button:active {
    transform: translateY(1px);
}

.cjz-ai-cta__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.cjz-ai-cta__badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    display: inline-flex;
    font-size: 10px;
    height: 34px;
    justify-content: center;
    letter-spacing: 0.05em;
    min-width: 34px;
    padding: 0 7px;
}

.cjz-ai-cta__badge img {
    display: block;
    height: 19px;
    object-fit: contain;
    width: 19px;
}

.cjz-ai-cta__button svg {
    height: 16px;
    width: 16px;
}

.cjz-ai-cta__note {
    color: #9b9188;
    font-size: 10px;
    grid-column: 2;
    margin: -15px 0 0;
    text-align: center;
}

.cjz-case__sidebar {
    align-self: start;
    background: #fff;
    border: 1px solid var(--cjz-line);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 92px;
}

.cjz-case__sidebar h2 {
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 12px;
}

.cjz-case__sidebar dl,
.cjz-case__sidebar dd {
    margin: 0;
}

.cjz-case__sidebar dl > div {
    border-top: 1px solid #eee8e1;
    padding: 14px 0;
}

.cjz-case__sidebar dt {
    color: #8a8179;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.cjz-case__sidebar dd {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.cjz-case__source {
    align-items: center;
    color: var(--cjz-orange);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
    margin-top: 8px;
}

.cjz-case__source svg {
    height: 14px;
    width: 14px;
}

.cjz-related {
    border-top: 1px solid var(--cjz-line);
    padding-top: 64px;
}

.cjz-card-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .cjz-card-grid--latest {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cjz-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cjz-type-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cjz-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cjz-filter button {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .cjz-shell {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cjz-hero {
        padding: 58px 0 46px;
    }

    .cjz-hero__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cjz-hero__visual {
        min-height: 0;
    }

    .cjz-card-grid--latest,
    .cjz-card-grid,
    .cjz-card-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cjz-case__layout {
        grid-template-columns: 1fr;
    }

    .cjz-case__sidebar {
        position: static;
    }

    .cjz-case__content .prose,
    .cjz-transfer__prose {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .cjz-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cjz-hero h1 {
        font-size: 48px;
    }

    .cjz-hero__statement {
        font-size: 18px;
    }

    .cjz-hero__visual {
        margin: 0 -10px;
    }

    .cjz-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .cjz-card-grid--latest,
    .cjz-card-grid,
    .cjz-card-grid--related,
    .cjz-type-list,
    .cjz-filter {
        grid-template-columns: 1fr;
    }

    .cjz-card-grid--latest {
        display: flex;
        gap: 14px;
        margin-right: -20px;
        overflow-x: auto;
        padding-right: 20px;
        scroll-snap-type: x mandatory;
    }

    .cjz-card-grid--latest .cjz-card {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .cjz-types,
    .cjz-all-cases,
    .cjz-latest,
    .cjz-related {
        margin-bottom: 0;
        padding-bottom: 62px;
    }

    .cjz-types {
        margin-bottom: 62px;
        padding: 52px 0;
    }

    .cjz-filter__reset {
        justify-self: center;
    }

    .cjz-case__header {
        margin: 6px 0 34px;
        text-align: left;
    }

    .cjz-case__header h1 {
        font-size: 36px;
        letter-spacing: -0.055em;
        line-height: 1.18;
        margin-bottom: 18px;
    }

    .cjz-case__hook {
        font-size: 16px;
        line-height: 1.8;
    }

    .cjz-breadcrumb {
        font-size: 10px;
        overflow: hidden;
        padding: 20px 0 24px;
        white-space: nowrap;
    }

    .cjz-breadcrumb span:last-child {
        display: none;
    }

    .cjz-case__layout {
        gap: 34px;
    }

    .cjz-case__figure {
        margin-bottom: 28px;
    }

    .cjz-case__image {
        border-radius: 12px;
    }

    .cjz-case__content > h2 {
        font-size: 27px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .cjz-case__content .prose {
        font-size: 15.5px;
        line-height: 1.95;
    }

    .cjz-case__content .prose p {
        margin-bottom: 1.3em;
    }

    .cjz-transfer {
        border-radius: 16px;
        margin-top: 42px;
        padding: 28px 18px 32px;
    }

    .cjz-transfer::after {
        height: 120px;
        right: -68px;
        top: -68px;
        width: 120px;
    }

    .cjz-transfer__header {
        margin-bottom: 24px;
    }

    .cjz-transfer__header h2 {
        font-size: 27px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .cjz-transfer__header > p:last-child {
        font-size: 12.5px;
        line-height: 1.7;
    }

    .cjz-transfer__prose {
        font-size: 15.5px;
        line-height: 1.92;
        padding-top: 24px;
    }

    .cjz-transfer__prose h2 {
        font-size: 23px;
        line-height: 1.5;
        margin: 38px 0 18px;
    }

    .cjz-transfer__prose h3 {
        font-size: 18px;
        margin: 34px 0 18px;
        padding: 10px 12px;
    }

    .cjz-transfer__prose p {
        margin-bottom: 1.25em;
    }

    .cjz-ai-cta {
        gap: 20px;
        grid-template-columns: 1fr;
        margin-top: 36px;
        padding: 26px 20px 22px;
    }

    .cjz-ai-cta__copy h2 {
        font-size: 23px;
    }

    .cjz-ai-cta__button {
        min-height: 56px;
        width: 100%;
    }

    .cjz-ai-cta__note {
        grid-column: 1;
        margin: -10px 0 0;
    }

    .cjz-case__sidebar {
        border-radius: 12px;
        padding: 20px;
    }
}
