/* =========================================================
   AOSHIRO Match 画面数・導線まとめ - スタイルシート
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS変数（カラーパレット・共通値）
   --------------------------------------------------------- */
:root {
  --primary: #0B1D3A;        /* 濃紺 - メインカラー */
  --primary-light: #1A3A5C;  /* やや明るい紺 */
  --accent: #2C7BE5;         /* 落ち着いた青 - アクセント */
  --accent-light: #E8F1FB;   /* アクセントの薄い背景色 */
  --white: #FFFFFF;
  --gold: #64748B;           /* スレートグレー */
  --text: #1B2838;
  --text-sub: #5A6B7D;
  --green: #334155;          /* ダークグレー */
  --sidebar-bg: #F8FAFB;
  --border-color: #E2E8F0;
  --sidebar-width: 220px;
  --bg-main: #F0F2F5;        /* メインコンテンツ背景 */
}

/* ---------------------------------------------------------
   2. リセット + ベーススタイル
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  height: 100%;
}

body {
  font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul,
ol {
  list-style: none;
}

/* ---------------------------------------------------------
   3. サイドメニュー
   --------------------------------------------------------- */
#sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  box-shadow: 2px 0 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

/* サイドバー ロゴ/タイトル */
.sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.sidebar-logo .logo-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.sidebar-logo .logo-sub {
  font-size: 0.7rem;
  color: var(--text-sub);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* サイドバー 目次 */
.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.sidebar-nav li {
  position: relative;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 20px;
  font-size: 0.78rem;
  color: var(--text-sub);
  font-weight: 400;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.4;
  word-break: keep-all;
}

.sidebar-nav li a .nav-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--text-sub);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-nav li a:hover {
  color: var(--primary);
  background: rgba(11, 29, 58, 0.04);
}

.sidebar-nav li a:hover .nav-num {
  background: var(--primary);
  color: var(--white);
}

/* アクティブ項目 */
.sidebar-nav li a.active {
  border-left-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
  background: rgba(11, 29, 58, 0.06);
}

.sidebar-nav li a.active .nav-num {
  background: var(--primary);
  color: var(--white);
}

/* ナビゲーショングループヘッダー */
.sidebar-nav .nav-group-header {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 20px 6px 20px;
  margin-top: 12px;
  border-bottom: 1px solid var(--border-color);
}

/* サイドバー 印刷ボタン */
.fab-pdf-btn {
  position: sticky;
  top: 16px;
  float: right;
  margin-right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.fab-pdf-btn:hover {
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ---------------------------------------------------------
   4. メインコンテンツ
   --------------------------------------------------------- */
main {
  margin-left: var(--sidebar-width);
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
  background: var(--bg-main);
  height: 100vh;
}

section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  min-height: 715px;
}

/* .slide-card: 固定サイズカードラッパー */
.slide-card {
  width: 1200px;
  height: 675px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.10),
    0 24px 64px rgba(0,0,0,0.08);
  overflow: hidden;
  padding: 28px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

/* セクション2専用: overflow防止 */
#sec-2 .slide-card {
  overflow: hidden;
}

#sec-2 .section-body {
  overflow: hidden;
}

/* ページ番号 */
.page-num {
  position: absolute;
  bottom: 14px;
  right: 20px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(100, 116, 139, 0.7);
  letter-spacing: 0.05em;
  line-height: 1;
  z-index: 10;
  pointer-events: none;
}

/* ---------------------------------------------------------
   5. ヒーローセクション
   --------------------------------------------------------- */
#hero {
  background: var(--primary);
}

#hero .slide-card {
  background: linear-gradient(150deg, #0A3D62 0%, #0D7CC4 50%, #1B8FD4 100%);
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 800px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 6px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
}

#hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

#hero .hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

#hero .hero-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------------------------------------------------------
   6. セクションタイトル
   --------------------------------------------------------- */
.section-header {
  margin-bottom: 10px;
  flex-shrink: 0;
}

.section-header h2 {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--primary);
  margin: 0;
  gap: 10px;
  line-height: 1.3;
}

