/* ===================================
   Base Styles
   =================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 400;
  line-height: 1.85;
  color: #2d3748;
  background-color: #fff;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #1e40af;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1e3a8a;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #1a202c;
}

ul {
  list-style: none;
}

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

/* ===================================
   Layout
   =================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background-color: #f8fafc;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 2px solid #1e40af;
  color: #1e293b;
  letter-spacing: 0.02em;
}

/* ===================================
   Header
   =================================== */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ヘッダー内ラッパー：全幅化
   - グローバルの .container は変更せず、ヘッダー専用で全幅にする
   - padding-inline で左右余白を可変確保 */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
  padding-inline: clamp(16px, 2vw, 32px);
  position: relative;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 40px;
  width: auto;
  transition: opacity 0.2s ease;
}

.site-logo:hover img {
  opacity: 0.8;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav li {
  display: flex;
  align-items: center;
}

.site-nav a {
  color: #2d3748;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: #1e40af;
  border-bottom-color: #1e40af;
}

.site-nav a.is-current {
  color: #1e40af;
  border-bottom-color: #1e40af;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: #2d3748;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.search-btn:hover {
  background-color: #f7fafc;
  color: #1e40af;
}

/* ===================================
   Hero
   - 背景画像 + 半透明オーバーレイ
   - テキストは左寄せ
   =================================== */
.hero {
  position: relative;
  background-image: url('images/TOP_banner_1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  height: clamp(480px, 520px, 560px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
}

/* 半透明オーバーレイ（可読性向上） */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(26, 32, 44, 0.85) 0%,
    rgba(26, 32, 44, 0.6) 50%,
    rgba(26, 32, 44, 0.3) 100%
  );
}

/* ヒーローコンテンツ */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* H1：大きな白文字、太字、影付き */
.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* H2（p）：左右ライン付き、薄め白、影あり */
.hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.hero-subtitle span {
  padding: 0 28px;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: "";
  flex: 0 0 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

@media (min-width: 769px) {
  .hero-subtitle::before,
  .hero-subtitle::after {
    flex: 0 0 100px;
  }
}

/* サブコピー：左右罫線付き（hero-subtitle よりやや小さめ） */
.hero-subcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  margin-top: 4px;
}

