html { scroll-padding-top: 88px; }
.fx-wrap { max-width: 1144px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 44px); }
.fx-site .nh-in { max-width: 1144px; justify-content: space-between; gap: 12px; padding-inline: clamp(16px, 4vw, 44px); }
.fx-site .nh-logo img { width: 148px; height: 38px; object-fit: contain; object-position: left; }
.fx-header-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.fx-header-link:hover, .fx-toc a:hover, .fx-related a:hover { color: var(--lk); }
.fx-skip { position: fixed; left: 16px; top: -5rem; z-index: 80; background: white; padding: .5em 1em; }
.fx-skip:focus { top: 10px; }
.fx-site .nf { margin-top: clamp(42px, 8vw, 88px); background: var(--ft); }
.fx-footer { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 16px; color: var(--tx); font-size: 13px; }
.fx-footer img { object-fit: contain; object-position: left; }
.fx-index { padding-top: clamp(28px, 6vw, 62px); }
.fx-index h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.16; margin: 0 0 clamp(20px, 3vw, 34px); }
.fx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 26px); }
.fx-card { display: flex; flex-direction: column; border: 1px solid var(--ln); border-radius: 18px; overflow: hidden; min-width: 0; text-decoration: none; }
.fx-card:hover { border-color: var(--lk); }
.fx-card:focus-visible { outline-offset: 4px; }
.fx-card-lead { grid-column: 1/-1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: stretch; background: var(--soft); }
.fx-card-image { aspect-ratio: 1.7; overflow: hidden; background: var(--soft); }
.fx-card-lead .fx-card-image { aspect-ratio: auto; min-height: 290px; }
.fx-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-card-image .fx-diagram { height: 100%; border-radius: 0; border: 0; display: grid; align-content: center; }
.fx-card-copy { position: relative; display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 16px 18px 19px; }
.fx-card-lead .fx-card-copy { padding: clamp(20px, 4vw, 40px); justify-content: center; }
.fx-category { color: var(--lk); font-size: 14px; font-weight: 750; letter-spacing: .1em; }
.fx-card h2 { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.38; margin: 7px 0 9px; }
.fx-card-lead h2 { font-size: clamp(25px, 3.4vw, 42px); line-height: 1.25; }
.fx-card p { margin: 0 0 16px; color: var(--tx); line-height: 1.6; }
.fx-card-author { margin-top: auto; font-size: 13px; color: var(--tx); }
.fx-arrow { position: absolute; bottom: 15px; right: 17px; color: var(--lk); font-size: 21px; }
.fx-article { padding-top: clamp(32px, 6vw, 70px); }
.fx-article-header { max-width: 840px; margin: 0 auto clamp(24px, 4vw, 40px); }
.fx-article-header h1 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.21; letter-spacing: -.018em; text-wrap: balance; margin: 12px 0 20px; }
.fx-meta { display: flex; flex-wrap: wrap; gap: 5px 20px; color: var(--tx); font-size: 14px; }
.fx-figure { margin: 0; }
.fx-figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
.fx-figure .fx-landscape { aspect-ratio: 16 / 8.5; object-fit: cover; }
.fx-figure .fx-valley { aspect-ratio: 16 / 8; object-position: 50% 55%; }
.fx-figure figcaption { color: var(--tx); font-size: 13px; line-height: 1.65; padding: 9px 2px 0; overflow-wrap: anywhere; }
.fx-figure figcaption a { color: var(--lk); text-decoration: underline; text-underline-offset: .15em; }
.fx-figure figcaption a:first-of-type { margin-inline-start: .45em; }
.fx-reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 240px); gap: clamp(26px, 5vw, 76px); margin-top: clamp(32px, 5vw, 54px); }
.fx-toc { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 88px; padding: 12px 0 13px 18px; border-left: 1px solid var(--ln); font-size: 14px; }
.fx-toc p { margin: 0 0 6px; color: var(--tx); }
.fx-toc ol { margin: 0; padding-left: 1.25em; display: grid; gap: .45em; }
.fx-toc a { text-decoration: none; }
.fx-prose { grid-column: 1; grid-row: 1; font-size: clamp(16px, 1.8vw, 18px); line-height: 1.86; min-width: 0; }
.fx-prose p { margin: 0 0 1.15em; }
.fx-prose p a { color: var(--lk); font-size: .79em; text-underline-offset: .18em; overflow-wrap: anywhere; }
.fx-prose section { margin-top: clamp(30px, 5vw, 52px); }
.fx-prose h2 { margin: 0 0 .6em; font-size: clamp(22px, 3vw, 24px); line-height: 1.34; letter-spacing: -.018em; }
.fx-prose .fx-figure { margin-top: 22px; }
.fx-inset { width: min(100%, 375px); }
.fx-prose table { width: 100%; border-collapse: collapse; font-size: clamp(13px, 1.6vw, 16px); margin: 20px 0; line-height: 1.6; table-layout: fixed; }
.fx-prose th, .fx-prose td { text-align: left; padding: 10px clamp(6px, 1.35vw, 14px); border-bottom: 1px solid var(--ln); vertical-align: top; overflow-wrap: anywhere; }
.fx-prose th { background: var(--soft); }
.fx-prose th:first-child { width: 25%; }
.fx-diagram { background: var(--soft); border: 1px solid var(--ln); border-radius: 16px; padding: clamp(13px, 3vw, 30px); }
.fx-diagram-title { font-weight: 800; font-size: clamp(16px, 2.4vw, 23px); line-height: 1.35; margin-bottom: 15px; }
.fx-rail-diagram { background: var(--bg2); }
.fx-rail { position: relative; width: 100%; max-width: 720px; min-height: 130px; height: clamp(145px, 24vw, 290px); margin-inline: auto; overflow: hidden; }
.fx-deckline { position: absolute; left: 3%; top: 64%; width: 38%; height: 23%; border: 2px solid var(--tx); background: var(--ln); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); border-radius: 4px 4px 0 0; }
.fx-trace { position: absolute; inset: 36% 16% 39% 16%; background: repeating-linear-gradient(90deg, var(--lk) 0 5px, transparent 5px 9px); clip-path: polygon(0 0, 100% 90%, 100% 96%, 0 6%); z-index: 2; }
.fx-eye { position: absolute; z-index: 3; left: calc(16% - 6px); top: calc(36% - 5px); width: 12px; aspect-ratio: 1; border-radius: 50%; background: var(--lk); }
.fx-fence { position: absolute; z-index: 1; top: 33%; bottom: 35%; left: 36%; width: 5%; border: 3px solid var(--nv); border-bottom: 0; border-radius: 3px 3px 0 0; }
.fx-stage { position: absolute; top: 56%; right: 3%; width: 27%; height: 12%; border-radius: 5px; background: var(--nv); }
.fx-rail-label { position: absolute; white-space: nowrap; color: var(--nv); font-weight: 750; font-size: clamp(12px, 2.1vw, 17px); }
.fx-eye-label { left: 6%; top: 9%; }
.fx-fence-label { left: 32%; top: 87%; }
.fx-stage-label { right: 8%; top: 70%; }
.fx-floor { position: relative; min-height: 244px; height: clamp(245px, 35vw, 315px); border: 1px solid var(--ln); border-radius: 12px; background: white; overflow: hidden; }
.fx-floor span { position: absolute; display: grid; place-items: center; font-size: clamp(11px, 2.2vw, 15px); font-weight: 800; white-space: nowrap; border-radius: 6px; line-height: 1.25; }
.fx-floor-main { top: 8%; left: 18%; width: 64%; height: 18%; background: var(--nv); color: white; }
.fx-floor-runway { top: 25%; left: 48%; width: 4%; height: 23%; background: var(--nv); }
.fx-floor-extension { top: 43%; left: 37%; width: 26%; height: 13%; background: var(--nv); color: white; }
.fx-floor-foh { top: 64%; left: 36%; width: 28%; height: 12%; background: var(--soft); color: var(--nv); }
.fx-floor-orange { top: 34%; right: 3%; width: 29%; height: 13%; background: var(--bg2); color: var(--nv); }
.fx-floor-blue { top: 82%; left: 43%; width: 31%; height: 12%; background: var(--soft); color: var(--nv); }
.fx-buildings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 10px 0 0; gap: 8px; }
.fx-buildings a { display: flex; flex-direction: column; height: 100%; padding: 10px clamp(7px, 2vw, 18px); border-radius: 10px; background: var(--soft); text-decoration: none; line-height: 1.42; }
.fx-buildings a:hover { background: var(--bg2); }
.fx-buildings small { color: var(--lk); font-size: 12px; }
.fx-buildings strong { font-size: clamp(15px, 2vw, 20px); margin: 3px 0 4px; }
.fx-buildings span { font-size: clamp(11px, 1.5vw, 14px); color: var(--tx); }
.fx-training { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 7px; }
.fx-training li { background: white; border: 1px solid var(--ln); border-radius: 8px; text-align: center; padding: 8px 3px; font-size: 14px; }
.fx-converge { display: grid; justify-items: center; gap: 2px; padding-top: 6px; color: var(--nv); font-size: 15px; }
.fx-flow { display: grid; grid-template-columns: minmax(60px, .45fr) minmax(0, 3fr); gap: clamp(6px, 2vw, 18px); align-items: center; }
.fx-flow + .fx-flow { margin-top: 12px; }
.fx-flow strong { font-size: clamp(13px, 2.3vw, 19px); line-height: 1.2; }
.fx-flow ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(9px, 2.4vw, 21px); list-style: none; padding: 0; margin: 0; }
.fx-flow li { position: relative; display: grid; place-items: center; text-align: center; padding: 7px 5px; min-height: 48px; line-height: 1.35; font-size: clamp(12px, 1.9vw, 16px); border-radius: 7px; border: 1px solid var(--ln); background: white; }
.fx-flow li:last-child { font-weight: 750; background: var(--bg2); }
.fx-flow li + li::before { content: "→"; position: absolute; right: 100%; width: clamp(9px, 2.4vw, 21px); color: var(--lk); font-size: 12px; }
.fx-card-image .fx-rice { padding: 10px; }
.fx-card-image .fx-rice .fx-diagram-title { font-size: 13px; margin-bottom: 7px; }
.fx-card-image .fx-rice .fx-flow { gap: 5px; grid-template-columns: 42px minmax(0, 1fr); }
.fx-card-image .fx-rice .fx-flow ol { gap: 5px; }
.fx-card-image .fx-rice .fx-flow li { font-size: 11px; padding: 4px 2px; min-height: 32px; }
.fx-card-image .fx-rice .fx-flow li + li::before { content: none; }
.fx-card-image .fx-rice .fx-flow + .fx-flow { margin-top: 5px; }
.fx-card-image .fx-rice .fx-flow strong { font-size: 12px; }
.fx-water .fx-flow:nth-child(2) li:last-child { background: var(--soft); }
.fx-related { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ln); }
.fx-related h2 { margin: 0 0 14px; font-size: 23px; }
.fx-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fx-related a { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--soft); padding: 13px 16px; border-radius: 10px; text-decoration: none; line-height: 1.55; font-weight: 700; }
@media (max-width: 780px) {
  .fx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-reading { display: block; }
  .fx-toc { position: static; background: var(--soft); border: 0; border-radius: 12px; padding: 13px 16px; margin-bottom: 22px; }
  .fx-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 545px) {
  .fx-cards { grid-template-columns: 1fr; }
  .fx-card-lead { display: flex; }
  .fx-card-lead .fx-card-image { min-height: 0; aspect-ratio: 1.55; }
  .fx-card-image { aspect-ratio: 1.85; }
  .fx-article-header h1 { line-height: 1.24; }
  .fx-related ul { grid-template-columns: 1fr; gap: 7px; }
  .fx-toc ol { grid-template-columns: 1fr; }
}

