/* =====================================================
   NippouApp — Design System v2.0
   カラー: ダークネイビー #0B1E33 / ティール #00B8A3
   フォント: Inter + Hiragino Sans
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:         #0B1E33;
  --navy-mid:     #162D47;
  --navy-light:   #1E3D5C;
  --teal:         #00B8A3;
  --teal-dark:    #009E8C;
  --teal-light:   #E6F7F5;
  --accent:       #3B7BF8;
  --red:          #E53E3E;
  --orange:       #F6AD55;
  --white:        #FFFFFF;
  --gray-50:      #F7F9FC;
  --gray-100:     #EEF2F7;
  --gray-200:     #DDE3ED;
  --gray-300:     #C4CDD9;
  --gray-400:     #9AAAB8;
  --gray-500:     #6B7F94;
  --gray-600:     #4A5F73;
  --gray-700:     #2E4459;
  --gray-800:     #1A2E40;
  --shadow-xs:    0 1px 2px rgba(11,30,51,0.06);
  --shadow-sm:    0 2px 8px rgba(11,30,51,0.08), 0 1px 3px rgba(11,30,51,0.04);
  --shadow:       0 6px 20px rgba(11,30,51,0.10), 0 2px 6px rgba(11,30,51,0.05);
  --shadow-lg:    0 16px 48px rgba(11,30,51,0.14), 0 4px 12px rgba(11,30,51,0.06);
  --radius:       8px;
  --radius-lg:    14px;
  --radius-xl:    20px;
  --sidebar-w:    224px;
  --font:         'Inter', -apple-system, 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
}

body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* =====================================================
   アプリレイアウト
   ===================================================== */
.layout { display: flex; min-height: 100vh; }

/* ─── サイドバー ─── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sidebar-logo {
  width: 32px; height: 32px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.sidebar-title { font-size: 15px; font-weight: 800; color: var(--white); letter-spacing: -0.2px; }

.sidebar-user {
  padding: 10px 18px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 6px;
}
.sidebar-user-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0;
}

.sidebar-tenant-badge {
  padding: 7px 18px;
  font-size: 11px;
  background: rgba(0,184,163,0.12);
  color: #5ee8da;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-tenant-warn {
  padding: 7px 18px;
  font-size: 11px;
  background: rgba(246,173,85,0.12);
  color: #fcd34d;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-menu { list-style: none; flex: 1; padding: 10px 0; }
.nav-section {
  padding: 16px 18px 5px;
  font-size: 9.5px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  border-left: 2px solid transparent;
  position: relative;
}
.nav-link .nav-icon { font-size: 15px; flex-shrink: 0; }
.nav-link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  text-decoration: none;
  border-left-color: rgba(255,255,255,0.15);
}
.nav-link.active {
  background: rgba(0,184,163,0.12);
  color: var(--white);
  font-weight: 600;
  border-left-color: var(--teal);
}

.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  background: rgba(229,62,62,0.1);
  color: #fc8181;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: var(--font);
  text-decoration: none;
}
.btn-logout:hover { background: rgba(229,62,62,0.22); color: var(--white); text-decoration: none; }
.version { text-align: center; font-size: 10px; color: rgba(255,255,255,0.18); margin-top: 8px; }

/* ─── ハンバーガー（スマホ） ─── */
.hamburger {
  display: none;
  position: fixed;
  top: 14px; left: 14px;
  z-index: 300;
  background: var(--navy);
  border: none; border-radius: 8px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.hamburger span {
  display: block; width: 18px; height: 2px; background: var(--white);
  position: relative; transition: all 0.25s;
}
.hamburger span::before,
.hamburger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--white);
  transition: all 0.25s;
}
.hamburger span::before { top: -5px; }
.hamburger span::after  { top:  5px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: rotate(45deg); top: 0; }
.hamburger.open span::after  { transform: rotate(-45deg); top: 0; }

.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(11,30,51,0.55);
  z-index: 150;
  backdrop-filter: blur(2px);
}

/* ─── メインコンテンツ ─── */
.main {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: 28px 32px;
  min-width: 0;
  min-height: 100vh;
}

/* ─── ページヘッダー ─── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
  gap: 12px;
}
.page-header h1 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

/* =====================================================
   カード
   ===================================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.card h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
  flex-wrap: wrap;
  gap: 8px;
}
.card-header h2 { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }

/* ─── 統計カード ─── */
.stat-card {
  text-align: center;
  border-top: 3px solid var(--teal);
  padding: 22px 18px;
}
.stat-icon { font-size: 26px; margin-bottom: 8px; }
.stat-value { font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; color: var(--gray-500); margin-top: 3px; font-weight: 500; }
.stat-link { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--teal); font-weight: 600; }

