@charset "utf-8";

/* ================================================
   東洋テクニカル モダンデザイン 共通CSS
   カラーテーマ：スカイブルー×ホワイト（明るい清潔感）
   ターゲット：20〜30代の機器選定担当者
   ================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Inter:wght@300;400;600;700&display=swap');

/* ────────────────────────────────
   CSS 変数（デザイントークン）
──────────────────────────────── */
:root {
  /* ─ プライマリ：明るいスカイティール ─ */
  --color-primary: #0EA5C9;
  /* スカイブルー */
  --color-primary-dark: #0284A8;
  /* やや濃いスカイブルー */
  --color-accent: #F97316;
  /* コーラルオレンジ（差し色） */

  /* ─ ダーク系：ネイビーグレーに引き上げ ─ */
  --color-dark: #1E3A5F;
  /* ネイビーブルーグレー */
  --color-text: #1E3A5F;
  --color-text-muted: #6B7E96;

  /* ─ 背景・ボーダー ─ */
  --color-bg: #F0F7FF;
  /* 淡いアイスブルー背景 */
  --color-white: #FFFFFF;
  --color-border: #C5DDF0;
  --color-card-bg: #FFFFFF;

  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-en: 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(14, 165, 201, 0.08);
  --shadow-md: 0 8px 32px rgba(14, 165, 201, 0.14);
  --shadow-lg: 0 20px 60px rgba(14, 165, 201, 0.20);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

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

ul,
ol {
  list-style: none;
}

/* ────────────────────────────────
   固定ヘッダー
──────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  background: rgba(14, 58, 100, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(2, 132, 168, 0.97);
  box-shadow: 0 4px 30px rgba(14, 165, 201, 0.25);
}

/* ロゴ */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo-text .company-name {
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.header-logo-text .company-tagline {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* ヘッダー中央スペース */
.header-spacer {
  flex: 1;
}

/* ヘッダー右側 連絡先 */
.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 24px;
}

.header-tel {
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.header-tel::before {
  content: '📞';
  font-size: 13px;
}

.header-tel:hover {
  color: var(--color-accent);
}

/* お問い合わせボタン */
.header-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--color-accent);
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 180, 204, 0.4);
}

/* 言語セレクト */
.lang-select-wrap {
  position: relative;
  margin-right: 12px;
}

.lang-select-wrap select {
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-family: var(--font-ja);
  font-size: 12px;
  padding: 6px 24px 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.lang-select-wrap select:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  font-size: 11px;
}

.lang-select-wrap select option {
  background: var(--color-dark);
  color: var(--color-white);
}

/* ハンバーガーボタン */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-left: 16px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ────────────────────────────────
   ドロワーナビ
──────────────────────────────── */
.drawer-nav {
  position: fixed;
  top: var(--header-h);
  right: -100%;
  width: 320px;
  height: calc(100vh - var(--header-h));
  background: var(--color-dark);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 40px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-nav.open {
  right: 0;
}

.drawer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-nav ul li a {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition);
}

.drawer-nav ul li a strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.drawer-nav ul li a span {
  font-size: 11px;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.drawer-nav ul li a:hover {
  color: var(--color-white);
  padding-left: 8px;
}

.drawer-nav ul li.active a {
  color: var(--color-accent);
}

/* ドロワーオーバーレイ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ────────────────────────────────
   ページ共通：コンテンツ上マージン
──────────────────────────────── */
.page-body {
  padding-top: var(--header-h);
}

/* ────────────────────────────────
   ヒーローセクション（トップページ用）
──────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - 220px);
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/29412784_k.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.0);
  animation: heroZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.0) translate(0%, 0%);
  }
  100% {
    transform: scale(1.28) translate(-3%, 2%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(2, 80, 130, 0.78) 0%,
      rgba(14, 58, 100, 0.55) 50%,
      rgba(14, 165, 201, 0.40) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px 80px;
  max-width: 880px;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s forwards;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.5s forwards;
}

.hero-title .accent {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 0.9s forwards;
}

/* ヒーロー スクロールインジケーター */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ────────────────────────────────
   ボタン群
──────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-white);
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-teal:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 201, 0.40);
}

/* ────────────────────────────────
   サブページ ページトップバナー
──────────────────────────────── */
.page-hero {
  position: relative;
  height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 0 64px 40px;
  overflow: hidden;
  background: var(--color-dark);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(2, 80, 130, 0.80),
      rgba(14, 165, 201, 0.25));
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
}

.page-hero-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
  max-width: 600px;
  line-height: 1.7;
  font-weight: 300;
}

/* パンくず */
.breadcrumb {
  background: rgba(0, 109, 119, 0.06);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 64px;
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-primary);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb .sep {
  color: var(--color-border);
}

/* ────────────────────────────────
   コンテンツレイアウト（サブページ）
──────────────────────────────── */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 40px;
}