.hero-subcopy::before,
.hero-subcopy::after {
  content: "";
  flex: 0 0 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

@media (min-width: 769px) {
  .hero-subcopy::before,
  .hero-subcopy::after {
    flex: 0 0 100px;
  }
}

/* ===================================
   Page Header
   - 下層ページ用ヘッダー
   =================================== */
.page-header {
  background-color: #1a202c;
  padding: 56px 0;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.page-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* ===================================
   Navigation Cards
   - 主要導線エリア（ヒーロー直下）
   - ヒーロー下部に重なる配置
   =================================== */
.nav-cards {
  position: relative;
  z-index: 10;
  margin-top: -80px;
  background: linear-gradient(to bottom, transparent 0%, #0f172a 40%, #1e293b 100%);
  padding: 0 0 72px;
}

/* カードグリッド */
.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 個別カード（ダーク系、浮き上がり） */
.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 28px 36px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 6px 16px rgba(0, 0, 0, 0.25);
}

.nav-card:focus {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.nav-card:focus:not(:focus-visible) {
  outline: none;
}

.nav-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background: transparent;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
}

.nav-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.nav-card-desc {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* ===================================
   Cards
   =================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* クリッカブルカード */
.card.card-clickable {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card.card-clickable:hover {
  border-color: #1e40af;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.1);
}

.card.card-clickable:focus {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}

.card.card-clickable:focus:not(:focus-visible) {
  outline: none;
}

.card.card-clickable:focus-visible {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}

/* サムネイル領域 */
.card-thumb {
  aspect-ratio: 16 / 9;
  background-color: #e2e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.card.card-clickable:hover .card-thumb img {
  transform: scale(1.03);
}

/* 画像読み込み失敗時のプレースホルダー */
.card-thumb img[src=""],
.card-thumb img:not([src]),
.card-thumb img[src*="thumb-"]:not([src$=".jpg"]):not([src$=".png"]):not([src$=".webp"]) {
  display: none;
}

.card-thumb::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
}

.card-thumb {
  position: relative;
}

.card-thumb img {
  position: relative;
  z-index: 1;
}

.card-body {
  padding: 28px;
}

.card-tag {
  display: inline-block;
  background-color: #e0e7ff;
  color: #3730a3;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1e293b;
  line-height: 1.5;
}

.card-date {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 14px;
}

.card-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 20px;
}

.card.card-clickable .card-text {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e40af;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.card-link::after {
  content: "→";
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.card-link:hover {
  color: #1e3a8a;
}

.card-link:hover::after {
  transform: translateX(3px);
}

/* イベント表示セクション：固定3カラム（1件でも幅が伸びない） */
#seminar-upcoming .card-grid,
#events-upcoming .card-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* イベントカード：全体リンク + 高さ揃え */
#seminar-upcoming .card.card-clickable,
#events-upcoming .card.card-clickable {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#seminar-upcoming .card-body,
#events-upcoming .card-body {
  flex: 1;
}

/* セミナー0件時メッセージ */
.seminar-empty {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.8;
  padding: 32px 0;
}

.seminar-empty[hidden] {
  display: none;
}

/* ===================================
   News List
   =================================== */
.news-list {
  border-top: 1px solid #e5e7eb;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.news-date {
  color: #64748b;
  font-size: 0.9rem;
  flex-shrink: 0;
  width: 100px;
  letter-spacing: 0.02em;
}

.news-text {
  flex: 1;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

/* ===================================
   Footer
   - 全ページ共通のフッター
   - 上部：ロゴ・連絡先・SNS
   - 下部：ナビ・コピーライト
   =================================== */
.site-footer {
  background-color: #1a202c;
  color: #a0aec0;
  padding: 48px 0 32px;
}

/* フッター上部のレイアウト */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #2d3748;
}

/* 会社ロゴ */
.footer-brand {
  flex-shrink: 0;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  height: 36px;
  width: auto;
  transition: opacity 0.2s ease;
}

.footer-logo:hover img {
  opacity: 0.8;
}

/* 連絡先情報 */
.footer-contact {
  text-align: left;
}

.footer-tel {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.footer-tel a {
  color: #e2e8f0;
  font-weight: 500;
}

.footer-tel a:hover {
  color: #fff;
}

.footer-hours {
  font-size: 0.85rem;
  color: #718096;
  margin-left: 4px;
}

.footer-email {
  font-size: 0.9rem;
}

.footer-email a {
  color: #a0aec0;
}

.footer-email a:hover {
  color: #e2e8f0;
}

/* SNSリンク */
.footer-sns {
  display: flex;
  gap: 12px;
}

.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #2d3748;
  border-radius: 4px;
  color: #a0aec0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-sns-link:hover {
  background-color: #4a5568;
  color: #fff;
}

/* フッター下部のレイアウト */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
}

/* フッターナビゲーション */
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  color: #a0aec0;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #e2e8f0;
}

/* コピーライト */
.copyright {
  font-size: 0.8rem;
  color: #718096;
  letter-spacing: 0.02em;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 15px;
  }

  .site-logo img {
    height: 36px;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .site-nav a {
    font-size: 0.85rem;
    padding: 6px 0;
  }

  .search-btn {
    width: 32px;
    height: 32px;
  }

  .hero {
    height: auto;
    min-height: 300px;
    padding: 60px 0;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(26, 32, 44, 0.8) 0%,
      rgba(26, 32, 44, 0.6) 100%
    );
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.5;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.04em;
  }

  .hero-subtitle span {
    padding: 0 16px;
  }

  .hero-subtitle::before,
  .hero-subtitle::after {
    flex: 0 0 48px;
  }

  /* ページヘッダーのレスポンシブ */
  .page-header {
    padding: 40px 0;
  }

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

  .page-lead {
    font-size: 0.9rem;
  }

  /* カードのレスポンシブ */
  .card-grid {
    grid-template-columns: 1fr;
  }

  #seminar-upcoming .card-grid,
  #events-upcoming .card-grid {
    grid-template-columns: 1fr;
  }

  .card-thumb {
    aspect-ratio: 16 / 9;
  }

  .card-body {
    padding: 20px;
  }

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

  .card-text {
    font-size: 0.9rem;
  }

  /* 主要導線エリアのレスポンシブ */
  .nav-cards {
    margin-top: 0;
    padding: 40px 0;
    background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%);
  }

  .nav-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav-card {
    padding: 28px 24px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .nav-card:hover {
    transform: none;
  }

  .nav-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

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

  .nav-card-title {
    font-size: 1rem;
  }

  .nav-card-desc {
    font-size: 0.9rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 28px;
  }

  .card-body {
    padding: 24px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .news-date {
    width: auto;
  }

  /* フッターのレスポンシブ対応 */
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

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

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

  .footer-nav ul {
    justify-content: center;
  }
}

/* ===================================
   Article Page
   - 技術記事ページ用スタイル
   =================================== */

/* パンくずリスト */
.breadcrumb {
  background-color: #f7fafc;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  color: #4a5568;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: #a0aec0;
}

.breadcrumb-list a {
  color: #4a5568;
}

.breadcrumb-list a:hover {
  color: #1e40af;
}

/* 記事ヘッダー */
.article-header {
  background-color: #1a202c;
  padding: 48px 0;
  color: #fff;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.article-category {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 3px;
  font-weight: 500;
  color: #fff;
}

.article-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  color: #fff;
}

