/* v6 Phase I: 内部12ページ共通 - page-banner(ミニHero帯) / article-body / legal / faq / 価格カード / 関連リンク
   base.cssのトークン(hero-preview.cssと共有する --green-text 等)をそのまま継承し、
   Heroから続く編集的(editorial)なトーンを保つ。絵文字カード・paw装飾・波形は使わない。 */

/* ---------- ページ上部バナー(全内部ページ共通のミニHero) ---------- */
.page-banner {
  background: var(--soft-green);
  padding: 56px 0 48px;
}
.page-banner .eyebrow-tag {
  background: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.page-banner h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.4;
  font-weight: 700;
  margin: 16px 0 14px;
  color: var(--green-text);
  letter-spacing: -0.01em;
}
.page-banner p.lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted-text);
  max-width: 640px;
  margin: 0;
}
.page-banner nav.breadcrumb {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 18px;
}
.page-banner nav.breadcrumb a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}
.page-banner nav.breadcrumb a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .page-banner { padding: 40px 0 32px; }
}

/* ---------- 記事本文 ---------- */
.article-body { padding: 56px 0 20px; }
.article-body .article-col { max-width: 720px; margin: 0 auto; }
.article-col h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--green-text);
  margin: 48px 0 16px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.article-col h2:first-child { border-top: none; margin-top: 0; }
.article-col h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-green);
  margin: 28px 0 10px;
}
.article-col p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--green-text);
  margin: 0 0 18px;
}
.article-col ul, .article-col ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.article-col li {
  font-size: 16px;
  line-height: 1.9;
  color: var(--green-text);
  margin-bottom: 10px;
}
.article-col strong { color: var(--primary-green); }

.callout {
  background: var(--pale-green);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 24px;
  margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-title {
  font-weight: 800;
  color: var(--primary-green);
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  display: block;
}

/* 記事末尾のアプリ紹介カード */
.article-cta-card {
  background: var(--primary-green);
  color: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  margin: 40px 0 8px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.article-cta-card img {
  width: 84px;
  height: auto;
  aspect-ratio: 845 / 1000;
  flex-shrink: 0;
}
.article-cta-card .cta-text { flex: 1; min-width: 220px; }
.article-cta-card h3 { color: var(--white); margin: 0 0 8px; font-size: 19px; }
.article-cta-card p {
  color: rgba(255,255,255,0.92);
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.8;
}
.article-cta-card .btn-primary { flex-shrink: 0; }

/* 関連リンク */
.related-links {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}
.related-links h2 {
  font-size: 16px;
  color: var(--muted-text);
  font-weight: 700;
  margin: 0 0 14px;
  border: none;
}
.related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.related-links li { margin: 0; }
.related-links a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}
.related-links a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .related-links ul { grid-template-columns: 1fr; }
  .article-cta-card { flex-direction: column; text-align: center; }
}

/* ---------- Legal(Privacy/Terms/特商法) ---------- */
.legal-meta { color: var(--muted-text); font-size: 13.5px; margin-bottom: 32px; }
.todo-flag {
  display: inline-block;
  background: var(--soft-orange);
  color: #7A4B00;
  border: 1px solid #F0C878;
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-left: 6px;
}
.todo-list {
  background: var(--soft-orange);
  border: 1px solid #F0C878;
  border-radius: 20px;
  padding: 24px 26px;
  margin: 32px 0;
}
.todo-list .callout-title { color: #7A4B00; }
.todo-list ul { margin: 0; padding-left: 20px; }
.todo-list li { font-size: 14.5px; color: #5A3900; margin-bottom: 8px; }
.todo-list p { font-size: 14.5px; color: #5A3900; margin: 0; }

.table-scroll { overflow-x: auto; margin: 28px 0; }
.table-scroll table { width: 100%; border-collapse: collapse; }
.table-scroll th, .table-scroll td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  vertical-align: top;
}
.table-scroll th {
  width: 34%;
  color: var(--muted-text);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- 価格カード(pricingページ) ---------- */
.price-card {
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 36px;
  text-align: center;
  margin: 0 auto 8px;
}
.price-trial-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-green);
  background: var(--soft-green);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}
.price-main strong { font-size: 44px; }
.price-main span { font-size: 16px; color: var(--muted-text); }
.price-desc { color: var(--muted-text); font-size: 15px; margin: 0 0 24px; line-height: 1.85; }
.price-fine { margin-top: 16px; font-size: 12.5px; color: var(--muted-text); }

/* ---------- FAQ(details/summary。homepageのFAQと同一操作感) ---------- */
.faq-list { margin-top: 8px; border-top: 1px solid var(--border); max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--green-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary-green);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 22px; color: var(--muted-text); font-size: 15.5px; max-width: 720px; }
