/*
Theme Name: CNC Consulting Theme
Theme URI:  https://cncconsulting.pro/
Author:      CNC Consulting
Description: CNCコンサルティング公式サイト用の固定トップ（コーポレート）テーマ
Version:     1.1.0
License:     GNU General Public License v2 or later
Text Domain: cnc-consulting
*/

/* ---- Base styles (from sample) ---- */
/* シンプルで読みやすいスタイル（カスタム可） */
    :root{--accent:#0b60a6;--muted:#666;--card-bg:#f8f9fb;font-family:system-ui,-apple-system,Segoe UI,Roboto,"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}
    body{margin:0;color:#111;background:#fff;line-height:1.6}
    header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #eee}
    .brand{display:flex;align-items:center;gap:12px}
    .brand h1{margin:0;font-size:1.05rem}
    nav a{margin-left:18px;color:var(--muted);text-decoration:none}
    .hero{padding:48px 20px;text-align:center;background:linear-gradient(180deg,#ffffff00,#f7fbff)}
    .hero h2{font-size:1.8rem;margin:10px 0;color:var(--accent)}
    .hero p{max-width:820px;margin:0 auto 20px;color:var(--muted)}
    .cta{display:inline-block;padding:12px 20px;border-radius:8px;background:var(--accent);color:#fff;text-decoration:none}
    .services{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;padding:28px;max-width:1100px;margin:0 auto}
    .card{background:var(--card-bg);padding:18px;border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,0.04)}
    .card h3{margin:0 0 8px;color:#0b3f6b}
    .about, .contact{max-width:900px;margin:28px auto;padding:18px}
    footer{padding:18px;text-align:center;color:var(--muted);border-top:1px solid #eee}
    @media (min-width:900px){ .hero h2{font-size:2.4rem}}

/* WP menu list reset (wp_nav_menu) */
nav .menu, nav .menu ul {
  list-style:none; margin:0; padding:0;
}
nav .menu {
  display:flex; flex-wrap:wrap; gap:18px;
}
nav .menu a {
  color: var(--muted);
  text-decoration:none;
}
nav .menu a:hover {
  text-decoration:underline;
}

/* Make custom logo fit */
.custom-logo-link img {
  height:44px; width:auto;
}
/* Topics */
.topics{
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 20px;
}
.topics h2{
  font-size: 32px;
  margin: 0 0 18px;
}
.topics a{
  text-decoration: none;
}
.topics a:hover{
  text-decoration: underline;
}
/* Topics block */
.topics{
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 20px;
}

.topics h2{
  font-size: 32px;
  margin-bottom: 24px;
}

.topic-item{
  border-bottom: 1px solid #e5e5e5;
  padding: 14px 0;
}

.topic-date{
  font-weight: 700;
  color: #333;
  display: block;
  margin-bottom: 6px;
}

.topic-link{
  font-size: 18px;
  text-decoration: none;
}

.topic-link:hover{
  text-decoration: underline;
}

.new-badge{
  background:#e60023;
  color:#fff;
  font-size:12px;
  padding:2px 8px;
  border-radius:999px;
  margin-right:8px;
}
