/* ============================================================
   次の灯 コーポレートサイト トップページ改修 v1.18
   接頭辞 tp-（既存テーマの ewrd- / Tailwind と衝突させない）
   v1.18: 白基調／ボタン縮小／カードの枠と背景を最小化／余白体系の整理
     - 本文17px・行長38字以内・行間1.9・補足 4.5:1 以上
     - ボタン: ピル型 52px＋円形アイコン36px、ホバーで∞の虹色が流れる
     - 角丸: 写真2px・カード6px。線は 1px #E6E0D4、影は最小限
     - 余白の段階: 8 / 16 / 24 / 40 / 64 / 96 / 128
   ============================================================ */
:root {
  --tp-white: #FFFFFF;
  --tp-paper: #FFFFFF;
  --tp-paper-2: #FAF8F4;
  --tp-paper-3: #F3F0EA;
  --tp-ink: #1F1915;
  --tp-ink-2: #4E4237;
  --tp-ink-3: #6E6052;
  --tp-brown: #7B4A2D;
  --tp-brown-2: #5E3A24;
  --tp-red: #B8402A;
  --tp-green: #4F6F3A;
  --tp-blue: #2F5E8E;
  --tp-line: #E6E0D4;
  --tp-line-2: #CFC6B6;
  --tp-rainbow: linear-gradient(90deg, #F6B21B, #F2661F, #E3302C, #C21E6A, #6A3BA0, #2B5FD0, #1BA3C6, #22A05A, #F6B21B);
  --tp-shadow-1: 0 8px 24px -16px rgba(31, 25, 21, .25);
  --tp-shadow-2: 0 24px 48px -28px rgba(31, 25, 21, .4);
  --tp-font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --tp-font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --tp-font-en: "Inter", "Noto Sans JP", sans-serif;
  --tp-r-sm: 4px;
  --tp-r: 6px;
  --tp-r-img: 2px;
  --tp-gutter: clamp(20px, 4vw, 64px);
  --tp-max: 1240px;
  --tp-ease: cubic-bezier(.22, 1, .36, 1);
  --tp-i-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12h15M13 6l6 6-6 6'/></svg>");
  --tp-i-up: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19V6M6 11l6-6 6 6'/></svg>");
  --tp-i-play: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M8 5.5v13l11-6.5z'/></svg>");
}

/* ---------- base ---------- */
.tp-root, .tp-root *, .tp-root *::before, .tp-root *::after { box-sizing: border-box; }
.tp-root { font-family: var(--tp-font-jp); color: var(--tp-ink); background: var(--tp-white); font-size: 17px; line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.tp-root :where(img, video) { max-width: 100%; height: auto; display: block; }
.tp-root :where(a) { color: inherit; text-decoration: none; }
.tp-root :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, legend) { margin: 0; padding: 0; }
.tp-root :where(ul, ol) { list-style: none; }
.tp-root button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.tp-root :focus-visible { outline: 3px solid var(--tp-blue); outline-offset: 3px; border-radius: 2px; }
.tp-root [id] { scroll-margin-top: var(--tp-anchor-offset, 96px); }
.tp-wrap { max-width: var(--tp-max); margin-inline: auto; padding-inline: var(--tp-gutter); }
.tp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp-num { font-family: var(--tp-font-en); font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

/* 可読性 v1.21
   本文・カード見出し・記事タイトル：通常の和文組み（行末まで詰める＋禁則処理のみ）。文節改行・バランス改行はしない
   大見出し（h1/h2）：.tp-ph 単位で改行し、狭い画面では句の内側でも折り返す */
.tp-root h1, .tp-root h2, .tp-root h3, .tp-root h4, .tp-root p, .tp-root dd, .tp-root li, .tp-root .tp-lead { word-break: normal; text-wrap: wrap; line-break: strict; }
.tp-root .tp-ph { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.tp-biz__t, .tp-brand__t, .tp-topic__t, .tp-award__t, .tp-site__n { overflow-wrap: anywhere; }
.tp-root .tp-num, .tp-root .tp-kpi__v, .tp-root .tp-chart__v, .tp-root .tp-metal__v, .tp-root .tp-table, .tp-root .tp-bars { text-wrap: initial; word-break: normal; }
.tp-lead { font-size: 17px; line-height: 1.95; color: var(--tp-ink-2); max-width: 38em; }

/* 水彩（生成画像の切り出し・乗算で紙になじむ） */
.tp-splash { position: absolute; pointer-events: none; mix-blend-mode: multiply; z-index: 0; }

/* ---------- セクション共通 ---------- */
.tp-sec { position: relative; padding-block: clamp(56px, 6.6vw, 96px); }
.tp-sec--tight { padding-block: clamp(44px, 5vw, 72px); }
.tp-sec--soft { background: var(--tp-paper-2); }
.tp-head { position: relative; z-index: 1; display: grid; gap: 14px; margin-bottom: clamp(28px, 3.6vw, 48px); }
.tp-head--row { grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; }
.tp-head--row > .tp-head__en, .tp-head--row > .tp-head__title, .tp-head--row > .tp-head__lead { grid-column: 1; }
.tp-head--row .tp-head__more { grid-column: 2; grid-row: 1 / span 3; align-self: end; padding-bottom: 4px; }
.tp-head__en { display: inline-flex; align-items: center; gap: 14px; font-family: var(--tp-font-en); font-size: 12px; font-weight: 500; letter-spacing: .26em; color: var(--tp-brown); text-transform: uppercase; line-height: 1.4; }
.tp-head__en::before { content: ""; width: 28px; height: 1.5px; background: var(--tp-brown); }
.tp-head__title { font-family: var(--tp-font-serif); font-weight: 700; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.3; letter-spacing: .05em; color: var(--tp-ink); }
.tp-head__lead { font-size: 16.5px; line-height: 1.9; color: var(--tp-ink-2); max-width: 38em; }
.tp-head__more { margin: 0; }
@media (max-width: 760px) { .tp-head--row { grid-template-columns: 1fr; } .tp-head--row .tp-head__more { grid-column: 1; grid-row: auto; } }

/* テキストリンク（色は茶、矢印は円の中） */
.tp-root .tp-more { color: var(--tp-brown); }
.tp-root .tp-more:hover { color: var(--tp-red); }
.tp-more { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--tp-brown); line-height: 1.5; transition: color .3s; }
.tp-more::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; background: currentColor; -webkit-mask: var(--tp-i-arrow) center / 15px no-repeat; mask: var(--tp-i-arrow) center / 15px no-repeat; transition: transform .35s var(--tp-ease); }
.tp-more::after { background: var(--tp-brown); -webkit-mask: none; mask: none; position: relative; }
.tp-more { position: relative; }
.tp-more i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tp-brown); position: relative; transition: transform .35s var(--tp-ease), background .3s; order: 2; }
.tp-more i::before { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: #fff; -webkit-mask: var(--tp-i-arrow) center / contain no-repeat; mask: var(--tp-i-arrow) center / contain no-repeat; }
.tp-more::after { display: none; }
.tp-more:hover { color: var(--tp-red); }
.tp-more:hover i { background: var(--tp-red); transform: translateX(4px); }

/* ---------- ボタン（ピル 52px＋円形アイコン 36px、ホバーで虹色） ---------- */
.tp-root .tp-btn { color: var(--btn-fg); }
.tp-root .tp-btn--ghost { color: var(--tp-brown); }
.tp-root .tp-btn:hover { color: #fff; }
.tp-btn { --btn-bg: var(--tp-ink); --btn-fg: #fff; --icon-bg: #fff; --icon-fg: var(--tp-ink); position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 6px 6px 6px 24px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-family: var(--tp-font-jp); font-weight: 600; font-size: 14.5px; line-height: 1.3; letter-spacing: .06em; white-space: nowrap; max-width: 100%; isolation: isolate; overflow: hidden; transition: transform .4s var(--tp-ease), box-shadow .4s var(--tp-ease), color .3s; }
.tp-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--tp-rainbow); background-size: 300% 100%; opacity: 0; transition: opacity .5s var(--tp-ease); animation: tp-rainbow 4s linear infinite; }
.tp-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(194, 30, 106, .4); color: #fff; }
.tp-btn:hover::before { opacity: 1; }
.tp-btn__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--icon-bg); color: var(--icon-fg); overflow: hidden; transition: background .3s, color .3s; }
.tp-btn__icon::before, .tp-btn__icon::after { content: ""; position: absolute; inset: 0; margin: auto; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--tp-i-arrow) center / contain no-repeat; mask: var(--tp-i-arrow) center / contain no-repeat; transition: transform .5s var(--tp-ease); }
.tp-btn__icon::after { transform: translateX(-30px); }
.tp-btn:hover .tp-btn__icon::before { transform: translateX(30px); }
.tp-btn:hover .tp-btn__icon::after { transform: translateX(0); }
.tp-btn:hover .tp-btn__icon { background: #fff; color: var(--tp-ink); }
.tp-btn--brown { --btn-bg: var(--tp-brown); --icon-fg: var(--tp-brown); }
.tp-btn--red { --btn-bg: var(--tp-red); --icon-fg: var(--tp-red); }
.tp-btn--ghost { --btn-bg: #fff; --btn-fg: var(--tp-brown); --icon-bg: var(--tp-brown); --icon-fg: #fff; box-shadow: inset 0 0 0 1.5px var(--tp-brown); }
.tp-btn--ghost:hover { --icon-bg: #fff; --icon-fg: var(--tp-ink); box-shadow: 0 14px 28px -14px rgba(194, 30, 106, .4); }
.tp-btn--sm { min-height: 44px; padding: 4px 4px 4px 18px; font-size: 13.5px; gap: 12px; }
.tp-btn--sm .tp-btn__icon { width: 32px; height: 32px; }
.tp-btn--lg { min-height: 60px; padding-left: 30px; font-size: 16px; }
.tp-btn--lg .tp-btn__icon { width: 44px; height: 44px; }
.tp-btn--block { width: 100%; }
.tp-btn.is-disabled { opacity: .45; pointer-events: none; }
@keyframes tp-rainbow { to { background-position: 300% 0; } }
@media (max-width: 680px) { .tp-btn { white-space: normal; line-height: 1.4; } }

/* 仮置き（未確定） */

/* 表示アニメーション */
.tp-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--tp-ease), transform .6s var(--tp-ease); }
.tp-js [data-reveal="slow"] { transition-duration: 1.1s; transform: translateY(34px); }
.tp-js [data-reveal="2"] { transition-delay: .1s; }
.tp-js [data-reveal="3"] { transition-delay: .2s; }
.tp-js [data-reveal="4"] { transition-delay: .3s; }
.tp-js [data-reveal="5"] { transition-delay: .4s; }
.tp-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tp-js [data-reveal] { opacity: 1; transform: none; transition: none; } .tp-btn::before { animation: none; } }

