@charset "UTF-8";

/*
Theme Name: livserver
Theme URI: https://www.livserver.com
Description: LIVSERVER_WEB default theme for WordPress.
Author: LIVSERVER, Inc.
Author URI: https://www.livserver.com
Version: 1.0

*/
:root {
    --color-primary: #0570DE;
    --color-primary-hover: #045bb6;
    --color-text-main: #111827;
    --color-text-sub: #6B7280;
    --color-bg-light: #F9FAFB;
    --color-border: #E5E7EB;
  }
body {
  /* モダンなシステムフォントスタック（Mac, Windows, スマホそれぞれで最適なフォントを表示） */
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  
  /* 文字色：真っ黒（#000）を避け、コントラストを抑えたダークグレーで洗練さを出す */
  color: #374151; /* または #111827 */
  
  /* 余白と可読性の調整 */
  line-height: 1.6;
  letter-spacing: 0.03em;
  
  /* フォントのレンダリングを滑らかにし、Mac/iOSで文字を美しく見せる魔法のコード */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* 背景色（基本の白） */
  background-color: #FFFFFF;
  
  /* テキストの自動拡大を防ぐ（スマホの横持ち時など） */
  -webkit-text-size-adjust: 100%;
}
main {
  min-height: 100vh;
}

/* WordPress標準のYouTube埋め込みブロックにも適用 */
.wp-block-embed-youtube .wp-block-embed__wrapper,
.wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/*======================================================
    header
======================================================*/
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #E5E7EB;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ロゴ */
.site-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0570de;
  font-weight: 700;
}

.site-logo .logo-text {
  font-size: 24px;
  font-weight: 700;
}

.logo-img {
  height: 24px;
  width: auto;
  display: block;
}

/* PC：ナビゲーション＆CTAラッパー */
.header-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: #0570DE;
}

/* CTAボタン */
.header-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #0570DE;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.header-cta .cta-btn:hover {
  background-color: #045bb6;
}

/* モバイルハンバーガーボタン */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #111827;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ハンバーガー開閉アニメーション（×印に変形） */
.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}


/* ==========================================
     モバイル対応 (タブレット・スマホ)
=========================================== */
@media (max-width: 960px) {
  .mobile-menu-toggle {
    display: flex;
  }

  /* ドロワー（ナビ＋CTAを右からスライドイン＋ガラス調デザイン） */
  .header-nav-wrapper {
    position: fixed;
    top: 60px; /* ヘッダーの高さ */
    right: 0;
    left: auto; /* 左固定を解除して右基準に */
    width: 100%;
    max-width: 360px; /* 画面右側に綺麗に収まる横幅（全画面にする場合は 100% に） */
    height: calc(100vh - 60px);
    
    /* ガラス調（グラスモーフィズム）グラフィック設定 */
    background-color: rgba(255, 255, 255, 0.95); /* 半透明の白 */
    backdrop-filter: blur(12px); /* 背景ぼかし */
    -webkit-backdrop-filter: blur(12px); /* Safari対応 */
    border-left: 1px solid rgba(226, 232, 240, 0.8); /* 境界線も少し透過 */
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.08); /* 左方向に薄い影 */

    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 24px;
    gap: 32px;
    
    /* 右側（画面外）へ移動して待機 */
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease,
                visibility 0.35s ease;
    z-index: 99;
  }

  /* JavaScriptで .is-open または .is-active が付与された際の状態 */
  .header-nav-wrapper.is-open,
  .header-nav-wrapper.is-active {
    transform: translateX(0); /* 定位置（右端）へスライドイン */
    opacity: 1;
    visibility: visible;
  }

  .main-navigation {
    width: 100%;
  }

  .nav-menu {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    font-size: 1.125rem;
  }

  .header-cta {
    width: 100%;
    max-width: 280px;
  }

  .header-cta .cta-btn {
    width: 100%;
    /* padding: 12px 24px; */
    font-size: 1rem;
  }

  .header-inner {
    padding: 0 24px;
  }
}
/*======================================================
    front_page
======================================================*/
  .site-main {
    background-color: #FFFFFF;
    color: var(--color-text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

/* ==========================================
   HERO SECTION (2 Column Layout + IDE Window)
=========================================== */
.hero-section {
  width: 100%;
  padding: 80px 0 100px;
  border-bottom: 1px solid #E5E7EB;
  background-color: #FFFFFF;
  overflow: hidden;
}

/* 左右2カラム構造への拡張 */
.container-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* --- IDE エディタウィンドウ --- */
.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.editor-window {
  width: 100%;
  max-width: 570px;
  background-color: #0F172A; /* ダークネイビー */
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  font-family: "Fira Code", Consolas, Monaco, "Courier New", monospace;
}

/* ウィンドウヘッダー */
.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #1E293B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.editor-title {
  font-size: 0.75rem;
  color: #94A3B8;
  letter-spacing: 0.05em;
}

/* エディタ本文 */
.editor-body {
  display: flex;
  padding: 20px;
  gap: 16px;
  min-height: 200px;
}

.editor-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #475569;
  font-size: 0.875rem;
  user-select: none;
  text-align: right;
}

.editor-code {
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.68;
  color: #E2E8F0;
  white-space: pre-wrap;
  word-break: break-all;
  flex: 1;
}

