/* ==========================================================================
   Navi Cebu Redesign — 陽だまりのジャーナル
   body.ncrd が付いたページだけに効く（公開ON／プレビューのページ）
   ========================================================================== */

/* ---------- 0. 色と文字 ---------- */
body.ncrd {
  --nc-ink: #1F1B16;
  --nc-navy: #0C2B34;
  --nc-navy-deep: #0C2B34;
  --nc-ocean: #0B7F8C;
  --nc-ocean-deep: #08606A;
  --nc-turquoise: #35A396;
  --nc-brand-blue: #0B7F8C;
  --nc-coral: #FF7A1A;
  --nc-sunset: #FF7A1A;
  --nc-sun: #FFD23F;
  --nc-leaf: #35A396;
  --nc-sand: #FFF6E0;
  --nc-paper: #FAF6EF;
  --nc-mist: #EEF6F6;
  --nc-muted: #6E665C;
  --nc-line: #E7DFD3;
  --nc-shadow: 0 18px 44px rgba(31, 27, 22, .10);
  --nc-shadow-soft: 0 10px 26px rgba(31, 27, 22, .07);
  --rd-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --rd-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --rd-num: "Fraunces", Georgia, serif;
  --rd-mono: "DM Mono", ui-monospace, monospace;
  --rd-mango: #FF7A1A;
  background: #FAF6EF;
  color: #1F1B16;
  font-family: var(--rd-sans);
}
body.ncrd main h1,
body.ncrd main h2 {
  font-family: var(--rd-serif);
  font-weight: 500;
  letter-spacing: .02em;
}
body.ncrd .nc-eyebrow,
body.ncrd .nc-article-toc > p,
body.ncrd .nc-article-editor small,
body.ncrd .nc-article-side-cta small,
body.ncrd .nc-cta-eyebrow {
  font-family: var(--rd-mono) !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  color: #0B7F8C !important;
}

