@charset "utf-8";
/* =========================================================
   株式会社カロリアジャパン 共通スタイル（2026 リニューアル 見本 第2案）
   方向：精密機器の仕様書・研究レポート型（直角・細い罫線・章番号・等幅の数字）
   グループ会社（サイバー）と共通にするのは、ヘッダーの高さ・本文の書体・フッターの基本構造だけ
   第1案は 03_素材・資料\リニューアル案\見本_v1_サイバー型\site.css に保存
   ========================================================= */

/* ---------- デザインの基本値 ---------- */
:root {
  --brand: #d4081d;      /* 会社カラー（赤）：ロゴ・章番号・主なボタン・強調だけ */
  --brand-dark: #a90617;
  --ink: #1e262c;        /* 墨に近いスレート：文字・濃い面 */
  --text: #1e262c;
  --muted: #5a646c;
  --line: #d0d6dc;       /* 罫線 */
  --line-soft: #e4e8eb;
  --bg: #ffffff;
  --bg-soft: #f5f4f0;    /* わずかに温かいオフホワイト */
  --radius: 2px;
  --wrap: 1160px;
  --header-h: 72px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.9; letter-spacing: .02em; line-break: strict; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--brand); }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.nw { white-space: nowrap; }
.mono { font-family: var(--mono); }

/* ---------- 共通の部品 ---------- */
.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.45; color: var(--ink); }
.sec-lead { color: var(--muted); max-width: 62em; margin-top: 12px; }
.sec-body { margin-top: clamp(24px, 3.5vw, 40px); }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; padding: 12px 20px 12px 22px; border-radius: var(--radius); font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn::after { content: "→"; font-family: var(--mono); font-weight: 500; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 5px; }
.more:hover { color: var(--brand); }
.more-line { margin-top: 24px; text-align: right; }
.more-line a { display: inline-block; padding: 8px 0; }
.note { font-size: .85rem; color: var(--muted); }
.mt { margin-top: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tags li { font-family: var(--mono); font-size: .78rem; color: var(--ink); }
.tags li::before { content: "["; color: var(--brand); margin-right: 4px; }
.tags li::after { content: "]"; color: var(--brand); margin-left: 4px; }

/* 特許の状態の印（■ 権利維持中／□ 権利維持終了／◇ 出願中） */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; line-height: 1.6; white-space: nowrap; color: var(--ink); }
.status::before { content: ""; width: 10px; height: 10px; flex: none; }
.status.valid { color: var(--brand); }
.status.valid::before { background: var(--brand); }
.status.ended { color: var(--muted); }
.status.ended::before { border: 1.5px solid #8a949c; }
.status.pending::before { border: 1.5px solid var(--ink); transform: rotate(45deg) scale(.85); }

/* ---------- ヘッダー（グループ共通の高さ・配置） ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo img { width: 176px; }
.gnav { display: flex; align-items: stretch; height: 100%; }
.gnav > ul { display: flex; }
.gnav a.nav-link { display: flex; align-items: center; height: 100%; padding: 0 16px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; }
.gnav a.nav-link:hover { color: var(--brand); }
.gnav a.is-current { border-bottom-color: var(--brand); }
.gnav a.nav-cta { margin-left: 12px; align-self: center; height: auto; padding: 12px 20px; background: var(--ink); color: #fff; font-weight: 700; border-bottom: 0; }
.gnav a.nav-cta:hover { background: var(--brand); color: #fff; }
.menu-btn { display: none; }

/* ---------- 下層ページの見出し ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0; }
.page-head .wrap { display: grid; gap: 12px; border-left: 3px solid var(--brand); padding-left: clamp(16px, 2.4vw, 28px); }
.page-head h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); line-height: 1.35; color: var(--ink); }
.page-head h1 small { display: block; font-size: .55em; font-weight: 500; color: var(--muted); margin-top: 4px; word-break: keep-all; }
.page-head .lead { color: var(--muted); max-width: 62em; }
.crumb { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumb li + li::before { content: "/"; margin-right: 6px; color: #9aa3aa; }
.crumb a { color: var(--muted); }

/* =========================================================
   トップ：最初の画面（上下2段）
   ========================================================= */
.hero { position: relative; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.vlabel { position: absolute; left: max(8px, calc((100% - var(--wrap)) / 2 - 40px)); top: 56px; writing-mode: vertical-rl; font-family: var(--mono); font-size: .72rem; letter-spacing: .3em; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.vlabel::before { content: ""; width: 1px; height: 64px; background: var(--brand); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 48px); }
.hero .kicker { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; color: var(--brand); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.3; letter-spacing: .02em; color: var(--ink); }
.hero-side { display: grid; gap: 18px; padding-bottom: 6px; }
.hero .lead { color: var(--ink); font-size: clamp(.95rem, 1.4vw, 1.05rem); }
.hero-keys { display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--mono); font-size: .82rem; }
.hero-keys li + li::before { content: "/"; color: #9aa3aa; margin: 0 10px; }
.hero-keys a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brand); }
.hero-keys a:hover { color: var(--brand); }