/* カソルアニメーション */
.editor-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background-color: #0570DE; /* Electric Blue */
  vertical-align: middle;
  margin-left: 2px;
  animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 構文ハイライト用カラークラス */
.code-keyword { color: #F43F5E; font-weight: 600; }  /* const, return */
.code-variable { color: #38BDF8; } /* const name */
.code-string { color: #34D399; }   /* "string" */
.code-property { color: #FBBF24; } /* prop: */
.code-func { color: #60A5FA; }     /* function() */

/* ステータスバー（成功通知） */
.editor-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: rgba(16, 185, 129, 0.1);
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  color: #34D399;
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.editor-status.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* --- スマホ・タブレット対応 --- */
@media (max-width: 960px) {
  .container-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-section {
    padding: 60px 0;
  }
}
  .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 0px;
    margin-bottom: 24px;
  }
  .hero-title .highlight {
    color: var(--color-primary);
  }
  .hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-sub);
    line-height: 1.6;
    margin-bottom: 40px;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  .btn-primary:hover {
    background-color: var(--color-primary-hover);
  }

  /* セクション全体のラッパー */
.features-section {
  padding: 40px 0;
  background-color: #fff; /* 全体になじむ清潔感あるベースカラー */
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* セクション見出しスタイル */
.section-header {
  margin-bottom: 32px;
}

/* 英語小見出し（SERVICES） */
.section-sub-title {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  /* color: #fff; */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* 日本語メイン見出し（事業内容） */
.section-main-title {
  font-size: 1.75rem;
  font-weight: 600;
  /* color: #fff; */
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

/* 4列グリッド構造 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 個別カードスタイル */
.feature-card {
  position: relative;
  background: transparent;
  border-radius: 4px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  background: #fff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* アイコンボックス（青い薄背景） */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #F0F7FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* 見出し */
.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  /* color: #fff; */
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

/* 説明文 */
.feature-desc {
  font-size: 0.8125rem;
  /* color: #fff; */
  line-height: 1.6;
  margin: 0;
  flex: 1; /* 下部の矢印の位置を揃える */
}

/* 右下の矢印ボタン */
.feature-arrow {
  align-self: flex-end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #E5E7EB;
  color: #0570DE;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.feature-card:hover .feature-arrow {
  background-color: #0570DE;
  border-color: #0570DE;
  color: #FFFFFF;
}

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-section {
    padding: 24px 0 48px;
  }
  .feature-card {
    padding: 20px;
  }
}

.products-section {
  padding: 80px 0;
  background-color: #fff;
}

.products-section-header {
  margin-bottom: 32px;
}

.products-section-sub-title {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  /* color: #fff; */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.products-section-main-title {
  font-size: 1.75rem;
  font-weight: 600;
  /* color: #fff; */
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ==========================================
     PC時：4列グリッド配置
=========================================== */
.product-swiper {
  width: 100%;
  overflow: visible;
}

/* PC（1025px以上）ではSwiperを効かせず、CSS Gridで4列表示 */
@media (min-width: 1025px) {
  .product-swiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    transform: none !important;
  }
  .product-swiper .swiper-slide {
    width: auto !important;
    margin: 0 !important;
  }
  .product-swiper .swiper-pagination {
    display: none !important;
  }
}

/* ==========================================
     カードUIデザイン（モック画像忠実再現）
=========================================== */
.product-card {
  display: block;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* カバー画像コンテナ（親要素） */
.product-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #E5E7EB;
  /* overflow: hidden; */
}

/* 画像自体の設定 */
.product-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------------------------------
   黒い透かし（オーバーレイ）の追加
------------------------------------------- */
.product-card-cover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* パターンA: 一律で黒の半透明を被せる（透過率 20% 〜 30% あたりがおすすめ） */
  background-color: rgba(0, 0, 0, 0.20);
  
  /* 
  /* パターンB: 下に行くにつれて暗くなるグラデーションにする場合（アイコンの白フチを強調したい場合）
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 100%);
  */

  pointer-events: none; /* クリックイベントを透過 */
  z-index: 1; /* 画像の上、アイコンの下に配置 */
}

/* 丸型アイコン（画像の境界線をまたぐ設定） */
.product-card-icon-wrap {
  position: absolute;
  left: 20px;
  bottom: -24px; /* アイコンの下半分をみ出す */
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #fff;
  padding: 4px; /* 白フチ */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.product-card-icon {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  background-color: #fff;
  display: block;
}

.product-icon-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #9CA3AF;
}

/* テキストエリア全体の調整 */
.product-card-body {
  padding: 32px 20px 24px 20px; /* 上部は丸アイコンのスペース */
}

.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* メタ情報（カテゴリー ＆ リリース年）を左右に振り分けるスタイル */
.product-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 左寄せと右寄せ */
  gap: 12px;
  margin-top: 4px;
}

.product-card-category {
  font-size: 0.8125rem;
  color: #6B7280;
  margin: 0;
  font-weight: 500;
  /* 長い場合に省略する処理 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-release {
  font-size: 0.8125rem;
  color: #9CA3AF; /* やや控えめな表示 */
  font-weight: 500;
  white-space: nowrap; /* 改行防止 */
  font-feature-settings: "palt"; /* 数字の詰め物調整 */
}

/* ==========================================
     スマホ Swiper 設定
=========================================== */
@media (max-width: 1024px) {
  .products-section-header {
    padding: 0 24px;
  }

  .product-swiper {
    padding-bottom: 40px !important;
  }
  
  .product-swiper .swiper-slide {
    width: 280px;
  }

  .swiper-pagination-bullet-active {
    background: #0570DE !important;
  }
}

  /* --- TIMELINE SECTION --- */
  /* セクション全体 */
    .timeline-section {
      padding: 80px 0;
      background-color: #fff;
    }

    /* ==========================================
      tabs
    =========================================== */

    /* 全体コンテナ */
    .timeline-tabs-wrapper {
      display: flex;
      justify-content: center;
      margin-bottom: 48px;
      width: 100%;
    }

    /* タブリスト本体 */
    .timeline-tabs {
      display: flex;
      justify-content: center;
      gap: 32px; /* タブ間の距離 */
      border-bottom: 1px solid #E5E7EB;
    }

    /* タブボタン共通設定 */
    .tab-btn {
      /* ▼ 既存CSSの干渉を防ぎ、テキスト幅にフィットさせる ▼ */
      display: inline-block;
      width: auto !important;
      flex: none !important;
      margin: 0;
      
      background: transparent;
      border: none;
      outline: none;
      padding: 12px 4px 16px 4px; /* 線の幅＝テキスト幅＋左右4pxになるように調整 */
      font-size: 1rem;
      font-weight: 500;
      color: #6B7280;
      cursor: pointer;
      position: relative;
      transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      -webkit-tap-highlight-color: transparent;
    }

    .tab-btn:hover {
      color: #111827;
    }

    .tab-btn.active {
      color: #0570DE;
      font-weight: 700;
    }

    /* アクティブ時のインジケーター（下線） */
    .tab-btn::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: #0570DE;
      border-radius: 3px 3px 0 0;
      
      /* 中央からスッと伸びるアニメーション（ズレない確実な方法） */
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .tab-btn.active::after {
      transform: scaleX(1);
    }

    /* ==========================================
     タイムライン＆制作実績 セクションCSS
=========================================== */

/* タブコンテンツ切り替え */
.timeline-content {
  display: none;
}
.timeline-content.active {
  display: block;
}

/* タブの親要素（完全中央寄せ） */
.timeline-tabs-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 48px;
}

/* タブコンテナ（下部ボーダーライン） */
.timeline-tabs {
  display: inline-flex;
  gap: 32px;
  width: 100%;
  border-bottom: 1px solid #E5E7EB;
  padding: 0 8px;
}

/* 各タブ */
.tab-btn {
  position: relative;
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  transition: color 0.2s ease;
  outline: none;
}

.tab-btn:hover {
  color: #111827;
}

.tab-btn.active {
  color: #0570DE;
  font-weight: 700;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0570DE;
  border-radius: 2px 2px 0 0;
}

/* リスト全体の親容器 */
.timeline-list {
  position: relative;
  /* max-width: 860px; */
  margin: 0 auto;
  padding-left: 110px; /* PC時の左側スペース（年＋ドット用） */
}

/* 垂直ライン */
.timeline-v-line {
  position: absolute;
  left: 99px; /* ドットの中心を通る位置 */
  top: 24px;
  bottom: 24px;
  width: 2px;
  background-color: #E5E7EB;
  z-index: 1;
}

/* 各行のスタイル */
.timeline-row {
  position: relative;
  margin-bottom: 24px;
}
.timeline-row:last-child {
  margin-bottom: 0;
}

/* ==========================================
   開発中専用カードのスタイル
=========================================== */
.timeline-row.is-developing .developing-card {
  background: #fff;
}

/* Google アイコンの調整 */
.timeline-row.is-developing .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  /* box-shadow: none; */
}

.timeline-row.is-developing .card-icon .material-symbols-outlined {
  font-size: 24px;
}

/* ==========================================
   アニメーション演出
=========================================== */

/* 1. ノードのパルス（明滅＋波紋）アニメーション */
.timeline-node.pulse {
  background-color: #0570DE;
  position: relative;
}

.timeline-node.pulse::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(5, 112, 222, 0.6);
  transform: translate(-50%, -50%);
  animation: nodePulse 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: -1;
}

@keyframes nodePulse {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.8;
  }
  100% {
    width: 260%;
    height: 260%;
    opacity: 0;
  }
}

/* 2. ターミナル風カーソルの点滅 */
.terminal-cursor {
  display: inline-block;
  margin-left: 2px;
  color: #0570DE;
  font-weight: 700;
  animation: cursorBlink 1s infinite steps(2, start);
}

@keyframes cursorBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* 時間軸・ドットエリア */
.timeline-time {
  position: absolute;
  left: -110px;
  top: 32px;
  transform: translateY(-50%);
  width: 110px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;
  z-index: 2;
}
.year-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  /* font-weight: 800; */
  color: #111827;
  margin-right: 12px;
}
.timeline-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #D1D5DB;
  border: 3px solid #FAFAFC;
  /* box-shadow: 0 0 0 1px #D1D5DB; */
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* 最新（一番上）のハイライト */
.timeline-row.is-latest .year-label {
  color: #0570DE;
}
.timeline-row.is-latest .timeline-node {
  width: 14px;
  height: 14px;
  background-color: #0570DE;
  box-shadow: 0 0 0 4px rgba(5, 112, 222, 0.2);
}