/* ---------- 1. ヘッダー・フッター ---------- */
body.ncrd .nc-site-header {
  background: #FAF6EF;
  border-bottom: 1px solid #E7DFD3;
  box-shadow: none;
}
body.ncrd .nc-primary-nav a { color: #1F1B16; font-weight: 500; }
body.ncrd .nc-primary-nav a:hover { color: #0B7F8C; }
body.ncrd .nc-guide-link {
  background: #FF7A1A !important;
  color: #1F1B16 !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-weight: 700;
}
body.ncrd .nc-guide-link span { color: rgba(31, 27, 22, .7) !important; }
body.ncrd .nc-icon-link { color: #1F1B16; }
body.ncrd .nc-site-footer { background: #0C2B34; color: #FAF6EF; }
body.ncrd .nc-site-footer h2 { font-family: var(--rd-mono); font-weight: 500; letter-spacing: .08em; color: #7CC7D0; }
body.ncrd .nc-site-footer a { color: #E7DFD3; }
body.ncrd .nc-mobile-bottom-nav { background: #fff; border-top: 1px solid #E7DFD3; }
body.ncrd .nc-reading-progress { background: transparent !important; }
body.ncrd .nc-reading-progress::before { background: linear-gradient(90deg, #0B7F8C, #FFD23F, #FF7A1A) !important; }

/* ---------- 2. 記事の頭（写真を大きく敷く） ---------- */
body.ncrd .ncrd-ahero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0C2B34;
  display: flex;
  align-items: flex-end;
  min-height: min(620px, 78vh);
  isolation: isolate;
}
body.ncrd .ncrd-ahero.no-photo { min-height: 0; color: #1F1B16; background: #FAF6EF; }
body.ncrd .ncrd-ahero-media { position: absolute; inset: 0; z-index: -2; }
body.ncrd .ncrd-ahero-img {
  width: 100%; height: 100%; max-width: none !important;
  object-fit: cover;
  animation: ncrd-zoom 28s ease-in-out infinite alternate;
  transform-origin: 50% 60%;
}
@keyframes ncrd-zoom { from { transform: scale(1.02); } to { transform: scale(1.09); } }
body.ncrd .ncrd-ahero.has-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12, 43, 52, .68) 0%, rgba(12, 43, 52, .15) 70%), linear-gradient(180deg, rgba(12, 43, 52, .45) 0%, rgba(12, 43, 52, .05) 28%, rgba(12, 43, 52, .3) 52%, rgba(12, 43, 52, .9) 100%);
}
body.ncrd .ncrd-ahero-in { position: relative; padding-top: 110px; padding-bottom: 54px; max-width: 1180px; }
body.ncrd .ncrd-ahero-txt { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* 文字入りアイキャッチ：クリーム地に、写真はカードとして右（スマホは上） */
body.ncrd .ncrd-ahero.is-card { min-height: 0; color: #1F1B16; background: #FAF6EF; align-items: stretch; }
body.ncrd .ncrd-ahero.is-card .ncrd-ahero-in { padding-top: 56px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
body.ncrd .ncrd-ahero.is-card .ncrd-ahero-card { order: 2; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(12, 43, 52, .55); background: #EEF6F6; }
body.ncrd .ncrd-ahero.is-card .ncrd-ahero-card .ncrd-ahero-img { display: block; width: 100%; height: auto; animation: none; }
body.ncrd .ncrd-ahero.is-card .nc-breadcrumb { color: #6E665C; }
body.ncrd .ncrd-ahero.is-card .ncrd-atitle { text-shadow: none; font-size: clamp(28px, 3.2vw, 42px); }
body.ncrd .ncrd-ahero.is-card .ncrd-dek { color: #3E3830; }
body.ncrd .ncrd-ahero.is-card .ncrd-meta { color: #6E665C; }
body.ncrd .ncrd-ahero.is-card .nc-article-actions > * { background: #fff; color: #1F1B16; border-color: #E7DFD3; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.ncrd .ncrd-ahero .nc-breadcrumb { font-size: 12px; color: rgba(255, 255, 255, .8); display: flex; flex-wrap: wrap; gap: 6px; }
body.ncrd .ncrd-ahero .nc-breadcrumb a,
body.ncrd .ncrd-ahero .nc-breadcrumb span { color: inherit; }
body.ncrd .ncrd-ahero .nc-breadcrumb [aria-current] { display: none; }
body.ncrd .ncrd-ahero .nc-breadcrumb [aria-current] + span, body.ncrd .ncrd-ahero .nc-breadcrumb span:nth-last-child(2) { display: none; }
body.ncrd .ncrd-ahero.no-photo .nc-breadcrumb { color: #6E665C; }
body.ncrd .ncrd-pills { display: flex; flex-wrap: wrap; gap: 8px; }
body.ncrd .ncrd-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #0B7F8C; color: #fff; font-size: 12px; font-weight: 700; }
body.ncrd .ncrd-atitle { margin: 0; max-width: 920px; color: inherit; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.32; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); word-break: auto-phrase; }
body.ncrd .ncrd-t1, body.ncrd .ncrd-t2 { display: block; }
/* 区切りの「｜」は文字として残し、見た目だけ消す */
body.ncrd .ncrd-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.ncrd .ncrd-t2 { font-size: .56em; line-height: 1.5; margin-top: .35em; opacity: .95; }
body.ncrd .ncrd-dek { margin: 0; max-width: 780px; font-size: 16px; line-height: 1.85; color: rgba(255, 255, 255, .9); }
body.ncrd .ncrd-ahero.no-photo .ncrd-dek { color: #3E3830; }
body.ncrd .ncrd-meta { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: rgba(255, 255, 255, .85); }
body.ncrd .ncrd-ahero.no-photo .ncrd-meta { color: #6E665C; }
body.ncrd .ncrd-ahero .nc-article-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
body.ncrd .ncrd-ahero .nc-article-actions > * {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: rgba(12, 43, 52, .5); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; cursor: pointer;
}
body.ncrd .ncrd-ahero.no-photo .nc-article-actions > * { background: #fff; color: #1F1B16; border-color: #E7DFD3; }
body.ncrd .ncrd-ahero .nc-article-actions svg { width: 14px; height: 14px; fill: currentColor; }
@media (prefers-reduced-motion: reduce) { body.ncrd .ncrd-ahero-img { animation: none; } }

/* ---------- 3. 本文 ---------- */
body.ncrd .nc-article-shell { padding-top: 56px; }
body.ncrd .nc-article-body {
  --ab-line: #E7DFD3;
  --ab-soft: #FAF6EF;
  --ab-head: #1F1B16;
  --ab-accent: #0B7F8C;
  --ab-accent-deep: #08606A;
  --ab-ink: #2A251F;
  --ab-muted: #6E665C;
  --ab-radius: 16px;
  color: #2A251F;
  font-size: 17px;
  line-height: 2.05;
}
body.ncrd .nc-article-body > .nc-sl-content > p:first-child { font-size: 15px; color: #6E665C; font-weight: 500; }
body.ncrd .nc-article-body a { color: #0B7F8C; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(11, 127, 140, .35); }
body.ncrd .nc-article-body a.nc-cta-btn, body.ncrd .nc-article-body .ncct-btn { text-decoration: none; }
/* 見出し番号は目次と同じ数え方（本文内のすべての h2 を数える）にそろえる */
body.ncrd #nc-article-content { counter-reset: ncrd-sec; }
body.ncrd #nc-article-content h2 { counter-increment: ncrd-sec; }
/* ---- 本文の組み方（v0.8.3：見出し・表・箇条書きを整理。すべての記事で同じ見た目） ----
   h2：左に番号（DM Mono）、右へ細い線、その下に明朝の見出し
   h3：マンゴーの小さな丸＋ゴシック太字
   表：白地・薄いミントの見出し行・細い罫線
   箇条書き：青緑の丸、番号つきは丸数字 */
body.ncrd-article.nc-prototype .nc-article-body h2 {
  position: relative;
  margin: 76px 0 22px;
  padding: 34px 0 0;
  border: 0;
  background: none;
  font-family: var(--rd-serif);
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.5;
  letter-spacing: .03em;
  color: #1F1B16;
  text-wrap: balance;
}
body.ncrd-article.nc-prototype .nc-article-body h2::before {
  content: counter(ncrd-sec, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  width: auto; height: auto; margin: 0; padding: 0 14px 0 0;
  border: 0; border-radius: 0; background: #FAF6EF;
  font-family: var(--rd-mono); font-weight: 500; font-size: 13px; line-height: 14px; letter-spacing: .16em;
  color: #0B7F8C;
  z-index: 1;
}
body.ncrd-article.nc-prototype .nc-article-body h2::after {
  content: "";
  display: block;
  position: absolute; top: 7px; left: 0; right: 0;
  height: 1px; background: #E2D8C9;
}
body.ncrd-article.nc-prototype .nc-article-body :is(.nc-references, .nca-box, .nc-cta) h2::before,
body.ncrd-article.nc-prototype .nc-article-body :is(.nc-references, .nca-box, .nc-cta) h2::after { display: none; }
body.ncrd-article.nc-prototype .nc-article-body :is(.nc-references, .nca-box, .nc-cta) h2 { margin: 0 0 12px; padding: 0; font-size: 20px; }

body.ncrd-article.nc-prototype .nc-article-body h3 {
  position: relative;
  margin: 48px 0 14px;
  padding: 0 0 0 20px;
  border: 0;
  background: none;
  font-family: var(--rd-sans);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.65;
  letter-spacing: .02em;
  color: #1F1B16;
}
body.ncrd-article.nc-prototype .nc-article-body h3::before {
  content: "";
  position: absolute; left: 1px; top: .62em;
  width: 8px; height: 8px; border: 0; border-radius: 50%;
  background: #FF7A1A;
  box-shadow: 0 0 0 4px rgba(255, 122, 26, .16);
}
body.ncrd-article.nc-prototype .nc-article-body h2 + h3 { margin-top: 22px; }
/* 時系列（タイムライン）の見出しはテーマの丸印のまま */
body.ncrd-article.nc-prototype .nc-article-body .nc-timeline h3 { padding-left: 0; }
body.ncrd-article.nc-prototype .nc-article-body .nc-timeline h3::before {
  top: .42em; left: -36px; width: 14px; height: 14px; box-sizing: border-box;
  border: 3px solid #0B7F8C; background: #fff; box-shadow: none;
}
body.ncrd-article.nc-prototype .nc-article-body h4 {
  margin: 34px 0 10px; font-family: var(--rd-sans); font-size: 16.5px; font-weight: 700; line-height: 1.7; letter-spacing: .02em; color: #08606A;
}

/* 太字：黄色の薄いマーカー（本文と箇条書きだけ。案内の箱の中は除く） */
body.ncrd-article.nc-prototype .nc-article-body :is(p, li):not(.nc-cta *):not(.nc-cta) > strong {
  font-weight: 700; color: #1F1B16;
  background: linear-gradient(transparent 64%, rgba(255, 210, 63, .45) 64%);
  padding: 0 1px;
}

/* 箇条書き */
body.ncrd-article.nc-prototype .nc-article-body :is(ul, ol):is(:not([class]), .wp-block-list) {
  margin: 10px 0 32px; padding: 0; list-style: none;
}
body.ncrd-article.nc-prototype .nc-article-body :is(ul, ol):is(:not([class]), .wp-block-list) > li {
  position: relative; margin: 0; line-height: 1.9;
}
body.ncrd-article.nc-prototype .nc-article-body :is(ul, ol):is(:not([class]), .wp-block-list) > li + li { margin-top: 12px; }
body.ncrd-article.nc-prototype .nc-article-body ul:is(:not([class]), .wp-block-list) > li { padding-left: 22px; }
body.ncrd-article.nc-prototype .nc-article-body ul:is(:not([class]), .wp-block-list) > li::before {
  content: ""; position: absolute; left: 3px; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: #0B7F8C;
}
body.ncrd-article.nc-prototype .nc-article-body ol:is(:not([class]), .wp-block-list) { counter-reset: ncrd-li; }
body.ncrd-article.nc-prototype .nc-article-body ol:is(:not([class]), .wp-block-list) > li { padding-left: 38px; counter-increment: ncrd-li; }
body.ncrd-article.nc-prototype .nc-article-body ol:is(:not([class]), .wp-block-list) > li::before {
  content: counter(ncrd-li);
  position: absolute; left: 0; top: .28em;
  display: grid; place-items: center;
  width: 25px; height: 25px; box-sizing: border-box;
  border: 1px solid #CFE5E1; border-radius: 50%; background: #EEF7F5;
  font-family: var(--rd-mono); font-size: 12px; font-weight: 500; line-height: 1; color: #08606A;
}
body.ncrd-article.nc-prototype .nc-article-body li > :is(ul, ol) { margin: 10px 0 4px; }
body.ncrd-article.nc-prototype .nc-article-body li > ul > li::before { background: transparent; border: 1.5px solid #0B7F8C; width: 6px; height: 6px; }

/* 引用 */
body.ncrd-article.nc-prototype .nc-article-body blockquote:not(.wp-embedded-content):not(.fb-xfbml-parse-ignore) {
  position: relative;
  margin: 30px 0 36px; padding: 22px 26px 22px 60px;
  border: 1px solid #E7DFD3; border-radius: 18px;
  background: #FFFFFF; color: #3E3830;
  font-size: 15.5px; line-height: 1.95;
}
body.ncrd-article.nc-prototype .nc-article-body blockquote:not(.wp-embedded-content):not(.fb-xfbml-parse-ignore)::before {
  content: "\201C";
  position: absolute; left: 20px; top: 12px;
  font-family: var(--rd-num); font-size: 46px; line-height: 1; color: rgba(11, 127, 140, .55);
}

/* 注記（写真のクレジットなど）・関連記事リンク・囲み */
body.ncrd-article.nc-prototype .nc-article-body :is(.nc-note, .nc-compact-note) {
  margin: 20px 0 30px; padding: 12px 16px;
  border: 1px solid #EFE4CC; border-radius: 12px;
  background: #FFFDF6; color: #5E574D;
  font-size: 13.5px; line-height: 1.8;
}
body.ncrd-article.nc-prototype .nc-article-body :is(.nc-note, .nc-compact-note) a { color: inherit; text-decoration-color: rgba(94, 87, 77, .4); }
body.ncrd-article.nc-prototype .nc-article-body p.nc-inlink {
  margin: 22px 0 32px; padding: 14px 18px;
  border: 0; border-radius: 14px;
  background: #EEF7F5; color: #5E6E6B;
  font-size: 14px; font-weight: 500; line-height: 1.75;
}
body.ncrd-article.nc-prototype .nc-article-body p.nc-inlink + p.nc-inlink { margin-top: -22px; }
body.ncrd-article.nc-prototype .nc-article-body p.nc-inlink a { color: #08606A; font-weight: 700; text-decoration: none; }
body.ncrd-article.nc-prototype .nc-article-body p.nc-inlink a:hover { text-decoration: underline; text-underline-offset: 4px; }
body.ncrd-article.nc-prototype .nc-article-body hr { height: 1px; margin: 52px 0; border: 0; background: #E2D8C9; }
/* 留学エージェント記事の囲み（太い左線をやめて、薄い色の箱に） */
body.ncrd-article .nca .nca-box { border: 1px solid #E7DFD3; border-radius: 16px; background: #FFFFFF; }
body.ncrd-article .nca .nca-note { border: 1px solid #F1E3B8; background: #FFFBEF; }
body.ncrd-article .nca .nca-warn { border: 1px solid #F4D6C3; background: #FFF6F0; }
body.ncrd-article .nca .nca-rel { border: 0; border-radius: 14px; background: #EEF7F5; font-size: 15px; }
body.ncrd-article .nca .nca-scroll { border-color: #E4DCCF; border-radius: 16px; }
body.ncrd-article .nca .nca-scroll thead th { background: #F2F8F7; color: #08606A; font-size: 13px; letter-spacing: .04em; border-bottom: 1px solid #D7E8E4; }
body.ncrd-article .nca .nca-scroll tbody th { background: #FCFAF6; }
body.ncrd-article .nca .nca-src { font-size: 13px; }

/* 開閉（details）：よくある質問と同じ線の形に */
body.ncrd-article.nc-prototype .nc-article-body details {
  margin: 0; padding: 0; border: 0; border-top: 1px solid #E7DFD3; border-radius: 0; background: none;
}
body.ncrd-article.nc-prototype .nc-article-body details + details { margin-top: 0; }
body.ncrd-article.nc-prototype .nc-article-body details:not(:has(+ details)) { border-bottom: 1px solid #E7DFD3; margin-bottom: 32px; }
body.ncrd-article.nc-prototype .nc-article-body details > summary {
  margin: 0; padding: 18px 36px 18px 2px; border: 0; border-radius: 0;
  font-size: 16px; font-weight: 700; line-height: 1.65; color: #1F1B16; background: none;
}
body.ncrd-article.nc-prototype .nc-article-body details > summary:hover { background: none; color: #0B7F8C; }
body.ncrd-article.nc-prototype .nc-article-body details[open] > summary { border-bottom: 0; }
body.ncrd-article.nc-prototype .nc-article-body details > summary::after { right: 6px; border-color: #6E665C; }
body.ncrd-article.nc-prototype .nc-article-body details > summary + * { margin-top: 0; }
body.ncrd-article.nc-prototype .nc-article-body details > :last-child:not(summary) { margin-bottom: 18px; }
body.ncrd-article.nc-prototype .nc-article-body details > p { font-size: 15px; line-height: 1.95; color: #4A433B; }

/* 要点 →「ナビセブ編集部のまとめ👨‍💻」：白からミントへの明るい箱に、黄色いステッカーの見出し（v0.8.2 で濃紺から明るく） */
body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 20px 0 44px;
  padding: 30px 30px 28px;
  border: 1px solid #DCEAE7;
  border-radius: 22px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 45%, #EEF7F5 100%);
  color: #1F1B16;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 16px 34px -24px rgba(11, 95, 105, .35);
}
body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body)::before { display: none; }
/* 右上の大きな引用符（飾り） */
body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body)::after {
  content: "\201C";
  position: absolute; z-index: -1; right: 18px; top: -30px;
  font-family: var(--rd-num); font-size: 170px; line-height: 1; color: rgba(11, 127, 140, .09);
  pointer-events: none;
}
body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body) > h2 {
  font-family: var(--rd-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; color: #0B7F8C; margin: 0 0 10px; padding: 0;
}
body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body) > h2:not(.ncrd-qa-h)::after { display: none; }
body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body) > h2.ncrd-qa-h {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 8px 16px 8px 18px;
  border-radius: 999px; background: #FFD23F; color: #0C2B34;
  font-family: var(--rd-sans); font-size: 15px; font-weight: 700; letter-spacing: .05em; line-height: 1.4;
  transform: rotate(-1.5deg); transform-origin: left center;
  box-shadow: 0 6px 14px -8px rgba(160, 110, 0, .55);
}
body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body) > h2.ncrd-qa-h::after {
  content: "\1F468\200D\1F4BB";
  content: "\1F468\200D\1F4BB" / "";
  display: inline; position: static; height: auto; background: none;
  font-size: 19px; line-height: 1;
}
body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body) > p:not([class]) { color: #2A251F; font-size: 16px; line-height: 1.95; }
body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer a { color: #0B7F8C; }
@media (max-width: 760px) {
  body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body) { padding: 26px 20px 22px; border-radius: 20px; }
  body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body) > h2.ncrd-qa-h { font-size: 14px; padding: 7px 14px 7px 16px; margin-bottom: 16px; }
  body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body) > p:not([class]) { font-size: 15px; }
  body.ncrd.nc-prototype .nc-article-body .nc-sl-quick-answer:not(.nc-sl-body)::after { font-size: 130px; top: -22px; }
}

/* 表 */
body.ncrd-article.nc-prototype .nc-article-body table {
  border-collapse: separate; border-spacing: 0;
  border: 1px solid #E4DCCF; border-radius: 16px; overflow: hidden;
  background: #FFFFFF; color: #2A251F;
  font-size: 15px; line-height: 1.75; font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 2px rgba(31, 27, 22, .04);
}
body.ncrd-article.nc-prototype .nc-article-body :is(th, td) { border-color: #EFE8DC; }
body.ncrd-article.nc-prototype .nc-article-body :is(thead th, thead td),
body.ncrd-article.nc-prototype .nc-article-body table:not(:has(> thead)) > tbody:first-of-type > tr:first-child > th {
  background: #F2F8F7; color: #08606A; border-bottom: 1px solid #D7E8E4;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
body.ncrd-article.nc-prototype .nc-article-body tbody th { background: #FCFAF6; color: #1F1B16; font-weight: 700; }
body.ncrd-article.nc-prototype .nc-article-body caption { color: #1F1B16; font-size: 14px; font-weight: 700; }
body.ncrd-article.nc-prototype .nc-article-body figure.wp-block-table :is(figcaption, .wp-element-caption) { color: #8A8175; font-size: 12.5px; }

/* 写真 */
body.ncrd.nc-prototype .nc-article-body figure img { border-radius: 16px; }
body.ncrd.nc-prototype .nc-article-body figcaption { color: #6E665C; }

/* 本文中の案内（留学の小さな案内） */
body.ncrd .nc-article-body .nc-cta--slim {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 32px 0 36px; padding: 18px 20px; border: 0; border-radius: 20px;
  background: linear-gradient(120deg, #0C2B34, #10414C); color: #FAF6EF; box-shadow: none;
}
body.ncrd .nc-article-body .nc-cta--slim .nc-cta-slim-text { flex: 1 1 260px; margin: 0; color: #FAF6EF; font-size: 15px; line-height: 1.8; }
body.ncrd .nc-article-body .nc-cta--slim strong { color: #FFD23F; }
body.ncrd .nc-cta-btn--primary { background: #FF7A1A !important; color: #1F1B16 !important; border-color: #FF7A1A !important; }
body.ncrd .nc-cta-btn--primary .nc-cta-blabel, body.ncrd .nc-cta-btn--primary .nc-cta-bsub { color: #1F1B16 !important; }

/* 記事の最後の案内 */
body.ncrd .nc-cta--end { border: 0 !important; border-radius: 24px !important; background: #0C2B34 !important; color: #FAF6EF !important; }
body.ncrd .nc-cta--end .nc-cta-title { font-family: var(--rd-serif); font-weight: 500; color: #FAF6EF !important; }
body.ncrd .nc-cta--end .nc-cta-lead { color: rgba(250, 246, 239, .8) !important; }
body.ncrd .nc-cta--end .nc-cta-lead strong { color: #FFD23F !important; }
body.ncrd .ncct-cta-block { border: 1px solid #E7DFD3 !important; border-radius: 20px !important; background: #fff !important; }
body.ncrd .ncct-cta-title { font-family: var(--rd-serif); font-weight: 500; color: #1F1B16 !important; }
body.ncrd .ncct-btn { background: #FF7A1A !important; color: #1F1B16 !important; border-radius: 12px !important; }

/* ---------- 4. サイド ---------- */
body.ncrd .nc-article-toc { border: 1px solid #E7DFD3; border-radius: 18px; background: #fff; }
body.ncrd .nc-article-toc a { color: #3E3830; border-radius: 10px; }
body.ncrd .nc-article-toc a:hover,
body.ncrd .nc-article-toc a[aria-current],
body.ncrd .nc-article-toc .is-active { background: #EEF6F6; color: #0B5F69; }
body.ncrd .ncrd-find {
  position: relative; margin: 16px 0; padding: 16px; border-radius: 18px; background: #fff;
  box-shadow: 0 8px 22px rgba(31, 27, 22, .08); display: flex; flex-direction: column; gap: 10px;
}
body.ncrd .ncrd-find::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 19.5px; padding: 1.5px; pointer-events: none;
  background: linear-gradient(120deg, #0B7F8C, #FFD23F, #FF7A1A, #0B7F8C); background-size: 300% 100%;
  animation: ncrd-ask 8s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
@keyframes ncrd-ask { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { body.ncrd .ncrd-find::before { animation: none; } }
body.ncrd .ncrd-find-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #0B7F8C; }
body.ncrd .ncrd-find-h svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
body.ncrd .ncrd-find-row { display: flex; gap: 6px; }
body.ncrd .ncrd-find-row input { flex: 1; min-width: 0; height: 40px; border: 1px solid #E7DFD3; border-radius: 12px; padding: 0 12px; font-size: 14px; background: #FAF6EF; color: #1F1B16; }
body.ncrd .ncrd-find-row button { height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: #FF7A1A; color: #1F1B16; font-weight: 700; font-size: 14px; cursor: pointer; }
body.ncrd .ncrd-find-q { display: flex; flex-wrap: wrap; gap: 6px; }
body.ncrd .ncrd-find-q a { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: #EEF6F6; color: #0B5F69; font-size: 12px; font-weight: 500; }
body.ncrd .nc-article-editor { border: 1px solid #E7DFD3; border-radius: 18px; background: #fff; }
body.ncrd .nc-article-editor > span { background: #0B7F8C !important; color: #fff !important; font-family: var(--rd-num); }
body.ncrd .nc-article-side-cta { border-radius: 18px; overflow: hidden; }

/* ---------- 5. 関連記事 ---------- */
body.ncrd .nc-article-related { background: #FAF6EF; }
body.ncrd .nc-article-related h2 { font-size: clamp(24px, 2.6vw, 32px); color: #1F1B16; }
body.ncrd .nc-hub-story-media { border-radius: 16px !important; }
body.ncrd .nc-hub-story-media img { transition: transform .6s ease; }
body.ncrd .nc-hub-story a:hover .nc-hub-story-media img { transform: scale(1.06); }
body.ncrd .nc-hub-story-media > span { background: rgba(255, 255, 255, .92); color: #1F1B16; border-radius: 999px; }
body.ncrd .nc-hub-story-copy h3 { color: #1F1B16; font-weight: 700; }
body.ncrd .nc-text-link { color: #0B7F8C; }

/* ---------- 6. スマホ ---------- */
@media (max-width: 760px) {
  body.ncrd .ncrd-ahero { min-height: 520px; }
  body.ncrd .ncrd-ahero-in { padding-top: 90px; padding-bottom: 32px; }
  body.ncrd .ncrd-ahero-txt { gap: 10px; }
  body.ncrd .ncrd-ahero.is-card .ncrd-ahero-in { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding-top: 20px; padding-bottom: 28px; }
  body.ncrd .ncrd-ahero.is-card .ncrd-ahero-card { order: 0; margin: 0; border-radius: 14px; }
  body.ncrd .ncrd-ahero.is-card .ncrd-atitle { font-size: 25px; }
  body.ncrd .ncrd-atitle { font-size: 27px; line-height: 1.38; }
  body.ncrd .ncrd-t2 { font-size: .62em; }
  body.ncrd .ncrd-dek { font-size: 14px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  body.ncrd .ncrd-meta { font-size: 12px; gap: 4px 12px; }
  body.ncrd .nc-article-body { font-size: 16px; line-height: 1.95; }
  body.ncrd-article.nc-prototype .nc-article-body h2 { font-size: 23px; margin: 58px 0 16px; padding-top: 30px; }
  body.ncrd-article.nc-prototype .nc-article-body h3 { font-size: 17.5px; margin-top: 40px; padding-left: 18px; }
  body.ncrd-article.nc-prototype .nc-article-body table { font-size: 14px; }
  body.ncrd-article.nc-prototype .nc-article-body blockquote:not(.wp-embedded-content):not(.fb-xfbml-parse-ignore) { padding: 18px 18px 18px 48px; font-size: 15px; }
  body.ncrd-article.nc-prototype .nc-article-body blockquote:not(.wp-embedded-content):not(.fb-xfbml-parse-ignore)::before { left: 14px; font-size: 38px; }
}

/* 目次の番号：テーマは "0"+番号 なので 10 以降が 010 になる → 2桁ゼロ埋めに */
body.ncrd .nc-article-toc a::before { content: counter(toc, decimal-leading-zero); color: #0B7F8C; font-family: var(--rd-mono); font-weight: 500; }

/* 右下の「気軽に相談する」ほか、相談ボタンの青をこのデザインの色に */
body.ncrd { --ncct-c1: #0C2B34; --ncct-c2: #0B7F8C; }
body.ncrd .ncct-float { background: #FF7A1A !important; color: #1F1B16 !important; box-shadow: 0 12px 28px -12px rgba(31, 27, 22, .55) !important; }

/* スマホのヘッダー「留学ガイド」ボタン：グラデーションをやめて単色のマンゴーに */
body.ncrd .ncsn-sp-guide,
body.ncrd .ncsn-sp-guide:hover,
body.ncrd .ncsn-sp-guide:focus-visible { background: #FF7A1A; color: #1F1B16; box-shadow: none; }

/* ==========================================================================
   7. カテゴリーのまとめページ（body.ncrd-hub）
   ========================================================================== */
body.ncrd-hub .nc-hub-main { background: #FAF6EF; }

/* 頭：クリーム地＋写真のコラージュ */
body.ncrd-hub .ncrd-hhero { position: relative; overflow: hidden; background: #FAF6EF; border-bottom: 1px solid #E7DFD3; }
body.ncrd-hub .ncrd-hhero::before {
  content: ""; position: absolute; right: -8%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 63, .28), rgba(255, 210, 63, 0) 65%); pointer-events: none;
}
body.ncrd-hub .ncrd-hhero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: calc(var(--nc-header-h, 68px) + 64px) 0 72px; } /* ヘッダーは固定なので、その高さ分をあける */
body.ncrd-hub .ncrd-hhero-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
body.ncrd-hub .ncrd-hhero .nc-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #6E665C; }
body.ncrd-hub .ncrd-hhero .nc-breadcrumb a, body.ncrd-hub .ncrd-hhero .nc-breadcrumb span { color: inherit; }
body.ncrd-hub .ncrd-eyebrow { margin: 0; font-family: var(--rd-mono); font-size: 12px; letter-spacing: .12em; color: #0B7F8C; }
body.ncrd-hub .ncrd-hhero h1 { margin: 0; color: #1F1B16; font-size: clamp(32px, 4vw, 52px); line-height: 1.35; }
body.ncrd-hub .ncrd-hhero .nc-hub-hero-lead { margin: 0; max-width: 520px; color: #3E3830; font-size: 16px; line-height: 1.9; }
body.ncrd-hub .ncrd-hhero .nc-hub-hero-cta {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; margin-top: 6px;
  border-radius: 999px; background: #FF7A1A; color: #1F1B16; font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 12px 24px -14px rgba(255, 122, 26, .9); transition: transform .2s ease;
}
body.ncrd-hub .ncrd-hhero .nc-hub-hero-cta:hover { transform: translateY(-2px); }
body.ncrd-hub .ncrd-hhero .nc-hub-hero-cta svg { width: 18px; height: 18px; }

body.ncrd-hub .ncrd-collage { position: relative; height: 420px; }
body.ncrd-hub .ncrd-c { position: absolute; margin: 0; overflow: hidden; border-radius: 18px; background: #EEF6F6; box-shadow: 0 22px 44px -24px rgba(12, 43, 52, .6); border: 4px solid #fff; }
body.ncrd-hub .ncrd-cimg { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
body.ncrd-hub .ncrd-c1 { left: 0; top: 40px; width: 62%; height: 300px; transform: rotate(-2deg); animation: ncrd-float1 9s ease-in-out infinite; }
body.ncrd-hub .ncrd-c2 { right: 2%; top: 0; width: 40%; height: 190px; transform: rotate(3deg); animation: ncrd-float2 11s ease-in-out infinite; }
body.ncrd-hub .ncrd-c3 { right: 16%; bottom: 0; width: 38%; height: 190px; transform: rotate(-3deg); animation: ncrd-float2 10s ease-in-out -3s infinite; }
body.ncrd-hub .ncrd-c4 { right: 0; bottom: 34px; width: 26%; height: 150px; transform: rotate(4deg); animation: ncrd-float1 12s ease-in-out -5s infinite; }
body.ncrd-hub .ncrd-collage.n1 .ncrd-c1 { left: 4%; width: 92%; height: 360px; top: 30px; }
body.ncrd-hub .ncrd-collage.n2 .ncrd-c2 { top: auto; bottom: 10px; }
@keyframes ncrd-float1 { 50% { translate: 0 -8px; } }
@keyframes ncrd-float2 { 50% { translate: 0 7px; } }

/* ページ内メニュー */
body.ncrd-hub .nc-hub-subnav { top: 68px; background: rgba(250, 246, 239, .96); border-bottom: 1px solid #E7DFD3; }
body.ncrd-hub .nc-hub-subnav > div { gap: 10px; min-height: 64px; }
body.ncrd-hub .nc-hub-subnav a {
  min-height: 36px; padding: 0 16px; border: 1px solid #E7DFD3; border-radius: 999px; background: #fff;
  color: #1F1B16; font-size: 13px; font-weight: 500;
}
body.ncrd-hub .nc-hub-subnav a::after { display: none; }
body.ncrd-hub .nc-hub-subnav a:hover { background: #1F1B16; border-color: #1F1B16; color: #FAF6EF; }

/* 見出し */
body.ncrd-hub .nc-media-section { background: #FAF6EF; }
body.ncrd-hub .nc-media-section-head h2 { color: #1F1B16; font-size: clamp(26px, 3vw, 38px); line-height: 1.4; }
body.ncrd-hub .nc-media-section-head > p { color: #6E665C; }
body.ncrd-hub .nc-section-jump { color: #0B7F8C; }

/* まず読む：写真の上に文字を載せた特集カード */
body.ncrd-hub .nc-hub-feature-lead,
body.ncrd-hub .nc-hub-feature-side article { border: 0; border-radius: 22px; box-shadow: 0 20px 40px -26px rgba(12, 43, 52, .55); background: #0C2B34; }
body.ncrd-hub .nc-hub-feature-lead a { position: relative; display: block; height: 100%; color: #fff; }
body.ncrd-hub .nc-hub-feature-lead img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; transition: transform .8s ease; }
body.ncrd-hub .nc-hub-feature-lead a:hover img { transform: scale(1.04); }
body.ncrd-hub .nc-hub-feature-overlay { display: block !important; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 43, 52, 0) 35%, rgba(12, 43, 52, .88) 100%); }
body.ncrd-hub .nc-hub-feature-lead a > div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(22px, 3vw, 36px); background: none; }
body.ncrd-hub .nc-hub-feature-lead a > div > p { color: #FFD23F; font-size: 12px; font-weight: 700; }
body.ncrd-hub .nc-hub-feature-lead h3 { color: #fff; font-family: var(--rd-serif); font-weight: 500; letter-spacing: .01em; }
body.ncrd-hub .nc-hub-feature-link { background: #FF7A1A; color: #1F1B16; }
body.ncrd-hub .nc-hub-feature-side a { position: relative; color: #fff; }
body.ncrd-hub .nc-hub-feature-side img { transition: transform .8s ease; }
body.ncrd-hub .nc-hub-feature-side a:hover img { transform: scale(1.05); }
body.ncrd-hub .nc-hub-feature-side a > div { background: #0C2B34; padding: 16px 18px; }
body.ncrd-hub .nc-hub-feature-side a > div > p { color: #FFD23F; font-size: 11px; }
body.ncrd-hub .nc-hub-feature-side h3 { color: #fff; font-weight: 700; }
body.ncrd-hub .nc-hub-feature-side span { color: rgba(255, 255, 255, .7); }

/* 目的から探す */
body.ncrd-hub .nc-hub-theme-card button { border: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 16px 34px -24px rgba(12, 43, 52, .5); }
body.ncrd-hub .nc-hub-theme-copy strong { font-family: var(--rd-serif); font-weight: 500; font-size: 22px; color: #1F1B16; }
body.ncrd-hub .nc-hub-theme-copy > span { color: #0B7F8C; }

/* 記事一覧 */
body.ncrd-hub .nc-hub-result-note { color: #6E665C; }
body.ncrd-hub .nc-hub-result-note strong { font-family: var(--rd-num); color: #1F1B16; }
@media (min-width: 1200px) {
  body.ncrd-hub .nc-hub-story-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
  body.ncrd-hub .nc-hub-story h3 { font-size: 16px; }
}
body.ncrd-hub .nc-hub-story-meta { color: #6E665C; }

/* ページ送り */
body.ncrd-hub .nc-pagination a.page-numbers,
body.ncrd-hub .nc-pagination span.page-numbers { border-radius: 999px; border-color: #E7DFD3; background: #fff; color: #1F1B16; font-family: var(--rd-num); }
body.ncrd-hub .nc-pagination span.current { background: #1F1B16 !important; border-color: #1F1B16 !important; color: #FAF6EF !important; }
body.ncrd-hub .nc-pagination a.page-numbers:hover { border-color: #0B7F8C; color: #0B7F8C; }

/* 探す・地図 */
body.ncrd-hub .ncrd-htools { padding: 8px 0 72px; background: #FAF6EF; }
body.ncrd-hub .ncrd-htools-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
body.ncrd-hub .ncrd-htools .ncrd-find { margin: 0; padding: 26px; gap: 14px; }
body.ncrd-hub .ncrd-htools .ncrd-find-h { font-size: 15px; }
body.ncrd-hub .ncrd-maplink {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 200px; padding: 26px;
  border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
  background:
    radial-gradient(circle at 70% 40%, rgba(255, 210, 63, .35), transparent 40%),
    repeating-linear-gradient(35deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 38px),
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 46px),
    linear-gradient(135deg, #0B7F8C, #0C2B34);
}
body.ncrd-hub .ncrd-maplink::after {
  content: ""; position: absolute; top: 34%; left: 62%; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: #FF7A1A; box-shadow: 0 0 0 6px rgba(255, 122, 26, .25); animation: ncrd-pin 2.4s ease-in-out infinite;
}
@keyframes ncrd-pin { 50% { translate: 0 -6px; } }
body.ncrd-hub .ncrd-maplink-t { font-family: var(--rd-serif); font-size: 24px; }
body.ncrd-hub .ncrd-maplink-s { font-size: 13px; color: rgba(255, 255, 255, .8); }
body.ncrd-hub .ncrd-maplink-go { position: absolute; right: 20px; bottom: 20px; height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: #FF7A1A; color: #1F1B16; font-size: 13px; font-weight: 700; }

/* 留学ガイドへの橋渡し */
body.ncrd-hub .nc-hub-bridge { background: #0C2B34; color: #FAF6EF; }
body.ncrd-hub .nc-hub-bridge-copy h2 { color: #FAF6EF; }
body.ncrd-hub .nc-hub-bridge-copy > p:not(.nc-eyebrow) { color: rgba(250, 246, 239, .78); }
body.ncrd-hub .nc-hub-bridge-copy a { border-color: rgba(250, 246, 239, .35); background: rgba(250, 246, 239, .06); color: #FAF6EF; }
body.ncrd-hub .nc-hub-bridge-copy a:first-child { background: #FF7A1A; border-color: #FF7A1A; color: #1F1B16; }
body.ncrd-hub .nc-hub-bridge > div > img { border-radius: 22px; box-shadow: none; }
body.ncrd-hub .nc-hub-bridge .nc-eyebrow { color: #FFD23F !important; }

@media (max-width: 1023px) {
  body.ncrd-hub .ncrd-hhero-in { grid-template-columns: 1fr; gap: 28px; padding: calc(var(--nc-header-h, 68px) + 40px) 0 48px; }
  body.ncrd-hub .ncrd-collage { height: 360px; max-width: 640px; }
}
@media (max-width: 760px) {
  body.ncrd-hub .ncrd-hhero-in { padding: calc(var(--nc-header-h, 60px) + 24px) 0 36px; gap: 22px; }
  body.ncrd-hub .ncrd-hhero-txt { gap: 12px; }
  body.ncrd-hub .ncrd-hhero h1 { font-size: 28px; }
  body.ncrd-hub .ncrd-hhero .nc-hub-hero-lead { font-size: 14px; }
  body.ncrd-hub .ncrd-collage { height: 230px; }
  body.ncrd-hub .ncrd-c { border-width: 3px; border-radius: 14px; }
  body.ncrd-hub .ncrd-c1 { top: 20px; height: 160px; }
  body.ncrd-hub .ncrd-c2 { height: 110px; }
  body.ncrd-hub .ncrd-c3 { height: 110px; }
  body.ncrd-hub .ncrd-c4 { height: 90px; bottom: 20px; }
  body.ncrd-hub .ncrd-collage.n1 .ncrd-c1 { height: 210px; top: 10px; }
  body.ncrd-hub .nc-hub-subnav { top: 60px; }
  body.ncrd-hub .nc-hub-subnav > div { min-height: 56px; gap: 8px; }
  body.ncrd-hub .nc-hub-subnav a { min-height: 34px; padding: 0 14px; font-size: 12px; }
  body.ncrd-hub .nc-hub-feature-lead a { min-height: 380px; }
  body.ncrd-hub .nc-hub-feature-side article { margin-top: 10px; }
  body.ncrd-hub .ncrd-htools { padding: 0 0 48px; }
  body.ncrd-hub .ncrd-htools-in { grid-template-columns: 1fr; gap: 14px; }
  body.ncrd-hub .ncrd-htools .ncrd-find { padding: 18px; }
  body.ncrd-hub .ncrd-maplink { min-height: 150px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ncrd-hub .ncrd-c, body.ncrd-hub .ncrd-maplink::after { animation: none; }
}

/* ==========================================================================
   8. ナビセブのトップ（body.ncrd-front）
   ========================================================================== */
body.ncrd-front main { background: #FAF6EF; }
/* ---- 頭（デザイン案どおり：左に文字・検索・目的の帯、右に切り替わる写真） ---- */
body.ncrd-front .ncrd-fhero { position: relative; overflow: hidden; background: #FAF6EF; }
body.ncrd-front .ncrd-fhero-in {
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); grid-template-areas: "txt media" "purpose media";
  grid-template-rows: auto 1fr; column-gap: 48px; row-gap: 24px; padding: calc(var(--nc-header-h, 68px) + 48px) 0 24px;
}
body.ncrd-front .ncrd-fhero-txt { grid-area: txt; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; padding-top: 12px; }
body.ncrd-front .ncrd-eyebrow { margin: 0; font-family: var(--rd-mono); font-size: 12px; letter-spacing: .08em; color: #0B7F8C; font-weight: 500; }
body.ncrd-front .ncrd-fhero h1 { margin: 0; font-family: var(--rd-serif); font-size: 26px !important; line-height: 1.3; letter-spacing: .06em; font-weight: 500; color: #3E3830; text-shadow: none; white-space: nowrap; }
body.ncrd-front .ncrd-fhero h1 br { display: none; }
body.ncrd-front .ncrd-fhero h1 .nc-hero-title-accent { color: inherit; background: none; font: inherit; padding: 0; box-shadow: none; text-decoration: none; }
body.ncrd-front .ncrd-fhero-in, body.ncrd-front .ncrd-routes { width: min(1344px, calc(100% - 64px)); }
body.ncrd-front .ncrd-fhero h1 .nc-hero-title-accent::before, body.ncrd-front .ncrd-fhero h1 .nc-hero-title-accent::after { display: none; }
body.ncrd-front .ncrd-flead { margin: 0; max-width: 500px; font-size: 17px; line-height: 1.9; color: #1F1B16; }

body.ncrd-front .ncrd-fsearch {
  position: relative; width: min(540px, 100%); padding: 14px 14px 14px 18px; border-radius: 22px; background: #fff;
  box-shadow: 0 8px 24px rgba(31, 27, 22, .12); display: flex; flex-direction: column; gap: 8px; box-sizing: border-box;
}
body.ncrd-front .ncrd-fsearch::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 23.5px; padding: 1.5px; pointer-events: none;
  background: linear-gradient(120deg, #0B7F8C, #FFD23F, #FF7A1A, #0B7F8C); background-size: 300% 100%; animation: ncrd-ask 8s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
body.ncrd-front .ncrd-fsearch .ncrd-find-h { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; font-weight: 700; color: #0B7F8C; }
body.ncrd-front .ncrd-fsearch .ncrd-find-h span { font-size: 12px; font-weight: 500; color: #6E665C; }
body.ncrd-front .ncrd-fsearch .ncrd-find-h svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
body.ncrd-front .ncrd-fsearch .nc-hero-search {
  width: 100%; min-height: 48px; margin: 0; padding: 0; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 6px;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.ncrd-front .ncrd-fsearch .nc-hero-search > svg { width: 18px; height: 18px; stroke: #6E665C; }
body.ncrd-front .ncrd-fsearch .nc-hero-search input { min-height: 44px; padding: 0 4px; font-size: 15px; font-weight: 400; color: #1F1B16; }
body.ncrd-front .ncrd-fsearch .nc-hero-search input::placeholder { color: #9A9186; }
body.ncrd-front .ncrd-fsearch .nc-hero-search > button { grid-column: auto; width: auto; min-width: 0; min-height: 44px; margin: 0; padding: 0 22px; border-radius: 999px; background: #FF7A1A; color: #1F1B16; font-weight: 700; font-size: 15px; }
body.ncrd-front .ncrd-fsearch .nc-search-results { border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(12, 43, 52, .45); }
body.ncrd-front .ncrd-find-q { display: flex; flex-wrap: wrap; gap: 8px; }
body.ncrd-front .ncrd-find-q a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #EEF6F6; color: #0B5F69; font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap; }
body.ncrd-front .ncrd-find-q a:hover { background: #0B7F8C; color: #fff; }

/* 目的から探す（写真が左へ流れる） */
body.ncrd-front .ncrd-purpose { grid-area: purpose; align-self: end; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
body.ncrd-front .ncrd-purpose-head { display: flex; align-items: center; justify-content: space-between; }
body.ncrd-front .ncrd-purpose-head span { font-size: 13px; font-weight: 700; color: #1F1B16; }
body.ncrd-front .ncrd-purpose-head a { font-size: 12px; font-weight: 700; color: #0B7F8C; text-decoration: none; }
body.ncrd-front .ncrd-film { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
body.ncrd-front .ncrd-film-track { display: flex; width: max-content; padding: 6px 0 10px; animation: ncrd-flow 55s linear infinite; }
body.ncrd-front .ncrd-film:hover .ncrd-film-track { animation-play-state: paused; }
@keyframes ncrd-flow { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
body.ncrd-front .ncrd-film-i {
  position: relative; display: block; flex: none; width: 172px; height: 150px; margin-right: 12px; border-radius: 14px; overflow: hidden;
  background: #0C2B34; box-shadow: 0 6px 16px rgba(31, 27, 22, .10); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; text-decoration: none;
}
body.ncrd-front .ncrd-film-i:nth-child(even) { transform: translateY(6px); }
body.ncrd-front .ncrd-film-i img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; animation: ncrd-kb 10s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes ncrd-kb { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-3%, -2%, 0); } }
body.ncrd-front .ncrd-film-i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 43, 52, 0) 42%, rgba(12, 43, 52, .78) 100%); pointer-events: none; }
body.ncrd-front .ncrd-film-i:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(12, 43, 52, .22); }
body.ncrd-front .ncrd-film-i:hover img { animation-play-state: paused; }
body.ncrd-front .ncrd-film-tag { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0C2B34; font-size: 11px; font-weight: 700; line-height: 1; }
body.ncrd-front .ncrd-film-i:nth-child(3n+2) .ncrd-film-tag { background: #FFD23F; }
body.ncrd-front .ncrd-film-i:nth-child(3n) .ncrd-film-tag { background: #FF7A1A; color: #fff; }
body.ncrd-front .ncrd-film-i > span { position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 1; font-size: 12px; font-weight: 700; line-height: 1.45; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }

/* 右：3枚の写真が切り替わる */
body.ncrd-front .ncrd-fhero-media { grid-area: media; position: relative; min-width: 0; padding: 0 0 60px 0; align-self: start; }
body.ncrd-front .ncrd-frame { position: relative; margin-left: auto; width: min(100%, 736px); aspect-ratio: 736 / 520; overflow: hidden; border-radius: 16px; border: 1px solid #E7DFD3; background: #E6EDEA; }
/* 切り替え：1枚目はずっと下に敷いておき、2・3枚目をその上に重ねて出し入れする（切り替えの途中で暗い地が見えないように） */
body.ncrd-front .ncrd-slide { position: absolute; inset: 0; opacity: 0; animation: ncrd-fade 18s infinite; animation-delay: calc(var(--s) * 6s); }
body.ncrd-front .ncrd-slide:first-child { opacity: 1; animation: none; }
@keyframes ncrd-fade { 0% { opacity: 0; } 4% { opacity: 1; } 38% { opacity: 1; } 43% { opacity: 0; } 100% { opacity: 0; } }
body.ncrd-front .ncrd-slide picture, body.ncrd-front .ncrd-slide-img { display: block; width: 100%; height: 100%; }
body.ncrd-front .ncrd-slide-img { max-width: none; object-fit: cover; animation: ncrd-hzoom 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes ncrd-hzoom { from { transform: scale(1); } to { transform: scale(1.07); } }
body.ncrd-front .ncrd-slide-cap { position: absolute; right: 20px; top: 20px; display: flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-family: var(--rd-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #1F1B16; }
body.ncrd-front .ncrd-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; }
body.ncrd-front .ncrd-dots span { position: relative; width: 22px; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .5); }
body.ncrd-front .ncrd-dots span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; animation: ncrd-dot 18s linear infinite; animation-delay: calc(var(--s) * 6s); }
@keyframes ncrd-dot { 0% { transform: scaleX(0); } 33% { transform: scaleX(1); } 34%, 100% { transform: scaleX(0); } }
body.ncrd-front .ncrd-polaroid {
  position: absolute; left: 0; bottom: 0; width: 224px; margin: 0; padding: 10px 10px 12px; background: #fff; border: 1px solid #E7DFD3; border-radius: 6px;
  box-shadow: 0 18px 36px -18px rgba(12, 43, 52, .45); animation: ncrd-sway 7s ease-in-out infinite alternate; transform: rotate(-4deg); z-index: 2;
}
@keyframes ncrd-sway { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(-2.5deg) translateY(-6px); } }
body.ncrd-front .ncrd-polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; max-width: none; }
body.ncrd-front .ncrd-polaroid figcaption { margin-top: 10px; font-family: var(--rd-mono); font-size: 12px; letter-spacing: .04em; color: #1F1B16; }
body.ncrd-front .ncrd-sticker { position: absolute; right: -6px; bottom: 52px; z-index: 2; padding: 9px 12px; border-radius: 6px; background: #FFD23F; color: #1F1B16; font-size: 14px; font-weight: 700; line-height: 1; transform: rotate(4deg); }

/* ---- カテゴリー（4つの扉） ---- */
body.ncrd-front .ncrd-routes { padding: 56px 0 72px; }
body.ncrd-front .ncrd-routes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
body.ncrd-front .ncrd-routes-head > div { display: flex; flex-direction: column; gap: 10px; }
body.ncrd-front .ncrd-routes-head h2 { margin: 0; color: #1F1B16; font-size: 34px; line-height: 1.3; }
body.ncrd-front .ncrd-routes-head > p { margin: 0; font-size: 14px; color: #6E665C; }
body.ncrd-front .ncrd-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
body.ncrd-front .ncrd-door { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #E7DFD3; border-radius: 20px; background: #fff; color: #1F1B16; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
body.ncrd-front .ncrd-door.is-study { border-color: #0B7F8C; }
body.ncrd-front .ncrd-door:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(12, 43, 52, .5); color: #1F1B16; }
body.ncrd-front .ncrd-door-img { display: block; height: 220px; overflow: hidden; }
body.ncrd-front .ncrd-door-img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s ease; }
body.ncrd-front .ncrd-door:hover .ncrd-door-img img { transform: scale(1.05); }
body.ncrd-front .ncrd-door-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
body.ncrd-front .ncrd-door-no { font-family: var(--rd-num); font-size: 22px; font-weight: 600; color: #0B7F8C; }
body.ncrd-front .ncrd-door-body strong { font-family: var(--rd-serif); font-weight: 500; font-size: 22px; letter-spacing: .02em; }
body.ncrd-front .ncrd-door-body small { font-size: 14px; line-height: 1.7; color: #6E665C; }

@media (max-width: 1100px) {
  body.ncrd-front .ncrd-fhero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "media" "purpose"; row-gap: 28px; }
  body.ncrd-front .ncrd-frame { margin-left: 30px; width: auto; }
  body.ncrd-front .ncrd-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.ncrd-front .ncrd-fhero-in { padding: calc(var(--nc-header-h, 60px) + 20px) 0 16px; row-gap: 18px; }
  body.ncrd-front .ncrd-fhero-txt { gap: 14px; padding-top: 0; }
  body.ncrd-front .ncrd-fhero-txt > .ncrd-eyebrow { display: none; }
  body.ncrd-front .ncrd-fhero h1 { display: flex; align-items: center; gap: 10px; font-family: var(--rd-sans); font-size: 14px !important; font-weight: 700; letter-spacing: .04em; color: #0B7F8C; white-space: normal; }
  body.ncrd-front .ncrd-fhero h1::before { content: ""; width: 20px; height: 1.5px; background: currentColor; flex: none; }
  body.ncrd-front .ncrd-flead { font-size: 16px; }
  body.ncrd-front .ncrd-fsearch { padding: 12px 12px 12px 14px; }
  body.ncrd-front .ncrd-fsearch .ncrd-find-h span { display: none; }
  body.ncrd-front .ncrd-fsearch .nc-hero-search input { font-size: 16px; }
  body.ncrd-front .ncrd-fsearch .nc-hero-search > button { padding: 0 16px; }
  body.ncrd-front .ncrd-find-q { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 16px); margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  body.ncrd-front .ncrd-find-q::-webkit-scrollbar { display: none; }
  body.ncrd-front .ncrd-fhero-media { padding-bottom: 40px; }
  body.ncrd-front .ncrd-frame { margin-left: 0; aspect-ratio: 16 / 11.5; border-radius: 16px; }
  body.ncrd-front .ncrd-slide-cap { right: 10px; top: 10px; height: 26px; padding: 0 10px; font-size: 10px; }
  body.ncrd-front .ncrd-polaroid { left: 4px; width: 42%; padding: 6px 6px 8px; }
  body.ncrd-front .ncrd-polaroid figcaption { margin-top: 6px; font-size: 10px; }
  body.ncrd-front .ncrd-sticker { right: 8px; bottom: 12px; font-size: 12px; padding: 7px 10px; }
  body.ncrd-front .ncrd-film-i { width: 150px; height: 130px; }
  body.ncrd-front .ncrd-routes { padding: 40px 0 48px; }
  body.ncrd-front .ncrd-routes-head { margin-bottom: 18px; }
  body.ncrd-front .ncrd-routes-head h2 { font-size: 26px; }
  body.ncrd-front .ncrd-routes-head > p { font-size: 13px; }
  body.ncrd-front .ncrd-doors { gap: 12px; }
  body.ncrd-front .ncrd-door { position: relative; min-height: 200px; border: 0; border-radius: 18px; background: #0C2B34; color: #fff; }
  body.ncrd-front .ncrd-door.is-study { box-shadow: inset 0 0 0 2px #0B7F8C; }
  body.ncrd-front .ncrd-door-img { position: absolute; inset: 0; height: auto; }
  body.ncrd-front .ncrd-door-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 43, 52, .15) 0%, rgba(12, 43, 52, .1) 35%, rgba(12, 43, 52, .85) 100%); }
  body.ncrd-front .ncrd-door-body { position: relative; z-index: 1; height: 100%; justify-content: space-between; gap: 4px; padding: 12px 12px 14px; }
  body.ncrd-front .ncrd-door-no { color: #fff; font-size: 22px; margin-bottom: auto; }
  body.ncrd-front .ncrd-door-body strong { color: #fff; font-size: 17px; margin-top: 60px; }
  body.ncrd-front .ncrd-door-body small { color: rgba(255, 255, 255, .88); font-size: 11px; line-height: 1.6; }
  body.ncrd-front .ncrd-door:hover { color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  body.ncrd-front .ncrd-fsearch::before, body.ncrd-front .ncrd-slide-img, body.ncrd-front .ncrd-polaroid,
  body.ncrd-front .ncrd-film-track, body.ncrd-front .ncrd-film-i img { animation: none; }
  body.ncrd-front .ncrd-slide { animation: none; }
  body.ncrd-front .ncrd-slide:not(:first-child) { display: none; }
  body.ncrd-front .ncrd-dots { display: none; }
}

/* セクション見出し・色 */
body.ncrd-front .nc-section { background-color: #FAF6EF; }
body.ncrd-front .nc-section-heading h2, body.ncrd-front .nc-map-copy h2, body.ncrd-front .nc-audience-title-group h2 { color: #1F1B16; }
body.ncrd-front .ncsn-ask-cta a { background: #FF7A1A; color: #1F1B16 !important; }
body.ncrd-front .ncsn-ask-cta a:hover { background: #F06A0A; }

/* 地図（OpenStreetMap） */
body.ncrd-osm .nc-map-stage { background: #E9E4DA; }
body.ncrd-osm .ncrd-map-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
body.ncrd-osm .ncrd-map-credit { position: absolute; right: 8px; bottom: 6px; z-index: 5; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .85); color: #3E3830; font-size: 10px; text-decoration: none; }
body.ncrd-osm .ncrd-map-south { position: absolute; left: 10px; top: 10px; z-index: 5; margin: 0; max-width: 60%; padding: 5px 10px; border-radius: 999px; background: rgba(12, 43, 52, .86); color: #FAF6EF; font-size: 11px; line-height: 1.5; }
body.ncrd-osm .nc-map-caption { right: 8px; bottom: 30px; left: auto; }
/* ピンの位置（OpenStreetMap の座標から計算） */
body.ncrd-osm .nc-map-marker-busay { top: 23%; left: 20.8%; }
body.ncrd-osm .nc-map-marker-it { top: 42%; left: 33.6%; }
body.ncrd-osm .nc-map-marker-ayala { top: 48.2%; left: 32.8%; }
body.ncrd-osm .nc-map-marker-srp { top: 65.6%; left: 23.9%; }
body.ncrd-osm .nc-map-marker-airport { top: 51.7%; left: 59.3%; }
body.ncrd-osm .nc-map-marker-newtown { top: 51.9%; left: 71.8%; }
body.ncrd-osm .nc-map-marker-maribago { top: 63.8%; left: 64.2%; }
body.ncrd-osm .nc-map-marker-kawasan { top: 90%; left: 4%; }
/* 近いピンは名前を左に出して重ならないようにする */
body.ncrd-osm .nc-map-marker-ayala,
body.ncrd-osm .nc-map-marker-airport { flex-direction: row-reverse; transform: translate(calc(-100% + 11px), -50%); }
body.ncrd-osm .nc-map-marker-ayala:hover, body.ncrd-osm .nc-map-marker-ayala.is-active,
body.ncrd-osm .nc-map-marker-airport:hover, body.ncrd-osm .nc-map-marker-airport.is-active { transform: translate(calc(-100% + 11px), -50%) scale(1.04); }
body.ncrd-osm .nc-map-marker-kawasan .nc-map-pin-dot { background: #FF7A1A; }

@media (max-width: 1023px) {
}
@media (max-width: 760px) {
  body.ncrd-osm .ncrd-map-south { font-size: 9px; top: 6px; left: 6px; padding: 3px 7px; max-width: 70%; }
  body.ncrd-osm .ncrd-map-credit { font-size: 8px; }
}
@media (max-width: 600px) {
  body.ncrd-osm .nc-map-marker-ayala,
  body.ncrd-osm .nc-map-marker-airport { transform: translate(calc(-100% + 8px), -50%); }
  body.ncrd-osm .nc-map-marker-ayala:hover, body.ncrd-osm .nc-map-marker-ayala.is-active,
  body.ncrd-osm .nc-map-marker-airport:hover, body.ncrd-osm .nc-map-marker-airport.is-active { transform: translate(calc(-100% + 8px), -50%) scale(1.02); }
}
body.ncrd-front .nc-explore-section,
body.ncrd-front .nc-map-section { background: #FAF6EF; }
body.ncrd-front .nc-explore-section::before, body.ncrd-front .nc-explore-section::after,
body.ncrd-front .nc-map-section::before, body.ncrd-front .nc-map-section::after { display: none; }

/* 記事の写真の説明・クレジット */
body.ncrd .ncrd-ahero-cap { position: absolute; right: 16px; bottom: 10px; z-index: 2; max-width: min(520px, 70%); margin: 0; font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, .78); text-align: right; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
body.ncrd .ncrd-ahero.no-photo .ncrd-ahero-cap { display: none; }
body.ncrd .ncrd-ahero.is-card { flex-direction: column; }
body.ncrd .ncrd-ahero.is-card .ncrd-ahero-cap { position: static; max-width: none; margin: -30px auto 20px; width: min(var(--nc-max, 1180px), calc(100% - 64px)); color: #6E665C; text-shadow: none; }
@media (max-width: 760px) {
  body.ncrd .ncrd-ahero-cap { right: 12px; bottom: 6px; left: 12px; max-width: none; font-size: 10px; }
  body.ncrd .ncrd-ahero.has-photo .ncrd-ahero-in { padding-bottom: 44px; }
  body.ncrd .ncrd-ahero.is-card .ncrd-ahero-cap { margin: -16px auto 16px; width: calc(100% - 32px); }
}

/* トップ：留学の無料説明会（QQEnglish の広告。QQ のブランド色で表示） */
body.ncrd-front .ncrd-seminar { background: #FAF6EF; padding: 0 0 64px; }
body.ncrd-front .ncrd-qq {
  --qq-blue: #33aad7; --qq-blue-d: #1f8fbd; --qq-yellow: #ffde42; --qq-orange: #ff6c00; --qq-shadow: #a0532a;
  position: relative; display: grid; grid-template-columns: 250px minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 20px 32px 20px 20px; border-radius: 20px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate;
  font-family: "M PLUS Rounded 1c", var(--rd-sans);
  background:
    radial-gradient(circle at 88% -20%, rgba(255, 255, 255, .28) 0 120px, transparent 121px),
    radial-gradient(circle at 70% 130%, rgba(255, 255, 255, .16) 0 90px, transparent 91px),
    radial-gradient(rgba(255, 255, 255, .18) 1.5px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(135deg, #3db6e2, var(--qq-blue) 45%, var(--qq-blue-d));
  box-shadow: 0 18px 36px -22px rgba(31, 143, 189, .9);
  transition: transform .2s ease;
}
body.ncrd-front .ncrd-qq:hover { transform: translateY(-3px); color: #fff; }
body.ncrd-front .ncrd-qq-ad { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, .45); color: #fff; font-family: var(--rd-sans); font-size: 11px; font-weight: 700; line-height: 1.3; }
body.ncrd-front .ncrd-qq-photo { display: block; overflow: hidden; aspect-ratio: 3 / 2; border: 4px solid #fff; border-radius: 16px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .35); }
body.ncrd-front .ncrd-qq-photo picture { display: block; width: 100%; height: 100%; }
body.ncrd-front .ncrd-qq-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
body.ncrd-front .ncrd-qq-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
body.ncrd-front .ncrd-qq-logo { display: inline-flex; padding: 6px 12px; border-radius: 10px; background: #fff; }
body.ncrd-front .ncrd-qq-logo img { display: block; width: 150px; height: auto; max-width: none; }
body.ncrd-front .ncrd-qq-kicker { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
body.ncrd-front .ncrd-qq-kicker b { padding: 3px 10px; border-radius: 999px; background: var(--qq-yellow); color: #1f6f8f; font-size: 13px; font-weight: 800; }
body.ncrd-front .ncrd-qq-title { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.25; letter-spacing: .03em; color: #fff; text-shadow: 0 2px 0 rgba(20, 110, 150, .45); }
body.ncrd-front .ncrd-qq-sub { font-family: var(--rd-sans); font-size: 12px; color: rgba(255, 255, 255, .92); }
body.ncrd-front .ncrd-qq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 72px; padding: 0 30px 0 22px; border-radius: 10px;
  background: var(--qq-orange); color: #fff; font-size: 19px; font-weight: 800; white-space: nowrap; text-shadow: 0 2px 1px var(--qq-shadow);
  box-shadow: 0 4px 0 var(--qq-shadow), 0 0 12px rgba(0, 0, 0, .2); transition: translate .15s ease, box-shadow .15s ease;
}
body.ncrd-front .ncrd-qq-btn::after { content: ""; width: 10px; height: 10px; margin-left: 6px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; transform: rotate(45deg); filter: drop-shadow(0 2px 1px var(--qq-shadow)); }
body.ncrd-front .ncrd-qq-btn img { width: 34px; height: auto; }
body.ncrd-front .ncrd-qq:hover .ncrd-qq-btn { translate: 0 2px; box-shadow: 0 2px 0 var(--qq-shadow), 0 0 8px rgba(0, 0, 0, .3); }
body.ncrd-front .ncrd-seminar-note { margin: 10px 4px 0; font-size: 12px; color: #6E665C; }
@media (max-width: 1100px) {
  body.ncrd-front .ncrd-qq { grid-template-columns: 200px minmax(0, 1fr); padding-right: 20px; }
  body.ncrd-front .ncrd-qq-btn { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body.ncrd-front .ncrd-seminar { padding-bottom: 44px; }
  body.ncrd-front .ncrd-qq { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 16px; }
  body.ncrd-front .ncrd-qq-photo { border-width: 3px; border-radius: 12px; aspect-ratio: 1; }
  body.ncrd-front .ncrd-qq-ad { left: 8px; top: 8px; font-size: 10px; }
  body.ncrd-front .ncrd-qq-logo { padding: 4px 8px; border-radius: 8px; }
  body.ncrd-front .ncrd-qq-logo img { width: 104px; }
  body.ncrd-front .ncrd-qq-kicker { font-size: 12px; gap: 6px; margin-top: 2px; }
  body.ncrd-front .ncrd-qq-kicker b { font-size: 11px; padding: 2px 8px; }
  body.ncrd-front .ncrd-qq-title { font-size: 22px; }
  body.ncrd-front .ncrd-qq-sub { font-size: 10px; }
  body.ncrd-front .ncrd-qq-btn { height: 56px; padding: 0 16px; font-size: 15px; gap: 8px; }
  body.ncrd-front .ncrd-qq-btn img { width: 26px; }
  body.ncrd-front .ncrd-seminar-note { font-size: 11px; }
}

/* 地図：拡大・移動できる OpenStreetMap（読み込めたら画像と入れ替える） */
body.ncrd-osm .ncrd-lmap { position: absolute; inset: 0; z-index: 1; display: none; background: #E9E4DA; font: inherit; }
body.ncrd-osm .nc-map-stage.is-live .ncrd-lmap { display: block; }
body.ncrd-osm .nc-map-stage.is-live .ncrd-map-img,
body.ncrd-osm .nc-map-stage.is-live .ncrd-map-credit { display: none; }
body.ncrd-osm .ncrd-lmap .leaflet-tile-pane { filter: saturate(.62) sepia(.08) brightness(1.02); }
body.ncrd-osm .ncrd-lpin { width: 0 !important; height: 0 !important; background: none; border: 0; }
body.ncrd-osm .ncrd-lpin .nc-map-marker { top: 0 !important; left: 0 !important; }
body.ncrd-osm .nc-map-stage.is-live .ncrd-map-south { z-index: 500; }
body.ncrd-osm .nc-map-stage.is-live .nc-map-caption,
body.ncrd-osm .nc-map-stage.is-live .nc-map-status { z-index: 500; }
body.ncrd-osm .nc-map-stage.is-live .nc-map-caption { right: auto; left: 8px; bottom: 8px; }
body.ncrd-osm .ncrd-lmap .leaflet-control-zoom { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 16px rgba(12, 43, 52, .2); }
body.ncrd-osm .ncrd-lmap .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: #0C2B34; font-size: 20px; }
body.ncrd-osm .ncrd-lmap .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .85); }
@media (max-width: 760px) {
  body.ncrd-osm .ncrd-lmap .leaflet-control-zoom a { width: 32px; height: 32px; line-height: 32px; }
}

/* ==========================================================================
   9. 留学ナビ（/study-abroad/。body.ncrd-study）
   アプリの色の変数を差し替えて、全ページをこのデザインの色と文字にそろえる
   ========================================================================== */
body.ncrd-study {
  --ink: #1F1B16; --navy: #0C2B34; --navy-deep: #0C2B34; --ocean: #0B7F8C; --ocean-deep: #08606A; --turquoise: #35A396;
  --sun: #FFD23F; --sunset: #FF7A1A; --coral: #FF7A1A; --leaf: #35A396; --paper: #FAF6EF; --mist: #EEF6F6; --muted: #6E665C;
  --sky: #EEF6F6; --sky-deep: #D6EBEA; --sand: #FFF6E0; --line: rgba(31, 27, 22, .14); --line-soft: rgba(31, 27, 22, .08);
  --radius: 12px; --radius-lg: 20px; --shadow-soft: 0 10px 26px rgba(31, 27, 22, .07); --shadow: 0 18px 44px rgba(31, 27, 22, .12);
  --font-head: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif; --font-en: "Fraunces", Georgia, serif;
  background: #FAF6EF !important; color: #1F1B16;
}
body.ncrd-study main h1, body.ncrd-study main h2 { font-family: var(--rd-serif) !important; font-weight: 500 !important; letter-spacing: .02em; } /* 色はアプリのまま（濃紺の帯では白文字のため） */
body.ncrd-study .eyebrow, body.ncrd-study .mini-label, body.ncrd-study .section-kicker { font-family: var(--rd-mono) !important; color: #0B7F8C !important; letter-spacing: .08em; }

/* ヘッダー：デザイン案どおり（全幅のクリームの帯・ロゴ・ナビ・「← ナビセブへ」・「10問診断」） */
body.ncrd-study .site-header {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; width: auto !important; max-width: none !important; margin: 0 !important;
  transform: none !important; translate: none !important; inset: 0 0 auto 0 !important;
  height: 80px; box-sizing: border-box; display: flex !important; align-items: center; gap: 36px; padding: 0 48px !important;
  background: rgba(250, 246, 239, .96) !important; border: 0 !important; border-bottom: 1px solid #E7DFD3 !important; border-radius: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 1000;
}
body.ncrd-study .site-header .brand { display: flex !important; align-items: center; gap: 10px; text-decoration: none; flex: none; }
body.ncrd-study .ncsd-mark { width: 24px; height: 24px; flex: none; }
body.ncrd-study .ncsd-logo { font-family: var(--rd-serif); font-size: 24px; font-weight: 500; letter-spacing: .06em; color: #1F1B16; line-height: 1; }
body.ncrd-study .ncsd-logo-sub { font-family: var(--rd-serif); font-size: 16px; letter-spacing: .1em; color: #0B7F8C; line-height: 1; }
body.ncrd-study .site-nav { display: flex !important; align-items: center; gap: 26px !important; margin: 0; padding: 0; background: none !important; }
body.ncrd-study .site-nav a { display: inline-block !important; margin: 0 !important; padding: 0 !important; background: none !important; border-radius: 0 !important; color: #1F1B16 !important; font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0 !important; white-space: nowrap; box-shadow: none !important; }
body.ncrd-study .site-nav a:hover { color: #0B7F8C !important; }
body.ncrd-study .site-nav a[aria-current], body.ncrd-study .site-nav a.is-active { color: #0B7F8C !important; box-shadow: inset 0 -2px 0 #0B7F8C !important; }
body.ncrd-study .nc-cta-group { display: flex !important; align-items: center; gap: 10px; margin-left: 14px; }
body.ncrd-study .ncsd-back { margin-left: auto; font-size: 14px; font-weight: 500; color: #6E665C; text-decoration: none; white-space: nowrap; }
body.ncrd-study .ncsd-back:hover { color: #0B7F8C; }
/* 右上のボタン（整理版）
   - 調べる道具は1つのまとまり：[¥ 費用シミュレーター | ◎ タイプ診断]（白い2連ボタン）
   - いちばん目立たせるのは「お問い合わせ」だけ（マンゴー＋「無料」バッジ、いちばん右） */
body.ncrd-study .nc-cta-group > a { display: inline-flex !important; align-items: center; justify-content: center; gap: 7px; height: 44px; margin: 0 !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1 !important; white-space: nowrap; box-shadow: none !important; text-decoration: none; transform: none; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
/* 2連ボタン（左：費用、右：診断） */
body.ncrd-study .nc-cta-group > .nc-cta-sim, body.ncrd-study .nc-cta-group > .header-cta { background: #fff !important; color: #1F1B16 !important; border: 1px solid #E7DFD3 !important; padding: 0 14px !important; }
body.ncrd-study .nc-cta-group > .nc-cta-sim { order: 1; border-radius: 12px 0 0 12px !important; font-size: 0 !important; }
body.ncrd-study .nc-cta-group > .nc-cta-sim::after { content: "費用シミュレーター"; font-size: 14px; }
body.ncrd-study .nc-cta-group > .header-cta { order: 2; border-left: 0 !important; border-radius: 0 12px 12px 0 !important; margin-left: -10px !important; position: relative; }
body.ncrd-study .nc-cta-group > .header-cta::before { content: ""; width: 18px; height: 18px; flex: none; background: #0B7F8C; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E") center / contain no-repeat; }
body.ncrd-study .nc-cta-group > .header-cta::after { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 1px; background: #E7DFD3; }
body.ncrd-study .nc-cta-group > .nc-cta-sim:hover, body.ncrd-study .nc-cta-group > .header-cta:hover { background: #FFF6E0 !important; }
body.ncrd-study .nc-cta-sim-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #FFD23F !important; color: #1F1B16 !important; font-size: 11px !important; font-weight: 700; }
/* お問い合わせ（主役） */
body.ncrd-study .nc-cta-group > .ncct-header-btn {
  order: 3; position: relative; overflow: visible; margin-left: 4px !important; height: 46px; padding: 0 20px 0 16px !important; border: 0 !important; border-radius: 999px !important;
  background: linear-gradient(135deg, #FF9A3D 0%, #FF7A1A 55%, #F2620A 100%) !important; color: #1F1B16 !important; font-size: 15px !important;
  box-shadow: 0 10px 22px -10px rgba(242, 98, 10, .75), inset 0 1px 0 rgba(255, 255, 255, .35) !important; isolation: isolate;
}
body.ncrd-study .nc-cta-group > .ncct-header-btn::before { content: ""; width: 20px; height: 20px; flex: none; background: #1F1B16; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 12h.01M12 12h.01M15.5 12h.01'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 12h.01M12 12h.01M15.5 12h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
body.ncrd-study .nc-cta-group > .ncct-header-btn::after {
  content: "無料"; position: absolute; top: -8px; right: -6px; padding: 3px 7px; border-radius: 999px; background: #0C2B34; color: #FFD23F;
  font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .04em; box-shadow: 0 2px 6px rgba(12, 43, 52, .3);
}
body.ncrd-study .nc-cta-group > .ncct-header-btn:hover { transform: translateY(-1px) !important; box-shadow: 0 14px 26px -10px rgba(242, 98, 10, .85), inset 0 1px 0 rgba(255, 255, 255, .35) !important; filter: none !important; }
body.ncrd-study .nc-cta-group { gap: 10px; }
body.ncrd-study .ncsd-menu-btn, body.ncrd-study .ncsd-menu-cb { display: none; }
@media (max-width: 1360px) {
  body.ncrd-study .site-header { gap: 22px; padding: 0 28px !important; }
  body.ncrd-study .ncsd-back { display: none; }
  body.ncrd-study .site-nav { gap: 18px !important; }
  body.ncrd-study .site-nav a { font-size: 14px !important; }
  body.ncrd-study .nc-cta-group { margin-left: auto; }
}
/* 1100px 以下はナビをメニューボタンにしまう（右上のボタン3つは残す） */
@media (max-width: 1100px) {
  body.ncrd-study .ncsd-menu-btn { display: flex; order: 9; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 2px; cursor: pointer; }
  body.ncrd-study .ncsd-menu-btn span, body.ncrd-study .ncsd-menu-btn span::before, body.ncrd-study .ncsd-menu-btn span::after { content: ""; display: block; width: 20px; height: 2px; background: #1F1B16; border-radius: 2px; position: relative; }
  body.ncrd-study .ncsd-menu-btn span::before { position: absolute; top: -6px; }
  body.ncrd-study .ncsd-menu-btn span::after { position: absolute; top: 6px; }
  body.ncrd-study .site-nav { display: none !important; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch !important; gap: 0 !important; padding: 8px 20px 16px !important; background: #FAF6EF !important; border-bottom: 1px solid #E7DFD3; }
  body.ncrd-study .site-nav a { padding: 12px 4px !important; border-bottom: 1px solid #EFE8DC; font-size: 15px !important; }
  body.ncrd-study .ncsd-menu-cb:checked ~ .site-nav { display: flex !important; }
}
@media (max-width: 900px) {
  body.ncrd-study .site-header { height: 60px; padding: 0 12px 0 16px !important; gap: 8px; }
  body.ncrd-study .ncsd-logo { font-size: 20px; }
  body.ncrd-study .ncsd-logo-sub { font-size: 13px; }
  body.ncrd-study .nc-cta-group { gap: 6px; }
  body.ncrd-study .nc-cta-group > a { height: 40px; font-size: 13px !important; }
  body.ncrd-study .nc-cta-group > .nc-cta-sim::after { font-size: 13px; }
}
/* スマホ：右上はお問い合わせだけ（費用シミュレーターと診断は画面下のバーにある） */
@media (max-width: 600px) {
  body.ncrd-study .ncsd-mark { width: 20px; height: 20px; }
  body.ncrd-study .ncsd-logo { font-size: 18px; letter-spacing: .04em; }
  body.ncrd-study .ncsd-logo-sub { font-size: 12px; letter-spacing: .04em; }
  body.ncrd-study .nc-cta-group > .nc-cta-sim, body.ncrd-study .nc-cta-group > .header-cta, body.ncrd-study .site-header > .header-cta { display: none !important; }
  body.ncrd-study .nc-cta-group > .ncct-header-btn { display: inline-flex !important; height: 38px; padding: 0 14px 0 12px !important; font-size: 13px !important; gap: 5px; }
  body.ncrd-study .nc-cta-group > .ncct-header-btn::before { width: 17px; height: 17px; }
  body.ncrd-study .nc-cta-group > .ncct-header-btn::after { top: -6px; right: -4px; font-size: 9px; padding: 2px 6px; }
}

/* 留学ガイドトップ（デザイン案をそのまま入れた部分） */
body.ncrd-study .ncsd-hero { display: block; position: relative; padding: 80px 0 0; margin: 0; background: #FAF6EF; }
body.ncsd-home-on [data-home-section]:not(#hero) { display: none !important; }
body.ncsd-home-on:not(.is-subpage) #official-note { display: none !important; } /* デザイン案では最後が「診断」の帯なので、同じ内容の帯は出さない */
body.ncrd-study .ncsd-h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.ncrd-study .ncsd-pc { position: relative; max-width: 1440px; margin: 0 auto; color: #1F1B16; font-family: "Zen Kaku Gothic New", system-ui, sans-serif; }
body.ncrd-study .ncsd-pc > section:first-child { box-shadow: 0 0 0 100vmax #0C2B34; clip-path: inset(0 -100vmax); }
body.ncrd-study .ncsd-sp { display: none; position: relative; max-width: 600px; margin: 0 auto; color: #1F1B16; font-family: "Zen Kaku Gothic New", system-ui, sans-serif; }
body.ncrd-study .ncsd-sp > section:first-child { box-shadow: 0 0 0 100vmax #0C2B34; clip-path: inset(0 -100vmax); }
body.ncrd-study .ncsd img { max-width: 100%; }
body.ncrd-study .ncsd details > summary { list-style: none; cursor: pointer; }
body.ncrd-study .ncsd details > summary::-webkit-details-marker { display: none; }
body.ncrd-study .ncsd details[open] > summary .sd-ico { transform: rotate(180deg); }
body.ncrd-study .ncsd .sd-ico path { stroke: currentColor; fill: none; }
@media (max-width: 1100px) {
  body.ncrd-study .ncsd-pc section { padding-left: 24px !important; padding-right: 24px !important; }
}
@media (max-width: 900px) {
  body.ncrd-study .ncsd-hero { padding-top: 60px; }
}
@media (max-width: 1023px) { /* タブレット以下はスマホ用のデザイン（4列が窮屈になるため） */
  body.ncrd-study .ncsd-pc { display: none; }
  body.ncrd-study .ncsd-sp { display: block; }
}

/* ボタン・カード */
body.ncrd-study .button.primary, body.ncrd-study a.button.primary, body.ncrd-study .btn-primary { background: #FF7A1A !important; color: #1F1B16 !important; border-color: #FF7A1A !important; box-shadow: none !important; }
body.ncrd-study .button.secondary, body.ncrd-study a.button.secondary { background: #fff !important; color: #1F1B16 !important; border: 1px solid #E7DFD3 !important; box-shadow: none !important; }
body.ncrd-study .section { background: transparent; }
body.ncrd-study .chip.is-active { background: #1F1B16 !important; color: #FAF6EF !important; border-color: #1F1B16 !important; }

/* ---- 留学ナビのトップの頭（デザイン案：濃紺に日本→セブの線、見出し、写真と搭乗券） ---- */
body.ncrd-study .hero.ncrd-shero { position: relative; overflow: hidden; padding: 126px 0 28px !important; /* ヘッダーは固定（PCで高さ約80px） */ background: #0C2B34 !important; color: #FAF6EF; min-height: 0 !important; }
body.ncrd-study .hero.ncrd-shero::before { content: ""; position: absolute; left: -10%; bottom: 8%; width: 70%; height: 1px; background: rgba(250, 246, 239, .12); transform: rotate(-12deg); pointer-events: none; }
body.ncrd-study .ncrd-sflight { display: flex; align-items: center; gap: 14px; width: min(1344px, calc(100% - 64px)); margin: 0 auto 36px; color: #FAF6EF; }
body.ncrd-study .ncrd-sf-city { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
body.ncrd-study .ncrd-sf-city b { font-family: var(--rd-serif); font-size: 18px; font-weight: 500; letter-spacing: .06em; }
body.ncrd-study .ncrd-sf-city small { font-size: 11px; color: rgba(250, 246, 239, .7); }
body.ncrd-study .ncrd-flag { width: 22px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); flex: none; }
body.ncrd-study .ncrd-sf-line { position: relative; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, rgba(250, 246, 239, .45) 0 4px, transparent 4px 8px); }
body.ncrd-study .ncrd-sf-line em { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-style: normal; font-family: var(--rd-mono); font-size: 11px; letter-spacing: .06em; color: #7FD3D9; white-space: nowrap; }
body.ncrd-study .ncrd-sf-plane { position: absolute; top: -12px; left: 0; font-style: normal; font-size: 22px; line-height: 1; color: #FFD23F; animation: ncrd-fly 9s ease-in-out infinite; }
@keyframes ncrd-fly { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 22px); opacity: 0; } }
body.ncrd-study .ncrd-shero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; width: min(1344px, calc(100% - 64px)); margin: 0 auto; }
body.ncrd-study .ncrd-shero-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
body.ncrd-study .ncrd-shero .ncrd-eyebrow { margin: 0; font-family: var(--rd-mono); font-size: 12px; letter-spacing: .08em; color: #7FD3D9; }
body.ncrd-study .ncrd-shero #hero-title { margin: 0; font-family: var(--rd-sans) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .04em; line-height: 1.6; color: rgba(250, 246, 239, .85) !important; }
body.ncrd-study .ncrd-shero #hero-title .h1-line { display: inline; font: inherit !important; color: inherit !important; background: none !important; }
body.ncrd-study .ncrd-shero #hero-title .h1-line + .h1-line::before { content: " · "; }
body.ncrd-study .ncrd-shead { margin: 0; font-family: var(--rd-serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.45; letter-spacing: .04em; color: #FAF6EF; }
body.ncrd-study .ncrd-slead { margin: 0; font-size: 15px; line-height: 1.95; color: rgba(250, 246, 239, .85); }
body.ncrd-study .ncrd-sactions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
body.ncrd-study .ncrd-sbtn { display: inline-flex; align-items: center; height: 50px; padding: 0 22px; border-radius: 12px; background: #FAF6EF; color: #1F1B16; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s ease; }
body.ncrd-study .ncrd-sbtn.is-main { background: #FF7A1A; color: #1F1B16; }
body.ncrd-study .ncrd-sbtn:hover { transform: translateY(-2px); color: #1F1B16; }
body.ncrd-study .ncrd-schips { display: flex; flex-wrap: wrap; gap: 8px; }
body.ncrd-study .ncrd-schips a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid rgba(250, 246, 239, .3); border-radius: 999px; color: #FAF6EF; font-size: 13px; text-decoration: none; }
body.ncrd-study .ncrd-schips a:hover { background: #FAF6EF; color: #0C2B34; }
body.ncrd-study .ncrd-shero-media { position: relative; min-width: 0; padding: 0 0 70px; }
body.ncrd-study .ncrd-sframe { position: relative; margin-left: auto; width: min(100%, 700px); aspect-ratio: 900 / 585; overflow: hidden; border-radius: 16px; background: #133a45; }
body.ncrd-study .ncrd-sframe picture, body.ncrd-study .ncrd-sframe img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
body.ncrd-study .ncrd-sframe img { animation: ncrd-hzoom 24s ease-in-out infinite alternate; }
body.ncrd-study .ncrd-sframe-cap { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-family: var(--rd-mono); font-size: 11px; letter-spacing: .08em; color: #1F1B16; }
body.ncrd-study .ncrd-bpass {
  position: absolute; left: -24px; bottom: 0; width: min(360px, 70%); overflow: hidden; border-radius: 14px; background: #FAF6EF; color: #1F1B16; text-decoration: none;
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, .55); animation: ncrd-sway 7s ease-in-out infinite alternate; transform-origin: 30% 80%;
}
body.ncrd-study .ncrd-bpass:hover { color: #1F1B16; }
body.ncrd-study .ncrd-bp-head { display: flex; justify-content: space-between; gap: 8px; padding: 10px 16px; background: #FF7A1A; color: #1F1B16; font-family: var(--rd-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; }
body.ncrd-study .ncrd-bp-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 16px 16px 12px; border-bottom: 1px dashed #D9CFC0; }
body.ncrd-study .ncrd-bp-c { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 6px; }
body.ncrd-study .ncrd-bp-c small { grid-column: 1 / -1; font-family: var(--rd-mono); font-size: 10px; color: #6E665C; }
body.ncrd-study .ncrd-bp-c b { font-family: var(--rd-num); font-size: 28px; font-weight: 600; line-height: 1.1; }
body.ncrd-study .ncrd-bp-c.is-to { text-align: right; justify-items: end; }
body.ncrd-study .ncrd-bp-mid { display: flex; flex-direction: column; align-items: center; color: #0B7F8C; font-size: 18px; }
body.ncrd-study .ncrd-bp-mid i { font-style: normal; }
body.ncrd-study .ncrd-bp-mid small { font-size: 10px; color: #6E665C; }
body.ncrd-study .ncrd-bp-foot { display: flex; align-items: center; gap: 14px; padding: 10px 16px 14px; }
body.ncrd-study .ncrd-bp-foot > span:not(.ncrd-bp-go) { display: flex; flex-direction: column; }
body.ncrd-study .ncrd-bp-foot small { font-family: var(--rd-mono); font-size: 10px; color: #6E665C; }
body.ncrd-study .ncrd-bp-foot b { font-family: var(--rd-num); font-size: 17px; font-weight: 600; }
body.ncrd-study .ncrd-bp-go { margin-left: auto; padding: 8px 14px; border: 1.5px solid #1F1B16; border-radius: 10px; font-size: 13px; font-weight: 700; }
/* 数字の列（元のデータをそのまま使う） */
body.ncrd-study .ncrd-sstats { width: min(1344px, calc(100% - 64px)); margin: 28px auto 0; padding-top: 22px; border-top: 1px solid rgba(250, 246, 239, .16); }
body.ncrd-study .ncrd-sstats .hero-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; background: none !important; border: 0 !important; box-shadow: none !important; }
body.ncrd-study .ncrd-sstats .hero-facts > div { padding: 0 18px; border-left: 1px solid rgba(250, 246, 239, .16); background: none !important; }
body.ncrd-study .ncrd-sstats .hero-facts > div:first-child { padding-left: 0; border-left: 0; }
body.ncrd-study .ncrd-sstats dt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin: 0; font-family: var(--rd-num); font-size: 40px; font-weight: 600; line-height: 1.1; color: #FAF6EF !important; }
body.ncrd-study .ncrd-sstats dt em { order: 3; width: 100%; font-style: normal; font-family: var(--rd-mono); font-size: 10px; letter-spacing: .1em; color: #7FD3D9; }
body.ncrd-study .ncrd-sstats dt small { font-family: var(--rd-sans); font-size: 14px; font-weight: 700; color: #FFD23F; }
body.ncrd-study .ncrd-sstats dd { margin: 4px 0 0; font-size: 12px; color: rgba(250, 246, 239, .75) !important; }
@media (max-width: 1000px) {
  body.ncrd-study .hero.ncrd-shero { padding-top: 176px !important; } /* ヘッダーが2段になる（高さ約130〜140px） */
}
@media (max-width: 1023px) {
  body.ncrd-study .ncrd-shero-in { grid-template-columns: 1fr; gap: 32px; }
  body.ncrd-study .ncrd-sframe { margin-left: 24px; width: auto; }
  body.ncrd-study .ncrd-sstats .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  body.ncrd-study .ncrd-sstats .hero-facts > div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  body.ncrd-study .ncrd-sflight, body.ncrd-study .ncrd-shero-in, body.ncrd-study .ncrd-sstats { width: calc(100% - 32px); }
  body.ncrd-study .ncrd-sflight { gap: 8px; margin-bottom: 26px; }
  body.ncrd-study .ncrd-sf-city small { display: none; }
  body.ncrd-study .ncrd-sf-city b { font-size: 14px; }
  body.ncrd-study .ncrd-sf-line em { display: none; }
  body.ncrd-study .ncrd-shead { font-size: 28px; }
  body.ncrd-study .ncrd-slead { font-size: 14px; }
  body.ncrd-study .ncrd-slead br { display: none; }
  body.ncrd-study .ncrd-sactions { width: 100%; }
  body.ncrd-study .ncrd-sbtn { flex: 1 1 auto; justify-content: center; height: 48px; padding: 0 14px; font-size: 14px; }
  body.ncrd-study .ncrd-schips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 16px); margin-right: -16px; scrollbar-width: none; }
  body.ncrd-study .ncrd-schips::-webkit-scrollbar { display: none; }
  body.ncrd-study .ncrd-schips a { flex: none; }
  body.ncrd-study .ncrd-sframe { margin-left: 0; }
  body.ncrd-study .ncrd-shero-media { padding-bottom: 96px; }
  body.ncrd-study .ncrd-bpass { left: 8px; width: calc(100% - 16px); }
  body.ncrd-study .ncrd-sstats .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.ncrd-study .ncrd-sstats .hero-facts > div { padding: 0 10px; }
  body.ncrd-study .ncrd-sstats dt { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ncrd-study .ncrd-sf-plane, body.ncrd-study .ncrd-sframe img, body.ncrd-study .ncrd-bpass { animation: none; }
}

/* スマホ下の固定バー（アプリのもの）：費用シミュレーター／タイプ診断をヘッダーと同じ見た目に */
@media (max-width: 1100px) {
  body.ncrd-study .mobile-action-bar a { border-radius: 12px !important; font-weight: 700 !important; box-shadow: 0 8px 20px -12px rgba(12, 43, 52, .6) !important; }
  body.ncrd-study .mobile-action-bar a:nth-child(1) { background: #fff !important; color: #1F1B16 !important; border: 1px solid #E7DFD3 !important; }
  body.ncrd-study .mobile-action-bar a:nth-child(2) { background: #0C2B34 !important; color: #FAF6EF !important; border: 0 !important; }
}

/* ==========================================================================
   10. 記事ページ（デザイン案 ArticlePC / ArticleSP に合わせた仕上げ）
   ========================================================================== */
/* 頭：パンくずの帯（PC は写真の上、スマホは写真の下） */
body.ncrd-article .ncrd-ahead { display: flex; flex-direction: column; }
body.ncrd-article .ncrd-ahead > .ncrd-ahero { order: 1; }
body.ncrd-article .ncrd-crumbbar { order: 0; background: #FAF6EF; border-bottom: 1px solid #EFE8DC; }
body.ncrd-article .ncrd-crumbbar .nc-container { padding-top: 11px; padding-bottom: 11px; }
body.ncrd-article .ncrd-crumbbar .nc-breadcrumb { margin: 0; min-height: 0; flex-wrap: nowrap; gap: 8px; overflow: hidden; white-space: nowrap; font-size: 12px; font-weight: 500; color: #8A8175; }
body.ncrd-article .ncrd-crumbbar .nc-breadcrumb a { color: inherit; text-decoration: none; flex: none; }
body.ncrd-article .ncrd-crumbbar .nc-breadcrumb a:hover { color: #0B7F8C; }
body.ncrd-article .ncrd-crumbbar .nc-breadcrumb > span { flex: none; }
body.ncrd-article .ncrd-crumbbar .nc-breadcrumb [aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #6E665C; }
body.ncrd-article .ncrd-ahero-in { padding-top: 96px; }
/* 写真の説明は右上の小さな札に（PC） */
@media (min-width: 821px) {
  body.ncrd-article .ncrd-ahero.has-photo .ncrd-ahero-cap { top: 20px; bottom: auto; right: 24px; max-width: 360px; padding: 6px 12px; border-radius: 999px; background: rgba(12, 43, 52, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: rgba(255, 255, 255, .92); font-size: 11px; line-height: 1.5; text-shadow: none; text-align: left; }
}
body.ncrd-article .ncrd-meta span:first-child { font-weight: 700; color: #fff; }
body.ncrd-article .ncrd-ahero.no-photo .ncrd-meta span:first-child,
body.ncrd-article .ncrd-ahero.is-card .ncrd-meta span:first-child { color: #1F1B16; }

/* 本文の列：書き手・本文・送る・探す */
body.ncrd-article .ncrd-amain { min-width: 0; }
body.ncrd-article .ncrd-author { display: flex; align-items: center; gap: 14px; margin: 0 0 30px; padding: 16px 20px; border: 1px solid #E7DFD3; border-radius: 18px; background: #fff; }
body.ncrd-article .ncrd-author-av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #0B7F8C; color: #fff; font-family: var(--rd-num); font-size: 20px; font-weight: 600; }
body.ncrd-article .ncrd-author-n { margin: 0; font-size: 15px; font-weight: 700; color: #1F1B16; line-height: 1.5; }
body.ncrd-article .ncrd-author-n small { font-size: 12px; font-weight: 500; color: #6E665C; }
body.ncrd-article .ncrd-author-s { margin: 2px 0 0; font-size: 12px; line-height: 1.6; color: #6E665C; }
/* 書き手の欄があるときは、本文の最初の「こんにちは、〇〇です。」は欄と同じなので見せない */
body.ncrd-article .ncrd-amain.has-writer .nc-article-body > .nc-sl-content > p:first-child { display: none; }
body.ncrd-article .ncrd-afoot { display: flex; flex-direction: column; gap: 22px; margin-top: 40px; }
body.ncrd-article .ncrd-afoot .ncrd-find { margin: 0; padding: 20px; }
body.ncrd-article .ncrd-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 18px 0; border-top: 1px solid #E7DFD3; border-bottom: 1px solid #E7DFD3; }
body.ncrd-article .ncrd-share-h { margin: 0; font-size: 12px; font-weight: 700; color: #6E665C; }
body.ncrd-article .ncrd-share .nc-article-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
body.ncrd-article .ncrd-share .nc-article-actions > * { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #E7DFD3; background: #fff; color: #1F1B16; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s; }
body.ncrd-article .ncrd-share .nc-article-actions > [hidden] { display: none; }
body.ncrd-article .ncrd-share .nc-article-actions > *:hover { border-color: #0B7F8C; color: #0B7F8C; }
body.ncrd-article .ncrd-share .nc-article-actions svg { width: 14px; height: 14px; fill: currentColor; }
body.ncrd-article .ncrd-share .ncrd-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #06C755; }

/* まとめ（ミントの箱） */
body.ncrd-article #nc-article-content section#summary > h2 ~ * { margin: 0; padding: 0 28px; background: #E6F3F1; }
body.ncrd-article #nc-article-content section#summary > h2 + * { padding-top: 24px; border-radius: 20px 20px 0 0; }
body.ncrd-article #nc-article-content section#summary > h2 ~ *:last-child { padding-bottom: 24px; border-radius: 0 0 20px 20px; }
body.ncrd-article #nc-article-content section#summary > h2 + *:last-child { border-radius: 20px; }
body.ncrd-article #nc-article-content section#summary > h2 ~ * + * { padding-top: 14px; }
body.ncrd-article #nc-article-content section#summary > h2 ~ p { font-size: 16px; line-height: 2; color: #1F3438; }

/* よくある質問（開閉。JS が無いときは質問と答えを並べたまま） */
body.ncrd-article #nc-article-content section#faq > h3 { margin: 0; padding: 18px 0 8px; border-top: 1px solid #E7DFD3; font-size: 16px; line-height: 1.6; }
body.ncrd-article #nc-article-content section#faq > h3::before { display: none; }
body.ncrd-article #nc-article-content section#faq > h3 .su-heading { margin: 0 !important; font-size: inherit !important; }
body.ncrd-article #nc-article-content section#faq > h3 .su-heading-inner { padding: 0; border: 0; background: none; font-size: inherit; font-weight: 700; color: #1F1B16; }
body.ncrd-article #nc-article-content section#faq > h2 + h3 { border-top: 0; }
body.ncrd-article #nc-article-content section#faq > p { margin: 0 0 14px; font-size: 15px; line-height: 1.95; color: #4A433B; }
body.ncrd-article #nc-article-content section#faq.ncrd-faq-on { border-bottom: 1px solid #E7DFD3; }
body.ncrd-article #nc-article-content section#faq.ncrd-faq-on > h3 { padding: 0; }
body.ncrd-article .ncrd-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 2px; border: 0; background: none; font: inherit; font-weight: 700; color: #1F1B16; text-align: left; cursor: pointer; }
body.ncrd-article .ncrd-faq-q::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid #6E665C; border-bottom: 2px solid #6E665C; transform: translateY(-3px) rotate(45deg); transition: transform .25s ease; }
body.ncrd-article .ncrd-faq-q[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
body.ncrd-article .ncrd-faq-q:hover { color: #0B7F8C; }
body.ncrd-article .ncrd-faq-a { padding: 0 2px 16px; }
body.ncrd-article .ncrd-faq-a > p { margin: 0; font-size: 15px; line-height: 1.95; color: #4A433B; }
body.ncrd-article .ncrd-faq-a > * + * { margin-top: 10px; }

/* テーマは body を overflow-x: hidden にしていて、そのままだとサイドの追従（sticky）が効かない。
   はみ出しの切り取りは同じで、スクロールの枠を作らない clip にする（未対応のブラウザは今まで通り） */
body.ncrd-article.nc-prototype { overflow-x: clip; }

/* 見出しへ飛んだとき、ヘッダー（とスマホの帯）に隠れないように */
body.ncrd-article #nc-article-content h2 { scroll-margin-top: calc(var(--nc-header-h) + 24px); }

/* サイド：目次（読了・今の見出し）＋費用の案内＋ナビセブで探す。画面の高さに収めて追従 */
body.ncrd-article .nc-article-toc[hidden] { display: none; }
body.ncrd-article .nc-article-toc { padding: 18px 14px 12px; border-radius: 18px; }
body.ncrd-article .nc-article-toc > .ncrd-toc-h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 6px 10px; font-family: var(--rd-sans) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .04em !important; color: #0B7F8C !important; }
body.ncrd-article .ncrd-toc-pct { font-family: var(--rd-mono); font-size: 11px; font-weight: 500; letter-spacing: 0; color: #8A8175; }
body.ncrd-article .nc-article-toc ol { position: relative; scrollbar-width: thin; scrollbar-color: #E7DFD3 transparent; }
body.ncrd-article .nc-article-toc li + li { margin-top: 2px; }
body.ncrd-article .nc-article-toc a { padding: 8px 10px 8px 38px; border-radius: 10px; font-size: 13px; font-weight: 500; line-height: 1.55; color: #3E3830; text-decoration: none; }
body.ncrd-article .nc-article-toc a::before { top: 9px; left: 12px; font-size: 11px; }
body.ncrd-article .nc-article-toc a.is-current { background: none; color: #3E3830; }
body.ncrd-article .nc-article-toc a.is-current::after { display: none; }
body.ncrd-article .nc-article-toc a:hover { background: #F4EFE6; color: #1F1B16; }
body.ncrd-article .nc-article-toc a.ncrd-cur { background: #E3F1EF; color: #08606A; font-weight: 700; }
@media (min-width: 821px) {
  body.ncrd-article .nc-article-sidebar { top: calc(var(--nc-header-h) + 20px); display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - var(--nc-header-h) - 160px); } /* 下は右下の「気軽に相談する」と重ならない高さまで */
  body.ncrd-article .nc-article-sidebar > * { flex: none; margin-top: 0 !important; margin-bottom: 0 !important; }
  body.ncrd-article .nc-article-sidebar > .nc-article-toc:not([hidden]) { flex: 0 1 auto; min-height: 150px; display: flex; flex-direction: column; }
  body.ncrd-article .nc-article-toc ol { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
}
/* PC のサイドの「ナビセブで探す」は入力欄だけ（目次に高さを回す）。画面の低いPCでは追従をやめる */
@media (min-width: 821px) {
  body.ncrd-article .nc-article-sidebar .ncrd-find { padding: 14px 16px 16px; gap: 8px; }
  body.ncrd-article .nc-article-sidebar .ncrd-find-q { display: none; }
}
@media (min-width: 821px) and (max-height: 720px) {
  body.ncrd-article .nc-article-sidebar { position: static; max-height: none; }
  body.ncrd-article .nc-article-toc ol { overflow: visible; }
}

/* 関連記事：デザイン案の「次に読むなら」 */
body.ncrd-article .nc-article-related { padding: 72px 0 88px; border-top: 1px solid #EFE8DC; }
body.ncrd-article .nc-article-related .nc-media-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
body.ncrd-article .nc-article-related .nc-eyebrow { margin: 0 0 8px; font-size: 12px !important; }
body.ncrd-article .nc-article-related h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .02em; font-weight: 500; }
body.ncrd-article .nc-article-related .nc-media-section-head > p { display: none; }
body.ncrd-article .ncrd-more { flex: none; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 4px; font-size: 13px; font-weight: 700; color: #6E665C; text-decoration: none; border-bottom: 1px solid #D9CFC1; transition: color .2s, border-color .2s; }
body.ncrd-article .ncrd-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
body.ncrd-article .ncrd-more:hover { color: #0B7F8C; border-color: #0B7F8C; }
body.ncrd-article .ncrd-more:hover svg { transform: translateX(3px); }
body.ncrd-article .nc-article-related .nc-hub-story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
body.ncrd-article .nc-article-related .nc-hub-story-media { aspect-ratio: 16 / 11; border-radius: 14px !important; }
body.ncrd-article .nc-article-related .nc-hub-story-media > span { top: 10px; left: 10px; min-height: 24px; padding: 0 10px; font-size: 11px; font-weight: 700; }
body.ncrd-article .nc-article-related .nc-hub-story-copy { padding: 12px 2px 0; }
body.ncrd-article .nc-article-related .nc-hub-story-meta { font-family: var(--rd-mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; color: #8A8175; }
body.ncrd-article .nc-article-related .nc-hub-story h3 { margin-top: 6px; font-family: var(--rd-sans); font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.ncrd-article .nc-article-related .nc-hub-story-copy > p,
body.ncrd-article .nc-article-related .nc-text-link { display: none; }
@media (max-width: 1180px) {
  body.ncrd-article .nc-article-related .nc-hub-story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* 「NEXT GUIDE」の固定バーは、記事自身へのリンクになっていて右下の相談ボタンとも重なるため出さない（関連記事は下に並ぶ） */
body.ncrd-article .nc-article-next-mobile { display: none !important; }

/* スマホ：ヘッダーの下の「今読んでいる見出し」の帯 */
body.ncrd-article .ncrd-rbar { display: none; }
@media (max-width: 820px) {
  body.ncrd-article .ncrd-crumbbar { order: 2; border-bottom: 0; }
  body.ncrd-article .ncrd-crumbbar .nc-container { padding-top: 14px; padding-bottom: 0; }
  body.ncrd-article .ncrd-crumbbar .nc-breadcrumb { font-size: 11px; }
  body.ncrd-article .ncrd-ahero-in { padding-top: 90px; }
  body.ncrd-article .nc-article-shell { padding-top: 22px; }
  body.ncrd-article .nc-article-sidebar { margin-top: 28px; }
  body.ncrd-article .nc-article-sidebar .ncrd-find { margin: 0; padding: 18px; }
  body.ncrd-article .nc-reading-progress { display: none; }
  body.ncrd-article #nc-article-content h2 { scroll-margin-top: calc(var(--nc-header-h) + 64px); }
  body.ncrd-article .ncrd-author { margin-bottom: 24px; padding: 14px 16px; }
  body.ncrd-article .ncrd-afoot { margin-top: 32px; }
  body.ncrd-article #nc-article-content section#summary > h2 ~ * { padding-left: 20px; padding-right: 20px; }
  body.ncrd-article #nc-article-content section#summary > h2 ~ p { font-size: 15px; }
  body.ncrd-article .ncrd-rbar:not([hidden]) { display: block; position: fixed; z-index: 95; top: 66px; left: 0; right: 0; transform: translateY(-110%); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s; }
  body.ncrd-article .ncrd-rbar.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .25s ease, opacity .2s ease, visibility 0s; }
  body.ncrd-article .ncrd-rbar-btn { display: flex; align-items: center; gap: 8px; width: 100%; height: 42px; margin: 0; padding: 0 16px; border: 0; border-bottom: 1px solid #E7DFD3; border-radius: 0; background: rgba(250, 246, 239, .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: inherit; color: #1F1B16; text-align: left; cursor: pointer; }
  body.ncrd-article .ncrd-rbar-btn:focus-visible { outline: 2px solid #0B7F8C; outline-offset: -3px; }
  body.ncrd-article .ncrd-rbar-n { flex: none; font-family: var(--rd-mono); font-size: 11px; color: #0B7F8C; }
  body.ncrd-article .ncrd-rbar-t { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 700; }
  body.ncrd-article .ncrd-rbar-p { flex: 0 0 56px; height: 3px; overflow: hidden; border-radius: 3px; background: #E7DFD3; }
  body.ncrd-article .ncrd-rbar-p i { display: block; width: var(--ncrd-p, 0%); height: 100%; background: linear-gradient(90deg, #0B7F8C, #FF7A1A); }
  body.ncrd-article .ncrd-rbar-toc { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: #6E665C; }
  body.ncrd-article .ncrd-rbar-toc svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
  body.ncrd-article .ncrd-rbar.is-open .ncrd-rbar-toc svg { transform: rotate(180deg); }
  body.ncrd-article .ncrd-rsheet { max-height: min(62vh, 440px); overflow-y: auto; overscroll-behavior: contain; padding: 6px 8px 10px; border-bottom: 1px solid #E7DFD3; background: #fff; box-shadow: 0 22px 30px -20px rgba(31, 27, 22, .45); }
  body.ncrd-article .ncrd-rsheet[hidden] { display: none; }
  body.ncrd-article .ncrd-rsheet ol { margin: 0; padding: 0; list-style: none; }
  body.ncrd-article .ncrd-rsheet a { display: flex; gap: 10px; padding: 10px; border-radius: 10px; font-size: 13px; line-height: 1.55; color: #3E3830; text-decoration: none; }
  body.ncrd-article .ncrd-rsheet a span { flex: none; padding-top: 1px; font-family: var(--rd-mono); font-size: 11px; color: #0B7F8C; }
  body.ncrd-article .ncrd-rsheet a.ncrd-cur { background: #E3F1EF; color: #08606A; font-weight: 700; }
  /* 関連記事：横にめくる */
  body.ncrd-article .nc-article-related { padding: 52px 0 64px; }
  body.ncrd-article .nc-article-related .nc-media-section-head { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; margin-bottom: 18px; }
  body.ncrd-article .nc-article-related h2 { white-space: nowrap; }
  body.ncrd-article .ncrd-more { margin-left: auto; }
  body.ncrd-article .ncrd-more { font-size: 12px; }
  body.ncrd-article .nc-article-related .nc-hub-story-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc((100% - 100vw) / 2); padding-right: calc((100vw - 100%) / 2); scroll-padding-left: 0; padding-bottom: 6px; scrollbar-width: none; }
  body.ncrd-article .nc-article-related .nc-hub-story-grid::-webkit-scrollbar { display: none; }
  body.ncrd-article .nc-article-related .nc-hub-story { flex: 0 0 min(72%, 270px); scroll-snap-align: start; }
  body.ncrd-article .nc-article-related .nc-hub-story + .nc-hub-story { margin-top: 0; padding-top: 0; border-top: 0; }
  body.ncrd-article .nc-article-related .nc-hub-story > a { display: block; }
  body.ncrd-article .nc-article-related .nc-hub-story-media { aspect-ratio: 16 / 11; }
  body.ncrd-article .nc-article-related .nc-hub-story-copy { padding: 10px 2px 0; }
  body.ncrd-article .nc-article-related .nc-hub-story h3 { font-size: 14px; }
}
