/* Hojofy サブページ共通スタイル（index.htmlのデザイントークン準拠） */
:root {
  --color-primary-700: #1D4ED8;
  --color-primary-600: #2563EB;
  --color-accent-700: #0F766E;
  --color-accent-500: #14B8A6;
  --color-accent-100: #CCFBF1;
  --color-accent-50: #F0FDFA;
  --color-bg: #FAFBFC;
  --color-surface: #FFFFFF;
  --color-surface-muted: #F5F7FA;
  --color-border: #E5E9F0;
  --color-divider: #EEF1F5;
  --color-text: #0F172A;
  --color-text-secondary: #334155;
  --color-text-muted: #64748B;
  --color-soft-blue: #E6EFFB;
  --color-soft-sand: #F7F1E8;
  --font-heading: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.8; font-size: 16px; }
.mincho { font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.02em; }
a { color: var(--color-primary-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--color-divider); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--color-text); }
.nav-brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--color-text-secondary); }
.nav-cta { background: linear-gradient(135deg, var(--color-accent-500), var(--color-accent-700)); color: #fff !important; padding: 9px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.nav-cta:hover { text-decoration: none; opacity: .92; }
@media (max-width: 720px) { .nav-links { display: none; } }

.page { max-width: 880px; margin: 0 auto; padding: 48px 20px 80px; }
.page-wide { max-width: 1080px; }
.breadcrumb { font-size: 12px; color: var(--color-text-muted); margin-bottom: 20px; }
.label-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent-700); background: var(--color-accent-100); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
h1 { font-size: clamp(26px, 4.5vw, 38px); line-height: 1.4; margin-bottom: 14px; }
.lead { color: var(--color-text-secondary); font-size: 15px; margin-bottom: 36px; max-width: 720px; }
h2 { font-size: clamp(20px, 3vw, 26px); margin: 48px 0 16px; }
h3 { font-size: 17px; margin: 26px 0 8px; }
p { margin-bottom: 12px; color: var(--color-text-secondary); }
ul.plain { margin: 0 0 16px 1.3em; color: var(--color-text-secondary); }
ul.plain li { margin-bottom: 6px; }

.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 26px 28px; margin-bottom: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.price-card { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; }
.price-card.best { border: 2px solid var(--color-accent-500); box-shadow: 0 10px 32px rgba(20,184,166,.12); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-accent-700); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.price-name { font-family: var(--font-heading); font-size: 19px; font-weight: 700; }
.price-sub { font-size: 12.5px; color: var(--color-text-muted); margin: 2px 0 14px; }
.price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 16px; }
.price-yen { font-size: 18px; font-weight: 700; }
.price-num { font-size: 40px; font-weight: 700; font-family: Inter, var(--font-body); letter-spacing: -0.02em; }
.price-term { font-size: 12px; color: var(--color-text-muted); }
.price-list { list-style: none; margin-bottom: 20px; }
.price-list li { font-size: 13.5px; color: var(--color-text-secondary); padding: 5px 0; border-bottom: 1px dashed var(--color-divider); }
.price-list .ck { color: var(--color-accent-700); font-weight: 700; margin-right: 6px; }
.btn { display: inline-block; text-align: center; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 14.5px; }
.btn-primary { background: linear-gradient(135deg, var(--color-accent-500), var(--color-accent-700)); color: #fff; }
.btn-primary:hover { text-decoration: none; opacity: .92; }
.btn-ghost { border: 1.5px solid var(--color-border); color: var(--color-text); background: var(--color-surface); }
.btn-block { display: block; margin-top: auto; }

table.info { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 20px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
table.info th, table.info td { padding: 11px 16px; border-bottom: 1px solid var(--color-divider); text-align: left; vertical-align: top; }
table.info th { width: 32%; background: var(--color-surface-muted); font-weight: 600; color: var(--color-text-secondary); white-space: nowrap; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; }

.faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 20px 24px; margin-bottom: 12px; }
.faq-q { font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.faq-q::before { content: "Q. "; color: var(--color-accent-700); }
.faq-a { font-size: 14.5px; color: var(--color-text-secondary); }

.steps { counter-reset: step; margin: 14px 0 22px; }
.step { position: relative; padding: 0 0 18px 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--color-soft-blue); color: var(--color-primary-700); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 2px; width: 2px; background: var(--color-divider); }
.step h3 { margin: 4px 0 4px; font-size: 15.5px; }
.step p { font-size: 14px; margin-bottom: 0; }

.note-box { background: var(--color-soft-sand); border-radius: 12px; padding: 14px 18px; font-size: 13px; color: var(--color-text-secondary); margin: 18px 0; }
.cta-band { text-align: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: 36px 24px; margin-top: 48px; }
.cta-band p { margin: 6px 0 18px; font-size: 14px; }

.foot { border-top: 1px solid var(--color-divider); background: var(--color-surface); margin-top: 60px; }
.foot-inner { max-width: 1080px; margin: 0 auto; padding: 36px 24px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; font-size: 13px; color: var(--color-text-muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--color-text-muted); }
