/* ポケットToDo — Web (Privacy / Support / Landing)
   アプリのsumiパレットに完全準拠した最小スタイル */

:root {
  --bg: #F6F5F2;
  --surface: #FFFFFF;
  --ink: #1C1B19;
  --ink2: #6E6A63;
  --ink3: #9C978C;
  --hairline: #E7E4DD;
  --divider: #EFEDE7;
  --r-card: 16px;
  --r-ctl: 13px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 22px 80px;
}

/* ヘッダ（全ページ共通） */
header.nav {
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
header.nav .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.nav a.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}
header.nav a.brand img {
  width: 24px;
  height: 24px;
  vertical-align: -7px;
  margin-right: 8px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
}
header.nav .links a {
  color: var(--ink2);
  text-decoration: none;
  font-size: 13px;
  margin-left: 18px;
}
header.nav .links a:hover { color: var(--ink); }

/* タイトル類 */
h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 8px 0 6px;
  line-height: 1.4;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
}
h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin: 28px 0 6px;
}
p { margin: 10px 0; color: var(--ink); }
.lead {
  color: var(--ink2);
  margin-top: 0;
  margin-bottom: 28px;
}
.muted { color: var(--ink2); font-size: 13.5px; }
.fine { color: var(--ink3); font-size: 12.5px; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--ink2); }

ul { padding-left: 22px; margin: 8px 0; }
li { margin: 4px 0; }

/* カード（FAQ / お問い合わせ など） */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 20px 22px;
  margin: 14px 0;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* フッタ */
footer.site {
  border-top: 1px solid var(--hairline);
  margin-top: 80px;
  padding: 28px 22px 40px;
  text-align: center;
  color: var(--ink3);
  font-size: 12.5px;
}
footer.site a {
  color: var(--ink2);
  margin: 0 10px;
  text-decoration: none;
}
footer.site a:hover { color: var(--ink); text-decoration: underline; }

/* ─────────────────────────────────────────
   ランディング v2 — Pocket Quiet 哲学に準拠
   ───────────────────────────────────────── */

.wrap-wide {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 30px 80px;
}

/* 書誌的な小印 */
.mark {
  font-size: 12.5px;
  color: var(--ink3);
  letter-spacing: 0.18em;
  margin: 0 0 24px;
  font-weight: 500;
}

/* HERO v2 */
.hero-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0 100px;
}
.hero-text h1 {
  font-size: 62px;
  font-weight: 700;
  margin: 0 0 28px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.hero-text .tagline {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink2);
  margin: 0 0 36px;
}
.hero-text .pill {
  display: inline-block;
  padding: 7px 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink2);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.hero-phone {
  display: flex;
  justify-content: center;
}

/* デバイスフレーム共通 */
.phone-frame {
  background: var(--ink);
  padding: 8px;
  border-radius: 42px;
  display: inline-block;
  box-shadow:
    0 30px 60px -10px rgba(0, 0, 0, 0.18),
    0 12px 25px -5px rgba(0, 0, 0, 0.08);
  max-width: 320px;
}
.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 34px;
}

/* SHOWCASE */
.showcase {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 40px 0 100px;
}
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feat.reverse {
  direction: rtl;
}
.feat.reverse > * {
  direction: ltr;
}
.feat-phone {
  display: flex;
  justify-content: center;
}
.feat-text h2 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.feat-text p {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink2);
  margin: 0;
  max-width: 460px;
}

/* PHILOSOPHY */
.philosophy {
  padding: 90px 0 70px;
  text-align: center;
  border-top: 1px solid var(--hairline);
}
.philosophy blockquote {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.philosophy-cap {
  margin: 0 !important;
  color: var(--ink3);
}

/* ─── レスポンシブ ─── */

@media (max-width: 880px) {
  .wrap-wide {
    padding: 30px 22px 60px;
  }
  .hero-v2,
  .feat {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 50px 0;
  }
  .hero-v2 {
    padding-top: 30px;
  }
  .feat.reverse {
    direction: ltr;
  }
  .feat.reverse .feat-phone {
    order: -1;
  }
  .hero-text h1 {
    font-size: 44px;
  }
  .hero-text .tagline {
    font-size: 17px;
  }
  .feat-text h2 {
    font-size: 30px;
  }
  .showcase {
    gap: 80px;
    padding: 30px 0 70px;
  }
  .phone-frame {
    max-width: 280px;
  }
  .philosophy blockquote {
    font-size: 22px;
  }
}

/* ─────────────────────────────────────────
   v3 — Pocket Quiet 哲学準拠の追加セクション
   箱なし。ハイラインのみ。書物の見開きのように。
   ───────────────────────────────────────── */

/* セクション共通（v3：抑制版） */
.section-title-quiet {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 80px;
  letter-spacing: -0.012em;
  line-height: 1.4;
  color: var(--ink);
}

/* HOW IT WORKS v4 — 3パネル（スクショ付き） */
.howto-v2 {
  padding: 100px 0;
  border-top: 1px solid var(--hairline);
}
.step-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  max-width: 980px;
  margin: 0 auto;
}
.step-panel {
  text-align: center;
}
.step-phone {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}
.phone-small {
  max-width: 180px !important;
  padding: 6px !important;
  border-radius: 30px !important;
}
.phone-small img {
  border-radius: 25px !important;
}
.step-panel .step-n {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink3);
  margin: 0 0 8px;
  letter-spacing: 0.22em;
}
.step-panel h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.step-panel p {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.85;
  margin: 0 auto;
  max-width: 240px;
}

