:root {
  --primary-color: #ff6a00; /* エネルギッシュなオレンジ */
  --secondary-color: #1a1a1a; /* 深いダークグレー */
  --accent-color: #00d4ff; /* 信頼のライトブルー */
  --bg-dark: #121212;
  --bg-light: #ffffff;
  --text-main: #e0e0e0;
  --text-sub: #999999;
  --success: #28a745;
  --font-heading: 'Inter', 'Noto Sans JP', sans-serif;
}

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

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* --- Header & Navigation --- */
body > header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
  height: 80px;
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Simulator --- */
.simulator-box select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.05);
  color: #fff; /* 明示的に白に設定 */
  background-color: rgba(255, 255, 255, 0.08); /* 背景も固定 */
}

/* ドロップダウンメニュー内の選択肢の視認性確保 */
.simulator-box select option {
  background-color: #1a1a1a; /* ダークグレーの背景 */
  color: #fff; /* 白文字 */
}

.simulator-box select:focus {
  border-color: var(--primary-color);
  outline: none;
}

@media (max-width: 600px) {
  .simulator-box .form-row {
    grid-template-columns: 1fr !important;
  }
}

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

/* Header/Nav - Site Navigation Specific */
body > header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 900;
}

/* Hero Section */
.hero {
  padding: 150px 0;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)), url('hero-bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 2px solid var(--primary-color);
}

.hero h1 {
  font-size: 4.2rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ffffff, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-sub);
  margin-bottom: 40px;
}

/* Forms / Buttons */
.btn-primary {
  background: linear-gradient(90deg, #ff6a00, #ff9d00);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* Card System */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s ease;
}

.card:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--primary-color);
  transform: translateY(-10px);
}

.card-title {
  color: #fff;
  margin-bottom: 15px;
}

/* --- Ranking & Cards --- */
.ranking-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ranking-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(255, 106, 0, 0.15);
}

.rank-label {
  position: absolute;
  top: -15px;
  left: 20px;
  padding: 8px 25px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 10;
}

.ranking-card.featured .rank-label { background: linear-gradient(135deg, #ffd700, #b8860b); color: #000; }
.ranking-card:nth-child(2) .rank-label { background: linear-gradient(135deg, #c0c0c0, #708090); color: #000; }
.ranking-card:nth-child(3) .rank-label { background: linear-gradient(135deg, #cd7f32, #8b4513); color: #fff; }

.features {
  list-style: none;
  margin: 25px 0;
  padding: 0;
}

.features li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- FAQ & Accordion (Redesigned) --- */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 22px 30px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  color: #ffffff !important; /* 強制的に白に設定 */
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-q-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-q-text::before {
  content: "Q";
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 900;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.faq-icon::before { width: 100%; height: 2px; top: 9px; left: 0; }
.faq-icon::after { width: 2px; height: 100%; top: 0; left: 9px; }

.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-icon::after { opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 30px 25px 65px;
}

.faq-answer-inner {
  color: #e0e0e0; /* より明るい色に変更 */
  line-height: 1.8;
  font-size: 1rem;
}

/* --- Utility --- */
.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 20px;
  font-weight: 900;
}

.section-subtitle {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 60px;
  font-size: 1.1rem;
}

/* Glassmorphism Utility */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
}

/* Breadcrumb Nav */
.breadcrumb-nav {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
  margin-bottom: 0;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-sub);
}

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

.breadcrumb-list li:not(:last-child)::after {
  content: "›";
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.2);
}

.breadcrumb-list a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.3s;
}

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

.breadcrumb-list li:last-child {
  color: var(--primary-color);
  font-weight: 700;
}

/* Subpage Header */
.subpage-header {
  position: static; /* stickyを継承しないよう明示的にリセット */
  padding: 60px 0;
  text-align: center;
}

.subpage-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Tables in subpages */
.operator-table {
  width: 100%;
  border-collapse: collapse;
}

.operator-table th, .operator-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.operator-table th {
  width: 30%;
  color: var(--text-sub);
  font-weight: 500;
}

/* Profile specific */
.profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 30px;
}

.profile-img {
  width: 120px;
  height: 120px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
}

.tagline {
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 5px;
}

/* Footer Link Adjustment */
footer a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* --- Footer (Restored Multi-column) --- */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  text-align: left;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--text-sub);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

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

/* --- Article Detail Pages --- */
.article-container {
  max-width: 1000px;
  margin: 40px auto 100px;
  padding: 60px;
}

