@charset "UTF-8";
/* ==========================================================================
   ドローン検定協会 オンラインシステム 共通スタイルシート（スクール・一般画面共通）
   Bootstrap v5.3 対応 / PC・タブレット・スマートフォン レスポンシブ仕様
   配置パス: ./CSS/common/style.css
   ※スクール（RPS・原簿管理・管理者）専用スタイルは ./CSS/common/rps-style.css に分離
   ========================================================================== */

:root {
  --dk-primary: #005bac;
  --dk-primary-dark: #003e78;
  --dk-primary-light: #e8f2fc;
  --dk-accent: #0088cc;
  --dk-text-main: #212529;
  --dk-text-muted: #5c6670;
  --dk-bg-page: #f4f7fa;
  --dk-card-border: #dce4ec;
  --dk-footer-bg: #1e293b;
  --dk-footer-text: #f8fafc;
  --dk-warning-bg: #fff8e6;
  --dk-warning-border: #f59e0b;
  --dk-warning-text: #b45309;
  --dk-pass-bg: #ecfdf5;
  --dk-pass-border: #10b981;
  --dk-pass-text: #047857;
  --dk-fail-bg: #fef2f2;
  --dk-fail-border: #ef4444;
  --dk-fail-text: #b91c1c;
  --dk-login-bg: #dc2626;
  --dk-login-hover: #b91c1c;
  --dk-login-active: #991b1b;
}

/* --------------------------------------------------------------------------
   Base & Typography
   -------------------------------------------------------------------------- */
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--dk-text-main);
  background-color: var(--dk-bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.hover:hover {
  opacity: 0.82;
}

/* --------------------------------------------------------------------------
   Header / Global Navigation (#member_nav)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--dk-primary);
  box-shadow: 0 2px 10px rgba(0, 45, 90, 0.06);
}

#member_nav {
  min-height: 68px;
}

#top_logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

#member_nav .navbar-toggler {
  border-color: rgba(0, 91, 172, 0.25);
  padding: 0.45rem 0.65rem;
}

#member_nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 91, 172, 0.25);
}

#member_nav .nav_box .nav-link {
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.65rem;
  border-radius: 0.375rem;
  white-space: nowrap;
}

#member_nav .nav_box .nav-link:hover,
#member_nav .nav_box .nav-link:focus {
  color: var(--dk-primary);
  background-color: var(--dk-primary-light);
}

#member_nav .nav_box .nav-link.active {
  color: var(--dk-primary);
  font-weight: 700;
  background-color: var(--dk-primary-light);
}

.nav-icon-mail {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/* Logout / User Badge (ログイン状態) */
#btn-logout {
  display: inline-block;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  color: #1e293b;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 0.4rem 0.85rem;
  text-decoration: none;
}

#btn-logout:hover,
#btn-logout:focus {
  background-color: #fff1f2;
  border-color: #fda4af;
  color: #be123c;
}

.logout-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dk-text-muted);
  display: block;
}

.logout-label {
  font-size: 0.74rem;
  color: var(--dk-primary);
}

#btn-logout:hover .logout-label {
  color: #be123c;
}

/* Login Button (非ログイン状態：赤色ボタン) */
#btn-login,
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background-color: var(--dk-login-bg);
  border: 1px solid var(--dk-login-bg);
  border-radius: 0.5rem;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  min-height: 42px;
  min-width: 112px;
  padding: 0.5rem 1.15rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.22);
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  touch-action: manipulation;
}

#btn-login:hover,
#btn-login:focus,
.btn-login:hover,
.btn-login:focus {
  background-color: var(--dk-login-hover);
  border-color: var(--dk-login-hover);
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.3);
}

#btn-login:active,
.btn-login:active {
  background-color: var(--dk-login-active);
  border-color: var(--dk-login-active);
  transform: translateY(1px);
}

#btn-login:focus-visible,
.btn-login:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.22rem rgba(220, 38, 38, 0.35);
}

/* Mobile Navbar Adjustments (< 992px) */
@media (max-width: 991.98px) {
  #navbar-content {
    border-top: 1px solid #e2e8f0;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    padding-bottom: 0.5rem;
  }

  #member_nav .nav_box .nav-item {
    width: 100%;
  }

  #member_nav .nav_box .nav-link {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
  }

  #li-logout,
  #li-login {
    margin-top: 0.75rem;
  }

  #btn-logout {
    display: block;
    width: 100%;
    padding: 0.65rem;
  }

  #btn-login,
  .btn-login {
    display: flex;
    width: 100%;
    min-height: 46px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
  }
}

/* --------------------------------------------------------------------------
   Menu Header / Generic Menu Cards (.list_box) / Notice Box
   -------------------------------------------------------------------------- */
.menu-header-bar {
  background-color: #ffffff;
  border-left: 5px solid var(--dk-primary);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.menu-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dk-primary-dark);
  margin: 0;
}

.menu-search-wrapper {
  max-width: 320px;
  width: 100%;
}

/* Menu Card (.list_box) */
.list_box {
  background-color: #ffffff;
  border: 1px solid var(--dk-card-border);
  border-radius: 0.625rem;
  padding: 1.15rem 1.25rem;
  height: 100%;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.list_box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}

.list_box .menu-group + .menu-group {
  margin-top: 1.2rem;
  padding-top: 1.05rem;
  border-top: 1px dashed #cbd5e1;
}

.list_box h4,
.list_box .menu-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dk-primary-dark);
  background-color: transparent;
  border-left: 4px solid var(--dk-primary);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.2rem 0 0.4rem 0.65rem;
  margin-bottom: 0.75rem;
  border-radius: 0;
  line-height: 1.4;
}

.list_box ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list_box ul li + li {
  margin-top: 0.5rem;
}

.list_box ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fbff;
  border: 1.5px solid #bfd4ea;
  border-radius: 0.5rem;
  color: var(--dk-primary-dark);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.6rem 0.85rem;
  min-height: 44px;
  box-shadow: 0 1px 2px rgba(0, 91, 172, 0.06);
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
  touch-action: manipulation;
}

.list_box ul li a::after {
  content: "›";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background-color: var(--dk-primary-light);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--dk-primary);
  margin-left: 0.6rem;
  flex-shrink: 0;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.list_box ul li a:hover,
.list_box ul li a:focus {
  background-color: var(--dk-primary-light);
  border-color: var(--dk-primary);
  color: var(--dk-primary);
  box-shadow: 0 3px 8px rgba(0, 91, 172, 0.14);
  transform: translateY(-1px);
}

.list_box ul li a:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 91, 172, 0.1);
}

.list_box ul li a:hover::after,
.list_box ul li a:focus::after {
  background-color: var(--dk-primary);
  color: #ffffff;
  transform: translateX(2px);
}

/* 外部リンクアイコン表記 */
.list_box ul li a[target="_blank"]::after {
  content: "↗";
  font-size: 0.85rem;
}

