/* ===================================================
   main.css — Layout, Components, Pages
   Tri-Mesh Planet (案I): light base / flat (Material 3)
   =================================================== */

/* ===== Site Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.site-logo,
.custom-logo-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.site-header .site-logo,
.site-header .custom-logo-link {
  height: var(--nav-height);
}

.site-logo img,
.custom-logo-link img {
  /* ヘッダー（80px）内に上下12pxずつの余白を確保して収める */
  width: auto;
  height: auto;
  max-height: calc(var(--nav-height) - 24px);
  max-width: 220px;
  object-fit: contain;
}

.site-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.1em;
  font-family: var(--font-en);
}

/* ===== Primary Nav ===== */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { position: relative; }

.nav-link,
.front-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.front-nav-link:hover {
  color: var(--color-primary);
  background: var(--color-bg-badge);
}

.nav-link.is-active,
.front-nav-link.is-active {
  color: var(--color-primary);
  background: var(--color-bg-tonal);
}

.nav-chevron { transition: transform 0.2s; }
.nav-item.has-children:hover .nav-chevron { transform: rotate(180deg); }

/* Sub-menu */
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  backdrop-filter: blur(16px);
}

.nav-item.has-children:hover .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.sub-menu .nav-link { width: 100%; border-radius: 10px; }

/* ===== Header Actions ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-cta { padding: 10px 22px; font-size: 13px; }

/* ===== Hamburger ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero Section (light / planet & robots) ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video,
.hero-video-wrap iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #ffffff 0%, #f4f6ff 55%, #e9edfd 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.78) 45%,
    rgba(244, 246, 255, 0.35) 100%
  );
  z-index: 1;
}

/* 惑星（ローポリ球体＋ロボット群）ビジュアル。
   z-index: 0 で .hero-overlay（白グラデーション）の下・背景動画/画像の上に置き、
   全幅で常にオーバーレイ越しの淡い見え方（旧モバイル表示と同等）になるようにする */
.hero-planet {
  position: absolute;
  top: 50%;
  right: max(-140px, calc((100vw - 1520px) / 2));
  transform: translateY(-46%);
  width: min(52vw, 700px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.7; /* 透過率30% */
}

.hero-planet svg {
  width: 100%;
  height: auto;
  display: block;
}

/* .container と併用（max-width を絞ると margin:auto でブロックごと中央に寄り、
   左余白が過大になる）。テキスト幅は各要素側の max-width で制御 */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 24px;
  border: none;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-badge);
}

.hero-title {
  font-size: clamp(36px, 6vw, 78px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary-dark);
}

.hero-title span {
  color: var(--color-primary-vivid);
}

.hero-subtitle {
  margin-top: 24px;
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.9;
}

.hero-gnss-note {
  margin-top: 14px;
  font-size: 11px;
  color: #9aa2c6;
  max-width: 560px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9aa2c6;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(45, 63, 212, 0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { opacity: 1; transform: scaleY(1) translateY(0); }
  100% { opacity: 0; transform: scaleY(0.3) translateY(20px); }
}

/* ===== News Strip (directly after hero) ===== */
.news-strip {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
  position: relative;
  z-index: 2;
}

.news-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  min-height: 52px;
}

.news-strip-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: var(--color-primary);
  gap: 2px;
  flex-shrink: 0;
}

.news-strip-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--color-white);
}

.news-strip-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
}

.news-strip-list {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  overflow: hidden;
  border-right: 1px solid var(--color-border);
  justify-content: center;
}

.news-strip-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  transition: color 0.2s;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}

.news-strip-item:last-child { border-bottom: none; }
.news-strip-item:hover { color: var(--color-primary-light); }

.news-strip-item time {
  font-size: 11px;
  color: var(--color-text-muted);
  font-family: var(--font-en);
  flex-shrink: 0;
}

.news-strip-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-strip-more {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-light);
  white-space: nowrap;
  transition: gap 0.2s;
  flex-shrink: 0;
}

.news-strip-more:hover { gap: 10px; }