.article-header {
  position: static !important;
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 40px;
  display: block !important;
  clear: both;
}

.col-tag {
  display: inline-block;
  background: rgba(255, 106, 0, 0.1);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 25px; /* 下部との距離を確保 */
}

.article-header h1 {
  font-size: 2.3rem; /* 長いタイトルに対応するため少し小さく調整 */
  color: #fff;
  line-height: 1.4; /* 行間を広げて重なりを防止 */
  margin-bottom: 25px; /* メタ情報との距離を確保 */
  text-transform: none; /* 日本語タイトルはそのまま */
}

.article-meta {
  color: var(--text-sub);
  font-size: 0.9rem;
  display: block; /* 明示的にブロック化 */
}

.article-content h2 {
  font-size: 1.75rem;
  color: #fff;
  margin: 50px 0 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.article-content h3 {
  font-size: 1.35rem;
  color: #fff;
  margin: 35px 0 20px;
  padding-left: 15px;
  border-left: 4px solid var(--primary-color);
}

.article-content p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.9;
}

.article-content ul, .article-content ol {
  margin: 25px 0 25px 25px;
}

.article-content li {
  margin-bottom: 12px;
}

.article-cta {
  background: rgba(255, 106, 0, 0.05);
  border: 1px solid rgba(255, 106, 0, 0.1);
  padding: 50px;
  text-align: center;
  border-radius: 24px;
  margin-top: 60px;
}

.article-cta h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}

/* News List specific */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary-color);
}

.info-item .date {
  color: var(--primary-color);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.info-item h4 {
  margin-bottom: 15px;
  color: #fff;
}

.analysis {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Comparison Table (Premium Version) --- */
.comparison-scroll {
  overflow-x: auto;
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.table-premium {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 900px;
}

.table-premium th {
  background: rgba(255, 106, 0, 0.05);
  color: var(--primary-color);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 25px 20px;
  border-bottom: 2px solid rgba(255, 106, 0, 0.2);
  text-align: left;
}

.table-premium th:first-child { border-radius: 24px 0 0 0; text-align: center; }
.table-premium th:last-child { border-radius: 0 24px 0 0; text-align: center; }

.table-premium td {
  padding: 22px 20px;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  text-align: left;
}

.table-premium tr:last-child td {
  border-bottom: none;
}

.table-premium tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.table-premium .rank-col {
  width: 60px;
  text-align: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.table-premium .cta-col {
  text-align: center;
  width: 180px;
}

/* Rank Badges in Table */
.rank-badge {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
}

.rank-1 { background: linear-gradient(135deg, #FFD700, #B8860B); color: #000; box-shadow: 0 0 15px rgba(255, 215, 0, 0.3); }
.rank-2 { background: linear-gradient(135deg, #E0E0E0, #757575); color: #000; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #8B4513); color: #fff; }
.rank-other { background: rgba(255,255,255,0.1); color: var(--text-sub); }

/* Table Buttons */
.table-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 140px;
}

.table-btn.primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.2);
}

.table-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.status-badge.disabled {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-sub);
  cursor: default;
}

/* Responsive Table Adjustments */
@media (max-width: 768px) {
  .subpage-header h1 {
    font-size: 2rem;
  }
  .table-premium th, .table-premium td {
    padding: 15px 12px;
  }
}

/* --- Market Trend Dashboard --- */
.trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.trend-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s;
}

.trend-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }

.trend-label { font-size: 0.85rem; color: var(--text-sub); }
.trend-model { font-size: 1.1rem; font-weight: 700; color: #fff; }
.trend-stats { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }

.trend-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  font-size: 0.9rem;
}

.trend-up { color: #28a745; }
.trend-down { color: #dc3545; }

/* --- Ranking Navigation & Filters --- */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}

.ranking-card.hidden { display: none; }

/* --- Preparation Wizard --- */
.wizard-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  max-width: 800px;
  margin: 40px auto;
}

.wizard-step { display: none; animation: fadeIn 0.4s; }
.wizard-step.active { display: block; }

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.option-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}

.option-card:hover, .option-card.selected {
  border-color: var(--primary-color);
  background: rgba(255, 106, 0, 0.1);
}

/* --- Next Bike Suggestions --- */
.suggest-box {
  background: rgba(255, 106, 0, 0.05);
  border: 1px dashed var(--primary-color);
  border-radius: 20px;
  padding: 30px;
  margin-top: 40px;
  display: none; /* 初期は非表示 */
}

.suggest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.suggest-card {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}

.suggest-card img { width: 100%; border-radius: 8px; margin-bottom: 10px; }
.suggest-bike-name { font-size: 0.9rem; font-weight: 700; color: #fff; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Live Pulse Indicator --- */
.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(0, 212, 255, 0.4);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 212, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

/* --- Social Proof Toast --- */
#social-proof-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 2000;
  pointer-events: none;
}

.toast-notif {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateX(-120%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto;
}

.toast-notif.active { transform: translateX(0); }

.toast-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.toast-content { font-size: 0.85rem; line-height: 1.4; color: #fff; }
.toast-content strong { color: var(--accent-color); }

/* --- Negotiation FAB --- */
.negotiation-fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1500;
  background: var(--accent-color);
  color: #000;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.1;
}

.negotiation-fab:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

.negotiation-fab .icon { font-size: 1.5rem; margin-bottom: 2px; }

/* --- Professional Article Layout (Premium Overhaul) --- */
.reading-progress-container {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 999;
}

.reading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  width: 0%;
  transition: width 0.1s ease;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
  }
}

