/* ==========================================================================
   English Fight Kids — 西新ジム page (/nishijin/)
   Loaded after css/lp.css, which supplies the tokens, buttons, chips, cards,
   schedule / pricing / FAQ / footer / sticky-bar styles. This file adds the
   page shell (header, breadcrumb, hero, CTA blocks) and the page-only parts.
   The main page's script is not loaded here, so nothing depends on its
   classes (.fade-in, .stagger, .reveal-ready, .nav-toggle). The sticky bar's
   .visible comes from a small display-only script in the page.
   Everything shows with JavaScript off.
   ========================================================================== */

/* ---- Phones: 16px side gutter ---- */
@media (max-width: 599px) {
    :root {
        --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
    }
}

.nj-page {
    background: var(--cream);
}

.nj-page .section {
    padding-block: clamp(52px, 9vw, 104px);
}

.wb {
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.nw {
    white-space: nowrap;
}

/* ---- Header: logo + in-page links (desktop) + one booking button ---- */
.nj-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--hairline);
}

.nj-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--header-h);
}

.nj-header .logo-brand {
    margin-right: auto;
}

.nj-header__links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nj-header__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--grape-900);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.nj-header__link:hover {
    color: var(--purple);
    background: var(--lilac-100);
}

.nj-header__cta.btn {
    min-height: 44px;
    margin-left: 8px;
    padding: 8px 18px;
    font-size: 0.875rem;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .nj-header__link--wide {
        display: none;
    }
}

@media (max-width: 599px) {
    .nj-header .logo-image {
        height: 32px;
    }
}

/* as on the main page: on phones the sticky bottom bar carries the booking button */
@media (max-width: 768px) {
    .nj-header__cta.btn {
        display: none;
    }
}

/* ---- Breadcrumb ---- */
.nj-breadcrumb {
    padding-top: 10px;
    font-size: 0.8125rem;
    color: var(--ink-mute);
}

.nj-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.nj-breadcrumb li {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.nj-breadcrumb li + li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin: 0 10px 0 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.6;
}

.nj-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink-soft);
    text-decoration: none;
}

.nj-breadcrumb a:hover {
    color: var(--purple);
    text-decoration: underline;
}

/* ---- Hero ---- */
.nj-hero {
    padding-bottom: 36px;
}

.nj-hero__grid {
    display: grid;
}

.nj-hero__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-inline: calc(var(--gutter) * -1);
    background: var(--lilac-200);
}

.nj-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
}

.nj-hero__text {
    position: relative;
    z-index: 2;
    margin: -24px calc(var(--gutter) * -1) 0;
    padding: 26px var(--gutter) 0;
    border-radius: 24px 24px 0 0;
    background: var(--cream);
}

.nj-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.16em;
    color: var(--purple);
}

.nj-kicker::before {
    content: "";
    width: 26px;
    height: 12px;
    background:
        linear-gradient(#8A10A0, #8A10A0) 0 0 / 100% 4px no-repeat,
        linear-gradient(#FF8D02, #FF8D02) 0 100% / 100% 4px no-repeat;
}

.nj-hero h1 {
    margin-top: 6px;
    font-size: clamp(2rem, 9.4vw, 2.75rem);
    line-height: 1.25;
    color: var(--grape-900);
}

.nj-hero__subtitle {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink-soft);
}

.nj-chips.hero-chips-group {
    justify-content: flex-start;
    max-width: none;
    margin-top: 16px;
}

.nj-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.nj-hero__actions .btn {
    width: 100%;
}

@media (min-width: 600px) and (max-width: 1023px) {
    .nj-hero__media {
        margin-inline: 0;
        border-radius: var(--radius-xl);
    }

    .nj-hero__text {
        margin: 0;
        padding: 28px 0 0;
        border-radius: 0;
        background: none;
    }

    .nj-hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .nj-hero__actions .btn {
        width: auto;
        min-width: 260px;
    }
}

@media (min-width: 1024px) {
    .nj-hero {
        padding-bottom: 56px;
    }

    .nj-hero__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: clamp(40px, 5vw, 72px);
        align-items: center;
        margin-top: 8px;
    }

    .nj-hero__media {
        order: 2;
        margin: 0;
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-lg);
    }

    .nj-hero__text {
        order: 1;
        margin: 0;
        padding: 0;
        border-radius: 0;
        background: none;
    }

    .nj-hero h1 {
        font-size: clamp(2.75rem, 4.2vw, 3.75rem);
    }

    .nj-hero__subtitle {
        font-size: 1.125rem;
    }

    .nj-hero__actions {
        max-width: 420px;
        margin-top: 30px;
    }
}

/* ---- Info cards: one inset panel on phones, cards from 600px ---- */
.nj-facts-section {
    padding-bottom: 8px;
}

.nj-facts {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.nj-fact {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    align-content: start;
    padding: 16px 18px;
}

.nj-fact + .nj-fact {
    border-top: 1px solid var(--hairline);
}

.nj-fact__icon {
    grid-row: span 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--lilac-100);
}

