/* サイトの共通の見た目（トップ・プライバシーポリシー・サポート）。アプリと同じ黄色 × 墨（docs/design.md） */
:root {
  --pop: #FFD60A;
  --ink: #000;
  --paper: #fff;
  --cheer: #FF3D7F;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--pop);
  color: var(--ink);
  font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 16px 40px;
}

/* 見出しはアプリと同じ Zen Maru Gothic（Google Fonts）。読めない時は iPhone に入っている丸ゴシック */
h1, h2, h3 {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 700;
  line-height: 1.4;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* どのページも同じヘッダー。左上のアイコンとロゴでトップへ戻る。右はメニュー */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon {
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 2px 2px 0 var(--ink);
}
.brand-word { width: auto; height: 22px; }

/* メニュー。スマホの幅ではハンバーガーのボタンで、紙のカードを開く（menu.js）。いま開いているページは墨に黄色（アプリの選んだボタン） */
.menu { position: relative; }
.menu-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}
.menu.open .menu-button { transform: translate(2px, 2px); box-shadow: none; }
.menu ul {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
}
.menu.open ul { display: block; }
.menu li + li { margin-top: 2px; }
.menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.menu a:hover { background: var(--pop); }
.menu a[aria-current="page"] { background: var(--ink); color: var(--pop); }

/* PC の幅では隠さずに並べる */
@media (min-width: 680px) {
  .menu-button { display: none; }
  .menu ul {
    display: flex;
    position: static;
    gap: 4px;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .menu li + li { margin-top: 0; }
  .menu a { padding: 4px 14px; border-radius: 999px; }
  .menu a:hover { background: rgba(0, 0, 0, 0.08); }
  .menu a[aria-current="page"]:hover { background: var(--ink); }
}

.paper {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 28px 22px;
}

h1 { font-size: 28px; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 36px 0 8px; padding-bottom: 4px; border-bottom: 3px solid var(--ink); }
h3 { font-size: 17px; margin: 24px 0 4px; }

p, ul { margin: 8px 0; }
ul { padding-left: 1.3em; }
li + li { margin-top: 4px; }

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* 「かんたんに言うと」 */
.summary {
  margin: 20px 0 8px;
  padding: 14px 18px;
  background: var(--pop);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
}
.summary h2 { margin: 0 0 4px; border: 0; padding: 0; font-size: 18px; }

/* 公開の前に埋める所 */
mark {
  background: var(--cheer);
  color: var(--paper);
  padding: 0 4px;
  border-radius: 4px;
}

.date { margin-top: 32px; text-align: right; }

/* どのページも同じフッター。いま開いているページは下線を消す */
.site-footer {
  padding: 28px 16px 36px;
  background: var(--ink);
  color: var(--pop);
  text-align: center;
  font-size: 13px;
}
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--pop); }
.site-footer .links { margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.site-footer .links a { display: inline-block; margin: 0 12px; }
.site-footer a[aria-current="page"] { text-decoration: none; opacity: 0.6; }

/* ---- トップ（index.html）。黄色の地に、墨のふちと影の紙のカード（アプリの見た目） ---- */
.top main { max-width: none; padding: 0; }
.top .catch, .top .note {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
}

.hero {
  padding-top: 16px;
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  gap: 32px;
  justify-items: center;
  text-align: center;
}
.hero h1 { margin: 0; }
.hero .logo {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: 0 auto;
}
.catch {
  margin: 20px 0 12px;
  font-size: clamp(26px, 6.6vw, 40px);
  font-weight: 900;
  line-height: 1.35;
}
.lead { max-width: 30em; margin: 0 auto 24px; }
.store { display: inline-block; }
.store img { display: block; width: auto; height: 56px; }
.note { margin-top: 12px; font-size: 13px; font-weight: 700; }
.note span { display: inline-block; margin: 0 8px; white-space: nowrap; }
/* 下は帯の線で切れる（App Store のスクショと同じ） */
.hero .phone {
  display: block;
  width: min(80%, 340px);
  height: auto;
}

.band { padding: 56px 0 64px; }
.paper-band {
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.band h2 {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
  text-align: center;
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 900;
}

.cards {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}
.card .shot {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  background: var(--pop);
  border-bottom: 3px solid var(--ink);
}
.card .shot img { display: block; width: 66%; height: auto; }
.card .body { padding: 18px 20px 22px; }
.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 900;
}
.num {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--pop);
  font-size: 18px;
}
.card p { margin: 0; }

.features {
  display: grid;
  gap: 32px;
  justify-items: center;
}
.points {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.points li {
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 6px solid var(--pop);
}
.points h3 { margin: 0 0 2px; font-size: 19px; font-weight: 900; }
.points p { margin: 0; }
/* Watch の画面は黒の地なので、そのまま丸い四角で切る */
.watch img {
  display: block;
  width: 190px;
  height: auto;
  border: 10px solid var(--ink);
  border-radius: 48px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
}

.notice h2 { margin-bottom: 12px; font-size: 22px; text-align: left; }
.cta { margin-top: 56px; text-align: center; }

@media (min-width: 820px) {
  .hero { padding-top: 32px; }
  .hero .wrap {
    grid-template-columns: 1fr 360px;
    align-items: end;
    justify-items: start;
    text-align: left;
  }
  .hero-text { align-self: center; padding-bottom: 40px; }
  .hero .logo { margin: 0; }
  .lead { margin-left: 0; }
  .hero .phone { width: 100%; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr auto; align-items: center; gap: 56px; }
  .points { grid-template-columns: 1fr 1fr; gap: 28px 36px; }
}
