/* =============================================
   野口製作所 メインスタイルシート
   ============================================= */

/* ----- CSS カスタムプロパティ ----- */
:root {
  --color-dark: #011738; /* Figma: ダークネイビー */
  --color-dark-2: #0a2347; /* ダークセクションの一段明るい面 */
  --color-accent: #0168b7; /* メインアクセント（青） */
  --color-accent-dark: #0157a0; /* ホバー時の濃い青 */
  --color-accent-deep: #4552e5; /* Figma: 青系差し色（ヒーローオーバーレイ等） */
  --color-blue: #0048d7; /* Figma: ナビ現在地の下線など */
  --color-bg: #ffffff;
  --color-bg-gray: #f5f7fa;
  --color-text: #111827;
  --color-text-body: #444444;
  --color-border: #dddddd;
  --color-overlay: rgba(1, 23, 56, 0.65);
}

/* ----- リセット・ベース ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #ececf0; /* フッター切り欠き等が覗く最終フォールバック（白回避） */
}

body {
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo,
    sans-serif;
  color: var(--color-text);
  line-height: 1.7;
  /* トンマナ：全ページ共通の縦グラデ背景（フロントと統一） */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f3f3f7 84.29%,
    #e6e6e6 140.26%
  );
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ----- レイアウト共通 ----- */
.section {
  position: relative;
  padding: 100px 0;
  /* トンマナ：硬い区切り線は使わず、背景グラデ＋--bg/--dark の面で分節 */
}

.section--bg {
  background: var(--color-bg-gray);
}

.section--dark {
  position: relative;
  background: var(--color-dark);
  color: #fff;
  /* トンマナ：折り面のように上下辺を斜めにカット（透過部は背景グラデが覗く） */
  -webkit-clip-path: polygon(0 0, 100% 44px, 100% 100%, 0 calc(100% - 44px));
  clip-path: polygon(0 0, 100% 44px, 100% 100%, 0 calc(100% - 44px));
  padding-top: 120px;
  padding-bottom: 120px;
}

/* 写真背景セクション（会社概要など）：ネイビーオーバーレイ＋白文字 */
.section--photo {
  position: relative;
  overflow: hidden;
}
.section--photo .section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 50%;
  /* TOPのABOUT USと同じ寒色化フィルタ */
  filter: url(#about-cool) contrast(1.15) saturate(1.02) brightness(0.92);
}
.section--photo .section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* ABOUT US同様、左を濃く右へ抜ける（フィルタの色味を活かす）*/
  background: linear-gradient(
    100deg,
    rgba(8, 24, 48, 0.72) 0%,
    rgba(8, 24, 48, 0.45) 50%,
    rgba(8, 24, 48, 0.2) 100%
  );
}
/* 会社概要テーブル（ダーク：写真背景に乗る白文字パネル）※baseと独立 */
.overview-table-dark {
  width: auto;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 16px;
  border-radius: 4px;
  overflow: hidden;
}
.overview-table-dark th,
.overview-table-dark td {
  padding: 8px 16px;
  border-bottom: 1px solid rgba(204, 204, 204, 1);
  text-align: left;
  vertical-align: top;
  color: #fff;
}
.overview-table-dark th {
  width: 160px;
  font-weight: 700;
  white-space: nowrap;
}
.overview-items-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 24px;
  margin-top: 10px;
  font-size: 13px;
}
.overview-items-grid span::before {
  content: "〇 ";
}

.section--cover {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.section--cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.section--cover .section__inner {
  position: relative;
  z-index: 1;
}

.section__inner {
  position: relative;
  z-index: 1; /* ウォーターマークより前面 */
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ----- グリッド ----- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

/* ----- セクションラベル（トンマナ：TOPのfig-label調・大きめティール） ----- */
.section-label {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 14px;
}

.section-label--light {
  color: var(--color-accent);
}

/* ----- 見出し ----- */
h1,
h2,
h3,
h4 {
  line-height: 1.4;
}

h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 16px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section__sub {
  color: var(--color-text-body);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.section__sub.text-light {
  color: rgba(255, 255, 255, 0.7);
}

.text-light {
  color: #fff;
}

/* ----- ボタン ----- */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  background: transparent;
  cursor: pointer;
  border-radius: 2px;
  transition:
    color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
/* quoifaire流：塗りが下からscaleYで伸びて出現（負のz-indexで背景の上・文字の下に描画） */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 23, 56, 0.16);
}
.btn:hover::before {
  transform: scaleY(1);
}

.btn--filled {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--filled::before {
  background: var(--color-accent-dark);
}
.btn--filled:hover {
  color: #fff;
  border-color: var(--color-accent-dark);
}

.btn--light {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn--light::before {
  background: #fff;
}
.btn--light:hover {
  color: var(--color-dark);
  border-color: #fff;
}

.btn--lg {
  font-size: 16px;
  padding: 16px 48px;
}

/* ----- カード ----- */
.card {
  /* トンマナ：硬い枠をやめ、上辺ティールアクセント＋淡い影のカード */
  border: none;
  border-top: 3px solid var(--color-accent);
  padding: 32px 28px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(1, 23, 56, 0.06);
}
.card h3 {
  color: var(--color-dark);
}
/* ダークセクション上のカード：一段明るいネイビー面＋ティール上辺＋影で視認性を確保 */
.section--dark .card {
  background: var(--color-dark-2);
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.section--dark .card h3 {
  color: #fff;
}

/* ----- ロゴグリッド ----- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 200px));
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.logo-placeholder {
  border: 1px solid #ddd;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #aaa;
  background: #f5f5f5;
}
/* 実ロゴ画像を入れたセル（テキストのプレースホルダには影響させない） */
.logo-placeholder:has(img) {
  height: 84px;
  padding: 14px;
  background: #fff;
}
.logo-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ----- 画像プレースホルダー（開発用） ----- */
.img-placeholder {
  background: #e8e8e8;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 13px;
}

/* MISSION の写真（会社情報ページ） */
.mission__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* CULTURE の写真（技術ページ）：縦長＋寒色＋ズーム＋放射状フォーカス（背景ぼかし） */
.culture__figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
}
.culture__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
  display: block;
  transform: scale(1.2); /* 寄る（拡大） */
  filter: url(#about-cool) contrast(1.12) saturate(0.92) brightness(0.9);
}
/* 上に重ねたぼかしコピーを、中央だけ透明にして「中央くっきり・周辺ぼかし」 */
.culture__photo--blur {
  filter: url(#about-cool) contrast(1.12) saturate(0.92) brightness(0.86)
    blur(2px);
  -webkit-mask-image: radial-gradient(
    ellipse 62% 54% at 54% 42%,
    transparent 42%,
    #000 76%
  );
  mask-image: radial-gradient(
    ellipse 62% 54% at 54% 42%,
    transparent 42%,
    #000 76%
  );
}

/* はみ出し装飾による横スクロール防止 */
.page-home {
  overflow-x: clip;
  /* TOPフレーム全体の線形グラデーション（Figma実測：180deg / 縦） */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f3f3f7 84.29%,
    #e6e6e6 140.26%
  );
}
/* フッター切り欠きが覗く背景は body のグラデ（上記）で全ページ共通に解決済み */

/* ----- ヒーロー（Figma: 1280x858 / 写真＋ブルーオーバーレイ） ----- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  /* 下辺の斜め切り込み（右側が切り上がり・左下は写真のまま） */
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.hero__bg {
  position: absolute;
  top: -20%;
  right: 0;
  bottom: -20%;
  left: 0;
  z-index: 0;
  background-color: var(--color-dark);
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 858px;
  max-width: 1280px;
  margin: 0 auto;
}

/* タイトル＋リード：左上（Figma座標準拠） */
.hero__content {
  position: absolute;
  left: 101px;
  top: 159px;
  width: 560px;
}

.hero__title {
  font-family:
    "游明朝体", "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 85px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  margin: 0;
  color: #fff;
}

.hero__sub {
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.02em;
  max-width: 540px;
  margin-top: 36px;
}

/* ブランドロゴ：右下（Figma座標 x777 → 右端から107px） */
.hero__brand {
  position: absolute;
  top: 525px;
  right: 107px;
  width: 396px;
}

.hero__brand-img {
  width: 100%;
  height: auto;
}
.hero__brand-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family:
    "游明朝体", "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.hero__brand-prefix {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.hero__brand-name {
  font-size: 55px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.tag {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tag--filled {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ----- ページヒーロー（内部ページ共通） ----- */
.page-hero {
  position: relative;
  overflow: hidden;
  /* トンマナ：フロントheroと同じダークネイビー。下辺は右下が切り上がるスラント */
  background: var(--color-dark);
  color: #fff;
  padding: 92px 0 104px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}

/* 写真ヒーロー：背景写真＋ネイビーオーバーレイ＋縦組みウォーターマーク */
.page-hero--photo {
  padding: 120px 0 132px;
}
.page-hero__bg {
  position: absolute;
  top: -20%;
  right: 0;
  bottom: -20%;
  left: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 50%;
  will-change: transform;
}
/* 会社情報ページのみ、ヒーロー背景を少し下げて表示 */
.page-company .page-hero__bg {
  background-position: center 70%;
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 寒色ネイビーのオーバーレイ（白文字の可読性＋トンマナの色味） */
  background: linear-gradient(
    100deg,
    rgba(1, 23, 56, 0.92) 0%,
    rgba(1, 23, 56, 0.78) 45%,
    rgba(2, 30, 70, 0.62) 100%
  );
}
.page-hero--photo .page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-accent);
}

/* ページタイトル（英＋日）：縦並び。小さいティール英字を上、大きい白の日本語を下 */
.page-hero__pagetitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 22px;
}
.page-hero__en {
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}
.page-hero__ja {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
}

.page-hero__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}

.page-hero__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.9;
  max-width: 760px;
}

