/* ========================================================
   行政書士開業キット ミニサイト 共通CSS
   lp.well-c.biz/gkc/
   hojokin.well-c.biz を下敷きに、開業キットのトーンへ調整
   ======================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  margin: 0;
  background: #f5f7fa;
  color: #1a1a1a;
  line-height: 1.85;
  font-size: 16px;
}
a { color: #1a3a5c; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ========= ナビゲーション ========= */
.site-nav {
  background: #122a44;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.site-nav .nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-nav .nav-logo {
  color: white;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.site-nav .nav-logo:hover { opacity: 0.85; }
.site-nav .nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
  align-items: center;
}
.site-nav .nav-links li { margin: 0; }
.site-nav .nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 0;
  transition: color 0.2s;
}
.site-nav .nav-links a:hover { color: white; }
.site-nav .nav-cta {
  background: #d35400;
  color: white !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s;
}
.site-nav .nav-cta:hover { background: #b34700; }

/* ========= ヒーロー ========= */
header.site-hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 60%, #1a3a5c 100%);
  color: white;
  padding: 72px 0 60px;
}
header.site-hero .hero-badge {
  display: inline-block;
  background: rgba(211,84,0,0.95);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
header.site-hero h1 {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
header.site-hero .lead {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.95;
  max-width: 860px;
}
header.site-hero .lead-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.82;
  max-width: 860px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-cta-row a {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-cta-row .cta-primary {
  background: #d35400;
  color: white;
}
.hero-cta-row .cta-primary:hover { background: #b34700; transform: translateY(-1px); }
.hero-cta-row .cta-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.hero-cta-row .cta-secondary:hover { background: rgba(255,255,255,0.2); }

/* ========= セクション共通 ========= */
main { padding-bottom: 20px; }
.section { margin: 56px 0; }
.section-title {
  color: #1a3a5c;
  font-size: 22px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a3a5c;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.01em;
}
.section-note {
  color: #555;
  font-size: 14px;
  margin: 0 0 22px;
}
.section-badge {
  background: #d35400;
  color: white;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ========= キット概要カード ========= */
.kit-overview {
  background: white;
  padding: 32px 32px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(26,58,92,0.08);
}
.kit-overview .kit-lead {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 22px;
  color: #333;
}
.kit-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 0;
}
.kit-stat {
  background: #f5f7fa;
  border: 1px solid #e4e9ef;
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
}
.kit-stat .num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #1a3a5c;
  line-height: 1.2;
}
.kit-stat .label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ========= カテゴリナビ（トップ） ========= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.category-card {
  background: white;
  border: 1px solid #e4e9ef;
  border-radius: 10px;
  padding: 26px 24px;
  text-decoration: none;
  color: #1a1a1a;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: block;
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,58,92,0.12);
  border-color: #1a3a5c;
}
.category-card .cat-no {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #d35400;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.category-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #1a3a5c;
  font-weight: 700;
  line-height: 1.5;
}
.category-card p {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.75;
}

/* ========= 記事カードグリッド ========= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-card {
  background: white;
  border: 1px solid #e4e9ef;
  border-radius: 10px;
  padding: 24px 22px;
  text-decoration: none;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,58,92,0.12);
}
.article-card .cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: #eaf0f7;
  color: #1a3a5c;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
  align-self: flex-start;
  letter-spacing: 0.04em;
}
.article-card .cat-tag.cat-1 { background: #fff1e0; color: #d35400; }
.article-card .cat-tag.cat-2 { background: #e6f4ea; color: #1e7e34; }
.article-card .cat-tag.cat-3 { background: #e7edf7; color: #1a3a5c; }
.article-card .cat-tag.cat-4 { background: #f3e8ef; color: #8b1e5a; }
.article-card .cat-tag.cat-5 { background: #fff8e1; color: #8a6d1a; }
.article-card .cat-tag.cat-6 { background: #e8f1f5; color: #0f5a77; }
.article-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1.55;
}
.article-card p {
  margin: 0 0 14px;
  font-size: 13px;
  color: #555;
  line-height: 1.75;
  flex-grow: 1;
}
.article-card .read-more {
  font-size: 12px;
  color: #d35400;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ========= CTAセクション ========= */
.cta-section {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
  color: white;
  padding: 56px 32px;
  border-radius: 10px;
  text-align: center;
  margin: 64px 0;
}
.cta-section h2 {
  margin: 0 0 14px;
  font-size: 24px;
  color: white;
  border: none;
  padding: 0;
  display: block;
  line-height: 1.5;
}
.cta-section p {
  margin: 0 0 28px;
  opacity: 0.94;
  font-size: 15px;
  line-height: 1.85;
}
.cta-button {
  display: inline-block;
  background: #d35400;
  color: white;
  padding: 18px 44px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.cta-button:hover { background: #b34700; transform: translateY(-2px); }

/* ========= 記事本文（個別ページ） ========= */
header.article-head {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
  color: white;
  padding: 56px 0 40px;
}
header.article-head .meta {
  font-size: 12px;
  opacity: 0.85;
  margin: 0 0 10px;
  letter-spacing: 0.06em;
}
header.article-head h1 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.55;
}
header.article-head .subtitle {
  margin: 0;
  font-size: 15px;
  color: #ffd49a;
  line-height: 1.8;
}
header.article-head .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
header.article-head .tag {
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
main.article {
  background: white;
  padding: 48px 52px;
  margin: -20px auto 40px;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(26,58,92,0.08);
  max-width: 760px;
}
main.article .lead {
  font-size: 15px;
  line-height: 2.0;
  margin: 0 0 32px;
  padding: 18px 22px;
  background: #f5f7fa;
  border-left: 4px solid #d35400;
  color: #333;
}
main.article h2 {
  font-size: 21px;
  color: #1a3a5c;
  margin: 44px 0 18px;
  padding: 0 0 10px;
  border-bottom: 2px solid #e4e9ef;
  line-height: 1.5;
}
main.article h3 {
  font-size: 17px;
  color: #1a3a5c;
  margin: 32px 0 14px;
  line-height: 1.55;
}
main.article p {
  margin: 0 0 18px;
  text-align: left;
}
main.article ul, main.article ol {
  padding-left: 1.4em;
  margin: 0 0 22px;
}
main.article li {
  margin-bottom: 10px;
  line-height: 1.85;
}
main.article .info-box {
  background: #fafbfc;
  border: 1px solid #e4e9ef;
  border-radius: 8px;
  padding: 20px 26px;
  margin: 24px 0;
}
main.article .info-box h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #1a3a5c;
  font-weight: 700;
}
main.article .info-box ul { margin: 0; }
main.article .checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
main.article .checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.85;
}
main.article .checklist li::before {
  content: "◼︎";
  position: absolute;
  left: 0;
  top: 0;
  color: #d35400;
  font-size: 14px;
  font-weight: 700;
}
main.article .article-cta {
  margin: 44px 0 0;
  padding: 34px 32px;
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
  border-radius: 10px;
  text-align: center;
  color: white;
}
main.article .article-cta h3 {
  color: white;
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.55;
  border: none;
  padding: 0;
}
main.article .article-cta p {
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 22px;
  text-align: center;
}
main.article .article-cta .cta-btn {
  display: inline-block;
  background: #d35400;
  color: white;
  padding: 15px 36px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
main.article .article-cta .cta-btn:hover {
  background: #b34700;
  transform: translateY(-2px);
}
main.article .article-cta .cta-note {
  font-size: 12px;
  opacity: 0.78;
  margin-top: 14px;
}
main.article .related {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e4e9ef;
}
main.article .related h4 {
  font-size: 14px;
  color: #1a3a5c;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
main.article .related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
main.article .related li {
  padding: 10px 0;
  border-bottom: 1px dashed #e4e9ef;
}
main.article .related a {
  color: #1a3a5c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
main.article .related a:hover { color: #d35400; }
.back-link {
  display: inline-block;
  margin: 28px 0 0;
  color: #1a3a5c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.back-link:hover { text-decoration: underline; }

/* ========= フッター ========= */
footer.site {
  background: #1a1a1a;
  color: #999;
  padding: 40px 0;
  margin-top: 60px;
  font-size: 13px;
  text-align: center;
}
footer.site .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
footer.site a { color: #ccc; }
footer.site p { margin: 6px 0; }
footer.site .footer-company {
  margin: 18px auto 14px;
  padding: 16px 20px;
  max-width: 560px;
  background: #222;
  border: 1px solid #333;
  border-radius: 6px;
  text-align: left;
}
footer.site .footer-company h3 {
  margin: 0 0 10px;
  color: #eee;
  font-size: 13px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #333;
  padding-bottom: 6px;
}
footer.site .footer-company dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: 12px;
}
footer.site .footer-company dt { color: #888; }
footer.site .footer-company dd { margin: 0; color: #ccc; }
footer.site .footer-company a { color: #7bb3ff; }
footer.site .footer-legal { margin-top: 18px; font-size: 12px; }
footer.site .footer-legal a { color: #7bb3ff; margin: 0 8px; }

/* ========= レスポンシブ ========= */
@media (max-width: 960px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .kit-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .site-nav .nav-inner { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .site-nav .nav-logo { font-size: 14px; flex-basis: 100%; text-align: center; }
  .site-nav .nav-links { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .site-nav .nav-links a { font-size: 13px; padding: 6px 0; }
  .site-nav .nav-cta { padding: 8px 14px !important; font-size: 13px; }
  header.site-hero { padding: 48px 0 40px; }
  header.site-hero h1 { font-size: 22px; }
  header.site-hero .lead { font-size: 14px; }
  .section { margin: 40px 0; }
  .section-title { font-size: 18px; }
  .kit-overview { padding: 24px 20px; }
  .category-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 40px 22px; }
  .cta-section h2 { font-size: 20px; }
  .cta-button { padding: 15px 32px; font-size: 15px; }
  main.article { padding: 32px 22px; }
  main.article h2 { font-size: 19px; }
  header.article-head { padding: 40px 0 30px; }
  header.article-head h1 { font-size: 22px; }
  footer.site .footer-company dl { grid-template-columns: 1fr; gap: 4px 0; }
  footer.site .footer-company dt { margin-top: 8px; }
}
