:root {
  --brand: #0e8c6a;
  --brand-dark: #0a6b51;
  --text: #1c1c1e;
  --text-muted: #55585e;
  --bg: #ffffff;
  --bg-alt: #f4f6f5;
  --border: #e4e6e5;
  --radius: 14px;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  line-height: 1.4;
  font-weight: 700;
}

/* ヘッダー */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  border-radius: 8px;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--brand);
}

/* ヒーロー */

.hero {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

.hero-text {
  max-width: 460px;
}

.hero-icon {
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(14, 140, 106, 0.25);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 30px;
  margin: 0 0 16px;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
}

/* 入力画面イラスト */

.phone-mockup {
  flex-shrink: 0;
}

.phone-frame {
  width: 220px;
  padding: 14px 12px;
  background: #1c1c1e;
  border-radius: 36px;
  box-shadow: 0 24px 48px rgba(14, 140, 106, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.phone-notch {
  width: 70px;
  height: 18px;
  background: #1c1c1e;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 22px;
  padding: 16px 12px;
}

.phone-amount {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.phone-chips {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}

.phone-chip {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-muted);
}

.phone-chip-active {
  background: var(--brand);
  color: #fff;
}

.phone-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.phone-key {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-alt);
  font-size: 13px;
  font-weight: 600;
}

.phone-key-blank {
  background: transparent;
}

.phone-key-enter {
  background: var(--brand);
  color: #fff;
  font-size: 12px;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button:hover {
  opacity: 0.9;
}

/* セクション共通 */

section {
  padding: 56px 0;
}

section h2 {
  font-size: 22px;
  text-align: center;
  margin: 0 0 32px;
}

/* 強み */

.strengths {
  padding-top: 8px;
}

.strength-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.strength-card {
  background: linear-gradient(160deg, rgba(14, 140, 106, 0.08), rgba(14, 140, 106, 0.02));
  border: 1px solid rgba(14, 140, 106, 0.18);
  border-radius: var(--radius);
  padding: 32px;
}

.strength-icon {
  width: 36px;
  height: 36px;
  fill: var(--brand);
  margin-bottom: 16px;
}

.strength-card h2 {
  font-size: 20px;
  text-align: left;
  margin: 0 0 12px;
}

.strength-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 24px;
}

/* カードの中から別ページへ送る導線 */

.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* タップの流れイラスト */

.tap-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  background: var(--bg);
  border-radius: 12px;
  padding: 20px 12px 16px;
}

.tap-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.tap-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tap-badge-done {
  background: var(--brand);
  color: #fff;
}

.tap-label {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

.tap-arrow {
  width: 16px;
  height: 16px;
  fill: var(--border);
  flex-shrink: 0;
  margin-top: -20px;
}

/* 予算バーイラスト */

.budget-bars {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px 16px 14px;
}

.budget-row {
  display: grid;
  grid-template-columns: 52px 1fr 40px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.budget-label {
  font-size: 12px;
  color: var(--text-muted);
}

.budget-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: visible;
}

.budget-fill {
  height: 100%;
  border-radius: 999px;
}

.budget-fill-food {
  background: #e0524e;
}

.budget-fill-social {
  background: #e07327;
}

.budget-fill-over {
  background: #d94a46;
}

.budget-marker {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 16px;
  background: var(--text);
  opacity: 0.35;
}

.budget-pct {
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.budget-today {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.budget-today-dot {
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--text);
  opacity: 0.35;
}

/* 特徴 */

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 140, 106, 0.12);
  margin-bottom: 12px;
}

.feature-icon {
  width: 22px;
  height: 22px;
  fill: var(--brand);
}

.feature-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* Pro */

.pro-lead {
  color: var(--text-muted);
  font-size: 15px;
  text-align: center;
  max-width: 640px;
  margin: -16px auto 32px;
}

.pro-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pro-table-row {
  display: grid;
  grid-template-columns: 1fr 90px 90px;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  padding: 12px 16px;
}

.pro-table-head {
  background: var(--bg-alt);
  padding: 10px 16px;
}

.pro-table-label {
  font-size: 13px;
  color: var(--text);
}

.pro-table-col {
  font-size: 13px;
  text-align: center;
  color: var(--text-muted);
}

.pro-table-head .pro-table-col {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 12px;
}

.pro-table-col-pro {
  color: var(--brand-dark);
  font-weight: 600;
}

.pro-table-head .pro-table-col-pro {
  color: var(--brand-dark);
}

.pro-table-cell-no {
  color: var(--border);
}

.pro-note {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  max-width: 640px;
  margin: 24px auto 0;
}

/* 画面 */

.screens {
  background: var(--bg-alt);
}

.screens-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.screens-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  background: var(--bg);
  padding: 16px 20px;
}

.screens-tab {
  font-weight: 700;
  color: var(--brand-dark);
}

.screens-desc {
  color: var(--text-muted);
  font-size: 14px;
}

/* データの扱い */

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* プライバシーポリシー */

.policy {
  padding: 56px 0 80px;
}

.policy-inner {
  max-width: 680px;
}

.policy h1 {
  font-size: 26px;
  margin: 0 0 8px;
}

.policy-updated {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 32px;
}

.policy h2 {
  font-size: 17px;
  margin: 32px 0 12px;
  /* トップページのセクション見出しは中央寄せだが、読み物のページでは左寄せの方が読みやすい。 */
  text-align: left;
}

.policy p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 8px;
}

.policy a {
  color: var(--brand-dark);
}

/* 入力を速くするコツ */

.tips-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tip {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.tip-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.tip h3 {
  font-size: 16px;
  margin: 0;
}

.tip p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.tip p + p {
  margin-top: 8px;
}

.tip-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(14, 140, 106, 0.12);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

.tip-badge-pro {
  color: #8a5a00;
  background: rgba(196, 138, 0, 0.14);
}

.tip-note {
  color: var(--text-muted);
  font-size: 13px;
}

.taps-table {
  margin-top: 12px;
}

.taps-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  background: var(--bg);
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.taps-count {
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-dark);
  white-space: nowrap;
}

/* フッター */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 12px;
  }

  .screens-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .phone-frame {
    width: 200px;
  }

  .pro-table-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "label label" "free pro";
    gap: 6px;
    padding: 10px 12px;
  }

  .pro-table-row.pro-table-head {
    grid-template-areas: "free pro";
  }

  .pro-table-label {
    grid-area: label;
    font-size: 12px;
  }

  .pro-table-row .pro-table-col:nth-of-type(2) {
    grid-area: free;
  }

  .pro-table-row .pro-table-col:nth-of-type(3) {
    grid-area: pro;
  }

  .pro-table-head .pro-table-col:nth-of-type(2) {
    grid-area: free;
  }

  .pro-table-head .pro-table-col:nth-of-type(3) {
    grid-area: pro;
  }
}