.article-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 720px;
}

.article-author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.article-author-label {
  margin-right: 8px;
}

.article-author-name {
  color: #fff;
}

/* 記事本文 */
.article-body {
  padding: 48px 0 64px;
}

.container-article {
  max-width: 780px;
}

.article-section {
  margin-bottom: 48px;
}

.article-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1e40af;
  color: #1a202c;
  letter-spacing: 0.04em;
}

.article-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #1a202c;
  letter-spacing: 0.03em;
}

.article-section p {
  margin-bottom: 20px;
  line-height: 2;
}

.article-section ul,
.article-section ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-section li {
  margin-bottom: 8px;
  line-height: 1.9;
}

.article-section ul {
  list-style: disc;
}

.article-section ol {
  list-style: decimal;
}

/* 目次 */
.toc {
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.toc-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1a202c;
  border-bottom: none;
  padding-bottom: 0;
}

.toc-list {
  list-style: decimal;
  padding-left: 20px;
  font-size: 0.95rem;
}

.toc-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.toc-list ol {
  list-style: decimal;
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 0;
}

.toc-list a {
  color: #2d3748;
}

.toc-list a:hover {
  color: #1e40af;
}

/* 図 */
.article-figure {
  margin: 32px 0;
  text-align: center;
}

.article-figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background-color: #f7fafc;
}

.article-figure figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #4a5568;
  text-align: center;
}

/* 数式ブロック */
.formula-block {
  margin: 32px 0;
  padding: 24px;
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-align: center;
}

.formula-content {
  margin-bottom: 12px;
}

.formula-img {
  max-width: 100%;
  height: auto;
}

.formula-caption {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 0;
}

/* インラインコード */
.code-inline {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", "Source Code Pro", monospace;
  font-size: 0.9em;
  background-color: #edf2f7;
  padding: 2px 6px;
  border-radius: 3px;
  color: #1a202c;
}

/* コールアウト */
.callout {
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: 6px;
  border-left: 4px solid;
}

.callout-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.callout p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.callout-note {
  background-color: #fef3c7;
  border-color: #f59e0b;
}

.callout-note .callout-title {
  color: #b45309;
}

.callout-point {
  background-color: #dbeafe;
  border-color: #1e40af;
}

.callout-point .callout-title {
  color: #1e40af;
}

.callout-term {
  background-color: #f0fdf4;
  border-color: #16a34a;
}

.callout-term .callout-title {
  color: #16a34a;
}

.callout-term dl {
  margin: 0;
}

.callout-term dt {
  font-weight: 600;
  margin-bottom: 4px;
  color: #1a202c;
}

.callout-term dd {
  margin-left: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #2d3748;
}

/* 関連コンテンツ */
.related-contents {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.related-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a202c;
  border-bottom: none;
  padding-bottom: 0;
}

.related-list {
  list-style: none;
  padding-left: 0;
}

.related-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.related-list a {
  color: #2d3748;
  font-weight: 500;
}

.related-list a:hover {
  color: #1e40af;
}

.related-category {
  font-size: 0.8rem;
  color: #4a5568;
  background-color: #f7fafc;
  padding: 4px 10px;
  border-radius: 3px;
}