.fx-header-link { display: inline-flex; align-items: center; min-height: 40px; }
.fx-toc a { display: inline-flex; align-items: center; min-height: 40px; }

.fx-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); margin-top: 22px; align-items: start; }
.fx-prose .fx-pair .fx-figure { margin-top: 0; width: 100%; }
.fx-pair img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.fx-prose > section > .fx-photo img { max-height: 420px; object-fit: cover; }
.fx-article > article > .fx-photo img { aspect-ratio: 16 / 9; object-fit: cover; }
.fx-map img { border: 1px solid var(--ln); background: white; }
.fx-map-link { display: block; border-radius: 14px; }
.fx-four-sides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.fx-four-sides > * { padding: 8px 3px; text-align: center; font-size: clamp(12px, 1.7vw, 15px); line-height: 1.35; border-radius: 7px; background: white; }
.fx-four-sides > :first-child { grid-area: 1 / 2; }
.fx-four-sides > :nth-child(2) { grid-area: 2 / 1; }
.fx-four-sides > strong { grid-area: 2 / 2; color: white; background: var(--nv); }
.fx-four-sides > :nth-child(4) { grid-area: 2 / 3; }
.fx-four-sides > :nth-child(5) { grid-area: 3 / 2; }
.fx-four-sides > em { grid-area: 4 / 3; background: var(--bg2); font-weight: 700; font-style: normal; }
.fx-leaves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.fx-leaves div { display: flex; flex-direction: column; gap: 3px; border-radius: 8px; background: white; padding: 10px; font-size: clamp(12px, 2vw, 16px); line-height: 1.45; }
.fx-leaves strong { color: var(--lk); font-size: 1.12em; }