/* ----- NEWS一覧 ----- */
.news-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(1, 23, 56, 0.1);
}

.news-list__item {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 12px;
  border-bottom: 1px solid rgba(1, 23, 56, 0.1);
  font-size: 14px;
  transition: background 0.2s;
}

.news-list__item:hover {
  background: rgba(1, 23, 56, 0.03);
}

.news-list__date {
  font-weight: 500;
  white-space: nowrap;
}

.news-list__cat {
  border: 1px solid rgba(0, 193, 194, 0.45);
  background: rgba(0, 193, 194, 0.1);
  color: var(--color-accent-dark);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

/* ----- CTA セクション ----- */
.cta {
  padding: 64px 40px;
  text-align: center;
}

.cta__inner {
  border: 2px solid var(--color-accent);
  max-width: 640px;
  margin: 0 auto;
  padding: 30px 50px;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cta p {
  color: #666;
  margin-bottom: 28px;
}

/* ----- グローバルナビ ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  margin: 0 auto;
  padding: 0 60px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo-img {
  height: 40px;
  width: auto;
}

.site-header__nav {
  margin-right: auto; /* ナビはロゴ直後（左寄せ）、以降を右へ押し出す */
  margin-left: 20px;
}

.site-header__nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__nav a {
  position: relative;
  padding: 6px 14px;
  font-size: 16px;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

/* ホバー：下線が左からスッと引かれる（現在ページと同じ青） */
.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -7px;
  height: 3px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.35, 0.755, 0.42, 0.95);
}
.site-header__nav a:hover::after {
  transform: scaleX(1);
}
/* 現在地：青い下線を常時表示 */
.site-header__nav a.is-current::after {
  background: var(--color-blue);
  transform: scaleX(1);
}

/* ホームページのヘッダー（固定・ヒーロー上はダーク） */
body.home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition:
    background 0.3s,
    border-color 0.3s;
}

body.home .site-header__nav a {
  color: #fff;
  transition: color 0.3s;
}

/* ヒーロー上ではロゴを白く（写真上で視認） */
body.home .site-header:not(.is-scrolled) .site-header__logo-img {
  filter: brightness(0) invert(1);
}

/* スクロール後（ヒーロー領域を外れたら）白ヘッダーに切り替え */
body.home .site-header.is-scrolled {
  background: #fff;
  border-bottom-color: var(--color-border);
  backdrop-filter: none;
}

body.home .site-header.is-scrolled .site-header__nav a {
  color: var(--color-text);
}

/* メニュー（モバイルのみ表示・デスクトップは非表示） */
/* ヘッダーのお問い合わせ導線（SPのみ表示。PCは浮遊CTA/フッターがあるため非表示） */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__contact {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}
.site-header__contact:hover {
  background: var(--color-accent-dark);
}
.site-header__contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 12px;
  background: var(--color-dark);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
/* quoifaire流：ホバーで塗りが下からscaleYで伸びる（ティール） */
.site-header__hamburger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.site-header__hamburger:hover::before {
  transform: scaleY(1);
}

.site-header__hamburger span {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* 開いている間はハンバーガーを×（閉じるボタン）にアニメーション */
.site-header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.site-header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- フッター ----- */
.site-footer {
  background: var(--color-dark);
  color: #8a9bbf;
  padding: 105px 0 24px;
  /* 上端の切り込み：右上がりの斜め（Figma実測＝1280幅で左が36px低い）。
     透過した三角部分はページ背景が覗く */
  -webkit-clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
}

/* ブランド */
.site-footer__name {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.site-footer__addr {
  font-size: 13px;
  font-weight: 300;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 14px;
}
.site-footer__tel {
  font-size: 11px;
  color: #fff;
  line-height: 1.5;
}
.site-footer__subsidy {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-top: 6px;
}

/* フッターナビ（グローバルナビと同じ項目・横一列） */
.site-footer__col-head {
  margin-bottom: 16px;
}
.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-bottom: 28px;
}
.site-footer__nav li {
  margin: 0;
}
.site-footer__nav a,
.site-footer__col-head,
.site-footer__col-head a {
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}
.site-footer__nav a:hover,
.site-footer__col-head a:hover {
  opacity: 0.7;
}

/* お問い合わせボタン */
.site-footer__cv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  padding: 9px 18px;
  border-radius: 2px;
  transition: background 0.2s;
}
.site-footer__cv svg {
  width: 16px;
  height: 16px;
}
.site-footer__cv:hover {
  background: var(--color-accent-dark);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #555;
}

.site-footer__bottom a {
  color: #555;
}

.site-footer__bottom a:hover {
  color: #aaa;
}

/* =============================================
   ページ固有コンポーネント
   ============================================= */

/* ----- 数字ブロック（会社情報・半導体） ----- */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 40px;
  border: 1px solid rgba(1, 23, 56, 0.12);
}

.number-item {
  padding: 32px 16px;
  text-align: center;
  border-right: 1px solid rgba(1, 23, 56, 0.12);
}

.number-item:last-child {
  border-right: none;
}

.number-val {
  font-family: "Roboto", sans-serif; /* トンマナ：数字はRoboto＋ティール */
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--color-accent);
}

.number-unit {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-dark);
}

.number-label {
  font-size: 12px;
  color: #888;
}

/* ダーク帯のNUMBERS：単位・ラベル・罫を白基調に */
.section--dark .number-unit {
  color: rgba(255, 255, 255, 0.85);
}
.section--dark .number-label {
  color: rgba(255, 255, 255, 0.6);
}
.section--dark .numbers-grid,
.section--dark .number-item {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ----- 代表者名 ----- */
.rep-name {
  margin-top: 24px;
  font-size: 24px;
  color: #666;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

/* ----- 変革テーブル（会社情報・技術・半導体） ----- */
.change-table {
  margin-top: 40px;
  border-top: 2px solid var(--color-dark);
}

.change-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  padding: 56px 0 56px 96px; /* 左に背面ゴースト数字のための余白 */
  border-bottom: 1px solid rgba(1, 23, 56, 0.1);
  align-items: start;
}

.change-row--last {
  border-bottom: none;
}

.change-num {
  /* トンマナ：TOPの数字と同じティール抜き文字を、背面の巨大ゴーストとして配置 */
  position: absolute;
  left: -14px;
  top: 28px;
  font-family: "Roboto", sans-serif;
  font-size: 132px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(1, 104, 183, 0.45);
  text-stroke: 1.5px rgba(1, 104, 183, 0.45);
  z-index: 0;
  pointer-events: none;
}

.change-left,
.change-right {
  position: relative;
  z-index: 1;
}

.change-left {
  padding-right: 8px;
}

.change-sub {
  font-size: 16px;
  color: #666;
  margin-top: 8px;
  line-height: 1.7;
}

.change-right {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  padding-top: 4px;
}

/* ----- タイムライン（会社情報） ----- */
.timeline {
  margin-top: 40px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 148px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: rgba(1, 23, 56, 0.12);
}

.timeline__item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0;
  padding-bottom: 32px;
  position: relative;
}

.timeline__item::after {
  content: "";
  position: absolute;
  left: 142px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent); /* トンマナ：ティールのマーカー */
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(0, 193, 194, 0.3);
}

.timeline__year {
  font-size: 13px;
  font-weight: bold;
  color: var(--color-dark);
  text-align: right;
  padding-right: 32px;
  padding-top: 2px;
}

.timeline__text {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  padding-left: 32px;
}

/* ----- 会社概要テーブル（会社情報・半導体） ----- */
.overview-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14px;
}

.overview-table th,
.overview-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(1, 23, 56, 0.1);
  text-align: left;
  vertical-align: top;
}

.overview-table th {
  width: 160px;
  color: var(--color-dark);
  font-weight: 700;
  white-space: nowrap;
  background: rgba(1, 23, 56, 0.04);
}

/* ----- スタットグリッド（設備） ----- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
  border: 1px solid #ddd;
}

.stat-item {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid #ddd;
}

.stat-item:last-child {
  border-right: none;
}

.stat-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 6px;
}

.stat-val {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
}

.stat-unit {
  font-size: 14px;
  font-weight: normal;
}

/* ----- 設備カード（設備） ----- */
.equipment-card {
  border: 1px solid #ddd;
  background: #fff;
  overflow: hidden;
}

.equipment-card__body {
  padding: 20px;
}

.equipment-card__body h3 {
  margin-bottom: 6px;
}

/* ----- コーティング比較テーブル（技術） ----- */
.coating-table {
  margin-top: 32px;
  border: 1px solid rgba(1, 23, 56, 0.12);
  font-size: 14px;
  overflow: hidden;
  border-radius: 4px;
}

.coating-header,
.coating-row {
  display: grid;
  grid-template-columns: 220px 1fr 100px 140px;
}

.coating-header {
  background: var(--color-dark); /* トンマナ：ネイビーヘッダー */
  color: #fff;
}

.coating-header > div,
.coating-row > div {
  padding: 14px 16px;
  border-right: 1px solid rgba(1, 23, 56, 0.08);
}

.coating-header > div:last-child,
.coating-row > div:last-child {
  border-right: none;
}