/* 出典表記 */
.article-source {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.8;
}

.article-source a {
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-source a:hover {
  color: #1e40af;
}

.article-formula {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 0;
  letter-spacing: 0.02em;
}

/* 一覧へ戻る */
.article-nav {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.article-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e40af;
  padding: 12px 20px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  background-color: #f7fafc;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.article-nav-back:hover {
  border-color: #1e40af;
  background-color: #ebf4ff;
}

/* ===================================
   Article Page Responsive
   =================================== */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 10px 0;
  }

  .breadcrumb-list {
    font-size: 0.8rem;
    gap: 6px;
  }

  .breadcrumb-list li:not(:last-child)::after {
    margin-left: 6px;
  }

  .article-header {
    padding: 32px 0;
  }

  .article-meta {
    gap: 8px 12px;
    font-size: 0.8rem;
  }

  .article-title {
    font-size: 1.4rem;
  }

  .article-lead {
    font-size: 0.95rem;
  }

  .article-body {
    padding: 32px 0 48px;
  }

  .toc {
    padding: 20px;
  }

  .toc-list {
    font-size: 0.9rem;
  }

  .article-section {
    margin-bottom: 36px;
  }

  .article-section h2 {
    font-size: 1.3rem;
  }

  .article-section h3 {
    font-size: 1.1rem;
  }

  .article-figure {
    margin: 24px -20px;
  }

  .article-figure img {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .formula-block {
    margin: 24px -20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 20px;
  }

  .callout {
    margin: 20px 0;
    padding: 16px 20px;
  }

  .related-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ===================================
   Article Embed (iframe記事埋め込み)
   =================================== */
.article-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.article-actions {
  margin-bottom: 20px;
}

.article-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4a5568;
  padding: 8px 14px;
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.article-actions a:hover {
  border-color: #1e40af;
  color: #1e40af;
}

.article-embed {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.article-embed iframe {
  display: block;
  width: 100%;
  height: 1200px;
  border: none;
}

@media (max-width: 768px) {
  .article-embed iframe {
    height: 800px;
  }
}

/* ===================================
   Events Page
   - セミナー・レビュー会一覧
   =================================== */

/* フィルタUI */
.events-filter {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 71px;
  z-index: 50;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: #1e40af;
  color: #1e40af;
}

.filter-tab.is-active {
  background-color: #1e40af;
  border-color: #1e40af;
  color: #fff;
}

.filter-tab:focus {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}

.filter-tab:focus:not(:focus-visible) {
  outline: none;
}

/* イベントセクション */
.events-section {
  padding-top: 48px;
  padding-bottom: 64px;
}

/* イベントグループ */
.events-group {
  margin-bottom: 56px;
}

.events-group:last-child {
  margin-bottom: 0;
}

.events-group[hidden] {
  display: none;
}

.events-group-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  color: #1a202c;
  display: flex;
  align-items: center;
  gap: 12px;
}

.events-group-label {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.events-group-label-seminar {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.events-group-label-review {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.events-group-label-set {
  background-color: #1e40af;
  color: #fff;
}

.events-group-desc {
  font-size: 0.95rem;
  color: #4a5568;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* イベントリスト */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* イベントカード共通 */
.event-card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e0;
}

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

/* イベントメタ情報 */
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.event-format,
.event-target {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.event-format {
  background-color: #f0fdf4;
  color: #166534;
}

.event-target {
  background-color: #ebf4ff;
  color: #1a365d;
}

/* イベントタイトル */
.event-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a202c;
  line-height: 1.5;
}

/* イベント日程（単独開催用） */
.event-schedule {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 12px;
}

/* イベント要約 */
.event-summary {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* イベントリンク */
.event-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1e40af;
  padding: 8px 16px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  background-color: #f7fafc;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.event-link:hover {
  border-color: #1e40af;
  background-color: #ebf4ff;
}

/* 詳細ページが存在しないカード用（非活性） */
.event-link.is-disabled {
  color: #94a3b8;
  border-color: #e2e8f0;
  background-color: #f1f5f9;
  cursor: default;
}

.event-link.is-disabled:hover {
  border-color: #e2e8f0;
  background-color: #f1f5f9;
}

.event-card-inner {
  display: flex;
  align-items: stretch;
  background-color: #f7fafc;
  border-bottom: 1px solid #e2e8f0;
}

.event-part {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
}

.event-part-label {
  display: none;
}

.event-part-type {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
}

.event-part-schedule {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.5;
}

/* 実施なし側のグレーアウト */
.event-part--disabled {
  background-color: #e5e7eb;
}

.event-part--disabled .event-part-label,
.event-part--disabled .event-part-type,
.event-part--disabled .event-part-schedule,
.event-part-note {
  color: #6b7280;
}

.event-part-note {
  font-size: 0.75rem;
}

/* 開催形式バッジ（各パート内） */
.event-part-format {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #166534;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 3px;
  margin-top: 8px;
}

.event-part-connector {
  width: 1px;
  background-color: #e2e8f0;
  position: relative;
}

.event-part-connector::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 2px solid #1e40af;
  border-radius: 50%;
}

.event-part-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #1e40af;
  border-radius: 50%;
}

/* フィルタ結果なし */
.events-empty {
  text-align: center;
  padding: 48px 20px;
  color: #4a5568;
}

.events-empty[hidden] {
  display: none;
}

/* ===================================
   Events Page Responsive
   =================================== */
@media (max-width: 768px) {
  .events-filter {
    top: 0;
    padding: 16px 0;
  }

  .filter-tabs {
    gap: 6px;
  }

  .filter-tab {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .events-section {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .events-group {
    margin-bottom: 40px;
  }

  .events-group-title {
    font-size: 1.15rem;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .event-card-inner {
    flex-direction: column;
  }

  .event-part {
    padding: 16px 20px;
  }

  .event-part-connector {
    width: 100%;
    height: 1px;
  }

  .event-part-connector::before,
  .event-part-connector::after {
    display: none;
  }

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

  .event-title {
    font-size: 1.05rem;
  }

  .event-summary {
    font-size: 0.9rem;
  }
}

/* ===================================
   Events - Past (Ended) State
   =================================== */

/* 開催終了セクション見出し */
.events-past-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid #e2e8f0;
}

.events-past-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 24px;
  padding: 10px 16px;
  background-color: #f1f5f9;
  border-left: 5px solid #94a3b8;
  border-radius: 0 6px 6px 0;
}

/* 終了グループは余白を狭めに */
.events-group-past {
  margin-bottom: 32px;
}

/* 終了カード：position基点（バッジ配置用） */
.event-card.is-past {
  position: relative;
  background-color: #f8fafc;
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.event-card.is-past:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

/* 終了バッジ：右上に配置 */
.event-card.is-past .event-status {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background-color: #6b7280;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* バッジに視覚シンボル（●）を付与 */
.event-card.is-past .event-status::before {
  content: "●";
  font-size: 8px;
  line-height: 1;
  opacity: 0.8;
}

/* 終了カード内のヘッダー部をグレートーン化 */
.event-card.is-past .event-card-inner {
  background-color: #edf0f4;
  border-bottom-color: #d1d5db;
}

.event-card.is-past .event-part-type {
  color: #4a5568;
}

.event-card.is-past .event-part-schedule {
  color: #6b7280;
}

.event-card.is-past .event-part-connector::before {
  border-color: #94a3b8;
  background-color: #f1f5f9;
}

.event-card.is-past .event-part-connector::after {
  background-color: #94a3b8;
}

/* 終了カード本文のトーンを落とす */
.event-card.is-past .event-title {
  color: #4a5568;
}

.event-card.is-past .event-summary {
  color: #6b7280;
}

/* 終了カードのフォーマットバッジを控えめに */
.event-card.is-past .event-format {
  background-color: #e5e7eb;
  color: #6b7280;
}

/* 終了カードのCTAボタンを控えめに */
.event-card.is-past .event-link {
  background-color: transparent;
  border-color: #cbd5e1;
  color: #6b7280;
}

.event-card.is-past .event-link:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #4a5568;
}

/* SP対応 */
@media (max-width: 768px) {
  .events-past-section {
    margin-top: 40px;
    padding-top: 32px;
  }

  .events-past-heading {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .event-card.is-past .event-status {
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    padding: 4px 12px;
  }
}

/* ===================================
   Contents List Page
   - フィルタ・タグ・カード改善
   =================================== */

/* フィルタエリア */
.contents-filter {
  padding: 24px 0;
}

/* フィルタエリアの幅をカードグリッドに揃える */
.contents-filter .container {
  max-width: calc(340px * 3 + 24px * 2 + 40px);
}

.contents-filter .filter-tabs {
  max-width: calc(340px * 3 + 24px * 2);
  margin: 0 auto;
}

/* タグエリア */
.tags-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.tags-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  flex-shrink: 0;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.tag-chip {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tag-chip:hover {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
}

.tag-chip.is-active {
  background-color: #1e40af;
  border-color: #1e40af;
  color: #fff;
}

.tags-more {
  font-size: 0.8rem;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tags-more:hover {
  color: #1e40af;
}

/* 選択中条件 & 並び替え */
.filter-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.active-filters-empty {
  font-size: 0.85rem;
  color: #94a3b8;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #1e40af;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
}

.active-chip-remove {
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
}

.active-chip-remove:hover {
  opacity: 1;
}

.filter-reset {
  font-size: 0.8rem;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.filter-reset:hover {
  color: #1e40af;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sort-label {
  font-size: 0.85rem;
  color: #64748b;
}

.sort-select {
  font-size: 0.85rem;
  padding: 6px 28px 6px 12px;
  color: #334155;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.sort-select:hover {
  border-color: #cbd5e1;
}

.sort-select:focus {
  outline: 2px solid #1e40af;
  outline-offset: 1px;
}

/* コンテンツリスト */
.contents-list {
  padding-top: 40px;
}

/* コンテンツ一覧のコンテナ幅をグリッドに揃える */
.contents-list .container {
  max-width: calc(340px * 3 + 24px * 2 + 40px);
}

/* コンテンツ一覧専用グリッド（固定幅3カラム） */
.contents-list .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 340px);
  gap: 24px;
  justify-content: center;
}

/* 記事0件時のメッセージ */
.contents-empty {
  width: calc(340px * 3 + 24px * 2);
  margin: 0 auto;
  padding: 80px 0;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

.contents-empty[hidden] {
  display: none;
}

/* コンテンツカード固定サイズ */
.contents-list .card-contents {
  width: 340px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.contents-list .card-contents .card-thumb {
  flex-shrink: 0;
}

.contents-list .card-contents .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contents-list .card-contents .card-text {
  flex: 1;
}

/* さらに表示するボタン */
.load-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e40af;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.load-more-btn:hover {
  border-color: #1e40af;
  background-color: #f8fafc;
}

.load-more-btn:focus {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}

.load-more-btn:focus:not(:focus-visible) {
  outline: none;
}

/* カード改善 */
.card-contents {
  position: relative;
}

.card-contents .card-thumb {
  position: relative;
}

.card-format {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  background-color: #1e40af;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.card-contents .card-body {
  position: relative;
  padding: 20px;
}

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

.card-category {
  font-size: 0.75rem;
  font-weight: 500;
  color: #475569;
  background-color: #f8fafc;
  padding: 4px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.card-contents .card-date {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0;
}

.card-contents .card-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #1e293b;
}

.card-tags {
  display: none; /* タグは内部ロジック用として非表示 */
}

.card-tag-sm {
  font-size: 0.7rem;
  color: #64748b;
}

.card-contents .card-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-author {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
}

.card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.1rem;
  color: #cbd5e1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.card-contents:hover .card-arrow {
  color: #1e40af;
  transform: translateX(3px);
}

/* ===================================
   Contents List Page Responsive
   =================================== */
@media (max-width: 1120px) {
  .contents-filter .container,
  .contents-list .container {
    max-width: calc(340px * 2 + 24px + 40px);
  }

  .contents-filter .filter-tabs {
    max-width: calc(340px * 2 + 24px);
  }

  .contents-list .card-grid {
    grid-template-columns: repeat(2, 340px);
    justify-content: center;
  }

  .contents-empty {
    width: calc(340px * 2 + 24px);
  }
}

@media (max-width: 768px) {
  .contents-filter .container,
  .contents-list .container {
    max-width: 100%;
  }

  .contents-filter .filter-tabs {
    max-width: 100%;
  }

  .contents-list .card-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .contents-list .card-contents {
    width: 100%;
    min-height: auto;
  }

  .contents-empty {
    width: 100%;
    padding: 60px 20px;
  }

  .contents-filter {
    padding: 20px 0;
  }

  .contents-filter .filter-tabs {
    flex-wrap: wrap;
  }

  .tags-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tags-list {
    width: 100%;
  }

  .tag-chip {
    padding: 5px 12px;
    font-size: 0.75rem;
  }

  .filter-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .sort-control {
    width: 100%;
    justify-content: flex-end;
  }

  .contents-list {
    padding-top: 32px;
  }

  .card-contents .card-body {
    padding: 16px;
  }

  .card-contents .card-title {
    font-size: 0.95rem;
  }

  .card-contents .card-text {
    display: none;
  }

  .card-arrow {
    bottom: 16px;
    right: 16px;
  }
}

/* TOP 近日予定カードのリード文3行省略 */
#seminar-upcoming .card-body {
  display: flex;
  flex-direction: column;
}

#seminar-upcoming .card-text.card-excerpt {
  line-height: 1.8;
  max-height: 5.4em;
  overflow: hidden;
  margin-bottom: 0;
}

/* ===================================
   Header Search (ドロップダウン検索)
   =================================== */
.header-search {
  position: absolute;
  top: 100%;
  right: 0;
  width: 340px;
  padding: 12px 16px;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 101;
}

.header-search[hidden] {
  display: none;
}

.header-search-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #1a202c;
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease;
}

.header-search-input::placeholder {
  color: #a0aec0;
}

.header-search-input:focus {
  border-color: #1e40af;
  background-color: #fff;
}

@media (max-width: 768px) {
  .header-search {
    width: calc(100vw - 32px);
    right: 0;
  }
}

/* ========================================
   Contact Page (scoped via .contact-page)
   ======================================== */
.contact-page main {
  background: linear-gradient(180deg, #f5f6f8 0%, #fff 55%, #fff 100%);
}

.contact-page .page-header {
  background: transparent;
  padding-top: 64px;
  padding-bottom: 36px;
}

.contact-page .page-header .page-title {
  text-align: center;
  color: #111;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-page .contact-hero {
  padding-top: 28px;
  padding-bottom: 96px;
}

.contact-page .contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 780px;
  margin: 0 auto;
}

.contact-page .contact-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
  padding: 34px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-page .contact-card-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 18px;
}

.contact-page .contact-card-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
}

.contact-page .contact-card-icon {
  color: #2f5597;
  display: inline-flex;
  flex-shrink: 0;
}

.contact-page .contact-card-link {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #2f5597;
}

.contact-page .contact-card-link:hover,
.contact-page .contact-card-link:focus-visible {
  text-decoration: underline;
}

/* sr-only (B案切替用) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .contact-page .page-header {
    padding-top: 44px;
    padding-bottom: 24px;
  }

  .contact-page .contact-hero {
    padding-top: 18px;
    padding-bottom: 64px;
  }

  .contact-page .contact-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-page .contact-card {
    padding: 26px 22px;
  }

  .contact-page .contact-card-link {
    font-size: 1.15rem;
  }
}

/* ========================================
   Seminar Apply Button: 申込終了状態
======================================== */
.btn-primary.is-closed {
  background: #64748b;
}

.btn-primary.is-closed:hover {
  background: #64748b;
  filter: none;
}

/* ========================================
   技術コンテンツ：記事内テーブル
   - 既存ページに影響しないよう .article-body 配下に限定
======================================== */
.article-body .article-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.article-body .article-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.article-body .article-table th,
.article-body .article-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: middle;
  text-align: center;
  line-height: 1.7;
  word-break: break-word;
}

.article-body .article-table thead th {
  background: rgba(0, 0, 0, 0.04);
  font-weight: 700;
}

.article-body .article-table tbody th {
  font-weight: 700;
  background: rgba(0, 0, 0, 0.02);
}

.article-body .note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #64748b;
}

