/* RAPPU のサイト。アプリと同じ世界観：白地に青一色、ベタ塗り、文字は紺、待機は薄い青。グラデ・影・多色は使わない */
:root {
  --blue: #0c6cf4;
  --blue-edge: #0848b4;
  --ink: #0b1f4d;
  --muted: #4d5b7c;
  --soft: #e8f1ff;
  --paper: #f5f8ff;
  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --display: "Potta One", var(--round);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--round);
  font-weight: 500;
  line-height: 1.85;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }

/* 上の帯 */
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 960px; margin: 0 auto; padding: 16px 20px;
}
.top nav a { font-weight: 800; text-decoration: none; font-size: 15px; }

main { margin: 0 auto; padding: 0 20px 48px; }
main.doc { max-width: 760px; }
main.wide { max-width: 960px; }

/* トップ */
.hero { text-align: center; padding: 24px 0 40px; }
.hero-mascot { width: 220px; margin: 0 auto 8px; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 8vw, 56px); line-height: 1.3; margin: 0;
}
.hero .no1 { color: var(--blue); }
.lead { font-size: clamp(16px, 3.6vw, 19px); color: var(--muted); margin: 16px 0 28px; }
.store { margin: 0; }
.soon {
  display: inline-block; background: var(--blue); color: #fff;
  font-family: var(--display); font-size: 17px; letter-spacing: 0.04em;
  padding: 12px 28px; border-radius: 999px;
  box-shadow: 0 5px 0 var(--blue-edge); /* ボタンの下の濃い青の台（アプリと同じ） */
}

.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.feature {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border-radius: 24px; padding: 20px;
}
.feature img { width: 104px; flex: none; }
.feature h2 { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.45; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* 文書（規約・ポリシー・サポート） */
.doc-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(28px, 6vw, 38px);
  line-height: 1.35; margin: 16px 0 24px;
}
.doc h2 { font-size: 20px; font-weight: 800; margin: 40px 0 10px; padding-bottom: 6px; border-bottom: 3px solid var(--soft); }
.doc h3 { font-size: 17px; font-weight: 800; margin: 28px 0 6px; }
.doc p, .doc li { font-size: 16px; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin: 4px 0; }
.table { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; min-width: 640px; background: #fff; border-radius: 12px; overflow: hidden; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--soft); }
th { background: var(--soft); font-weight: 800; }
code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }
mark.todo { background: #fff2b8; color: var(--ink); border-radius: 4px; padding: 0 2px; }

.contact { font-family: var(--display); font-size: 22px; margin: 20px 0; }
.contact a { text-decoration: none; }
.note { color: var(--muted); font-size: 14px; }

/* 下の帯：キャラがすわってのぞく */
footer { text-align: center; padding: 0 20px 40px; color: var(--muted); font-size: 13px; }
footer .peek { width: 84px; margin: 0 auto -4px; }
footer nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  background: #fff; border-radius: 999px; padding: 12px 20px; max-width: 640px; margin: 0 auto;
}
footer nav a { text-decoration: none; font-weight: 800; font-size: 14px; }
footer p { margin: 14px 0 0; }

/* せまい画面：キャラを小さくして、文の幅を広く */
@media (max-width: 520px) {
  .feature { padding: 16px; gap: 12px; align-items: flex-start; }
  .feature img { width: 72px; }
  .feature h2 { font-size: 18px; }
}
