/* Suuui 公開ページ共通スタイル（プライバシーポリシー / サポート）
   モバイルファースト・流体タイポ・セーフエリア対応・ダークモード対応 */

:root {
  color-scheme: light dark;
  --water: #2f9fdc;
  --ink: #1c2530;
  --muted: #5c6775;
  --bg: #eef6fb;
  --card: #ffffff;
  --card-border: rgba(20, 40, 60, .07);
  --note-bg: #e7f4fc;
  --hr: #e1ecf3;
  --shadow: 0 1px 2px rgba(20, 40, 60, .05), 0 10px 30px rgba(20, 40, 60, .05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --water: #5cc0f0;
    --ink: #e7edf3;
    --muted: #98a5b2;
    --bg: #0f1620;
    --card: #18222e;
    --card-border: rgba(255, 255, 255, .07);
    --note-bg: #12242f;
    --hr: #28343f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .28);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(15.5px, 1.1vw + 14.2px, 17px);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 横幅と余白（セーフエリア込み） */
.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding-top: clamp(20px, 6vw, 40px);
  padding-bottom: max(56px, env(safe-area-inset-bottom));
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
}

/* ヘッダー / ヒーロー */
header { text-align: center; padding: 12px 0 2px; }
.hero { text-align: center; margin-bottom: clamp(22px, 6vw, 30px); }

header .app,
.hero .app {
  display: inline-block;
  font-weight: 700;
  color: var(--water);
  letter-spacing: .02em;
  font-size: clamp(1.55rem, 7vw, 2rem);
  line-height: 1.1;
}
.hero .tag { color: var(--muted); margin-top: 8px; font-size: .96em; }

h1 {
  text-align: center;
  font-size: clamp(1.25rem, 5.5vw, 1.5rem);
  font-weight: 700;
  margin: .3em 0 .15em;
  text-wrap: balance;
}

.updated {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  margin: 0 0 clamp(20px, 5vw, 26px);
}

/* カード */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(3px, 1.5vw, 8px) clamp(17px, 5vw, 26px) clamp(18px, 5vw, 24px);
  margin-bottom: 16px;
}

/* 見出し */
h2 {
  font-size: clamp(1.06rem, 4vw, 1.18rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 1.5em 0 .5em;
  text-wrap: balance;
}
h2 .num { color: var(--water); font-weight: 700; margin-right: .4em; }

/* 本文 */
p { margin: .7em 0; }
strong { font-weight: 700; }

ul { padding-left: 1.25em; margin: .55em 0; }
li { margin: .4em 0; }
li::marker { color: var(--water); }

/* リンク（長いURL/メールは折り返す） */
a { color: var(--water); text-decoration: none; overflow-wrap: anywhere; }
p a, li a { text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 2px; border-radius: 4px; }

/* 補足コールアウト */
.note {
  background: var(--note-bg);
  border-left: 3px solid var(--water);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 16px 0;
  font-size: .95em;
}

/* メール（タップしやすいアウトラインピル・44pt確保） */
.mail {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: 12px;
  padding: 11px 18px;
  min-height: 44px;
  font-weight: 600;
  color: var(--water);
  border: 1.5px solid var(--water);
  border-radius: 12px;
  text-decoration: none;
}
.mail:hover { background: var(--note-bg); text-decoration: none; }

/* 下部リンク（プライバシーポリシー等） */
.links { text-align: center; margin-top: 22px; }
.links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
}

hr { border: none; border-top: 1px solid var(--hr); margin: 24px 0; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
  margin-top: 26px;
}
