/* ============================================
   super-sakibarai.com - スタイルシート
   カラー: ブルー×ホワイト（信頼感・クリーン）
   デザイン: モバイルファースト・カード型UI
   ============================================ */

/* --- リセット & ベース --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-primary: #1A73E8;
  --blue-dark: #1557B0;
  --blue-light: #E8F0FE;
  --accent: #FF6D3F;
  --accent-hover: #E55A2D;
  --gold: #F5A623;
  --text: #1F2937;
  --text-light: #6B7280;
  --bg: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Noto Sans JP', 'BIZ UDPGothic', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 800px; margin: 0 auto; padding: 0 16px; }

a { color: var(--blue-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }

/* --- ヘッダー --- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.logo:hover { color: var(--text); }
.logo-icon { font-size: 1.4rem; }
.logo-accent { color: var(--blue-primary); }

.nav-desktop { display: none; gap: 24px; }
.nav-desktop a { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }
.nav-desktop a:hover { color: var(--blue-primary); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 16px 16px;
  gap: 12px;
}
.nav-mobile.active { display: flex; }
.nav-mobile a {
  color: var(--text);
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
}

/* --- ヒーロー --- */
.hero {
  background: linear-gradient(135deg, var(--blue-primary) 0%, #4A90D9 100%);
  color: var(--white);
  text-align: center;
  padding: 48px 16px 56px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .hero { padding: 64px 16px 72px; }
  .hero h1 { font-size: 2.4rem; }
}

/* --- 結論ボックス --- */
.summary-box { padding: 32px 0 0; }

.summary-card {
  background: var(--blue-light);
  border: 2px solid var(--blue-primary);
  border-radius: var(--radius);
  padding: 24px;
}

.summary-card h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--blue-dark);
}

.summary-list {
  list-style: none;
  counter-reset: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}

.summary-list li {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- 評価基準 --- */
.criteria { padding: 40px 0; }
.criteria h2 { font-size: 1.3rem; margin-bottom: 8px; }
.criteria > .container > p { color: var(--text-light); margin-bottom: 20px; font-size: 0.9rem; }

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.criteria-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.criteria-icon { font-size: 1.6rem; margin-bottom: 8px; }
.criteria-item h3 { font-size: 0.85rem; margin-bottom: 4px; }
.criteria-item p { font-size: 0.75rem; color: var(--text-light); margin-bottom: 8px; }
.criteria-score {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-primary);
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.disclaimer { font-size: 0.75rem; color: var(--text-light); margin-top: 16px; }

@media (min-width: 768px) {
  .criteria-grid { grid-template-columns: repeat(5, 1fr); }
}

/* --- 掲載基準 --- */
.listing-criteria { padding: 24px 0; }
.listing-criteria h2 { font-size: 1.2rem; margin-bottom: 8px; }
.listing-criteria > .container > p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; }

.criteria-checklist {
  list-style: none;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.criteria-checklist li {
  padding: 12px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.criteria-checklist li:last-child { border-bottom: none; }

/* --- AI質問セクション --- */
.ai-questions { padding: 24px 0 32px; }
.ai-questions h2 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
  color: var(--blue-dark);
}
.ai-questions h2:first-child { margin-top: 0; }
.ai-questions p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- ランキングカード --- */
.ranking { padding: 40px 0; }
.ranking h2 { font-size: 1.3rem; margin-bottom: 24px; }

.rank-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}
.rank-card:hover { box-shadow: var(--shadow-lg); }

.rank-1 { border: 2px solid var(--gold); }
.rank-1 .rank-badge { background: linear-gradient(135deg, #F5A623, #F7C948); }
.rank-2 .rank-badge { background: linear-gradient(135deg, #9CA3AF, #D1D5DB); }
.rank-3 .rank-badge { background: linear-gradient(135deg, #CD7F32, #DDA15E); }

.rank-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 8px 16px;
  color: var(--white);
  font-weight: 800;
}
.rank-number { font-size: 1.6rem; }
.rank-label { font-size: 0.8rem; }

.rank-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 0;
  flex-wrap: wrap;
}
.rank-header h3 { font-size: 1.2rem; }

.rank-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--blue-light);
  color: var(--blue-primary);
}
.rank-tag.best {
  background: linear-gradient(135deg, var(--accent), #FF8F6B);
  color: var(--white);
}

.rank-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 16px 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spec {
  background: var(--white);
  padding: 12px;
  text-align: center;
}
.spec-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  margin-bottom: 4px;
}
.spec-value {
  font-size: 1rem;
  font-weight: 700;
}
.spec-value.highlight { color: var(--accent); font-size: 1.1rem; }

@media (min-width: 768px) {
  .rank-specs { grid-template-columns: repeat(4, 1fr); }
}

.rank-body { padding: 0 20px 16px; }
.rank-body h4 { font-size: 1rem; margin-bottom: 8px; color: var(--blue-dark); }
.rank-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; }

.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.feature-list li { font-size: 0.88rem; }

.company-info {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 4px;
}
.company-info h5 { font-size: 0.85rem; margin-bottom: 8px; }
.company-info ul { list-style: none; padding: 0; }
.company-info li { font-size: 0.8rem; color: var(--text-light); line-height: 1.8; }

.rank-cta {
  display: block;
  text-align: center;
  background: var(--blue-primary);
  color: var(--white);
  padding: 16px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s;
}
.rank-cta:hover { background: var(--blue-dark); color: var(--white); }

.rank-1 .rank-cta { background: var(--accent); }
.rank-1 .rank-cta:hover { background: var(--accent-hover); }

/* --- ガイドセクション --- */
.guide-section {
  padding: 40px 0;
  background: var(--white);
}
.guide-section h2 { font-size: 1.3rem; margin-bottom: 16px; }
.guide-section h3 { font-size: 1.05rem; margin: 20px 0 8px; color: var(--blue-dark); }

.guide-content p { font-size: 0.9rem; color: var(--text-light); }
.guide-content ul, .guide-content ol {
  padding-left: 20px;
  margin: 8px 0;
}
.guide-content li {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-light);
}

.guide-steps { counter-reset: step; list-style: none; padding: 0; }
.guide-steps li {
  padding: 12px 0 12px 48px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.guide-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  background: var(--blue-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- FAQ --- */
.faq-section { padding: 40px 0; }
.faq-section h2 { font-size: 1.3rem; margin-bottom: 16px; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: '＋'; font-size: 1.2rem; color: var(--blue-primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 16px 16px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- 注意喚起 --- */
.warning-section { padding: 0 0 40px; }

.warning-box {
  background: #FEF3CD;
  border: 1px solid #F0D78C;
  border-radius: var(--radius-sm);
  padding: 20px;
}
.warning-box h3 { font-size: 0.95rem; margin-bottom: 8px; }
.warning-box p { font-size: 0.85rem; color: #856404; }

/* --- フッター --- */
.footer {
  background: #1F2937;
  color: #9CA3AF;
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #9CA3AF; font-size: 0.85rem; }
.footer-col a:hover { color: var(--white); }

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  padding-top: 24px;
  border-top: 1px solid #374151;
}
