/* ===== AI入門ガイド・サイト紹介 共通スタイル ===== */

/* ── ヒーロー ── */
.guide-hero {
  background: linear-gradient(135deg, #065f46 0%, #0284c7 100%);
  color: white;
  padding: 48px 20px 56px;
  text-align: center;
}

.guide-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.guide-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 13px;
  margin-bottom: 16px;
}

.guide-hero h1 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.3;
}

.guide-hero p {
  font-size: 15px;
  opacity: 0.88;
  line-height: 1.7;
}

/* ── セクション ── */
.guide-section {
  margin: 48px 0;
}

.guide-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.guide-section-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.guide-section-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

/* ── 3ポイントカード ── */
.guide-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.guide-point-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.guide-point-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.guide-point-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.guide-point-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── AIサービスカード ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.service-logo {
  font-size: 36px;
  margin-bottom: 10px;
}

.service-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.service-maker {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.service-tag {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 4px;
  margin-bottom: 4px;
}

/* ── 用語リスト ── */
.term-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.term-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
}

.term-word {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.term-ruby {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-left: 8px;
}

.term-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 注意・ヒントボックス ── */
.guide-caution {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.guide-caution-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-caution-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: #9a3412;
  margin-bottom: 4px;
}

.guide-caution-body p {
  font-size: 13px;
  color: #7c2d12;
  line-height: 1.6;
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
  .guide-caution {
    background: rgba(251,146,60,0.08);
    border-color: rgba(251,146,60,0.25);
  }
  .guide-caution-body h4 { color: #fb923c; }
  .guide-caution-body p  { color: #fdba74; }
}

/* ── CTAバナー ── */
.guide-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  color: white;
  margin: 48px 0;
}

.guide-cta h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}

.guide-cta p {
  font-size: 14px;
  opacity: 0.88;
  margin-bottom: 20px;
  line-height: 1.6;
}

.guide-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.guide-cta-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.guide-cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.guide-cta-btn.primary {
  background: white;
  color: #1e3a8a;
}

.guide-cta-btn.secondary {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
}

/* ===== このサイトについて ===== */
.about-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0891b2 100%);
  color: white;
  padding: 48px 20px 56px;
  text-align: center;
}

.about-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.about-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 13px;
  margin-bottom: 16px;
}

.about-hero h1 {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 900;
  margin-bottom: 10px;
}

.about-hero p {
  font-size: 15px;
  opacity: 0.88;
  line-height: 1.7;
}

.about-section {
  margin: 40px 0;
  max-width: 720px;
}

.about-section h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.about-section p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-policy-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.about-policy-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}

.about-policy-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.about-policy-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.about-policy-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.about-disclaimer {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
  .guide-points      { grid-template-columns: 1fr; }
  .service-grid      { grid-template-columns: 1fr 1fr; }
  .guide-cta         { padding: 24px 16px; }
}

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