.nj-fact__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--purple);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nj-fact__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--purple);
    line-height: 1.6;
}

.nj-fact__value {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
    color: var(--grape-900);
    font-variant-numeric: tabular-nums;
}

.nj-fact__detail {
    margin-top: 2px;
    font-size: 0.8438rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

@media (min-width: 600px) {
    .nj-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        overflow: visible;
        background: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .nj-fact,
    .nj-fact + .nj-fact {
        padding: 20px;
        background: var(--paper);
        border: 1px solid var(--hairline);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
    }
}

@media (min-width: 1100px) {
    .nj-facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .nj-fact {
        grid-template-columns: minmax(0, 1fr);
    }

    .nj-fact__icon {
        grid-row: auto;
        margin-bottom: 12px;
    }
}

/* ---- Program ---- */
.nj-program {
    background: var(--paper);
    margin-top: 48px;
}

.nj-program__body > p {
    color: var(--ink);
    line-height: 1.95;
}

.nj-program__body > p + p {
    margin-top: 16px;
}

.nj-program__body a {
    font-weight: 700;
}

@media (min-width: 1024px) {
    .nj-program__grid {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: 64px;
        align-items: start;
    }

    .nj-program .section-header {
        margin-bottom: 0;
    }

    .nj-program .section-title {
        font-size: clamp(2rem, 1rem + 2vw, 2.625rem);
    }

    .nj-program__body > p {
        font-size: 1.0625rem;
    }
}

@media (max-width: 767px) {
    .nj-program .section-header {
        margin-bottom: 24px;
    }
}

/* ---- Schedule cards ---- */
.nj-page #schedule {
    background: var(--cream);
}

.nj-slots {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 6px 20px 10px;
}

.nj-slots li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0 12px 0;
    color: var(--grape-900);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

.nj-slots li::before {
    content: none;
}

.nj-slots li + li {
    border-top: 1px dashed var(--lilac-200);
}

.nj-slots__grade {
    flex: none;
    padding: 2px 10px;
    border-radius: 8px;
    background: var(--lilac-100);
    color: var(--grape-700);
    font-size: 0.8125rem;
}

.nj-slots__time {
    font-family: var(--font-pop);
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}

.nj-schedule__note {
    font-weight: 700;
}

/* ---- Price + current campaign ---- */
.nj-page #pricing {
    background: var(--paper);
    padding-top: clamp(52px, 9vw, 104px);
}

.nj-page .pricing-grid {
    max-width: 940px;
}

.nj-page .pricing-card--monthly .pricing-card__features {
    margin-bottom: 0;
}

.nj-campaign {
    padding-top: 28px;
}

.nj-campaign__kicker {
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
    color: var(--sun);
}

.nj-campaign .pricing-card__title {
    margin-top: 4px;
    font-size: 1.375rem;
}

.nj-offer {
    display: grid;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.nj-offer li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.nj-offer li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.nj-offer__label {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.nj-offer__value {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 2px 8px;
    margin-left: auto;
    text-align: right;
}

.nj-offer__value strong {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.625rem;
    line-height: 1.2;
    color: var(--sun);
}

.nj-offer__was {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.nj-offer__was s {
    margin-left: 2px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--orange);
}

.nj-offer__cond {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

/* ---- Features + lesson photo ---- */
.nj-features {
    background: var(--cream);
}

.nj-features__body > p {
    color: var(--ink);
    line-height: 1.95;
}

.nj-features__body > p + p {
    margin-top: 16px;
}

.nj-features .section-header {
    margin-bottom: 24px;
}

@media (max-width: 1023px) {
    .nj-page .nj-features {
        padding-top: 0;
    }
}

@media (min-width: 1024px) {
    .nj-features .split {
        align-items: center;
    }

    .nj-features .split__visual {
        position: relative;
        top: auto;
    }

    .nj-features__body > p {
        font-size: 1.0625rem;
    }
}

/* ---- Access ---- */
.nj-page #access {
    background: var(--lilac-100);
}

.nj-access__grid {
    display: grid;
    gap: 20px;
}

.nj-access__card {
    display: grid;
    gap: 12px;
}

.nj-access__card h3 {
    margin-bottom: 0;
}

.nj-access__card p {
    color: var(--ink);
}

.nj-access__card .nj-access__address {
    font-weight: 700;
    color: var(--grape-900);
}

.nj-access__map {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nj-access__map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--lilac-200);
    box-shadow: var(--shadow-sm);
}

.nj-page .map-link {
    min-height: 44px;
    padding: 10px 18px;
    align-self: flex-start;
}

@media (min-width: 1024px) {
    .nj-access__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: 28px;
        align-items: stretch;
    }

    .nj-access__map iframe {
        flex: 1;
        height: auto;
        min-height: 360px;
    }
}