.article-main-column {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .article-main-column {
    padding: 30px 20px;
  }
}

/* Sticky Sidebar Content */
.article-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Table of Contents */
.toc-list {
  list-style: none;
  padding: 0;
}

.toc-list li {
  margin-bottom: 12px;
}

.toc-list a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: block;
}

.toc-list a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.toc-list .toc-h3 {
  padding-left: 15px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Author Profile */
.author-profile-mini {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.author-info-mini h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.author-info-mini p {
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.4;
}

/* Enhanced Prose */
.prose-premium .lead-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.6;
}

.prose-premium blockquote {
  background: rgba(0, 212, 255, 0.05);
  border-left: 5px solid var(--accent-color);
  padding: 30px;
  border-radius: 0 20px 20px 0;
  margin: 40px 0;
}

.prose-premium h2 {
  font-size: 2rem;
  color: #fff;
  margin: 60px 0 30px;
  position: relative;
  padding-bottom: 15px;
}

.prose-premium h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
}

.prose-premium h3 {
  font-size: 1.5rem;
  color: #fff;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.prose-premium h3::before {
  content: "●";
  color: var(--primary-color);
  font-size: 0.8rem;
}

/* --- Content Tables (Bordered) --- */
.prose-premium .comparison-table-wrapper {
  overflow-x: auto;
  margin: 40px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prose-premium table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  font-size: 1rem;
}

.prose-premium th, 
.prose-premium td {
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.prose-premium th {
  background: rgba(255, 106, 0, 0.15) !important;
  color: var(--primary-color) !important;
  font-weight: 800;
  border-bottom: 2px solid var(--primary-color);
}

.prose-premium tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.prose-premium tr:hover td {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .negotiation-fab {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    font-size: 0.7rem;
  }
}

/* Responsive Table Adjustments */
@media (max-width: 1024px) {
  /* Site Header */
  body > header {
    height: 70px;
    padding: 10px 0;
  }

  .nav-toggle {
    display: block;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    z-index: 1001;
  }

  .nav-toggle:hover {
    color: var(--primary-color);
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    display: block;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .btn-primary {
    padding: 15px 30px;
    font-size: 1rem;
  }

  /* Article Layout */
  .article-container {
    padding: 15px;
    margin-top: 20px;
  }

  .article-header h1 {
    font-size: 1.8rem;
  }

  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-main-column {
    padding: 25px 15px;
    border-radius: 20px;
  }

  .prose-premium h2 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
  }

  .prose-premium h3 {
    font-size: 1.25rem;
  }

  .prose-premium .lead-text {
    font-size: 1.1rem;
  }

  .prose-premium blockquote {
    padding: 20px;
    font-size: 0.95rem;
  }

  /* Responsive Grids */
  .responsive-grid-2, .faq-grid-preview {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

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

  .option-grid {
    grid-template-columns: 1fr;
  }

  .suggest-grid {
    grid-template-columns: 1fr;
  }

  .trend-grid {
    grid-template-columns: 1fr;
  }

  /* Utils */
  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .glass-card {
    padding: 20px;
  }

  .comparison-scroll {
    margin: 0 -20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* 読了プログレスバーの微調整 */
@media (max-width: 768px) {
  .reading-progress-container {
    top: 70px;
  }
}

/* Custom Grids specifically for index.html layouts */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.faq-grid-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