/* ---------- header（既存ナビの項目を残しつつ統合） ---------- */
.tp-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--tp-line); }
.tp-header::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.3) blur(12px); z-index: -1; }
.tp-header__in { position: relative; display: flex; align-items: center; gap: 24px; min-height: 76px; max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 44px); }
.tp-logo img { width: auto; height: 42px; }
.tp-nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 26px); margin-left: auto; }
.tp-nav a { font-size: 14.5px; font-weight: 600; letter-spacing: .06em; padding: 10px 0; position: relative; color: var(--tp-ink-2); }
.tp-nav a:hover, .tp-nav a[aria-current="page"] { color: var(--tp-ink); }
.tp-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--tp-rainbow); background-size: 300% 100%; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--tp-ease); }
.tp-nav a:hover::after, .tp-nav a[aria-current="page"]::after { transform: scaleX(1); animation: tp-rainbow 4s linear infinite; }
.tp-nav__item { position: relative; }
.tp-nav__item > a::before { content: ""; display: none; }
.tp-nav__item--sub > a { padding-right: 14px; }
.tp-nav__item--sub > a::before { content: ""; display: block; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.tp-nav__sub { position: absolute; left: -16px; top: 100%; width: max-content; min-width: 220px; padding: 10px 0; margin: 0; background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-r); box-shadow: var(--tp-shadow-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s var(--tp-ease), visibility .25s; z-index: 5; }
.tp-nav__item:hover .tp-nav__sub, .tp-nav__item:focus-within .tp-nav__sub, .tp-nav__item.is-open .tp-nav__sub { opacity: 1; visibility: visible; transform: none; }
.tp-nav__sub a { display: block; padding: 9px 18px; font-size: 13.5px; font-weight: 500; color: var(--tp-ink-2); }
.tp-nav__sub a::after { display: none; }
.tp-nav__sub a:hover { background: var(--tp-paper-2); color: var(--tp-ink); }
.tp-nav .tp-btn { min-height: 44px; padding: 4px 4px 4px 20px; font-size: 14px; gap: 12px; color: #fff; }
.tp-nav .tp-btn::after { display: none; }
.tp-nav .tp-btn .tp-btn__icon { width: 34px; height: 34px; }
.tp-menu { display: none; width: 46px; height: 46px; margin-left: auto; border: 1px solid var(--tp-line); border-radius: 50%; background: #fff; place-items: center; }
.tp-menu span { display: block; width: 20px; height: 2px; background: var(--tp-ink); margin: 3px 0; transition: transform .3s, opacity .3s; }
.tp-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.tp-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tp-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.tp-drawer { display: none; position: fixed; inset: 76px 0 0; height: calc(100dvh - 76px); background: #fff; z-index: 49; padding: 16px var(--tp-gutter) 40px; overflow-y: auto; }
.tp-drawer.is-open { display: block; }
.tp-drawer__g { font-family: var(--tp-font-en); font-size: 11px; letter-spacing: .24em; color: var(--tp-ink-3); margin: 22px 0 4px; }
.tp-drawer__sub { padding-left: 16px; }
.tp-drawer__sub a { font-size: 15px; font-weight: 500; padding: 12px 4px; color: var(--tp-ink-2); }
.tp-drawer a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--tp-line); font-weight: 600; font-size: 17px; }
.tp-drawer a:not(.tp-btn)::after { content: ""; width: 16px; height: 16px; background: var(--tp-brown); -webkit-mask: var(--tp-i-arrow) center / contain no-repeat; mask: var(--tp-i-arrow) center / contain no-repeat; }
.tp-drawer .tp-btn { margin-top: 24px; width: 100%; border-bottom: 0; }
@media (max-width: 1180px) {
  .tp-nav { display: none; }
  .tp-menu { display: grid; }
  .tp-header__in { min-height: 64px; }
  .tp-logo img { height: 34px; }
  .tp-drawer { inset: 64px 0 0; height: calc(100dvh - 64px); }
}

/* ---------- 章ナビ ---------- */
.tp-rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 8px; }
.tp-rail a { position: relative; display: block; width: 26px; height: 26px; }
.tp-rail a::before { content: ""; position: absolute; inset: 0; margin: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--tp-line-2); transition: transform .3s var(--tp-ease), background .3s; }
.tp-rail a::after { content: attr(data-label); position: absolute; right: 32px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--tp-ink); background: #fff; padding: 4px 10px; border-radius: 3px; box-shadow: var(--tp-shadow-1); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--tp-ease); }
.tp-rail a:hover::after, .tp-rail a.is-current::after { opacity: 1; transform: translate(0, -50%); }
.tp-rail a.is-current::before { background: var(--tp-red); transform: scale(1.6); }
@media (max-width: 1320px) { .tp-rail { display: none; } }

/* ---------- hero ---------- */
.tp-hero { position: relative; overflow: hidden; background: #fff; min-height: min(90svh, 880px); display: grid; align-items: center; }
.tp-hero__art { position: absolute; inset: 0; pointer-events: none; }
.tp-hero__paper { position: absolute; inset: 0; }
.tp-hero__paper img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tp-hero__paper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 80%, #fff); }
/* v1.26: さらに約1.1倍（84→92vw）、横の中心は v1.24 のまま、少し上へ（-52%→-58%） */
/* Keep the 1120px source video within its native width. */
.tp-hero__inf { position: absolute; right: -5vw; top: 50%; width: min(76vw, 1120px); max-width: 1120px; transform: translateY(-58%); mix-blend-mode: normal; filter: saturate(1.06); }
.tp-hero__inf.is-mp4 { mix-blend-mode: multiply; }
.tp-hero__bird { position: absolute; left: 52%; top: 13%; width: clamp(40px, 4vw, 72px); color: var(--tp-blue); opacity: .85; animation: tp-float 7s ease-in-out infinite; }
@keyframes tp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.tp-hero__copy { position: relative; z-index: 2; padding: clamp(56px, 9vh, 104px) var(--tp-gutter) clamp(56px, 9vh, 88px); max-width: 1440px; width: 100%; margin-inline: auto; }
.tp-hero__sub { font-family: var(--tp-font-serif); font-weight: 600; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: .14em; color: var(--tp-ink-2); margin-bottom: 20px; }
.tp-hero__title { font-family: var(--tp-font-serif); font-weight: 700; font-size: clamp(42px, 6.2vw, 104px); line-height: 1.22; letter-spacing: .04em; color: var(--tp-ink); margin-bottom: 28px; }
.tp-hero__title span { display: block; white-space: nowrap; }
.tp-hero__rule { width: min(560px, 60%); height: 3px; border-radius: 2px; margin: 0 0 32px; background: var(--tp-rainbow); background-size: 300% 100%; animation: tp-rainbow 12s linear infinite; opacity: .9; }
.tp-hero__def { margin-top: 28px; max-width: 36em; font-size: 15.5px; line-height: 1.9; color: var(--tp-ink-2); }
.tp-hero__scroll { position: absolute; left: var(--tp-gutter); bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; font-family: var(--tp-font-en); font-size: 11px; letter-spacing: .3em; color: var(--tp-ink-3); }
.tp-hero__scroll::before { content: ""; width: 1px; height: 40px; background: var(--tp-ink-3); animation: tp-scroll 2s infinite; transform-origin: top; }
@keyframes tp-scroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 1100px) { .tp-hero__inf { right: -10vw; width: min(100vw, 1000px); } }
@media (max-width: 760px) {
  .tp-hero { min-height: 0; display: block; }
  .tp-hero__art { position: relative; inset: auto; height: 64vw; }
  .tp-hero__paper { inset: 0 0 -60vw 0; }
  .tp-hero__inf { right: -15vw; width: min(130vw, 900px); transform: translateY(-56%); }
  .tp-hero__copy { padding-top: 8px; }
  .tp-hero__title { font-size: clamp(38px, 11vw, 60px); }
  .tp-hero__scroll { display: none; }
}

