/* =====================================================================
   本国 formthotics.com/nz_en と同じ見た目の共通部品（Issue #5・2026-11-05）
   style.css（旧テーマ）の後に読み、全ページの土台・ヘッダー（masthead）・パンくず・ボタン・
   見出しラベル・左右 2 分割のパネル・カード・フッターを本国の寸法にそろえる。
   寸法は 2026-11-05 に本国のページ（幅 1440px）を実測: 余白 96px・パネル角丸 8px・パネルの外側 16px・
   h1 57px/500・h2 40〜45px/400・本文 16px・ボタン 14px 大文字・角丸「22px 6px」。
   書体は本国の Graphik の代わりに Noto Sans / Noto Sans JP（オーナー指定）。
   ページ固有の部品はそれぞれのテンプレートの <style> か、ここの「ページの部品」に置く。
   ===================================================================== */

:root {
  --nz-ink: #000;
  --nz-navy: #002238;
  --nz-blue: #005e9b;
  --nz-blue-dark: #00466f;
  --nz-sky: #2aa8e0;
  --nz-orange: #eb7802;
  --nz-dark: #2b3135;
  --nz-muted: #656a6d;
  --nz-line: #e3e6e8;
  --nz-medical-bg: #e1f1fc;
  --nz-sports-bg: #fdf1e5;
  --nz-neutral-bg: #f7f7f7;
  --nz-gutter: clamp(20px, 6.67vw, 96px);
  --nz-max: 1248px;
  --nz-radius: 8px;
  --nz-font: 'Noto Sans', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, system-ui, sans-serif;
}