.coating-header > div {
  border-right-color: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.coating-row {
  border-bottom: 1px solid rgba(1, 23, 56, 0.08);
}

.coating-row--last {
  border-bottom: none;
}

.coating-type {
  font-size: 11px;
  color: #8893a5;
}

.coating-temp {
  font-weight: bold;
  color: var(--color-dark);
}

.cost-bar {
  height: 6px;
  background: rgba(1, 23, 56, 0.08);
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.cost-bar span {
  display: block;
  height: 100%;
  background: var(--color-accent); /* トンマナ：ティールのバー */
  position: absolute;
  top: 0;
  left: 0;
}

/* ----- コーティングガイド（技術） ----- */
.coating-guide {
  margin-top: 40px;
  padding: 36px;
  background: rgba(0, 193, 194, 0.05);
  border: 1px solid rgba(0, 193, 194, 0.2);
  border-radius: 4px;
}

.guide-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 6px;
}

/* ----- 特性バー（半導体） ----- */
.feature-bars {
  margin-top: 8px;
}

.feature-bar {
  display: grid;
  grid-template-columns: 80px 1fr 150px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-bar__label {
  font-size: 12px;
  font-weight: bold;
  color: var(--color-dark);
}

.feature-bar__track {
  height: 6px;
  background: rgba(1, 23, 56, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.feature-bar__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--color-accent); /* トンマナ：ティール */
}

.feature-bar__note {
  font-size: 11px;
  color: #888;
}

/* ----- 製品ロウ（半導体） ----- */
.product-rows {
  margin-top: 32px;
  border-top: 2px solid #333;
}

.product-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid #eee;
}

.product-row--last {
  border-bottom: none;
}

.product-row__img {
  height: 200px;
  flex-shrink: 0;
}

.product-row__body:only-child {
  grid-column: 1 / -1;
}

.product-specs {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}

.product-spec {
  font-size: 13px;
}

.product-spec__label {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 2px;
}

/* ----- テックブリッジ（半導体） ----- */
.tech-bridge {
  background: #f7f7f7;
  border: 1px solid #eee;
  padding: 24px;
}

.tech-bridge__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

.tech-bridge__box {
  border: 1px solid #ddd;
  padding: 16px;
  background: #fff;
  font-size: 13px;
  line-height: 1.9;
}

.tech-bridge__box--new {
  border-color: #333;
  border-width: 2px;
}

.tech-bridge__label {
  font-size: 11px;
  font-weight: bold;
  color: #888;
  margin-bottom: 8px;
}

.tech-bridge__arrow {
  font-size: 24px;
  color: #bbb;
  text-align: center;
}

/* ----- お問い合わせ ----- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form__placeholder {
  background: #f7f7f7;
  border: 2px dashed #ccc;
  padding: 48px 32px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
  margin-top: 16px;
}

.contact-info {
  padding: 32px;
  background: #f7f7f7;
  border: 1px solid #eee;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info__item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.contact-info__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info__label {
  font-size: 11px;
  font-weight: bold;
  color: #888;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info__val {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}

.contact-info__note {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

/* =============================================
   CMS テンプレート用コンポーネント
   ============================================= */

/* ----- カテゴリーフィルター（NEWS一覧） ----- */
.cat-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cat-filter__btn {
  padding: 6px 20px;
  border: 1px solid #ccc;
  font-size: 13px;
  color: #555;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.cat-filter__btn:hover,
.cat-filter__btn.is-active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ----- ページネーション ----- */
.pagination {
  margin-top: 40px;
  display: flex;
  gap: 4px;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  font-size: 13px;
  color: #555;
  transition: border-color 0.2s;
}

.pagination .page-numbers.current {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.pagination .page-numbers:hover:not(.current) {
  border-color: #999;
}

/* ----- NEWS詳細 ----- */
.single-news__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.single-news__body {
  max-width: 760px;
  margin-bottom: 48px;
}

/* ----- リッチテキスト本文 ----- */
.entry-content h2 {
  font-size: 22px;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.entry-content h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}
.entry-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}
.entry-content ul,
.entry-content ol {
  margin: 0 0 16px 24px;
  line-height: 1.8;
}
.entry-content li {
  margin-bottom: 4px;
}
.entry-content img {
  max-width: 100%;
  margin: 16px 0;
}
.entry-content a {
  text-decoration: underline;
  color: #555;
}

/* ----- 前後ナビ（NEWS詳細） ----- */
.post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-top: 40px;
}

.post-nav__prev {
  text-align: left;
}
.post-nav__next {
  text-align: right;
}

.post-nav__archive {
  white-space: nowrap;
  font-size: 13px;
}

.post-nav__label {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 2px;
}

.post-nav__title {
  display: block;
  font-size: 13px;
  color: #333;
}

/* ----- 製品カード（製品一覧） ----- */
.product-card {
  display: block;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  color: inherit;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 8px 28px rgba(1, 23, 56, 0.07);
}

/* ホバー演出は後方の「製品カード：リッチホバー」ブロックで定義（revealのis-visibleに勝たせるため） */

.product-card__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__img-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: #999;
  font-size: 12px;
  flex-direction: column;
  gap: 6px;
}

.product-card__body {
  padding: 16px;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.product-card__tag {
  font-size: 10px;
  border: 1px solid rgba(1, 104, 183, 0.5);
  border-radius: 20px;
  padding: 2px 10px;
  background: rgba(1, 104, 183, 0.08);
  color: var(--color-accent-dark);
  line-height: 1.6;
}

.product-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 6px;
}

.product-card__excerpt {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.product-card__more {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  padding-top: 10px;
  border-top: 1px solid rgba(1, 23, 56, 0.08);
}

/* ----- 製品モーダル ----- */
.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 500;
  padding: 24px;
}

.product-modal.is-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* 箱＋左右矢印を横並びにするステージ */
.product-modal__stage {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
}

.product-modal__box {
  background: #fff;
  width: 600px;
  max-width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  position: relative;
  border-radius: 4px;
}

.product-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(1, 23, 56, 0.55);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  font-family: inherit;
}

.product-modal__close:hover {
  background: rgba(1, 23, 56, 0.85);
}

.product-modal__img-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-modal__img-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.product-modal__body {
  padding: 22px 28px 26px;
}

.product-modal__tag {
  display: inline-block;
  font-size: 11px;
  border: 1px solid #ccc;
  padding: 3px 12px;
  background: #f5f5f5;
  margin-bottom: 10px;
}

.product-modal__title {
  font-size: 21px;
  margin-bottom: 12px;
}

.product-modal__desc {
  font-size: 14px;
  color: #444;
  line-height: 1.75;
}

.product-modal__desc p {
  margin: 0 0 12px;
}

.product-modal__desc > :first-child {
  margin-top: 0;
}

.product-modal__desc > :last-child {
  margin-bottom: 0;
}

/* 箱の外：前後の丸い矢印 */
.product-modal__arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #011738;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal__arrow:hover {
  background: #fff;
  transform: scale(1.08);
}

/* 箱の外：カウンター（暗いオーバーレイ上なので白） */
.product-modal__counter {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* SP：矢印は箱幅を圧迫しないよう画像上にオーバーレイ */
@media (max-width: 600px) {
  .product-modal__stage {
    width: 100%;
    position: relative;
  }
  .product-modal__box {
    width: 100%;
  }
  .product-modal__arrow {
    position: absolute;
    top: 32%;
    width: 40px;
    height: 40px;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.85);
    z-index: 6;
  }
  .product-modal__arrow--prev {
    left: 8px;
  }
  .product-modal__arrow--next {
    right: 8px;
  }
}

/* ----- Contact Form 7 ----- */
.cf7-field {
  margin-bottom: 20px;
}

.cf7-field label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #555;
  margin-bottom: 6px;
}

.cf7-required {
  color: #c00;
  margin-left: 2px;
}

.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form select,
.mw_wp_form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(1, 23, 56, 0.2);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  appearance: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

.mw_wp_form input[type="text"]:focus,
.mw_wp_form input[type="email"]:focus,
.mw_wp_form select:focus,
.mw_wp_form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 193, 194, 0.15);
}

.mw_wp_form select {
  appearance: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.mw_wp_form textarea {
  height: 160px;
  resize: vertical;
}

/* 電話番号（3分割） */
.mwform-tel-field input[type="tel"] {
  width: 72px;
  padding: 12px 8px;
  border: 1px solid rgba(1, 23, 56, 0.2);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  text-align: center;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.mwform-tel-field input[type="tel"]:focus {
  outline: none;
  border-color: #333;
}

/* チェックボックス */
.mwform-checkbox-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  font-weight: normal;
}

/* エラーメッセージ */
.mw_wp_form .error {
  font-size: 12px;
  color: #c00;
  margin-top: 4px;
  display: block;
}

/* 確認画面 */
.mw_wp_form_confirm .cf7-field {
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.mw_wp_form_confirm .cf7-field label {
  margin-bottom: 4px;
}

.mwform-confirm-value {
  font-size: 14px;
  color: #333;
  padding: 4px 0;
}

.mw_wp_form_confirm .form-confirm-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* 送信ボタン */
.mw_wp_form input[type="submit"] {
  cursor: pointer;
  font-family: inherit;
}

/* =============================================
   WHAT IS JIG セクション（オーバーラップ配置）
   ============================================= */
.what-is-jig {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 104px 0 116px;
}

/* 左下のティールドットパターン */
.what-is-jig::after {
  content: "";
  position: absolute;
  bottom: 70px;
  left: 300px;
  width: 84px;
  height: 84px;
  background-image: radial-gradient(
    circle,
    rgba(23, 195, 206, 0.45) 2.5px,
    transparent 2.5px
  );
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 1;
}

.what-is-jig__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  min-height: 540px;
}

.what-is-jig__text {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.what-is-jig__text h2 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.5;
  margin: 16px 0 30px;
}

.what-is-jig__lead {
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-text-body);
  max-width: 520px;
}