/* ---------- mission ---------- */
.tp-mission { position: relative; overflow: hidden; background: var(--tp-paper-2); }
.tp-mission__bg { position: absolute; inset: 0; background: url("../img/people/movie_bg_pc.webp") center / cover no-repeat; opacity: .08; filter: saturate(.5); }
.tp-mission__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tp-paper-2) 0%, rgba(250, 248, 244, .9) 45%, rgba(250, 248, 244, .5) 100%); }
.tp-mission__in { position: relative; z-index: 1; display: grid; grid-template-columns: clamp(240px, 27vw, 400px) 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.tp-mission__earth { position: relative; aspect-ratio: 1; transform: scale(1.32); transform-origin: 85% 50%; }
.tp-mission__earth video, .tp-mission__earth img { width: 100%; height: 100%; object-fit: contain; }
.tp-mission__no { display: inline-flex; align-items: center; gap: 14px; font-family: var(--tp-font-en); font-size: 12px; letter-spacing: .26em; color: var(--tp-brown); margin-bottom: 18px; text-transform: uppercase; }
.tp-mission__no::before { content: ""; width: 28px; height: 1.5px; background: var(--tp-brown); }
.tp-mission__title { font-family: var(--tp-font-serif); font-weight: 700; font-size: clamp(26px, 3vw, 42px); line-height: 1.5; letter-spacing: .06em; margin-bottom: 18px; }
.tp-mission__title .tp-br-sp { display: none; }
/* PCは1行：列幅（cqi）に合わせて文字サイズを決め、折り返さない */
@media (min-width: 761px) { .tp-mission__in > :has(> .tp-mission__title) { container-type: inline-size; min-width: 0; } .tp-root .tp-mission__title { font-size: clamp(18px, 4.15cqi, 40px); letter-spacing: .04em; text-wrap: nowrap; white-space: nowrap; } }
/* v1.21: 改行位置は .tp-ph で指定（.tp-br-sp は未使用） */
.tp-mission__lead { font-family: var(--tp-font-serif); font-size: clamp(16px, 1.4vw, 20px); letter-spacing: .08em; color: var(--tp-ink-2); margin-bottom: 26px; }
@media (max-width: 760px) { .tp-mission__in { grid-template-columns: 1fr; } .tp-mission__earth { width: 80%; margin-inline: auto; transform: none; } }

/* ---------- numbers（KPI 3つ＋回収した金属 3つ） ---------- */
.tp-numbers { position: relative; }
.tp-kpi { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--tp-line); }
.tp-kpi__item { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: center; padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2.4vw, 36px); position: relative; }
.tp-kpi__item + .tp-kpi__item::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--tp-line-2); }
.tp-kpi__icon { width: 52px; height: 52px; color: var(--tp-brown); }
.tp-kpi__k { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--tp-ink-2); line-height: 1.5; }
.tp-kpi__v { font-family: var(--tp-font-en); font-weight: 700; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.05; color: var(--tp-ink); margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.01em; }
.tp-kpi__v small { font-family: var(--tp-font-jp); font-size: .4em; font-weight: 700; margin-left: 5px; letter-spacing: 0; }
.tp-kpi__note { font-size: 12.5px; color: var(--tp-ink-3); line-height: 1.6; margin-top: 6px; }
.tp-metal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(20px, 2.4vw, 32px); }
.tp-metal__card { --c: var(--tp-red); --bg1: #FBEDE6; --bg2: #F6DDD2; position: relative; display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 12px; padding: 16px 22px 16px 14px; border-radius: var(--tp-r); background: linear-gradient(140deg, var(--bg1), var(--bg2)); overflow: hidden; isolation: isolate; }
.tp-metal__card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%); z-index: -1; }
.tp-metal__card--pd { --c: var(--tp-green); --bg1: #EEF4E6; --bg2: #DDEACF; }
.tp-metal__card--fe { --c: var(--tp-blue); --bg1: #EAF1F7; --bg2: #D6E4EF; }
.tp-metal__img { aspect-ratio: 1; }
.tp-metal__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(40, 25, 15, .22)); transform: scale(1.06); transition: transform 1s var(--tp-ease); }
.tp-metal__card:hover .tp-metal__img img { transform: scale(1.14) rotate(-2deg); }
.tp-metal__k { font-size: 13.5px; font-weight: 700; letter-spacing: .1em; color: var(--c); line-height: 1.5; }
.tp-metal__k small { display: block; font-weight: 600; font-size: 12.5px; color: var(--tp-ink-2); letter-spacing: .02em; }
.tp-metal__v { font-family: var(--tp-font-en); font-weight: 700; font-size: clamp(34px, 3.1vw, 46px); line-height: 1.05; color: var(--c); margin-top: 6px; letter-spacing: -.01em; }
.tp-metal__v small { font-family: var(--tp-font-jp); font-size: .42em; margin-left: 3px; }
.tp-metal__y { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--c); margin-top: 8px; display: inline-block; }
.tp-metal__y b { font-family: var(--tp-font-en); font-size: 1.5em; }
.tp-numbers__note { font-size: 13px; color: var(--tp-ink-3); margin-top: 16px; line-height: 1.7; max-width: 60em; }
@media (max-width: 900px) { .tp-kpi { grid-template-columns: 1fr; } .tp-kpi__item + .tp-kpi__item::before { left: 16px; right: 16px; top: 0; bottom: auto; width: auto; height: 1px; } .tp-metal { grid-template-columns: 1fr; } .tp-metal__card { grid-template-columns: 38% 1fr; } }