/* ─── 2カラム ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* =====================================================
   テーブル
   ===================================================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 500px; }
.table th {
  background: var(--gray-50);
  color: var(--gray-500);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}
.table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13.5px;
  vertical-align: middle;
  color: var(--gray-700);
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--gray-50); }
.table-sm th, .table-sm td { padding: 7px 10px; font-size: 13px; }
.text-right { text-align: right; }
.text-muted { color: var(--gray-400); }
.text-center { text-align: center; }

/* =====================================================
   フォーム
   ===================================================== */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-group label { font-size: 12.5px; font-weight: 600; color: var(--gray-700); letter-spacing: 0.1px; }
.form-control {
  padding: 10px 13px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,184,163,0.12);
}
.form-control::placeholder { color: var(--gray-300); }
textarea.form-control { resize: vertical; min-height: 90px; line-height: 1.7; }
select.form-control { cursor: pointer; }
.form-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gray-100); flex-wrap: wrap; }
.required { color: var(--red); margin-left: 2px; }
.form-hint { font-size: 11.5px; color: var(--gray-400); margin-top: 3px; }

.filter-form { margin-bottom: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filter-row .form-group { margin-bottom: 0; }
.amount-total { text-align: right; padding: 8px 14px; color: var(--navy); font-size: 15px; font-weight: 700; }

/* =====================================================
   ボタン
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
  letter-spacing: 0.1px;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); opacity: 1; color: var(--white); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.btn-secondary:hover { background: var(--gray-200); opacity: 1; }
.btn-outline { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); opacity: 1; }
.btn-danger { background: var(--red); color: var(--white); }
.btn-danger:hover { opacity: 0.88; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); opacity: 1; }
.btn-sm { padding: 5px 13px; font-size: 12px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 8px; }

/* =====================================================
   バッジ
   ===================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.badge-green  { background: rgba(0,184,163,0.10); color: var(--teal-dark); }
.badge-blue   { background: rgba(59,123,248,0.10); color: #2563eb; }
.badge-red    { background: rgba(229,62,62,0.10);  color: #c53030; }
.badge-gray   { background: var(--gray-100);        color: var(--gray-500); }
.badge-orange { background: rgba(246,173,85,0.15); color: #c05621; }
/* 後方互換 */
.badge        { background: rgba(0,184,163,0.10); color: var(--teal-dark); }
.badge-admin  { background: rgba(246,173,85,0.15); color: #c05621; }
.badge-active { background: rgba(0,184,163,0.10); color: var(--teal-dark); }
.badge-inactive { background: rgba(229,62,62,0.10); color: #c53030; }

/* =====================================================
   アラート
   ===================================================== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 13.5px;
  line-height: 1.5;
}
.alert-error   { background: rgba(229,62,62,0.06);  border: 1px solid rgba(229,62,62,0.2);   color: #9b2c2c; }
.alert-success { background: rgba(0,184,163,0.06);  border: 1px solid rgba(0,184,163,0.2);   color: #065f46; }
.alert-warning { background: rgba(246,173,85,0.08); border: 1px solid rgba(246,173,85,0.25); color: #7b341e; }

/* =====================================================
   ログイン画面
   ===================================================== */
.login-wrap {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.login-wrap::before {
  content: '';
  position: absolute;
  top: -30%; left: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,184,163,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.login-wrap::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,123,248,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.login-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 400px;
  position: relative; z-index: 1;
}
.login-logo {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.login-title { font-size: 20px; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 4px; letter-spacing: -0.4px; }
.login-subtitle { font-size: 13px; color: var(--gray-400); text-align: center; margin-bottom: 30px; }
.login-box .form-group { margin-bottom: 16px; }
.login-footer { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--gray-400); }
.login-footer a { color: var(--teal); font-weight: 600; }

/* =====================================================
   日報プレビュー
   ===================================================== */
.report-preview {
  padding: 13px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
}
.report-preview p { font-size: 13.5px; color: var(--gray-600); margin-bottom: 10px; line-height: 1.7; }

/* =====================================================
   ランディングページ
   ===================================================== */
.lp-body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-800);
}

/* ナビ */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  height: 64px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
}
.lp-nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 800; color: var(--navy);
  text-decoration: none; letter-spacing: -0.3px;
}
.lp-nav-logo-mark {
  width: 30px; height: 30px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.lp-nav-links { display: flex; align-items: center; gap: 36px; }
.lp-nav-links a { font-size: 13.5px; color: var(--gray-600); font-weight: 500; transition: color 0.15s; }
.lp-nav-links a:hover { color: var(--navy); text-decoration: none; }
.lp-nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s !important;
}
.lp-nav-cta:hover { background: var(--navy-mid) !important; transform: translateY(-1px); }