/* 右：傾いた写真パネル（上にせり出してオーバーラップ） */
.what-is-jig__visual {
  position: absolute;
  top: -64px;
  right: 36px;
  width: 480px;
  z-index: 2;
}

.what-is-jig__tilt {
  position: relative;
  aspect-ratio: 4 / 5;
  transform: rotate(-8deg);
  box-shadow: 0 34px 64px rgba(12, 22, 40, 0.3);
  overflow: hidden;
}

.what-is-jig__tilt .img-placeholder {
  position: absolute;
  inset: 0;
  border: none;
  background: linear-gradient(140deg, #6f9cc0 0%, #28486a 55%, #16304c 100%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* 左下：六角形サブ写真 */
.what-is-jig__sub {
  position: absolute;
  left: 80px;
  bottom: 6px;
  width: 210px;
  height: 188px;
  z-index: 2;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  box-shadow: 0 18px 36px rgba(12, 22, 40, 0.22);
}

.what-is-jig__sub .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  background: linear-gradient(135deg, #7fb0cf 0%, #355d80 100%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

/* 装飾スクエア（共通） */
.deco-sq {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 2;
  pointer-events: none;
}
.deco-sq--a {
  background: var(--color-accent);
  top: 26px;
  left: 54%;
}
.deco-sq--b {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-accent);
  bottom: 150px;
  right: 64px;
}
.deco-sq--c {
  background: var(--color-accent-deep);
  bottom: 60px;
  left: 252px;
  width: 10px;
  height: 10px;
}

/* =============================================
   PRODUCTS セクション（テキスト左・写真右 2カラム）
   ============================================= */
.products-section {
  background: var(--color-dark);
  color: #fff;
}

.products-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 64px;
  align-items: center;
}

.products-text {
  display: flex;
  flex-direction: column;
}

.products-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.products-images .img-placeholder {
  aspect-ratio: 1 / 1;
  background: #1a2a40;
  border: none;
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

/* =============================================
   強みカード（OUR STRENGTHS）
   ============================================= */
.strength-card {
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  padding: 32px 24px 28px;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
}

.strength-card__num {
  position: absolute;
  top: 16px;
  right: 16px;
  display: block;
  font-size: 64px;
  font-weight: 900;
  color: var(--color-accent);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.strength-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-card__icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strength-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.6;
}

.strength-card p {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.8;
  flex: 1;
}

.strength-card__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.strength-card__link:hover {
  opacity: 0.7;
}

/* カード03：写真付き */
.strength-card--photo {
  border-top: 1px solid var(--color-border);
  padding: 0;
  overflow: hidden;
}

.strength-card__photo {
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}

.strength-card__photo .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  background: #c8c8c8;
  font-size: 11px;
}

.strength-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.strength-card--photo .strength-card__num {
  top: 12px;
  right: 12px;
}

.strength-card--photo .strength-card__link {
  margin-top: auto;
  padding-top: 20px;
}

/* =============================================
   テキストリンク
   ============================================= */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.text-link:hover {
  opacity: 0.7;
}

.text-link--light {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.2s;
}

.text-link--light:hover {
  opacity: 0.7;
}

/* =============================================
   NEWS 更新スタイル
   ============================================= */
.news-list__item {
  grid-template-columns: 110px 90px 1fr auto;
}

.news-list__arrow {
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
}

.news-list__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

/* =============================================
   フッター CTA ボタン
   ============================================= */
.site-footer__cta-btn {
  display: block;
  margin-top: 16px;
  padding: 14px 16px;
  font-size: 13px;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  border-radius: 2px;
  transition: background 0.2s;
  text-decoration: none;
}

.site-footer__cta-btn:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

/* =============================================
   浮遊メニュー＋CTA（Figma: 右上隅・縦積み）
   ============================================= */
.floating-stack {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  width: 96px;
}

/* ダークのメニュー（ハンバーガー）96x176 */
.floating-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 96px;
  height: 176px;
  background: var(--color-dark);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
/* ホバーで塗りが下からscaleYで伸びる（完全対比：紺⇄ティール／opacityで下地を少し透かしてずらす） */
.floating-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-accent);

  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.floating-menu:hover::before {
  transform: scaleY(1);
}
.floating-menu span {
  position: relative;
  z-index: 1;
  display: block;
  width: 27px;
  height: 2px;
  background: #fff;
}

/* ティールのお問い合わせ 96x100 */
.floating-cta {
  position: relative;
  overflow: hidden;
  z-index: 0;
  width: 96px;
  height: 100px;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  text-decoration: none;
}
/* ホバー：塗りが下からネイビーで伸びる（完全対比：ティール⇄紺／opacityで下地を少し透かしてずらす） */
.floating-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-dark);

  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.floating-cta:hover::before {
  transform: scaleY(1);
}
/* 同化防止：どちらかをホバーした時だけ境目に細い線を出す */
.floating-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}
.floating-menu:hover + .floating-cta::after,
.floating-cta:hover::after {
  opacity: 1;
}

.floating-cta__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cta__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.floating-cta:hover {
  color: #fff;
}
.floating-cta:hover .floating-cta__icon {
  transform: translateY(-3px) scale(1.1);
}

