/* ===================================================================
   NEXUS REALTY GROUP — work-5 styles
   Design: Dark Corporate Luxury
=================================================================== */

/* -------------------------------------------------------------------
   Design Tokens
------------------------------------------------------------------- */
.work-5-body {
    --nx-dark:        #060B15;
    --nx-dark-2:      #0B1122;
    --nx-surface:     #0F1628;
    --nx-surface-2:   #141C34;
    --nx-border:      rgba(255, 255, 255, 0.12);
    --nx-border-gold: rgba(191, 164, 107, 0.35);
    --nx-text:        #F0ECE4;
    --nx-text-muted:  rgba(240, 236, 228, 0.78);
    --nx-text-dim:    rgba(240, 236, 228, 0.48);
    --nx-accent:      #C9AE76;
    --nx-accent-h:    #DFC589;
    --nx-white:       #FFFFFF;
    --nx-font-serif:  'Playfair Display', 'Georgia', serif;
    --nx-font-cormo:  'Cormorant Garamond', 'Georgia', serif;
    --nx-font-ja:     'Noto Sans JP', sans-serif;
    --nx-ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --nx-ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --nx-transition:  0.6s var(--nx-ease);
}

/* -------------------------------------------------------------------
   Base Reset
------------------------------------------------------------------- */
.work-5-body,
.nx-main {
    background-color: var(--nx-dark);
    color: var(--nx-text);
    font-family: var(--nx-font-ja);
    font-weight: 300;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override base.css global heading/link colors */
.work-5-body h1,
.work-5-body h2,
.work-5-body h3,
.work-5-body h4,
.work-5-body h5,
.work-5-body h6 {
    color: var(--nx-white);
}

.work-5-body a {
    color: inherit;
    text-decoration: none;
}

.nx-main * {
    box-sizing: border-box;
}

.nx-main a {
    color: inherit;
    text-decoration: none;
}

.nx-main img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* -------------------------------------------------------------------
   Utility: Eyebrow / Section Head
------------------------------------------------------------------- */
.nx-eyebrow {
    display: block;
    font-family: var(--nx-font-serif);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.28em;
    color: var(--nx-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.nx-eyebrow--light {
    color: rgba(191, 164, 107, 0.8);
}

.nx-section-head {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.nx-section-title {
    font-family: var(--nx-font-serif);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 400;
    color: var(--nx-white);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.nx-section-lead {
    font-size: clamp(13px, 1.4vw, 15px);
    color: var(--nx-text-muted);
    line-height: 2;
    max-width: 640px;
    margin: 0 auto;
}

/* -------------------------------------------------------------------
   Utility: Buttons
------------------------------------------------------------------- */
.nx-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--nx-font-ja);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    transition: background var(--nx-transition), color var(--nx-transition), border-color var(--nx-transition);
    cursor: pointer;
}

.nx-btn--outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--nx-white);
}
.nx-btn--outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.6);
}

.nx-btn--ghost {
    background: transparent;
    border: 1px solid var(--nx-border-gold);
    color: var(--nx-accent);
}
.nx-btn--ghost:hover {
    background: rgba(191, 164, 107, 0.08);
    border-color: var(--nx-accent);
}

.nx-btn--gold {
    background: var(--nx-accent);
    border: 1px solid var(--nx-accent);
    color: var(--nx-dark);
    font-weight: 500;
}
.nx-btn--gold:hover {
    background: var(--nx-accent-h);
    border-color: var(--nx-accent-h);
}

/* -------------------------------------------------------------------
   Utility: Link Arrow
------------------------------------------------------------------- */
.nx-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--nx-font-ja);
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--nx-accent);
    transition: gap var(--nx-transition), opacity var(--nx-transition);
}
.nx-link-arrow:hover {
    gap: 20px;
    opacity: 0.85;
}

/* -------------------------------------------------------------------
   Utility: Scroll Animations
------------------------------------------------------------------- */
.nx-reveal,
.nx-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--nx-ease-out), transform 0.8s var(--nx-ease-out);
    transition-delay: var(--d, 0s);
}

.nx-reveal.is-visible,
.nx-fade-up.is-visible {
    opacity: 1;
    transform: none;
}

/* ===================================================================
   HEADER
=================================================================== */
.nx-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--nx-transition), border-color var(--nx-transition), backdrop-filter var(--nx-transition);
    border-bottom: 1px solid transparent;
}

.nx-header.is-scrolled {
    background: rgba(6, 11, 21, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--nx-border);
}

.nx-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 64px);
    height: 72px;
}

