/* =========================================================
   日本ノイズコントロール Corporate Site - style.css
   Figma: yDJ1AEWfeFHPWUF9v1rX7s
   PC: 1440px / SP: 428px
   ========================================================= */

:root {
    /* Figma 実色 (extract-figma-tokens.mjs による抽出結果) */
    --c-primary: #165289;
    --c-primary-dark: #0f3d66;
    --c-primary-light: #2a6da8;
    --c-accent: #29c0ff;
    --c-accent-2: #49cded;
    --c-accent-green: #99eec1;
    --c-text: #202020;
    --c-text-sub: #cacaca;
    --c-muted: #cacaca;
    --c-border: #eeeeee;
    --c-bg: #ffffff;
    --c-bg-alt: #f3f9ff;
    --c-bg-blue: #e9f2fb;
    --c-bg-blue-soft: #f3f9ff;
    --c-white: #ffffff;
    --c-required: #ff6b35;
    --grad-cta: linear-gradient(132.64deg, #29c0ff 0%, #99eec1 100%);
    --grad-cta-btn: linear-gradient(132.64deg, #29c0ff 0%, #99eec1 100%);
    --shadow-sm: 0 0 10px rgba(0, 0, 0, .06);
    --shadow-md: 0 0 20px rgba(0, 0, 0, .1);
    --shadow-lg: 0 0 40px rgba(0, 0, 0, .14);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 60px;
    --container: 1160px;
    --header-h: 90px;
    --ff-ja: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --ff-en: 'Roboto', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --ff-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}

/* -----------------------------------
   Base / Reset
----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--ff-ja);
    font-size: 16px;
    line-height: 1.8;
    color: var(--c-text);
    background: #F3F9FF;
    font-feature-settings: "palt" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* 波形背景画像: TOPページ専用で画面中央に固定追従 (下層では非表示) */
body::before {
    content: '';
    position: fixed; top: 50%; left: 0; right: 0; transform: translateY(-50%);
    height: 55vw;
    background: url('../images/shared/bg-wave.png') center top / 100% auto no-repeat;
    z-index: -1;
    pointer-events: none;
}
body.is-subpage::before { display: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease, color .2s ease; }
a:hover { opacity: .8; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }

.screen-reader-text {
    position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
    position: fixed; top: 8px; left: 8px; padding: 8px 16px; background: #fff;
    color: var(--c-primary); z-index: 9999; width: auto; height: auto;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
/* 波形背景は body::before で固定配置（SVG版は削除済み） */

/* TOPのcontentエリアは左寄せ(Figma: left 61px) サイドナビを考慮 */
.top-content {
    max-width: 1160px;
    margin: 100px 0 0 61px;
    padding: 0;
    display: flex; flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 1;
}

/* -----------------------------------
   Logo
----------------------------------- */
.nnc-logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.nnc-logo__mark { width: 80px; height: 30px; flex-shrink: 0; object-fit: contain; }
.nnc-logo__name {
    font-family: var(--ff-ja); font-size: 20px; font-weight: 500;
    letter-spacing: .02em; white-space: nowrap; color: #202020;
    line-height: 1.5;
}

/* -----------------------------------
   Header
----------------------------------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: transparent;
    pointer-events: none;
}
.site-header__inner {
    max-width: 1440px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
}
/* ロゴ: 白背景タブ（画面左上に密着、右下のみ角丸10px） */
.site-header__logo {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px;
    background: #fff;
    padding: 20px 40px 20px 30px;
    border-radius: 0 0 10px 0;
    pointer-events: auto;
}
.site-header__logo .nnc-logo__mark { width: 48px; height: 48px; }
.site-header__logo .nnc-logo__name-ja { font-size: 13px; letter-spacing: .03em; }
.site-header__logo .nnc-logo__name-suffix { font-size: 10px; color: var(--c-text-sub); }

/* TOP: フルロゴ (マーク+社名)、下層: マークのみ大きめ */
.site-header__logo-full { display: inline-flex; align-items: center; }
.site-header__logo-mark { display: none; }

/* 下層専用ヘッダーロゴ (Figma logo_under: padding 30 40, rounded-br-60, logo 100×37) */
.site-header--sub .site-header__logo {
    padding: 30px 40px;
    border-radius: 0 0 60px 0;
}
.site-header--sub .site-header__logo-full { display: none; }
.site-header--sub .site-header__logo-mark { display: inline-flex; align-items: center; }
.site-header--sub .site-header__logo-mark .nnc-logo__mark { width: 100px; height: 37px; }

/* ヘッダーナビは使わない（サイドナビで対応） */
.site-header__nav { display: none; }
.site-header__nav ul { display: flex; align-items: center; gap: 28px; }
.site-header__nav ul a {
    font-size: 14px; font-weight: 500; color: var(--c-text); position: relative; padding: 6px 0;
    transition: opacity .2s ease; letter-spacing: .04em;
}
.site-header:not(.site-header--sub):not(.is-scrolled) .site-header__nav ul a { color: var(--c-text); text-shadow: 0 1px 3px rgba(255,255,255,.5); }
.site-header__nav ul a::after {
    content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
    background: var(--c-accent); transform: translateX(-50%); transition: width .25s ease;
}
.site-header__nav ul a:hover { opacity: .7; }
.site-header__nav ul a:hover::after, .site-header__nav ul a .is-current::after { width: 100%; }

.site-header__cta { transition: opacity .2s ease; }
.site-header__cta:hover { opacity: .8; transform: none; }

/* サイドナビ: a要素を全幅クリック領域にして hover 時に薄い青背景 */
.side-nav ul li a { transition: background .2s ease, color .2s ease; }
.side-nav ul li a:hover { background: #f3f9ff; color: #165289; opacity: 1; }
.side-nav__cta a:hover { opacity: .85; background: var(--grad-cta-btn) !important; }

/* More button: hover 色変化 */
.btn--more { transition: color .2s ease, border-color .2s ease; }

/* お知らせ行 hover: 全部青色 (#165289) */
.news-row { color: var(--c-text); transition: background .2s ease; position: relative; }
.news-row::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--c-border); transition: background .2s ease;
}
.news-row:hover { background: transparent; color: #165289; opacity: 1; }
.news-row:hover .news-row__date,
.news-row:hover .news-row__title,
.news-row:hover .news-row__arrow { color: #165289; }
.news-row:hover::after { background: #165289; }

/* フッターナビ hover: 青字 + 下線 */
.footer-col ul li a { transition: color .2s ease; }
.footer-col ul li a:hover { color: #165289; opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-col__head a { transition: color .2s ease; }
.footer-col__head a:hover { color: #165289; opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* 製品カード hover: 黒マスク（画像にオーバーレイ） */
.product-card { position: relative; }
.product-card__img { position: relative; }
.product-card__img::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0); transition: background .25s ease; pointer-events: none;
}
.product-card:hover .product-card__img::after { background: rgba(0,0,0,.25); }

/* TOPの曲線背景を固定配置: MVセクションで背景画像をparallax */
.mv__bg img { will-change: transform; }

/* SP: 下部固定CTA (Figma: padding 20 0, Bold 18px #fff, gap 8px, gradient 165deg) */
.sp-bottom-cta {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    padding: 20px 0; color: #fff;
    background: linear-gradient(165.18deg, #29c0ff 0%, #99eec1 100%);
    box-shadow: 0 -4px 12px rgba(0,0,0,.1);
    text-align: center; font-family: var(--ff-ja); font-weight: 700; font-size: 18px;
    letter-spacing: 0.36px; gap: 8px;
    align-items: center; justify-content: center;
}
.sp-bottom-cta svg { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 860px) {
    .sp-bottom-cta { display: flex; }
    body.has-sp-cta { padding-bottom: 67px; }
}

/* 研究開発タブ */
.tab-nav { display: flex; gap: 2px; margin-bottom: 24px; border-bottom: 1px solid var(--c-border); }
.tab-nav button {
    flex: 1; padding: 14px 12px; font-weight: 600; font-size: 14px;
    background: var(--c-bg-alt); color: var(--c-muted);
    border-bottom: 2px solid transparent; cursor: pointer; transition: all .2s ease;
}
.tab-nav button[aria-selected="true"] {
    background: #fff; color: var(--c-primary); border-bottom-color: var(--c-primary);
}
.tab-nav button:hover:not([aria-selected="true"]) {
    background: #fff; color: var(--c-primary);
}
.tab-panel { display: none; }
.tab-panel[aria-hidden="false"] { display: block; }
/* CTA は サイドナビ内に統合 */

.sp-burger {
    display: none;
    position: fixed; top: 14px; right: 14px; z-index: 150;
    width: 48px; height: 48px; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px;
    background: #fff; border-radius: 50%; padding: 0; border: 0;
    box-shadow: 0 4px 12px rgba(18, 58, 138, .18);
    cursor: pointer;
}
.sp-burger span {
    width: 22px; height: 2px; background: var(--c-primary);
    transition: transform .3s ease, opacity .3s ease;
    border-radius: 2px;
}
body.sp-menu-open .sp-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.sp-menu-open .sp-burger span:nth-child(2) { opacity: 0; }
body.sp-menu-open .sp-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* SP menu overlay */
.sp-menu {
    position: fixed; inset: 0; background: #fff; z-index: 200;
    display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .3s ease;
}
.sp-menu[data-open="true"] { transform: translateX(0); }
.sp-menu__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-bottom: 1px solid var(--c-border);
}
.sp-menu__logo .nnc-logo { width: 60px; height: auto; }
.sp-menu__close { width: 44px; height: 44px; display: grid; place-items: center; }
.sp-menu__nav { flex: 1; padding: 0 20px; }
.sp-menu__nav li { border-bottom: 1px solid var(--c-border); }
.sp-menu__nav li a {
    display: block; padding: 20px 4px; font-size: 16px; font-weight: 500; color: var(--c-text);
}
.sp-menu__contact {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 20px; background: var(--grad-cta-btn); color: #fff; font-weight: 600;
}

/* -----------------------------------
   Main
----------------------------------- */
.site-main { min-height: 60vh; }
/* サブページの page-hero は画面最上部から表示、ヘッダー分の余白は不要 */
body.is-subpage .site-main { padding-top: 0; }

/* -----------------------------------
   Hero (top page)
----------------------------------- */
/* MV: 画像全幅 + 左から白グラデーションオーバーレイ */
.mv {
    position: relative; overflow: hidden;
    height: 820px;
    background: #fff;
    z-index: 2;
}
.mv__bg {
    position: absolute; inset: 0;
    z-index: 0;
}
/* フェードスライドショー: 3枚 × 6秒表示 = 18秒ループ */
.mv__bg picture {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}
.mv__slide {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    opacity: 0;
    animation: mvFade 15s ease-in-out infinite;
}
.mv__bg picture:nth-child(1) .mv__slide { animation-delay: 0s; }
.mv__bg picture:nth-child(2) .mv__slide { animation-delay: 5s; }
.mv__bg picture:nth-child(3) .mv__slide { animation-delay: 10s; }

@keyframes mvFade {
    0%    { opacity: 0; }
    12%   { opacity: 1; }
    33%   { opacity: 1; }
    45%   { opacity: 0; }
    100%  { opacity: 0; }
}
.mv__fade {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(to right,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,1) 18%,
        rgba(255,255,255,.6) 35%,
        rgba(255,255,255,.15) 50%,
        rgba(255,255,255,0) 65%
    );
}
@keyframes mvZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
/* wave は Figma の bg (363:3825) の上端カーブで表現。MV直下は白背景 */

.mv__inner {
    position: relative; z-index: 2;
    max-width: var(--container); margin: 0 auto; padding: 60px 20px 0;
}
/* copy (363:4010) — left:120 top:230 flex-col gap:40 */
.mv__inner {
    position: absolute; z-index: 2;
    left: 120px; top: 230px;
    display: flex; flex-direction: column;
    gap: 40px; align-items: flex-start;
    color: #202020;
}
.mv__copy {
    font-family: var(--ff-serif);
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}
.mv__copy-line { display: block; }
.mv__copy-kanji { font-size: 56px; letter-spacing: 5.6px; }
.mv__copy-joshi { font-size: 48px; letter-spacing: 4.8px; }
.mv__copy-emp { font-style: normal; color: #29c0ff; }
.mv__copy-emp-kanji { font-size: 64px; letter-spacing: 6.4px; }
.mv__copy-emp-joshi { font-size: 48px; letter-spacing: 4.8px; }

.mv__lead {
    width: 610px;
    font-family: var(--ff-ja);
    font-weight: 400;
    font-size: 18px; line-height: 2; color: #202020;
    letter-spacing: 0.36px;
}
/* scrolldown (1380:23790) — left:694 top:716 flex-col gap:6 */
.mv__scroll {
    position: absolute; left: 694px; top: 716px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    z-index: 3;
}
.mv__scroll-mark {
    width: 27px; height: 40px; display: block;
}
.mv__scroll-text {
    font-family: var(--ff-ja); font-weight: 500;
    font-size: 14px; letter-spacing: 1.4px;
    color: #202020; white-space: nowrap;
}
.mv__scroll-dot {
    animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollDot {
    0%   { transform: translateY(0);    opacity: 1; }
    40%  { transform: translateY(16px); opacity: 0; }
    41%  { transform: translateY(0);    opacity: 0; }
    60%  { opacity: 1; }
    100% { transform: translateY(0);    opacity: 1; }
}
@keyframes scrollHint {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* -----------------------------------
   Page Hero / under_h1 (下層専用バナー)
   Figma: 1440×365, 画像+波形, Title Bold 40px #fff ls:4px left:120 top:153
----------------------------------- */
.page-hero {
    position: relative; overflow: hidden;
    height: 365px; min-height: 365px;
    background: transparent;
    z-index: 2;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg__img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 40%;
}
.hero-bg__overlay { display: none; }
.hero-wave {
    position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 100px;
    z-index: 1; pointer-events: none;
}
/* 波形の色をページ背景色(#F3F9FF)に揃えて境目を消す */
.hero-wave path { fill: #F3F9FF; }
.page-hero__inner {
    position: relative; z-index: 2;
    max-width: 1440px; margin: 0 auto;
    padding: 153px 0 0 120px;
}
.page-hero__sub { display: none; }
.page-hero__title {
    color: #fff; font-family: var(--ff-ja);
    font-size: 40px; font-weight: 700;
    letter-spacing: 4px; line-height: 1.5;
    text-shadow: 0 2px 14px rgba(0,0,0,.2);
    margin: 0;
}

/* -----------------------------------
   Side nav (固定ページ右アンカー)
----------------------------------- */
/* サイドナビ: Figma 準拠 (140px width, 5 項目 + CTA) */
.side-nav {
    position: fixed; right: 40px; top: 380px;
    z-index: 50; width: 140px;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.1);
    border-radius: 10px;
    overflow: hidden;
}
.side-nav ul { background: #fff; padding: 0; display: flex; flex-direction: column; border-radius: 10px 0 0 0; }
.side-nav ul li:not(.side-nav__cta) { text-align: center; }
.side-nav ul li:not(.side-nav__cta) a {
    display: block; padding: 14px 8px;
    font-family: var(--ff-ja);
    font-size: 14px; font-weight: 400;
    color: #202020; letter-spacing: .02em;
    line-height: 1.5;
    transition: background .2s ease, color .2s ease;
}
.side-nav ul li:not(.side-nav__cta) a:hover { background: #f3f9ff; color: #165289; opacity: 1; }
.side-nav ul li:first-child:not(.side-nav__cta) a { padding-top: 18px; }
.side-nav__cta { margin-top: 0; }
.side-nav__cta a {
    background: linear-gradient(132.64deg, #29C0FF 0%, #99EEC1 100%) !important;
    color: #fff !important;
    display: flex !important; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px !important; padding: 20px 0 !important;
    font-family: var(--ff-ja);
    font-weight: 700 !important; font-size: 16px !important;
    letter-spacing: .02em; line-height: 1.5;
    border-radius: 0;
}
.side-nav__cta a svg { width: 20px; height: 20px; }
.side-nav__cta a:hover { opacity: .85 !important; }

/* -----------------------------------
   Section common
----------------------------------- */
.section {
    padding: 90px 0;
    position: relative;
}
.section--alt { background: transparent; }
/* Figma h2 相当: 英字ラベル + アクセント線 + 日本語タイトル (about仕様と統一) */
.section-head { display: flex; flex-direction: column; gap: 4px; align-items: center; margin-bottom: 50px; }
.section-head__sub,
.about-sub {
    font-family: var(--ff-en); font-weight: 700; font-size: 16px;
    color: #165289; letter-spacing: 0.96px; line-height: 1.5;
    padding: 0 4px; margin: 0; position: relative;
}
.section-head__sub::after,
.about-sub::after {
    content: ''; display: block; width: 20px; height: 2px;
    background: var(--grad-cta); border-radius: 999px;
    margin: 6px auto 0;
}
.section-head__title {
    font-family: var(--ff-ja); font-weight: 700; font-size: 28px;
    color: #165289; letter-spacing: 2.8px; line-height: 1.5;
    margin: 0;
}
.section-head__title em { font-style: normal; color: var(--c-primary); }

/* -----------------------------------
   Buttons
----------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 14px;
    text-align: center; line-height: 1.2; transition: all .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn .btn-arrow { width: 31px; height: 6px; flex-shrink: 0; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-primary-dark); opacity: 1; }
.btn--ghost { background: #fff; color: var(--c-primary); border: 1.5px solid var(--c-primary); }
/* btn_more (Figma: border-bottom 2px #cacaca, Noto Sans JP Bold 18px, gap 14px) */
/* btn_more (Figma: border-bottom 2px #cacaca + accent line 40px gradient pill, hover で全幅に拡張) */
.btn--more {
    background: transparent; color: #165289; border: 0;
    padding: 0 0 10px; font-family: var(--ff-ja); font-size: 18px; font-weight: 700;
    letter-spacing: 1.08px;
    border-radius: 0;
    border-bottom: 2px solid #cacaca;
    gap: 14px;
    display: inline-flex; align-items: center;
    position: relative;
}
.btn--more::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 40px; height: 2px;
    background: #165289; border-radius: 999px;
    transition: width .4s cubic-bezier(.22, 1, .36, 1);
}
.btn--more:hover { background: transparent; opacity: 1; }
.btn--more:hover::after { width: 100%; }
.btn--ghost {
    background: transparent; color: var(--c-primary); border: 0;
    padding: 8px 16px 10px; font-size: 14px; font-weight: 600;
    letter-spacing: .06em;
    border-radius: 0;
    border-bottom: 1.5px solid var(--c-primary);
    gap: 16px;
}
.btn--ghost:hover { color: var(--c-primary-dark); border-bottom-color: var(--c-primary-dark); background: transparent; opacity: 1; }
/* Figma btn_contact (I363:5754): bg #fff, padding 24 60, rounded 10, Bold 24px #49cded, arrow 50×8 */
.btn--contact {
    padding: 24px 60px;
    background: #fff; color: #49cded;
    border-radius: 10px;
    font-family: var(--ff-ja); font-weight: 700; font-size: 24px;
    letter-spacing: 0.48px; line-height: 1.5;
    gap: 10px; white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.btn--contact .btn-arrow { width: 50px; height: 8px; }
.btn--contact:hover { background: #49cded; color: #fff; opacity: 1; }

/* -----------------------------------
   Home: About
----------------------------------- */
/* About/Works/News: 白80%透明 角丸10px カード */
.home-about {
    padding: 0; background: transparent;
}
/* About card: Figma 1160×570, px-40 py-60, flex items-center justify-between */
.home-about__card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 60px 40px;
    display: flex; align-items: center; justify-content: space-between;
    width: 1160px;
    min-height: 570px;
    box-sizing: border-box;
}
.home-about__img { flex-shrink: 0; width: 600px; height: 450px; border-radius: 10px; overflow: hidden; }
.home-about__img img { width: 100%; height: 100%; object-fit: cover; }
.home-about__body { width: 430px; flex-shrink: 0; }
.home-about__img {
    aspect-ratio: 600 / 450; border-radius: var(--radius-md); overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}
.home-about__img img, .home-works__img img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
}
/* h2 共通 (Figma: Roboto Bold 16px + line + Noto Sans JP Bold 28px) */
.section-sub {
    font-family: var(--ff-en); font-weight: 700; font-size: 16px;
    letter-spacing: 0.96px; color: #165289; line-height: 1.5;
    margin-bottom: 6px; padding: 0 4px;
}
.section-sub::after {
    content: ''; display: block; width: 20px; height: 2px;
    background: var(--grad-cta); border-radius: 999px;
    margin-top: 6px;
}
.section-sub--center { text-align: center; }
.section-sub--center::after { margin: 6px auto 0; }
.section-title {
    font-family: var(--ff-ja); font-weight: 700; font-size: 28px;
    letter-spacing: 2.8px; color: #165289; line-height: 1.5;
    white-space: nowrap;
}

.home-about__sub { display: none; }
.home-about__title { font-family: var(--ff-ja); font-weight: 700; font-size: 28px; letter-spacing: 2.8px; line-height: 1.5; color: #165289; margin-bottom: 0; }
.home-about__text { font-family: var(--ff-ja); font-weight: 400; font-size: 16px; line-height: 2; letter-spacing: 0.32px; color: #202020; width: 430px; margin-bottom: 0; }

.home-about__body { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; width: 430px; flex-shrink: 0; }
.home-about__body .btn--more { align-self: flex-end; }
.home-works__body { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; width: 430px; flex-shrink: 0; }
.home-works__body .btn--more { align-self: flex-end; }
/* Company (Figma: 1160×325, 空画像背景) */
.home-company {
    width: 1160px;
    border-radius: 10px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    position: relative; isolation: isolate;
}
.home-company::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(135deg, rgba(199,230,243,.85) 0%, rgba(176,220,239,.75) 100%), url('../images/shared/hero-sky-hq.jpg');
    background-size: cover; background-position: center;
}
.home-company__inner {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    padding: 60px 40px;
}
.home-company__text {
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    line-height: 2; letter-spacing: 0.32px; color: #202020;
    text-align: center; white-space: nowrap;
}

/* News card */
.home-news__card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 60px 40px;
    width: 1160px;
    display: flex; flex-direction: column; gap: 30px; align-items: center;
    box-sizing: border-box;
}
.news-list { width: 1000px; display: flex; flex-direction: column; gap: 20px; }

/* Company: 古い定義を削除（精密版は上で定義済み） */

/* -----------------------------------
   Home: Works
----------------------------------- */
.home-works { padding: 0; }
/* Works card: Figma 1160×570, px-40 py-60 */
.home-works__card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 60px 40px;
    display: flex; align-items: center; justify-content: space-between;
    width: 1160px;
    min-height: 570px;
    box-sizing: border-box;
}
.home-works__body { width: 430px; flex-shrink: 0; }
.home-works__img { flex-shrink: 0; width: 600px; height: 450px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md); }
.home-works__img img { width: 100%; height: 100%; object-fit: cover; }
.home-works__img {
    aspect-ratio: 600/450; border-radius: var(--radius-md); overflow: hidden;
    position: relative; box-shadow: var(--shadow-md);
}

/* -----------------------------------
   Home: Products
----------------------------------- */
/* Products (Figma: flex-col gap-30, list gap-40, btn gap-60) */
.home-products {
    padding: 0; background: transparent;
    display: flex; flex-direction: column; gap: 30px; align-items: center;
}
.home-products__grid {
    display: flex; flex-wrap: wrap; gap: 40px;
    width: 1160px;
    justify-content: center;
}
.home-product-card {
    display: flex; align-items: center; justify-content: center;
    width: 360px; height: 110px; padding: 20px;
    background: #165289; color: #fff;
    border-radius: 10px;
    text-align: center; font-family: var(--ff-ja); font-weight: 700; font-size: 24px;
    line-height: 1.5; letter-spacing: 0.48px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: opacity .25s ease;
}
.home-product-card:hover { opacity: .7; }

/* -----------------------------------
   Home: News
----------------------------------- */
.home-news { padding: 0; }
.home-news__card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 60px 40px;
    display: flex; flex-direction: column; gap: 30px; align-items: center;
}
.news-list { width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.news-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px 20px; border-bottom: 1px solid #cacaca; color: #202020;
    transition: all .2s ease;
}
.news-row:hover { background: transparent; opacity: 1; }
.news-row__text { display: flex; align-items: center; gap: 40px; }
.news-row__date { font-family: var(--ff-en); font-weight: 400; font-size: 16px; color: #202020; letter-spacing: 0.32px; white-space: nowrap; }
.news-row__title { font-family: var(--ff-ja); font-weight: 400; font-size: 16px; line-height: 1.5; letter-spacing: 0.32px; width: 780px; }
.news-row__arrow { color: #202020; flex-shrink: 0; }

/* -----------------------------------
   CTA (contact)
----------------------------------- */
.cta {
    position: relative;
    margin-top: 80px;
    color: #fff;
    padding: 0;
    overflow: hidden;
}
.cta__bg-wrap {
    position: relative;
    width: 100%;
    background: url('../images/shared/cta-bg.png') center top / 100% auto no-repeat, #fff;
}
.cta__overlay {
    display: flex; align-items: center;
    padding: 50px 120px 180px;
}
.cta__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    position: relative; z-index: 2;
}
/* Figma cta text (PC): title Bold 40px #fff ls:4, lead Regular 16px #fff line-height 2 ls:0.32 */
.cta__title {
    font-family: var(--ff-ja); font-weight: 700; font-size: 40px;
    color: #fff; letter-spacing: 4px; line-height: 1.5;
    margin: 0;
}
.cta__lead {
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #fff; letter-spacing: 0.32px; line-height: 2;
    margin: 0;
}
.cta__text { display: flex; flex-direction: column; gap: 20px; color: #fff; }
.cta__wave {
    position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
    z-index: 1; pointer-events: none;
}
.cta__wave svg { width: 100%; height: 100%; display: block; }

/* -----------------------------------
   Footer
----------------------------------- */
.site-footer {
    background: #fff; padding: 0px 0 30px;
    border-top: none;
    position: relative; z-index: 2;
}
.site-footer__inner {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 60px; max-width: 1160px; margin: 0 auto; padding: 0 60px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 30px; }
.site-footer__logo {
    display: inline-flex; align-items: center; gap: 10px; margin: 0;
}
.site-footer__logo .nnc-logo { width: 66px; height: 24px; display: block; }
.site-footer__company {
    font-family: var(--ff-ja); font-weight: 500; font-size: 16px;
    color: #202020; line-height: 1.5; white-space: nowrap;
}
.site-footer__address {
    display: flex; flex-direction: column; gap: 30px;
    font-family: var(--ff-ja); font-weight: 400;
    color: #202020; font-size: 14px; letter-spacing: 0.28px;
}
.office { display: flex; flex-direction: column; gap: 10px; }
.office__name { font-weight: 400; margin: 0; font-size: 14px; color: #202020; line-height: 1.5; }
.office p { font-size: 14px; line-height: 1.6; color: #202020; margin: 0; }

.site-footer__cols { display: flex; gap: 100px; align-items: flex-start; }
.footer-col ul { display: flex; flex-direction: column; gap: 20px; }
.footer-col ul li { margin: 0; font-size: 14px; }
.footer-col ul li a {
    color: #202020; font-family: var(--ff-ja);
    font-weight: 700; font-size: 14px; letter-spacing: 0.28px; line-height: 1.5;
}
.footer-col__head {
    margin: 0;
    font-family: var(--ff-ja); font-weight: 700; font-size: 14px;
    color: #202020; letter-spacing: 0.28px; line-height: 1.5;
}
.footer-col__head a { color: inherit; font-weight: inherit; font-size: inherit; letter-spacing: inherit; }
.footer-col__head--spacer { margin-top: 20px; }

.site-footer__copy {
    text-align: center;
    font-family: var(--ff-ja); font-weight: 400; font-size: 12px;
    color: #202020; letter-spacing: 0.24px; line-height: 1.5;
    max-width: 1160px; margin: 30px auto 0; padding: 30px 60px 0;
    border-top: 1px solid #cacaca;
}

.side-nav.is-hidden {
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    pointer-events: none;
}
.side-nav { transition: opacity .3s ease, visibility .3s ease; }

/* -----------------------------------
   Breadcrumbs
----------------------------------- */
/* Figma: footer上部に紐づくパンくずリスト
   PC pl:60 / SP pl:20, Regular 12px #202020 ls:0.24, sep=8×2px line */
.breadcrumbs {
    max-width: 1440px; margin: 0 auto;
    padding: 0 0 0 60px;
    font-family: var(--ff-ja); font-weight: 400;
    font-size: 12px; line-height: 1.5;
    letter-spacing: 0.24px; color: #202020;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs a { color: #202020; text-decoration: none; transition: opacity .2s ease; }
.breadcrumbs a:hover { opacity: .7; }
.breadcrumbs__sep {
    width: 8px; height: 2px;
    background: #202020;
}
/* パンくずの直後に CTA が来る場合の gap (Figma: 20px) */
.breadcrumbs + .cta { margin-top: 20px; }

/* -----------------------------------
   About page (Figma 02_NNCについて)
----------------------------------- */
.about-content {
    padding: 60px 0 100px;
    position: relative; z-index: 1;
}
.about-container {
    max-width: 1160px;
    margin: 0 0 0 60px;
    padding: 0;
    display: flex; flex-direction: column; gap: 80px;
}

/* 共通: カード型セクション (bg #fff rounded-10 padding 60 40, gap 50 items-center) */
.about-section {
    background: #fff;
    border-radius: 10px;
    padding: 60px 40px;
    width: 100%; max-width: 1160px;
    display: flex; flex-direction: column;
    gap: 50px; align-items: center;
    box-sizing: border-box;
    margin: 0;
}

/* h2 (TECHNOLOGY + 線 + 技術力) */
.about-h2 {
    display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.about-h2__eg {
    font-family: var(--ff-en); font-weight: 700; font-size: 16px;
    color: #165289; letter-spacing: 0.96px; line-height: 1.5;
    padding: 0 4px; margin: 0;
    position: relative;
}
.about-h2__eg::after {
    content: ''; display: block; width: 20px; height: 2px;
    background: var(--grad-cta); border-radius: 999px;
    margin: 6px auto 0;
}
.about-h2__jp {
    font-family: var(--ff-ja); font-weight: 700; font-size: 28px;
    color: #165289; letter-spacing: 2.8px; line-height: 1.5;
    margin: 0;
    white-space: nowrap;
}

/* 2カラム (top: 技術提携 / under: NC-15) */
.about-cols {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 1080px; max-width: 100%;
    gap: 40px;
}
.about-col {
    display: flex; flex-direction: column; gap: 30px;
    align-items: flex-start;
    width: 520px; max-width: 100%;
    flex: 1 1 520px; min-width: 0;
}
.about-col__img {
    width: 100%; height: 390px;
    border-radius: 10px; overflow: hidden;
    margin: 0;
    position: relative;
}
.about-col__img img {
    width: 100%; height: 100%; object-fit: cover;
}
/* 画像右下のクレジット表記 */
.img-credit {
    position: absolute; right: 12px; bottom: 10px;
    font-family: var(--ff-en); font-weight: 700; font-size: 12px;
    color: #fff; letter-spacing: 0.24px; line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
    pointer-events: none;
}
.about-col__title {
    display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.about-col__heading {
    font-family: var(--ff-ja); font-weight: 700; font-size: 24px;
    color: #165289; letter-spacing: 1.44px; line-height: 1.5;
    margin: 0;
}
.about-col__partner {
    width: 120px; height: 25px; object-fit: contain;
    display: block;
}
.about-col__body {
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px; line-height: 1.8;
    margin: 0; width: 100%;
}

/* "NC-15"とは 説明ブロック */
.about-note {
    background: #e5f2ff; border-radius: 10px;
    padding: 20px;
    width: 1080px; max-width: 100%;
    display: flex; flex-direction: column; gap: 10px;
    align-items: center; text-align: center;
    box-sizing: border-box;
}
.about-note__title {
    font-family: var(--ff-ja); font-weight: 700; font-size: 16px;
    color: #165289; letter-spacing: 0.96px; line-height: 1.5;
    margin: 0;
}
.about-note__body {
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px; line-height: 1.8;
    margin: 0; max-width: 800px;
    text-align: left;
}

/* 研究開発セクション (画像左 520×305, text右 500px) */
.about-research {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1080px; max-width: 100%;
    gap: 60px;
}
.about-research__img {
    width: 520px; height: 305px;
    border-radius: 10px; overflow: hidden;
    flex-shrink: 0;
    position: relative;
    margin: 0;
}
.about-research__img img {
    width: 100%; height: 100%; object-fit: cover;
}
.about-research__caption {
    position: absolute; right: 20px; bottom: 10px;
    color: #fff; font-family: var(--ff-en); font-weight: 700;
    font-size: 12px; letter-spacing: 0.24px;
    text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.about-research__text {
    display: flex; flex-direction: column; gap: 30px;
    flex: 1 1 500px; max-width: 500px; min-width: 0;
}
.about-research__btn {
    align-self: center;
}

/* -----------------------------------
   Service page (Figma 363:4696)
----------------------------------- */
/* ability: 白カード (bg #fff rounded-10, padding 60 40, gap 60) */
.service-ability {
    padding: 60px 40px;
}
.service-ability__text {
    display: flex; flex-direction: column; gap: 30px; align-items: center;
}
.service-ability__lead {
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px; line-height: 1.8;
    text-align: center; max-width: 800px; margin: 0;
}
.service-ability__icons {
    display: flex; gap: 30px; justify-content: center; align-items: start;
    list-style: none; padding: 0; margin: 0;
    flex-wrap: wrap;
}
.service-ability__item {
    display: flex; flex-direction: column; align-items: stretch;
    width: 110px;
}
.service-ability__icon {
    width: 110px; height: 110px;
    background: #fff; border-top: 1px solid #165289; border-left: 1px solid #165289; border-right: 1px solid #165289;
    border-radius: 6px 6px 0 0;
    display: flex; align-items: center; justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}
.service-ability__icon img { width: 80px; height: 80px; object-fit: contain; }
.service-ability__label {
    background: #165289; color: #fff;
    padding: 6px 10px;
    border-radius: 0 0 6px 6px;
    font-family: var(--ff-ja); font-weight: 700; font-size: 14px;
    letter-spacing: 0.28px; line-height: 1.3; text-align: center;
    margin: 0;
}

/* feature: transparent wrap, 2x2 グリッド (item=白カード, 大数字背景) */
.service-feature-wrap {
    display: flex; flex-direction: column; gap: 30px; align-items: center;
    width: 100%; max-width: 1160px;
}
.service-feature__list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    width: 100%; list-style: none; padding: 0; margin: 0;
}
.service-feature__item {
    background: #fff; border-radius: 10px;
    padding: 40px 80px;
    min-height: 360px;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    box-sizing: border-box;
}
.service-feature__num {
    position: absolute;
    right: 0px; bottom: -30px;
    font-family: var(--ff-en); font-weight: 800; font-size: 150px;
    color: #f3f9ff; line-height: 1;
    pointer-events: none;
}
.service-feature__icon {
    width: 120px; height: 120px;
    display: flex; align-items: center; justify-content: center;
    color: #165289;
    position: relative; z-index: 1;
}
.service-feature__icon img { width: 100%; height: 100%; object-fit: contain; }
.service-feature__title {
    font-family: var(--ff-ja); font-weight: 700; font-size: 24px;
    color: #165289; letter-spacing: 0.48px; line-height: 1.5;
    margin: 0; text-align: center; position: relative; z-index: 1;
}
.service-feature__text {
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px; line-height: 1.8;
    margin: 0; text-align: left; position: relative; z-index: 1;
}

/* flow: 白カード, h2+lead, 縦線+5step */
.service-flow {
    padding: 60px 40px;
    gap: 60px;
}
.service-flow__head {
    display: flex; flex-direction: column; gap: 30px; align-items: center;
}
.service-flow__lead {
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px; line-height: 1.8;
    text-align: center; max-width: 800px; margin: 0;
}
.service-flow__list {
    position: relative;
    display: flex; flex-direction: column; gap: 60px;
    width: 810px; max-width: 100%;
    list-style: none; padding: 0; margin: 0;
}
.service-flow__list::before {
    content: '';
    position: absolute; left: 60px; top: 67px; bottom: 67px;
    width: 1px; background: #cacaca;
    z-index: 0;
}
.service-flow__item {
    display: flex; gap: 40px; align-items: start;
    position: relative; z-index: 1;
}
.service-flow__number {
    flex-shrink: 0; width: 120px; height: 120px;
    background: #fff; border: 1px solid #165289; border-radius: 10px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 10px; box-sizing: border-box; gap: 2px;
}
.service-flow__step {
    font-family: var(--ff-en); font-weight: 700; font-size: 18px;
    color: #165289; letter-spacing: 0.96px; line-height: 1;
}
.service-flow__num {
    font-family: var(--ff-en); font-weight: 700; font-size: 36px;
    color: #165289; letter-spacing: 3.6px; line-height: 1.1;
}
.service-flow__body {
    display: flex; flex-direction: column; gap: 10px;
    padding-top: 20px;
    flex: 1 1 auto; min-width: 0;
}
.service-flow__title {
    font-family: var(--ff-ja); font-weight: 700; font-size: 24px;
    color: #165289; letter-spacing: 0.48px; line-height: 1.5;
    margin: 0;
}
.service-flow__text {
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px; line-height: 1.8;
    margin: 0;
}

/* case: tab のみ水平4カラム (Figma 400:12659) */
.service-case-wrap {
    display: flex; flex-direction: column; gap: 30px; align-items: center;
    width: 100%; max-width: 1160px;
}
.service-case__tabs {
    display: flex; justify-content: space-between; width: 100%;
    gap: 20px;
    list-style: none; padding: 0; margin: 0;
}
.service-case__tab {
    flex: 1; max-width: 260px; height: 56px;
    background: #fff; border: 0; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    font-family: var(--ff-ja); font-weight: 700; font-size: 16px;
    color: #165289; letter-spacing: 0.32px; line-height: 1.5;
    opacity: .6;
}

/* -----------------------------------
   Company page (Figma 11_会社概要: 27:1173)
   about-section 内で使用、list_item 毎に横線、dt 67px + gap 80 + dd 1fr
----------------------------------- */
.company-list {
    width: 100%; max-width: 800px;
    display: flex; flex-direction: column;
    margin: 0;
}
.company-list__item {
    display: grid; grid-template-columns: 67px 1fr;
    column-gap: 80px;
    padding: 30px 0;
    border-bottom: 1px solid #cacaca;
    align-items: start;
}
.company-list__item:first-child { padding-top: 0; }
.company-list__item:last-child { border-bottom: none; padding-bottom: 0; }

.company-list__label {
    font-family: var(--ff-ja); font-weight: 700; font-size: 16px;
    color: #165289; letter-spacing: 0.32px; line-height: 1.5;
    margin: 0;
}
.company-list__value {
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px; line-height: 1.8;
    margin: 0;
}
.company-list__en {
    font-family: var(--ff-en); font-weight: 400; font-size: 14px;
    color: #666; letter-spacing: 0.28px;
}
.company-list__plain,
.company-list__bullets,
.company-list__pdf {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 6px;
}
.company-list__bullets li {
    position: relative; padding-left: 12px;
}
.company-list__bullets li::before {
    content: ''; position: absolute;
    left: 0; top: 14px; width: 6px; height: 6px;
    border-radius: 50%; background: #165289;
}
.company-list__pdf li {
    display: flex; gap: 20px; align-items: baseline;
}
.company-list__pdf a { color: #165289; text-decoration: underline; }
.company-list__pdf a:hover { opacity: .7; }

/* 所在地: テキスト + Google Map iframe */
.company-office {
    display: flex; gap: 65px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.company-office:last-child { margin-bottom: 0; }
.company-office__text { flex: 1 1 0; min-width: 0; }
.company-office__text p { margin: 0; line-height: 1.8; }
.company-office__name { font-weight: 700; color: #165289; margin: 0 0 4px !important; }
.company-office__map {
    width: 231px; height: 137px;
    border-radius: 10px; overflow: hidden;
    flex-shrink: 0;
    background: #e5e7eb;
}
.company-office__map iframe {
    width: 100%; height: 100%; border: 0; display: block;
}

/* -----------------------------------
   Contact page (Figma 10_お問い合わせ: 27:1074, CF7対応)
----------------------------------- */
.contact-form,
.wpcf7-form.contact-form { width: 100%; max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }

/* form-group: label(26) + gap10 + textbox(50) = 86 */
.form-group { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.form-group__label {
    display: flex; align-items: center; gap: 10px; margin: 0;
    font-family: var(--ff-ja); font-weight: 700; font-size: 16px;
    color: #165289; letter-spacing: 0.32px; line-height: 1.5;
}
/* 必須タグ (Figma: 白背景 + #FF6929 枠 + #FF6929 Regular 12px) */
.form-group__required {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 4px 10px;
    background: transparent; color: #ff6929;
    border: 1px solid #ff6929; border-radius: 4px;
    font-family: var(--ff-ja); font-weight: 400; font-size: 12px;
    letter-spacing: 0.24px; line-height: 1.5;
}
.form-group__required--optional { color: #888; border-color: #888; }

/* CF7 入力要素 (Figma: bg #F3F9FF, radius 10, h 50, border なし) */
.wpcf7-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%; height: 50px; padding: 0 16px;
    border: 0; border-radius: 10px;
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px;
    background: #f3f9ff;
    transition: box-shadow .2s ease, background .2s ease;
    box-sizing: border-box;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: #888; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus {
    outline: 0; background: #fff;
    box-shadow: 0 0 0 2px rgba(22, 82, 137, .4);
}
.wpcf7-form textarea { height: auto; min-height: 200px; padding: 16px; resize: vertical; }

/* ラジオ (Figma: 16×16, gap 26 between btn & label) */
.form-group__options,
.wpcf7-form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 30px 30px; }
.wpcf7-form .wpcf7-list-item { display: inline-flex; align-items: center; gap: 0; margin: 0; }
.wpcf7-form .wpcf7-list-item label {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px;
}
.wpcf7-form .wpcf7-list-item input[type="radio"],
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    width: 16px; height: 16px; accent-color: #165289;
}

/* 住所 (postal + address は縦2つ) */
.form-group__zip { max-width: 240px; }

/* プライバシーポリシー同意 (checkbox + 文章 中央) */
.wpcf7-form .form-agree {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin: 0;
    text-align: center;
    font-family: var(--ff-ja); font-weight: 400; font-size: 16px;
    color: #202020; letter-spacing: 0.32px; line-height: 1.5;
}
.wpcf7-form .form-agree .wpcf7-list-item { margin: 0; }
.wpcf7-form .form-agree a { color: #202020; text-decoration: underline; text-underline-offset: 2px; }
.wpcf7-form .form-agree a:hover { color: #165289; }

/* 送信ボタン (Figma: padding 10 80, radius 6, 白 Bold 16px 「送信」) */
.wpcf7-form .form-submit {
    display: flex; justify-content: center; margin: 30px 0 0;
}
.wpcf7-form .wpcf7-submit {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 80px;
    background: #165289; color: #fff;
    border: 1px solid #165289; border-radius: 6px;
    font-family: var(--ff-ja); font-weight: 700; font-size: 16px;
    letter-spacing: 0.32px; line-height: 1.5;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--c-primary-dark); opacity: .9; }

/* CF7 共通整形 */
.wpcf7-form p { margin: 0; }
.wpcf7-form br { display: none; }
.wpcf7-spinner { margin-left: 12px; }
.wpcf7-form .wpcf7-not-valid-tip {
    display: block; font-size: 12px; color: #e74c4c; margin-top: 4px;
}
.wpcf7 form .wpcf7-response-output {
    margin: 10px 0 0; padding: 12px 16px; border-radius: 8px;
    font-size: 14px; border: 1px solid #cacaca; background: #f3f9ff;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #29c0ff; background: #e5f2ff; color: #165289; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-color: #e74c4c; background: #ffeaea; color: #a02626; }

.contact-form__lead {
    text-align: center; font-size: 16px; line-height: 1.8; color: #202020;
    letter-spacing: 0.32px; margin: 0;
}

/* Thanks page / 404 共通 */
.thanks-panel,
.not-found-panel {
    display: flex; flex-direction: column; align-items: center;
    gap: 20px; text-align: center; width: 100%;
}
.thanks-panel p,
.not-found-panel p { margin: 0; color: #202020; font-size: 16px; line-height: 1.8; letter-spacing: 0.32px; }
.thanks-panel__btn,
.not-found-panel__btn { margin-top: 20px; }
.not-found-panel__code {
    font-family: var(--ff-en); font-size: 96px; font-weight: 700; color: #165289;
    line-height: 1; letter-spacing: 0.08em; margin: 0;
}

/* Policy page (about-section 内で使用) */
.policy-content { width: 100%; max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.policy-content p {
    margin: 0; font-size: 14px; line-height: 2; color: #202020;
    letter-spacing: 0.28px;
}
.policy-content__heading {
    font-family: var(--ff-ja); font-weight: 700; font-size: 18px;
    color: #165289; letter-spacing: 0.36px; line-height: 1.5;
    margin: 16px 0 0;
}
.policy-content__list { display: flex; flex-direction: column; gap: 6px; list-style: none; padding: 0 0 0 4px; margin: 0; font-size: 14px; line-height: 1.9; color: #202020; }
.policy-content__note {
    background: #e5f2ff; padding: 24px; border-radius: 10px;
    text-align: center; margin-top: 16px; font-size: 14px; line-height: 1.9;
}
.policy-content__note strong { color: #165289; }

/* News archive / single (about-section 内で使用) */
.news-empty { text-align: center; padding: 40px 0; color: #888; width: 100%; }
.nnc-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.nnc-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 10px;
    border: 1px solid #cacaca; border-radius: 8px;
    font-family: var(--ff-en); font-weight: 500; font-size: 14px; color: #202020;
    text-decoration: none; transition: all .2s ease;
}
.nnc-pagination .page-numbers:hover,
.nnc-pagination .page-numbers.current {
    background: #165289; color: #fff; border-color: #165289;
}

.news-single__meta { width: 100%; display: flex; align-items: center; gap: 10px; }
.news-single__date {
    font-family: var(--ff-en); font-weight: 500; font-size: 14px;
    color: #202020; letter-spacing: 0.84px; line-height: 1;
}
.news-single__title {
    font-family: var(--ff-ja); font-weight: 700; font-size: 28px;
    color: #165289; letter-spacing: 1.4px; line-height: 1.5;
    margin: 0; width: 100%;
}
.news-single__body {
    width: 100%; font-size: 14px; line-height: 2; color: #202020;
    letter-spacing: 0.28px;
}
.news-single__body p { margin: 0 0 16px; }
.news-single__body h2 { font-family: var(--ff-ja); font-weight: 700; font-size: 20px; color: #165289; letter-spacing: 0.4px; margin: 24px 0 12px; }
.news-single__body h3 { font-family: var(--ff-ja); font-weight: 700; font-size: 18px; color: #165289; letter-spacing: 0.36px; background: #e5f2ff; padding: 10px; margin: 28px 0 12px; }
.news-single__body h4 { font-family: var(--ff-ja); font-weight: 700; font-size: 16px; color: #165289; letter-spacing: 0.32px; padding-left: 14px; border-left: 5px solid #165289; margin: 24px 0 10px; }
.news-single__body a { color: #165289; text-decoration: underline; }
.news-nav {
    width: 100%; display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 20px; padding-top: 30px; border-top: 1px solid #cacaca;
    align-items: center; font-family: var(--ff-ja); font-size: 14px;
}
.news-nav a { color: #165289; text-decoration: none; transition: opacity .2s; }
.news-nav a:hover { opacity: .7; }
.news-nav__prev { text-align: left; }
.news-nav__list { text-align: center; }
.news-nav__next { text-align: right; }

/* -----------------------------------
   Archive: Column (products)
----------------------------------- */
.product-categories {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px;
}
.product-cat-card {
    position: relative; aspect-ratio: 3/2; border-radius: var(--radius-sm); overflow: hidden;
    color: #fff; display: grid; place-items: center; text-align: center;
    background: linear-gradient(180deg, rgba(18, 58, 138, 0) 40%, rgba(18, 58, 138, .85) 100%), #6b8ea5;
    font-weight: 600; padding: 20px;
}
.product-cat-card__img { position: absolute; inset: 0; z-index: -1; }
.product-cat-card__img::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.product-cat-card__title { font-size: 16px; letter-spacing: .06em; line-height: 1.5; }

.column-overview {
    background: #fff; border-radius: var(--radius-md); padding: 40px;
    margin-bottom: 40px;
}
.column-overview__title { text-align: center; margin-bottom: 30px; font-size: 22px; letter-spacing: .1em; }
.column-overview__block { background: var(--c-bg-alt); border-radius: var(--radius-sm); padding: 30px; margin-bottom: 20px; }
.column-overview__block-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.column-overview__figure {
    aspect-ratio: 2/1; background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius-sm); display: grid; place-items: center;
    color: var(--c-muted); font-size: 11px;
}
.column-overview__sub { font-size: 13px; font-weight: 700; color: var(--c-primary); margin-bottom: 8px; }
.column-overview__sub--hot { color: #b34e2f; }
.column-overview__list li { font-size: 13px; padding: 4px 0; color: var(--c-text-sub); }

/* category list item buttons */
.category-list {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 40px;
}
.category-list__item {
    background: #fff; padding: 16px 20px; border-radius: var(--radius-sm);
    font-size: 13px; border: 1px solid var(--c-border);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    transition: all .2s ease; color: var(--c-text);
}
.category-list__item:hover { border-color: var(--c-primary); color: var(--c-primary); opacity: 1; }
.category-list__item::after {
    content: '›'; color: var(--c-primary); font-size: 20px; line-height: 1;
}

/* Category detail products */
.category-detail__intro {
    max-width: 900px; margin: 0 auto 40px; font-size: 14px; line-height: 2; color: var(--c-text-sub);
}
.category-detail__products {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px;
}
.product-card {
    display: block; background: #fff; border-radius: var(--radius-sm);
    border: 1px solid var(--c-border); overflow: hidden;
    transition: all .25s ease; color: var(--c-text);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); opacity: 1; }
.product-card__img {
    aspect-ratio: 4/3; background: #d5ebd1; overflow: hidden;
    display: block;
}
.product-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .4s ease; }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__body { padding: 16px; }
.product-card__sub { font-family: var(--ff-en); font-size: 11px; letter-spacing: .2em; color: var(--c-primary); display: block; margin-bottom: 4px; }
.product-card__title { font-size: 14px; line-height: 1.5; }

.archive-footer-link {
    text-align: center; margin: 40px 0; font-size: 14px;
}
.archive-footer-link a { color: var(--c-primary); text-decoration: underline; }

/* -----------------------------------
   Single: Column (product detail)
----------------------------------- */
.product-single {
    background: #fff; border-radius: var(--radius-md); padding: 48px 40px;
    max-width: 900px; margin: 0 auto;
}
.product-single__title { font-size: 22px; color: var(--c-primary); margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--c-primary); letter-spacing: .08em; }
.product-single__hero {
    aspect-ratio: 4/3; background: var(--c-bg-alt); border-radius: var(--radius-sm);
    display: grid; place-items: center; color: var(--c-muted); margin-bottom: 30px;
    max-width: 560px; margin-left: auto; margin-right: auto;
}
.product-single__section { margin-bottom: 40px; }
.product-single__head {
    font-size: 16px; color: var(--c-primary); margin-bottom: 14px;
    padding-left: 12px; border-left: 4px solid var(--c-primary);
}
.product-single__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-single__figure {
    aspect-ratio: 4/3; background: var(--c-bg-alt); border-radius: var(--radius-sm);
    display: grid; place-items: center; color: var(--c-muted); font-size: 12px;
}
.product-spec-table { background: var(--c-bg-alt); border-radius: var(--radius-sm); overflow: hidden; }
.product-spec-table th, .product-spec-table td {
    padding: 12px 16px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--c-border);
}
.product-spec-table th { background: #fff; font-weight: 600; width: 20%; }
.product-dl {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; background: var(--c-primary); color: #fff;
    border-radius: var(--radius-sm); font-size: 13px;
}
.product-dl:hover { background: var(--c-primary-dark); opacity: 1; }

/* Pagination */
.nnc-pagination {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 40px 0;
}
.nnc-pagination a, .nnc-pagination span {
    min-width: 36px; height: 36px; display: grid; place-items: center;
    border-radius: 50%; font-size: 13px; color: var(--c-text);
}
.nnc-pagination .current { background: var(--c-primary); color: #fff; }
.nnc-pagination a:hover { background: var(--c-bg-alt); opacity: 1; }

/* -----------------------------------
   Catalog archive
----------------------------------- */
/* -----------------------------------
   Catalog archive (Figma 07_カタログ一覧: 27:777 / SP 1429:12817)
----------------------------------- */
.catalog-archive {
    display: flex; flex-direction: column;
    gap: 80px;
    width: 100%;
    align-items: stretch;
}
.catalog-category {
    display: flex; flex-direction: column; gap: 30px;
    width: 100%;
}
.catalog-category__title {
    font-family: var(--ff-ja); font-weight: 700; font-size: 24px;
    color: #165289; letter-spacing: 1.2px; line-height: 1.5;
    margin: 0;
}
.catalog-grid {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(4, 260px);
    column-gap: 40px; row-gap: 64px;
    justify-content: start;
}
.catalog-card {
    display: flex; flex-direction: column; gap: 16px;
    margin: 0;
}
.catalog-card__thumb {
    position: relative;
    width: 100%; aspect-ratio: 260/380;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(22, 82, 137, .08);
}
.catalog-card__thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .4s ease;
}

/* hover で暗いオーバーレイ + CTA 表示 */
.catalog-card__overlay {
    position: absolute; inset: 0;
    background: rgba(22, 82, 137, .7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.catalog-card:hover .catalog-card__overlay,
.catalog-card:focus-within .catalog-card__overlay {
    opacity: 1; visibility: visible;
}
.catalog-card:hover .catalog-card__thumb img { transform: scale(1.05); }
.catalog-card__cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    background: #fff; color: #165289;
    border-radius: 999px;
    font-family: var(--ff-ja); font-weight: 700; font-size: 15px;
    letter-spacing: 0.3px;
    text-decoration: none;
    transform: translateY(8px);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    white-space: nowrap;
}
.catalog-card:hover .catalog-card__cta,
.catalog-card:focus-within .catalog-card__cta {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .08s;
}
.catalog-card__cta .btn-arrow { width: 28px; height: 6px; }
.catalog-card__cta:hover { background: #165289; color: #fff; opacity: 1; }

.catalog-card__title {
    font-family: var(--ff-ja); font-weight: 500; font-size: 16px;
    color: #202020; letter-spacing: 0.32px; line-height: 1.5;
    margin: 0;
}

.catalog-archive__btn {
    display: flex; justify-content: center;
    margin-top: 20px;
}
.catalog-archive__cta {
    background: #165289; color: #fff;
    padding: 20px 48px;
    border-radius: 10px;
    font-family: var(--ff-ja); font-weight: 700; font-size: 18px;
    letter-spacing: 0.9px;
    min-width: 244px; min-height: 70px;
    transition: background .2s ease, opacity .2s ease;
}
.catalog-archive__cta:hover { background: var(--c-primary-dark); opacity: .9; }
.catalog-empty { text-align: center; padding: 60px 0; color: #666; }

/* -----------------------------------
   Responsive: Medium (1280px 以下 - サイドナビ非表示、カード縮小)
----------------------------------- */
@media (max-width: 1280px) {
    :root { --container: 100%; }

    /* サイドナビはPC幅より狭いときは表示を止める、代わりにバーガーを出す */
    .side-nav { display: none; }
    .sp-burger { display: flex; }

    /* トップコンテンツを中央寄せ */
    .top-content {
        margin: 60px auto 0;
        max-width: 1160px;
        padding: 0 40px;
    }

    /* カード類を 100% 幅に */
    .home-about__card,
    .home-works__card,
    .home-news__card {
        width: 100%;
        max-width: 1160px;
        min-height: auto;
    }
    .home-company {
        width: 100%;
        max-width: 1160px;
        margin: 0 auto;
    }
    .home-products__grid {
        width: 100%;
        max-width: 1160px;
        justify-content: space-between;
        gap: 20px;
    }
    .home-product-card {
        width: calc(33.333% - 14px);
    }

    /* 内部の画像・本文を flex 縮小 */
    .home-about__img, .home-works__img {
        width: auto; max-width: 600px;
        flex: 1 1 50%; min-width: 0;
        height: auto; aspect-ratio: 600/450;
    }
    .home-about__body, .home-works__body {
        width: auto; max-width: 430px;
        flex: 1 1 50%; min-width: 0;
    }
    .home-about__text { width: 100%; }

    /* ニュースリストも縮小 */
    .news-list { width: 100%; max-width: 1000px; margin: 0 auto; }
    .news-row__title { width: auto; flex: 1; min-width: 0; }
    .news-row__text { gap: 24px; flex: 1; min-width: 0; }

    /* CTA padding 調整 + ボタン/タイトルを中間幅用に縮小 */
    .cta__overlay { padding: 50px 40px 120px; }
    .cta__inner { gap: 30px; }
    .cta__title { font-size: 32px; letter-spacing: 2.4px; }
    .cta__lead { font-size: 15px; }
    .btn--contact {
        padding: 18px 40px; font-size: 18px;
        letter-spacing: 0.36px;
    }
    .btn--contact .btn-arrow { width: 40px; height: 8px; }

    /* Footer padding */
    .site-footer__inner { padding: 0 40px; }

    /* MV (中間サイズ): 固定座標を緩めてフォントを縮小、Scrollを中央下に */
    .mv { height: 680px; }
    .mv__inner {
        left: 60px; top: 180px;
        gap: 30px;
    }
    .mv__copy-kanji { font-size: 44px; letter-spacing: 4.4px; }
    .mv__copy-joshi { font-size: 38px; letter-spacing: 3.8px; }
    .mv__copy-emp-kanji { font-size: 52px; letter-spacing: 5.2px; }
    .mv__copy-emp-joshi { font-size: 38px; letter-spacing: 3.8px; }
    .mv__lead { width: auto; max-width: 540px; font-size: 16px; }
    .mv__scroll {
        left: 50%; top: auto; bottom: 50px;
        transform: translateX(-50%);
    }

    /* 各カードの画像とテキストの間を明示的に確保 */
    .home-about__card, .home-works__card {
        gap: 40px;
        padding: 50px 40px;
        justify-content: space-between;
    }

    /* About ページ (中間サイズ) */
    .about-container { margin: 0 auto; padding: 0 40px; gap: 60px; }
    .about-section { padding: 50px 40px; gap: 40px; }
    .about-cols { width: 100%; gap: 30px; }
    .about-col { flex: 1 1 50%; min-width: 0; width: auto; }
    .about-col__img { height: auto; aspect-ratio: 520/390; }
    .about-note { width: 100%; }
    .about-research { width: 100%; gap: 40px; }
    .about-research__img { width: 50%; max-width: 520px; height: auto; aspect-ratio: 520/305; flex-shrink: 1; }
    .about-research__text { flex: 1 1 50%; max-width: none; }

    /* page-hero (中間サイズ) */
    .page-hero__inner { padding: 153px 60px 0; }
}

/* -----------------------------------
   Responsive: Small (1023px 以下 - About/Works 縦積み化)
----------------------------------- */
@media (max-width: 1023px) {
    .top-content { margin: 40px auto 0; padding: 0 30px; gap: 40px; }

    /* About / Works の2カラムを縦積みに */
    .home-about__card,
    .home-works__card {
        flex-direction: column;
        align-items: stretch;
        padding: 40px 30px;
        gap: 30px;
    }
    .home-about__img, .home-works__img {
        width: 100%;
        max-width: 100%;
        flex: none;
        height: auto;
        aspect-ratio: 600/450;
    }
    .home-about__body, .home-works__body {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
    .home-about__body .btn--more,
    .home-works__body .btn--more {
        align-self: flex-end;
    }

    /* News カード */
    .home-news__card {
        padding: 40px 30px;
    }

    /* Products は 2カラムへ */
    .home-product-card {
        width: calc(50% - 10px);
    }

    /* Home Company */
    .home-company__inner {
        padding: 40px 30px;
    }
    .home-company__text { white-space: normal; }

    /* Catalog (1023以下: 3カラム or 自動調整) */
    .catalog-grid { grid-template-columns: repeat(3, 1fr); column-gap: 24px; row-gap: 40px; }

    /* Service (1023以下) */
    .service-ability { padding: 50px 30px; }
    .service-ability__icons { gap: 16px; }
    .service-feature__list { grid-template-columns: 1fr; gap: 30px; }
    .service-feature__item { padding: 40px 40px; }
    .service-flow { padding: 50px 30px; }
    .service-flow__list { width: 100%; }
    .service-flow__item { gap: 20px; }
    .service-flow__body { padding-top: 10px; }
    .service-case__tabs { flex-wrap: wrap; }
    .service-case__tab { flex-basis: calc(50% - 10px); }

    /* CTA 1023以下: text+btn を縦積みにし、背景はSP画像で全面フィット */
    .cta__bg-wrap {
        background-image: url('../images/shared/cta-bg-sp.png');
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center center;
    }
    .cta__overlay { padding: 50px 30px 60px; }
    .cta__inner {
        flex-direction: column; align-items: center; text-align: center;
        gap: 24px;
    }
    .cta__text { align-items: center; text-align: center; }
    .cta__title { font-size: 28px; letter-spacing: 2.2px; }
    .cta__lead { text-align: center; font-size: 14px; }

    /* About ページ (1023以下: 2カラム→縦積み) */
    .about-container { padding: 0 30px; gap: 50px; }
    .about-section { padding: 40px 30px; gap: 40px; }
    .about-cols { flex-direction: column; width: 100%; gap: 40px; }
    .about-col { width: 100%; flex: none; }
    .about-col__img { width: 100%; height: auto; aspect-ratio: 520/390; }
    .about-research { flex-direction: column; width: 100%; gap: 30px; align-items: stretch; }
    .about-research__img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 520/305; }
    .about-research__text { flex: none; max-width: 100%; width: 100%; }
    .about-h2__jp { white-space: normal; text-align: center; }
}

/* -----------------------------------
   Responsive: SP
----------------------------------- */
@media (max-width: 860px) {
    :root {
        --header-h: 72px;
        --container: 100%;
    }
    .container { padding: 0 20px; }

    /* SP: 画面中央固定の波形背景 (bg-sp.png 856×1288, aspect 1:1.504) */
    body::before {
        background-image: url('../images/shared/bg-sp.png');
        background-size: 100% auto;
        height: 150vw;
        top: 50%; left: 0; right: 0;
        transform: translateY(-50%);
    }

    /* Header SP (Figma: 428×59, logo tab pl=20 pr=24 py=16 rounded-br-40, burger 30×12) */
    .site-header__inner { padding: 0; align-items: flex-start; }
    .site-header__logo {
        padding: 16px 24px 16px 20px;
        border-radius: 0 0 40px 0;
        gap: 0;
        box-shadow: 0 0 20px rgba(0,0,0,.1);
    }
    .site-header__logo-full { display: none; }
    .site-header__logo-mark { display: inline-flex; align-items: center; }
    .site-header__logo-mark .nnc-logo__mark { width: 71px; height: 27px; }

    .site-header__nav { display: none; }

    /* Burger: Figma 30×12 3本線, ヘッダー中央右寄せ */
    .sp-burger {
        display: flex; position: fixed;
        top: 0; right: 20px; height: 59px;
        width: 30px;
        background: transparent; box-shadow: none; border-radius: 0;
        padding: 0; border: 0;
        flex-direction: column; justify-content: center; gap: 4px;
        z-index: 150;
    }
    .sp-burger span { width: 30px; height: 2px; background: #165289; border-radius: 0; }
    body.sp-menu-open .sp-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    body.sp-menu-open .sp-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* MV: copyは白背景、リード文付近から画像が立ち上がり、画像上端は白グラデで溶け込む */
    .mv {
        display: block;
        position: relative;
        height: auto; min-height: 675px;
        background: #fff;
        padding-top: 0;
        overflow: hidden;
        z-index: 2;
    }
    .mv__bg {
        position: absolute;
        inset: 315px 0 auto 0;
        width: 100%; height: 320px;
        z-index: 1;
    }
    .mv__bg img {
        transform: none !important;
        width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover;
    }
    .mv__fade {
        position: absolute;
        inset: 0 0 auto 0;
        height: 100px;
        background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0) 100%);
        z-index: 2;
    }
    .mv__inner {
        position: relative; left: auto; top: auto;
        padding: 155px 18px 0;
        gap: 30px; align-items: flex-start; width: 100%;
        max-width: 100%;
        z-index: 3;
    }
    .mv__copy { font-family: 'Noto Serif JP', serif; font-weight: 500; color: #202020; }
    .mv__copy-line { display: block; line-height: 1.4; }
    .mv__copy-kanji { font-size: 36px; letter-spacing: 1.8px; }
    .mv__copy-joshi { font-size: 28px; letter-spacing: 1.4px; }
    .mv__copy-emp-kanji { font-size: 44px; letter-spacing: 2.2px; color: #29c0ff; }
    .mv__copy-emp-joshi { font-size: 28px; letter-spacing: 1.4px; color: #29c0ff; }
    .mv__lead {
        font-family: var(--ff-ja); font-weight: 400;
        font-size: 16px; line-height: 2; letter-spacing: 0.32px;
        color: #202020; width: 100%; max-width: 388px;
    }
    .mv__scroll {
        position: absolute; left: 50%; bottom: 60px;
        transform: translateX(-50%);
        top: auto; right: auto; z-index: 4;
    }

    /* Subpage hero (Figma SP under_h1: 428×260, title Bold 28px ls:2.8 left:20 top:119) */
    .page-hero {
        height: 260px; min-height: 260px;
        padding: 0;
    }
    .page-hero__inner {
        padding: 119px 20px 0;
        max-width: 100%;
    }
    .page-hero__title {
        font-size: 28px; letter-spacing: 2.8px;
    }

    /* 下層ヘッダー (SP): ロゴタブ padding 16 20 / rounded-br 40 / logo mark 71×27 */
    .site-header--sub .site-header__logo {
        padding: 16px 24px 16px 20px;
        border-radius: 0 0 40px 0;
    }
    .site-header--sub .site-header__logo-mark .nnc-logo__mark {
        width: 71px; height: 27px;
    }

    /* Breadcrumbs (SP: pl:20) */
    .breadcrumbs { padding: 0 20px 0 20px; }

    /* About ページ (SP) */
    .about-content { padding: 30px 0 60px; }
    .about-container { padding: 0 20px; gap: 40px; }
    .about-section {
        padding: 30px 20px;
        gap: 30px;
        border-radius: 10px;
    }
    .about-cols { gap: 30px; }
    .about-col { gap: 20px; }
    .about-col__img { aspect-ratio: 348/261; height: auto; }
    .about-col__title { gap: 12px; }
    .about-col__heading { font-size: 20px; letter-spacing: 1.2px; }
    .about-col__body { font-size: 14px; letter-spacing: 0.28px; }
    .about-note { padding: 20px; }
    .about-note__title { font-size: 14px; letter-spacing: 0.84px; }
    .about-note__body { font-size: 14px; letter-spacing: 0.28px; }
    .about-research { gap: 30px; }
    .about-research__img { aspect-ratio: 348/206; height: auto; }
    .about-research__text { gap: 20px; }
    .about-h2__eg { font-size: 14px; letter-spacing: 0.84px; }
    .about-h2__jp { font-size: 24px; letter-spacing: 1.44px; }

    /* Company SP (Figma 1418:4520): list_item 内を縦積みに */
    .company-list { max-width: 100%; }
    .company-list__item {
        grid-template-columns: 1fr; column-gap: 0;
        row-gap: 12px;
        padding: 20px 0;
    }
    .company-list__label { font-size: 14px; letter-spacing: 0.28px; }
    .company-list__value { font-size: 14px; letter-spacing: 0.28px; }
    .company-office { flex-direction: column; gap: 20px; margin-bottom: 30px; }
    .company-office__map { width: 100%; height: 206px; }
    .company-list__pdf li { flex-direction: column; gap: 4px; align-items: flex-start; }

    /* Contact SP: form-group 縦積み間隔調整 */
    .contact-form,
    .wpcf7-form.contact-form { gap: 24px; max-width: 100%; }
    .form-group__label { font-size: 15px; letter-spacing: 0.3px; }
    .form-group__required { font-size: 11px; padding: 3px 8px; }
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea { font-size: 14px; }
    .wpcf7-form textarea { min-height: 170px; }
    .wpcf7-form .wpcf7-radio { flex-direction: column; gap: 10px; }
    .wpcf7-form .wpcf7-list-item label { font-size: 14px; }

    /* Catalog SP (Figma 1429:12817: 2カラム 186×302, ボタン 388×64) */
    .catalog-archive { gap: 40px; }
    .catalog-category { gap: 20px; }
    .catalog-category__title { font-size: 20px; letter-spacing: 1px; }
    .catalog-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 16px; row-gap: 40px;
    }
    .catalog-card { gap: 12px; }
    .catalog-card__thumb { aspect-ratio: 186/265; }
    .catalog-card__title { font-size: 14px; letter-spacing: 0.28px; }
    /* SPは hover 不在のため常時オーバーレイは出さず、タップで contact へ遷移 */
    .catalog-card__overlay {
        background: rgba(0,0,0,0);
        opacity: 1; visibility: visible;
        align-items: flex-end; justify-content: flex-end;
        padding: 10px;
        pointer-events: none;
    }
    .catalog-card__cta {
        font-size: 12px; padding: 8px 14px; gap: 6px;
        transform: none; opacity: 1;
        pointer-events: auto;
    }
    .catalog-card__cta .btn-arrow { width: 20px; height: 5px; }
    .catalog-archive__cta {
        padding: 18px 40px; font-size: 16px;
        width: 100%; max-width: 388px; min-height: 64px;
    }

    /* Service SP (Figma 1425:4369) */
    /* ability: 3+3 グリッド, icon 108×108 */
    .service-ability { padding: 40px 20px; gap: 30px; }
    .service-ability__icons {
        display: grid; grid-template-columns: repeat(3, 1fr);
        gap: 12px; width: 100%; max-width: 348px;
        flex-wrap: initial;
    }
    .service-ability__item { width: 100%; }
    .service-ability__icon { width: 100%; height: auto; aspect-ratio: 1; padding: 14px; }
    .service-ability__icon img { width: 79px; height: 79px; max-width: 100%; }
    .service-ability__label { font-size: 12px; padding: 5px 4px; letter-spacing: 0.24px; }

    /* feature: 1カラム, item 388×210-235 */
    .service-feature__list { grid-template-columns: 1fr; gap: 20px; }
    .service-feature__item {
        min-height: auto;
        padding: 30px 20px 30px;
        flex-direction: column;
        gap: 10px;
    }
    .service-feature__num {
        right: 0px; bottom: -20px;
        font-size: 100px;
    }
    .service-feature__icon {
        width: 80px; height: 80px;
        position: relative;
    }
    .service-feature__title { font-size: 20px; letter-spacing: 0.4px; }
    .service-feature__text { font-size: 14px; letter-spacing: 0.28px; }

    /* flow: 縦線, 60×60 STEPアイコン */
    .service-flow { padding: 40px 20px; gap: 40px; }
    .service-flow__list { gap: 24px; width: 100%; }
    .service-flow__list::before { left: 30px; top: 30px; bottom: 30px; }
    .service-flow__item { gap: 12px; flex-direction: row; align-items: flex-start; }
    .service-flow__number {
        width: 60px; height: 60px;
        border-radius: 8px; padding: 6px;
        flex-direction: row; gap: 4px;
    }
    .service-flow__step { font-size: 11px; letter-spacing: 0.66px; }
    .service-flow__num { font-size: 18px; letter-spacing: 1.8px; }
    .service-flow__body { padding-top: 4px; gap: 8px; }
    .service-flow__title { font-size: 16px; letter-spacing: 0.32px; }
    .service-flow__text { font-size: 14px; letter-spacing: 0.28px; }

    /* case: 2×2グリッドのタブ */
    .service-case__tabs {
        display: grid; grid-template-columns: 1fr 1fr;
        gap: 14px; width: 100%;
    }
    .service-case__tab { max-width: none; height: 66px; font-size: 13px; letter-spacing: 0.26px; }
    .service-case-wrap { gap: 30px; }

    /* News single SP: nav 縦積み */
    .news-nav { grid-template-columns: 1fr; gap: 12px; text-align: center; }
    .news-nav__prev, .news-nav__list, .news-nav__next { text-align: center; }
    .news-single__title { font-size: 22px; letter-spacing: 1.1px; }

    /* 404 SP */
    .not-found-panel__code { font-size: 72px; }
    .thanks-panel p,
    .not-found-panel p { font-size: 14px; letter-spacing: 0.28px; }

    /* Policy SP */
    .policy-content__heading { font-size: 16px; }
    .policy-content p,
    .policy-content__list { font-size: 13px; }

    .side-nav { display: none; }

    /* Sections: Figma SP content = 20px padding container */
    .section { padding: 40px 0; }
    .section-head { margin-bottom: 24px; }
    .top-content {
        margin: 40px 0 0;
        padding: 0 20px;
        max-width: 100%;
        display: flex; flex-direction: column; gap: 40px;
    }

    /* H2 SP (Figma: title_eg 14px ls:0.84 + line 20×2, title_jp 24px ls:1.44) */
    .section-sub { font-size: 14px; letter-spacing: 0.84px; margin-bottom: 4px; padding: 0 4px; }
    .section-sub::after { width: 20px; height: 2px; margin-top: 6px; }
    .section-title { font-size: 24px; letter-spacing: 1.44px; white-space: normal; line-height: 1.5; }

    /* btn_more SP (Figma: 14px, arrow 27.5×6, accent 36×2) */
    .btn--more { font-size: 14px; letter-spacing: 0.28px; gap: 10px; padding: 0 0 10px; }
    .btn--more::after { width: 36px; }
    .btn .btn-arrow { width: 27.5px; height: 6px; }

    /* Home About (Figma: 388×685 bg rgba(255,255,255,0.8), p 30px 20px, radius 10, gap 30) */
    .home-about { padding: 0; }
    .home-about__card {
        width: 100%; padding: 30px 20px;
        flex-direction: column; align-items: stretch;
        min-height: auto; gap: 30px;
    }
    .home-about__img {
        width: 100%; height: 261px;
        border-radius: 10px; aspect-ratio: auto;
    }
    .home-about__body {
        width: 100%; gap: 30px;
        align-items: stretch;
    }
    .home-about__content { display: flex; flex-direction: column; gap: 16px; }
    .home-about__text {
        width: 100%; font-size: 14px; letter-spacing: 0.28px; line-height: 2;
    }
    .home-about__body .btn--more { align-self: flex-end; }

    /* Home Company (Figma: 388×254 青グラデ, content items-center gap 30) */
    .home-company {
        width: 100%; margin: 0; padding: 0;
        border-radius: 10px;
    }
    .home-company__inner {
        padding: 30px 18px; gap: 30px;
    }
    .home-company .section-sub,
    .home-company .section-title { text-align: center; }
    .home-company__text {
        font-size: 14px; letter-spacing: 0.28px; line-height: 1.5;
        white-space: normal;
    }

    /* Home Works (Figma: 388×593, h2→img→content, gap 30) */
    .home-works { padding: 0; }
    .home-works__card {
        width: 100%; padding: 30px 20px;
        flex-direction: column; align-items: stretch;
        min-height: auto; gap: 30px;
    }
    .home-works__img {
        width: 100%; height: 261px;
        border-radius: 10px; aspect-ratio: auto;
        order: 2;
    }
    .home-works__body { width: 100%; gap: 30px; align-items: stretch; order: 1; }
    .home-works__body .btn--more { align-self: flex-end; }

    /* Home Products (Figma: 2カラム 185×70 青タイル gap 18px+20px) */
    .home-products { padding: 0; gap: 30px; align-items: stretch; }
    .home-products__grid {
        display: flex; flex-wrap: wrap;
        width: 100%;
        gap: 20px 18px;
        justify-content: space-between;
    }
    .home-product-card {
        width: calc(50% - 9px); height: 70px; padding: 10px 8px;
        font-size: 14px; letter-spacing: 0.28px;
        line-height: 1.5; border-radius: 10px;
        font-weight: 700; font-family: var(--ff-ja); color: #fff;
        background: #165289;
    }

    /* Home News (Figma: 388×670 bg rgba(255,255,255,0.8), list gap 16, item: 縦積み date→title+arrow) */
    .home-news { padding: 0; }
    .home-news__card {
        width: 100%; padding: 30px 20px;
        gap: 30px;
    }
    .home-news__card > div:first-child {
        text-align: left !important; align-self: flex-start;
    }
    .home-news__card .section-sub,
    .home-news__card .section-title { text-align: left; }
    .news-list { width: 100%; gap: 16px; }

    /* news-row SP: 縦積み(date→title+arrow) */
    .news-row {
        display: flex; flex-direction: column;
        gap: 10px; align-items: stretch;
        padding: 0 0 20px; position: relative;
        border-bottom: 1px solid #cacaca;
    }
    .news-row::after { display: none; }
    .news-row__text {
        display: flex; flex-direction: column;
        gap: 10px; align-items: stretch; width: 100%;
    }
    .news-row__date {
        font-size: 14px; letter-spacing: 0.84px; line-height: 1;
    }
    .news-row__title {
        font-size: 14px; line-height: 1.5; letter-spacing: 0.28px;
        width: auto; padding-right: 16px;
    }
    .news-row__arrow {
        position: absolute; right: 0; bottom: 28px;
    }

    /* CTA section (Figma: 428×344, Bold 28px title, white btn Bold 18px #49cded) */
    .cta { padding: 0; margin-top: 40px; }
    .cta__bg-wrap {
        background-image: url('../images/shared/cta-bg-sp.png');
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center center;
    }
    .cta__overlay { padding: 0; }
    .cta__inner {
        flex-direction: column; text-align: center; gap: 30px;
        padding: 50px 20px; align-items: center;
        width: 100%; max-width: none;
    }
    .cta__text { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
    .cta__title { font-size: 28px; letter-spacing: 2.8px; margin: 0; line-height: 1.5; }
    .cta__lead { font-size: 14px; letter-spacing: 0.28px; line-height: 2; margin: 0; }
    .btn--contact {
        padding: 18px 40px; font-size: 18px; letter-spacing: 0.36px;
        color: #49cded; white-space: nowrap;
        border-radius: 10px;
    }
    .btn--contact .btn-arrow { width: 40px; height: 8px; }

    /* Footer SP */
    .site-footer { padding: 80px 0 0; }
    .site-footer__inner {
        flex-direction: column; align-items: stretch;
        gap: 40px; padding: 0 20px;
    }
    .site-footer__cols {
        flex-direction: row; justify-content: space-between;
        gap: 20px; width: 100%; align-items: flex-start;
    }
    .site-footer__logo { flex-wrap: wrap; gap: 10px; }
    .site-footer__company { font-size: 16px; }
    .site-footer__copy {
        padding: 30px 20px;
        max-width: none; margin: 30px auto 0;
        font-size: 12px;
    }
    .site-footer__address { gap: 20px; }
    .office p { line-height: 1.7; }

    /* Subpage grids */
    .about-grid, .service-feature__grid, .service-flow__item, .product-single__gallery { grid-template-columns: 1fr; gap: 20px; }
    .service-issue__icons { grid-template-columns: repeat(5, 1fr); gap: 8px; }
    .service-cases__grid { grid-template-columns: 1fr 1fr; }
    .service-flow__item { grid-template-columns: 60px 1fr; gap: 14px; padding: 16px; }
    .company-table dl { grid-template-columns: 90px 1fr; gap: 0 16px; }
    .company-table dt, .company-table dd { padding: 14px 0; font-size: 13px; }
    .company-offices { grid-template-columns: 1fr; }
    .company-offices__map { max-width: 200px; }

    .product-categories, .category-detail__products, .category-list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .category-list__item { padding: 12px 14px; font-size: 12px; }
    .catalog-grid { grid-template-columns: 1fr 1fr; }

    .contact-form, .thanks-panel, .not-found-panel, .policy-content, .news-panel, .product-single, .catalog-overview, .catalog-group, .column-overview, .about-card, .service-issue, .service-feature, .service-flow, .service-cases, .company-table {
        padding: 30px 20px;
    }
    .form-group input, .form-group textarea { font-size: 16px; }
    .form-submit button { padding: 14px 40px; width: 100%; }

    .contact-form__lead { text-align: left; }

    .not-found-panel__code { font-size: 80px; }
}

/* Utilities */
.sr { position: absolute; left: -9999px; }

/* =========================================
   Wide-screen layout cap (>1440px)
   - コンテンツ全体を 1440px に制限し中央寄せ
   - position:fixed 要素 (header / 波形背景) も 1440px 内に揃える
   - CTA は body 制約により自動的に高さの伸びが止まる
========================================= */
@media (min-width: 1441px) {
    html {
        background: var(--c-bg-alt);
        overflow-x: clip; /* fullbleed の横はみ出しでスクロールバーが出ないように */
    }
    body {
        max-width: 1440px;
        margin-inline: auto;
    }
    .site-header,
    body::before {
        max-width: 1440px;
        margin-inline: auto;
    }
    /* サイドナビ: body の右端基準に再配置 */
    .side-nav {
        right: calc((100vw - 1440px) / 2 + 40px);
    }

    /* MV / CTA / 下層ページヒーロー / フッター は body 制限を破って画面いっぱいに */
    .mv,
    .cta,
    .page-hero,
    .site-footer {
        width: 100vw;
        margin-inline: calc(50% - 50vw);
    }
    /* MV 内のテキスト・スクロールアイコンは body 基準で再配置 */
    .mv__inner {
        left: calc((100vw - 1440px) / 2 + 120px);
    }
    .mv__scroll {
        left: calc((100vw - 1440px) / 2 + 694px);
    }
    /* CTA: 背景画像は横方向のみ伸びるよう 100% 100% でフィット */
    .cta__bg-wrap {
        background-size: 100% 100%;
    }
    /* CTA 内のテキスト・ボタンは 1440px 内に収める */
    .cta__overlay {
        max-width: 1440px;
        margin-inline: auto;
    }
}