/* ---------------------------------------------------------------- 土台 */
body.nz {
  min-width: 0;
  margin: 0;
  background: #fff;
  color: var(--nz-navy);
  font-family: var(--nz-font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.nz h1, body.nz h2, body.nz h3, body.nz h4 {
  font-family: var(--nz-font);
  color: inherit;
}
body.nz a { color: inherit; }
/* :where() で詳細度を 0 にして、部品側の height: 100% などを邪魔しない */
:where(body.nz) img { max-width: 100%; height: auto; }
body.nz .contents { padding: 0 !important; }
body.nz .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* 旧テーマのヘッダー・SP ヘッダーの席取り（固定ヘッダー前提の余白）をなくす */
body.nz header.pc, body.nz header.sp { display: none !important; }

.nz-wrap {
  box-sizing: border-box;
  max-width: calc(var(--nz-max) + var(--nz-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--nz-gutter);
}

/* ---------------------------------------------------------------- masthead（ロゴ・メニュー・見出しの角丸パネル） */
.nz-masthead {
  /* 旧テーマの header { position: fixed; width: 100%; height: 50px/90px; background: #fff } を打ち消す */
  position: relative !important;
  top: auto; left: auto;
  width: auto !important;
  height: auto !important;
  z-index: auto !important; /* 重なりの基準を作らない（スマホのメニューより上にロゴと閉じるボタンを出すため） */
  box-sizing: border-box;
  margin: 16px 16px 0;
  border-radius: var(--nz-radius);
  background: var(--nz-neutral-bg);
  color: var(--nz-ink);
  overflow: visible;
}
.nz-masthead--medical { background: var(--nz-medical-bg); }
.nz-masthead--sports { background: var(--nz-sports-bg); }
.nz-masthead--photo {
  min-height: min(860px, calc(100vh - 32px));
  background-color: #1b2a35;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.nz-masthead--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 20, 35, 0.45) 0%, rgba(0, 20, 35, 0.05) 30%, rgba(0, 20, 35, 0.15) 60%, rgba(0, 20, 35, 0.55) 100%);
  pointer-events: none;
}

.nz-bar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo . contact" "nav nav nav";
  align-items: center;
  row-gap: 38px;
  padding: 56px calc(var(--nz-gutter) - 16px) 0;
}
.nz-logo { grid-area: logo; display: block; line-height: 0; }
.nz-logo img { width: 210px; height: auto; }
.nz-contact {
  grid-area: contact;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.nz-arrow { display: inline-block; margin-left: 8px; color: var(--nz-orange); transition: transform 0.2s; }
.nz--medical .nz-arrow, .nz-masthead--medical .nz-arrow { color: var(--nz-sky); }
a:hover > .nz-arrow { transform: translateX(3px); }

/* 本国は横いっぱいの線を引かず、ホバー中・表示中の項目の下にだけ線を出す（オーナー 11-05「下線長すぎ」） */
.nz-nav { grid-area: nav; justify-self: start; }
/* 旧テーマの header .navi（float・padding-top 55px・20px）と header .navi li（inline-block・margin-left 20px）を打ち消す */
.nz-nav .navi { display: flex; gap: 40px; float: none; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 400; }
.nz-nav .navi > li { position: relative; display: block; margin: 0; padding-bottom: 14px; }
.nz-nav .navi li a:hover { opacity: 1; }
.nz-nav .navi > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
  white-space: nowrap;
}
.nz-caret { width: 18px; height: 18px; color: var(--nz-orange); }
.nz-masthead--medical .nz-caret { color: var(--nz-sky); }
.nz-nav .navi > li::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--nz-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nz-masthead--medical .nz-nav .navi > li::after { background: var(--nz-sky); }
.nz-nav .navi > li:hover::after, .nz-nav .navi > li.is-current::after { transform: scaleX(1); }
.nz-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 260px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: #fff;
  border-radius: var(--nz-radius);
  box-shadow: 0 16px 40px rgba(0, 34, 56, 0.16);
  color: var(--nz-ink);
}
/* 旧テーマの header .navi li（inline-block・margin-left 20px）がサブメニューの項目にも当たって 2 列になっていた（オーナー 11-05「2列はかっこわるい」） */
.nz-nav .submenu li { display: block; margin: 0; padding: 0; float: none; }
.nz-nav .submenu a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
.nz-nav .submenu a:hover { background: var(--nz-neutral-bg); }

.nz-burger { display: none; }

/* 見出し */
.nz-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  min-height: 420px;
  padding: 72px calc(var(--nz-gutter) - 16px) 96px;
}
.nz-hero--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-bottom: 72px; }
.nz-hero__copy { max-width: 820px; }
/* 日本語の大見出しは括弧の途中で折り返さない（「メディカルライン（矯正インソール）」など） */
.nz-hero__title--ja { word-break: keep-all; overflow-wrap: anywhere; }
.nz-hero__title {
  margin: 0;
  font-size: clamp(36px, 4vw, 57px);
  font-weight: 500 !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: left;
}
/* title_ja があるときの h1（SEO 計画 P0-1）: 本国の英語名は上の小さいラベル、日本語が大見出し。日本語は字面が大きいので英語の見出しより一回り小さく、行間を広く */
.nz-hero__title--ja { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.3; letter-spacing: 0.02em; }
.nz-hero__en {
  display: block;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nz-hero__lead { margin-top: 20px; font-size: 16px; line-height: 1.8; max-width: 560px; }
.nz-hero__lead p + p { margin-top: 10px; }
.nz-hero__media img { display: block; width: 100%; max-height: 420px; object-fit: contain; border-radius: var(--nz-radius); }
.nz-masthead--photo .nz-hero {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  min-height: 0;
  padding-bottom: 88px;
}
.nz-masthead--photo .nz-hero__title { font-size: clamp(38px, 4.4vw, 64px); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25); }

/* パンくず */
.nz-crumbs { padding: 8px var(--nz-gutter); }
.nz-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0 auto; max-width: var(--nz-max); padding: 0; list-style: none; font-size: 14px; }
.nz-crumbs li + li::before { content: "›"; margin: 0 10px; color: var(--nz-orange); font-size: 16px; }
.nz--medical .nz-crumbs li + li::before { color: var(--nz-sky); }
.nz-crumbs a { text-decoration: none; }
.nz-crumbs a:hover { text-decoration: underline; }
.nz-crumbs [aria-current] { font-weight: 500; }