/* ===== Contact Page ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.contact-form-area { width: 100%; }

/* サイドカード非表示時: 1カラム全幅 */
.contact-layout-single { grid-template-columns: 1fr; }

.contact-info-card { position: sticky; top: calc(var(--nav-height) + 24px); }

/* Google Forms embed */
.google-form-wrap {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: stretch;
}

.google-form-iframe {
  width: 100%;
  min-height: 640px;
  border: none;
  flex: 1;
}

/* Google Forms link box */
.contact-link-box {
  background: var(--color-bg-card);
  border: none;
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-link-box-lead {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 480px;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info-card { position: static; }
  .google-form-iframe { min-height: 500px; }
}

/* ===== News Front Section (top page) ===== */
.news-front-section {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
}

.news-front-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}

.news-front-title {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-top: 8px;
}

/* Individual news item row */
.news-front-list { display: flex; flex-direction: column; }

.news-front-item {
  display: grid;
  grid-template-columns: 96px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  border-radius: 8px;
}

.news-front-item:first-child { border-top: 1px solid var(--color-border); }

.news-front-item:hover {
  color: var(--color-primary);
  background: var(--color-bg-badge);
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
}

.news-front-date {
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: var(--font-en);
  flex-shrink: 0;
}

.news-front-text {
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.news-front-arrow {
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.news-front-item:hover .news-front-arrow {
  color: var(--color-primary-light);
  transform: translateX(3px);
}

/* 非表示ユーティリティ（ニュースのページ送り用） */
.news-front-item.is-hidden,
.news-front-morebtn.is-hidden,
.news-front-pager.is-hidden {
  display: none;
}

/* もっと見る + ページ送りコントロール */
.news-front-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
  gap: 16px;
}

.news-front-morebtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 40px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-bg-tonal);
  color: var(--color-primary-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s var(--ease-out);
}

.news-front-morebtn:hover {
  background: #d3daf9;
}

/* ページ前後ボタン（右下配置） */
.news-front-pager {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: flex-end;
}

.news-pager-status {
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: var(--font-en);
  letter-spacing: 0.08em;
  margin-right: 4px;
}

.news-pager-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.news-pager-btn:hover:not(:disabled) {
  background: var(--color-bg-tonal);
  border-color: var(--color-primary-light);
}

.news-pager-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ===== News Archive Page ===== */
.news-archive-list { display: flex; flex-direction: column; }

.news-archive-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-primary-light);
  padding: 40px 0 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}

.news-archive-year:first-child { padding-top: 0; }

.news-archive-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s;
}

.news-archive-item:has(.news-archive-thumb) {
  grid-template-columns: 80px 1fr auto;
}

.news-archive-thumb {
  display: block;
  width: 80px;
  height: 56px;
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
}

.news-archive-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-archive-body { min-width: 0; }

.news-archive-date {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: var(--font-en);
  margin-bottom: 6px;
}

.news-archive-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.news-archive-title a {
  color: var(--color-text);
  transition: color 0.2s;
}

.news-archive-title a:hover { color: var(--color-primary-light); }

.news-archive-excerpt {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-archive-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: all 0.2s;
}

.news-archive-item:hover .news-archive-arrow {
  border-color: transparent;
  color: var(--color-primary);
  background: var(--color-bg-tonal);
}

/* ===== News Single Post ===== */
.news-single-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  background: var(--color-bg-2);
  overflow: hidden;
}

.news-single-thumb-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.news-single-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-single-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.94) 100%);
}

.news-single-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
}

.news-single-meta {
  margin-bottom: 16px;
}

.news-single-date {
  font-size: 13px;
  font-family: var(--font-en);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.news-single-title {
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary-dark);
  max-width: 860px;
}

/* News article body */
.news-single-body {
  max-width: 800px;
  padding-top: 64px;
  padding-bottom: 80px;
}

/* ===== Block Editor Content Styles (.news-content) ===== */
.news-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}

.news-content p {
  margin-bottom: 24px;
}

.news-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.news-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 36px 0 12px;
}