/* floating-menu を開くと×にアニメーション */
.floating-menu span {
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.floating-stack.is-open .floating-menu span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}
.floating-stack.is-open .floating-menu span:nth-child(2) {
  opacity: 0;
}
.floating-stack.is-open .floating-menu span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* floating-menu のドロップダウンパネル（ボタンの左隣に表示） */
.floating-panel {
  position: fixed;
  top: 0;
  right: 96px;
  width: 240px;
  background: var(--color-dark);
  padding: 16px 0;
  box-shadow: -10px 10px 30px rgba(1, 23, 56, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition:
    opacity 0.25s,
    transform 0.25s,
    visibility 0.25s;
  z-index: 300;
}
.floating-stack.is-open .floating-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.floating-panel a {
  display: block;
  padding: 14px 28px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    background 0.2s,
    color 0.2s;
}
.floating-panel a:hover {
  background: var(--color-dark-2);
  color: var(--color-accent);
}
.floating-panel a.is-current {
  color: var(--color-accent);
  font-weight: 700;
}
.floating-panel__cta {
  margin-top: 10px;
  background: var(--color-accent);
  color: #fff !important;
  text-align: center;
  font-weight: 700 !important;
  border-bottom: none !important;
}
.floating-panel__cta:hover {
  background: var(--color-accent-dark) !important;
}

/* =============================================
   モックデザイン用 追加コンポーネント
   ============================================= */

/* ----- セクションラベル（2色split / 中央） ----- */
.section-label--split {
  color: var(--color-text);
}
.section-label--split span {
  color: var(--color-accent);
}
.section-label--split.section-label--light {
  color: rgba(255, 255, 255, 0.85);
}
.section-label--split.section-label--light span {
  color: var(--color-accent);
}
.section-label--center {
  text-align: center;
}

/* ----- 斜めカット上辺（共通） ----- */
.section--slope-top {
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
}

/* ----- ヒーロー：右上ティールアクセント ----- */
.hero__accent {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 96px;
  height: 96px;
  background: var(--color-accent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}

/* =============================================
   OUR STRENGTH（千鳥配置 + 六角形装飾）
   ============================================= */
.strength-section {
  position: relative;
  overflow: hidden;
}

/* 左端の縦組みウォーターマーク */
.strength-watermark {
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 88px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: rgba(12, 22, 40, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.strength-cluster {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

/* 千鳥（中央カードを下げる） */
.strength-card--02 {
  margin-top: 72px;
}
.strength-card--03 {
  margin-top: 24px;
}

/* カード共通の見た目（既存 .strength-card を継承しつつ調整） */
.strength-cluster .strength-card {
  position: relative;
  z-index: 2;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 22, 40, 0.08);
}

/* 巨大アウトライン数字 */
.strength-card__bignum {
  position: absolute;
  top: -34px;
  right: 14px;
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(23, 195, 206, 0.55);
  pointer-events: none;
  user-select: none;
}

.strength-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
}

/* 背景の六角形アウトライン */
.strength-hex {
  position: absolute;
  z-index: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgba(23, 195, 206, 0.28);
  pointer-events: none;
}
.strength-hex::before {
  content: "";
  position: absolute;
  inset: 2px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--color-bg-gray);
}
.strength-hex--1 {
  width: 300px;
  height: 340px;
  top: -40px;
  left: 8%;
}
.strength-hex--2 {
  width: 220px;
  height: 250px;
  top: 150px;
  left: 44%;
  opacity: 0.7;
}
.strength-hex--3 {
  width: 260px;
  height: 300px;
  top: 30px;
  right: 6%;
  opacity: 0.6;
}

/* 右下の斜めカット写真 */
.strength-cluster__photo {
  position: absolute;
  right: -20px;
  bottom: -64px;
  width: 200px;
  height: 130px;
  z-index: 1;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 0 16px 32px rgba(12, 22, 40, 0.18);
}
.strength-cluster__photo .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  background: linear-gradient(135deg, #44617e 0%, #1c2c40 100%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

/* =============================================
   PRODUCTS（縦長3枚）
   ============================================= */
.products-images--tall {
  grid-template-columns: repeat(3, 1fr);
}
.products-images--tall .img-placeholder {
  aspect-ratio: 3 / 5;
  clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 93%);
}

/* =============================================
   ABOUT US（テキスト左 + 写真右 + 斜めカット）
   ============================================= */
.about-section {
  position: relative;
  background: var(--color-dark);
  color: #fff;
  overflow: hidden;
}

.about-section__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.about-section__photo .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  background: linear-gradient(120deg, #20364f 0%, #0c1628 70%);
  color: rgba(255, 255, 255, 0.4);
}

.about-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 80px;
}

.about-section__text {
  max-width: 520px;
}

/* =============================================
   NEWS（ダーク反転）
   ============================================= */
.news-section .news-list__item {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.news-section .news-list__item:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
}
.news-section .news-list__date {
  color: rgba(255, 255, 255);
}
.news-section .news-list__title {
  color: #fff;
}
.news-section .news-list__more {
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* =============================================
   Figma準拠セクション（v6 全面）
   ============================================= */
.fig-label {
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: var(--color-dark);
}
.fig-label--lg {
  font-size: 23px;
}
.fig-label--center {
  text-align: center;
}
.fig-label .hl {
  font-weight: 800;
}
.fig-label--blue-hl .hl {
  color: var(--color-blue);
}
.fig-label--teal-hl .hl {
  color: var(--color-accent);
}
.fig-label--teal {
  color: var(--color-accent);
  font-weight: 800;
}
.fig-label--blue {
  color: var(--color-blue);
  font-weight: 800;
}

.fig-h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.fig-body {
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: -0.02em;
  color: #000;
}

/* 矢印付きリンクボタン */
.fig-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 20px; /* Figma 20px */
  letter-spacing: -0.04em;
  color: var(--color-accent);
  transition: opacity 0.2s;
}
.fig-btn:hover {
  opacity: 0.7;
}
.fig-btn__arrow {
  display: block;
  width: 45px;
  height: 6px;
  /* Figma btn-arrow.svg。maskで形を取り currentColor で着色（通常=teal、--light=白） */
  background-color: currentColor;
  -webkit-mask: url(../img/btn-arrow.svg) no-repeat center / contain;
  mask: url(../img/btn-arrow.svg) no-repeat center / contain;
}
.fig-btn--light {
  color: #fff;
}

/* ② WHAT IS JIG */
.whatisjig {
  position: relative;
  background: transparent; /* ページ全体のグラデーションを透かす */
  overflow: visible; /* 写真が上のヒーローへ少しオーバーラップ */
}
.whatisjig__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 76px 86px 364px 101px; /* 下余白でOUR STRENGTHをFigma位置(y1788)へ */
}
.whatisjig__text {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.whatisjig__heading {
  font-size: 62px;
  line-height: 95px; /* Figma lh95 */
  margin: 36px 0 0;
  color: #000;
  max-width: 744px;
  position: relative;
  z-index: 2;
}
.whatisjig__lead {
  margin-top: 36px;
  font-size: 16px;
  line-height: 35px; /* Figma lh35（広め） */
  letter-spacing: -0.28px;
  color: #000;
  position: relative;
  z-index: 2;
}
/* 右：大きな傾き写真（Figma img_a: x550 y805 w731 / 装飾スクエア焼き込み済み） */
.whatisjig__photo {
  position: absolute;
  z-index: 1;
  top: -53px; /* ページ y805（ヒーロー下の白地に上端） */
  right: 0; /* 右端フラッシュ（左端=549px） */
  width: 731px;
  height: auto;
  pointer-events: none;
}
/* 左下：コーティングの傾き写真（Figma img_b: x-167 y1610 w396 ＝ページy1610） */
.whatisjig__sub {
  position: absolute;
  z-index: 1;
  left: -167px;
  top: 752px; /* ページ y1610（セクションtop 858 + 752） */
  bottom: auto;
  width: 396px;
  height: auto;
  pointer-events: none;
}

/* ③ OUR STRENGTH */
.strength {
  position: relative;
  background: transparent; /* ページ全体のグラデーションを透かす */
  overflow: visible; /* ワーカー写真・ウォーターマークをCLIENTSへはみ出させる */
  padding: 60px 0 96px;
}
.strength__deco {
  position: absolute;
  left: -130px;
  top: 320px;
  width: 360px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}
.strength__watermark {
  position: absolute;
  /* Figma書き出しSVG（縦組み NOGUCHI/SEISAKUSHO/MEKKI JIG/MANUFACTURER）。
     左端の MEKKI JIG/MANUFACTURER 列はviewBoxで見切れる＝ページ左端から裁ち落とす意図 */
  left: 0;
  top: 584px; /* 旧回転テキスト(origin left top で上方向描画)と同じ見え位置へ。Figma bbox 2309-3080 */
  width: 250px;
  height: 768px;
  /* SVGは fill-opacity 0.4。デザインの透かしはより淡いので全体を間引いて調整（実効 約0.07） */
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}
.strength__head {
  position: relative;
  z-index: 2;
  text-align: center;
}
.strength__title {
  font-size: 40px;
  line-height: 80px; /* Figma lh80 */
  margin: 13px 0 28px; /* ラベル→見出し13 / 見出し→サブ28 */
}
.strength__sub {
  display: inline-block;
  font-size: 16px;
  line-height: 26px;
}
.strength__cluster {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 73px auto 0; /* サブ→カード73 */
  height: 560px;
}
/* 六角形フレーム（Figma書き出しSVG）：viewBox1280をクラスターに1:1マップ */
.strength__net {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 1280px;
  height: auto;
  pointer-events: none;
}
/* SP用の縦向き網はデスクトップでは非表示 */
.strength__net-sp {
  display: none;
}
/* 右下のワーカー写真（Figma img_c: 相対916,496 w513） */
.strength__worker {
  position: absolute;
  z-index: 1;
  left: 916px;
  top: 496px;
  width: 513px;
  height: auto;
  pointer-events: none;
}
.scard {
  position: absolute;
  z-index: 2;
  width: 240px;
}
.scard--01 {
  left: 143px;
  top: 0;
}
.scard--02 {
  left: 522px;
  top: 155px;
}
.scard--03 {
  left: 901px;
  top: 122px;
}
.scard__num {
  /* Figma書き出しSVG（ティールのアウトライン数字）。グリフ高さ55px。
     旧テキスト(line-height95px)の縦位置を保つため上下に余白を補う */
  display: block;
  width: auto;
  height: 55px;
  margin-top: 22px;
}
/* カード02のみ数字を右へオフセット（Figma: x589） */
.scard--02 .scard__num {
  margin-left: 67px;
}
.scard__icon {
  width: 61px;
  height: 61px;
  border-radius: 50%;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 23px 0 20px; /* 数字(SVG)→アイコン。旧:数字ボックス95px+5px の見え位置を維持 */
}
.scard__icon svg {
  width: 30px;
  height: 30px;
}
.scard__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 21px; /* Figma 25px */
  line-height: 36px; /* Figma lh36 */
  margin-bottom: 22px; /* 見出し→本文 22px */
}
.scard__body {
  font-size: 16px;
  line-height: 21px; /* Figma lh21 */
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 31px; /* 本文→ボタン 31px */
}

/* ④ OUR CLIENTS */
.clients {
  position: relative;
  background: transparent; /* STRENGTHのはみ出し写真を透かす（背景は白ページ） */
  padding: 215px 0 117px; /* 上にFigma分の白余白（ラベルをy2907へ） */
}
.clients__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 86px;
  text-align: center;
}
.clients__title {
  font-size: 40px;
  line-height: 1.25;
  margin: 14px 0 24px;
  color: #000;
}
.clients__sub {
  font-size: 16px;
  line-height: 2;
}
.clients__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 212px));
  justify-content: center;
  gap: 13px;
  margin-top: 84px;
}
.clients__logo {
  aspect-ratio: 212 / 113;
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-width: 0; /* グリッドセルが画像実寸で広がってはみ出すのを防止 */
}
.clients__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ⑤ PRODUCTS */
.products {
  position: relative;
  overflow: visible; /* 下部ノッチをABOUT US側へはみ出させる */
  padding: 0px 0; /* デザインに合わせ上下余白を拡大（旧50px） */
}
/* PRODUCTS折り面：Figma書き出しSVG（半透明白グラデ＋影＋下部ノッチ）をそのまま使用 */
.products__fold {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 131.74%; /* viewBox700をPRODUCTS高さ(575相当)へマップ：y575→セクション下端 */
  z-index: 0;
  pointer-events: none;
}
.products__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 86px;
  min-height: 510px;
}
.products__text {
  max-width: 300px;
  padding-top: 116px;
  padding-bottom: 120px;
}
.products__title {
  font-size: 26px;
  margin: 8px 0 16px;
}
.products__lead {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 26px;
}
.products__gallery {
  position: absolute;
  top: 0;
  left: 407px;
  width: 950px;
  height: 510px;
  z-index: 1;
}
.products__item {
  position: absolute;
  width: 218px;
  height: 272px; /* 4:5（縦長）218×1.25=272.5 */
  margin: 0;
  overflow: hidden;
}
.products__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.products__item figcaption {
  position: absolute;
  left: 12px;
  bottom: 16px;
  /* Figma: Roboto Condensed Light 20px / 字間-5% / 行間Auto */
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.05em;
  color: #0168B7;
}
.products__item--1 {
  left: 0;
  top: 70px;
}
.products__item--2 {
  left: 242px;
  top: 0;
}
.products__item--3 {
  left: 485px;
  top: 150px;
}
.products__item--4 {
  left: 727px;
  top: 0;
}