/* ---------- growth ---------- */
.tp-growth { position: relative; overflow: hidden; }
.tp-growth .tp-splash--l { left: -8vw; top: -10%; width: clamp(240px, 26vw, 460px); opacity: .6; }
.tp-charts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); position: relative; z-index: 1; }
.tp-chart { padding: 0; }
.tp-chart__k { font-size: 14.5px; font-weight: 600; letter-spacing: .06em; color: var(--tp-ink-2); display: flex; gap: 10px; align-items: center; }
.tp-chart__v { font-family: var(--tp-font-en); font-weight: 700; font-size: clamp(48px, 4.8vw, 72px); line-height: 1; margin: 10px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tp-chart__up { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 20px; padding: 5px 12px 5px 8px; border-radius: 999px; background: var(--tp-paper-2); font-size: 13px; font-weight: 700; color: var(--tp-ink-2); }
.tp-chart__up b { font-family: var(--tp-font-en); font-size: 15px; color: var(--tp-ink); }
.tp-chart__up::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--c, var(--tp-red)) var(--tp-i-up) center / 12px no-repeat; }
.tp-chart { --c: var(--tp-red); border-top: 3px solid var(--c); padding-top: 22px; }
.tp-chart--staff { --c: var(--tp-green); }
.tp-chart--co2 { --c: var(--tp-blue); }
.tp-chart__v small { font-family: var(--tp-font-jp); font-size: .32em; margin-left: 6px; font-weight: 700; letter-spacing: 0; }
.tp-chart--sales .tp-chart__v { color: var(--tp-red); }
.tp-chart--staff .tp-chart__v { color: var(--tp-green); }
.tp-chart--co2 .tp-chart__v { color: var(--tp-blue); }
.tp-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; align-items: end; height: 170px; padding-top: 24px; border-bottom: 1px solid var(--tp-ink); }
.tp-bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.tp-bar i { display: block; height: calc(var(--v) * 100%); min-height: 3px; border-radius: 2px 2px 0 0; background: var(--tp-c, var(--tp-red)); opacity: .35; transform-origin: bottom; transition: transform 1.1s var(--tp-ease); }
.tp-bar:last-child i { opacity: 1; }
.tp-js .tp-bars:not(.is-in) .tp-bar i { transform: scaleY(0); }
.tp-bar b { position: absolute; left: 0; right: 0; bottom: calc(var(--v) * 100% + 5px); text-align: center; font-family: var(--tp-font-en); font-weight: 500; font-size: 11.5px; line-height: 1; color: var(--tp-ink-2); white-space: nowrap; }
.tp-bar:last-child b { font-weight: 700; color: var(--tp-ink); font-size: 12.5px; }
.tp-chart--sales .tp-bar i { --tp-c: var(--tp-red); }
.tp-chart--staff .tp-bar i { --tp-c: var(--tp-green); }
.tp-chart--co2 .tp-bar i { --tp-c: var(--tp-blue); }
.tp-bars__x { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 8px; font-family: var(--tp-font-en); font-size: 11.5px; color: var(--tp-ink-3); text-align: center; }
.tp-chart__note { font-size: 13.5px; color: var(--tp-ink-3); line-height: 1.65; margin-top: 14px; }
@media (max-width: 900px) { .tp-charts { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- business ---------- */
.tp-business { position: relative; overflow: hidden; }
.tp-business .tp-splash--r { right: -8vw; top: -6vh; width: clamp(240px, 26vw, 460px); opacity: .6; }
.tp-biz { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px); position: relative; z-index: 1; }
/* 見出しの行数が違っても本文の頭を揃える（行ごとに subgrid） */
.tp-biz__card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.tp-biz__card > .tp-more { justify-self: start; align-self: start; }
.tp-biz__img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--tp-r-img); background: #ddd; }
.tp-biz__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tp-ease); }
.tp-biz__card:hover .tp-biz__img img { transform: scale(1.05); }
.tp-biz__t { font-family: var(--tp-font-serif); font-weight: 700; font-size: 16px; line-height: 1.45; letter-spacing: .03em; margin-top: 12px; }
.tp-biz__d { font-size: 13.5px; line-height: 1.7; color: var(--tp-ink-2); margin-top: 6px; flex: 1; }
.tp-biz__card .tp-more { margin-top: 10px; font-size: 13.5px; align-self: flex-start; }
.tp-business.tp-sec { padding-block: clamp(44px, 5vw, 72px); }
.tp-business .tp-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
@media (max-width: 1100px) { .tp-biz { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .tp-biz { grid-template-columns: 1fr 1fr; gap: 24px 14px; } .tp-biz__t { font-size: 16px; } .tp-biz__d { font-size: 14px; } }

/* ---------- network ---------- */
.tp-network { position: relative; overflow: hidden; }
.tp-network .tp-splash--l { left: -10vw; top: 4%; width: clamp(280px, 30vw, 520px); opacity: .5; }
.tp-net { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; position: relative; z-index: 1; }
.tp-net__visual { min-width: 0; }
.tp-net__hint { margin-bottom: 12px; font-size: 13px; line-height: 1.7; color: var(--tp-ink-3); }
.tp-net__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 24px); margin: 0 0 20px; }
.tp-net__stats div { padding: 14px 0 0; border-top: 1px solid var(--tp-ink); }
.tp-net__stats strong { display: block; font-family: var(--tp-font-en); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; color: var(--tp-ink); }
.tp-net__stats span { font-size: 13px; color: var(--tp-ink-3); line-height: 1.5; display: block; margin-top: 6px; }
.tp-net__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tp-net__list button { width: 100%; height: 100%; display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: auto auto; gap: 0 10px; align-items: center; padding: 7px 10px 7px 7px; border-radius: var(--tp-r); background: #fff; box-shadow: inset 0 0 0 1px var(--tp-line); color: var(--tp-ink); text-align: left; font: inherit; transition: box-shadow .3s, transform .4s var(--tp-ease), background .3s; }
.tp-net__list button:hover, .tp-net__list button[aria-pressed="true"] { background: var(--tp-paper-2); box-shadow: inset 0 0 0 1.5px var(--tp-brown); transform: translateX(3px); }
.tp-net__list img { grid-row: span 2; width: 44px; height: 44px; object-fit: cover; border-radius: var(--tp-r-sm); }
.tp-net__list img.is-placeholder { object-fit: contain; background: var(--tp-paper-3); padding: 6px; }
.tp-net__list strong { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.tp-net__list small { display: block; color: var(--tp-ink-3); font-size: 12px; line-height: 1.5; }
.tp-net__pill { display: inline-block; font-size: 10.5px; font-weight: 700; line-height: 1; padding: 4px 8px; border-radius: 999px; grid-column: 3; grid-row: span 2; justify-self: end; letter-spacing: .06em; white-space: nowrap; }
.tp-net__pill--hq { background: var(--tp-brown); color: #fff; }
.tp-net__pill--plant { background: #EFE4D9; color: var(--tp-brown-2); }
.tp-net__pill--live { background: #E4F0DC; color: #35592A; }
.tp-net__pill--plan { background: #E3EBF5; color: var(--tp-blue); }
.tp-net__map { position: relative; aspect-ratio: 1313 / 1400; max-height: 560px; margin-inline: auto; width: 100%; max-width: 525px; }
.tp-net__dots, .net__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tp-net__dots, .tp-net__map .net__svg * { pointer-events: none; }
.tp-net__map .net__svg { touch-action: manipulation; }
.tp-net__map .net__core { r: 12; vector-effect: non-scaling-stroke; stroke-width: 2px; }
.tp-net__map .net__base.is-hovered .net__core { fill: #F6B21B; }
.net__backbone { fill: none; stroke: url(#netGrad); stroke-width: 5; stroke-linecap: round; opacity: .95; }
.net__flow { fill: none; stroke: rgba(31, 25, 21, .18); stroke-width: 1.5; stroke-dasharray: 4 8; animation: tp-dash 7s linear infinite; }
.net__flow--d1 { animation-delay: -1s; } .net__flow--d2 { animation-delay: -2s; } .net__flow--d3 { animation-delay: -3s; } .net__flow--d4 { animation-delay: -4s; } .net__flow--d5 { animation-delay: -5s; } .net__flow--d6 { animation-delay: -6s; } .net__flow--d7 { animation-delay: -.5s; }
.net__src { fill: #B5AA9B; opacity: .9; }
.net__particle { fill: var(--tp-red); filter: drop-shadow(0 0 4px rgba(184, 64, 42, .6)); }
.net__cover { fill: rgba(184, 64, 42, .07); stroke: rgba(184, 64, 42, .35); stroke-width: 1.5; stroke-dasharray: 6 8; transform-box: fill-box; transform-origin: center; animation: tp-cover 6s ease-in-out infinite; }
.net__cover--hq { fill: rgba(123, 74, 45, .07); stroke: rgba(123, 74, 45, .4); }
.net__cover--plan { fill: rgba(47, 94, 142, .05); stroke: rgba(47, 94, 142, .35); }
@keyframes tp-cover { 0%, 100% { transform: scale(.97); opacity: .7; } 50% { transform: scale(1.02); opacity: 1; } }
.net__base { cursor: pointer; }
.net__ring { fill: rgba(184, 64, 42, .16); stroke: var(--tp-red); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: tp-pulse 2.6s var(--tp-ease) infinite; }
.net__core { fill: #fff; stroke: var(--tp-red); stroke-width: 4; }
.net__base--hq .net__core { fill: var(--tp-brown); stroke: #fff; }
.net__base--hq .net__ring { stroke: var(--tp-brown); fill: rgba(123, 74, 45, .16); }
.net__base--plant .net__core { fill: #fff; stroke: var(--tp-brown); }
.net__base--plant .net__ring { stroke: var(--tp-brown); fill: rgba(123, 74, 45, .12); }
.net__base--plan .net__ring { stroke: var(--tp-blue); fill: rgba(47, 94, 142, .12); animation-duration: 3.4s; }
.net__base--plan .net__core { stroke: var(--tp-blue); fill: #fff; stroke-dasharray: 3 3; }
.net__glow { opacity: .45; }
.net__base.is-active .net__core { fill: #F6B21B; }
.net__base.is-active .net__ring { stroke-width: 5; }
@keyframes tp-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes tp-dash { to { stroke-dashoffset: -200; } }
.tp-net__card { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: center; margin-top: 16px; background: #fff; color: var(--tp-ink); border: 1px solid var(--tp-line); border-radius: var(--tp-r); overflow: hidden; scroll-margin-top: 96px; scroll-margin-bottom: 24px; }
.tp-net__card[hidden] { display: none; }
.tp-net__card.is-floating { position: fixed; z-index: 60; inset: auto; margin: 0; padding: 0; width: min(320px, calc(100vw - 24px)); max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 10px 36px rgba(31, 25, 21, .22); }
.tp-net__card.is-floating > p { padding-right: 44px; }
.tp-root .tp-net__close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; font-size: 26px; line-height: 1; color: var(--tp-ink-3); border-radius: 0 4px 0 4px; background: #fff; }
.tp-root .tp-net__close:hover { color: var(--tp-brown); background: var(--tp-paper-2); }
.tp-net__card > img { width: 108px; height: 96px; object-fit: cover; }
.tp-net__card > img.is-placeholder { object-fit: contain; padding: 10px; background: var(--tp-paper-3); }
.tp-net__card p { min-width: 0; margin: 0; padding: 12px 14px; font-size: 13px; line-height: 1.6; color: var(--tp-ink-2); overflow-wrap: anywhere; }
.tp-net__card strong { display: block; font-size: 15px; color: var(--tp-ink); }
.tp-net__card small { display: block; margin-top: 4px; font-size: 13px; }
.tp-net__nearby { grid-column: 1 / -1; border-top: 1px solid var(--tp-line); padding: 12px; }
.tp-net__nearby[hidden], .tp-net__nearby button[hidden] { display: none; }
.tp-net__nearby > span { display: block; margin-bottom: 8px; font-size: 12px; color: var(--tp-ink-3); }
.tp-net__nearby > div { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-root .tp-net__nearby button { min-height: 44px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--tp-line-2); border-radius: 4px; font-size: 12px; line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
.tp-root .tp-net__nearby button[aria-pressed="true"] { background: var(--tp-paper-2); border-color: var(--tp-brown); color: var(--tp-brown); }
.tp-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 13px; color: var(--tp-ink-2); }
.tp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.tp-legend i { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--tp-red); box-sizing: border-box; }
.tp-legend i.hq { background: var(--tp-brown); border-color: var(--tp-brown); }
.tp-legend i.plant { border-color: var(--tp-brown); }
.tp-legend i.plan { border-color: var(--tp-blue); border-style: dashed; border-width: 2px; }
.tp-legend i.src { width: 8px; height: 8px; background: #B5AA9B; border: 0; }
.tp-legend i.cover { width: 14px; height: 14px; background: rgba(184, 64, 42, .08); border: 1.5px dashed rgba(184, 64, 42, .5); }
@media (max-width: 960px) { .tp-net { grid-template-columns: 1fr; } .tp-net__map { max-width: 480px; } .tp-net__list { grid-template-columns: 1fr 1fr; } .tp-net__content { display: contents; } .tp-net__content > .tp-head { order: -2; margin-bottom: 0; } .tp-net__visual { order: -1; } }
@media (max-width: 600px) { .tp-net__list { grid-template-columns: 1fr; } .tp-net__stats { grid-template-columns: 1fr; gap: 0; } .tp-net__stats div { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--tp-line); } .tp-net__stats span { margin-top: 0; } }

/* ---------- lab ---------- */
.tp-lab { position: relative; overflow: hidden; background: var(--tp-paper-2); }
.tp-lab__photo { position: absolute; right: 0; top: 0; width: 52%; height: 100%; }
.tp-lab__photo img { width: 100%; height: 100%; object-fit: cover; }
.tp-lab__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tp-paper-2) 0%, rgba(250, 248, 244, .75) 25%, rgba(250, 248, 244, 0) 70%); }
.tp-lab__in { position: relative; z-index: 1; }
.tp-lab__title { font-family: var(--tp-font-serif); font-weight: 700; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.3; letter-spacing: .06em; }
.tp-lab__lead { font-family: var(--tp-font-serif); font-size: clamp(16px, 1.3vw, 19px); letter-spacing: .08em; color: var(--tp-ink-2); margin: 14px 0 32px; }
.tp-lab__pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--tp-line); border: 1px solid var(--tp-line); border-radius: var(--tp-r); overflow: hidden; max-width: 860px; }
.tp-lab__pillars > li { display: flex; }
.tp-pillar { display: block; width: 100%; background: #fff; padding: 20px 18px; transition: background .3s; }
a.tp-pillar:hover { background: var(--tp-paper-2); }
a.tp-pillar b { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .3s; }
a.tp-pillar:hover b { text-decoration-color: currentColor; }
.tp-pillar svg { width: 28px; height: 28px; color: var(--tp-brown); margin-bottom: 10px; }
.tp-pillar b { display: block; font-family: var(--tp-font-serif); font-size: 16px; letter-spacing: .06em; }
.tp-pillar p { font-family: var(--tp-font-serif); font-size: 14px; line-height: 1.7; color: var(--tp-ink-2); margin-top: 6px; }
.tp-lab__sub { display: flex; align-items: center; gap: 12px; margin: 44px 0 18px; font-family: var(--tp-font-serif); font-weight: 700; font-size: 18px; letter-spacing: .08em; }
.tp-lab__sub::before { content: ""; width: 4px; height: 20px; background: var(--tp-brown); }
.tp-lab__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 240px; gap: clamp(16px, 1.8vw, 24px); align-items: start; }
.tp-topic { display: block; }
.tp-topic__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--tp-r-img); background: #ccc; }
.tp-topic__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tp-ease); }
.tp-topic:hover .tp-topic__img img { transform: scale(1.05); }
.tp-topic__date { display: block; font-family: var(--tp-font-en); font-size: 12px; letter-spacing: .08em; color: var(--tp-ink-3); margin-top: 12px; }
.tp-topic__date + .tp-topic__t { margin-top: 4px; }
.tp-topic__st { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 3px 9px; border-radius: 3px; color: #fff; background: var(--tp-red); }
.tp-topic__st--done { background: var(--tp-green); }
.tp-topic__st--open { background: #B88A2E; }
.tp-topic__t { font-family: var(--tp-font-serif); font-weight: 700; font-size: 16px; line-height: 1.55; margin-top: 12px; letter-spacing: .03em; }
.tp-topic__d { font-size: 14px; line-height: 1.8; color: var(--tp-ink-2); margin-top: 4px; }
.tp-lab__links { display: grid; gap: 8px; }
.tp-lab__links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-r); font-size: 14.5px; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.tp-lab__links a::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--tp-i-arrow) center / contain no-repeat; mask: var(--tp-i-arrow) center / contain no-repeat; }
.tp-lab__links a:hover, .tp-lab__links a.is-primary { background: var(--tp-brown); color: #fff; border-color: var(--tp-brown); }
.tp-lab__links a.is-primary:hover { background: var(--tp-brown-2); }
@media (max-width: 1100px) { .tp-lab__grid { grid-template-columns: 1fr 1fr 1fr; } .tp-lab__links { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .tp-lab__photo { position: relative; width: 100%; height: 44vw; max-height: 360px; margin-bottom: 24px; } .tp-lab__photo::after { background: linear-gradient(0deg, var(--tp-paper-2), rgba(250, 248, 244, 0) 60%); } .tp-lab__pillars { grid-template-columns: 1fr 1fr; max-width: none; } }
@media (max-width: 680px) { .tp-lab__grid { grid-template-columns: 1fr; } .tp-lab__links { grid-template-columns: 1fr; } }

/* ---------- awards（ロゴは上段の定位置、文字と重ねない） ---------- */
.tp-award { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.tp-award__card { position: relative; display: grid; grid-template-rows: 80px auto auto 1fr; align-content: start; gap: 8px; padding: 24px 0 0; border-top: 1px solid var(--tp-ink); min-height: 230px; }
.tp-award__logo, .tp-award__stamp { grid-row: 1; width: 120px; height: 72px; object-fit: contain; object-position: left bottom; align-self: end; }
.tp-award__stamp { display: grid; place-content: center start; height: 72px; width: auto; }
.tp-award__stamp span { display: inline-grid; place-items: center; height: 56px; padding: 0 14px; border: 1.5px solid var(--tp-ink); border-radius: 3px; font-family: var(--tp-font-en); font-weight: 700; font-size: 13px; letter-spacing: .08em; line-height: 1.2; text-align: center; }
.tp-award__card > a:first-child { grid-row: 1; display: block; }
.tp-award__badge { grid-row: 2; align-self: start; font-family: var(--tp-font-en); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--tp-brown); text-transform: uppercase; }
.tp-award__badge::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tp-brown); margin-right: 8px; vertical-align: middle; }
.tp-award__badge--cert { color: var(--tp-green); }
.tp-award__badge--cert::before { background: var(--tp-green); }
.tp-award__t { grid-row: 3; font-family: var(--tp-font-serif); font-weight: 700; font-size: 16.5px; line-height: 1.5; letter-spacing: .04em; }
.tp-award__d { grid-row: 4; font-size: 13.5px; line-height: 1.65; color: var(--tp-ink-2); }
.tp-award__card a.tp-award__link { color: var(--tp-brown); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .tp-award { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .tp-award { grid-template-columns: 1fr 1fr; } .tp-award__card { min-height: 0; } }

/* ---------- media（写真を見せ、文字は下の帯に） ---------- */
.tp-media { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2.4vw, 32px) clamp(12px, 1.6vw, 24px); }
.tp-media__card { position: relative; display: flex; flex-direction: column; color: var(--tp-ink); }
.tp-media__img { position: relative; aspect-ratio: 16 / 9; border-radius: var(--tp-r-img); overflow: hidden; background: #e9e4dc; }
.tp-media__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tp-ease); }
.tp-media__card:hover .tp-media__img img { transform: scale(1.05); }
.tp-media__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .5); transition: transform .35s var(--tp-ease), background .3s; }
.tp-media__play::before { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; background: var(--tp-ink); -webkit-mask: var(--tp-i-play) center / contain no-repeat; mask: var(--tp-i-play) center / contain no-repeat; transform: translateX(1px); }
.tp-media__card:hover .tp-media__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.tp-media__t { padding: 12px 2px 0; font-family: var(--tp-font-serif); font-weight: 700; font-size: 16px; letter-spacing: .04em; line-height: 1.5; }
.tp-media__t small { display: block; font-family: var(--tp-font-jp); font-size: 12.5px; font-weight: 500; color: var(--tp-ink-3); letter-spacing: .04em; margin-top: 2px; }
.tp-media__tag { position: absolute; left: 10px; top: 10px; font-family: var(--tp-font-en); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: #fff; background: rgba(31, 25, 21, .7); padding: 4px 8px; border-radius: 3px; }
@media (max-width: 900px) { .tp-media { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tp-media { grid-template-columns: 1fr 1fr; } }

/* ---------- brands（枠なし・写真主体・下に2本のリンク） ---------- */
.tp-brands { background: var(--tp-paper-2); }
.tp-brand { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.tp-brand__card { display: flex; flex-direction: column; }
.tp-brand__img { aspect-ratio: 4 / 3; border-radius: var(--tp-r-img); overflow: hidden; background: #1c1612; }
.tp-brand__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tp-ease); }
.tp-brand__card:hover .tp-brand__img img { transform: scale(1.04); }
.tp-brand__t { font-family: var(--tp-font-serif); font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: .04em; margin-top: 16px; line-height: 1.4; }
.tp-brand__logo { margin-top: 18px; height: 30px; display: flex; align-items: center; }
.tp-brand__logo img { height: 30px; width: auto; max-width: none; }
.tp-brand__logo b { font-family: var(--tp-font-en); font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.tp-brand__s { display: block; font-size: 12.5px; color: var(--tp-ink-3); letter-spacing: .06em; margin-top: 6px; }
.tp-brand__t small { display: block; font-family: var(--tp-font-jp); font-weight: 500; font-size: 12.5px; color: var(--tp-ink-3); letter-spacing: .06em; margin-top: 4px; }
/* 資料・サイトへのリンク：罫線で区切った2行のリスト。右の丸アイコンで種類（外部サイト／PDF）を示す */
.tp-brand__links { display: grid; margin-top: 16px; border-top: 1px solid var(--tp-line-2); }
.tp-root .tp-blink { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 0; border-bottom: 1px solid var(--tp-line-2); font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--tp-ink); transition: color .3s, padding .4s var(--tp-ease); }
.tp-blink small { margin-left: 8px; padding: 1px 6px; border-radius: 3px; background: var(--tp-paper-3); font-family: var(--tp-font-en); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--tp-ink-3); vertical-align: 1px; }
.tp-blink i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--tp-line-2); transition: background .3s, border-color .3s; }
.tp-blink i::after { content: ""; position: absolute; inset: 0; background: var(--tp-ink); -webkit-mask: var(--tp-blink-ic) center / 12px no-repeat; mask: var(--tp-blink-ic) center / 12px no-repeat; transition: background .3s, transform .4s var(--tp-ease); }
.tp-blink--site { --tp-blink-ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M9 7h8v8'/></svg>"); }
.tp-blink--doc { --tp-blink-ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3h8l5 5v13H6z'/><path d='M14 3v5h5M9 13h7M9 17h5'/></svg>"); }
.tp-root .tp-blink:hover { color: var(--tp-brown); padding-left: 4px; }
.tp-blink:hover i { background: var(--tp-brown); border-color: var(--tp-brown); }
.tp-blink:hover i::after { background: #fff; }
.tp-blink--site:hover i::after { transform: translate(1px, -1px); }
@media (max-width: 900px) { .tp-brand { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tp-brand { grid-template-columns: 1fr; } }

/* ---------- future ---------- */
.tp-future { position: relative; overflow: hidden; }
.tp-future .tp-splash--l { left: -8vw; bottom: -20%; width: clamp(260px, 28vw, 520px); opacity: .6; }
.tp-future .tp-splash--r { right: -6vw; top: -20%; width: clamp(220px, 22vw, 420px); opacity: .6; }
.tp-future__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.tp-future__title { font-family: var(--tp-font-serif); font-weight: 700; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.3; letter-spacing: .06em; }
.tp-future__lead { font-family: var(--tp-font-serif); font-size: clamp(16px, 1.3vw, 19px); letter-spacing: .06em; color: var(--tp-ink-2); margin: 16px 0 30px; }
.tp-future__btns { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.tp-root .tp-video { color: #fff; }
.tp-video { position: relative; display: block; border-radius: var(--tp-r); overflow: hidden; background: #1c1612; color: #fff; aspect-ratio: 16 / 9; box-shadow: var(--tp-shadow-2); }
.tp-video__bg { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tp-ease); }
.tp-video:hover .tp-video__bg { transform: scale(1.03); }
.tp-video__copy { position: absolute; left: clamp(18px, 3vw, 36px); top: clamp(18px, 3vw, 36px); right: 34%; }
.tp-video__copy b { display: block; font-family: var(--tp-font-serif); font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.3; letter-spacing: .04em; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.tp-video__copy b em { font-style: normal; color: #F2B21E; }
.tp-video__copy p { font-size: 13.5px; line-height: 1.7; margin-top: 10px; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.tp-video .tp-media__play { left: 50%; right: auto; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); }
.tp-video:hover .tp-media__play { transform: translate(-50%, -50%) scale(1.08); }
.tp-video__logo { position: absolute; left: clamp(18px, 3vw, 36px); bottom: clamp(14px, 2vw, 24px); height: 34px !important; width: auto !important; background: rgba(255, 255, 255, .92); padding: 5px 10px; border-radius: 4px; }
.tp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .tp-future__in { grid-template-columns: 1fr; } }

/* ---------- company（2段構成: 基本情報＋事業 ／ 拠点マップ＋実績） ---------- */
.tp-company { background: var(--tp-paper-2); }
.tp-co { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.tp-co__bottom { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(28px, 4.5vw, 72px); align-items: start; margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(28px, 3.2vw, 40px); border-top: 1px solid var(--tp-line); }
@media (max-width: 900px) { .tp-co__bottom { grid-template-columns: 1fr; } }
.tp-co__h { display: flex; align-items: center; gap: 10px; font-family: var(--tp-font-serif); font-weight: 700; font-size: 17px; letter-spacing: .08em; margin-bottom: 14px; }
.tp-co__h::before { content: ""; width: 4px; height: 18px; background: var(--tp-brown); }
.tp-co__block + .tp-co__block { margin-top: 36px; }
.tp-co__cols > .tp-co__block { margin-top: 0; }  /* 事業内容と資格・免許の見出しを同じ高さに */
.tp-dl { display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--tp-ink); }
.tp-dl dt, .tp-dl dd { padding: 13px 8px; border-bottom: 1px solid var(--tp-line); font-size: 15px; line-height: 1.7; }
.tp-dl dt { font-weight: 700; color: var(--tp-ink-2); }
.tp-dl dd small { display: block; font-size: 13px; color: var(--tp-ink-3); }
.tp-co__list { font-size: 15px; line-height: 1.9; }
.tp-co__list li { padding-left: 14px; position: relative; }
.tp-co__list--plain li { padding-left: 0; }
.tp-co__list--plain li::before { display: none; }
.tp-co__list--lines li { padding: 7px 0; border-bottom: 1px solid var(--tp-line); }
.tp-co__list li::before { content: "・"; position: absolute; left: 0; color: var(--tp-brown); }
.tp-co__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 36px; }
.tp-co__sites li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--tp-line); }
.tp-co__sites li::before { display: none; }
.tp-co__sites { border-top: 1px solid var(--tp-ink); }
.tp-co__sites b { font-weight: 700; font-size: 14.5px; }
.tp-root .tp-co__sites a { font-size: 13px; font-weight: 600; color: var(--tp-brown); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tp-co__sites a::after { content: ""; width: 11px; height: 11px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M9 7h8v8'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M9 7h8v8'/></svg>") center / contain no-repeat; }
.tp-co__map { position: relative; aspect-ratio: 1313 / 1400; width: 100%; max-width: 380px; margin: 0 auto; }
.tp-co__map img, .tp-co__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tp-co__map .net__flows, .tp-co__map .net__particles, .tp-co__map .net__sources, .tp-co__map .net__glow { display: none; }
.tp-co__map .net__ring { animation: none; opacity: .35; }
.tp-co__map .net__backbone { stroke-width: 4; opacity: .8; }
.tp-loc { font-size: 14px; line-height: 1.65; counter-reset: loc; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--tp-ink); }
.tp-loc li { display: grid; grid-template-columns: 28px 200px 1fr; gap: 8px 12px; padding: 10px 0; border-bottom: 1px solid var(--tp-line); counter-increment: loc; align-items: baseline; }
.tp-loc li::before { content: counter(loc, decimal-leading-zero); font-family: var(--tp-font-en); font-size: 11px; font-weight: 600; color: var(--tp-brown); letter-spacing: .06em; padding-top: 4px; }
.tp-loc b { display: block; font-size: 14px; }
.tp-loc .tp-loc__tag { display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 700; color: var(--tp-blue); border: 1px solid currentColor; border-radius: 3px; padding: 0 5px; vertical-align: middle; }
.tp-loc span { color: var(--tp-ink-3); font-size: 13px; }
.tp-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tp-table th, .tp-table td { padding: 9px 8px; border-bottom: 1px solid var(--tp-line); text-align: right; white-space: nowrap; }
.tp-table th { border-bottom: 1px solid var(--tp-ink); color: var(--tp-ink-2); font-weight: 700; font-size: 13px; }
.tp-table th:first-child, .tp-table td:first-child { text-align: left; font-family: var(--tp-font-en); }
.tp-table tr:last-child td { font-weight: 700; color: var(--tp-ink); }
.tp-co__note { font-size: 13px; color: var(--tp-ink-3); margin-top: 8px; line-height: 1.6; }
.tp-certs { margin-top: clamp(40px, 4.6vw, 64px); padding-top: clamp(28px, 3.2vw, 40px); border-top: 1px solid var(--tp-line); }
.tp-certg { display: grid; grid-template-columns: 200px 1fr; gap: 16px 32px; padding: 22px 0; border-top: 1px solid var(--tp-line); align-items: start; }
.tp-certg:first-of-type { border-top: 0; padding-top: 0; }
.tp-certg__h { font-family: var(--tp-font-serif); font-weight: 700; font-size: 17px; letter-spacing: .08em; }
.tp-certg__h small { display: block; font-family: var(--tp-font-en); font-weight: 500; font-size: 11px; letter-spacing: .2em; color: var(--tp-brown); margin-bottom: 4px; text-transform: uppercase; }
.tp-certg__d { font-size: 13.5px; color: var(--tp-ink-3); line-height: 1.7; margin-top: 6px; }
.tp-certg__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 16px; }
@media (max-width: 760px) { .tp-certg { grid-template-columns: 1fr; } }
.tp-certs__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.tp-certs__h b { font-family: var(--tp-font-serif); font-size: 19px; letter-spacing: .08em; }
.tp-certs__h span { font-size: 14px; color: var(--tp-ink-2); }
.tp-cert { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 24px 16px; }
.tp-cert__i { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--tp-ink-2); }
.tp-cert__i b { display: block; color: var(--tp-ink); font-weight: 700; }
.tp-cert__i small { display: block; font-size: 12px; color: var(--tp-ink-3); }
.tp-cert__i img { width: 128px; height: 96px; object-fit: contain; }
.tp-cert__i img.is-tall { width: 72px; height: 110px; }
.tp-cert__i .tp-cert__box { display: grid; place-items: center; width: 100%; min-height: 110px; padding: 8px; }
.tp-cert__i .tp-cert__stamp { width: 88px; height: 88px; border-radius: 50%; border: 1.5px solid var(--tp-brown); color: var(--tp-brown); display: grid; place-items: center; font-family: var(--tp-font-serif); font-size: 11px; line-height: 1.3; padding: 6px; }
.tp-root .tp-cert__i a { color: var(--tp-brown); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .tp-co { grid-template-columns: 1fr; } .tp-co__cols { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .tp-loc li { grid-template-columns: 28px 1fr; } .tp-loc span { grid-column: 2; } }

/* ---------- contact ---------- */
.tp-contact { position: relative; overflow: hidden; background: #fff; }
.tp-contact .tp-splash--l { left: -8vw; bottom: -10%; width: clamp(220px, 24vw, 440px); opacity: .5; }
.tp-contact .tp-splash--r { right: -8vw; top: -4%; width: clamp(220px, 24vw, 440px); opacity: .5; }
.tp-contact__head { text-align: center; position: relative; z-index: 1; margin-bottom: clamp(40px, 5vw, 64px); }
.tp-contact__en { font-family: var(--tp-font-en); font-size: 12px; letter-spacing: .3em; color: var(--tp-brown); margin-bottom: 14px; text-transform: uppercase; }
.tp-contact__title { font-family: var(--tp-font-serif); font-weight: 700; font-size: clamp(26px, 3.2vw, 42px); letter-spacing: .08em; line-height: 1.4; }
.tp-contact__lead { font-size: 16px; color: var(--tp-ink-2); margin: 14px auto 0; text-align: center; }  
.tp-ct { display: grid; grid-template-columns: minmax(260px, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; gap: 24px clamp(28px, 4vw, 64px); position: relative; z-index: 1; align-items: start; }
.tp-ct__side { grid-column: 1; grid-row: 1; }
.tp-ct .tp-form { grid-column: 2; grid-row: 1 / span 2; }
.tp-ct .tp-tel { grid-column: 1; grid-row: 2; position: sticky; top: 320px; }
.tp-ct__side { position: sticky; top: 96px; display: grid; gap: 20px; }
.tp-ct__h { font-family: var(--tp-font-serif); font-weight: 700; font-size: 22px; line-height: 1.5; letter-spacing: .06em; }
.tp-ct__d { font-size: 15px; line-height: 1.9; color: var(--tp-ink-2); }
.tp-ct__d b { display: block; color: var(--tp-red); font-weight: 700; margin-top: 8px; }
.tp-tel { padding: 18px 0 0; border-top: 1px solid var(--tp-ink); }
.tp-tel__k { font-size: 13px; font-weight: 700; color: var(--tp-brown); letter-spacing: .08em; }
.tp-tel__v { display: block; font-family: var(--tp-font-en); font-weight: 600; font-size: clamp(24px, 1.9vw, 30px); color: var(--tp-ink); margin: 6px 0 2px; letter-spacing: 0; white-space: nowrap; }
.tp-tel__n { font-size: 13px; color: var(--tp-ink-3); line-height: 1.6; }
.tp-form { background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-r); padding: clamp(24px, 3.2vw, 48px); }
.tp-fs { margin: 0; padding: 0 0 clamp(24px, 2.8vw, 36px); border: 0; border-bottom: 1px solid var(--tp-line); min-width: 0; }
.tp-fs + .tp-fs { padding-top: clamp(24px, 2.8vw, 36px); }
.tp-fs__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 8px; font-family: var(--tp-font-serif); font-weight: 700; font-size: 18px; letter-spacing: .06em; width: 100%; }

.tp-fs__h small { font-family: var(--tp-font-jp); font-weight: 500; font-size: 13px; color: var(--tp-ink-3); margin-left: auto; }
.tp-f { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px 0; }
.tp-f--2 { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.tp-f--2 > div { display: grid; gap: 8px; }
.tp-f__l { font-size: 14.5px; font-weight: 700; line-height: 1.6; display: flex; align-items: center; gap: 8px; }
.tp-f__l.req::after { content: "必須"; font-size: 10.5px; font-weight: 700; color: var(--tp-red); border: 1px solid var(--tp-red); padding: 1px 6px; border-radius: 3px; line-height: 1.5; }
.tp-f__l.opt::after { content: "任意"; font-size: 10.5px; font-weight: 700; color: var(--tp-ink-3); border: 1px solid var(--tp-line-2); padding: 1px 6px; border-radius: 3px; line-height: 1.5; }
.tp-in { width: 100%; font: inherit; font-size: 16px; min-height: 50px; padding: 11px 14px; border: 1px solid var(--tp-line-2); border-radius: var(--tp-r-sm); background: #fff; color: var(--tp-ink); transition: border-color .2s, box-shadow .2s; }
.tp-in::placeholder { color: #A39888; }
.tp-in:focus { outline: 0; border-color: var(--tp-brown); box-shadow: 0 0 0 3px rgba(123, 74, 45, .16); }
.tp-in--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tp-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; font-size: 15px; line-height: 1.6; }
.tp-opts--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-opts--chips label { padding: 0; }
.tp-opts--chips label span { display: inline-flex; align-items: center; min-height: 42px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--tp-line-2); background: #fff; font-size: 14px; color: var(--tp-ink-2); transition: border-color .2s, background .2s, color .2s; }
.tp-opts--chips label:hover span { border-color: var(--tp-brown); color: var(--tp-ink); }
.tp-opts--chips label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-opts--chips label input:checked + span { border-color: var(--tp-brown); background: var(--tp-brown); color: #fff; }
.tp-opts--chips label input:focus-visible + span { outline: 3px solid var(--tp-blue); outline-offset: 2px; }
.tp-opts label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; padding: 6px 0; position: relative; }
.tp-opts input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 5px; accent-color: var(--tp-brown); }
.tp-form__foot { display: grid; gap: 20px; margin-top: 8px; padding-top: clamp(24px, 2.8vw, 36px); }
.tp-form__consent { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.tp-form__consent input { width: 18px; height: 18px; accent-color: var(--tp-brown); }
.tp-root .tp-form__consent a { color: var(--tp-brown); text-decoration: underline; text-underline-offset: 3px; }
.tp-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tp-form__submit .tp-btn { min-width: 260px; }
.tp-form__submit small { font-size: 13px; color: var(--tp-ink-3); }
@media (max-width: 1000px) { .tp-ct { grid-template-columns: 1fr; grid-template-rows: auto; } .tp-ct__side { position: static; grid-column: 1; grid-row: auto; } .tp-ct .tp-form { grid-column: 1; grid-row: auto; } .tp-ct .tp-tel { grid-column: 1; grid-row: auto; position: static; padding-top: 24px; } }
@media (max-width: 680px) { .tp-opts { grid-template-columns: 1fr; } .tp-in--2, .tp-f--2 { grid-template-columns: 1fr; } .tp-form__submit .tp-btn { width: 100%; min-width: 0; } .tp-fs__h small { margin-left: 0; flex-basis: 100%; } }

/* ---------- footer（既存リンクを残す） ---------- */
.tp-footer { background: var(--tp-ink); color: #EDE4D6; padding: clamp(48px, 6vw, 80px) 0 28px; }
.tp-footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px 48px; align-items: start; }
.tp-footer__logo img { height: 40px; width: auto; }
.tp-footer__co { font-size: 13.5px; line-height: 1.9; color: rgba(237, 228, 214, .75); margin-top: 18px; }
.tp-footer__h { font-family: var(--tp-font-en); font-size: 11px; letter-spacing: .24em; color: rgba(237, 228, 214, .55); margin-bottom: 14px; text-transform: uppercase; }
.tp-footer__nav { display: grid; gap: 10px; font-size: 14.5px; }
.tp-footer__nav a { opacity: .9; }
.tp-footer__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.tp-footer__copy { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-family: var(--tp-font-en); font-size: 12.5px; color: rgba(237, 228, 214, .55); letter-spacing: .06em; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .tp-footer__in { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- preview stub ---------- */
.tp-proto { position: fixed; left: 12px; bottom: 12px; z-index: 60; font-family: var(--tp-font-en); font-size: 11px; letter-spacing: .08em; background: rgba(31, 25, 21, .85); color: #fff; padding: 6px 10px; border-radius: 4px; }
@media (max-width: 600px) { .tp-lab__pillars { grid-template-columns: 1fr; } .tp-pillar { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 16px; } .tp-pillar svg { grid-row: span 2; margin: 2px 0 0; } .tp-pillar p { margin-top: 2px; } }

/* 研究所（トピックのまとめ）への文脈リンク */
.tp-more-row { margin-top: 20px; }
.tp-more-row .tp-more { font-size: 14px; }
.tp-more-row--end { margin-top: clamp(20px, 2.4vw, 32px); text-align: right; }

/* ベストベンチャーWEST100：リンクがあると分かる見せ方（規約：ロゴは自社紹介ページへ） */
.tp-award__logolink { display: inline-block; border-radius: 4px; transition: opacity .3s; }
.tp-award__logolink:hover { opacity: .8; }
.tp-root .tp-west__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 6px 6px 14px; border: 1px solid var(--tp-line-2); border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--tp-ink); background: #fff; justify-self: start; align-self: start; transition: background .3s, color .3s, border-color .3s; }
.tp-west__go i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--tp-brown); flex: none; }
.tp-west__go i::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M9 7h8v8'/></svg>") center / 11px no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M9 7h8v8'/></svg>") center / 11px no-repeat; }
.tp-root .tp-west__go:hover { background: var(--tp-brown); border-color: var(--tp-brown); color: #fff; }
.tp-west__go:hover i { background: #fff; }
.tp-west__go:hover i::after { background: var(--tp-brown); }
.tp-root .tp-cert__ext { text-decoration: underline; text-underline-offset: 3px; }
.tp-cert__ext::after { content: " ↗"; font-size: .85em; }
/* 指定の定型文（イシン株式会社）：本文より控えめに、全文を記載 */
.tp-west-note { margin-top: clamp(28px, 3vw, 40px); padding: 16px 20px; background: var(--tp-paper-2); border-radius: var(--tp-r); font-size: 12.5px; line-height: 1.85; color: var(--tp-ink-2); }
.tp-west-note__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px; }
.tp-root .tp-west-note__links a { color: var(--tp-brown); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tp-root .tp-west-note__links a::after { content: " ↗"; font-size: .9em; }
.tp-root .tp-award__link--ext { text-decoration: underline; text-underline-offset: 3px; }
.tp-award__link--ext::after { content: " ↗"; font-size: .8em; }
.tp-root .tp-west__go { white-space: nowrap; }
@media (max-width: 600px) { .tp-root .tp-west__go { font-size: 11.5px; padding: 5px 5px 5px 11px; gap: 6px; } .tp-west__go i { width: 20px; height: 20px; } }

/* 会社情報マップ：資源循環センターのカバー範囲（半径約250km＋にじみ）。静止表示 */
.tp-co__map .tp-cov__core { animation: none; fill: rgba(184, 64, 42, .06); stroke: rgba(184, 64, 42, .32); stroke-width: 2; stroke-dasharray: 6 8; }
.tp-co__map .tp-cov__core.net__cover--plan { fill: rgba(47, 94, 142, .05); stroke: rgba(47, 94, 142, .32); }
.tp-co__map .tp-cov__halo { pointer-events: none; }

/* <button> のボタン：共通リセット（.tp-root button）に背景・文字が消されないよう戻す（送信ボタンが白地に白で見えなかった） */
.tp-root button.tp-btn { background: var(--btn-bg); color: var(--btn-fg); font-family: var(--tp-font-jp); font-weight: 600; font-size: 14.5px; line-height: 1.3; letter-spacing: .06em; }
.tp-root button.tp-btn--lg { font-size: 16px; }
.tp-root button.tp-btn--sm { font-size: 13.5px; }
.tp-root button.tp-btn:hover { color: #fff; }
.tp-root button.tp-btn--ghost:not(:hover) { color: var(--tp-brown); }

/* Network の地図：カバー範囲のにじみ（会社情報の地図と同じ250km基準） */
.tp-net .tp-cov__halo { pointer-events: none; }
.tp-lab__links a { white-space: nowrap; }

/* WEST100 定型文：規約上の必須記載。読める範囲で最小・目立たない配色（囲みなし） */
.tp-west-note { margin-top: 20px; padding: 0; background: none; border-radius: 0; font-size: 10px; line-height: 1.7; letter-spacing: .02em; color: #A39A8E; }
.tp-west-note__links { gap: 2px 14px; margin-top: 2px; }
.tp-root .tp-west-note__links a { color: #A39A8E; font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.tp-root .tp-west-note__links a:hover { color: var(--tp-ink-2); }
/* WEST100 の紹介ページボタン：小さく */
.tp-root .tp-west__go { margin-top: 8px; padding: 3px 3px 3px 10px; gap: 6px; font-size: 11px; font-weight: 600; }
.tp-west__go i { width: 18px; height: 18px; }
.tp-west__go i::after { -webkit-mask-size: 9px; mask-size: 9px; }
@media (max-width: 600px) { .tp-root .tp-west__go { font-size: 10.5px; padding: 3px 3px 3px 9px; } .tp-west__go i { width: 17px; height: 17px; } }

/* v2.1 細部：棒グラフの数値ラベルを棒の幅に収める／9本（月次）のグラフ／狭い画面のKV見出し／受賞の補足 */
.tp-bars { container-type: inline-size; }
.tp-bar b { font-size: clamp(9px, 2.9cqi, 11.5px); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
@container (max-width: 340px) { .tp-bar b { font-size: 9px; letter-spacing: -.07em; } }
.tp-bars--9 { grid-template-columns: repeat(9, 1fr); gap: 4px; }
.tp-bars__x--9 { grid-template-columns: repeat(9, 1fr); gap: 4px; }
.tp-award__d, .tp-cert__i small { overflow-wrap: anywhere; max-width: 100%; }
.tp-cert__i small { letter-spacing: 0; }
@media (max-width: 420px) { .tp-hero__title { font-size: clamp(30px, 9.6vw, 60px); } }
@container (max-width: 380px) { .tp-bars--9 .tp-bar:not(:first-child):not(:last-child) b { display: none; } }
.tp-bar:last-child b { font-size: clamp(9.5px, 3.4cqi, 12.5px); }
@container (max-width: 380px) { .tp-bar:last-child b { font-size: 10px; letter-spacing: -.06em; } }
.tp-cert__i small { padding-inline: 3px; box-sizing: border-box; }
.tp-root .tp-cert__i small { line-break: normal; }
.tp-root .tp-cert__i small { font-size: 11.5px; }