/* 最重要アクションリンク強調（「【 原簿アクセス 】」等：濃色ボタン化・クリック領域拡大） */
.list_box.is-primary-box,
.list_box:has(a.link-primary-action),
.list_box:has(a[href*="rpsms-rb&req=select"]) {
  border: 2px solid var(--dk-primary, #005bac);
  border-top: 5px solid var(--dk-primary, #005bac);
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 50%);
  box-shadow: 0 4px 14px rgba(0, 91, 172, 0.1);
}

.list_box ul li a.link-primary-action,
.list_box ul li a.is-primary-action,
.list_box ul li a[href*="rpsms-rb&req=select"] {
  background: linear-gradient(135deg, var(--dk-primary-dark, #003e78) 0%, var(--dk-primary, #005bac) 60%, #0277bd 100%);
  border: 2px solid var(--dk-primary-dark, #003e78);
  border-radius: 0.6rem;
  color: #ffffff !important;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  min-height: 58px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 91, 172, 0.28);
}

.list_box ul li a.link-primary-action::after,
.list_box ul li a.is-primary-action::after,
.list_box ul li a[href*="rpsms-rb&req=select"]::after {
  content: "›";
  width: 1.85rem;
  height: 1.85rem;
  background-color: #ffffff;
  color: var(--dk-primary-dark, #003e78);
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14);
}

.list_box ul li a.link-primary-action:hover,
.list_box ul li a.link-primary-action:focus,
.list_box ul li a.is-primary-action:hover,
.list_box ul li a.is-primary-action:focus,
.list_box ul li a[href*="rpsms-rb&req=select"]:hover,
.list_box ul li a[href*="rpsms-rb&req=select"]:focus {
  background: linear-gradient(135deg, #002d58 0%, #004c91 60%, #0066a6 100%);
  border-color: #002d58;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 62, 120, 0.38);
  transform: translateY(-2px);
}

.list_box ul li a.link-primary-action:hover::after,
.list_box ul li a.link-primary-action:focus::after,
.list_box ul li a.is-primary-action:hover::after,
.list_box ul li a.is-primary-action:focus::after,
.list_box ul li a[href*="rpsms-rb&req=select"]:hover::after,
.list_box ul li a[href*="rpsms-rb&req=select"]:focus::after {
  background-color: #fef08a;
  color: var(--dk-primary-dark, #003e78);
  transform: translateX(3px);
}

.list_box ul li a.link-primary-action:active,
.list_box ul li a.is-primary-action:active,
.list_box ul li a[href*="rpsms-rb&req=select"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 62, 120, 0.25);
}

/* メニュー内のテキスト案内項目（aタグを持たないli要素：「↑↑原簿アクセスからアップロード下さい。」等） */
.list_box ul li.menu-guide-note,
.list_box ul li:not(:has(a)) {
  background-color: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 0.45rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.45;
}

@media (max-width: 575.98px) {
  .menu-header-bar {
    padding: 0.85rem 1rem;
  }

  .menu-search-wrapper {
    max-width: 100%;
  }

  .list_box {
    padding: 1rem;
  }

  .list_box ul li a {
    padding: 0.65rem 0.75rem;
    min-height: 44px;
    font-size: 0.95rem;
  }

  .list_box ul li a.link-primary-action,
  .list_box ul li a.is-primary-action,
  .list_box ul li a[href*="rpsms-rb&req=select"] {
    min-height: 54px;
    padding: 0.8rem 1rem;
    font-size: 1.04rem;
  }
}

/* --------------------------------------------------------------------------
   共通ページタイトルバナー・お知らせボックス・汎用セクションカード
   -------------------------------------------------------------------------- */
.sub-title-banner {
  background: linear-gradient(135deg, var(--dk-primary-dark) 0%, var(--dk-primary) 100%);
  color: #ffffff;
  border-radius: 0.625rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 91, 172, 0.12);
}

.sub-title-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.sub-title-banner h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

/* お知らせボックス（複数件のテキストお知らせ・リンクお知らせの双方で視認性良くカード分離） */
.notice-card {
  background: linear-gradient(180deg, #fffdf5 0%, #fffbeb 100%);
  border: 1.5px solid #fcd34d;
  border-left: 6px solid #f59e0b;
  border-radius: 0.625rem;
  padding: 1.15rem 1.35rem;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.08);
}

.notice-heading {
  font-size: 1.02rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.28);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.02em;
}

.notice-heading::before {
  content: "📢";
  font-size: 1.08rem;
  line-height: 1;
}

.notice-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notice-list > li {
  background-color: #ffffff;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 0.5rem;
  padding: 0.85rem 1.1rem;
  color: #1e293b;
  font-size: 0.93rem;
  line-height: 1.7;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  margin-top: 0 !important;
}

.notice-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.notice-badge.is-info {
  background-color: var(--dk-primary-light, #e8f2fc);
  color: var(--dk-primary-dark, #003e78);
  border-color: #93c5fd;
}

.notice-badge.is-security {
  background-color: #ecfdf5;
  color: #047857;
  border-color: #6ee7b7;
}

.notice-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.notice-item-body {
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

.notice-link {
  display: block;
  color: var(--dk-primary-dark);
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.6;
  padding: 0.15rem 0;
}

.notice-link:hover,
.notice-link:focus {
  color: var(--dk-accent);
  text-decoration: underline;
}

.notice-alert-text {
  display: inline-block;
  color: #af0a14;
  font-weight: 600;
  font-size: 0.86rem;
  margin-top: 0.25rem;
}

@media (max-width: 575.98px) {
  .sub-title-banner {
    padding: 1rem 1.15rem;
  }

  .sub-title-banner h1 {
    font-size: 1.15rem;
  }

  .notice-card {
    padding: 0.95rem 1rem;
  }

  .notice-list > li {
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
  }
}

/* 汎用セクションカード＆見出し */
.rb-section-card {
  background-color: #ffffff;
  border: 1px solid var(--dk-card-border);
  border-radius: 0.625rem;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.rb-section-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dk-primary-dark);
  border-left: 4px solid var(--dk-primary);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* タップ操作向けボタン共通調整（推奨最小タップサイズ 48px / 44px 確保） */
.btn-tap {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: 0.5rem;
  touch-action: manipulation;
}

.btn-tap-sm {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 0.45rem;
  touch-action: manipulation;
}

/* --------------------------------------------------------------------------
   汎用テーブル（.table-type1 / .table-type2）＆ 数値・IDセルの視認性強化
   -------------------------------------------------------------------------- */
.table-type1,
.table-type2 {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  background-color: #ffffff;
  font-size: 0.94rem;
}

.table-type1 th,
.table-type1 td,
.table-type2 th,
.table-type2 td {
  border: 1px solid #cbd5e1;
  padding: 0.75rem 0.85rem;
  vertical-align: middle;
}

.table-type1 th,
.table-type2 th {
  background-color: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  text-align: left;
}

.table-type1 thead th,
.table-type1 tbody tr:first-child th,
.table-type2 thead th {
  background-color: var(--dk-primary-light);
  color: var(--dk-primary-dark);
  text-align: center;
}


/* ==========================================================================
   colタグ／colgroupへのクラス指定による列単位テキスト配置（:has擬似クラス対応）
   【使い方】
   <colgroup>
     <col style="width: 15%;">
     <col style="width: 55%;">
     <col style="width: 15%;" class="text-center"> <!-- この列全体が中央寄せ -->
     <col style="width: 15%;" class="text-end">    <!-- この列全体が右寄せ -->
   </colgroup>
   のように、colタグに class="text-center" や class="text-end" を指定するだけで、
   該当列のすべてのセル（th / td）に配置スタイルが自動適用されます。
   ※個別のセルに .text-start 等が指定されている場合はそちらが優先されます。
   ========================================================================== */
table:has(col:nth-child(1).text-center) tr > :nth-child(1):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(1).text-center) tr > :nth-child(1):not(.text-start):not(.text-end),
table:has(col:nth-child(1).col-center) tr > :nth-child(1):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(1).col-center) tr > :nth-child(1):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(1).text-end) tr > :nth-child(1):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(1).text-end) tr > :nth-child(1):not(.text-start):not(.text-center),
table:has(col:nth-child(1).col-right) tr > :nth-child(1):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(1).col-right) tr > :nth-child(1):not(.text-start):not(.text-center),
table:has(col:nth-child(1).text-right) tr > :nth-child(1):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(1).text-right) tr > :nth-child(1):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(1).text-start) tr > :nth-child(1):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(1).text-start) tr > :nth-child(1):not(.text-center):not(.text-end),
table:has(col:nth-child(1).col-left) tr > :nth-child(1):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(1).col-left) tr > :nth-child(1):not(.text-center):not(.text-end),
table:has(col:nth-child(1).text-left) tr > :nth-child(1):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(1).text-left) tr > :nth-child(1):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(2).text-center) tr > :nth-child(2):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(2).text-center) tr > :nth-child(2):not(.text-start):not(.text-end),
table:has(col:nth-child(2).col-center) tr > :nth-child(2):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(2).col-center) tr > :nth-child(2):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(2).text-end) tr > :nth-child(2):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(2).text-end) tr > :nth-child(2):not(.text-start):not(.text-center),
table:has(col:nth-child(2).col-right) tr > :nth-child(2):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(2).col-right) tr > :nth-child(2):not(.text-start):not(.text-center),
table:has(col:nth-child(2).text-right) tr > :nth-child(2):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(2).text-right) tr > :nth-child(2):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(2).text-start) tr > :nth-child(2):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(2).text-start) tr > :nth-child(2):not(.text-center):not(.text-end),
table:has(col:nth-child(2).col-left) tr > :nth-child(2):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(2).col-left) tr > :nth-child(2):not(.text-center):not(.text-end),
table:has(col:nth-child(2).text-left) tr > :nth-child(2):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(2).text-left) tr > :nth-child(2):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(3).text-center) tr > :nth-child(3):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(3).text-center) tr > :nth-child(3):not(.text-start):not(.text-end),
table:has(col:nth-child(3).col-center) tr > :nth-child(3):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(3).col-center) tr > :nth-child(3):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(3).text-end) tr > :nth-child(3):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(3).text-end) tr > :nth-child(3):not(.text-start):not(.text-center),
table:has(col:nth-child(3).col-right) tr > :nth-child(3):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(3).col-right) tr > :nth-child(3):not(.text-start):not(.text-center),
table:has(col:nth-child(3).text-right) tr > :nth-child(3):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(3).text-right) tr > :nth-child(3):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(3).text-start) tr > :nth-child(3):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(3).text-start) tr > :nth-child(3):not(.text-center):not(.text-end),
table:has(col:nth-child(3).col-left) tr > :nth-child(3):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(3).col-left) tr > :nth-child(3):not(.text-center):not(.text-end),
table:has(col:nth-child(3).text-left) tr > :nth-child(3):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(3).text-left) tr > :nth-child(3):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(4).text-center) tr > :nth-child(4):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(4).text-center) tr > :nth-child(4):not(.text-start):not(.text-end),
table:has(col:nth-child(4).col-center) tr > :nth-child(4):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(4).col-center) tr > :nth-child(4):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(4).text-end) tr > :nth-child(4):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(4).text-end) tr > :nth-child(4):not(.text-start):not(.text-center),
table:has(col:nth-child(4).col-right) tr > :nth-child(4):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(4).col-right) tr > :nth-child(4):not(.text-start):not(.text-center),
table:has(col:nth-child(4).text-right) tr > :nth-child(4):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(4).text-right) tr > :nth-child(4):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(4).text-start) tr > :nth-child(4):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(4).text-start) tr > :nth-child(4):not(.text-center):not(.text-end),
table:has(col:nth-child(4).col-left) tr > :nth-child(4):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(4).col-left) tr > :nth-child(4):not(.text-center):not(.text-end),
table:has(col:nth-child(4).text-left) tr > :nth-child(4):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(4).text-left) tr > :nth-child(4):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(5).text-center) tr > :nth-child(5):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(5).text-center) tr > :nth-child(5):not(.text-start):not(.text-end),
table:has(col:nth-child(5).col-center) tr > :nth-child(5):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(5).col-center) tr > :nth-child(5):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(5).text-end) tr > :nth-child(5):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(5).text-end) tr > :nth-child(5):not(.text-start):not(.text-center),
table:has(col:nth-child(5).col-right) tr > :nth-child(5):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(5).col-right) tr > :nth-child(5):not(.text-start):not(.text-center),
table:has(col:nth-child(5).text-right) tr > :nth-child(5):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(5).text-right) tr > :nth-child(5):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(5).text-start) tr > :nth-child(5):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(5).text-start) tr > :nth-child(5):not(.text-center):not(.text-end),
table:has(col:nth-child(5).col-left) tr > :nth-child(5):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(5).col-left) tr > :nth-child(5):not(.text-center):not(.text-end),
table:has(col:nth-child(5).text-left) tr > :nth-child(5):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(5).text-left) tr > :nth-child(5):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(6).text-center) tr > :nth-child(6):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(6).text-center) tr > :nth-child(6):not(.text-start):not(.text-end),
table:has(col:nth-child(6).col-center) tr > :nth-child(6):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(6).col-center) tr > :nth-child(6):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(6).text-end) tr > :nth-child(6):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(6).text-end) tr > :nth-child(6):not(.text-start):not(.text-center),
table:has(col:nth-child(6).col-right) tr > :nth-child(6):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(6).col-right) tr > :nth-child(6):not(.text-start):not(.text-center),
table:has(col:nth-child(6).text-right) tr > :nth-child(6):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(6).text-right) tr > :nth-child(6):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(6).text-start) tr > :nth-child(6):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(6).text-start) tr > :nth-child(6):not(.text-center):not(.text-end),
table:has(col:nth-child(6).col-left) tr > :nth-child(6):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(6).col-left) tr > :nth-child(6):not(.text-center):not(.text-end),
table:has(col:nth-child(6).text-left) tr > :nth-child(6):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(6).text-left) tr > :nth-child(6):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(7).text-center) tr > :nth-child(7):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(7).text-center) tr > :nth-child(7):not(.text-start):not(.text-end),
table:has(col:nth-child(7).col-center) tr > :nth-child(7):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(7).col-center) tr > :nth-child(7):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(7).text-end) tr > :nth-child(7):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(7).text-end) tr > :nth-child(7):not(.text-start):not(.text-center),
table:has(col:nth-child(7).col-right) tr > :nth-child(7):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(7).col-right) tr > :nth-child(7):not(.text-start):not(.text-center),
table:has(col:nth-child(7).text-right) tr > :nth-child(7):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(7).text-right) tr > :nth-child(7):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(7).text-start) tr > :nth-child(7):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(7).text-start) tr > :nth-child(7):not(.text-center):not(.text-end),
table:has(col:nth-child(7).col-left) tr > :nth-child(7):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(7).col-left) tr > :nth-child(7):not(.text-center):not(.text-end),
table:has(col:nth-child(7).text-left) tr > :nth-child(7):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(7).text-left) tr > :nth-child(7):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(8).text-center) tr > :nth-child(8):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(8).text-center) tr > :nth-child(8):not(.text-start):not(.text-end),
table:has(col:nth-child(8).col-center) tr > :nth-child(8):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(8).col-center) tr > :nth-child(8):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(8).text-end) tr > :nth-child(8):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(8).text-end) tr > :nth-child(8):not(.text-start):not(.text-center),
table:has(col:nth-child(8).col-right) tr > :nth-child(8):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(8).col-right) tr > :nth-child(8):not(.text-start):not(.text-center),
table:has(col:nth-child(8).text-right) tr > :nth-child(8):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(8).text-right) tr > :nth-child(8):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(8).text-start) tr > :nth-child(8):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(8).text-start) tr > :nth-child(8):not(.text-center):not(.text-end),
table:has(col:nth-child(8).col-left) tr > :nth-child(8):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(8).col-left) tr > :nth-child(8):not(.text-center):not(.text-end),
table:has(col:nth-child(8).text-left) tr > :nth-child(8):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(8).text-left) tr > :nth-child(8):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(9).text-center) tr > :nth-child(9):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(9).text-center) tr > :nth-child(9):not(.text-start):not(.text-end),
table:has(col:nth-child(9).col-center) tr > :nth-child(9):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(9).col-center) tr > :nth-child(9):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(9).text-end) tr > :nth-child(9):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(9).text-end) tr > :nth-child(9):not(.text-start):not(.text-center),
table:has(col:nth-child(9).col-right) tr > :nth-child(9):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(9).col-right) tr > :nth-child(9):not(.text-start):not(.text-center),
table:has(col:nth-child(9).text-right) tr > :nth-child(9):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(9).text-right) tr > :nth-child(9):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(9).text-start) tr > :nth-child(9):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(9).text-start) tr > :nth-child(9):not(.text-center):not(.text-end),
table:has(col:nth-child(9).col-left) tr > :nth-child(9):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(9).col-left) tr > :nth-child(9):not(.text-center):not(.text-end),
table:has(col:nth-child(9).text-left) tr > :nth-child(9):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(9).text-left) tr > :nth-child(9):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(10).text-center) tr > :nth-child(10):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(10).text-center) tr > :nth-child(10):not(.text-start):not(.text-end),
table:has(col:nth-child(10).col-center) tr > :nth-child(10):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(10).col-center) tr > :nth-child(10):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(10).text-end) tr > :nth-child(10):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(10).text-end) tr > :nth-child(10):not(.text-start):not(.text-center),
table:has(col:nth-child(10).col-right) tr > :nth-child(10):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(10).col-right) tr > :nth-child(10):not(.text-start):not(.text-center),
table:has(col:nth-child(10).text-right) tr > :nth-child(10):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(10).text-right) tr > :nth-child(10):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(10).text-start) tr > :nth-child(10):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(10).text-start) tr > :nth-child(10):not(.text-center):not(.text-end),
table:has(col:nth-child(10).col-left) tr > :nth-child(10):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(10).col-left) tr > :nth-child(10):not(.text-center):not(.text-end),
table:has(col:nth-child(10).text-left) tr > :nth-child(10):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(10).text-left) tr > :nth-child(10):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(11).text-center) tr > :nth-child(11):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(11).text-center) tr > :nth-child(11):not(.text-start):not(.text-end),
table:has(col:nth-child(11).col-center) tr > :nth-child(11):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(11).col-center) tr > :nth-child(11):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(11).text-end) tr > :nth-child(11):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(11).text-end) tr > :nth-child(11):not(.text-start):not(.text-center),
table:has(col:nth-child(11).col-right) tr > :nth-child(11):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(11).col-right) tr > :nth-child(11):not(.text-start):not(.text-center),
table:has(col:nth-child(11).text-right) tr > :nth-child(11):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(11).text-right) tr > :nth-child(11):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(11).text-start) tr > :nth-child(11):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(11).text-start) tr > :nth-child(11):not(.text-center):not(.text-end),
table:has(col:nth-child(11).col-left) tr > :nth-child(11):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(11).col-left) tr > :nth-child(11):not(.text-center):not(.text-end),
table:has(col:nth-child(11).text-left) tr > :nth-child(11):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(11).text-left) tr > :nth-child(11):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(12).text-center) tr > :nth-child(12):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(12).text-center) tr > :nth-child(12):not(.text-start):not(.text-end),
table:has(col:nth-child(12).col-center) tr > :nth-child(12):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(12).col-center) tr > :nth-child(12):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(12).text-end) tr > :nth-child(12):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(12).text-end) tr > :nth-child(12):not(.text-start):not(.text-center),
table:has(col:nth-child(12).col-right) tr > :nth-child(12):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(12).col-right) tr > :nth-child(12):not(.text-start):not(.text-center),
table:has(col:nth-child(12).text-right) tr > :nth-child(12):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(12).text-right) tr > :nth-child(12):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(12).text-start) tr > :nth-child(12):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(12).text-start) tr > :nth-child(12):not(.text-center):not(.text-end),
table:has(col:nth-child(12).col-left) tr > :nth-child(12):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(12).col-left) tr > :nth-child(12):not(.text-center):not(.text-end),
table:has(col:nth-child(12).text-left) tr > :nth-child(12):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(12).text-left) tr > :nth-child(12):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(13).text-center) tr > :nth-child(13):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(13).text-center) tr > :nth-child(13):not(.text-start):not(.text-end),
table:has(col:nth-child(13).col-center) tr > :nth-child(13):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(13).col-center) tr > :nth-child(13):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(13).text-end) tr > :nth-child(13):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(13).text-end) tr > :nth-child(13):not(.text-start):not(.text-center),
table:has(col:nth-child(13).col-right) tr > :nth-child(13):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(13).col-right) tr > :nth-child(13):not(.text-start):not(.text-center),
table:has(col:nth-child(13).text-right) tr > :nth-child(13):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(13).text-right) tr > :nth-child(13):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(13).text-start) tr > :nth-child(13):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(13).text-start) tr > :nth-child(13):not(.text-center):not(.text-end),
table:has(col:nth-child(13).col-left) tr > :nth-child(13):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(13).col-left) tr > :nth-child(13):not(.text-center):not(.text-end),
table:has(col:nth-child(13).text-left) tr > :nth-child(13):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(13).text-left) tr > :nth-child(13):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(14).text-center) tr > :nth-child(14):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(14).text-center) tr > :nth-child(14):not(.text-start):not(.text-end),
table:has(col:nth-child(14).col-center) tr > :nth-child(14):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(14).col-center) tr > :nth-child(14):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(14).text-end) tr > :nth-child(14):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(14).text-end) tr > :nth-child(14):not(.text-start):not(.text-center),
table:has(col:nth-child(14).col-right) tr > :nth-child(14):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(14).col-right) tr > :nth-child(14):not(.text-start):not(.text-center),
table:has(col:nth-child(14).text-right) tr > :nth-child(14):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(14).text-right) tr > :nth-child(14):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(14).text-start) tr > :nth-child(14):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(14).text-start) tr > :nth-child(14):not(.text-center):not(.text-end),
table:has(col:nth-child(14).col-left) tr > :nth-child(14):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(14).col-left) tr > :nth-child(14):not(.text-center):not(.text-end),
table:has(col:nth-child(14).text-left) tr > :nth-child(14):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(14).text-left) tr > :nth-child(14):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(15).text-center) tr > :nth-child(15):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(15).text-center) tr > :nth-child(15):not(.text-start):not(.text-end),
table:has(col:nth-child(15).col-center) tr > :nth-child(15):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(15).col-center) tr > :nth-child(15):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(15).text-end) tr > :nth-child(15):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(15).text-end) tr > :nth-child(15):not(.text-start):not(.text-center),
table:has(col:nth-child(15).col-right) tr > :nth-child(15):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(15).col-right) tr > :nth-child(15):not(.text-start):not(.text-center),
table:has(col:nth-child(15).text-right) tr > :nth-child(15):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(15).text-right) tr > :nth-child(15):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(15).text-start) tr > :nth-child(15):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(15).text-start) tr > :nth-child(15):not(.text-center):not(.text-end),
table:has(col:nth-child(15).col-left) tr > :nth-child(15):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(15).col-left) tr > :nth-child(15):not(.text-center):not(.text-end),
table:has(col:nth-child(15).text-left) tr > :nth-child(15):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(15).text-left) tr > :nth-child(15):not(.text-center):not(.text-end) {
  text-align: left;
}
table:has(col:nth-child(16).text-center) tr > :nth-child(16):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(16).text-center) tr > :nth-child(16):not(.text-start):not(.text-end),
table:has(col:nth-child(16).col-center) tr > :nth-child(16):not(.text-start):not(.text-end),
table:has(colgroup > col:nth-child(16).col-center) tr > :nth-child(16):not(.text-start):not(.text-end) {
  text-align: center;
}
table:has(col:nth-child(16).text-end) tr > :nth-child(16):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(16).text-end) tr > :nth-child(16):not(.text-start):not(.text-center),
table:has(col:nth-child(16).col-right) tr > :nth-child(16):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(16).col-right) tr > :nth-child(16):not(.text-start):not(.text-center),
table:has(col:nth-child(16).text-right) tr > :nth-child(16):not(.text-start):not(.text-center),
table:has(colgroup > col:nth-child(16).text-right) tr > :nth-child(16):not(.text-start):not(.text-center) {
  text-align: right;
}
table:has(col:nth-child(16).text-start) tr > :nth-child(16):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(16).text-start) tr > :nth-child(16):not(.text-center):not(.text-end),
table:has(col:nth-child(16).col-left) tr > :nth-child(16):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(16).col-left) tr > :nth-child(16):not(.text-center):not(.text-end),
table:has(col:nth-child(16).text-left) tr > :nth-child(16):not(.text-center):not(.text-end),
table:has(colgroup > col:nth-child(16).text-left) tr > :nth-child(16):not(.text-center):not(.text-end) {
  text-align: left;
}