/* ---------------------------------------------------------------- 共通の部品 */
/* 見出しの上のラベル（本国は斜めの短い線＋大文字） */
.nz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nz-eyebrow::before {
  content: "";
  width: 18px;
  height: 7px;
  border-radius: 7px 2px;
  background: var(--nz-orange);
  transform: skewX(-20deg);
}
.nz--medical .nz-eyebrow::before, .nz-eyebrow--medical::before { background: var(--nz-sky); }
.nz-eyebrow--sports::before { background: var(--nz-orange) !important; }
.nz-eyebrow--plain::before { display: none; }

.nz-h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.1vw, 45px);
  font-weight: 400 !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
}
.nz-h3 { margin: 0 0 8px; font-size: 19px; font-weight: 500 !important; line-height: 1.35; letter-spacing: -0.01em; }
.nz-lead { max-width: 640px; font-size: 16px; line-height: 1.8; }
.nz-lead + .nz-lead { margin-top: 12px; }
.nz-small { font-size: 13px; color: var(--nz-muted); }

/* ボタン（左上と右下を大きく丸める） */
.nz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.nz-btn {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nz-btn--primary, .nz-btn--dark, .nz-btn--light {
  padding: 12px 28px;
  border-radius: 22px 6px;
}
.nz-btn--primary { background: var(--nz-blue); color: #fff !important; }
.nz-btn--primary:hover { background: var(--nz-blue-dark); }
.nz-btn--dark { background: var(--nz-navy); color: #fff !important; }
.nz-btn--dark:hover { background: #000; }
.nz--sports .nz-btn--primary, .nz-panel--sports .nz-btn--primary { background: var(--nz-dark); }
.nz--sports .nz-btn--primary:hover, .nz-panel--sports .nz-btn--primary:hover { background: #000; }
.nz-btn--light { background: #fff; color: var(--nz-ink) !important; }
.nz-btn--light:hover { background: var(--nz-neutral-bg); }
.nz-btn--link {
  padding: 0 0 2px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  color: inherit;
}

/* 区切り（本国は白地とグレー地を交互に置き、上下 64〜80px） */
.nz-section { padding: 80px 0; }
.nz-section--grey { background: var(--nz-neutral-bg); }
.nz-section--sports { background: var(--nz-sports-bg); }
.nz-section--medical { background: var(--nz-medical-bg); }
.nz-section__head { max-width: 760px; margin-bottom: 40px; }
.nz-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.nz-section__head--center .nz-h2 { text-align: center; }

/* 左右 2 分割のパネル（写真＋文。本国のトップ・各売り場で使う） */
.nz-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 16px 16px 0;
  border-radius: var(--nz-radius);
  overflow: hidden;
  background: var(--nz-neutral-bg);
}
.nz-panel--medical { background: var(--nz-medical-bg); }
.nz-panel--sports { background: var(--nz-sports-bg); }
.nz-panel--reverse .nz-panel__media { order: -1; }
.nz-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(24px, 5vw, 80px) 80px calc(var(--nz-gutter) - 16px);
}
.nz-panel--reverse .nz-panel__body { padding: 80px calc(var(--nz-gutter) - 16px) 80px clamp(24px, 5vw, 80px); }
.nz-panel__media { position: relative; min-height: 460px; }
.nz-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--nz-focus, center); }
.nz-panel__media--contain { display: flex; align-items: center; justify-content: center; padding: 40px; }
.nz-panel__media--contain img { position: static; height: auto; max-height: 420px; object-fit: contain; }
.nz-panel .nz-lead { max-width: 520px; }
.nz-list { margin: 16px 0 0; padding: 0; list-style: none; }
.nz-list li { position: relative; padding-left: 26px; margin: 6px 0; font-size: 15px; }
.nz-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.75em;
  width: 14px; height: 6px;
  border-radius: 6px 2px;
  background: var(--nz-sky);
  transform: skewX(-20deg);
}
.nz--sports .nz-list li::before, .nz-panel--sports .nz-list li::before { background: var(--nz-orange); }

/* カード（写真＋見出し＋文。本国の Why Formthotics・事例・製品） */
.nz-grid { display: grid; gap: 16px; }
.nz-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nz-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nz-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nz-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--nz-radius);
  background: #fff;
  color: var(--nz-ink);
  text-decoration: none;
}
a.nz-card { transition: box-shadow 0.2s, transform 0.2s; }
a.nz-card:hover { box-shadow: 0 12px 32px rgba(0, 34, 56, 0.12); transform: translateY(-2px); }
.nz-card__media { position: relative; aspect-ratio: 1 / 1; background: #dcebf6; overflow: hidden; }
.nz-card__media--wide { aspect-ratio: 16 / 9; }
.nz-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nz-card__media--product { aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; padding: 24px; }
.nz-card__media--product img { object-fit: contain; height: auto; max-height: 100%; }
.nz-card__body { padding: 16px 16px 24px; }
.nz-card__body p { font-size: 14px; line-height: 1.7; }
.nz-card__tag { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 10px; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.nz-card__tag::before { content: ""; width: 16px; height: 6px; border-radius: 6px 2px; background: var(--nz-orange); transform: skewX(-20deg); }
.nz-card__tag--medical::before { background: var(--nz-sky); }
.nz-card__more { margin-top: auto; padding: 0 16px 20px; font-size: 12px; font-weight: 500; text-transform: uppercase; }

/* 写真タイル（本国の種目一覧: 写真の下に大文字の名前） */
.nz-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nz-tile { display: block; text-decoration: none; color: var(--nz-ink); }
.nz-tile img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nz-tile span { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.nz-tile:hover span { text-decoration: underline; }

/* 注記 */
.nz-note { margin-top: 24px; font-size: 12px; color: var(--nz-muted); }

/* よくある質問（本国の FAQ と同じ開閉式） */
.nz-faq { border-top: 1px solid var(--nz-line); }
.nz-faq details { border-bottom: 1px solid var(--nz-line); }
.nz-faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}
.nz-faq summary::-webkit-details-marker { display: none; }
.nz-faq summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--nz-orange);
}
.nz-faq details[open] summary::after { content: "−"; }
.nz-faq .nz-faq__a { padding: 0 48px 24px 0; font-size: 15px; line-height: 1.85; }
.nz-faq .nz-faq__a a { text-decoration: underline; }
.nz-faq .nz-faq__a p + p { margin-top: 10px; }