.page-main {
  min-width: 0;
}

/* ────────────────────────────────
   セクション共通
──────────────────────────────── */
.section {
  padding: 72px 0;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--color-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.9;
  max-width: 640px;
}

/* ────────────────────────────────
   カード
──────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  color: inherit;
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e8eef2;
}

.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

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

.product-card-desc {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.8;
  flex: 1;
}

.product-card-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
}

.product-card-footer::after {
  content: '→';
  transition: transform 0.2s;
}

.product-card:hover .product-card-footer::after {
  transform: translateX(4px);
}

/* ────────────────────────────────
   特長セクション
──────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-item {
  padding: 32px 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* ────────────────────────────────
   お知らせ テーブル
──────────────────────────────── */
.news-list {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: rgba(0, 109, 119, 0.03);
}

.news-date {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  min-width: 100px;
  padding-top: 2px;
  font-weight: 500;
}

.news-text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.news-text a {
  color: var(--color-primary);
}

.news-text a:hover {
  color: var(--color-accent);
}

/* ────────────────────────────────
   サイドバー
──────────────────────────────── */


.sidebar-widget {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: 28px;
}

.sidebar-widget-title {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 20px;
  letter-spacing: 0.05em;
}

.sidebar-widget-body {
  padding: 16px 20px;
}

.sidebar-nav ul {
  display: flex;
  flex-direction: column;
}

.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  font-size: 13.5px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.sidebar-nav ul li:last-child a {
  border-bottom: none;
}

.sidebar-nav ul li a::before {
  content: '›';
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
}

.sidebar-nav ul li a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

.sidebar-nav ul li.active a {
  color: var(--color-primary);
  font-weight: 700;
}

/* サイドバー お問い合わせボタン */
.sidebar-contact-btn {
  display: block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white) !important;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 0;
  letter-spacing: 0.04em;
}

.sidebar-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 109, 119, 0.4);
  color: var(--color-white) !important;
}

/* ────────────────────────────────
   コンテンツ本文 スタイル
──────────────────────────────── */
.content-block {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 36px;
  margin-bottom: 28px;
}

.content-block h2,
.content-block h3,
.content-block h4 {
  position: relative;
  padding-left: 16px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--color-dark);
}

.content-block h2 {
  font-size: 20px;
}

.content-block h3 {
  font-size: 17px;
}

.content-block h4 {
  font-size: 15px;
}

.content-block h2::before,
.content-block h3::before,
.content-block h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.content-block p {
  font-size: 14.5px;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 14px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block a {
  color: var(--color-primary);
  border-bottom: 1px solid rgba(14, 165, 201, 0.30);
}

.content-block a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.content-block .img-left {
  float: left;
  margin: 0 24px 16px 0;
  max-width: 360px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
}

.content-block .img-right {
  float: right;
  margin: 0 0 16px 24px;
  max-width: 360px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
}

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* 旧 .alignleft / .alignright との互換性 */
img.alignleft {
  float: left;
  margin: 0 24px 16px 0;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
}

img.alignright {
  float: right;
  margin: 0 0 16px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
}

img.border {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
}

/* ────────────────────────────────
   テーブル
──────────────────────────────── */
.modern-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.modern-table th,
.modern-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.modern-table th {
  background: rgba(0, 109, 119, 0.06);
  color: var(--color-dark);
  font-weight: 600;
  font-size: 13px;
  width: 160px;
  white-space: nowrap;
  vertical-align: top;
  border-right: 3px solid var(--color-primary);
}

.modern-table td {
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
}

.modern-table tr:last-child th,
.modern-table tr:last-child td {
  border-bottom: none;
}

/* 旧 table.table 上書き */
table.table {
  border-collapse: collapse;
  width: 100%;
}

table.table th {
  background: rgba(0, 109, 119, 0.06);
  color: var(--color-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--color-border);
  white-space: nowrap;
  border-right: 3px solid var(--color-primary);
}

table.table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  line-height: 1.7;
}

table.table tr:hover td {
  background: rgba(0, 109, 119, 0.02);
}

/* ────────────────────────────────
   フォーム（お問い合わせ）
──────────────────────────────── */
.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 40px;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
}

.form-table th {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
  padding: 16px 0;
  vertical-align: top;
  width: 180px;
  white-space: nowrap;
}

.form-table td {
  padding: 10px 0;
  vertical-align: top;
}

.form-table input[type="text"],
.form-table textarea,
.form-table select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition);
  outline: none;
}

.form-table input[type="text"]:focus,
.form-table textarea:focus,
.form-table select:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(14, 165, 201, 0.15);
}

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

.form-required {
  color: #e53e3e;
  font-size: 11px;
  font-weight: 700;
  margin-right: 4px;
}

.form-submit-btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 28px auto 0;
  padding: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.06em;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 201, 0.40);
}