.news-content a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-decoration-color: rgba(45, 63, 212, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.news-content a:hover {
  text-decoration-color: var(--color-primary-light);
}

.news-content ul,
.news-content ol {
  margin: 16px 0 24px 24px;
}

.news-content ul { list-style: disc; }
.news-content ol { list-style: decimal; }
.news-content li { margin-bottom: 8px; }

/* Block: Image */
.news-content figure.wp-block-image {
  margin: 40px 0;
}

.news-content figure.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--color-border);
}

.news-content figure.wp-block-image figcaption {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
}

/* Block: Gallery */
.news-content .wp-block-gallery {
  margin: 40px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-content .wp-block-gallery img {
  border-radius: 10px;
}

/* Block: Embed (YouTube, Twitter, etc.) */
.news-content .wp-block-embed {
  margin: 40px 0;
}

.news-content .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.news-content .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 14px;
}

/* Block: Quote */
.news-content blockquote,
.news-content .wp-block-quote {
  border-left: 3px solid var(--color-primary-light);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--color-bg-card);
  border-radius: 0 14px 14px 0;
}

.news-content .wp-block-quote p { margin-bottom: 0; }

.news-content .wp-block-quote cite {
  font-size: 12px;
  color: var(--color-text-muted);
  display: block;
  margin-top: 8px;
}

/* Block: Code */
.news-content pre,
.news-content .wp-block-code {
  background: var(--color-bg-card);
  border: none;
  border-radius: 14px;
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 13px;
  font-family: 'Courier New', monospace;
  margin: 32px 0;
  color: var(--color-text);
}

/* Block: Separator */
.news-content hr,
.news-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 48px 0;
}

/* Block: Button */
.news-content .wp-block-buttons { margin: 32px 0; }

.news-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}

.news-content .wp-block-button__link:hover {
  background: var(--color-primary-light);
  text-decoration: none;
}

/* Block: Table */
.news-content table,
.news-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}

.news-content th,
.news-content td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
  color: var(--color-text);
}

.news-content th {
  background: var(--color-bg-card);
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* News navigation (prev/next) */
.news-single-nav { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--color-border); }

.news-single-nav-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.news-nav-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: var(--color-bg-card);
  border: none;
  border-radius: 16px;
  color: var(--color-text);
  transition: background 0.2s;
}

.news-nav-link:hover {
  background: var(--color-bg-tonal);
}

.news-nav-next { text-align: right; }

.news-nav-dir {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.news-nav-next .news-nav-dir { justify-content: flex-end; }

.news-nav-title {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-primary-dark);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Back link */
.news-single-back {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.news-back-link:hover { color: var(--color-primary); }

/* ===== Responsive (News) ===== */
@media (max-width: 768px) {
  .news-front-item {
    grid-template-columns: 80px 1fr 20px;
    gap: 12px;
  }
  .news-archive-item { grid-template-columns: 1fr auto; }
  .news-archive-item:has(.news-archive-thumb) { grid-template-columns: 60px 1fr auto; }
  .news-single-nav-inner { grid-template-columns: 1fr; }
  .news-nav-next { text-align: left; }
  .news-nav-next .news-nav-dir { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .news-front-item { grid-template-columns: 74px 1fr; }
  .news-front-arrow { display: none; }
}

/* ===== Concept Section ===== */
.concept-section {
  background: var(--color-bg-2);
  position: relative;
  overflow: hidden;
}

.concept-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26, 35, 136, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.concept-text .section-label { text-align: left; }
.concept-text .section-title { text-align: left; font-size: clamp(28px, 3.5vw, 44px); }

.concept-lead {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-muted);
}

.concept-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.concept-visual { position: relative; }

/* ── Perception Flow（認識→判断→行動 3ステップ） ── */
.concept-flow {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ステップ間をつなぐ縦の破線（アイコン中心 = padding-left 28px + アイコン幅58px/2） */
.concept-flow-connector {
  position: absolute;
  left: 56px;
  top: 24px;
  bottom: 24px;
  width: 0;
  border-left: 2px dashed rgba(26, 35, 136, 0.35);
}

.flow-step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--color-bg-card);
  border-radius: 18px;
  padding: 24px 28px;
  position: relative;
  transition: background 0.2s;
}

.flow-step:hover { background: var(--color-bg-tonal); }

.flow-step + .flow-step { margin-top: 36px; }

.flow-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-icon svg { display: block; }

.flow-body { flex: 1; }

.flow-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--color-navy-2);
}