/* 本文（読みもの・お知らせ）の組版 */
.nz-prose { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.95; }
.nz-prose h2 { margin: 56px 0 16px; font-size: 28px; font-weight: 400 !important; line-height: 1.3; letter-spacing: -0.01em; text-align: left; }
.nz-prose h3 { margin: 36px 0 12px; font-size: 20px; font-weight: 500 !important; text-align: left; }
.nz-prose p, .nz-prose ul, .nz-prose ol, .nz-prose table { margin: 0 0 18px; }
.nz-prose ul { list-style: disc; padding-left: 1.4em; }
.nz-prose ol { list-style: decimal; padding-left: 1.4em; }
.nz-prose a { color: var(--nz-blue); text-decoration: underline; }
.nz-prose img { border-radius: var(--nz-radius); }
.nz-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nz-prose th, .nz-prose td { border-bottom: 1px solid var(--nz-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.nz-prose th { background: var(--nz-neutral-bg); font-weight: 500; }

/* 更新日と編集の名義（読みもの・お知らせ。SEO 計画 P1-5） */
.nz-byline { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 32px !important; font-size: 13px; line-height: 1.6; color: var(--nz-muted); }

/* 本文へスキップ（キーボードで Tab を押したときだけ左上に出る） */
.nz-skip { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--nz-ink); font-size: 14px; }
.nz-skip:focus { top: 16px; }

/* ---------------------------------------------------------------- フッター */
.nz-footer { position: static !important; margin-top: 16px; padding: 0 !important; background: #fff !important; border-top: 0 !important; text-align: left !important; color: var(--nz-ink); }
.nz-footer__in { box-sizing: border-box; max-width: calc(var(--nz-max) + var(--nz-gutter) * 2); margin: 0 auto; padding: 72px var(--nz-gutter) 40px; }
.nz-footer__logo img { width: 210px; height: auto; }
.nz-footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.nz-footer__h { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: var(--nz-muted); text-transform: uppercase; }
.nz-footer__col ul { margin: 0; padding: 0; list-style: none; }
.nz-footer__col li { margin: 0 0 10px; }
.nz-footer__col a { font-size: 16px; line-height: 1.5; text-decoration: none; }
.nz-footer__col a:hover { text-decoration: underline; }
.nz-footer__marks { display: flex; align-items: center; gap: 28px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--nz-line); }
.nz-footer__marks img { width: auto; height: 56px; }
.nz-footer__marks a img { height: 44px; }
.nz-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.nz-footer__copy { margin: 0; font-size: 12px; color: var(--nz-muted); }
.nz-footer__copy a { margin-left: 20px; color: var(--nz-muted); text-decoration: none; }
.nz-footer__copy a:hover { text-decoration: underline; }
.nz-footer__social { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.nz-footer__social a { font-size: 18px; color: var(--nz-ink); }
.nz-footer__social a:hover { opacity: 0.6; }
body.nz #pagetop a { background: var(--nz-navy); border-radius: 22px 6px; }

/* ---------------------------------------------------------------- スマホ（〜900px） */
@media (max-width: 900px) {
  .nz-masthead { margin: 8px 8px 0; }
  .nz-bar {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo burger";
    padding: 18px 16px;
    row-gap: 0;
  }
  .nz-logo img { width: 150px; }
  .nz-contact, .nz-nav { display: none; }
  .nz-burger {
    grid-area: burger;
    display: block;
    width: 44px; height: 44px;
    margin: -6px -8px -6px 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    color: inherit;
    float: none !important;
    background: none !important; /* 旧テーマの header #menuBtn(.on) の画像（sp_menu.png / sp_close.png）を消す */
  }
  .nz-burger span, .nz-burger span::before, .nz-burger span::after {
    display: block;
    width: 24px; height: 2px;
    margin: 0 auto;
    background: currentColor;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nz-burger span { position: relative; }
  .nz-burger span::before, .nz-burger span::after { content: ""; position: absolute; left: 0; }
  .nz-burger span::before { top: -7px; }
  .nz-burger span::after { top: 7px; }
  .nz-burger.on span { background: transparent; }
  .nz-burger.on span::before { transform: translateY(7px) rotate(45deg); }
  .nz-burger.on span::after { transform: translateY(-7px) rotate(-45deg); }
  body.nz #menu { top: 0; padding-top: 100px; z-index: 15; }
  /* メニューを開いている間は、ロゴと閉じるボタンの行を画面の上に固定して白地にする */
  .nz-bar:has(.nz-burger.on) {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 26px 24px 18px;
    background: #fff;
    color: var(--nz-ink);
  }
  .nz-bar:has(.nz-burger.on) .nz-logo img { filter: brightness(0) invert(13%) sepia(30%) saturate(1500%) hue-rotate(190deg); }
  .nz-bar { z-index: 30; }
  body.nz #menu .nav a { padding: 14px 0; font-size: 17px; }
  .nz-hero, .nz-hero--split { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 32px 20px 48px; }
  .nz-hero__media { order: -1; }
  .nz-hero__media img { max-height: 240px; }
  .nz-masthead--photo { min-height: 78vh; }
  .nz-masthead--photo .nz-hero { padding-bottom: 48px; }
  .nz-crumbs { padding: 8px 20px; }
  .nz-section { padding: 56px 0; }
  .nz-panel, .nz-panel--reverse { grid-template-columns: 1fr; margin: 8px 8px 0; }
  .nz-panel__media, .nz-panel--reverse .nz-panel__media { order: -1; min-height: 260px; }
  .nz-panel__body, .nz-panel--reverse .nz-panel__body { padding: 40px 20px 48px; }
  .nz-grid--3, .nz-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nz-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nz-footer__in { padding: 48px 20px 32px; }
  .nz-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .nz-footer__copy a { display: block; margin: 8px 0 0; }
}
@media (max-width: 560px) {
  .nz-grid--2, .nz-grid--3 { grid-template-columns: 1fr; }
  .nz-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nz-faq summary { font-size: 16px; }
}

/* ---------------------------------------------------------------- ページの部品: トップ */
.nz-card__media--render { background: linear-gradient(160deg, #e9f4fb 0%, #cfe6f5 100%); display: flex; align-items: center; justify-content: center; }
.nz-card__media--render img { width: 84%; height: auto; object-fit: contain; }
.nz-home-global { position: relative; overflow: hidden; }
.nz-home-global::before {
  content: "";
  position: absolute;
  left: -120px; top: -40px;
  width: 640px; height: 640px;
  background: url("../img/nz/graphic-04.png") no-repeat left top / contain;
  opacity: 0.35;
  pointer-events: none;
}
.nz-home-global .nz-wrap { position: relative; }
.nz-home-support .nz-panel__body { padding-top: 64px; padding-bottom: 64px; }
.nz-home-support__art { min-height: 0; background: url("../img/nz/graphic-02.png") no-repeat right center / cover; opacity: 0.8; }
.nz-card--news .nz-card__media img { object-fit: cover; }
@media (max-width: 900px) {
  .nz-home-support__art { display: none; }
}

/* ---------------------------------------------------------------- 2026-11-05: 見出し帯はどのページも写真を背景いっぱいに（オーナー「写真より背景画のほうがよくない？」）
   本国のトップと同じく、写真の上に左から暗いグラデーションを敷いて白い文字を載せる。高さはトップ（is-tall）が画面いっぱい、ほかは 560px */
.nz-masthead--bg {
  min-height: 560px;
  background-color: #1b2a35 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #fff;
}
.nz-masthead--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0, 20, 35, 0.62) 0%, rgba(0, 20, 35, 0.35) 45%, rgba(0, 20, 35, 0.05) 75%),
    linear-gradient(180deg, rgba(0, 20, 35, 0.45) 0%, rgba(0, 20, 35, 0) 32%);
  pointer-events: none;
}
.nz-masthead--bg.is-tall { min-height: min(860px, calc(100vh - 32px)); }
.nz-masthead--bg.is-tall .nz-hero {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  min-height: 0;
  padding-bottom: 88px;
}
.nz-masthead--bg .nz-hero { min-height: 0; padding-top: 96px; padding-bottom: 88px; }
.nz-masthead--bg .nz-hero__title { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25); }
.nz-masthead--bg.is-tall .nz-hero__title { font-size: clamp(38px, 4.4vw, 64px); }
.nz-masthead--bg .nz-hero__lead { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }
.nz-masthead--bg .nz-btn--link { color: #fff; }
.nz-masthead--bg .nz-nav .navi > li::after { background: #fff; }
.nz-hero__product {
  box-sizing: border-box;
  justify-self: end;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  border-radius: var(--nz-radius);
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}
/* height: auto は header.php が付ける width・height 属性（読み込み前の枠取り）に高さを決めさせないため。見た目は付ける前と同じ */
.nz-hero__product img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; }
@media (max-width: 900px) {
  .nz-masthead--bg { min-height: 0; }
  .nz-masthead--bg.is-tall { min-height: 78vh; }
  .nz-masthead--bg .nz-hero { padding: 48px 20px 40px; }
  .nz-masthead--bg.is-tall .nz-hero { padding-bottom: 48px; }
  .nz-masthead--bg::before { background: linear-gradient(180deg, rgba(0, 20, 35, 0.5) 0%, rgba(0, 20, 35, 0.35) 50%, rgba(0, 20, 35, 0.6) 100%); }
  .nz-hero__product { order: 2; justify-self: stretch; max-width: none; padding: 16px; }
  .nz-hero__product img { max-height: 180px; }
}
