/* ツヅクジム LP　色は3色：メイン（オレンジ）／テキスト／ベース */
:root {
  --main: #F26B1D;
  --main-dark: #D95A10;
  --text: #2A2724;
  --base: #FAF7F2;
  --white: #FFFFFF;
  --muted: #6E6862;
  --line: #E8E1D7;
  --radius: 12px;
  --font: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--base);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 247, 242, 0.95);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: 0.04em; }
.logo span { display: block; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.2em; line-height: 1; }
.header-cta {
  font-size: 14px; font-weight: 700; color: var(--main); text-decoration: none;
  border: 2px solid var(--main); border-radius: 999px; padding: 6px 16px;
}

/* ボタン */
.btn {
  display: inline-block;
  background: var(--main); color: var(--white);
  font-weight: 800; font-size: 18px; text-decoration: none;
  padding: 18px 40px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 6px 0 var(--main-dark);
  transition: transform .1s, box-shadow .1s;
  font-family: inherit;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--main-dark); }
.btn:active { transform: translateY(6px); box-shadow: none; }
.btn-block { display: block; width: 100%; }
.btn-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ファーストビュー */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero-img { width: 100%; height: 260px; object-fit: cover; object-position: 75% center; }
.hero-inner { padding-top: 32px; padding-bottom: 48px; }
.hero-sub { display: inline-block; font-size: 13px; font-weight: 700; color: var(--main); letter-spacing: 0.06em; margin-bottom: 12px; }
.hero-title { font-size: 40px; font-weight: 900; letter-spacing: 0.02em; margin-bottom: 16px; }
.hero-lead { color: var(--muted); margin-bottom: 28px; }

/* セクション共通 */
.section { padding: 72px 0; }
.section-title { font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 40px; }
.body-text { color: var(--muted); }

/* 共感 */
.check-list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 12px; }
.check-list li {
  background: var(--white); border-radius: var(--radius); padding: 16px 16px 16px 48px; position: relative;
}
.check-list li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 2px solid var(--main); border-radius: 4px;
}
.check-list li::after {
  content: ""; position: absolute; left: 23px; top: 50%; width: 6px; height: 11px; margin-top: -8px;
  border: solid var(--main); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.empathy-message { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 20px; }
.empathy-message strong { color: var(--main); }
.empathy .body-text { text-align: center; }

/* 3つの理由 */
.reasons { background: var(--white); }
.reason-grid { display: grid; gap: 20px; }
.reason-card { background: var(--base); border-radius: var(--radius); padding: 28px 24px; }
.reason-num { font-size: 32px; font-weight: 900; color: var(--main); line-height: 1; margin-bottom: 12px; }
.reason-card h3 { font-size: 20px; margin-bottom: 8px; }
.reason-card p:last-child { color: var(--muted); }

/* 料金 */
.price-card {
  background: var(--white); border: 2px solid var(--main); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; margin-bottom: 40px;
}
.price-plan { font-weight: 700; margin-bottom: 8px; }
.price-amount { font-size: 44px; font-weight: 900; line-height: 1.2; margin-bottom: 24px; }
.price-amount span { font-size: 15px; font-weight: 700; margin-left: 4px; }
.price-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.price-points li { background: var(--base); border-radius: 8px; padding: 10px; }
.price-points strong { color: var(--main); }
.cta-block { text-align: center; }

/* お客様の声 */
.voices { background: var(--white); }
.voice-grid { display: grid; gap: 20px; }
.voice-card { margin: 0; background: var(--base); border-radius: var(--radius); padding: 28px 24px; }
.voice-card blockquote { margin: 0 0 12px; font-weight: 700; }
.voice-card figcaption { font-size: 14px; color: var(--muted); }
.sample-note { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* 体験の流れ */
.flow-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.flow-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 20px; }
.flow-step {
  flex-shrink: 0; background: var(--main); color: var(--white); font-size: 12px; font-weight: 800;
  border-radius: 999px; padding: 4px 12px; margin-top: 2px;
}
.flow-list h3 { font-size: 17px; margin-bottom: 4px; }
.flow-list p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { background: var(--white); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; padding: 20px 32px 20px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--main); }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--main);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* 申込フォーム */
.apply .body-text { margin: -24px 0 32px; }
.apply-form { background: var(--white); border-radius: var(--radius); padding: 28px 20px; display: grid; gap: 20px; }
.apply-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.req, .opt { display: inline-block; font-size: 11px; border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.req { background: var(--main); color: var(--white); }
.opt { background: var(--line); color: var(--muted); }
.apply-form input, .apply-form textarea {
  font: inherit; font-weight: 400; width: 100%;
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--base);
}
.apply-form input:focus, .apply-form textarea:focus { outline: 2px solid var(--main); outline-offset: 1px; background: var(--white); }
.form-row { display: grid; gap: 20px; }
.apply-form .btn-note { text-align: center; margin-top: -4px; }

/* フッター */
.site-footer { background: var(--text); color: #D9D3CA; padding: 40px 0 120px; text-align: center; font-size: 13px; }
.site-footer .logo { color: var(--white); margin-bottom: 8px; }
.demo-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
.site-footer .demo-note { color: #A8A096; }

/* スマホ固定CTA */
.fixed-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
  background: var(--main); color: var(--white); text-align: center; font-weight: 800;
  padding: 16px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* 完了ページ */
.thanks { min-height: 100vh; display: flex; align-items: center; text-align: center; padding: 40px 0; }
.thanks .section-title { margin-bottom: 20px; }
.thanks .body-text { margin-bottom: 32px; }

/* タブレット以上 */
@media (min-width: 768px) {
  .hero { min-height: 600px; display: flex; align-items: center; }
  .hero-img { position: absolute; inset: 0; height: 100%; object-position: right center; }
  .hero-inner { position: relative; padding-top: 80px; padding-bottom: 80px; }
  .hero-title { font-size: 64px; }
  .section { padding: 100px 0; }
  .section-title { font-size: 32px; }
  .reason-grid, .voice-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .apply-form { padding: 40px; }
  .fixed-cta { display: none; }
  .site-footer { padding-bottom: 40px; }
}

/* スマホ確認後の修正 */
.label-text { display: block; }
.section-title, .empathy-message, .hero-title { word-break: auto-phrase; text-wrap: balance; }
.price-amount { white-space: nowrap; font-size: 38px; }
.price-amount span { font-size: 14px; }
.fixed-cta { opacity: 0; transform: translateY(120%); pointer-events: none; transition: opacity .25s, transform .25s; }
.fixed-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 768px) {
  .price-amount { font-size: 48px; }
  .price-amount span { font-size: 16px; }
}
