/* ビットシリーズ 全ページ共通 */
:root {
  --mint: #7fd1b9;
  --mint-dark: #3f9e84;
  --mint-light: #e6f6f0;
  --ink: #2f3a37;
  --ink-soft: #66736f;
  --bg: #ffffff;
  --card: #ffffff;
  --line: #dcebe6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 8px rgba(47, 58, 55, 0.08);
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.6;
  /* ダブルタップの拡大・文字選択を出さない */
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

a {
  color: inherit;
}

img {
  -webkit-user-drag: none;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
  font-weight: 800;
}

/* ボタン：押せる部品は 44px 以上 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 44px;
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.97);
}

.btn--ghost {
  background: var(--mint-light);
  color: var(--mint-dark);
  box-shadow: none;
}

@media (hover: hover) {
  .btn:hover {
    background: var(--mint-dark);
  }
  .btn--ghost:hover {
    background: #d4efe6;
    color: var(--mint-dark);
  }
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff4d6;
  color: #9a7419;
  font-size: 0.8rem;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid var(--mint-dark);
  outline-offset: 2px;
}