/* カードリンク */
.timeline-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* メインカード */
.timeline-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-card-link:hover .timeline-card {
  background: #F8F9FA;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 左側アイコンボックス */
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background-color: #fff;
  /* border: 1px solid #F1F5F9; */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
}
.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 中央コンテンツ */
.card-body {
  flex: 1;
  min-width: 0;
}

/* タイトルとステータスを横並びにする列 */
.card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  /* margin-bottom: 4px; */
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.84375rem;
  color: #6B7280;
  margin: 0;
  margin-top: 8px;
  line-height: 1.5;
  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
}

.card-category {
  font-size: 0.75rem;
  color: #aaa;
  font-size: 10px;
  font-weight: 600;
  font-style: italic;
}

/* ステータスバッジ（タイトル右隣用） */
.status-badge, .genre-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-active {
  background-color: #0570DE;
  color: #FFFFFF;
}

.status-ended {
  background-color: #9CA3AF;
  color: #FFFFFF;
}

.genre-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  background-color: #F3F4F6;
  color: #374151;
}

/* ==========================================
     モバイル対応 (レイアウト保持・はみ出し防止)
=========================================== */
@media (max-width: 640px) {
  /* セクション全体に左右パディングを確保し、画面外切れを防止 */
  .timeline-section {
    /* padding-left: 16px;
    padding-right: 16px; */
  }

  /* タイムライン全体の左側スペース調整 */
  .timeline-list {
    padding-left: 66px;
  }

  /* 垂直線（左からの位置調整） */
  .timeline-v-line {
    left: 57px;
  }

  /* 年ラベル・ドットエリア（画面内にきれいに収まる位置に補正） */
  .timeline-time {
    left: -66px;
    width: 66px;
    padding-right: 6px;
  }

  .year-label {
    font-size: 0.75rem;
    margin-right: 4px;
    font-weight: 700;
  }

  /* ドットサイズ調整 */
  .timeline-node {
    width: 10px;
    height: 10px;
  }
  .timeline-row.is-latest .timeline-node {
    width: 10px;
    height: 10px;
  }

  /* カード内要素のレスポンシブ微調整 */
  .timeline-card {
    padding: 20px 12px;
    gap: 10px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .card-icon svg {
    width: 18px;
    height: 18px;
  }

  .card-title-row {
    gap: 6px;
    margin-bottom: 2px;
  }

  .card-title {
    font-size: 0.875rem;
  }

  .card-desc {
    font-size: 0.75rem;
  }

  .status-badge, .genre-badge {
    font-size: 0.625rem;
    padding: 2px 6px;
  }
}

  /* --- NEWS SECTION --- */
  .news-section {
    padding: 80px 0 120px;
    border-top: 1px solid var(--color-border);
  }
  .news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
  }
  .news-more-link {
    font-size: 0.875rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
  }
  .news-list {
    display: flex;
    flex-direction: column;
  }
  .news-item {
    border-bottom: 1px solid var(--color-border);
  }
  .news-link {
    display: flex;
    align-items: center;
    padding: 20px 0;
    text-decoration: none;
    color: var(--color-text-main);
    transition: background 0.2s;
  }
  .news-link:hover {
    opacity: 0.8;
  }
  .news-date {
    font-size: 0.875rem;
    color: var(--color-text-sub);
    width: 120px;
    flex-shrink: 0;
  }
  .news-category {
    font-size: 0.75rem;
    font-weight: 400;
    color: #555;
    border: 1px solid #555;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-right: 24px;
    flex-shrink: 0;
  }
  .news-title {
    font-size: 1rem;
    font-weight: 500;
    flex-grow: 1;
    margin: 0;
  }
  .news-arrow {
    color: var(--color-text-sub);
    margin-left: 16px;
  }

  /* レスポンシブ対応 (スマホ表示) */
  @media (max-width: 768px) {
    .hero-title { font-size: 2.25rem; }
    .timeline-line { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px !important; text-align: left !important; }
    .left-item .timeline-meta { justify-content: flex-start; }
    .timeline-node { left: 13px !important; }
    .timeline-node.pulse { left: 0px !important; }
    .news-link { flex-wrap: wrap; gap: 8px; }
    .news-date { width: auto; }
  }