/* ---- Mid CTA ---- */
.nj-midcta-section {
    padding-block: clamp(40px, 7vw, 72px);
}

.nj-midcta {
    max-width: 860px;
    margin-inline: auto;
    padding: clamp(26px, 5vw, 40px) clamp(20px, 5vw, 48px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(80% 70% at 100% 0%, var(--sun-100), transparent 70%),
        var(--paper);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.nj-midcta__lead {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(1.25rem, 5.4vw, 1.625rem);
    line-height: 1.45;
    color: var(--grape-900);
    letter-spacing: -0.02em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.nj-midcta .cta-pair {
    margin-top: 20px;
}

/* ---- FAQ ---- */
.nj-page #faq {
    background: var(--paper);
}

.nj-page .faq-toggle summary {
    gap: 10px;
}

.nj-page .faq-toggle summary h3::before {
    content: "Q";
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 7px;
    background: var(--lilac-100);
    color: var(--purple);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8125rem;
    line-height: 1;
    vertical-align: 1px;
}

.nj-page .faq-toggle > p.nj-faq__links {
    margin-top: -10px;
    font-weight: 700;
}

.nj-faq__links a {
    font-weight: 700;
}

/* ---- Bottom CTA: dark grape block (same as the column pages) ---- */
.nj-cta {
    padding: clamp(40px, 7vw, 64px) 0 clamp(48px, 8vw, 80px);
}

.nj-cta__panel {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 6vw, 56px) clamp(20px, 5vw, 56px);
    border-radius: var(--radius-xl);
    background: var(--band-dark);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.nj-cta__grid {
    display: grid;
    gap: 26px;
    align-items: center;
}

.nj-cta__kicker {
    color: var(--sun);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.nj-cta h2 {
    margin-top: 8px;
    color: #fff;
    font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.125rem);
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.nj-cta p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9375rem;
    line-height: 1.9;
}

.nj-cta .cta-pair {
    flex-direction: column;
    align-items: stretch;
    max-width: 400px;
    margin-top: 0;
}

.nj-cta .cta-pair .btn {
    width: 100%;
    min-width: 0;
}

.nj-cta .btn--line {
    --btn-bg: #fff;
}

.nj-cta .nj-cta__note {
    margin-top: 10px;
}

.nj-cta__note a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
    font-weight: 700;
}

.nj-cta__note a:hover {
    color: var(--sun);
}

@media (min-width: 900px) {
    .nj-cta__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 48px;
    }
}

/* ---- Footer (no fold-out groups: no page script) + this gym's line ---- */
.nj-page .footer {
    margin-top: 0;
}

.nj-footer-store {
    position: relative;
}

.nj-footer-store__text {
    margin-top: 10px;
    color: #EDE3F7;
    font-size: 0.9375rem;
    line-height: 1.9;
}

.nj-footer-store__text a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--sun);
    font-weight: 700;
    text-decoration: none;
}

.nj-footer-store__text a:hover {
    text-decoration: underline;
}

.nj-page .footer__nav-list {
    gap: 0;
}

.nj-page .footer__nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

@media (min-width: 900px) {
    .nj-page .footer__layout {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 56px;
    }

    .nj-page .footer__brand {
        grid-column: 1 / -1;
    }
}

/* the sticky bar never sits on the last lines of the footer */
@media (max-width: 1099px) {
    .nj-page .footer {
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }
}

/* ---- Sticky bar text width for this page's short label ---- */
.nj-page .sticky-cta-bar__text {
    max-width: 4.6em;
}

@media (min-width: 769px) {
    .nj-page .sticky-cta-bar__text {
        max-width: none;
    }
}

/* ---- Hero scrapbook + jumping stamp (same as the top page, Nov 11) ---- */
.nj-hero__media.hero-visual--scrap {
    overflow: visible;
    aspect-ratio: auto;
    height: 330px;
    margin: 14px 0 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.nj-hero__media .scrap img {
    height: auto;
    object-position: 50% 50%;
}

.nj-hero__media .scrap--1 img {
    object-position: 100% 50%;
}

.nj-hero__media .scrap--3 img {
    object-position: 50% 12%;
}

.nj-hero__media.hero-visual--scrap + .nj-hero__text {
    margin-top: 38px;
    padding-top: 0;
    border-radius: 0;
    background: none;
}

@media (min-width: 600px) and (max-width: 1023px) {
    .nj-hero__media.hero-visual--scrap {
        width: 100%;
        max-width: 620px;
        height: 520px;
        margin-inline: auto;
    }
}

@media (min-width: 1024px) {
    .nj-hero__media.hero-visual--scrap {
        height: clamp(400px, calc(100vh - 230px), 560px);
        height: clamp(400px, calc(100svh - 230px), 560px);
        margin: 0 16px 0 0;
    }

    .nj-hero__media.hero-visual--scrap + .nj-hero__text {
        margin-top: 0;
    }
}