/* テーブル全体の全セル（th / td）一括中央寄せユーティリティ（tableタグに指定） */
table.table-center th:not(.text-start):not(.text-end),
table.table-center td:not(.text-start):not(.text-end),
.table-type1.text-center th:not(.text-start):not(.text-end),
.table-type1.text-center td:not(.text-start):not(.text-end),
.table-type2.text-center th:not(.text-start):not(.text-end),
.table-type2.text-center td:not(.text-start):not(.text-end) {
  text-align: center;
}

/* 各リスト・テーブル内のID表示・数値メインセルの文字サイズ拡大（デザイン性を保ちつつ視認性向上） */
.table-type1 td[data-label="ID"],
.table-type2 td[data-label="ID"],
.table-type1 td[data-label*="ID"],
.table-type2 td[data-label*="ID"],
.aqtd-list-table td[data-label="ID"],
.aqtd-list-table td[data-label*="ID"],
.app-data-table td[data-label*="ID"],
.table-type1 td.col-id,
.table-type2 td.col-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dk-primary-dark, #003e78) !important;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.table-type1 td.font-monospace,
.table-type2 td.font-monospace,
.app-data-table td.font-monospace {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* スマートフォン・タブレット向け レスポンシブテーブル変換 (< 768px) */
@media (max-width: 767.98px) {
  .rb-section-card {
    padding: 0.95rem;
  }

  /* キー・バリュー表（table-kv-responsive）をスマホで縦積み1列化 */
  .table-kv-responsive,
  .table-kv-responsive tbody,
  .table-kv-responsive tr,
  .table-kv-responsive th,
  .table-kv-responsive td {
    display: block;
    width: 100% !important;
  }

  .table-kv-responsive colgroup {
    display: none;
  }

  .table-kv-responsive tr {
    border-bottom: 1px solid #cbd5e1;
  }

  .table-kv-responsive tr:last-child {
    border-bottom: none;
  }

  .table-kv-responsive th {
    border-bottom: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    background-color: #f1f5f9;
  }

  .table-kv-responsive td {
    border-top: none;
    padding: 0.65rem 0.75rem;
  }

  /* 一覧テーブルのスマホカード化（data-label表示） */
  .table-stack-mobile thead,
  .table-stack-mobile tr.table-header-row {
    display: none;
  }

  .table-stack-mobile,
  .table-stack-mobile tbody,
  .table-stack-mobile tr,
  .table-stack-mobile td {
    display: block;
    width: 100% !important;
  }

  .table-stack-mobile tr {
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    background-color: #ffffff;
    overflow: hidden;
  }

  .table-stack-mobile td {
    border: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.55rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: right;
  }

  .table-stack-mobile td:last-child {
    border-bottom: none;
  }

  .table-stack-mobile td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #475569;
    font-size: 0.8rem;
    text-align: left;
    flex-shrink: 0;
  }
}