/* ==========================================
   Index / Archive
=========================================== */

.index-main {
  width: 100%;
  background-color: #FFFFFF;
  padding-bottom: 96px;
}

/* --- ヘッダー --- */
.index-header {
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 64px 24px 48px;
  text-align: center;
}

.index-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.index-subtitle {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #0570DE; /* Electric Blue */
  margin-bottom: 12px;
}

.index-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

.index-content {
  padding: 64px 24px 0;
}

.index-content-inner {
  max-width: 960px; /* リスト表示に合わせて少し横幅をスリムに調整 */
  margin: 0 auto;
}

/* --- リスト全体の枠組み --- */
.index-news-list {
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
}

.index-news-item {
  border-bottom: 1px solid #E2E8F0;
}

/* --- 1行リンクのレイアウト --- */
.index-news-link {
  display: flex;
  align-items: center;
  padding: 20px 12px;
  text-decoration: none;
  color: #0F172A;
  transition: background-color 0.2s ease;
  position: relative;
  z-index: 1;
}

.index-news-link:hover {
  background-color: #F8FAFC;
}

/* 日付 */
.index-news-date {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 500;
  min-width: 100px;
  flex-shrink: 0;
}

/* カテゴリーバッジ */
.index-news-category {
  font-size: 0.75rem;
  font-weight: 400;
  color: #555; /* Electric Blue */
  border: 1px solid #555;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-right: 24px;
  flex-shrink: 0;
}