/* ⑥ ABOUT US */
.about {
  position: relative;
  /* 写真は生jpg(::before)、青マスクは紺グラデ(::after)。
     切り込み形状は clip-path で再現（about_bg.png のアルファ輪郭を実測して百分率化）。
     透過部分はページ全体グラデーションを透かすので背景色は透明 */
  background-color: transparent;
}
/* 写真レイヤー(::before)と青マスク(::after)を同じ切り込み形にクリップ。
   上辺=左下がり斜め / 右辺=垂直 / 下辺=右下がり斜め / 左辺=TLから垂直へ折れる */
.about::before,
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  -webkit-clip-path: polygon(
    4.5% 22.9%,
    100% 0.8%,
    100% 99.5%,
    0% 91.9%,
    0% 60%
  );
  clip-path: polygon(4.5% 22.9%, 100% 0.8%, 100% 99.5%, 0% 91.9%, 0% 60%);
}
.about::before {
  /* 生写真。jpgはpngより縦長クロップなので位置で作業者を合わせる。
     Figmaの色味を再現：寒色化(SVG feColorMatrix)＋コントラスト↑＋わずかに暗く */
  background: url(../img/about_bg.webp) center 50% / cover no-repeat;
  filter: url(#about-cool) contrast(1.15) saturate(1.02) brightness(0.92);
}
/* マスクは不使用（色味はTemperatureで表現）。白文字の可読性用に左側だけ薄く暗く */
.about::after {
  background: linear-gradient(
    90deg,
    rgba(8, 24, 48, 0.45) 0%,
    rgba(8, 24, 48, 0.18) 45%,
    rgba(8, 24, 48, 0) 70%
  );
}
.about__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  /* aboutをmargin-top:-80でPRODUCTSへ重ねた分、ラベルを白い折り面内（切り込みより上）へ引き上げる */
  margin: -40px auto 0;
  padding: 65px 86px 98px 95px;
  min-height: 594px;
  box-sizing: border-box;
}
.about .fig-label {
  margin: 0;
}
.about__title {
  font-size: 40px;
  line-height: 55px;
  letter-spacing: -2px;
  font-weight: 700;
  color: #fff;
  margin: 127px 0 0; /* ラベルを上げた分を相殺し見出しは写真上の同位置を維持 */
}
.about__body {
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  font-weight: 500;
  margin: 39px 0 0;
  max-width: 376px;
}
.about .fig-btn {
  margin-top: 39px;
}

/* 半導体ページ CLIENTS：ABOUT USと同じ角型カット＋背景写真（画像だけ差し替え） */
.about--semi::before {
  background-image: url(../img/semiconducto_backup_20260715.webp);
}
.about--semi__logos {
  max-width: 760px;
  margin: 44px auto 0;
}

/* ⑦ NEWS */
.news {
  background: transparent; /* ページ全体のグラデーションを透かす */
  padding: 96px 0; /* デザインに合わせ上下余白を拡大（旧70px） */
}
.news__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 86px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.news__title {
  font-size: 26px;
  margin: 13px 0 23px;
}
.news__sub {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 66px;
}
.news__item {
  display: grid;
  grid-template-columns: 84px 84px 1fr 24px;
  align-items: center;
  gap: 24px;
  padding: 33px 20px;
  /* デザイン準拠：区切り線は各項目の下だけ（1項目目の上には引かない） */
  border-bottom: 1px solid #e6e6e6;
  transition: background 0.2s;
}
.news__item:hover {
  background: #f7f8fa;
}
.news__date {
  font-size: 13px;
  color: #000;
  white-space: nowrap;
}
.news__tag {
  position: relative;
  font-size: 11px;
  color: var(--color-blue);
  background: rgba(255, 255, 255, 0.5); /* tag.svg: 白50%透過の塗り */
  border-radius: 30px;
  padding: 4px 12px;
  text-align: center;
  white-space: nowrap;
}
/* tag.svg準拠：青→薄グレーのグラデーション枠線。角丸に沿わせるためmask合成で縁だけ描く */
.news__tag::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    315deg,
    var(--color-blue) 0%,
    rgba(200, 200, 200, 0.1) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.news__ttl {
  font-size: 14px;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news__arrow {
  width: 19px;
  height: 7px;
  /* Figma news-arrow.svg（青 #0048D7） */
  background: url(../img/news-arrow.svg) no-repeat center / contain;
}

/* =============================================
   レスポンシブ
   ============================================= */

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
  /* ヒーローはフロー配置に切替 */
  /* SP：斜めカットを緩め、社名ロゴが三角に食い込んで切れないよう下に余白を確保 */
  .hero {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }
  .hero__inner {
    min-height: 0;
    padding: 140px 40px 104px;
  }
  .hero__content {
    position: static;
    width: auto;
    max-width: 480px;
  }
  .hero__title {
    font-size: 54px;
    line-height: 1.25;
  }
  .hero__sub {
    max-width: 240px;
  }
  .hero__brand {
    position: static;
    width: 300px;
    margin: 56px 0 0 auto;
  }
  .what-is-jig__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .what-is-jig__text {
    max-width: 500px;
  }
  .what-is-jig__text h2 {
    font-size: 36px;
  }
  .what-is-jig__visual {
    width: 380px;
    right: 16px;
    top: -40px;
  }
  .what-is-jig__sub {
    left: 40px;
  }
  .what-is-jig::after {
    left: 240px;
  }
  .section__inner,
  .site-header__inner,
  .products-layout,
  .site-footer__inner,
  .page-hero__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .grid-3 {
    gap: 16px;
  }
  /* STRENGTH（千鳥を緩める） */
  .strength-cluster {
    gap: 18px;
  }
  .strength-card--02 {
    margin-top: 48px;
  }
  .strength-watermark {
    font-size: 64px;
  }
  .strength-cluster__photo {
    display: none;
  }
  /* ABOUT */
  .about-section__inner {
    padding: 90px 40px;
  }
  .about-section__photo {
    width: 46%;
  }
}

