/*
Theme Name: CLTFX Child
Template: astra
Version: 1.0.0
Description: cltfx.jp用のAstra子テーマ（配色・ボタン・見出し・ヒーローのカスタムCSS）
*/

:root {
  --cltfx-primary: #2a78d6;
  --cltfx-accent: #17b6a6;
  --cltfx-ink: #10151c;
  --cltfx-sub: #52514e;
}

body, button, input, select, textarea {
  font-family: "Noto Sans JP", -apple-system, "Segoe UI", sans-serif !important;
}

/* 上部お知らせバー */
.cltfx-announce {
  background: linear-gradient(90deg, var(--cltfx-primary), var(--cltfx-accent));
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
}
.cltfx-announce a { color: #fff; text-decoration: none; }
.cltfx-announce a:hover { text-decoration: underline; }

/* ナビ最後の項目（ダッシュボード）をボタン風に */
.main-header-menu .menu-item:last-child > a,
nav.main-header-menu li:last-child > a {
  background: linear-gradient(90deg, var(--cltfx-primary), var(--cltfx-accent)) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; }

/* ヒーロー */
.cltfx-hero {
  position: relative;
  padding: 64px 24px 56px;
  text-align: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(42,120,214,0.10), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(23,182,166,0.14), transparent 55%),
    #fbfbfa;
  margin-bottom: 8px;
  overflow: hidden;
}
.cltfx-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  margin: 0 0 18px;
  color: var(--cltfx-ink);
}
.cltfx-hero p {
  font-size: 16px;
  color: var(--cltfx-sub);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.8;
}
.cltfx-hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cltfx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cltfx-btn:hover { transform: translateY(-2px); }
.cltfx-btn.primary {
  background: linear-gradient(90deg, var(--cltfx-primary), var(--cltfx-accent));
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(42,120,214,0.25);
}
.cltfx-btn.secondary {
  background: #fff;
  color: var(--cltfx-ink) !important;
  border: 1.5px solid rgba(11,11,11,0.12);
}

/* 特徴カード */
.cltfx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 40px 0;
}
.cltfx-card {
  background: #fff;
  border: 1px solid rgba(11,11,11,0.08);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 2px 10px rgba(11,11,11,0.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cltfx-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,11,11,0.08); }
.cltfx-card .emoji { font-size: 28px; margin-bottom: 10px; display: block; }
.cltfx-card h3 { font-size: 15.5px; margin: 0 0 6px; }
.cltfx-card p { font-size: 13.5px; color: var(--cltfx-sub); margin: 0; line-height: 1.7; }