.section-num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(11, 29, 58, 0.25);
}

/* コンテンツエリアは残りスペースを使う */
.section-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-sub);
  margin-top: 4px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   7. カードグリッド & カード
   --------------------------------------------------------- */
.summary-list {
  list-style: none;
  counter-reset: summary;
  padding: 0;
  margin: 40px auto 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.summary-list li {
  counter-increment: summary;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 22px 18px 68px;
  font-size: 1.05rem;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.04);
}

.summary-list li::before {
  content: counter(summary);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 12px 28px rgba(0,0,0,0.08);
}

.card h3 {
  margin-top: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.card p {
  font-size: 0.78rem;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.7;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  font-size: 0.78rem;
  color: var(--text);
  padding: 3px 0 3px 14px;
  position: relative;
  line-height: 1.6;
}

.card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* カラーバリエーション */
.card.accent-blue {
  border-top: 4px solid var(--primary);
}

.card.accent-orange {
  border-top: 4px solid var(--gold);
}

.card.accent-green {
  border-top: 4px solid var(--green);
}

/* ---------------------------------------------------------
   8. テーブル
   --------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin: 16px 0 0 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

/* セクション2専用: テーブルをコンパクトに */
#sec-2 .table-wrap {
  margin: 8px 0 0 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
}

thead {
  background: var(--primary);
  color: var(--white);
}

thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

tbody tr:nth-child(odd) {
  background: var(--white);
}

tbody tr:nth-child(even) {
  background: #F8FAFC;
}

tbody tr:hover {
  background: rgba(44, 123, 229, 0.08);
}

tbody td {
  padding: 12px 16px;
  color: var(--text);
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.82rem;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* テーブル列幅の最適化（セクション2用） */
#sec-2 table th:first-child,
#sec-2 table td:first-child {
  width: 80px;
}

#sec-2 table th:nth-child(2),
#sec-2 table td:nth-child(2) {
  width: 200px;
}

#sec-2 table th:nth-child(3),
#sec-2 table td:nth-child(3) {
  min-width: 280px;
}

/* ---------------------------------------------------------
   9. フローチャート
   --------------------------------------------------------- */
.flow-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.flow-section {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 20px 24px;
  border: 2px solid var(--border-color);
}

.flow-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px 0;
}

.flow-steps {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.flow-step {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  min-width: 120px;
  text-align: center;
}

.flow-arrow {
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   10. 画面構成スライド用：画面遷移ツリー（横向きレイアウト）
   --------------------------------------------------------- */
.screen-flow-tree {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  margin: 0 auto;
  overflow: hidden;
}

/* メインフロー: 左から右への横並び */
.main-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}

/* 画面ボックス（6ノード用に最適化 - 少し大きめに調整） */
.screen-node {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  min-width: 125px;
  max-width: 125px;
  min-height: 62px;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  flex-shrink: 0;
}

/* 横向き矢印 */
.horizontal-arrow {
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
  padding: 0 8px;
  font-weight: 700;
}

/* 分岐付きアイテム */
.flow-item-with-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  flex-shrink: 0;
}

/* 下方向の分岐線 */
.branch-line-down {
  width: 2px;
  height: 28px;
  background: var(--accent);
  position: relative;
  z-index: 1;
}

/* 分岐先の行（下段） */
.branch-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding-left: 0;
  margin-top: 0;
}

/* 分岐先ボックスのスタイル */
.screen-node.branch-node {
  border-color: var(--accent);
  background: #F8FAFC;
  border-width: 2px;
}

/* スペーサー: アカウント登録の下に配置 */
.branch-spacer {
  width: 106px; /* QR読み込み(90px) + 矢印(8px padding左右 + 矢印自体) */
  flex-shrink: 0;
}

/* スペーサー: パスワードリマインダーとアカウント情報編集の間 */
.branch-spacer-middle {
  width: 416px; /* プロフィール登録 + メンバー待機 + 矢印x4 を加算 */
  flex-shrink: 0;
}