/* PLANS v3 — 2列の縦組み、間にハイライン */
.plans-v2 {
  padding: 100px 0;
  border-top: 1px solid var(--hairline);
}
.plan-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.plan-cols::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 1px;
  background: var(--hairline);
}
.plan-col {
  padding: 0 24px;
}
.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.plan-col-pro .plan-name::after {
  content: " ◆";
  color: var(--ink3);
  font-size: 13px;
  vertical-align: 4px;
  margin-left: 2px;
}
.plan-lead {
  font-size: 13.5px;
  color: var(--ink3);
  margin: 0 0 28px;
  letter-spacing: 0.02em;
  font-style: italic;
}
.plan-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-col li {
  padding: 13px 0 13px 22px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.plan-col li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 13px;
  color: var(--ink3);
  font-weight: 500;
  font-size: 13.5px;
}
.plan-col li:last-child {
  border-bottom: none;
}

/* FAQ v3 — 全展開、書物の註のように */
.faq-v2 {
  padding: 100px 0;
  border-top: 1px solid var(--hairline);
}
.qa-stack {
  max-width: 640px;
  margin: 0 auto;
}
.qa-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
}
.qa-item:last-child {
  border-bottom: none;
}
.qa-q {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
  line-height: 1.5;
}
.qa-a {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.85;
  margin: 0;
}

/* CREATOR セクション */
.creator {
  padding: 110px 0 100px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.creator-body {
  font-size: 15px;
  color: var(--ink2);
  margin: 0 0 38px;
  line-height: 1.85;
}
.creator-x {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  padding: 16px 32px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background-color 0.22s ease, color 0.22s ease;
}
.creator-x:hover {
  background: var(--ink);
  color: var(--bg);
}
.creator-x .arrow {
  color: var(--ink3);
  font-weight: 400;
  margin-left: 4px;
  transition: color 0.22s ease;
}
.creator-x:hover .arrow {
  color: var(--bg);
}

/* レスポンシブ v3/v4 */
@media (max-width: 880px) {
  .section-title-quiet { font-size: 24px; margin-bottom: 56px; }
  .howto-v2, .plans-v2, .faq-v2, .creator { padding: 70px 0; }
  .step-panels {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .plan-cols {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .plan-cols::before {
    top: 50%;
    bottom: auto;
    left: 12px;
    right: 12px;
    width: auto;
    height: 1px;
    transform: translateY(-50%);
  }
  .creator-x {
    font-size: 19px;
    padding: 14px 26px;
  }
}

/* ─────────────────────────────────────────
   追加セクション（A/B 共通）
   ───────────────────────────────────────── */

/* セクション共通 */
.section-mark {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink3);
  text-align: center;
  margin: 0 0 18px;
  font-weight: 500;
}
.section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 64px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
}

/* HOW IT WORKS */
.howto {
  padding: 90px 0;
  border-top: 1px solid var(--hairline);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}
.step { text-align: center; }
.step-num {
  font-size: 42px;
  font-weight: 200;
  color: var(--ink3);
  margin: 0 0 18px;
  letter-spacing: 0.05em;
  font-feature-settings: "tnum";
}
.step h4 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
}
.step p {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.8;
  margin: 0;
}

/* FREE vs PRO */
.tiers {
  padding: 90px 0;
  border-top: 1px solid var(--hairline);
}
.tier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}
.tier {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 34px 30px;
}
.tier.pro {
  border-color: var(--ink);
  border-width: 2px;
}
.tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.tier-head h4 {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.tier-head .tier-tag {
  font-size: 12px;
  color: var(--ink3);
  letter-spacing: 0.08em;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tier li {
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.55;
}
.tier li:last-child { border-bottom: none; }

/* PRICING */
.pricing-table {
  padding: 90px 0;
  border-top: 1px solid var(--hairline);
}
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 820px;
  margin: 0 auto 24px;
}
.price { text-align: center; }
.price-name {
  font-size: 12px;
  color: var(--ink3);
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.price-amount {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.price-amount span {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink3);
  margin-left: 2px;
}
.price-note {
  font-size: 12.5px;
  color: var(--ink2);
  margin: 0;
  line-height: 1.55;
}

/* FAQ */
.faq {
  padding: 90px 0;
  border-top: 1px solid var(--hairline);
}
.qa-list {
  max-width: 720px;
  margin: 0 auto;
}
.qa {
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
}
.qa:last-child { border-bottom: none; }
.qa summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "＋";
  color: var(--ink3);
  font-weight: 300;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.qa[open] summary::after { content: "−"; }
.qa p {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.8;
  margin: 14px 0 0;
}

/* PRIVACY STATEMENT */
.privacy-statement {
  padding: 100px 0;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.privacy-statement .big-statement {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  max-width: 580px;
  margin: 0 auto 22px;
}
.privacy-statement a {
  font-size: 13.5px;
  color: var(--ink2);
}

.center { text-align: center; }

/* レスポンシブ：追加セクション */
@media (max-width: 880px) {
  .section-title { font-size: 28px; margin-bottom: 44px; }
  .steps, .tier-cards, .prices {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .howto, .tiers, .pricing-table, .faq, .privacy-statement {
    padding: 60px 0;
  }
  .privacy-statement .big-statement { font-size: 15px; }
}

/* ─── 旧 .hero / .features クラスは互換のため残置（privacy/support 兼用） ─── */

.hero {
  text-align: center;
  padding: 60px 0 40px;
}
.hero .icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid var(--hairline);
  margin: 0 auto 24px;
  display: block;
}
.hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}
.hero .tagline {
  font-size: 17px;
  color: var(--ink2);
  margin: 0 0 32px;
}
.hero .pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink2);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