/* ハンバーガー（LP用） */
.lp-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 4px;
  flex-direction: column; gap: 5px;
}
.lp-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.25s;
}
.lp-mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px 20px;
  z-index: 99;
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 4px;
}
.lp-mobile-menu a {
  display: block; padding: 10px 12px;
  font-size: 15px; color: var(--gray-700); font-weight: 500;
  border-radius: var(--radius);
}
.lp-mobile-menu a:hover { background: var(--gray-50); text-decoration: none; }
.lp-mobile-menu .lp-nav-cta {
  margin-top: 8px; text-align: center;
  border-radius: var(--radius) !important;
  padding: 12px 22px !important;
  font-size: 14px !important;
}

/* ヒーロー */
.lp-hero {
  min-height: 100vh;
  padding: 120px 52px 90px;
  display: flex;
  align-items: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.lp-hero-bg {
  position: absolute;
  inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(0,184,163,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(59,123,248,0.05) 0%, transparent 60%);
}
/* 斜めラインの装飾（署名要素） */
.lp-hero-bg::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(135deg, transparent 45%, rgba(0,184,163,0.04) 45%, rgba(0,184,163,0.04) 55%, transparent 55%),
              linear-gradient(135deg, transparent 60%, rgba(11,30,51,0.03) 60%);
  pointer-events: none;
}

.lp-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 1;
  width: 100%;
}
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 22px;
  border: 1px solid rgba(0,184,163,0.2);
  letter-spacing: 0.2px;
}
.lp-hero h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
.lp-hero h1 em { color: var(--teal); font-style: normal; }
.lp-hero-sub {
  font-size: 16.5px;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 36px;
  font-weight: 400;
}
.lp-hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 15px; font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(11,30,51,0.25);
}
.lp-btn-primary:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,30,51,0.3); text-decoration: none; color: var(--white); }
.lp-btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gray-700);
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--gray-300);
  transition: all 0.2s;
}
.lp-btn-secondary:hover { border-color: var(--navy); color: var(--navy); background: var(--gray-50); text-decoration: none; }
.lp-hero-note { font-size: 12px; color: var(--gray-400); margin-top: 14px; }

/* モックアップ */
.lp-hero-visual {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(11,30,51,0.16), 0 4px 16px rgba(11,30,51,0.08);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.lp-mockup-bar {
  background: var(--navy);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 7px;
}
.lp-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-mockup-title { font-size: 11px; color: rgba(255,255,255,0.35); margin-left: 8px; font-weight: 500; }
.lp-mockup-content { padding: 22px; }
.lp-mock-header { font-size: 11px; font-weight: 700; color: var(--navy); margin-bottom: 14px; letter-spacing: 0.3px; text-transform: uppercase; }
.lp-mock-stat { display: flex; gap: 10px; margin-bottom: 18px; }
.lp-mock-stat-item {
  flex: 1; background: var(--gray-50); border-radius: 10px;
  padding: 12px 10px; text-align: center; border: 1px solid var(--gray-100);
}
.lp-mock-stat-num { font-size: 20px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.lp-mock-stat-label { font-size: 10px; color: var(--gray-400); margin-top: 2px; font-weight: 500; }
.lp-mock-divider { height: 1px; background: var(--gray-100); margin-bottom: 12px; }
.lp-mock-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-radius: 7px; margin-bottom: 6px;
  background: var(--gray-50); border: 1px solid var(--gray-100);
}
.lp-mock-row-label { font-size: 12px; color: var(--gray-700); font-weight: 500; }
.lp-mock-badge { font-size: 10px; padding: 3px 9px; border-radius: 20px; font-weight: 600; white-space: nowrap; }

/* セクション共通 */
.lp-section { padding: 96px 52px; max-width: 1120px; margin: 0 auto; }
.lp-section-label {
  font-size: 11px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.lp-section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--teal); border-radius: 1px; }
.lp-section-title {
  font-size: 36px; font-weight: 900; color: var(--navy);
  margin-bottom: 16px; letter-spacing: -0.8px; line-height: 1.2;
}
.lp-section-sub {
  font-size: 16px; color: var(--gray-500);
  max-width: 540px; line-height: 1.85; margin-bottom: 56px;
}

/* 機能 */
.lp-features-section { background: var(--gray-50); padding: 96px 0; }
.lp-features-inner { max-width: 1120px; margin: 0 auto; padding: 0 52px; }
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.22s;
}
.lp-feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(0,184,163,0.25);
}
.lp-feature-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.lp-feature-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.lp-feature-text { font-size: 13.5px; color: var(--gray-500); line-height: 1.75; }