/* タイトル */
.index-news-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0F172A;
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.index-news-link:hover .index-news-title {
  color: #0570DE;
}

/* 矢印アイコン */
.index-news-arrow {
  font-size: 1.125rem;
  color: #94A3B8;
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.index-news-link:hover .index-news-arrow {
  color: #0570DE;
  transform: translateX(4px);
}

/* --- スマホ・タブレット用レスポンシブ --- */
@media (max-width: 768px) {
  .index-content {
    padding: 32px 20px 0;
  }

  .index-news-link {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 16px 8px;
  }

  .index-news-date {
    min-width: auto;
    font-size: 0.8125rem;
  }

  .index-news-category {
    margin-right: 0;
    font-size: 0.6875rem;
    padding: 2px 8px;
  }

  .index-news-title {
    width: 100%;
    order: 3;
    font-size: 0.9375rem;
    white-space: normal; /* スマホでは改行を許可 */
  }

  .index-news-arrow {
    margin-left: auto;
    order: 2;
  }
}

/* --- ページネーション（WordPress標準のCSS調整） --- */
.index-pagination {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.index-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.index-pagination a,
.index-pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.index-pagination a {
  color: #475569;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.index-pagination a:hover {
  border-color: #0570DE;
  color: #0570DE;
  background-color: #FFFFFF;
}

.index-pagination .current {
  background-color: #0570DE;
  color: #FFFFFF;
  border: 1px solid #0570DE;
}

/* 記事なしの表示 */
.index-empty {
  text-align: center;
  padding: 64px 0;
  color: #64748B;
}

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

@media (max-width: 768px) {
  .index-main {
    padding-bottom: 64px;
  }

  .index-header {
    padding: 40px 20px 32px;
  }

  .index-title {
    font-size: 1.625rem;
  }

  .index-content {
    padding: 32px 20px 0;
  }

  .index-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .index-card-body {
    padding: 20px;
  }
}

/* ==========================================
   Single
=========================================== */

.single-main {
  width: 100%;
  background-color: #FFFFFF;
  padding-bottom: 96px;
}

/* --- 記事ヘッダー --- */
.single-header {
  /* background-color: #F8FAFC; */
  border-bottom: 1px solid #E2E8F0;
  padding: 48px 24px 48px;
  text-align: center;
}

.single-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.single-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.single-category {
  display: inline-block;
  border: 1px solid #555;
  color: #555;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
}

.single-category:hover {
  opacity: 0.9;
}

.single-date {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 500;
}

.single-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #222;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0;
}

.single-title-category {
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
}

.single-release {
  font-size: 0.875rem;
  font-style: italic;
  color: #555;
}

/* --- アイキャッチ画像 --- */
.single-eyecatch {
  /* width: 100%; */
  padding: 24px 0;
}

.single-eyecatch-inner {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}

.single-eyecatch-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- コンテンツエリア --- */
.single-content {
  padding: 24px 0;
}

.single-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* 本文装飾 */
.single-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #222;
}

.single-body a {
  word-wrap:break-word;
}

.wp-block-button a.wp-element-button {
  background: #0570de !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.wp-block-button.is-style-outline a.wp-element-button {
  color: #0570de !important;
  border: 1px solid #0570de !important;
  background: transparent !important;
}

.single-body h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: #0F172A;
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F1F5F9;
  position: relative;
}

.single-body h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background-color: #0570DE;
}

.single-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin: 36px 0 16px;
}

.single-body h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin: 28px 0 12px;
}

.single-body p {
  margin-bottom: 24px;
}

.single-body a {
  color: #0570DE;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.single-body a:hover {
  opacity: 0.8;
}

.single-body ul, 
.single-body ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.single-body li {
  margin-bottom: 8px;
}

.single-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid #0570DE;
  background-color: #F8FAFC;
  border-radius: 0 8px 8px 0;
  color: #475569;
  font-style: italic;
}

.single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.single-body code {
  background-color: #F1F5F9;
  color: #0F172A;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
}

.single-body pre {
  background-color: #0F172A;
  color: #F8FAFC;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 32px 0;
}

.single-body pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
}

/* YouTube / iframe レスポンシブ対応 */
.embed-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* モダンブラウザ用アスペクト比固定 */
  margin: 1.5rem 0;
  overflow: hidden;
}

/* 念のためフォールバック＆内部iframeのサイズ固定 */
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

/* 旧仕様対応・アスペクト比フォールバック（Padding Hack） */
@supports not (aspect-ratio: 16 / 9) {
  .embed-container {
    height: 0;
    padding-bottom: 56.25%; /* 16:9 の比率 (9 / 16 = 0.5625) */
  }
}

/* --- タグ一覧 --- */
.single-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

.single-tags-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.05em;
}