/* Logo */
.nx-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nx-header__logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--nx-accent);
    border-radius: 2px;
    font-family: var(--nx-font-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-accent);
    letter-spacing: 0;
    flex-shrink: 0;
}

.nx-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nx-header__logo-main {
    font-family: var(--nx-font-serif);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--nx-white);
    line-height: 1;
    margin-bottom: 3px;
}

.nx-header__logo-sub {
    font-family: var(--nx-font-ja);
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 0.22em;
    color: var(--nx-text-muted);
}

/* Desktop Nav */
.nx-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nx-nav__link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-family: var(--nx-font-ja);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: rgba(237, 232, 224, 0.75);
    transition: color var(--nx-transition);
    position: relative;
    white-space: nowrap;
}

.nx-nav__link:hover {
    color: var(--nx-white);
}

.nx-nav__arrow {
    transition: transform var(--nx-transition);
}

.nx-nav__item--has-child:hover .nx-nav__arrow {
    transform: rotate(180deg);
}

/* CTA nav link */
.nx-nav__link--cta {
    margin-left: 8px;
    padding: 8px 20px;
    border: 1px solid var(--nx-border-gold);
    border-radius: 2px;
    color: var(--nx-accent);
    letter-spacing: 0.18em;
}
.nx-nav__link--cta:hover {
    background: rgba(191, 164, 107, 0.1);
    color: var(--nx-accent-h);
}

/* Dropdown */
.nx-nav__child {
    position: absolute;
    top: 100%;               /* gap は padding-top で作る */
    left: 50%;
    background: rgba(6, 11, 21, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--nx-border);
    border-radius: 4px;
    padding: 12px 0 8px;     /* top padding がホバー可能なブリッジになる */
    min-width: 200px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    /* hide 方向に visibility を遅延させてマウス移動の余裕を作る */
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
    pointer-events: none;
}

.nx-nav__item--has-child {
    position: relative;
}

/* ナビリンクとドロップダウンの間を透明要素で埋めてホバーを維持 */
.nx-nav__item--has-child > .nx-nav__link::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nx-nav__item--has-child:hover .nx-nav__child {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0s;
    pointer-events: auto;
}

.nx-nav__child li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--nx-font-ja);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--nx-text-muted);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nx-nav__child li a:hover {
    color: var(--nx-accent);
    background: rgba(191, 164, 107, 0.06);
}

/* Hamburger */
.nx-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nx-hamburger__bar {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--nx-text);
    transition: transform 0.4s var(--nx-ease), opacity 0.3s;
}

.nx-hamburger.is-open .nx-hamburger__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nx-hamburger.is-open .nx-hamburger__bar:nth-child(2) { opacity: 0; }
.nx-hamburger.is-open .nx-hamburger__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Nav */
.nx-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(6, 11, 21, 0.97);
    backdrop-filter: blur(20px);
    padding: 100px clamp(32px, 8vw, 80px) 48px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s var(--nx-ease-out);
}

.nx-mobile-nav.is-open {
    transform: none;
}

.nx-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nx-mobile-nav__list > li {
    border-bottom: 1px solid var(--nx-border);
    padding: 16px 0;
}

.nx-mobile-nav__list > li > a {
    font-family: var(--nx-font-serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--nx-white);
}

.nx-mobile-nav__label {
    display: block;
    font-family: var(--nx-font-serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--nx-text-muted);
    margin-bottom: 8px;
}

.nx-mobile-nav__sub {
    list-style: none;
    padding: 0 0 0 16px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nx-mobile-nav__sub li a {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--nx-text-muted);
    padding: 6px 0;
    display: block;
}

.nx-mobile-nav__cta {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 28px;
    border: 1px solid var(--nx-border-gold);
    border-radius: 2px;
    font-size: 13px !important;
    letter-spacing: 0.18em !important;
    color: var(--nx-accent) !important;
}

/* ===================================================================
   HERO
=================================================================== */
.nx-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--nx-dark);
}

.nx-hero__bg {
    position: absolute;
    inset: 0;
}

.nx-hero__bg-img {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=85');
    background-size: cover;
    background-position: center;
    transform-origin: center;
    animation: nxKenBurns 20s ease-in-out infinite alternate;
    filter: brightness(0.62) saturate(0.75);
}

@keyframes nxKenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

.nx-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(6, 11, 21, 0.3) 0%,
        rgba(6, 11, 21, 0.1) 40%,
        rgba(6, 11, 21, 0.75) 80%,
        rgba(6, 11, 21, 0.95) 100%
    );
}

/* Subtle grid overlay */
.nx-hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(191,164,107,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(191,164,107,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.6;
}

.nx-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 6vw, 80px) clamp(80px, 10vw, 120px);
}