.flow-num {
  color: var(--color-accent);
  -webkit-text-stroke: 0.5px var(--color-navy-2);
  margin-right: 8px;
}

.flow-title {
  font-size: 17px;
  font-weight: 700;
  margin: 3px 0 6px;
}

.flow-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* 技術ページの数値カウンター用（コンセプトの統計グリッドは廃止済み） */
.stat-item {
  background: var(--color-bg-card);
  border: none;
  border-radius: 16px;
  padding: 24px;
  transition: background 0.2s;
}

.stat-item:hover { background: var(--color-bg-tonal); }

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary-light);
  font-family: var(--font-en);
  line-height: 1;
}

.stat-unit {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.stat-label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ===== Business Section ===== */
.business-section { background: var(--color-bg); }

.business-card {
  padding: 40px 32px;
  border-radius: var(--radius-card);
  background: var(--color-bg-card);
  border: none;
  transition: background 0.3s;
}

.business-card:hover {
  background: var(--color-bg-tonal);
}

.business-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.business-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.business-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.business-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.business-card .btn { margin-top: 24px; }

/* ===== Tech Section (navy band) ===== */
.tech-section {
  background: var(--color-navy);
  overflow: hidden;
}

.tech-section .section-label { color: var(--color-accent); }
.tech-section .section-title { color: var(--color-white); }
.tech-section .section-desc  { color: rgba(220, 224, 255, 0.72); }

.tech-panels-wrap { position: relative; }

.tech-panels { display: flex; gap: 0; }

.tech-panel {
  flex: 0 0 100%;
  min-height: 500px;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.tech-panel::before {
  content: attr(data-num);
  position: absolute;
  right: 40px;
  bottom: 20px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  font-family: var(--font-en);
  line-height: 1;
  pointer-events: none;
}

/* Accent line per panel */
.tech-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-vivid), transparent);
}

.tech-panel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.tech-panel h3 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.tech-panel p {
  font-size: 15px;
  color: rgba(220, 224, 255, 0.72);
  line-height: 1.9;
  max-width: 480px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

/* Tag on navy band */
.tech-section .tag {
  background: rgba(255, 255, 255, 0.1);
  color: #aab4ff;
}

/* ===== Products Preview ===== */
.products-preview-section { background: var(--color-bg); }

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.3s;
}

.product-card:hover {
  border-color: var(--color-primary-light);
}

.product-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.product-card:hover .product-card-thumb img { transform: scale(1.04); }

.product-card-body { padding: 24px; }

.product-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-light);
  transition: gap 0.2s;
}

.product-card-link:hover { gap: 10px; }

/* ===== Cases Section ===== */
.cases-section {
  background: var(--color-bg-2);
}

.case-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: var(--color-primary-light);
}

.case-card-body { padding: 28px; flex: 1; }

