/* The home page (web/index.html in Japanese, web/en/index.html in English). Colors follow
   the app's palette (src/theme/colors.ts). The other pages on this site keep their own styles. */
:root {
  color-scheme: light dark;
  --bg: #f5f5f2;
  --surface: #ffffff;
  --raised: #eceae4;
  --border: #e1ddd3;
  --text: #1a1712;
  --muted: #5e594f;
  --accent: #8f6f3b;
  --on-accent: #ffffff;
  --torevo: #a57f3d;
  --ok: #2e9e6b;
  --coach: #0a86ae;
  --cardio: #d0543a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --surface: #1b1b1a;
    --raised: #262624;
    --border: #353532;
    --text: #f5f5f2;
    --muted: #a6a29a;
    --accent: #c3a87c;
    --on-accent: #141210;
    --ok: #43c285;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP', system-ui, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
}
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}
header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.lang {
  display: flex;
  gap: 4px;
  font-size: 13px;
}
.lang a,
.lang span {
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--border);
}
.lang span {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.hero {
  text-align: center;
  padding: 40px 0 24px;
}
.hero img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.18);
}
.hero h1 {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.2;
  margin: 20px 0 8px;
}
.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.store {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 190px;
  text-align: left;
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
  fill: currentColor;
}
.store b {
  display: block;
  font-size: 15px;
}
.store small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: 1px;
}
section {
  padding: 36px 0;
}
h2 {
  font-size: 22px;
  margin: 0 0 18px;
  text-align: center;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature {
  text-align: center;
  padding: 18px 10px;
  text-decoration: none;
}
.feature svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature b {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}
.feature small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.plans h3 {
  margin: 0 0 12px;
  font-size: 17px;
}
.free-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.free-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.free-list li:last-child {
  border-bottom: 0;
}
.free-list li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 700;
  margin-right: 8px;
}
.bar {
  margin: 10px 0;
}
.bar .label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.bar .track {
  height: 14px;
  border-radius: 7px;
  background: var(--raised);
  margin-top: 4px;
  overflow: hidden;
}
.bar .fill {
  height: 100%;
  border-radius: 7px;
  background: var(--muted);
}
.bar.best .fill {
  background: var(--accent);
}
.save {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 14px;
}
.note {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
}
footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding: 24px 0 40px;
  font-size: 14px;
  color: var(--muted);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 12px;
}