.nx-hero__content {
    max-width: 760px;
}

.nx-hero__eyebrow {
    display: block;
    font-family: var(--nx-font-ja);
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.36em;
    color: var(--nx-accent);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.nx-hero__heading {
    font-family: var(--nx-font-serif);
    font-size: clamp(52px, 8vw, 108px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--nx-white);
    margin-bottom: 28px;
    overflow: hidden;
}

.nx-hero__heading-line {
    display: block;
}

.nx-hero__heading-line--italic {
    font-style: italic;
    color: var(--nx-accent);
}

/* Reveal animation initial state */
.nx-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--nx-ease-out), transform 1s var(--nx-ease-out);
    transition-delay: var(--d, 0s);
}
.nx-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.nx-hero__body {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 300;
    line-height: 2;
    color: rgba(237, 232, 224, 0.75);
    margin-bottom: 36px;
}

.nx-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Scroll Indicator */
.nx-hero__scroll-indicator {
    position: absolute;
    right: clamp(24px, 4vw, 60px);
    bottom: clamp(40px, 6vw, 80px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.nx-hero__scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--nx-accent));
    animation: nxScrollLine 2s ease-in-out infinite;
}

@keyframes nxScrollLine {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
    40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.nx-hero__scroll-text {
    font-family: var(--nx-font-ja);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--nx-accent);
    writing-mode: vertical-rl;
}

/* Counter */
.nx-hero__counter {
    position: absolute;
    left: clamp(24px, 4vw, 60px);
    bottom: clamp(40px, 6vw, 80px);
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--nx-font-cormo);
    font-size: 12px;
    font-style: italic;
    color: var(--nx-text-dim);
    letter-spacing: 0.08em;
}

.nx-hero__counter-num {
    font-size: 16px;
    color: var(--nx-accent);
}

/* ===================================================================
   VALUE
=================================================================== */
.nx-value {
    background: var(--nx-dark-2);
    padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 80px);
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
}

.nx-value__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 48px;
}

.nx-value__heading {
    font-family: var(--nx-font-serif);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--nx-white);
    margin-bottom: 24px;
}

.nx-value__heading em {
    font-style: italic;
    color: var(--nx-accent);
}

.nx-value__body {
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 300;
    line-height: 2.1;
    color: var(--nx-text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.nx-value__deco {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    opacity: 0.12;
    user-select: none;
}

.nx-value__deco-num {
    font-family: var(--nx-font-cormo);
    font-size: 100px;
    font-style: italic;
    font-weight: 300;
    color: var(--nx-accent);
    line-height: 0.9;
}

.nx-value__deco-label {
    font-family: var(--nx-font-serif);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--nx-text);
    text-transform: uppercase;
}

/* ===================================================================
   MARQUEE
=================================================================== */
.nx-marquee {
    display: flex;
    overflow: hidden;
    background: var(--nx-dark);
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
    padding: 18px 0;
}

.nx-marquee__track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: nxMarquee 24s linear infinite;
    flex-shrink: 0;
}

.nx-marquee__track span {
    font-family: var(--nx-font-serif);
    font-size: clamp(13px, 1.5vw, 16px);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.24em;
    color: var(--nx-text-muted);
    padding: 0 32px;
}

.nx-marquee__dot {
    color: var(--nx-accent) !important;
    font-style: normal !important;
    padding: 0 8px !important;
}

@keyframes nxMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===================================================================
   ABOUT
=================================================================== */
.nx-about {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 80px);
    background: var(--nx-dark);
}

.nx-about__inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* About — Single CTA button */
.nx-about__action {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

/* About List (row links) — kept for reference */
.nx-about__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--nx-border);
}

.nx-about-item {
    display: grid;
    grid-template-columns: 48px 1fr auto 32px;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--nx-border);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background var(--nx-transition);
}

.nx-about-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(191, 164, 107, 0.04);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--nx-ease-out);
}

.nx-about-item:hover::before {
    transform: scaleX(1);
}

.nx-about-item__num {
    font-family: var(--nx-font-cormo);
    font-size: 14px;
    font-style: italic;
    color: var(--nx-accent);
    letter-spacing: 0.08em;
    opacity: 0.7;
    flex-shrink: 0;
}

.nx-about-item__titles {
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
}

.nx-about-item__en {
    font-family: var(--nx-font-serif);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--nx-white);
    line-height: 1;
}

.nx-about-item__ja {
    font-family: var(--nx-font-ja);
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--nx-text-muted);
}

