/*
Theme Name: Kobe-Kita Gyoseishoshi
Theme URI: https://kobekita-gyoseishoshi.local/
Author: Kobe-Kita Gyoseishoshi Office
Author URI: https://kobekita-gyoseishoshi.local/
Description: 神戸北行政書士事務所 公式テーマ。SEO 特化・Vanilla CSS・拡張可能なテンプレ構造。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kobekita
*/

p.intro-headline.reveal.is-visible {
    font-size: 23px;
    line-height: 1.5;
}

.single-article li {
    list-style: disc;
}

.entry-content-inner {
    line-height: 1.9;
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.entry-content-inner h2 {
    font-size: 1.6rem;
    color: #0A1A33;
    border-left: 5px solid #9C824A;
    padding: 12px 0 12px 20px;
    margin: 60px 0 30px;
    background-color: #FAF9F6;
}
.entry-content-inner h3 {
    font-size: 1.3rem;
    color: #0A1A33;
    border-bottom: 1px solid #9C824A;
    padding-bottom: 8px;
    margin: 40px 0 20px;
}
.entry-content-inner .critical-box {
    background-color: #fff5f5;
    border: 2px solid #D32F2F;
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
}
.entry-content-inner .critical-box strong {
    color: #D32F2F;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}
.entry-content-inner .filter-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-top: 2px solid #0A1A33;
}
.entry-content-inner .filter-table th {
    background-color: #0A1A33;
    color: #ffffff;
    padding: 15px;
    width: 30%;
    text-align: left;
}
.entry-content-inner .filter-table td {
    padding: 15px;
    border-bottom: 1px solid #E0E0E0;
    background-color: #fff;
}
.entry-content-inner .money-info {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.entry-content-inner .money-card {
    flex: 1;
    min-width: 200px;
    background: #f0f4f8;
    padding: 20px;
    text-align: center;
    border: 1px solid #d1d9e6;
}
.entry-content-inner .money-card span {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0A1A33;
    margin-top: 10px;
}
.entry-content-inner .step-list {
    background: #FAF9F6;
    padding: 30px;
    border: 1px solid #9C824A;
    margin: 24px 0;
}

.wp-article ol li {
    list-style: none;
}
/* ===== Mobile (<= 767px) entry content overrides ===== */
@media (max-width: 767px) {
  .entry-content-inner .cta-section {
    padding: 20px;
    margin-top: 40px;
  }
  .entry-content-inner h2 {
    font-size: 18px;
    padding: 12px 14px;
    text-align: left;
    margin-top: 20px;
  }
}

/* ============================================================
   内部リンク：警告ボックス・関連記事カード・比較リンク
   ============================================================ */

/* 警告：無資格コンサル */
.entry-content .warning-callout {
  background: #fff5f5;
  border: 2px solid #c14242;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.entry-content .warning-callout .wc-icon {
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
  color: #c14242;
}
.entry-content .warning-callout .wc-body { flex: 1 1 auto; }
.entry-content .warning-callout .wc-title {
  font-weight: 800;
  color: #c14242;
  font-size: 17px;
  margin: 0 0 6px;
}
.entry-content .warning-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}
.entry-content .warning-callout a {
  color: #c14242;
  font-weight: 700;
  text-decoration: underline;
}

/* 関連記事カード */
.entry-content .related-posts {
  margin: 40px 0 24px;
  padding: 24px;
  background: #f4f6fb;
  border-radius: 12px;
}
.entry-content .related-posts h3 {
  margin: 0 0 18px;
  padding: 0;
  font-size: 18px;
  color: #0f1d33;
  border: none;
  letter-spacing: 0.02em;
}
.entry-content .related-posts h3::before { content: "🔗 "; }
.entry-content .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.entry-content .related-card {
  display: block;
  background: #ffffff;
  border: 1px solid #d6dde8;
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  color: #0f1d33;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.entry-content .related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15,29,51,0.08);
  border-color: #b9c4d4;
}
.entry-content .related-card .rc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #c47a00;
  background: #fff4e0;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.entry-content .related-card .rc-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 600px) {
  .entry-content .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .entry-content .related-posts { padding: 18px; margin: 32px 0 20px; }
  .entry-content .related-posts h3 { font-size: 16px; }
  .entry-content .related-card { padding: 14px 16px; }
  .entry-content .related-card .rc-title { font-size: 14px; }
  .entry-content .warning-callout { padding: 16px 18px; gap: 12px; }
  .entry-content .warning-callout .wc-title { font-size: 15px; }
  .entry-content .warning-callout p { font-size: 14px; }
}

/* 助成金比較インラインリンク */
.entry-content .compare-links {
  background: #f0f6ff;
  border-left: 4px solid #0f3a6e;
  padding: 14px 18px;
  margin: 24px 0;
  border-radius: 6px;
  font-size: 15px;
}
.entry-content .compare-links strong {
  display: block;
  color: #0f3a6e;
  margin-bottom: 6px;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.entry-content .compare-links a {
  color: #0f3a6e;
  font-weight: 700;
  text-decoration: underline;
}
