/* Emetica の Web ページ(使い方・利用規約・プライバシーポリシー・お問い合わせ)の共通のスタイル */
:root {
  --pink: #F68581;
  --pink-soft: rgba(246, 133, 129, 0.12);
  --bg: #EFEFF4;
  --card: #FFFFFF;
  --text: #1C1C1E;
  --text-secondary: #6C6C70;
  --line: rgba(60, 60, 67, 0.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #262822;
    --card: #1C1C1E;
    --text: #F2F2F7;
    --text-secondary: #A1A1A6;
    --line: rgba(235, 235, 245, 0.16);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  line-height: 1.75;
}
a { color: var(--pink); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* 上のバー */
header.site {
  background: var(--pink);
  color: #fff;
}
header.site .wrap {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; padding-bottom: 14px;
}
header.site a.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
header.site img { width: 40px; height: 40px; border-radius: 10px; }
header.site .name { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
header.site .lang { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
header.site .lang a {
  color: #fff; text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.6);
}
header.site .lang a.current { background: #fff; color: var(--pink); border-color: #fff; }


main { padding: 24px 0 40px; }
main h1 { font-size: 26px; line-height: 1.35; margin: 4px 0 18px; }
.card {
  background: var(--card); border-radius: 18px; padding: 20px 20px 8px; margin-bottom: 16px;
  border: 1px solid var(--line);
}
.card h2 { font-size: 19px; margin: 0 0 10px; color: var(--pink); }
.card h3 { font-size: 16px; margin: 16px 0 6px; }
.card p, .card li { font-size: 15px; }
.card ul, .card ol { padding-left: 1.3em; }
.lead { color: var(--text-secondary); font-size: 15px; margin: -8px 0 20px; }
.note { color: var(--text-secondary); font-size: 13px; }
.kbd {
  display: inline-block; padding: 0 7px; border-radius: 6px; font-size: 13px; font-weight: 700;
  background: var(--pink-soft); color: var(--pink); white-space: nowrap;
}

/* お問い合わせのメールアドレス */
.contact { text-align: center; padding-bottom: 20px; }
.contact .mail {
  display: inline-block; margin: 8px 0 4px; font-size: 18px; font-weight: 800; color: var(--pink);
  word-break: break-all;
}

/* 利用規約・プライバシーポリシーの本文 */
.legal .card { padding-bottom: 16px; }
.legal h2 { font-size: 16px; color: var(--text); margin: 18px 0 6px; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 14px; margin: 4px 0; }
.legal .date { color: var(--text-secondary); font-size: 13px; margin-top: 16px; }

footer.site {
  color: var(--text-secondary); font-size: 12px; text-align: center; padding: 8px 16px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
footer.site .links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
footer.site a { font-size: 14px; font-weight: 600; }

/* ---- トップ(公式サイト) ---- */
.hero { position: relative; text-align: center; padding: 28px 0 8px; }
.hero .app-icon {
  position: relative; width: 112px; height: 112px; border-radius: 26px;
  box-shadow: 0 12px 32px rgba(246, 133, 129, 0.35);
}
.hero h1 { font-size: 40px; font-weight: 900; letter-spacing: 0.02em; margin: 14px 0 2px; }
.hero .tagline { font-size: 20px; font-weight: 800; color: var(--pink); margin: 0 0 8px; }
.hero .lead { margin: 0 auto 22px; max-width: 520px; }
/* アプリの起動画面と同じ、アイコンのまわりの小さな丸(ドクベニタケのかさの模様) */
.hero .dots { position: absolute; inset: 0; pointer-events: none; }
.hero .dots i {
  position: absolute; border-radius: 50%; background: var(--pink);
  animation: float 6s ease-in-out infinite;
}
.hero .dots i:nth-child(1) { width: 18px; height: 18px; left: calc(50% - 110px); top: 34px; opacity: 0.55; }
.hero .dots i:nth-child(2) { width: 10px; height: 10px; left: calc(50% - 84px); top: 118px; opacity: 0.35; animation-delay: -1s; }
.hero .dots i:nth-child(3) { width: 26px; height: 26px; left: calc(50% + 80px); top: 22px; opacity: 0.3; animation-delay: -2s; }
.hero .dots i:nth-child(4) { width: 12px; height: 12px; left: calc(50% + 100px); top: 112px; opacity: 0.55; animation-delay: -3s; }
.hero .dots i:nth-child(5) { width: 8px; height: 8px; left: calc(50% - 60px); top: 18px; opacity: 0.45; animation-delay: -4s; }
.hero .dots i:nth-child(6) { width: 14px; height: 14px; left: calc(50% + 66px); top: 140px; opacity: 0.25; animation-delay: -5s; }
.hero .dots i:nth-child(7) { width: 7px; height: 7px; left: calc(50% + 120px); top: 70px; opacity: 0.6; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero .dots i { animation: none; } }

/* App Store のバッジ(公式の画像がない言語は、同じ形の文字のボタン) */
.badge { display: inline-block; }
.badge img { height: 52px; width: auto; display: block; }
.badge-text {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px;
  background: #000; color: #fff; border-radius: 12px; font-weight: 700; font-size: 16px;
  border: 1px solid #A6A6A6;
}

section { margin-bottom: 28px; }
