/* ===== 共通スタイル takunow.com ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #111111;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #e8e8e8;
  --gray-text: #555555;
  --accent: #111111;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ===== SITE NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.site-nav .nav-logo {
  font-weight: 900;
  font-size: 18px;
  color: #111;
  text-decoration: none;
}
.site-nav .nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.site-nav .nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: color .2s;
}
.site-nav .nav-links a:hover { color: #111; }
.site-nav .nav-cta {
  background: #111;
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px !important;
}
@media (max-width: 620px) {
  .site-nav .nav-links { gap: 12px; }
  .site-nav .nav-links li.hide-sp { display: none; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 24px 0;
  font-size: 12px;
  color: #888;
}
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: #111; }
.breadcrumb span { margin: 0 6px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 40px 24px;
  font-size: 13px;
}
.site-footer a { color: #ccc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* ===== 記事ページ共通 ===== */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.article-wrap .article-label {
  display: inline-block;
  background: #f0f0f0;
  color: #555;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.article-wrap h1 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 12px;
}
.article-wrap .article-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}
.article-wrap h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 40px 0 12px;
  padding-left: 12px;
  border-left: 4px solid #111;
}
.article-wrap h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 8px;
}
.article-wrap p {
  font-size: 15px;
  color: #333;
  margin-bottom: 16px;
}
.article-wrap ul, .article-wrap ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.article-wrap li {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
}
.article-wrap .tip-box {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.article-wrap .tip-box p { margin: 0; }
.article-wrap .cta-inline {
  background: #111;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 32px 24px;
  margin: 48px 0 0;
}
.article-wrap .cta-inline a {
  display: inline-block;
  margin-top: 12px;
  background: #fff;
  color: #111;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

/* ===== 関連記事 ===== */
.related-articles {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 0 24px;
}
.related-articles h2 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.related-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  transition: box-shadow .2s;
}
.related-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.related-card .rc-label {
  font-size: 11px;
  color: #888;
  font-weight: 400;
  margin-bottom: 4px;
}

/* ===== ブログ一覧 ===== */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.blog-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.blog-card .card-label {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.blog-card h2 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 8px;
  border: none;
  padding: 0;
}
.blog-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ===== 固定ページ共通 ===== */
.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}
.page-wrap h1 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  margin-bottom: 32px;
}
.page-wrap h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 36px 0 10px;
  padding-left: 12px;
  border-left: 4px solid #111;
}
.page-wrap p {
  font-size: 15px;
  color: #333;
  margin-bottom: 14px;
  line-height: 1.8;
}
.page-wrap ul, .page-wrap ol {
  padding-left: 24px;
  margin-bottom: 14px;
}
.page-wrap li {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.info-table th {
  width: 140px;
  color: #555;
  font-weight: 700;
  white-space: nowrap;
}