/* 第2分岐行: 3つの並列分岐用 */
.branch-row-triple {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  padding-left: 0;
  margin-top: 0;
}

/* スペーサー: マッチング/スタッフ待機の下に配置 */
.branch-spacer-triple {
  width: 530px; /* QR(90) + 矢印(16) + アカウント(90) + 矢印(16) + プロフィール(90) + 矢印(16) + メンバー待機(90) + 矢印(16) + マッチング/スタッフ待機の中心まで(45) = 469px を調整 */
  flex-shrink: 0;
}

/* チケット発行→チケット表示の横並び */
.flow-item-ticket {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   10.5. 新しい画面構成ツリー（column flexラッパー方式）
   --------------------------------------------------------- */
.screen-flow-tree-new {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 10px 20px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  min-height: 450px;
}

/* メインフローを横並び（各ノードはcolumnでラップ） */
.main-flow-horizontal {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  width: fit-content;
  margin-left: -140px; /* 全体を左にずらしてチケット表示との視覚的バランスを調整 */
}

/* 各メインノードを縦方向にラップするコンテナ */
.flow-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  /* 幅を固定してbranch-downの横幅に影響されないようにする */
  width: 125px;
  min-width: 125px;
  max-width: 125px;
  flex-shrink: 0;
  flex-grow: 0;
}

/* 横向き矢印（メインノードの中央に合わせる） */
.horizontal-arrow {
  color: var(--accent);
  font-size: 1.3rem;
  flex-shrink: 0;
  padding: 0 6px;
  font-weight: 700;
  margin-top: 23px; /* メインノードの高さ62pxの中央に合わせる調整 */
}

/* 分岐を下に伸ばすコンテナ */
.branch-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative; /* 子要素の配置基準 */
}

/* 縦線（分岐接続用） */
.branch-line {
  width: 2px;
  height: 20px;
  background: var(--accent);
  flex-shrink: 0;
}

/* 短い縦線（マイページとドリンク選択の間） */
.branch-line.short {
  height: 12px;
}

/* 分岐がない列用のスペーサー（空div、高さ0でOK） */
.branch-spacer {
  height: 0;
}

/* 分岐ノードのスタイル調整 */
.screen-node.branch-node {
  border-color: var(--accent);
  background: #F8FAFC;
  border-width: 2px;
  margin: 0;
}

/* ドリンク選択とチケット表示の新しいレイアウト */
.drink-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* ドリンク選択ノードが中央に配置される */
}

.ticket-extension {
  position: absolute;
  /* ドリンク選択ノードの右端から右側に配置 */
  left: 100%; /* drink-wrapperの右端 */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
}

.ticket-extension .horizontal-arrow {
  margin-top: 0; /* メインフローの矢印と違って高さ調整不要 */
}

/* 以下は不要になった古いスタイル（コメントアウト保持） */

/*
.branch-absolute {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 1;
}

.branch-from-account {
  top: 130px;
  left: 50%;
  margin-left: -380px;
}

.branch-from-home {
  top: 130px;
  left: 50%;
  margin-left: 320px;
}

.vertical-line {
  width: 2px;
  height: 24px;
  background: var(--accent);
  flex-shrink: 0;
}

.vertical-line.short {
  height: 12px;
}

.flow-main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.flow-item-with-vertical-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.branch-line-vertical {
  width: 2px;
  height: 24px;
  background: var(--accent);
  position: relative;
  z-index: 1;
}

.password-reminder-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-left: 0;
  margin-top: 0;
  width: 100%;
}

.reminder-spacer {
  width: 97px;
  flex-shrink: 0;
}

.home-branch-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-left: 0;
  margin-top: 0;
  width: 100%;
}

.home-branch-spacer {
  width: 485px;
  flex-shrink: 0;
}

.home-branch-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.drink-ticket-row {
  display: flex;
  align-items: center;
  gap: 0;
}
*/

/* ---------------------------------------------------------
   11. 画面詳細スライド用：統合コンテンツボックス
   --------------------------------------------------------- */