.nx-about-item__cta {
    font-family: var(--nx-font-ja);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--nx-accent);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.nx-about-item:hover .nx-about-item__cta {
    opacity: 1;
    transform: none;
}

.nx-about-item__arrow {
    color: var(--nx-accent);
    opacity: 0.6;
    flex-shrink: 0;
    transition: transform 0.4s var(--nx-ease-out), opacity 0.3s;
}

.nx-about-item:hover .nx-about-item__arrow {
    transform: translateX(6px);
    opacity: 1;
}

/* ===================================================================
   BUSINESS
=================================================================== */
.nx-business {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 80px);
    background: var(--nx-dark-2);
    border-top: 1px solid var(--nx-border);
}

.nx-business__inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Tab list */
.nx-business__tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 48px;
    border: 1px solid var(--nx-border);
    border-radius: 4px;
    overflow: hidden;
}

.nx-business__tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 12px;
    background: var(--nx-surface);
    border: none;
    border-right: 1px solid var(--nx-border);
    cursor: pointer;
    font-family: var(--nx-font-ja);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--nx-text-muted);
    transition: background var(--nx-transition), color var(--nx-transition);
    position: relative;
}

.nx-business__tab:last-child {
    border-right: none;
}

.nx-business__tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--nx-accent);
    transform: scaleX(0);
    transition: transform var(--nx-transition);
}

.nx-business__tab:hover,
.nx-business__tab.is-active {
    background: var(--nx-surface-2);
    color: var(--nx-white);
}

.nx-business__tab.is-active::after {
    transform: scaleX(1);
}

.nx-business__tab-num {
    display: block;
    font-family: var(--nx-font-cormo);
    font-size: 14px;
    font-style: italic;
    color: var(--nx-accent);
    line-height: 1;
}

/* Panels */
.nx-business__panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
    animation: nxPanelIn 0.5s var(--nx-ease-out);
}

.nx-business__panel.is-active {
    display: grid;
}

@keyframes nxPanelIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

.nx-business__panel-img-wrap {
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
}

.nx-business__panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--nx-ease);
}

.nx-business__panel:hover .nx-business__panel-img {
    transform: scale(1.04);
}

.nx-business__panel-title {
    font-family: var(--nx-font-serif);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 400;
    color: var(--nx-white);
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.nx-business__panel-body {
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 300;
    line-height: 2.1;
    color: var(--nx-text-muted);
    margin-bottom: 32px;
}

/* ===================================================================
   RECRUIT
=================================================================== */
.nx-recruit {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid var(--nx-border);
}

.nx-recruit__img-wrap {
    position: absolute;
    inset: 0;
}

.nx-recruit__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nx-recruit__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 11, 21, 0.95) 0%,
        rgba(6, 11, 21, 0.85) 40%,
        rgba(6, 11, 21, 0.4) 100%
    );
}

.nx-recruit__content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 100px) clamp(24px, 6vw, 80px);
    max-width: 640px;
    margin-left: clamp(24px, 8vw, 120px);
}

.nx-recruit__heading {
    font-family: var(--nx-font-serif);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--nx-white);
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

.nx-recruit__heading em {
    font-style: italic;
    color: var(--nx-accent);
}

.nx-recruit__body {
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 300;
    line-height: 2;
    color: rgba(237, 232, 224, 0.75);
    margin-bottom: 36px;
}

/* ===================================================================
   STORES
=================================================================== */
.nx-stores {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 80px);
    background: var(--nx-dark);
    border-top: 1px solid var(--nx-border);
}

.nx-stores__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.nx-stores__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--nx-border);
    border: 1px solid var(--nx-border);
    border-radius: 4px;
    overflow: hidden;
}

.nx-store-card {
    background: var(--nx-surface);
    transition: background var(--nx-transition);
}

.nx-store-card:hover {
    background: var(--nx-surface-2);
}

.nx-store-card__inner {
    padding: clamp(24px, 2.5vw, 36px);
}

.nx-store-card__tag {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--nx-accent);
    margin-bottom: 10px;
    line-height: 1.6;
}

.nx-store-card__name {
    font-family: var(--nx-font-serif);
    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 400;
    color: var(--nx-white);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--nx-border);
}

.nx-store-card__address {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--nx-text-muted);
    font-style: normal;
    margin-bottom: 10px;
}

.nx-store-card__tel a {
    font-size: 13px;
    font-weight: 400;
    color: var(--nx-accent);
    letter-spacing: 0.08em;
    transition: color 0.2s;
}
.nx-store-card__tel a:hover { color: var(--nx-accent-h); }