/* ========================================
   Zoomサポートページ：イベント詳細ページ基準に統一
   - .support-zoom-check 配下に限定（他ページ影響なし）
======================================== */

/* ヒーロー：背景画像・固定高さを上書き */
.support-zoom-check .hero {
  background-image: none;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  height: auto;
  padding: 64px 0;
  display: block;
}

/* H1：text-shadow等をリセットしサイズ統一 */
.support-zoom-check .hero-title {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  text-shadow: none;
}

/* H2 */
.support-zoom-check .article-section h2,
.support-zoom-check .section-title {
  font-size: 1.47rem; /* 22px / 15px base */
  font-weight: 600;
  line-height: 1.4;
  margin: 64px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2f5aa8;
  color: #1e293b;
  letter-spacing: 0.02em;
}

.support-zoom-check .article-section h2:first-child,
.support-zoom-check .section-title:first-child {
  margin-top: 0;
}

/* Zoomの起動・ミーティングへの参加（h3）は罫線なし */
.support-zoom-check h3.section-title {
  border-bottom: none;
  padding-bottom: 0;
}

/* セクション間余白 */
.support-zoom-check .article-section {
  margin-bottom: 48px;
}

/* H3 */
.support-zoom-check .article-section h3 {
  font-size: 1.2rem; /* 18px / 15px base */
  font-weight: 600;
  line-height: 1.5;
  margin: 32px 0 16px;
  color: #1e293b;
  letter-spacing: 0.02em;
}