/* スマートフォン（768px以下） */
@media (max-width: 768px) {
  /* ロゴを左・操作群(お問い合わせ＋ハンバーガー)を右に分ける */
  .site-header__inner {
    justify-content: space-between;
    gap: 8px;
  }
  .site-header__logo-img {
    height: 30px; /* SPは小さめに */
  }
  /* ハンバーガーメニュー */
  .site-header__hamburger {
    display: flex;
  }
  /* SPヘッダーのお問い合わせボタンを表示 */
  .site-header__contact {
    display: inline-flex;
  }
  /* ヘッダーバー（ロゴ・操作群）は常にメニューより前面に */
  .site-header__logo,
  .site-header__actions {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }
  .site-header__nav {
    position: fixed;
    top: 80px; /* ヘッダー実高(80px)に合わせる */
    left: 0;
    width: 100%;
    z-index: 1; /* ヘッダーバーより背面 */
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    display: none;
    padding: 8px 24px 24px;
    box-shadow: 0 8px 16px rgba(1, 23, 56, 0.1);
  }
  .site-header__nav.is-open {
    display: block;
  }
  .site-header__nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header__nav a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
    border-left: none;
    border-right: none;
    border-top: none;
    color: var(--color-text) !important;
  }
  /* モバイルではデスクトップ用の青下線インジケーターを消し、現在地はティール文字で示す */
  .site-header__nav a.is-current::after {
    display: none;
  }
  .site-header__nav a.is-current {
    color: var(--color-accent) !important;
    font-weight: 700;
  }

  /* ヒーロー */
  .hero__inner {
    padding: 104px 24px 96px;
  }
  .hero__title {
    font-size: 38px;
    line-height: 1.3;
  }
  .hero__brand {
    width: 240px;
    margin-top: 40px;
  }
  .hero__sub {
    font-size: 13px;
    line-height: 1.95;
    max-width: 260px;
  }

  /* WHAT IS JIG（モバイルは積み上げ） */
  .what-is-jig {
    padding: 56px 0 64px;
  }
  .what-is-jig__inner {
    min-height: 0;
    padding-left: 24px;
    padding-right: 24px;
  }
  .what-is-jig__text {
    max-width: 100%;
  }
  .what-is-jig__text h2 {
    font-size: 28px;
    line-height: 1.55;
  }
  .what-is-jig__visual {
    position: relative;
    top: 0;
    right: 0;
    width: 70%;
    margin: 36px 0 0 auto;
  }
  .what-is-jig__tilt {
    transform: rotate(-5deg);
  }
  .what-is-jig__sub {
    position: relative;
    left: 0;
    bottom: 0;
    width: 150px;
    height: 132px;
    margin-top: 28px;
  }
  .what-is-jig::after,
  .deco-sq {
    display: none;
  }

  /* セクション共通 */
  .section {
    padding: 60px 0;
  }
  .section__inner,
  .site-header__inner,
  .site-footer__inner,
  .page-hero__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
  .products-layout {
    padding: 60px 24px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .products-images--tall {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  /* OUR STRENGTH */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .strength-cluster {
    grid-template-columns: 1fr;
    gap: 56px;
    margin-top: 48px;
  }
  .strength-card--02,
  .strength-card--03 {
    margin-top: 0;
  }
  .strength-hex,
  .strength-watermark,
  .strength-cluster__photo {
    display: none;
  }
  .strength-card__bignum {
    top: -30px;
    font-size: 80px;
  }

  /* 斜めカット上辺は無効化（モバイル） */
  .section--slope-top {
    clip-path: none;
  }

  /* ABOUT US（写真を背景に） */
  .about-section__photo {
    width: 100%;
    clip-path: none;
    opacity: 0.32;
  }
  .about-section__inner {
    padding: 64px 24px;
  }
  .about-section__text {
    max-width: 100%;
  }

  .site-header__logo-text {
    display: none;
  }

  /* CLIENTS */
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* NEWS */
  .news-list__item {
    grid-template-columns: 100px 1fr;
    gap: 8px 12px;
  }
  .news-list__arrow {
    display: none;
  }
  .news-list__cat {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    width: auto;
    display: inline-block;
  }
  .news-list__title {
    grid-column: 1 / -1;
  }

  /* フッター */
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* グリッド */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* フローティングCTA */
  .floating-stack {
    display: none;
  }

  /* CTA */
  .cta {
    padding: 48px 24px;
  }

  /* ページヒーロー */
  .page-hero {
    padding: 48px 0;
  }
  .page-hero--photo {
    padding: 64px 0 72px;
  }
  .page-hero__title {
    font-size: 28px;
  }
  .page-hero__ja {
    font-size: 24px;
  }

  /* ダークセクションの上下余白を圧縮 */
  .section--dark {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  /* NUMBERS：5列→2列・数字縮小・行罫を追加 */
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .number-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .number-item:nth-child(2n) {
    border-right: none;
  }
  .number-val {
    font-size: 38px;
  }
  .number-unit {
    font-size: 15px;
  }

  /* 変革テーブル：2列→1列・ゴースト数字を通常フローの番号に */
  .change-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }
  .change-num {
    position: static;
    font-size: 58px;
    -webkit-text-stroke-width: 1.2px;
    margin-bottom: 2px;
  }
  .change-left {
    padding-right: 0;
  }

  /* タイムライン：左レール型に（年号→本文を縦積み） */
  .timeline::before {
    left: 5px;
  }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 28px;
    padding-bottom: 24px;
  }
  .timeline__item::after {
    left: 0;
    top: 5px;
  }
  .timeline__year {
    text-align: left;
    padding: 0;
    color: var(--color-accent);
  }
  .timeline__text {
    padding: 0;
  }

  /* 設備/半導体：実績グリッド 4列→2列 */
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-bottom: 1px solid #ddd;
  }
  .stat-item:nth-child(2n) {
    border-right: none;
  }

  /* 技術/半導体：コーティング表 4列→各行を縦積みカード化（ヘッダー非表示） */
  .coating-header {
    display: none;
  }
  .coating-row {
    grid-template-columns: 1fr;
  }
  .coating-row > div {
    border-right: none;
    padding: 6px 16px;
  }
  .coating-row > div:first-child {
    padding-top: 16px;
  }
  .coating-row > div:last-child {
    padding-bottom: 16px;
  }
  .coating-row > div strong {
    font-size: 15px;
  }

  /* 半導体：特性バーは縦積み（ラベル→バー→注記） */
  .feature-bar {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 16px;
  }

  /* 半導体：製品行（画像+テキスト）を縦積み */
  .product-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 半導体：テックブリッジを縦積み（矢印は下向きに） */
  .tech-bridge__grid {
    grid-template-columns: 1fr;
  }
  .tech-bridge__arrow {
    transform: rotate(90deg);
  }

  /* お問い合わせ：フォーム+情報の2カラムを縦積み */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* 概要/比較テーブル：見出し列を圧縮（3列比較でもはみ出さない） */
  .overview-table th {
    width: 104px;
    padding: 12px 10px;
  }
  .overview-table td {
    padding: 12px 10px;
  }
}

/* スモールモバイル（480px以下） */
@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }
  .hero__brand {
    width: 200px;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .products-images,
  .products-images--tall {
    grid-template-columns: 1fr;
  }
  .products-images--tall .img-placeholder {
    aspect-ratio: 4 / 3;
    clip-path: none;
  }
  h2 {
    font-size: 26px;
  }
}

/* =============================================
   Figma準拠セクション レスポンシブ
   ============================================= */
@media (max-width: 1279px) {
  /* 絶対配置を流し込みに切替（タブレット以下） */
  .whatisjig__inner {
    padding: 70px 40px 80px;
  }
  .whatisjig__heading {
    font-size: 44px;
  }
  .whatisjig__photo {
    position: static;
    width: 70%;
    margin: 32px 0 0 auto;
    display: block;
  }

  .strength__cluster {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 40px;
    max-width: 640px;
  }
  .scard {
    position: static;
    width: 100%;
  }
  .scard--01,
  .scard--02,
  .scard--03 {
    left: auto;
    top: auto;
  }
  /* ワーカー写真・ページ装飾は縦積みに合わないため非表示 */
  .strength__deco,
  .strength__watermark,
  .strength__worker {
    display: none;
  }
  /* SP：横長ネットは隠し、縦向きの網SVGを全高の背景として敷く */
  .strength__cluster {
    position: relative;
    overflow: visible;
  }
  .strength__net {
    display: none;
  }
  .strength__net-sp {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
  }
  .strength__cluster .scard {
    position: relative;
    z-index: 1;
  }

  .products__inner {
    padding: 0 40px;
  }
  .products__text {
    max-width: 100%;
    margin-bottom: 32px;
    padding-bottom: 0px;
  }
  .products__deco {
    display: none;
  }
  .products__gallery {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .products__item {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
  }
  .products__item--1,
  .products__item--2,
  .products__item--3,
  .products__item--4 {
    left: auto;
    top: auto;
  }

  .clients__inner,
  .about__inner,
  .news__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .whatisjig__inner {
    padding: 48px 24px 56px;
  }
  .whatisjig__heading {
    font-size: 30px;
  }
  .whatisjig__photo {
    width: 90%;
  }
  .fig-h2 {
    line-height: 1.45;
  }

  .strength {
    padding: 48px 0 64px;
  }
  .strength__title {
    font-size: 28px;
  }
  .strength__cluster {
    padding: 0 24px;
  }

  .clients {
    padding: 48px 0 56px;
  }
  .clients__inner {
    padding: 0 24px;
  }
  .clients__title {
    font-size: 26px;
  }
  .clients__logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .products {
    padding: 48px 0;
  }
  .products__inner {
    padding: 0 24px;
  }
  .products__title,
  .news__title {
    font-size: 22px;
  }
  .products__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    padding: 56px 24px;
    min-height: 0;
  }
  .about__title {
    font-size: 26px;
  }
  .about__body {
    max-width: 100%;
  }

  .news {
    padding: 48px 0;
  }
  .news__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 24px;
  }
  .news__item {
    grid-template-columns: auto 1fr auto;
    gap: 10px 14px;
    padding: 14px 4px;
  }
  .news__tag {
    grid-row: 1;
    grid-column: 2;
    justify-self: start;
  }
  .news__ttl {
    grid-column: 1 / -1;
    white-space: normal;
  }
  .news__arrow {
    display: none;
  }

  .fig-h2 {
    font-size: 26px;
  }
  .whatisjig__heading {
    font-size: 30px;
  }
  .about__title {
    font-size: 26px;
  }
}

/* =============================================
   スクロール演出・ホバー（控えめ）
   ============================================= */

/* ① 下からフェードイン＋ブラーイン（focus-in）
   shinka準拠のeaseOutCubic / translateY24px / テキスト0.9s */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity 0.9s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1),
    filter 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: opacity, transform, filter;
}
/* 画像・カードは少しゆっくり＋微ズーム（scale1.05→1で“据わる”）＝全ページ共通 */
.reveal--img {
  transform: translateY(24px) scale(1.05);
  transition:
    opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    filter 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* =============================================
   製品カード：リッチホバー（画像ズーム＋陰影＋タイトル色＋矢印＋持ち上げ）
   reveal の .is-visible{transform:none} に勝つよう指定を強める
   ============================================= */
.product-card__img-wrap img {
  transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/* 画像に下からうっすらネイビーの陰影（奥行き） */
.product-card__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(1, 23, 56, 0.4),
    rgba(1, 23, 56, 0) 55%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.product-card__title {
  transition: color 0.3s ease;
}
.product-card__more {
  transition: color 0.3s ease;
}
.product-card__arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* 持ち上げ：reveal settle は 1.2s のまま／ホバーだけ 0.4s で軽快 */
.product-card.is-visible {
  transition:
    opacity 0.5s cubic-bezier(0.215, 0.61, 0.355, 1),
    filter 0.5s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.4s ease;
}
.product-card:hover {
  transition:
    transform 0.22s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.22s ease;
}
.product-card.is-visible:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(1, 23, 56, 0.18);
}
.product-card:hover .product-card__img-wrap img {
  transform: scale(1.08);
}
.product-card:hover .product-card__img-wrap::after {
  opacity: 1;
}
.product-card:hover .product-card__title {
  color: var(--color-accent-dark);
}
.product-card:hover .product-card__more {
  color: var(--color-accent-dark);
}
.product-card:hover .product-card__arrow {
  transform: translateX(5px);
}

/* ④ 矢印付きテキストリンク：色シフト＋矢印がビヨンと伸びる */
.fig-btn {
  transition: color 0.25s ease;
}
.fig-btn:hover {
  opacity: 1;
  color: var(--color-accent-dark);
}
.fig-btn--light:hover {
  color: #fff;
}
.fig-btn__arrow {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: left center;
}
.fig-btn:hover .fig-btn__arrow {
  transform: translateX(5px) scaleX(1.12);
}

/* 動きを減らす設定（アクセシビリティ）の人にはアニメOFF */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .btn,
  .fig-btn,
  .fig-btn__arrow,
  .btn::before,
  .site-header__hamburger::before,
  .floating-menu::before {
    transition: none;
  }
  .btn:hover {
    transform: none;
    box-shadow: none;
  }
  .fig-btn:hover .fig-btn__arrow {
    transform: none;
  }
}