/* ===================================================================
   CONTACT
=================================================================== */
.nx-contact {
    position: relative;
    padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 80px);
    background: var(--nx-dark-2);
    border-top: 1px solid var(--nx-border-gold);
    overflow: hidden;
    text-align: center;
}

.nx-contact__inner {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.nx-contact__heading {
    font-family: var(--nx-font-serif);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--nx-white);
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.nx-contact__heading em {
    font-style: italic;
    color: var(--nx-accent);
}

.nx-contact__body {
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 300;
    line-height: 2;
    color: var(--nx-text-muted);
    margin-bottom: 36px;
}

.nx-contact__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.nx-contact__hours {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--nx-text-dim);
}

/* Decorative text */
.nx-contact__deco {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.nx-contact__deco-text {
    font-family: var(--nx-font-serif);
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(191, 164, 107, 0.06);
    text-stroke: 1px rgba(191, 164, 107, 0.06);
}

/* ===================================================================
   FOOTER
=================================================================== */
.nx-footer {
    background: #040810;
    border-top: 1px solid var(--nx-border);
    font-family: var(--nx-font-ja);
    color: var(--nx-text-muted);
}

.nx-footer__top {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(40px, 5vw, 80px);
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 80px) clamp(24px, 6vw, 80px);
    border-bottom: 1px solid var(--nx-border);
}

.nx-footer__brand-logo {
    font-family: var(--nx-font-serif);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--nx-white);
    line-height: 1.3;
    margin-bottom: 24px;
}

.nx-footer__brand-logo span {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.28em;
    display: block;
    color: var(--nx-text-muted);
    margin-top: 4px;
}

.nx-footer__address,
.nx-footer__tel {
    font-size: 12px;
    font-weight: 300;
    line-height: 2;
    font-style: normal;
    margin-bottom: 12px;
}

.nx-footer__tel a {
    color: inherit;
    transition: color 0.2s;
}
.nx-footer__tel a:hover { color: var(--nx-accent); }

.nx-footer__license {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--nx-text-dim);
    margin-top: 16px;
}

.nx-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.nx-footer__nav-heading {
    font-family: var(--nx-font-serif);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.24em;
    color: var(--nx-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--nx-border);
}

.nx-footer__nav-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nx-footer__nav-col ul li a {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--nx-text-muted);
    transition: color 0.2s;
}
.nx-footer__nav-col ul li a:hover { color: var(--nx-accent); }

.nx-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px clamp(24px, 6vw, 80px);
}

.nx-footer__legal {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nx-footer__legal li a {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--nx-text-dim);
    transition: color 0.2s;
}
.nx-footer__legal li a:hover { color: var(--nx-accent); }

.nx-footer__copy {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--nx-text-dim);
}

/* ===================================================================
   RESPONSIVE — Tablet (≤ 1024px)
=================================================================== */
@media (max-width: 1024px) {

    .nx-nav { display: none; }
    .nx-hamburger { display: flex; }
    .nx-mobile-nav { display: block; }

    .nx-value__inner {
        grid-template-columns: 1fr;
    }
    .nx-value__deco { display: none; }

    .nx-about-item {
        grid-template-columns: 40px 1fr 32px;
    }
    .nx-about-item__cta { display: none; }

    .nx-business__panel.is-active {
        grid-template-columns: 1fr;
    }

    .nx-business__tabs {
        flex-wrap: wrap;
    }
    .nx-business__tab {
        flex: none;
        width: calc(50% - 0.5px);
        border-bottom: 1px solid var(--nx-border);
    }

    .nx-stores__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nx-footer__top {
        grid-template-columns: 1fr;
    }
    .nx-footer__nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================================================================
   RESPONSIVE — Mobile (≤ 767px)
=================================================================== */
@media (max-width: 767px) {

    .nx-hero__heading {
        font-size: clamp(44px, 14vw, 64px);
    }

    .nx-hero__body { font-size: 13px; }

    .nx-hero__scroll-indicator { display: none; }
    .nx-hero__counter { display: none; }

    .nx-about-item {
        grid-template-columns: 36px 1fr 28px;
        gap: 16px;
        padding: 22px 0;
    }

    .nx-business__tabs {
        flex-direction: column;
    }
    .nx-business__tab {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        border-right: none;
        border-bottom: 1px solid var(--nx-border);
    }

    .nx-recruit__content {
        margin-left: clamp(24px, 6vw, 48px);
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .nx-stores__grid {
        grid-template-columns: 1fr;
    }

    .nx-footer__nav {
        grid-template-columns: 1fr 1fr;
    }

    .nx-footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .nx-contact__deco { display: none; }
}