/* 本文 */
.support-zoom-check .article-section p {
  line-height: 1.8;
  margin-bottom: 16px;
  color: #334155;
}

/* リスト */
.support-zoom-check .article-section ul,
.support-zoom-check .article-section ol {
  margin: 16px 0 24px;
  padding-left: 1.4em;
}

.support-zoom-check .article-section ul {
  list-style: disc;
}

.support-zoom-check .article-section ol {
  list-style: decimal;
}

.support-zoom-check .article-section li {
  line-height: 1.8;
  margin-bottom: 8px;
  color: #334155;
}

@media (max-width: 768px) {
  .support-zoom-check .hero {
    padding: 48px 0 40px;
  }

  .support-zoom-check .hero-title {
    font-size: 1.4rem;
  }
}

/* ========================================
   Zoom利用方法ページ：行間のみ調整
   - .zoom-check-page（main要素）配下に限定
======================================== */
.zoom-check-page p,
.zoom-check-page li {
  line-height: 1.75;
}

/* ===== ページINDEX ===== */
.page-index {
  position: relative;
  margin: 16px 0 16px;
  padding: 28px 24px 12px;
  border: 1px solid #1e88e5;
  border-radius: 2px;
  background: #ffffff;
}

.page-index__label {
  position: absolute;
  top: -14px;
  left: 16px;
  padding: 6px 14px;
  background: #1e88e5;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border-radius: 2px;
}

