/* 受け口LP：ホームページ制作0円
   色はキャラのイラストに合わせる（紺の線・青・黄・朱）。訴求は「0円」を大きく。
   影・グラデーション・左の縦棒・見出し下の説明文は使わない */
:root {
  --navy: #16244a;
  --blue: #2f7fc0;
  --sky: #e8f2fa;
  --yellow: #ffe14d;
  --cream: #fffbe6;
  --red: #e2502a;
  --ink: #16244a;
  --sub: #4b5877;
  --line: #d7deea;
  --white: #ffffff;
  --jp: "M PLUS 1p", "Hiragino Sans", "Yu Gothic", sans-serif;
  --num: "Outfit", "M PLUS 1p", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
h1, h2, h3, .fv-lead, .answer-big, .final-big, .steps p, .inc-grid p, .faq p { word-break: auto-phrase; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--jp); font-weight: 500; font-size: 16px; line-height: 1.8; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sp { display: none; }
.mark { background: var(--yellow); padding: 0 0.12em; }

/* ヘッダー */
.head { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 2px solid var(--navy); }
.head-in { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--num); font-weight: 800; font-size: 20px; letter-spacing: 0.02em; }
.head-cta { background: var(--red); color: var(--white); font-weight: 800; font-size: 15px; padding: 9px 20px; border-radius: 999px; }
.head-cta:hover { background: #c9431f; }

/* ボタン */
.btn-cta { display: inline-flex; flex-direction: column; align-items: center; background: var(--red); color: var(--white); font-weight: 900; font-size: 24px; line-height: 1.3; padding: 18px 48px; border-radius: 999px; border: 3px solid var(--navy); }
.btn-cta small { font-size: 13px; font-weight: 700; margin-top: 4px; }
.btn-cta:hover { background: #c9431f; }
.btn-cta-dark { border-color: var(--white); }

/* 表紙 */
.fv { background: var(--yellow); border-bottom: 3px solid var(--navy); overflow: hidden; }
.fv-in { max-width: 1120px; margin: 0 auto; padding: 56px 24px 64px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; }
.fv-target { display: inline-block; background: var(--navy); color: var(--white); font-weight: 800; font-size: 17px; padding: 4px 16px; border-radius: 6px; }
.fv-title { font-weight: 900; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.15; margin-top: 18px; letter-spacing: 0.01em; }
.zero { display: inline-block; font-family: var(--num); font-weight: 900; font-size: 2.3em; line-height: 0.9; color: var(--red); margin-left: 0.08em; letter-spacing: -0.02em; }
.zero small { font-family: var(--jp); font-size: 0.34em; color: var(--navy); margin-left: 0.04em; letter-spacing: 0; }
.fv-lead { font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; margin-top: 18px; }
.fv-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.fv-points li { background: var(--white); border: 2px solid var(--navy); border-radius: 999px; font-weight: 800; font-size: 15px; padding: 5px 16px; }
.fv-cta { margin-top: 28px; }
.fv-chara { position: relative; height: 460px; }
.fv-chara img { position: absolute; }
.chara-a { width: 58%; right: 34%; top: 0; }
.chara-b { width: 58%; right: 0; bottom: 0; }

/* 信頼の帯 */
.trust { background: var(--navy); color: var(--white); padding: 36px 0; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li { text-align: center; padding: 4px 12px; }
.trust-label { font-size: 14px; font-weight: 800; color: #c9d3ea; }
.trust-num { font-family: var(--num); font-weight: 900; font-size: 56px; line-height: 1.15; color: var(--yellow); }
.trust-num span { font-family: var(--jp); font-size: 18px; color: var(--white); margin-left: 4px; }
.trust-num { white-space: nowrap; }
.trust-text { white-space: normal; }
.trust-text { font-family: var(--jp); font-size: 19px; line-height: 1.45; padding-top: 6px; }
.trust-note { text-align: center; margin-top: 18px; font-size: 15px; font-weight: 800; color: #dfe6f5; }
.trust-foot { text-align: center; margin-top: 8px; font-size: 11px; color: #9fb0d3; word-break: auto-phrase; }

/* 見出し */
.h2 { font-weight: 900; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.35; text-align: center; margin-bottom: 44px; }
.h2-left { text-align: left; }

/* お悩み */
.worry { background: var(--sky); padding: 88px 0 72px; }
.worry-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.worry-list li { background: var(--white); border: 2px solid var(--navy); border-radius: 16px; padding: 22px 18px 24px; text-align: center; }
.worry-list img { width: 128px; margin: 0 auto 14px; }
.worry-list p { font-size: 16px; line-height: 1.6; word-break: auto-phrase; }
.worry-list strong { display: inline-block; }
.worry-list strong { font-weight: 900; }

.answer { background: var(--navy); color: var(--white); padding: 44px 0; }
.answer-in { display: flex; align-items: center; justify-content: center; gap: 36px; }
.answer-big { font-weight: 900; font-size: clamp(30px, 4vw, 52px); line-height: 1.3; }
.answer .mark { color: var(--navy); }
.answer img { width: 260px; background: var(--white); border-radius: 16px; padding: 10px; }

/* 見本 */
.samples { padding: 96px 0 88px; }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sample { display: block; background: var(--white); border: 2px solid var(--navy); border-radius: 14px; overflow: hidden; }
.sample img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 2px solid var(--navy); transition: transform 0.5s ease; }
.sample:hover img { transform: scale(1.03); }
.sample p { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-weight: 800; font-size: 14px; color: var(--blue); }
.sample p span { color: var(--ink); font-size: 16px; }
.sample-main { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr; }
.sample-main img { aspect-ratio: 16 / 8; border-bottom: 0; border-right: 2px solid var(--navy); }
.sample-main p { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 24px 28px; font-size: 15px; }
.sample-main p span { font-size: 22px; font-weight: 900; }
.note { text-align: center; color: var(--sub); font-size: 13px; margin-top: 20px; }

/* 無料版に入っているもの */
.included { background: var(--cream); padding: 96px 0; border-top: 3px solid var(--navy); border-bottom: 3px solid var(--navy); }
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.inc-grid li { background: var(--white); border: 2px solid var(--navy); border-radius: 16px; padding: 24px 22px; }
.inc-no { font-family: var(--num); font-weight: 900; font-size: 40px; line-height: 1; color: var(--blue); }
.inc-grid h3 { font-weight: 900; font-size: 19px; margin: 12px 0 6px; }
.inc-grid p:last-child { color: var(--sub); font-size: 14px; line-height: 1.7; }

/* 流れ */
.flow { padding: 96px 0; }
.flow-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.flow-chara img { width: 100%; max-width: 440px; margin: 0 auto; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 2px dashed var(--line); }
.steps li:last-child { border-bottom: 0; }
.step-no { width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--navy); font-family: var(--num); font-weight: 900; font-size: 24px; display: grid; place-items: center; }
.steps h3 { font-weight: 900; font-size: 20px; }
.steps p { color: var(--sub); font-size: 15px; }

/* よくある質問 */
.faq { background: var(--sky); padding: 96px 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 2px solid var(--navy); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 900; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--num); font-size: 26px; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 22px; color: var(--sub); font-size: 15px; line-height: 1.9; }
.faq details[open] summary { color: var(--blue); }

/* 最後の申し込み */
.final { background: var(--navy); color: var(--white); padding: 72px 0; }
.final-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-small { font-weight: 800; font-size: 18px; }
.final-big { font-weight: 900; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.2; margin: 8px 0 28px; }
.final-big span { font-family: var(--num); color: var(--yellow); font-size: 1.5em; margin-left: 0.15em; }
.final img { width: 300px; background: var(--white); border-radius: 50%; padding: 18px; }

.terms { padding: 36px 0; background: #f4f6fa; }
.terms p { font-size: 12px; color: var(--sub); line-height: 1.8; }

.foot { background: var(--white); border-top: 2px solid var(--navy); padding: 20px 0; font-size: 12px; color: var(--sub); }
.foot-in { display: flex; gap: 20px; flex-wrap: wrap; }

/* アニメーション（JSが動く時だけ・動きを減らす設定では動かさない） */
@media (prefers-reduced-motion: no-preference) {
  body.js [data-r] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1.2); }
  body.js [data-r].in { opacity: 1; transform: none; }
  [data-r][data-d="1"] { transition-delay: 0.08s; }
  [data-r][data-d="2"] { transition-delay: 0.16s; }
  [data-r][data-d="3"] { transition-delay: 0.24s; }
  [data-r][data-d="4"] { transition-delay: 0.32s; }
  body.js .zero { transform: scale(0.4); opacity: 0; transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) 0.5s, opacity 0.3s ease 0.5s; }
  body.js .fv-title.in .zero { transform: none; opacity: 1; }
  .btn-cta { transition: transform 0.2s ease; }
  .btn-cta:hover { transform: translateY(-2px); }
}

/* スマホ */
@media (max-width: 860px) {
  .sp { display: inline; }
  .head-in { height: 56px; }
  .head-cta { font-size: 13px; padding: 7px 14px; }
  .fv-in { grid-template-columns: 1fr; padding: 32px 20px 40px; gap: 8px; }
  .fv-chara { order: -1; height: 230px; }
  .chara-a { width: 44%; right: 50%; }
  .chara-b { width: 44%; right: 8%; }
  .fv-title { margin-top: 12px; }
  .btn-cta { width: 100%; font-size: 21px; padding: 16px 20px; }
  .h2 { margin-bottom: 28px; }
  .trust { padding: 26px 0; }
  .trust-list { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .trust-num { font-size: 34px; }
  .trust-num span { font-size: 14px; margin-left: 2px; }
  .trust-text { font-size: 15px; }
  .trust-note { font-size: 13px; word-break: auto-phrase; }
  .worry, .samples, .included, .flow, .faq { padding: 64px 0; }
  .worry-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .worry-list img { width: 96px; }
  .worry-list li { padding: 18px 10px 20px; }
  .worry-list p { font-size: 13.5px; }
  .answer-in { flex-direction: column; gap: 20px; text-align: center; }
  .answer img { width: 200px; }
  .sample-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sample-main { grid-template-columns: 1fr; }
  .sample-main img { border-right: 0; border-bottom: 2px solid var(--navy); aspect-ratio: 16 / 10; }
  .sample-main p { padding: 12px 16px; flex-direction: row; justify-content: space-between; align-items: center; }
  .sample-main p span { font-size: 17px; }
  .sample p { flex-direction: column; align-items: flex-start; gap: 0; font-size: 12px; padding: 10px 12px; }
  .sample p span { font-size: 14px; }
  .inc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .inc-grid li { padding: 18px 16px; }
  .inc-grid h3 { font-size: 16px; }
  .flow-in { grid-template-columns: 1fr; gap: 24px; }
  .flow-chara img { max-width: 280px; }
  .final-in { flex-direction: column-reverse; text-align: center; }
  .final img { width: 200px; }
}
@media (max-width: 420px) {
  .inc-grid { grid-template-columns: 1fr; }
}

/* 本文ページ（プライバシーポリシー・特定商取引法に基づく表記） */
.foot a { color: var(--sub); text-decoration: underline; }
.foot a:hover { color: var(--ink); }
.page-doc { background: var(--sky); }
.doc-main { padding: 56px 0 88px; }
.doc-wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.doc-title { font-weight: 900; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.4; margin-bottom: 28px; word-break: auto-phrase; }
.doc-table, .doc-body { background: var(--white); border: 2px solid var(--navy); border-radius: 16px; }
.doc-table > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 18px 24px; border-bottom: 2px dashed var(--line); }
.doc-table > div:last-child { border-bottom: 0; }
.doc-table dt { font-weight: 900; }
.doc-table dd { margin: 0; font-size: 15px; line-height: 1.8; }
.price-t { border-collapse: collapse; width: 100%; margin-bottom: 8px; }
.price-t th, .price-t td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.price-t th { font-weight: 700; padding-right: 16px; white-space: nowrap; }
.price-t td { font-weight: 800; }
.todo { display: inline-block; background: var(--yellow); border: 1px solid var(--navy); border-radius: 4px; font-size: 11px; font-weight: 900; padding: 0 6px; margin-left: 4px; vertical-align: 1px; }
.doc-body { padding: 32px 32px 28px; }
.doc-body h2 { font-weight: 900; font-size: 19px; margin: 28px 0 8px; }
.doc-body h2:first-of-type { margin-top: 20px; }
.doc-body p, .doc-body li { font-size: 15px; line-height: 1.9; }
.doc-body ul { list-style: disc; padding-left: 1.3em; }
.doc-date { margin-top: 28px; color: var(--sub); font-size: 13px !important; }
@media (max-width: 860px) {
  .doc-main { padding: 36px 0 64px; }
  .doc-table > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .price-t th { white-space: normal; }
  .doc-body { padding: 24px 20px; }
}
