/* LP の見た目（docs/design/LP.html、画面設計のキャンバスの「ランディングページ」）。言語ごとのページで共通。
   外部のフォントは読み込まない（外部の CDN を使わない決まり）。端末にある日本語のフォントを使う */
:root {
  --bg: #f5f6f3;
  --surface: #ffffff;
  --border: #dde0da;
  --border-strong: #c9cdc6;
  --text: #15191d;
  --text-sub: #3d434a;
  --text-muted: #5a6068;
  --primary: #1f4fb8;
  --primary-pressed: #163a88;
  --primary-soft: #e3ebfb;
  --ok: #1e7a45;
  --announce-bg: #fdebdd;
  --announce-text: #9a3412;
  --badge: #c2410c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", "Yu Gothic",
    Meiryo, system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: anywhere;
}
a {
  color: var(--primary);
}
a:hover {
  color: var(--primary-pressed);
}
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
img {
  display: block;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

/* ヘッダー */
.top {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.brand {
  flex-grow: 1;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.topnav {
  display: flex;
  flex-wrap: wrap;
}
.topnav a {
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  padding: 0 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.topnav a:hover {
  text-decoration: underline;
}
.btn {
  white-space: nowrap;
  overflow-wrap: normal;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.btn:hover {
  background: var(--primary-pressed);
  color: #fff;
}
.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 17px;
}

/* 最初の画面 */
.hero {
  padding-top: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(32px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero-text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 14px;
  font-weight: 700;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-sub);
  max-width: 520px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cta span {
  font-size: 14px;
  color: var(--text-sub);
}

/* 画面のイメージ */
.hero-visual {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.phone {
  width: 300px;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eceee9;
}
.phone-head b {
  font-size: 15px;
}
.phone-head span {
  font-size: 11px;
  color: var(--text-muted);
}
.phone-announce {
  background: var(--announce-bg);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
}
.phone-announce b {
  color: var(--announce-text);
}
.phone-playing {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 22px;
}
.bars span {
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
}
.bars .b1 {
  height: 8px;
}
.bars .b2 {
  height: 18px;
}
.bars .b3 {
  height: 12px;
}
.bars .b4 {
  height: 20px;
}
.who {
  display: flex;
  flex-direction: column;
}
.who span {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
}
.who b {
  font-size: 14px;
}
.ptt {
  align-self: center;
  width: 128px;
  height: 128px;
  border-radius: 64px;
  background: var(--primary);
  border: 6px solid var(--primary-soft);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 10px 0;
}
.ptt span {
  font-size: 13px;
  font-weight: 700;
}
.phone-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.phone-buttons span {
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}
.phone-buttons i {
  font-style: normal;
  font-size: 10px;
  color: #fff;
  background: var(--badge);
  border-radius: 8px;
  padding: 0 5px;
}

/* 特長・保存するもの */
.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.features .card h3 {
  margin: 0;
  font-size: 19px;
}
.privacy .card h3 {
  margin: 0;
  font-size: 16px;
}
.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}
.features {
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* 始めるまでの流れ */
.band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.how h2,
.privacy h2 {
  margin: 0;
  font-size: 28px;
}
.how ol {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.how li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 3px solid var(--primary);
  padding-top: 12px;
}
.how li {
  counter-increment: step;
}
.how li b {
  font-size: 16px;
}
.how li b::before {
  content: counter(step) ". ";
}
.how li span {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sub);
}

.privacy {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.privacy h2 {
  flex: 1 1 100%;
}
.privacy .card {
  flex: 1 1 320px;
}

/* フッター */
.foot {
  border-top: 1px solid var(--border);
}
.foot-row {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--text-sub);
}
.foot-row img {
  margin-right: auto;
}

/* 見た目には出さず、読み上げにだけ伝える見出し */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 英語など、日本語以外のページ（<html lang="en"> など）は欧文のフォントを先に */
html:not(:lang(ja)) body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* 狭い幅：1行目はロゴと「イベントを作る」、ページの中のリンクは2行目に全幅で */
@media (max-width: 599px) {
  .top {
    gap: 4px 12px;
  }
  .topnav {
    order: 3;
    flex-basis: 100%;
    margin-left: -8px;
  }
}