/* --------------------------------------------------------------------------
   汎用：input / select パーツ横並びアクションボタン（aタグ・buttonタグ共通）
   -------------------------------------------------------------------------- */
.aqtd-input-action-group,
.input-action-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}

.aqtd-input-action-group > .aqtd-input-action-wrap,
.input-action-group > .aqtd-input-action-wrap,
.aqtd-input-action-group > .form-control,
.aqtd-input-action-group > .form-select,
.aqtd-input-action-group > .aqtd-input,
.aqtd-input-action-group > .aqtd-select,
.input-action-group > .form-control,
.input-action-group > .form-select {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.aqtd-input-action-wrap > .form-control,
.aqtd-input-action-wrap > .form-select,
.aqtd-input-action-wrap > .aqtd-input,
.aqtd-input-action-wrap > .aqtd-select {
  width: 100%;
}

.aqtd-input-side-btn,
.btn-input-side {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 48px;
  padding: 0 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

a.aqtd-input-side-btn:not([class*="btn-"]),
button.aqtd-input-side-btn:not([class*="btn-"]),
a.btn-input-side:not([class*="btn-"]),
button.btn-input-side:not([class*="btn-"]) {
  color: var(--dk-primary, #005bac);
  background-color: #ffffff;
  border: 1.5px solid var(--dk-primary, #005bac);
}

a.aqtd-input-side-btn:not([class*="btn-"]):hover,
a.aqtd-input-side-btn:not([class*="btn-"]):focus,
button.aqtd-input-side-btn:not([class*="btn-"]):hover,
button.aqtd-input-side-btn:not([class*="btn-"]):focus,
a.btn-input-side:not([class*="btn-"]):hover,
a.btn-input-side:not([class*="btn-"]):focus,
button.btn-input-side:not([class*="btn-"]):hover,
button.btn-input-side:not([class*="btn-"]):focus {
  color: #ffffff;
  background-color: var(--dk-primary, #005bac);
  border-color: var(--dk-primary, #005bac);
  box-shadow: 0 3px 8px rgba(0, 91, 172, 0.18);
}

.aqtd-input-side-btn:active,
.btn-input-side:active {
  transform: translateY(1px);
}

.aqtd-input-side-btn:focus-visible,
.btn-input-side:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(0, 91, 172, 0.22);
}

@media (max-width: 575.98px) {
  .aqtd-input-side-btn,
  .btn-input-side {
    padding: 0 0.85rem;
    font-size: 0.84rem;
  }
}

/* --------------------------------------------------------------------------
   汎用リスト表示・検索フィルター・ページネーション（.aqtd-list-* / .aqtd-pagination-*）
   ※ID・番号・件数など数字メイン箇所の文字サイズを視認性良く拡大
   -------------------------------------------------------------------------- */
.aqtd-list-filter-card {
  background-color: #ffffff;
  border: 1px solid var(--dk-card-border, #dce4ec);
  border-radius: 0.625rem;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.aqtd-list-filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dk-primary-dark, #003e78);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.aqtd-list-filter-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.3rem;
}

.aqtd-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
}

.aqtd-list-count-info {
  font-size: 0.92rem;
  color: #334155;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.aqtd-list-count-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dk-primary-dark, #003e78);
}

.aqtd-list-page-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--dk-primary-light, #e8f2fc);
  color: var(--dk-primary-dark, #003e78);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.24rem 0.72rem;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.aqtd-list-table tbody tr {
  transition: background-color 0.14s ease;
}

.aqtd-list-table tbody tr:nth-child(even) {
  background-color: #fafcfe;
}

.aqtd-list-table tbody tr:hover {
  background-color: #f0f7ff;
}

.aqtd-list-table .col-row-no,
.row-no-cell {
  width: 68px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  font-weight: 700;
  color: #475569;
}

.aqtd-list-table .col-actions {
  width: 150px;
  text-align: center;
  white-space: nowrap;
}

/* リスト内のID・原簿番号・機体番号などのメイン数字コード表示（0.9rem → 1.1remへ拡大） */
.aqtd-list-id-code,
.rb-no-cell {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--dk-primary-dark, #003e78);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.aqtd-list-sub-meta {
  display: block;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

/* リスト内のLIDや数値メタ情報の視認性向上 */
.aqtd-list-sub-meta.font-monospace {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.02em;
}

.aqtd-list-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.aqtd-list-status.is-active,
.aqtd-list-status.is-complete {
  background-color: var(--dk-pass-bg, #ecfdf5);
  color: var(--dk-pass-text, #047857);
  border: 1px solid var(--dk-pass-border, #10b981);
}

.aqtd-list-status.is-progress {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}

.aqtd-list-status.is-pending {
  background-color: var(--dk-warning-bg, #fff8e6);
  color: var(--dk-warning-text, #b45309);
  border: 1px solid var(--dk-warning-border, #f59e0b);
}

.aqtd-list-status.is-danger {
  background-color: var(--dk-fail-bg, #fef2f2);
  color: var(--dk-fail-text, #b91c1c);
  border: 1px solid var(--dk-fail-border, #ef4444);
}

.aqtd-list-action-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.btn-list-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0.375rem;
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
  transition: all 0.15s ease;
}

.aqtd-pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.aqtd-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.aqtd-page-item {
  display: inline-flex;
}

.aqtd-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--dk-primary-dark, #003e78);
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.5rem;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
  touch-action: manipulation;
  user-select: none;
}

.aqtd-page-link.is-nav {
  font-family: "Noto Sans JP", sans-serif;
  padding: 0.35rem 0.85rem;
  font-size: 0.86rem;
  gap: 0.25rem;
}

.aqtd-page-link:hover,
.aqtd-page-link:focus {
  background-color: var(--dk-primary-light, #e8f2fc);
  border-color: var(--dk-primary, #005bac);
  color: var(--dk-primary, #005bac);
  box-shadow: 0 3px 6px rgba(0, 91, 172, 0.12);
  transform: translateY(-1px);
}

.aqtd-page-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.22rem rgba(0, 91, 172, 0.25);
}

.aqtd-page-item.is-active .aqtd-page-link,
.aqtd-page-link.is-active,
.aqtd-page-link[aria-current="page"] {
  background-color: var(--dk-primary, #005bac);
  border-color: var(--dk-primary, #005bac);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 91, 172, 0.24);
  pointer-events: none;
  transform: none;
}

.aqtd-page-item.is-disabled .aqtd-page-link,
.aqtd-page-link.is-disabled,
.aqtd-page-link[aria-disabled="true"] {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
  pointer-events: none;
  cursor: default;
  transform: none;
}

.aqtd-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 44px;
  color: #64748b;
  font-weight: 700;
  font-size: 0.98rem;
  user-select: none;
}

@media (max-width: 767.98px) {
  .aqtd-list-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
  }

  .aqtd-list-count-info {
    justify-content: space-between;
  }

  .aqtd-list-table .col-row-no,
  .aqtd-list-table .col-actions {
    width: 100%;
    text-align: right;
  }

  .aqtd-page-link {
    min-width: 40px;
    min-height: 40px;
    padding: 0.3rem 0.6rem;
    font-size: 0.92rem;
  }

  .aqtd-page-link.is-nav {
    padding: 0.3rem 0.65rem;
    font-size: 0.82rem;
  }
}

/* --------------------------------------------------------------------------
   フライトログ管理・会員ステータス＆サブナビバー
   -------------------------------------------------------------------------- */
.fl-user-context-bar {
  background-color: #ffffff;
  border: 1px solid var(--dk-card-border, #dce4ec);
  border-radius: 0.625rem;
  padding: 0.85rem 1.2rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.member-status-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.15rem;
}

.member-status-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: #1e293b;
  margin: 0;
}

.member-status-item img {
  height: 22px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.member-status-pt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.24rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--dk-primary-dark, #003e78);
}

.member-status-pt img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.fl-subnav-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.fl-subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 0.45rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.fl-subnav-link:hover,
.fl-subnav-link:focus {
  background-color: var(--dk-primary-light, #e8f2fc);
  border-color: var(--dk-primary, #005bac);
  color: var(--dk-primary, #005bac);
}

.fl-subnav-link.is-active {
  background-color: var(--dk-primary, #005bac);
  border-color: var(--dk-primary, #005bac);
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .fl-user-context-bar {
    padding: 0.75rem 0.95rem;
  }
  .fl-subnav-pills {
    width: 100%;
  }
  .fl-subnav-pills li {
    flex: 1 1 calc(50% - 0.4rem);
  }
  .fl-subnav-link {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Footer (共通フッター)
   -------------------------------------------------------------------------- */
footer.site-footer {
  background-color: var(--dk-footer-bg);
  color: var(--dk-footer-text);
  font-size: 0.85rem;
}

#telBox {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.15rem;
  border-radius: 0.5rem;
}

#telBox figure {
  margin: 0;
  flex-shrink: 0;
}

#telImg {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.tel-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin-bottom: 0.15rem;
}

.tel-number a {
  color: inherit;
}

.tel-hours {
  margin-bottom: 0.35rem;
  color: #cbd5e1;
}

.tel-note {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 0;
  line-height: 1.45;
}

#footerNav ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

#footerNav ul li + li {
  margin-top: 0.45rem;
}

#footerNav a {
  color: #e2e8f0;
  font-size: 0.85rem;
}

#footerNav a:hover,
#footerNav a:focus {
  color: #38bdf8;
  text-decoration: underline;
}

.snsBox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
}

.snsBox a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.snsBox a:hover {
  background-color: rgba(255, 255, 255, 0.22);
}

.snsBox img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.copyright-text {
  font-size: 0.78rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   一般会員トップ（メンバートップ：base_design_pre11.html）専用・共通拡張スタイル
   -------------------------------------------------------------------------- */

/* 1. 画面上部：重要なお知らせエリア（目立つハイライト表示） */
.important-notice-card {
  background: linear-gradient(135deg, #fff1f2 0%, #fffbeb 100%);
  border: 2px solid #f43f5e;
  border-left: 6px solid #e11d48;
  border-radius: 0.625rem;
  padding: 1.1rem 1.35rem;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.08);
}

.important-notice-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.important-notice-title {
  font-size: 1rem;
  font-weight: 700;
  color: #be123c;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.important-notice-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e11d48;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.important-notice-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.important-notice-item + .important-notice-item {
  border-top: 1px dashed rgba(225, 29, 72, 0.25);
  margin-top: 0.55rem;
  padding-top: 0.55rem;
}

.important-notice-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #881337;
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.5;
  padding: 0.25rem 0.4rem;
  border-radius: 0.375rem;
  transition: background-color 0.16s ease, color 0.16s ease;
}

@media (min-width: 576px) {
  .important-notice-link {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }
}

.important-notice-link:hover,
.important-notice-link:focus {
  background-color: rgba(255, 255, 255, 0.75);
  color: var(--dk-primary, #005bac);
  text-decoration: underline;
}

.important-notice-date {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  font-weight: 700;
  color: #be123c;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 2. 左カラム：会員プロフィール・LID・ポイント表示カード */
.member-profile-card {
  background-color: #ffffff;
  border: 1px solid var(--dk-card-border, #dce4ec);
  border-top: 4px solid var(--dk-primary, #005bac);
  border-radius: 0.625rem;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.member-profile-block {
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid #e2e8f0;
}

.member-profile-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.member-field-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--dk-text-muted, #5c6670);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.member-name-kana {
  display: block;
  font-size: 0.78rem;
  color: var(--dk-text-muted, #5c6670);
  line-height: 1.3;
}

.member-name-main {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}

.member-lid-badge {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 0.45rem;
  padding: 0.45rem 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dk-primary-dark, #003e78);
  letter-spacing: 0.03em;
  width: 100%;
}

/* 会員ポイント表示エリア */
.member-point-panel {
  background: linear-gradient(135deg, #f0f7ff 0%, #fffbeb 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 0.625rem;
  padding: 0.9rem 1rem;
}

.member-point-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.member-point-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dk-primary-dark, #003e78);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.member-point-label img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.member-point-value-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.25rem;
}

.member-point-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dk-primary, #005bac);
  line-height: 1.1;
}

.member-point-unit {
  font-size: 0.92rem;
  font-weight: 700;
  color: #475569;
}

/* 左カラム：バナーリンク一覧（旧 .licenselink 互換） */
.member-banner-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.member-banner-link {
  display: block;
  background-color: #ffffff;
  border: 1.5px solid var(--dk-card-border, #dce4ec);
  border-radius: 0.625rem;
  padding: 0.5rem;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  text-align: center;
}

.member-banner-link:hover,
.member-banner-link:focus {
  border-color: var(--dk-primary, #005bac);
  box-shadow: 0 5px 14px rgba(0, 91, 172, 0.14);
  transform: translateY(-2px);
}

.member-banner-link img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  display: inline-block;
}

/* 3. 右カラム：保有ライセンス（アイコン＆認定一覧） */
.licenseicons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0.85rem;
  margin-bottom: 1rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}

.licenseicons li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.licenseicons img {
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.licenselist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .licenselist {
    grid-template-columns: 1fr;
  }
}

/* サーバー側から空の <li></li> が出力された場合は自動非表示 */
.licenselist li:empty {
  display: none;
}

.licenselist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--dk-primary, #005bac);
  border-radius: 0.45rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.licenselist li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--dk-primary-light, #e8f2fc);
  color: var(--dk-primary, #005bac);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* 4. 右カラム：通常のお知らせ一覧（旧 ul.information 互換） */
.information {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.information li {
  border-bottom: 1px solid #e2e8f0;
}

.information li:first-child {
  border-top: 1px solid #e2e8f0;
}

.information-row-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.6rem;
  color: var(--dk-text-main, #212529);
  border-radius: 0.375rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 576px) {
  .information-row-link {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.information-row-link:hover,
.information-row-link:focus {
  background-color: #f0f7ff;
  color: var(--dk-primary, #005bac);
}

.information-date {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  background-color: #f1f5f9;
  padding: 0.18rem 0.6rem;
  border-radius: 0.3rem;
  white-space: nowrap;
  align-self: flex-start;
  flex-shrink: 0;
}

@media (min-width: 576px) {
  .information-date {
    align-self: center;
  }
}

.information-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: inherit;
  margin: 0;
  flex: 1;
  line-height: 1.45;
}

.information-row-link::after {
  content: "›";
  font-size: 1.15rem;
  font-weight: 700;
  color: #94a3b8;
  margin-left: auto;
  display: none;
}

@media (min-width: 576px) {
  .information-row-link::after {
    display: inline-block;
  }
}

.information-row-link:hover::after {
  color: var(--dk-primary, #005bac);
}

/* 旧ソースのDIPS・メッセージボックス互換クラス */
.dips li.nah {
  font-weight: 700;
  color: #c0262c;
}

.dips li.exp {
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   フライトログ管理トップ（base_design_pre17.html）専用・拡張スタイル
   -------------------------------------------------------------------------- */

/* 1. 総飛行時間サマリーカード */
.fl-total-time-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 65%, #f8fafc 100%);
  border: 1.5px solid #bfdbfe;
  border-left: 6px solid var(--dk-primary, #005bac);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 91, 172, 0.06);
}

.fl-total-time-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dk-primary-dark, #003e78);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.fl-total-time-label::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: var(--dk-primary, #005bac);
}

.fl-total-time-main {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Noto Sans JP", monospace;
  font-variant-numeric: tabular-nums;
  font-size: 2.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.fl-total-time-unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: #334155;
  margin: 0 0.2rem 0 0.1rem;
}

.fl-total-time-sub {
  font-size: 0.94rem;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

/* 1-2. 印刷用ログ出力（絞り込み条件指定フォームカード） */
.fl-print-filter-card {
  scroll-margin-top: 5.5rem;
}

.fl-filter-group-card {
  border: 1.5px solid #cbd5e1;
  border-radius: 0.6rem;
  background-color: #f8fafc;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

.fl-filter-group-card.is-checked,
.fl-filter-group-card:has(.fl-filter-major-check:checked) {
  border-color: var(--dk-primary, #005bac);
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 91, 172, 0.08);
}

.fl-filter-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f1f5f9;
  border-radius: 0.5rem 0.5rem 0 0;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.fl-filter-group-card.is-checked .fl-filter-group-header,
.fl-filter-group-card:has(.fl-filter-major-check:checked) .fl-filter-group-header {
  background-color: #e8f2fc;
  border-bottom-color: #bfdbfe;
}

.fl-filter-major-check {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0;
  cursor: pointer;
  border-color: #64748b;
}

.fl-filter-major-check:checked {
  background-color: var(--dk-primary, #005bac);
  border-color: var(--dk-primary, #005bac);
}

.fl-filter-major-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  user-select: none;
}

.fl-filter-group-card.is-checked .fl-filter-major-label,
.fl-filter-group-card:has(.fl-filter-major-check:checked) .fl-filter-major-label {
  color: var(--dk-primary-dark, #003e78);
}

.fl-filter-group-hint {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
}

.fl-filter-group-body {
  padding: 0.8rem 0.9rem;
  flex: 1;
  transition: opacity 0.18s ease;
}

.fl-filter-group-card:not(.is-checked) .fl-filter-group-body {
  opacity: 0.62;
}

.fl-filter-group-card:has(.fl-filter-major-check:checked) .fl-filter-group-body {
  opacity: 1;
}

/* 条件クリア（form reset）等でチェックが外れた際、確実にカードのハイライトを消去するCSSガード */
.fl-filter-group-card:has(.fl-filter-major-check:not(:checked)) {
  border-color: #cbd5e1;
  background-color: #f8fafc;
  box-shadow: none;
}

.fl-filter-group-card:has(.fl-filter-major-check:not(:checked)) .fl-filter-group-header {
  background-color: #f1f5f9;
  border-bottom-color: #e2e8f0;
}

.fl-filter-group-card:has(.fl-filter-major-check:not(:checked)) .fl-filter-major-label {
  color: #1e293b;
}

.fl-filter-group-card:has(.fl-filter-major-check:not(:checked)) .fl-filter-group-body {
  opacity: 0.62;
}

.fl-filter-sub-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.3rem;
}

.fl-filter-sub-control {
  min-height: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  border-color: #cbd5e1;
}

.fl-filter-sub-control:focus {
  border-color: var(--dk-primary, #005bac);
  box-shadow: 0 0 0 0.2rem rgba(0, 91, 172, 0.16);
}

.fl-filter-submit-bar {
  border-top: 1px dashed #cbd5e1;
}

/* 2. 飛行ログ一覧テーブル（直近のログ・教習所飛行ログ共通） */
.fl-log-table th,
.fl-log-table td {
  padding: 0.65rem 0.75rem;
}

.fl-aircraft-name {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  color: #0f172a;
  line-height: 1.35;
}

.fl-aircraft-name.is-unset {
  color: #94a3b8;
  font-weight: 500;
  font-style: italic;
}

.fl-aircraft-serial {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.3;
  word-break: break-all;
}

/* 離陸日（1行目）＋ 離陸時間⇒着陸時間（2行目・改行表示） */
.fl-date-num {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.fl-time-range {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.1rem 0.45rem;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.3rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.fl-place-text {
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.4;
}

.fl-duration-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background-color: #e8f2fc;
  border: 1px solid #bfdbfe;
  color: var(--dk-primary-dark, #003e78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Noto Sans JP", monospace;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
  font-weight: 700;
}

.fl-duration-badge.is-zero {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
  font-weight: 600;
}

.fl-row-btn {
  min-height: 34px;
  padding: 0.25rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 3. 教習所飛行ログ 検索バー＆スクロール領域 */
.fl-table-filter-bar {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
}

.fl-filter-pill {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.fl-filter-pill:hover,
.fl-filter-pill:focus {
  border-color: var(--dk-primary, #005bac);
  color: var(--dk-primary, #005bac);
  background-color: #f0f7ff;
}

.fl-filter-pill.is-active,
.fl-filter-pill.active {
  background-color: var(--dk-primary, #005bac);
  border-color: var(--dk-primary, #005bac);
  color: #ffffff;
}

@media (min-width: 768px) {
  .fl-school-table-scroll {
    max-height: 560px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
  }

  .fl-school-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 1px 0 #cbd5e1;
  }
}

/* 4. 右サイドバー：操作・帳票出力メニュー ＆ 評価ポイント獲得基準 */
@media (min-width: 992px) {
  .fl-side-sticky {
    position: sticky;
    top: 5.25rem;
  }
}

/* 最重要アクション「ログ追加」ボタン */
.fl-btn-primary-action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.95rem 1.15rem;
  background: linear-gradient(135deg, #005bac 0%, #003e78 100%);
  color: #ffffff;
  border: 2px solid #003e78;
  border-radius: 0.65rem;
  box-shadow: 0 6px 16px rgba(0, 91, 172, 0.24);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.fl-btn-primary-action:hover,
.fl-btn-primary-action:focus {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 91, 172, 0.34);
  filter: brightness(1.05);
}

.fl-btn-primary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.18);
  font-size: 1.35rem;
  font-weight: 700;
  flex-shrink: 0;
}

.fl-btn-primary-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.fl-btn-primary-label {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.fl-btn-primary-sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 0.15rem;
}

.fl-btn-primary-arrow {
  font-size: 1.35rem;
  font-weight: 700;
  opacity: 0.85;
}

/* サブ出力メニューボタン群 */
.fl-side-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fl-side-menu-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fl-side-menu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.95rem;
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.5rem;
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.fl-side-menu-btn:hover,
.fl-side-menu-btn:focus {
  background-color: var(--dk-primary-light, #e8f2fc);
  border-color: var(--dk-primary, #005bac);
  color: var(--dk-primary, #005bac);
  transform: translateY(-1px);
}

.fl-side-menu-arrow {
  font-size: 1.15rem;
  font-weight: 700;
  color: #64748b;
}

.fl-side-menu-btn:hover .fl-side-menu-arrow {
  color: var(--dk-primary, #005bac);
}

.fl-side-menu-note {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  padding-left: 0.35rem;
}

/* 評価ポイント獲得基準ボックス */
.fl-point-guide-box {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.55rem;
  padding: 0.85rem 1rem;
}

.fl-point-guide-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.fl-point-guide-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.fl-point-guide-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
}

.fl-point-guide-item.is-highlight .fl-point-guide-name {
  color: #be123c;
  font-weight: 700;
}

/* ==========================================================================
   フライトログ管理｜統計情報（?app=fl&req=info）専用スタイル
   ========================================================================== */
.fl-stats-card {
  background-color: #ffffff;
  border: 1px solid var(--dk-card-border, #dce4ec);
  border-radius: 0.75rem;
  padding: 1.35rem 1.45rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.fl-stats-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1.15rem;
  border-bottom: 2px solid #e2e8f0;
}

.fl-stats-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dk-primary-dark, #003e78);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fl-stats-card-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 1.15rem;
  background-color: var(--dk-primary, #005bac);
  border-radius: 3px;
}

.fl-stats-section-block {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  padding: 1rem 1.1rem;
}

.fl-stats-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.fl-stats-section-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.fl-stats-unit-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background-color: #e2e8f0;
  border-radius: 999px;
}

.fl-stats-metric-box {
  background-color: #ffffff;
  border: 1px solid #dbe3ec;
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fl-stats-metric-box.is-Zero,
.fl-stats-metric-box.is-zero {
  background-color: #fcfdfe;
}

.fl-stats-metric-box.is-active-val {
  border-color: #bae6fd;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.fl-stats-metric-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.fl-stats-metric-val-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.25rem;
}

.fl-stats-metric-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.32rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  line-height: 1.15;
}

.fl-stats-metric-box.is-active-val .fl-stats-metric-val {
  color: var(--dk-primary-dark, #003e78);
}

.fl-stats-metric-box.is-zero .fl-stats-metric-val {
  color: #94a3b8;
}

.fl-stats-metric-unit {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
}

/* DIPS用飛行実績マトリクステーブル */
.fl-dips-table-wrap {
  border: 1px solid #cbd5e1;
  border-radius: 0.55rem;
  overflow: hidden;
  background-color: #ffffff;
}

.fl-dips-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.fl-dips-table thead th {
  background-color: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  text-align: center;
  padding: 0.7rem 0.6rem;
  border-bottom: 2px solid #cbd5e1;
  border-right: 1px solid #e2e8f0;
  white-space: nowrap;
}

.fl-dips-table thead th:first-child {
  text-align: left;
  padding-left: 1rem;
  background-color: #e2e8f0;
  color: #0f172a;
}

.fl-dips-table thead th:last-child {
  border-right: none;
}

.fl-dips-table tbody th {
  background-color: #f8fafc;
  color: #1e293b;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #cbd5e1;
  white-space: nowrap;
}

.fl-dips-table tbody td {
  text-align: right;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.08rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  vertical-align: middle;
}

.fl-dips-table tbody td:last-child {
  border-right: none;
}

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

.fl-dips-table tbody td.is-has-record {
  background-color: #f0f9ff;
  color: var(--dk-primary-dark, #003e78);
}

.fl-dips-table tbody td.is-empty-cell {
  color: #cbd5e1;
  font-weight: 400;
  text-align: center;
}

.fl-dips-col-active {
  background-color: #e0f2fe !important;
  color: var(--dk-primary-dark, #003e78) !important;
}

@media (max-width: 575.98px) {
  .fl-stats-card {
    padding: 1.05rem 1rem;
  }
  .fl-stats-section-block {
    padding: 0.85rem 0.85rem;
  }
  .fl-stats-metric-val {
    font-size: 1.18rem;
  }
  .fl-dips-table thead th,
  .fl-dips-table tbody th,
  .fl-dips-table tbody td {
    padding: 0.6rem 0.55rem;
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   フライトログ管理ページ系統 印刷時スタイル（@media print）
   ※右カラム（#layout_right）やナビゲーション類を非表示にし、
     左カラム（#layout_left）をページ横幅100%でクリーンに印刷します。
   ========================================================================== */
@media print {
  /* 右カラム（操作・帳票出力メニュー・ポイント基準）を非表示 */
  #layout_right,
  .layout_right,
  /* サブナビゲーションピル・戻るボタン・ステップバー・フォーム送信ボタン等を非表示 */
  .fl-user-context-bar nav,
  .fl-subnav-pills,
  .sub-title-banner .btn,
  .aqtd-step-bar,
  .aqtd-form-actions,
  .fl-print-filter-card,
  .fl-total-time-card .btn,
  .aqtd-copy-btn {
    display: none !important;
  }

  /* 左カラム（メインデータ領域）を100%幅に拡張 */
  #layout_left,
  .layout_left {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    order: 1 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* コンテナの余白調整と背景色・罫線の印刷維持 */
  body {
    background-color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  main.container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* タイトルバナー・ステータスバー・統計カードを印刷向けにすっきり整形 */
  .sub-title-banner {
    padding: 0.65rem 1rem !important;
    margin-bottom: 0.75rem !important;
    box-shadow: none !important;
  }

  .fl-user-context-bar {
    padding: 0.5rem 0.85rem !important;
    margin-bottom: 0.85rem !important;
    box-shadow: none !important;
  }

  .fl-stats-card,
  .aqtd-form-card,
  .section-card,
  .fl-total-time-card {
    box-shadow: none !important;
    break-inside: avoid;
  }

  /* スクロール領域（教習所飛行ログ一覧など）の全件展開 */
  .fl-school-table-scroll,
  .table-responsive {
    max-height: none !important;
    overflow: visible !important;
  }
}

/* ==========================================================================
   フライトログ管理｜機体登録（?app=fl&req=setup_vehicle）専用スタイル
   ========================================================================== */
.fl-vehicle-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369a1;
  background-color: #e0f2fe;
  border: 1px solid #bae6fd;
  white-space: nowrap;
}

.fl-reg-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.03em;
}

.fl-reg-code-badge.is-empty {
  color: #94a3b8;
  font-weight: 500;
  font-family: inherit;
  font-size: 0.76rem;
  border-style: dashed;
  background-color: transparent;
}

/* ==========================================================================
   一般会員用 共通左カラム：開閉式（アコーディオン）グローバルメニュー
   ＆ スマホ（lg未満）ハンバーガーメニュー内 アコーディオンナビゲーション
   ========================================================================== */
.member-side-nav-card {
  background-color: #ffffff;
  border: 1px solid var(--dk-card-border, #dce4ec);
  border-radius: 0.625rem;
  padding: 1.15rem 1.15rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.member-side-top-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.68rem 0.9rem;
  margin-bottom: 0.65rem;
  border-radius: 0.5rem;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.member-side-top-link:hover,
.member-side-top-link:focus {
  background-color: var(--dk-primary-light, #e8f2fc);
  border-color: var(--dk-primary, #005bac);
  color: var(--dk-primary, #005bac);
}

.member-side-top-link.is-active {
  background-color: var(--dk-primary, #005bac);
  border-color: var(--dk-primary, #005bac);
  color: #ffffff;
}

/* 開閉式カテゴリグループリスト（アクセス権に応じて何個増えても自動スタック） */
.member-nav-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.member-nav-group {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.member-nav-group[open] {
  border-color: #bfdbfe;
  box-shadow: 0 2px 6px rgba(0, 91, 172, 0.06);
}

.member-nav-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  background-color: #f8fafc;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.member-nav-summary::-webkit-details-marker {
  display: none;
}

.member-nav-summary:hover,
.member-nav-summary:focus-visible {
  background-color: #f0f7ff;
  color: var(--dk-primary, #005bac);
  outline: none;
}

.member-nav-group[open] > .member-nav-summary {
  background-color: #e8f2fc;
  color: var(--dk-primary-dark, #003e78);
  border-bottom: 1px solid #dbeafe;
}

.member-nav-summary-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.member-nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.15s ease, color 0.15s ease;
}

.member-nav-group[open] > .member-nav-summary .member-nav-chevron {
  transform: rotate(180deg);
  background-color: var(--dk-primary, #005bac);
  color: #ffffff;
}

.member-nav-sublist {
  list-style: none;
  padding: 0.35rem 0.45rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background-color: #ffffff;
}

.member-nav-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.375rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.14s ease;
}

.member-nav-sublink::after {
  content: "›";
  font-size: 1rem;
  font-weight: 700;
  color: #94a3b8;
  transition: transform 0.14s ease, color 0.14s ease;
}

.member-nav-sublink:hover,
.member-nav-sublink:focus {
  background-color: #f0f7ff;
  color: var(--dk-primary, #005bac);
}

.member-nav-sublink:hover::after,
.member-nav-sublink:focus::after {
  color: var(--dk-primary, #005bac);
  transform: translateX(2px);
}

.member-nav-sublink.is-active {
  background-color: var(--dk-primary, #005bac);
  color: #ffffff;
  font-weight: 700;
}

.member-nav-sublink.is-active::after {
  color: #ffffff;
}

/* 権限別追加メニューグループ（管理者・教習所・ビジネス等）のアクセントバッジ */
.member-nav-role-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.12rem 0.42rem;
  border-radius: 0.25rem;
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* スマホ（lg未満）のヘッダーハンバーガーメニュー内アコーディオン（白背景ヘッダー対応） */
.mobile-drawer-member-nav {
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

.mobile-drawer-nav-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.03em;
  margin-bottom: 0.45rem;
  padding: 0 0.25rem;
}

.mobile-drawer-member-nav .member-nav-group {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
}

.mobile-drawer-member-nav .member-nav-summary {
  background-color: #f8fafc;
  color: #1e293b;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
}

.mobile-drawer-member-nav .member-nav-summary:hover,
.mobile-drawer-member-nav .member-nav-summary:focus-visible {
  background-color: #f0f7ff;
  color: var(--dk-primary, #005bac);
}

.mobile-drawer-member-nav .member-nav-group[open] > .member-nav-summary {
  background-color: #e8f2fc;
  color: var(--dk-primary-dark, #003e78);
  border-bottom: 1px solid #bfdbfe;
}

.mobile-drawer-member-nav .member-nav-chevron {
  background-color: #e2e8f0;
  color: #334155;
}

.mobile-drawer-member-nav .member-nav-group[open] > .member-nav-summary .member-nav-chevron {
  background-color: var(--dk-primary, #005bac);
  color: #ffffff;
}

.mobile-drawer-member-nav .member-nav-sublist {
  background-color: #ffffff;
}

.mobile-drawer-member-nav .member-nav-sublink {
  color: #334155;
}

.mobile-drawer-member-nav .member-nav-sublink:hover,
.mobile-drawer-member-nav .member-nav-sublink:focus {
  background-color: #f0f7ff;
  color: var(--dk-primary, #005bac);
}

.mobile-drawer-member-nav .member-nav-sublink.is-active {
  background-color: var(--dk-primary, #005bac);
  color: #ffffff;
}

.mobile-drawer-member-nav .member-nav-sublink.is-active::after {
  color: #ffffff;
}