.case-card-industry {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.case-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.case-card-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.case-card-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== CTA Section (navy / planet horizon & robots) ===== */
.cta-section {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  padding: 110px 0 190px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .section-title { color: var(--color-white); }
.cta-section .section-desc  { color: rgba(220, 224, 255, 0.72); }
.cta-section .divider { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* 地平線アーチ＋ロボット群 */
.cta-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 270px;
  pointer-events: none;
}

.cta-horizon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===== Site Footer ===== */
.site-footer {
  margin-top: 0;
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
}

.footer-top { padding: 80px 0 60px; }

.footer-top-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-social { display: flex; gap: 16px; }

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.footer-social a:hover {
  color: var(--color-primary);
  border-color: transparent;
  background: var(--color-bg-tonal);
}

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

.footer-nav-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 20px;
}

.footer-nav-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-nav-col a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-nav-col a:hover { color: var(--color-primary); }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright { font-size: 12px; color: var(--color-text-muted); }

.privacy-link a {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.privacy-link a:hover { color: var(--color-primary); }

/* ===== Page Hero ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--color-bg-2) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

/* ===== Lang Switcher ===== */
.lang-switcher { display: flex; gap: 4px; }

.lang-switcher a {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.lang-switcher a:hover,
.lang-switcher a.current-lang {
  color: var(--color-white);
  background: var(--color-primary);
}

.pll-parent-menu-item { display: none !important; }

/* ===== Tech progress dots ===== */
.tech-progress {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
}

.tech-progress.visible { opacity: 1; }

.tech-progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s, transform 0.3s;
}

.tech-progress-dot.active {
  background: var(--color-accent);
  transform: scale(1.4);
}

/* ===== Prose ===== */
.prose {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text);
}

.prose h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 32px 0 12px;
}

.prose p { margin-bottom: 20px; }

.prose a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.prose a:hover { text-decoration-color: var(--color-primary-light); }

.prose ul, .prose ol { margin: 16px 0 20px 20px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.prose th, .prose td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.prose th {
  background: var(--color-bg-card);
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* ===== Pagination ===== */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.nav-links a, .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.nav-links a:hover, .nav-links .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ===== Post Meta ===== */
.post-date {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: var(--font-en);
}

.card-title a {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.4;
  transition: color 0.2s;
}

.card-title a:hover { color: var(--color-primary-light); }

.card-thumb { display: block; overflow: hidden; aspect-ratio: 16/9; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-thumb img { transform: scale(1.04); }

/* ===== Post Navigation ===== */
.post-nav .nav-links { justify-content: space-between; }
.post-nav .nav-links a { width: auto; padding: 0 18px; font-size: 13px; border-radius: var(--radius-pill); }

/* ===== Company Table ===== */
.company-table { width: 100%; border-collapse: collapse; }

.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 180px;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.company-table td { color: var(--color-text); }

/* ===== Filter Bar ===== */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  border: none;
  color: var(--color-primary-dark);
  background: var(--color-bg-tonal);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===== Form ===== */
.contact-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary-vivid);
  box-shadow: 0 0 0 3px rgba(45, 63, 212, 0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e05555;
}

.form-group textarea { min-height: 160px; resize: vertical; }

.form-required {
  display: inline-block;
  font-size: 10px;
  background: var(--color-primary-light);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .hero-planet { right: -180px; }
}

@media (max-width: 1024px) {
  .concept-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
  .hero-planet {
    width: 74vw;
    right: -30vw;
  }
  /* 惑星の左端（≒56vw）より手前でテキストを折り返して重なりを避ける。
     300px を下回るほど幅が狭い場合のみ重なりを許容 */
  .hero-subtitle,
  .hero-gnss-note {
    max-width: min(540px, max(300px, calc(56vw - 60px)));
  }
}

@media (max-width: 900px) {
  .news-strip-inner { grid-template-columns: auto 1fr; }
  .news-strip-more  { display: none; }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 24px;
    overflow-y: auto;
    backdrop-filter: blur(20px);
  }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .nav-menu { flex-direction: column; gap: 0; width: 100%; }
  .nav-link,
  .front-nav-link {
    padding: 14px 0;
    font-size: 16px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }
  .sub-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    background: none;
    border: none;
    padding: 0 0 0 16px;
  }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .tech-panel { padding: 40px 24px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .news-strip-list { padding: 0 16px; }
  .flow-step { padding: 20px; gap: 16px; }
  .flow-step + .flow-step { margin-top: 24px; }
  .concept-flow-connector { left: 44px; }
  .flow-icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 13px; }
  .cta-horizon { height: 190px; }
  .cta-section { padding-bottom: 150px; }
}

@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .news-strip-inner { grid-template-columns: auto 1fr; }
}