.single-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-tag-item {
  font-size: 0.8125rem;
  color: #475569;
  background-color: #F1F5F9;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.single-tag-item:hover {
  background-color: #E2E8F0;
  color: #0F172A;
}

/* --- 前後の記事ナビゲーション --- */
.single-nav {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #E2E8F0;
}

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

.single-nav-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #F1F5F9;
  background-color: #FAFAFA;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  height: 100%;
}

.single-nav-item a:hover {
  border-color: #CBD5E1;
  background-color: #F8FAFC;
}

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

.single-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0570DE;
  letter-spacing: 0.05em;
}

.single-nav-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 768px) {
  .text-start-sp {
    text-align: left;
  }

  .single-main {
    padding-bottom: 64px;
  }

  .single-header {
    padding: 40px 20px 32px;
  }

  .single-title {
    font-size: 1.5rem;
  }
  
  .single-eyecatch {
    padding: 24px 16px 0;
  }

  .single-content {
    padding: 32px 20px 0;
  }

  .single-body h2 {
    font-size: 1.35rem;
    margin: 36px 0 20px;
  }

  .single-body h3 {
    font-size: 1.15rem;
  }

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

  .single-nav-next {
    text-align: left;
  }
}

/* ==========================================
   Page
=========================================== */
.page-main {
  width: 100%;
  background-color: #FFFFFF;
  padding-bottom: 32px;
}

/* --- ページヘッダー --- */
.page-header {
  background-color: #fff;
  border-bottom: 1px solid #E2E8F0;
  padding: 64px 24px 48px;
  text-align: center;
}

.page-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-subtitle {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #0570DE; /* Electric Blue */
  margin-bottom: 12px;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

/* --- アイキャッチ画像 --- */
.page-eyecatch {
  width: 100%;
  padding: 40px 24px 0;
}

.page-eyecatch-inner {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.page-eyecatch-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- コンテンツエリア --- */
.page-content {
  padding: 0;
}

.page-content-inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* --- 本文（WordPress標準出力要素の調整） --- */
.page-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #334155;
}

/* 見出し */
.page-body h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: #0F172A;
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F1F5F9;
  position: relative;
}

.page-body h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background-color: #0570DE; /* アクセントライン */
}

.page-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin: 36px 0 16px;
}

.page-body h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin: 28px 0 12px;
}

/* 段落・リンク */
.page-body p {
  margin-bottom: 24px;
}

.page-body a {
  color: #0570DE;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.page-body a:hover {
  opacity: 0.8;
}

/* リスト */
.page-body ul, 
.page-body ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.page-body li {
  margin-bottom: 8px;
}

/* 引用 */
.page-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid #0570DE;
  background-color: #F8FAFC;
  border-radius: 0 8px 8px 0;
  color: #475569;
  font-style: italic;
}

/* 画像 */
.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

/* テーブル（会社概要などでよく利用） */
.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.9375rem;
}

.page-body th,
.page-body td {
  padding: 16px 20px;
  border-bottom: 1px solid #E2E8F0;
  text-align: left;
}

.page-body th {
  background-color: #F8FAFC;
  font-weight: 600;
  color: #0F172A;
  width: 30%;
}

/* --- レスポンシブ調整（スマホ対応） --- */
@media (max-width: 768px) {
  .page-main {
    padding-bottom: 16px;
  }

  .page-header {
    padding: 40px 20px 32px;
  }

  .page-title {
    font-size: 1.625rem;
  }

  .page-eyecatch {
    padding: 24px 16px 0;
  }

  .page-content {
    padding: 20px 0;
  }

  .page-body h2 {
    font-size: 1.375rem;
    margin: 36px 0 20px;
  }

  .page-body h3 {
    font-size: 1.125rem;
  }

  .page-body th,
  .page-body td {
    padding: 12px 14px;
    display: block;
    width: 100%;
  }

  .page-body th {
    border-bottom: none;
    padding-bottom: 4px;
    background-color: transparent;
    color: #0570DE;
  }
}

/* ==========================================
   Category
=========================================== */

.category-main {
  width: 100%;
  background-color: #FFFFFF;
  padding-bottom: 96px;
}

/* --- ヘッダー --- */
.category-header {
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 64px 24px 48px;
  text-align: center;
}

.category-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.category-subtitle {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #0570DE; /* Electric Blue */
  margin-bottom: 12px;
}

.category-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

.category-description {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: #64748B;
  line-height: 1.7;
}

.category-description p {
  margin: 0;
}

/* コンテンツエリア */
.category-content {
  padding: 64px 24px 0;
}

.category-content-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* --- リスト全体の枠組み --- */
.category-news-list {
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
}

.category-news-item {
  border-bottom: 1px solid #E2E8F0;
}

/* --- 1行リンクのレイアウト --- */
.category-news-link {
  display: flex;
  align-items: center;
  padding: 20px 12px;
  text-decoration: none;
  color: #0F172A;
  transition: background-color 0.2s ease;
  position: relative;
  z-index: 1;
}

.category-news-link:hover {
  background-color: #F8FAFC;
}

/* 日付 */
.category-news-date {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 500;
  min-width: 100px;
  flex-shrink: 0;
}

/* タイトル */
.category-news-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0F172A;
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-news-link:hover .category-news-title {
  color: #0570DE;
}