/* 料金 */
.lp-plans-section { background: var(--white); padding: 96px 0; }
.lp-plans-inner { max-width: 1120px; margin: 0 auto; padding: 0 52px; }
.lp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-plan {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  position: relative;
  transition: all 0.2s;
}
.lp-plan:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.lp-plan.featured {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy), var(--shadow);
  background: var(--navy);
  color: var(--white);
}
.lp-plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 20px; white-space: nowrap;
}
.lp-plan-name { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.lp-plan.featured .lp-plan-name { color: var(--white); }
.lp-plan-users { font-size: 12px; color: var(--gray-400); margin-bottom: 18px; font-weight: 500; }
.lp-plan.featured .lp-plan-users { color: rgba(255,255,255,0.55); }
.lp-plan-trial {
  display: inline-block;
  background: rgba(0,184,163,0.12); color: var(--teal-dark);
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
  border: 1px solid rgba(0,184,163,0.2);
}
.lp-plan-price { font-size: 34px; font-weight: 900; color: var(--navy); letter-spacing: -1px; }
.lp-plan.featured .lp-plan-price { color: var(--white); }
.lp-plan-price span { font-size: 14px; font-weight: 400; color: var(--gray-400); }
.lp-plan.featured .lp-plan-price span { color: rgba(255,255,255,0.5); }
.lp-plan-features { list-style: none; margin: 20px 0; }
.lp-plan-features li {
  font-size: 13px; color: var(--gray-600); padding: 5px 0;
  display: flex; align-items: center; gap: 8px;
}
.lp-plan.featured .lp-plan-features li { color: rgba(255,255,255,0.8); }
.lp-plan-features li::before { content: "✓"; color: var(--teal); font-weight: 800; flex-shrink: 0; }
.lp-plan.featured .lp-plan-features li::before { color: #5ee8da; }
.lp-plan-cta {
  display: block; text-align: center;
  padding: 11px; border-radius: var(--radius);
  font-size: 13.5px; font-weight: 700; margin-top: 20px;
  transition: all 0.2s;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
}
.lp-plan-cta:hover { background: var(--gray-100); text-decoration: none; color: var(--navy); }
.lp-plan.featured .lp-plan-cta {
  background: var(--teal); color: var(--white); border-color: var(--teal);
}
.lp-plan.featured .lp-plan-cta:hover { background: var(--teal-dark); }

/* FAQ */
.lp-faq-section { background: var(--gray-50); padding: 96px 0; }
.lp-faq-inner { max-width: 720px; margin: 0 auto; padding: 0 52px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--navy);
  list-style: none; gap: 12px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-arrow {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--gray-100); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--gray-500); transition: transform 0.2s;
}
details[open] .faq-arrow { transform: rotate(180deg); background: var(--teal-light); color: var(--teal); }
.faq-answer {
  padding: 0 22px 18px;
  font-size: 13.5px; color: var(--gray-600); line-height: 1.8;
}

/* CTA */
.lp-cta-section {
  background: var(--navy);
  padding: 96px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,184,163,0.15) 0%, transparent 70%);
}
.lp-cta-section h2 {
  font-size: 36px; font-weight: 900; color: var(--white);
  margin-bottom: 14px; letter-spacing: -0.8px; position: relative;
}
.lp-cta-section p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 36px; position: relative; }
.lp-btn-primary-inv {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  padding: 15px 36px; border-radius: 30px;
  font-size: 15px; font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,184,163,0.4);
  position: relative;
}
.lp-btn-primary-inv:hover { background: var(--teal-dark); transform: translateY(-2px); text-decoration: none; color: var(--white); box-shadow: 0 8px 28px rgba(0,184,163,0.45); }

/* フッター */
.lp-footer {
  background: var(--gray-800);
  padding: 32px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.lp-footer-logo { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600; }
.lp-footer-links { display: flex; gap: 24px; }
.lp-footer-links a { font-size: 12.5px; color: rgba(255,255,255,0.4); transition: color 0.15s; }
.lp-footer-links a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }
.lp-footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* =====================================================
   料金ページ（/pricing）
   ===================================================== */