.unified-content-box {
  padding: 32px 40px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-top: 24px;
}

.unified-content-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px 0;
  line-height: 1.4;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}

.unified-content-box p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.8;
  margin: 0 0 16px 0;
  letter-spacing: 0.02em;
}

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

/* ---------------------------------------------------------
   12. ユーティリティ
   --------------------------------------------------------- */
.text-center {
  text-align: center;
}

.mb-16 {
  margin-bottom: 16px;
}

/* ---------------------------------------------------------
   13. 印刷用スタイル
   --------------------------------------------------------- */
@media print {
  @page {
    size: landscape;
    margin: 0;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  #sidebar, .fab-pdf-btn {
    display: none !important;
  }

  html, body {
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  main {
    display: block !important;
    margin-left: 0 !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
  }

  section {
    page-break-after: always;
    page-break-inside: avoid;
  }

  section:last-of-type {
    page-break-after: auto;
  }
}

/* セッションについてページの左右2分割レイアウト */
.session-split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  height: 100%;
  min-height: 400px;
  padding: 20px 0;
}

.session-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 30px;
}

.session-col h3 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.session-col .placeholder-text {
  color: rgba(11, 29, 58, 0.4);
  font-style: italic;
  font-size: 0.9rem;
}

.session-divider {
  width: 2px;
  background: #E2E8F0;
  align-self: stretch;
  flex-shrink: 0;
}

/* セッションページのブロック構成 */
.session-col .content-block,
.content-block {
  margin-bottom: 16px;
}

.session-col .content-block:last-child,
.content-block:last-child {
  margin-bottom: 0;
}

.session-col .content-block h4,
.content-block h4 {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid #E2E8F0;
}

.session-col .content-block p,
.content-block p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--primary);
  margin: 0;
}

.session-col .content-block ul,
.content-block ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.session-col .content-block ul li,
.content-block ul li {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--primary);
  margin-bottom: 4px;
}

.session-col .flow-vertical,
.flow-vertical {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.session-col .flow-item,
.flow-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--primary);
}

.session-col .flow-arrow-down,
.flow-arrow-down {
  text-align: center;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

/* =========================================================
   グループ人数について ページの2カラムレイアウト
   ========================================================= */
.group-members-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: stretch;
  height: 100%;
  padding: 16px 0;
}

.gm-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
}

.gm-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 前提のコールアウトボックス */
.callout-box {
  background: linear-gradient(135deg, rgba(44, 123, 229, 0.08) 0%, rgba(44, 123, 229, 0.03) 100%);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 8px;
}

.callout-box .callout-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.callout-box p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--primary);
  margin: 0;
  font-weight: 500;
}

/* 補足ボックス */
.supplement-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 16px 20px;
  border-radius: 8px;
}

.supplement-box .supplement-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.supplement-box ul {
  margin: 0;
  padding-left: 16px;
  list-style: disc;
}

.supplement-box ul li {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--primary);
  margin-bottom: 6px;
}

.supplement-box ul li:last-child {
  margin-bottom: 0;
}

/* 流れタイトル */
.flow-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ステップカード */
.step-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 2px 6px rgba(11, 29, 58, 0.06);
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.step-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--primary);
  font-weight: 500;
}

.step-text .step-note {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 400;
}

.step-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

/* エンジニア向けメモ用スタイル */
.engineer-note-list {
  margin: 0 0 10px 0;
  padding-left: 18px;
  list-style: decimal;
}

.engineer-note-list li {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--primary);
  margin-bottom: 4px;
}

.engineer-note-list li:last-child {
  margin-bottom: 0;
}

.engineer-note-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 10px;
  margin-bottom: 4px;
}

.engineer-note-bullets {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.engineer-note-bullets li {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--primary);
  margin-bottom: 3px;
}

.engineer-note-bullets li:last-child {
  margin-bottom: 0;
}

.supplement-box code {
  background: rgba(44, 123, 229, 0.1);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.68rem;
}