/* 矢印アイコン */
.category-news-arrow {
  font-size: 1.125rem;
  color: #94A3B8;
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.category-news-link:hover .category-news-arrow {
  color: #0570DE;
  transform: translateX(4px);
}

/* --- スマホ・タブレット用レスポンシブ --- */
@media (max-width: 768px) {
  .category-content {
    padding: 32px 20px 0;
  }

  .category-news-link {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 16px 8px;
  }

  .category-news-date {
    min-width: auto;
    font-size: 0.8125rem;
  }

  .category-news-title {
    width: 100%;
    order: 3;
    font-size: 0.9375rem;
    white-space: normal;
  }

  .category-news-arrow {
    margin-left: auto;
    order: 2;
  }
}

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

.category-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-pagination a,
.category-pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-pagination a {
  color: #475569;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.category-pagination a:hover {
  border-color: #0570DE;
  color: #0570DE;
  background-color: #FFFFFF;
}

.category-pagination .current {
  background-color: #0570DE;
  color: #FFFFFF;
  border: 1px solid #0570DE;
}

/* 記事なし */
.category-empty {
  text-align: center;
  padding: 64px 0;
  color: #64748B;
}

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

@media (max-width: 768px) {
  .category-main {
    padding-bottom: 64px;
  }

  .category-header {
    padding: 40px 20px 32px;
  }

  .category-title {
    font-size: 1.625rem;
  }

  .category-content {
    padding: 32px 20px 0;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-card-body {
    padding: 20px;
  }
}

/* ==========================================
   Archive
=========================================== */

.archive-main {
  width: 100%;
  background-color: #FFFFFF;
  padding-bottom: 96px;
}

/* --- ヘッダー --- */
.archive-header {
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 64px 24px 48px;
  text-align: center;
}

.archive-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.archive-subtitle {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #0570DE; /* Electric Blue */
  margin-bottom: 12px;
}

.archive-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

.archive-description {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: #64748B;
  line-height: 1.7;
}

.archive-description p {
  margin: 0;
}

/* --- コンテンツエリア --- */
.archive-content {
  padding: 64px 24px 0;
}

.archive-content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- 記事グリッド（3列配置） --- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.archive-card {
  display: flex;
  height: 100%;
}

.archive-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #F1F5F9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.archive-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* アイキャッチ画像 */
.archive-card-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #F8FAFC;
  position: relative;
}

.archive-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.archive-card-link:hover .archive-card-img {
  transform: scale(1.04);
}

.archive-card-placeholder {
  width: 100%;
  height: 100%;
  background-color: #E2E8F0;
}

/* テキストエリア */
.archive-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.archive-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.archive-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0570DE;
  background-color: #EFF6FF;
  padding: 2px 8px;
  border-radius: 4px;
}

.archive-card-date {
  font-size: 0.8125rem;
  color: #94A3B8;
  font-weight: 500;
}

.archive-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-card-excerpt {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}

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

.archive-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-pagination a,
.archive-pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.archive-pagination a {
  color: #475569;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.archive-pagination a:hover {
  border-color: #0570DE;
  color: #0570DE;
  background-color: #FFFFFF;
}

.archive-pagination .current {
  background-color: #0570DE;
  color: #FFFFFF;
  border: 1px solid #0570DE;
}

/* 該当記事なし */
.archive-empty {
  text-align: center;
  padding: 64px 0;
  color: #64748B;
}

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

@media (max-width: 768px) {
  .archive-main {
    padding-bottom: 64px;
  }

  .archive-header {
    padding: 40px 20px 32px;
  }

  .archive-title {
    font-size: 1.625rem;
  }

  .archive-content {
    padding: 32px 20px 0;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .archive-card-body {
    padding: 20px;
  }
}

/* ==========================================
   About Page Styles (page-about.php など)
   All classes use "about-" prefix
=========================================== */

.about-main {
  width: 100%;
  background-color: #FFFFFF;
  padding-bottom: 120px;
}

/* --- ページヘッダー --- */
.about-header {
  background-color: #fff;
  border-bottom: 1px solid #E2E8F0;
  padding: 64px 24px 48px;
  text-align: center;
}

.about-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-subtitle {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #0570DE;
  margin-bottom: 12px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}

.about-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

/* --- 各セクション --- */
.about-section {
  padding: 80px 24px;
  /* border-bottom: 1px solid #F1F5F9; */
}

.about-section:nth-child(even) {
  background-color: #fff;
}

.about-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
}

.about-section-meta {
  position: sticky;
  top: 76px;
  align-self: start;
}

.about-section-number {
  font-size: 3rem;
  font-weight: 800;
  color: #E2E8F0;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.about-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.about-section-sub {
  font-size: 0.875rem;
  color: #0570DE;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

/* --- 本文・枠組み --- */
.about-section-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #222;
}

.about-section-body p {
  margin: 0 0 24px 0;
}

.about-section-body p:last-child {
  margin-bottom: 0;
}

.about-detail-box {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.about-detail-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-detail-heading::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background-color: #0570DE;
  border-radius: 2px;
}

.about-detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-detail-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
}

.about-detail-list li:last-child {
  margin-bottom: 0;
}

.about-detail-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #0570DE;
  font-weight: 700;
}

.about-detail-list li strong {
  color: #0F172A;
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 4px;
}

/* --- メンバーカード --- */
.about-team-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-member-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.about-member-header {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
}