/* =============================================
   メニュー/テキストリンクのホバー（quoifaire系 0.3s）
   ============================================= */

/* フッターナビ：下線が左からワイプ */
.site-footer__nav a {
  position: relative;
  display: inline-block;
  transition: color 0.3s cubic-bezier(0.35, 0.755, 0.42, 0.95);
}
.site-footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.35, 0.755, 0.42, 0.95);
}
.site-footer__nav a:hover {
  color: #fff;
}
.site-footer__nav a:hover::after {
  transform: scaleX(1);
}

/* PC 浮遊パネル：左にティールのバーが伸びる（＋既存の色替え） */
.floating-panel a {
  position: relative;
  transition:
    background 0.25s,
    color 0.25s;
}
.floating-panel a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.35, 0.755, 0.42, 0.95);
}
.floating-panel a:hover::before,
.floating-panel a.is-current::before {
  transform: scaleY(1);
}
.floating-panel__cta::before {
  display: none;
}

/* その他テキストリンク：色を滑らかに */
.breadcrumb a,
.site-footer__bottom a {
  transition: color 0.3s cubic-bezier(0.35, 0.755, 0.42, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .site-header__nav a::after,
  .site-footer__nav a,
  .site-footer__nav a::after,
  .floating-panel a::before,
  .breadcrumb a,
  .site-footer__bottom a,
  .floating-cta::before,
  .floating-cta__icon {
    transition: none;
  }
  .floating-cta:hover .floating-cta__icon {
    transform: none;
  }
}

/* =============================================
   OUR STRENGTH 線トレース（軌道をなぞる）
   JSが .strength--anim を付与 → 画面に入ると .is-traced で描画
   ============================================= */
.strength--anim .strength__net > path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}
/* 描く順番：右六角→左六角→斜線2本 */
.strength--anim .strength__net > path:nth-child(3) {
  transition-delay: 0.2s;
}
.strength--anim .strength__net > path:nth-child(4) {
  transition-delay: 0.7s;
}
.strength--anim .strength__net > path:nth-child(5) {
  transition-delay: 0.85s;
}
.strength--anim.is-traced .strength__net > path {
  stroke-dashoffset: 0;
}

/* =============================================
   ヒーローのリッチ演出（見出しマスクせり上げ）
   ============================================= */
/* フロント見出し：行ごとにマスクからせり上げ */
.hero__title .hero__line {
  display: block;
  overflow: hidden;
}
.hero__title .hero__line > span {
  display: block;
  transform: translateY(110%);
  animation: heroLineRise 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__title .hero__line:nth-child(1) > span {
  animation-delay: 0.2s;
}
.hero__title .hero__line:nth-child(2) > span {
  animation-delay: 0.33s;
}
.hero__title .hero__line:nth-child(3) > span {
  animation-delay: 0.46s;
}
@keyframes heroLineRise {
  to {
    transform: translateY(0);
  }
}

/* フロント：サブ・ブランドは少し遅れてフェードアップ */
.hero__sub {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.65s forwards;
}
.hero__brand {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s forwards;
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 下層ページのヒーロー：要素ごとに“異なる軸”で出す（同じ動きの繰り返し＝cheap感を解消） */
/* 1) パンくず：左→右へワイプ（水平） */
.page-hero--photo .breadcrumb {
  animation: heroWipeIn 0.7s cubic-bezier(0.215, 0.61, 0.355, 1) 0.15s both;
}
@keyframes heroWipeIn {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 -2% 0 0);
  }
}
/* 2) EN：字間が詰まりながら現れる（タイポグラフィック） */
.page-hero__en {
  animation: heroLetterIn 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0.34s both;
}
@keyframes heroLetterIn {
  from {
    opacity: 0;
    letter-spacing: 0.42em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.12em;
  }
}
/* 3) JA：下からマスクでせり上げ（垂直） */
.page-hero__ja {
  animation: heroRiseIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
@keyframes heroRiseIn {
  from {
    opacity: 0;
    transform: translateY(0.7em);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 -20% 0);
  }
}
/* 4) 見出し：クリップで左→右にワイプ（帯なし・すっきり／案3b） */
.page-hero__title {
  clip-path: inset(0 100% 0 0);
  animation: heroClipWipe 0.85s cubic-bezier(0.5, 0, 0.15, 1) 0.66s both;
}
@keyframes heroClipWipe {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 -2% 0 0);
  }
}
/* 5) サブコピー：動かず静かにフェード（トーンのみ） */
.page-hero__sub {
  animation: heroSoftFade 1s ease 1s both;
}
@keyframes heroSoftFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* =============================================
   主役画像のマスク/カーテンリビール（数枚だけ・スクロール発火）
   ============================================= */
.reveal-mask {
  opacity: 1;
  filter: none;
  transform: scale(1.06);
  clip-path: inset(100% 0 0 0);
  transition:
    clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1),
    transform 1.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal-mask.is-visible {
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* reduced-motion：ヒーロー演出・マスクは全部OFF */
@media (prefers-reduced-motion: reduce) {
  .hero__title .hero__line > span,
  .hero__sub,
  .hero__brand,
  .page-hero__title,
  .page-hero__pagetitle,
  .page-hero__en,
  .page-hero__ja,
  .page-hero__sub,
  .page-hero--photo .breadcrumb,
  .reveal-mask {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }
}

/* =============================================
   スムーススクロール（Lenis）
   ============================================= */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* =============================================
   フロントCLIENTS：狭い画面は会社情報と同じく2列（後方定義で確実に適用）
   ============================================= */
@media (max-width: 480px) {
  .clients__logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   法務文書（プライバシーポリシー等）
   ============================================= */
.legal {
  max-width: 860px;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 2;
}
.legal__intro {
  margin-bottom: 40px;
}
.legal__h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 44px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
  line-height: 1.5;
}
.legal p {
  margin-bottom: 16px;
}
.legal__list {
  margin: 0 0 16px;
  padding-left: 1.4em;
  list-style: disc;
}
.legal__list li {
  margin-bottom: 8px;
  line-height: 1.9;
}
.legal__contact {
  margin: 20px 0;
  padding: 20px 24px;
  background: #f5f7fa;
  border-radius: 6px;
  line-height: 2;
}
.legal__dates {
  margin-top: 48px;
  color: #666;
  font-size: 13px;
}
@media (max-width: 768px) {
  .legal {
    font-size: 14px;
  }
  .legal__h2 {
    font-size: 18px;
    margin-top: 36px;
  }
}

/* お問い合わせ：同意チェック内のプライバシーポリシーリンク（JSで付与） */
.mwform-checkbox-field-text a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mwform-checkbox-field-text a:hover {
  color: var(--color-accent);
}

/* =============================================
   プライバシーポリシー：出現アニメーションなし（静的表示）
   ============================================= */
.page-privacy .breadcrumb,
.page-privacy .page-hero__pagetitle,
.page-privacy .page-hero__en,
.page-privacy .page-hero__ja,
.page-privacy .page-hero__title,
.page-privacy .page-hero__sub,
.page-privacy .reveal,
.page-privacy .reveal--img,
.page-privacy .reveal-mask {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  filter: none !important;
  transition: none !important;
}
.page-privacy .page-hero__bg {
  transform: none !important;
}

/* PRODUCTS 納品実績ギャラリー：リンク化＋ホバーズーム */
.products__item a {
  display: block;
  width: 100%;
  height: 100%;
}
.products__item img {
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.products__item a:hover img {
  transform: scale(1.06);
}

/* =============================================
   SP専用：ヒーロー 2段構成
   上段 = 背景写真（hero__title のみ）
   下段 = 白背景（hero__sub + hero__brand）
   ============================================= */
@media (max-width: 767px) {
  /* 斜め切り込みと overflow:hidden を解除（白背景エリアが続くため） */
  .hero {
    clip-path: none;
    overflow: visible;
  }

  /* 背景画像をタイトルエリアのみにとどめる */
  .hero__bg {
    top: 0;
    bottom: auto;
    height: 320px;
  }

  /* hero__inner 上300px=透明、300px以降=白背景 */
  .hero__inner {
    padding: 0 24px 64px;
    background: linear-gradient(to bottom, transparent 300px, #fff 300px);
  }

  /* タイトルエリア：300px確保、上padding104pxでタイトルを下寄せ */
  .hero__content {
    min-height: 300px;
    padding-top: 150px;
    box-sizing: border-box;
  }

  /* 白背景エリア上のテキスト色を暗色に */
  .hero__sub {
    color: var(--color-dark);
    max-width: 260px;
  }

  .hero__brand-text {
    color: var(--color-dark);
  }

  .hero__brand-prefix {
    font-size: 12px;
  }

  .hero__brand-name {
    font-size: 30px;
  }
}
