:root {
  --bg: #FAF6EE;
  --navy: #2B3A55;
  --coral: #E8927C;
  --coral-soft: #F6D7CC;
  --sage: #7FA98F;
  --sage-soft: #DCE8DF;
  --mustard: #F2C94C;
  --mustard-soft: #FBEEC9;
  --white: #FFFFFF;
  --line: #E4DCCB;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  background: var(--bg);
  color: var(--navy);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 500;
  line-height: 2;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
strong { color: var(--navy); font-weight: 900; }
.pc { display: inline; } .sp { display: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .92); backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--line);
}
.header-inner {
  max-width: 1040px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 22px; font-weight: 900; letter-spacing: .04em; }
.logo span { color: var(--coral); }
.gnav { display: flex; gap: 22px; font-weight: 700; font-size: 15px; }
.gnav a { padding: 4px 2px; border-bottom: 3px solid transparent; }
.gnav a:hover { border-bottom-color: var(--coral); }

/* ---------- 共通 ---------- */
main { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.sec-title {
  font-size: 30px; font-weight: 900; text-align: center; line-height: 1.6;
  margin-bottom: 34px; position: relative;
}
.sec-title::after {
  content: ""; display: block; width: 56px; height: 6px; border-radius: 3px;
  background: var(--coral); margin: 12px auto 0;
}
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

/* ---------- ボタン ---------- */
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn-primary, .btn-ghost {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 62px; padding: 12px 34px; border-radius: 999px;
  font-weight: 900; font-size: 17px; text-align: center; line-height: 1.5;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 4px 0 #C9765F; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #C9765F; }
.btn-ghost { background: var(--white); color: var(--navy); border: 3px solid var(--navy); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-note { display: block; font-size: 12px; font-weight: 700; opacity: .9; }

/* ---------- ヒーロー ---------- */
.hero { text-align: center; padding: 72px 0 56px; }
.hero-eyebrow {
  display: inline-block; background: var(--mustard-soft); color: var(--navy);
  font-weight: 900; font-size: 15px; padding: 6px 18px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: 44px; font-weight: 900; line-height: 1.6; margin-bottom: 22px; }
.hero-lead { max-width: 720px; margin: 0 auto; font-size: 16px; }

/* ---------- 共感 ---------- */
.pain { background: var(--white); border-radius: 24px; padding: 48px 36px; }
.pain-card {
  background: var(--bg); border: 2px dashed var(--line); border-radius: 16px;
  padding: 22px 20px; font-size: 15px; line-height: 1.9;
}
.pain-illust { display: block; margin-bottom: 12px; }
.pain-illust svg { width: 100%; height: auto; max-height: 150px; display: block; margin: 0 auto; }
.pain-answer { text-align: center; margin-top: 30px; font-size: 17px; }

/* ---------- 3本柱 ---------- */
.pillar-card {
  background: var(--white); border: 3px solid var(--navy); border-radius: 20px;
  padding: 26px 22px; display: block; transition: transform .15s, box-shadow .15s;
  box-shadow: 6px 6px 0 var(--coral-soft);
}
.pillar-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--coral-soft); }
.pillar-tag {
  display: inline-block; font-size: 12px; font-weight: 900; padding: 2px 12px;
  border-radius: 999px; margin-bottom: 10px;
}
.pillar-tag.free { background: var(--sage-soft); color: #3E6B52; }
.pillar-tag.paid { background: var(--coral-soft); color: #A85A44; }
.pillar-card h3 { font-size: 19px; font-weight: 900; margin-bottom: 8px; }
.pillar-card p { font-size: 14px; line-height: 1.9; }
.pillar-more { color: var(--coral); font-weight: 900; margin-top: 10px; }

/* ---------- 機能セクション ---------- */
.feature-head { text-align: center; }
.feature-eyebrow {
  display: inline-block; background: var(--sage-soft); color: #3E6B52;
  font-weight: 900; font-size: 14px; padding: 4px 16px; border-radius: 999px; margin-bottom: 12px;
}
.feature.alt { background: var(--white); border-radius: 24px; padding-left: 36px; padding-right: 36px; }
.feature-lead { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.feature-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: center; }
.feature-text .btn-primary { margin-top: 18px; }
.check-list { list-style: none; margin: 14px 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 8px; font-size: 15px; line-height: 1.8; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--sage); font-weight: 900; }
.small-note { font-size: 12.5px; color: #8A8272; }
.feature-visual { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.type-chip {
  background: var(--white); border: 2px solid var(--line); border-radius: 999px;
  padding: 10px 26px; font-weight: 900; box-shadow: 4px 4px 0 var(--sage-soft);
}
.type-chip:nth-child(even) { transform: rotate(2deg); }
.type-chip:nth-child(odd) { transform: rotate(-2deg); }

/* ---------- 記事カード ---------- */
.article-card {
  background: var(--bg); border: 2px solid var(--line); border-radius: 18px;
  padding: 24px 22px; display: block; transition: transform .15s;
}
.article-card:hover { transform: translateY(-3px); border-color: var(--coral); }
.article-label { color: var(--coral); font-weight: 900; font-size: 13px; margin-bottom: 6px; }
.article-card h3 { font-size: 17px; font-weight: 900; line-height: 1.7; margin-bottom: 8px; }
.article-desc { font-size: 14px; line-height: 1.9; }

/* ---------- 公開記事リンク集（2026-08-04 SEO/AIO強化） ---------- */
.article-links { max-width: 760px; margin: 26px auto 0; }
.article-links-title { font-weight: 900; font-size: 15px; margin-bottom: 10px; text-align: center; }
.article-links ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.article-links li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.8; }
.article-links li::before { content: "→"; position: absolute; left: 0; color: var(--coral); font-weight: 900; }
.article-links a { border-bottom: 1.5px dashed var(--line); }
.article-links a:hover { color: var(--coral); border-bottom-color: var(--coral); }
@media (max-width: 820px) { .article-links ul { grid-template-columns: 1fr; } }

/* ---------- 教材 ---------- */
.kyozai-box {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px;
  background: var(--white); border: 3px solid var(--navy); border-radius: 20px;
  padding: 30px 30px; box-shadow: 8px 8px 0 var(--mustard-soft);
}
.kyozai-col h3 { font-size: 17px; font-weight: 900; border-left: 6px solid var(--coral); padding-left: 10px; margin-bottom: 8px; }
.kyozai-price { margin-top: 16px; font-size: 15px; }
.kyozai-price strong { font-size: 24px; color: var(--coral); }

/* ---------- 作者（診断サイトの作成者カードと共通デザイン・2026-08-04） ---------- */
.author-card { background: var(--sage-soft); border-radius: 20px; padding: 26px; max-width: 760px; margin: 0 auto; }
.author-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.author-avatar { width: 64px; height: 64px; flex: 0 0 auto; }
.author-avatar svg { width: 100%; height: 100%; border-radius: 16px; }
.author-name { font-size: 19px; font-weight: 900; }
.author-tag { font-size: 12px; color: #5E8570; font-weight: 700; line-height: 1.5; }
.author-bio { font-size: 13.5px; margin-bottom: 14px; }
.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.link-card {
  display: block; background: var(--white); border-radius: 16px; padding: 16px;
  color: var(--navy); border: 1.5px solid var(--line); transition: transform .15s;
}
.link-card:hover { transform: translateY(-2px); }
.link-card-label { font-weight: 900; font-size: 14.5px; margin-bottom: 6px; }
.link-card-desc { font-size: 12.5px; font-weight: 500; line-height: 1.7; margin-bottom: 10px; }
.link-card-btn {
  display: inline-block; background: var(--coral); color: #fff;
  font-weight: 700; font-size: 13px; padding: 7px 16px; border-radius: 999px;
}
@media (max-width: 540px) { .link-cards { grid-template-columns: 1fr; } }

/* ---------- フッター ---------- */
.site-footer { border-top: 2px solid var(--line); margin-top: 40px; padding: 36px 20px 28px; text-align: center; }
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.footer-links a:hover { color: var(--coral); }
.footer-note { font-size: 12px; color: #8A8272; line-height: 1.9; max-width: 640px; margin: 0 auto 12px; }
.copyright { font-size: 13px; font-weight: 700; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 820px) {
  .pc { display: none; } .sp { display: inline; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 30px; }
  .sec-title { font-size: 24px; }
  .section { padding: 44px 0; }
  .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .feature-body { grid-template-columns: 1fr; }
  .feature-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .kyozai-box { grid-template-columns: 1fr; padding: 22px 18px; }
  .pain { padding: 34px 20px; }
  .feature.alt { padding-left: 20px; padding-right: 20px; }
  .author-card { padding: 20px 16px; }
  .gnav { gap: 14px; font-size: 13px; }
  .logo { font-size: 18px; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 420px; }
}

/* FAQ（2026-07-19 SEO/AIO対策で追加） */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 2px solid var(--line, #E5DCC9); border-radius: 14px; padding: 4px 22px; }
.faq-item summary { font-weight: 700; font-size: 16px; padding: 14px 0; cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::after { content: "＋"; position: absolute; right: 2px; top: 12px; color: var(--coral); font-weight: 900; }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { padding: 0 0 16px; line-height: 1.9; font-size: 15px; }
.about-line { max-width: 860px; margin: 40px auto 0; font-size: 13px; line-height: 1.9; color: #6B675C; text-align: center; }