.about-member-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #222;
  background-color: #f8f9fa;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.about-member-avatar-block {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.about-member-avatar-wrap {
  display: block;
  width: 60px;
  height: 60px;
}

  .about-member-avatar-wrap img {
    display: block;
    margin: 0;
    width: 100%;
    border-radius: 50%;
  }

.about-member-summary-wrap {
  margin-left: 16px;
}

.about-member-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 !important;
}

.about-member-title {
  color: #555;
  font-size: 12px;
}

.about-member-bio {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

/* --- レスポンシブ --- */
@media (max-width: 960px) {
  .about-section-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-section-meta {
    position: static;
  }
}

@media (max-width: 768px) {
  .about-header {
    padding: 20px;
    text-align: left;
  }

  .about-title {
    font-size: 1.75rem;
  }

  .about-section {
    padding: 48px 20px;
  }

  .about-section-number {
    font-size: 2.25rem;
  }

  .about-section-title {
    font-size: 1.375rem;
  }

  .about-detail-box,
  .about-member-card {
    padding: 24px 20px;
  }
}

/* ==========================================
   MINIMAL PRODUCT DETAIL STYLES
=========================================== */

/* 1. 冒頭リード文（囲み枠をなくし、シンプルで静かなトーンに） */
.product-summary-box {
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 20px 24px;
  border-radius: 6px;
  margin-bottom: 36px;
}

.product-summary-box__lead {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.6;
  margin: 0 !important;
}

/* 2. 本文内のH2見出し（装飾を最小限に） */
.single-product .entry-content h2,
.product-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin: 48px 0 20px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1); /* シンプルな下線のみ */
}

/* 3. マイルド表記の技術構成テーブル */
.product-tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  table-layout: fixed;
}

.product-tech-table th,
.product-tech-table td {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

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

.product-tech-table th {
  width: 25%;
  background-color: #F8FAFC;
  color: #0F172A;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.product-tech-table td {
  color: #333;
}

/* 4. 外部リンクボタン（派手な矢印や影を外したシックなボタン） */
.product-link-cta {
  margin-top: 40px;
  text-align: center;
}

.product-link-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0F172A; /* あえて黒系でシックに引き締める */
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.product-link-button:hover {
  opacity: 0.85;
}

.product-status-note {
  margin-top: 16px;
  padding: 16px;
  border-radius: 4px;
  background: #FFFDE7;
}

.product-status-note__text {
  margin: 0 !important;
  color: #37474F;
  font-weight: 600;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .product-tech-table,
  .product-tech-table tbody,
  .product-tech-table tr,
  .product-tech-table th,
  .product-tech-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .product-tech-table tr {
    /* margin-bottom: 12px; */
    border-bottom: 1px solid #e5e7eb; /* 行ごとの区切り線 */
  }

  .product-tech-table th {
    padding: 8px 12px;
    background-color: #f8fafc;
    border-bottom: none;
    text-align: left;
    font-weight: 600;
  }

  .product-tech-table td {
    padding: 8px 12px 12px 12px;
    border-top: none;
  }
}

/* ==========================================
   FOOTER PRE-NAVIGATION SECTION
=========================================== */
.page-footer-nav {
  padding: 32px 0;
  background-color: #f8f9fa; /* 背景のStripeグラデーションを活かす場合 */
  /* border-top: 1px solid rgba(15, 23, 42, 0.08); */
}

.page-footer-nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* カード基本スタイル */
.page-footer-nav__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  /* background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px); */
  background: #f8f9fa;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 4px;
  text-decoration: none;
  color: #0F172A;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* カード・ホバー演出 */
.page-footer-nav__card:hover {
  background: #FFFFFF;
  /* border-color: #0570DE;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(5, 112, 222, 0.08); */
}

.page-footer-nav__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.page-footer-nav__num {
  font-family: monospace;
  font-size: 14px;
  font-weight: 600;
  color: #94A3B8;
}

.page-footer-nav__icon {
  font-size: 18px;
  color: #94A3B8;
  transition: transform 0.3s ease, color 0.3s ease;
}

.page-footer-nav__card:hover .page-footer-nav__icon {
  color: #0570DE;
  transform: translate(3px, -3px); /* 右上へスライド */
}

.page-footer-nav__en {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0570DE;
  margin-bottom: 6px;
}

.page-footer-nav__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.page-footer-nav__desc {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
}

/* レスポンシブ対応 (スマホでは1カラムに) */
@media (max-width: 768px) {
  .page-footer-nav__container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .page-footer-nav__card {
    min-height: auto;
    padding: 24px;
  }
}

/* 404 Page Styles */
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 80px 20px;
  text-align: center;
}

.error-404__container {
  max-width: 600px;
  margin: 0 auto;
}

.error-404__code {
  display: block;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  opacity: 0.15;
  margin-bottom: -20px;
}

.error-404__title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.error-404__description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 40px;
}

.error-404__actions {
  display: flex;
  justify-content: center;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ==========================================
   Footer
=========================================== */
.site-footer {
  background-color: #f8f9fa;
  /* border-top: 1px solid #E5E7EB; */
  padding: 32px 0;
  width: 100%;
}

.footer-inner {
  text-align: center;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: #555;
  margin: 0;
  font-weight: 400;
}