.hero-head { position: relative; background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: url("../images/opt/hero-bg.svg") center bottom / cover no-repeat; }
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg .a1 { stroke: rgba(30, 38, 44, .09); stroke-width: 1; }
.hero-bg .a2 { stroke: rgba(212, 8, 29, .16); stroke-width: 1; }
.hero-bg .scale path { stroke: rgba(30, 38, 44, .28); stroke-width: 1; fill: none; }
.hero-bg .scale text { fill: rgba(30, 38, 44, .45); font-family: var(--mono); font-size: 11px; }
.hero-head .hero-top { position: relative; z-index: 1; padding-bottom: clamp(56px, 6vw, 76px); }
.hero .vlabel { z-index: 2; }

/* 下段：原理の図と装置の写真 */
.hero-panel { position: relative; border-top: 1px solid var(--line); background-color: var(--bg-soft); background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 24px 24px; }
.hero-panel .wrap { display: grid; grid-template-columns: minmax(0, 431px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.device { background: #fff; border: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; }
.device img { width: 405px; }
.device figcaption { font-size: .78rem; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.device figcaption b { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.principle { display: grid; gap: 18px; }
.principle .label { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; color: var(--muted); }
.principle .spec-img { width: 100%; height: auto; display: block; }
.principle .axis { stroke: #9aa3aa; stroke-width: 1; fill: none; }
.principle .curve { stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linejoin: round; }
.principle .curve-hair { stroke: var(--brand); stroke-width: 1.6; fill: none; stroke-linejoin: round; }
.principle .tick { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
.principle .key { font-family: var(--mono); font-size: 11px; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.steps4 li { padding: 12px 12px 0 0; display: grid; gap: 2px; align-content: start; }
.steps4 .n { font-family: var(--mono); font-size: .75rem; color: var(--brand); }
.steps4 b { font-size: .95rem; color: var(--ink); line-height: 1.5; }
.steps4 span { font-size: .8rem; color: var(--muted); line-height: 1.6; }


@keyframes draw { to { stroke-dashoffset: 0; } }

/* 事実の一行（信頼の帯の代わり） */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts ul { display: flex; flex-wrap: wrap; }
.facts li { flex: 1 1 0; min-width: 200px; padding: 18px 20px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts a { color: inherit; text-decoration: none; display: grid; gap: 2px; }
.facts a:hover span { text-decoration: underline; text-decoration-color: var(--brand); }
.facts b { font-family: var(--mono); font-size: 1.15rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.facts b em { font-style: normal; color: var(--brand); }
.facts span { font-size: .8rem; color: var(--muted); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }

/* =========================================================
   トップ：章（左に章番号と見出し、右に中身）
   ========================================================= */
.chapter { padding: clamp(56px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); background: #fff; }
.chapter.soft { background: var(--bg-soft); }
.ch { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); grid-template-areas: "num body" "title body" "lead body" ". body"; grid-template-rows: auto auto auto 1fr; column-gap: clamp(24px, 4vw, 64px); }
.ch-num { grid-area: num; font-family: var(--mono); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--brand); font-weight: 500; }
.ch-title { grid-area: title; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--ink); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ink); }
.ch-title small { display: block; font-family: var(--mono); font-size: .58em; font-weight: 500; letter-spacing: .14em; color: var(--muted); }
.ch-lead { grid-area: lead; color: var(--muted); font-size: .92rem; margin-top: 12px; }
.ch-body { grid-area: body; min-width: 0; }

/* 製品の行（罫線の一覧） */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
a.row:hover { background: var(--bg-soft); }
a.row:hover .go { color: var(--brand); }
.row img { width: 132px; height: 99px; object-fit: cover; background: var(--bg-soft); }
.row img.contain { object-fit: contain; }
.row b { display: block; font-size: 1.02rem; color: var(--ink); line-height: 1.5; }
.row b small { font-family: var(--mono); font-size: .75rem; font-weight: 500; color: var(--muted); margin-left: 8px; }
.row span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.7; margin-top: 2px; }
.row .go { font-family: var(--mono); font-size: .8rem; color: var(--ink); white-space: nowrap; padding-right: 4px; }
.row.main b { font-size: 1.15rem; }
.row.main img { border-left: 3px solid var(--brand); }

/* 導入前のサンプル測定 */
.sample { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; border: 1px solid var(--ink); border-left: 4px solid var(--brand); padding: 22px 26px; background: #fff; }
.sample h3 { font-size: 1.1rem; color: var(--ink); }
.sample p { margin-top: 6px; }

/* 特許：大きな数字、年表、一覧 */
.pnums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.pnums li { padding: 18px 20px 20px 0; display: grid; gap: 2px; }
.pnums li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.pnums b { font-family: var(--mono); font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; font-weight: 500; color: var(--ink); }
.pnums li.main b { color: var(--brand); }
.pnums span { font-weight: 700; color: var(--ink); }
.pnums em { font-style: normal; font-size: .8rem; color: var(--muted); line-height: 1.6; }
.ptl { margin-top: 28px; }
.ptl-track { position: relative; height: 70px; border-bottom: 1px solid var(--ink); }
.ptl-track li { position: absolute; bottom: 6px; transform: translateX(-50%); display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.ptl-track i { width: 12px; height: 12px; display: block; }
.ptl-track i.v { background: var(--brand); }
.ptl-track i.e { border: 1.5px solid #8a949c; background: #fff; }
.ptl-track i.p { border: 1.5px solid var(--ink); background: #fff; transform: rotate(45deg) scale(.85); }
.ptl-years { position: relative; height: 24px; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.ptl-years span { position: absolute; top: 4px; transform: translateX(-50%); }
.ptl-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px; }
.plist { margin-top: 28px; border-top: 1px solid var(--ink); }
.plist li { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 8px 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plist .no { font-family: var(--mono); font-size: .9rem; color: var(--ink); white-space: nowrap; }
.plist .ttl { color: var(--ink); font-weight: 700; line-height: 1.6; }
.plist .ttl small { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); }
.plist a { font-family: var(--mono); font-size: .78rem; white-space: nowrap; }

/* 自社で一貫：工程 */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.process li { position: relative; padding: 16px 16px 0 0; display: grid; gap: 4px; align-content: start; }
.process li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--brand); }
.process .n { font-family: var(--mono); font-size: .75rem; color: var(--brand); }
.process b { color: var(--ink); }
.process span { font-size: .84rem; color: var(--muted); line-height: 1.7; }

/* 研究開発の行 */
.rlist { border-top: 1px solid var(--ink); }
.rlist li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rlist .when { font-family: var(--mono); font-size: .82rem; color: var(--brand); }
.rlist b { display: block; color: var(--ink); line-height: 1.6; }
.rlist p { font-size: .92rem; }
.rlist .org { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.rlist .org .d { display: block; }

/* ニュース */
.news-list { border-top: 1px solid var(--ink); }
.news-list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-list time { font-family: var(--mono); font-size: .85rem; color: var(--muted); }

/* お問い合わせの帯 */
.cta { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta .cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eye btns" "title btns" "lead btns"; column-gap: 48px; align-items: end; }
.cta .eyebrow { grid-area: eye; } .cta .sec-title { grid-area: title; } .cta .sec-lead { grid-area: lead; } .cta .btns { grid-area: btns; }
.cta .eyebrow { color: #ff8f99; }
.cta .sec-title { color: #fff; margin-top: 10px; }
.cta .sec-lead { color: rgba(255, 255, 255, .82); }

/* ---------- フッター（グループ共通の構造） ---------- */
.site-footer { background: #151b20; color: rgba(255, 255, 255, .78); font-size: .88rem; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-logo { width: 180px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer h2 { font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; color: #ff8f99; margin-bottom: 12px; font-weight: 500; }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; display: inline-block; padding: 5px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p + p { margin-top: 10px; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: .8rem; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand); color: #fff; }

/* =========================================================
   下層ページの部品（第1案の部品を、直角・罫線の形に）
   ========================================================= */
.toc { border-bottom: 1px solid var(--line); background: #fff; }
.toc ul { display: flex; overflow-x: auto; scrollbar-width: thin; }
.toc a { display: block; white-space: nowrap; padding: 14px 18px; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; border-bottom: 2px solid transparent; }
.toc a::before { content: "→ "; font-family: var(--mono); color: var(--brand); }
.toc a:hover { border-bottom-color: var(--brand); }
.block { padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block > .wrap > h2, .h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.45; color: var(--ink); margin-bottom: 20px; padding-top: 12px; border-top: 1px solid var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h3 { font-size: 1.1rem; color: var(--ink); margin-top: 1.8em; padding-left: 12px; border-left: 3px solid var(--brand); }
.legal h2 { font-size: 1.05rem; color: var(--ink); margin-top: 2em; padding-left: 12px; border-left: 3px solid var(--brand); }
.legal p { font-size: .95rem; }
.dots { list-style: square; padding-left: 1.3em; }
.dots li::marker { color: var(--brand); }
.dots li + li { margin-top: .3em; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.two-col.message { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.box { border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: 20px 22px; background: #fff; display: grid; gap: 10px; align-content: start; }
.box h2, .box h3 { font-size: 1.05rem; color: var(--ink); line-height: 1.6; }
.box p, .box li { font-size: .93rem; }
.box.soft { background: var(--bg-soft); }
.h4 { font-size: 1rem; color: var(--ink); line-height: 1.6; }
.prod-list + .two-col, .two-col + .table-wrap { margin-top: 20px; }
.mail-addr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 18px 0 6px; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.mail-label { font-size: .85rem; color: var(--muted); }
.mail-text { font-size: 1.35rem; color: var(--ink); letter-spacing: .02em; user-select: all; overflow-wrap: anywhere; }
.cards4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.table-wrap { overflow-x: auto; }
.table { border-top: 1px solid var(--ink); }
.table th, .table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .93rem; }
.table th { color: var(--ink); font-weight: 700; background: var(--bg-soft); }
.table.kv th { width: 28%; }
.table.wide { min-width: 760px; }
.table .d { display: block; }
.list-line li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list-line li:first-child { border-top: 1px solid var(--ink); }
.list-line .when { font-family: var(--mono); font-size: .85rem; color: var(--brand); }
.list-line .what b { display: block; color: var(--ink); }
.notice { border-left: 3px solid var(--brand); background: var(--bg-soft); padding: 14px 18px; font-size: .9rem; }
.sign { text-align: right; font-weight: 700; color: var(--ink); }

/* 製品一覧ページ */
.prod-list { display: grid; border-top: 1px solid var(--ink); }
.prod { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.prod figure { display: grid; gap: 6px; }
.prod figure img { width: 215px; max-width: 100%; background: var(--bg-soft); }
.prod figcaption { font-size: .75rem; color: var(--muted); }
.prod h3 { font-size: 1.2rem; color: var(--ink); line-height: 1.5; }
.prod-body { display: grid; gap: 10px; }
.prod.featured { grid-template-columns: minmax(0, 405px) minmax(0, 1fr); }
.prod.featured figure img { width: auto; }
.prod.featured h3 { border-left: 3px solid var(--brand); padding-left: 12px; }

/* 特許の一覧の表 */
.ptable td.no { font-family: var(--mono); white-space: nowrap; }
.ptable .title { font-weight: 700; color: var(--ink); display: block; }
.ptable .co { display: block; font-size: .82rem; color: var(--muted); }

/* 製品の大きな紹介枠（CJ-C203Fのページ） */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center; border-top: 1px solid var(--ink); padding-top: 24px; }
.spotlight figure { background: var(--bg-soft); border: 1px solid var(--line); padding: 16px; display: grid; gap: 8px; }
.spotlight figure img { width: 340px; max-width: 100%; margin-inline: auto; }
.spotlight figure img.full { width: min(100%, 758px); }
.spotlight figcaption { font-size: .78rem; color: var(--muted); text-align: center; }
.spotlight-body { display: grid; gap: 14px; }
.spotlight-body .h2 { border-top: 0; padding-top: 0; margin-bottom: 0; }

/* 事業内容のページ */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.point { padding: 20px 20px 4px 0; display: grid; gap: 8px; align-content: start; }
.point + .point { padding-left: 20px; border-left: 1px solid var(--line); }
.point .num { font-family: var(--mono); font-size: .9rem; color: var(--brand); }
.point h3 { font-size: 1.1rem; color: var(--ink); }
.point p { font-size: .92rem; }

/* 研究開発のページ */
.research { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.rcard { padding: 20px 20px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.rcard + .rcard { padding-left: 20px; border-left: 1px solid var(--line); }
.rcard .when { font-family: var(--mono); font-size: .78rem; color: var(--brand); }
.rcard h3 { font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.rcard p { font-size: .9rem; }
.rcard .org { font-size: .8rem; color: var(--muted); line-height: 1.7; margin-top: auto; }
.rcard .org .d { display: block; }

/* ---------- 表示時にふわっと出る動き ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .principle .curve, .js .principle .curve-hair { animation: none; stroke-dashoffset: 0; }
  .btn, .to-top { transition: none; }
}

/* ---------- 改行の位置：文節の切れ目（<wbr>・「、」「。」）で改行する ---------- */
h1, .lead, .sec-title, .sec-lead, .ch-title, .ch-lead, .wb { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- 中くらいの幅・タブレット・スマホ ---------- */
@media (max-width: 1279px) {
  .vlabel { display: none; }
}
@media (max-width: 1000px) {
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .hero-panel .wrap { grid-template-columns: 1fr; }
  .device { max-width: 431px; }
  .ch { grid-template-columns: 1fr; grid-template-areas: "num" "title" "lead" "body"; grid-template-rows: none; }
  .ch-body { margin-top: 28px; }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .points, .research { grid-template-columns: 1fr; }
  .point + .point, .rcard + .rcard { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .prod.featured { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; padding: 10px 16px; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; min-height: 44px; }
  .menu-btn .bars { width: 16px; height: 2px; background: currentColor; position: relative; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
  .menu-btn .bars::before { top: -5px; }
  .menu-btn .bars::after { top: 5px; }
  .gnav { position: fixed; inset: var(--header-h) 0 auto 0; height: auto; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 24px; border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--header-h)); overflow: auto; display: none; }
  .gnav.open { display: flex; }
  .gnav > ul { flex-direction: column; }
  .gnav a.nav-link { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .gnav a.is-current { border-left: 3px solid var(--brand); }
  .gnav a.nav-cta { margin: 16px 0 0; justify-content: center; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .facts li { flex-basis: 50%; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pnums { grid-template-columns: 1fr; }
  .pnums li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .plist li { grid-template-columns: 1fr; gap: 2px; }
  .cta .cta-in { grid-template-columns: 1fr; grid-template-areas: "eye" "title" "lead" "btns"; row-gap: 0; } .cta .btns { margin-top: 24px; }
  .sample { grid-template-columns: 1fr; }
  .two-col, .two-col.message { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo img { width: 148px; }
  .row { grid-template-columns: 96px minmax(0, 1fr); }
  .row img { width: 96px; height: 72px; }
  .row .go { display: none; }
  .process { grid-template-columns: 1fr 1fr; }
  .rlist li, .news-list li, .list-line li { grid-template-columns: 1fr; gap: 2px; }
  .facts li { flex-basis: 100%; border-left: 0; padding-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .cards4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .btns .btn { width: 100%; }
  .table.kv th, .table.kv td { display: block; width: auto; }
  .table.kv th { border-bottom: 0; padding-bottom: 6px; }
  .table.kv td { padding-top: 6px; }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .site-footer, .to-top, .cta { display: none; }
}
