/* つぶやきメーカー 共通スタイル
   コンセプト：「原稿用紙と赤鉛筆」
   紙 #FBFAF6／罫 #E7E2D6／墨 #23201B／補助墨 #6E675C／校正の赤 #D43A2A／安全の緑 #4C7A5B
   赤は校正（チェック・注記）に関わる場所だけに使う。 */
:root {
  --paper: #FBFAF6;
  --rule: #E7E2D6;
  --ink: #23201B;
  --ink-sub: #6E675C;
  --red: #D43A2A;
  --green: #4C7A5B;
  --sheet: #FFFFFF;
  --tint: #F3F0E7;
  --line-soft: #C9C2B2;
  --font-head: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", serif;
  --font-body: -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); line-height: 1.7; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-soft); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

header.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 30px 20px 24px; text-align: center; }
header.site-header h1 { font-family: var(--font-head); font-size: 27px; font-weight: 700; letter-spacing: .06em; }
header.site-header h1 a { color: var(--ink); text-decoration: none; }
header.site-header p { font-size: 13px; color: var(--ink-sub); margin-top: 6px; }
.badge { display: inline-block; background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 3px; padding: 2px 12px; font-size: 11px; color: var(--ink-sub); margin-top: 12px; }

nav.site-nav { background: var(--sheet); border-bottom: 1px solid var(--rule); }
nav.site-nav ul { max-width: 720px; margin: 0 auto; padding: 0 14px; list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
nav.site-nav a { display: block; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-sub); text-decoration: none; }
nav.site-nav a:hover { background: var(--tint); }
nav.site-nav a.current { color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }

main { max-width: 720px; margin: 0 auto; padding: 18px 14px 60px; }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 3px; padding: 22px 20px; margin-bottom: 18px; box-shadow: 3px 3px 0 #EFEAE0; }
.card h2 { font-family: var(--font-head); font-size: 19px; letter-spacing: .03em; padding-bottom: 8px; border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
.card h3 { font-size: 15px; margin: 16px 0 6px; color: var(--ink); }
.card p.sub, p.sub { font-size: 12.5px; color: var(--ink-sub); margin-bottom: 14px; }
.card p { font-size: 14.5px; margin-bottom: 10px; }
.note { font-size: 12.5px; color: var(--ink-sub); }
strong.price-note { color: var(--red); }

/* ヒーロー：原稿用紙のシート上に「メモ→投稿文」の変換そのものを見せる */
.hero { padding: 26px 20px; }
.hero h2 { font-size: 24px; line-height: 1.5; border-bottom: none; padding-bottom: 0; }
.hero p { font-size: 14.5px; }
.cta-btn { display: inline-block; margin-top: 18px; background: var(--ink); color: var(--paper); border: none; border-radius: 3px; padding: 14px 34px; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.cta-btn:hover { background: #3A362E; text-decoration: none; }
.cta-btn.disabled { background: #D8D2C2; color: #7A7462; cursor: not-allowed; }
.sub-link { display: inline-block; margin-top: 10px; font-size: 13px; }

.hero-sample { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.sheet { border: 1px solid var(--rule); border-radius: 3px; background: var(--sheet); padding: 14px 16px 16px; text-align: left; }
.sheet-label { font-size: 12px; font-weight: 700; color: var(--ink-sub); letter-spacing: .06em; margin-bottom: 8px; }
.proof-mark { color: var(--red); font-weight: 700; margin-left: 6px; }
.memo-lines { list-style: none; background-image: repeating-linear-gradient(transparent, transparent 27px, var(--rule) 28px); }
.memo-lines li { line-height: 28px; font-size: 14px; }
.memo-lines li::before { content: "・"; color: var(--ink-sub); }
.post-sheet p { font-size: 13.5px; margin-bottom: 8px; }
.post-sheet p:last-child { margin-bottom: 0; }
.post-sheet .post-title { font-weight: 700; font-size: 14.5px; }
.post-sheet .post-tags { color: var(--ink-sub); font-size: 12.5px; }
.hero-arrow { text-align: center; color: var(--ink-sub); font-size: 18px; line-height: 1; align-self: center; }
@media (min-width: 560px) {
  .hero-sample { grid-template-columns: 1fr 26px 1fr; gap: 10px; }
  .hero-arrow { transform: rotate(-90deg); }
}

/* 機能紹介：カードの並列ではなく、罫で区切った原稿の段落として並べる */
.feature { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); }
.feature:first-of-type { border-top: none; padding-top: 4px; }
.feature:last-of-type { padding-bottom: 2px; }
.feature .icon { font-size: 24px; line-height: 1.4; grid-row: span 2; }
.feature h3 { font-size: 15px; margin: 0 0 4px; color: var(--ink); }
.feature p { font-size: 13px; color: var(--ink-sub); margin: 0; }

/* 料金プラン：紙の料金票 */
.plans { display: flex; gap: 12px; flex-wrap: wrap; }
.plan { flex: 1 1 200px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 3px; padding: 18px 16px; box-shadow: 3px 3px 0 #EFEAE0; }
.plan.recommended { border-color: var(--ink); border-top: 3px solid var(--ink); }
.plan h3 { font-size: 15px; color: var(--ink); margin: 0 0 4px; }
.plan .amount { font-family: var(--font-head); font-size: 25px; font-weight: 700; color: var(--ink); }
.plan .amount small { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink-sub); }
.plan .annual { font-size: 12.5px; color: var(--ink-sub); }
.plan ul { list-style: none; margin-top: 10px; font-size: 13px; color: var(--ink); text-align: left; }
.plan ul li { padding: 3px 0 3px 18px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan .soon { display: inline-block; margin-top: 12px; background: var(--tint); color: var(--ink-sub); border-radius: 3px; padding: 4px 14px; font-size: 12px; font-weight: 600; }

/* 比較表 */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
table.compare th, table.compare td { border: 1px solid var(--rule); padding: 9px 10px; text-align: center; }
table.compare th { background: var(--tint); color: var(--ink); font-family: var(--font-head); }
table.compare td:first-child, table.compare th:first-child { text-align: left; }
table.compare td.yes { color: var(--green); font-weight: 700; }
table.compare td.no { color: #B9B2A4; }

/* 法務ページ */
table.legal { width: 100%; border-collapse: collapse; font-size: 14px; }
table.legal th, table.legal td { border: 1px solid var(--rule); padding: 10px 12px; vertical-align: top; text-align: left; }
table.legal th { background: #F7F4EC; width: 30%; font-weight: 600; white-space: nowrap; }
.legal-body h3 { font-family: var(--font-head); font-size: 16px; margin: 20px 0 6px; color: var(--ink); }
.legal-body h3:first-of-type { margin-top: 4px; }
.legal-body p, .legal-body li { font-size: 14.5px; }
.legal-body ol, .legal-body ul { padding-left: 1.4em; margin-bottom: 10px; }
.legal-body li { margin-bottom: 4px; }
.enacted { margin-top: 24px; font-size: 13px; color: var(--ink-sub); }

footer.site-footer { text-align: center; font-size: 12px; color: #A39C8B; padding: 0 20px 30px; }
footer.site-footer nav { margin-bottom: 10px; }
footer.site-footer nav a { margin: 0 8px; font-size: 12.5px; color: var(--ink-sub); }
footer.site-footer p { margin-top: 6px; }

@media (max-width: 560px) {
  header.site-header h1 { font-size: 23px; }
  .hero h2 { font-size: 20px; }
  table.legal th { white-space: normal; width: 34%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