.pricing-wrap { min-height: 100vh; background: var(--gray-50); padding: 64px 24px 48px; }
.pricing-header { text-align: center; margin-bottom: 52px; }
.pricing-header h1 { font-size: 30px; font-weight: 900; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.5px; }
.pricing-header p { font-size: 15px; color: var(--gray-500); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto 48px; }
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.plan-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-card.selected { border-color: var(--teal); background: #f0fefb; box-shadow: 0 0 0 1px var(--teal); }
.plan-card.popular { border-color: var(--navy); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 20px; white-space: nowrap;
}
.trial-badge {
  display: inline-block;
  background: var(--teal-light); color: var(--teal-dark);
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
  border: 1px solid rgba(0,184,163,0.2);
}
.plan-name { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.plan-users { font-size: 12px; color: var(--gray-400); margin-bottom: 14px; }
.plan-price { font-size: 36px; font-weight: 900; color: var(--navy); letter-spacing: -1px; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 14px; color: var(--gray-400); font-weight: 400; }
.plan-features { list-style: none; text-align: left; margin: 16px 0; }
.plan-features li { padding: 5px 0; font-size: 13px; color: var(--gray-600); display: flex; align-items: center; gap: 7px; }
.plan-features li::before { content: "✓"; color: var(--teal); font-weight: 800; flex-shrink: 0; }

.signup-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  padding: 36px;
  max-width: 500px;
  margin: 0 auto;
}
.signup-form h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; text-align: center; letter-spacing: -0.3px; }
.signup-form .subtitle { font-size: 13px; color: var(--gray-400); text-align: center; margin-bottom: 22px; }
.selected-plan-badge {
  display: block;
  background: var(--teal-light);
  border: 1px solid rgba(0,184,163,0.2);
  color: var(--teal-dark);
  padding: 8px 16px; border-radius: var(--radius);
  font-size: 13.5px; font-weight: 700; text-align: center; margin-bottom: 22px;
}
.back-link { text-align: center; margin-top: 32px; }
.back-link a { color: var(--gray-400); font-size: 13.5px; }

/* =====================================================
   申込完了
   ===================================================== */
.complete-wrap {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  position: relative; overflow: hidden;
}
.complete-wrap::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,184,163,0.15) 0%, transparent 65%);
}
.complete-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 52px 44px;
  max-width: 480px; width: 100%;
  text-align: center;
  position: relative; z-index: 1;
}
.complete-icon { font-size: 60px; margin-bottom: 16px; }
.complete-title { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.4px; }
.complete-text { color: var(--gray-500); font-size: 15px; line-height: 1.8; margin-bottom: 26px; }
.info-box {
  background: var(--teal-light);
  border: 1px solid rgba(0,184,163,0.2);
  border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 26px;
  text-align: left; font-size: 13.5px; color: #065f46; line-height: 1.9;
}

/* =====================================================
   レスポンシブ
   ===================================================== */
@media (max-width: 1024px) {
  .lp-plans { grid-template-columns: repeat(2, 1fr); }
  .lp-features { grid-template-columns: repeat(2, 1fr); }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { max-width: 480px; }
}

@media (max-width: 768px) {
  /* LP ナビ */
  .lp-nav { padding: 0 20px; }
  .lp-nav-links { display: none; }
  .lp-hamburger { display: flex; }

  /* LP ヒーロー */
  .lp-hero { padding: 96px 24px 64px; }
  .lp-hero h1 { font-size: 34px; letter-spacing: -1px; }
  .lp-hero-sub { font-size: 15px; }
  .lp-hero-visual { display: none; }

  /* LP セクション */
  .lp-section { padding: 64px 24px; }
  .lp-features-inner { padding: 0 24px; }
  .lp-features-section { padding: 64px 0; }
  .lp-features { grid-template-columns: 1fr; }
  .lp-plans-section { padding: 64px 0; }
  .lp-plans-inner { padding: 0 24px; }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-faq-section { padding: 64px 0; }
  .lp-faq-inner { padding: 0 20px; }
  .lp-cta-section { padding: 64px 24px; }
  .lp-cta-section h2 { font-size: 28px; }
  .lp-footer { padding: 24px; flex-direction: column; align-items: flex-start; }

  /* アプリ */
  .hamburger { display: flex; }
  .sidebar {
    transform: translateX(calc(-1 * var(--sidebar-w)));
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .main { margin-left: 0; padding: 72px 16px 24px; }
  .page-header h1 { font-size: 17px; }
  .two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .table th, .table td { padding: 9px 10px; font-size: 13px; }
}

@media (max-width: 480px) {
  .lp-hero h1 { font-size: 28px; }
  .lp-btn-primary, .lp-btn-secondary { width: 100%; justify-content: center; }
  .lp-hero-actions { flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
  .signup-form { padding: 24px 18px; }
  .complete-box { padding: 36px 24px; }
  .login-box { padding: 32px 24px; }
  .plans { grid-template-columns: 1fr; }
}