.form-reset-btn {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 12px auto 0;
  padding: 12px;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-ja);
  font-size: 13px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.form-reset-btn:hover {
  background: var(--color-border);
}

/* ────────────────────────────────
   CTAバナーセクション
──────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg,
      var(--color-primary-dark) 0%,
      var(--color-primary) 50%,
      #38BDF8 100%);
  padding: 80px 40px;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-section .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.cta-section .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: var(--color-primary);
}

/* ────────────────────────────────
   フッター
──────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 40px 0;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}



.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.footer-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact-info p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-contact-info a:hover {
  color: var(--color-accent);
}



.footer-nav-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 16px;
}

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

.footer-nav ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* ────────────────────────────────
   スクロールアニメーション
──────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延バリアント */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ────────────────────────────────
   画像ギャラリー
──────────────────────────────── */
.img-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.img-gallery img {
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: var(--transition);
}

.img-gallery img:hover {
  transform: scale(1.03);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* ────────────────────────────────
   仕様テーブル（製品詳細）
──────────────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 16px 0;
}

.spec-table th {
  background: linear-gradient(to right, rgba(0, 109, 119, 0.08), rgba(0, 109, 119, 0.04));
  color: var(--color-dark);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

.spec-table td {
  padding: 12px 16px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  line-height: 1.6;
}

.spec-table tr:nth-child(even) td {
  background: rgba(0, 109, 119, 0.02);
}

/* ────────────────────────────────
   カリキュレーター（NC.html）
──────────────────────────────── */
.calculator-box {
  background: linear-gradient(135deg, rgba(0, 76, 84, 0.04), rgba(0, 180, 204, 0.04));
  border: 2px solid rgba(0, 109, 119, 0.15);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
}

.calculator-box form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.calculator-box label {
  font-weight: 600;
  color: var(--color-dark);
}

.calculator-box input[type="number"],
.calculator-box select {
  padding: 8px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  width: 100px;
}

.calculator-box input[type="number"]:focus,
.calculator-box select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.12);
}

.calc-result {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  font-family: var(--font-en);
}

/* ────────────────────────────────
   Googleマップ
──────────────────────────────── */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border);
  margin-top: 8px;
}

.map-wrap iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}

/* ────────────────────────────────
   カタログダウンロード
──────────────────────────────── */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
}

.catalog-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.catalog-card-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.catalog-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.catalog-card-label {
  font-size: 11px;
  color: var(--color-primary);
  font-family: var(--font-en);
  letter-spacing: 0.1em;
}

/* ────────────────────────────────
   レスポンシブ
──────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .site-header {
    padding: 0 20px;
  }

  .header-contact {
    display: none;
  }

  .header-logo-text .company-tagline {
    display: none;
  }

  .hero-content {
    padding: 0 24px 60px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .page-hero {
    height: 200px;
    padding: 0 24px 32px;
  }

  .breadcrumb {
    padding: 10px 20px;
  }

  .section {
    padding: 60px 0;
  }

  .section-inner {
    padding: 0 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .site-footer {
    padding: 40px 20px 0;
  }

  .drawer-nav {
    width: 100%;
  }

  .news-item {
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
  }

  .news-date {
    min-width: unset;
  }

  .page-layout {
    padding: 32px 20px;
  }

  .content-block {
    padding: 24px 20px;
  }

  .contact-form-wrap {
    padding: 24px 20px;
  }

  .form-table th {
    width: auto;
    display: block;
    padding-bottom: 4px;
  }

  .form-table td,
  .form-table th {
    display: block;
    width: 100%;
  }

  .calculator-box form {
    flex-direction: column;
    align-items: flex-start;
  }

  img.alignleft,
  img.alignright {
    float: none;
    margin: 0 auto 16px;
    max-width: 100%;
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .page-hero-title {
    font-size: 1.4rem;
  }
}

/* ────────────────────────────────
   仕様テーブル（製品スペック用）
──────────────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
  line-height: 1.6;
}

.spec-table th {
  background: rgba(0, 109, 119, 0.07);
  color: var(--color-dark);
  font-weight: 600;
  white-space: nowrap;
  width: 140px;
}

.spec-table td {
  background: var(--color-white);
  color: var(--color-text);
}

/* ────────────────────────────────
   カタロググリッド（資料ページ用）
──────────────────────────────── */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  gap: 12px;
}

.catalog-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: inherit;
}

.catalog-card-icon {
  font-size: 40px;
  line-height: 1;
}

.catalog-card-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.5;
  flex: 1;
}

.catalog-card-label {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 40px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.catalog-card:hover .catalog-card-label {
  background: var(--color-accent);
}

/* ────────────────────────────────
   マップ埋め込み
──────────────────────────────── */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 440px;
}

/* レスポンシブ追加 */
@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .map-wrap iframe {
    height: 280px;
  }

  .spec-table th {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}