.page-index__title {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.page-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 0;
}

.page-index + p {
  margin-top: 12px;
}

.page-index__list li {
  border-top: none;
  margin: 0 0 12px;
  padding: 0;
}

.page-index__list li:last-child {
  margin-bottom: 0;
}

.page-index__list a {
  display: block;
  position: relative;
  padding: 0 0 0 22px;
  text-decoration: none;
  color: #222;
  line-height: 2;
}

.page-index__list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #1e88e5;
}

.page-index__list a:hover {
  color: #1e88e5;
}

/* INDEXラベル・リストマーカーの競合解消（article-section内対応） */
.page-index p.page-index__label {
  color: #ffffff;
}

.page-index ul.page-index__list {
  list-style: none;
  padding: 0;
}

.page-index ul.page-index__list li {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.page-index ul.page-index__list li:last-child {
  margin-bottom: 0;
}

/* ===== Zoom メール例ボックス ===== */
.zoom-mail-example {
  margin: 16px 0 24px;
  padding: 16px 20px;
  background: #f3f4f6;
  border-radius: 6px;
}

.zoom-mail-example__text {
  margin: 0 0 12px;
  line-height: 1.8;
  font-size: 15px;
}

.zoom-mail-example img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ===== Zoomリンクボックス ===== */
.zoom-link-box {
  margin: 16px 0 24px;
}

.zoom-link-box a {
  display: block;
  padding: 14px 18px;
  border: 1px solid #2f5aa8;
  border-radius: 6px;
  color: #2f5aa8;
  text-decoration: none;
  line-height: 1.7;
  font-size: 15px;
  background: #ffffff;
  transition: background 0.2s ease;
}

.zoom-link-box a::before {
  content: "→";
  margin-right: 8px;
}

.zoom-link-box a:hover {
  background: #f5f8ff;
}

