:root {
  --text-main: #444;
  --text-sub: #777;
  --card-bg: #fffdf6;
  --card-border: #eee8d8;
  --accent: #f2b8c6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.7;
}

header {
  padding: 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}

header a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}

.app-title h1 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}

.app-title p {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.95rem;
}

.store-button {
  display: inline-block;
  margin: 24px 0 40px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.features {
  padding-left: 1.2em;
}

.features li {
  margin-bottom: 6px;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.screenshots img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
}

footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 0.85rem;
  color: var(--text-sub);
  border-top: 1px solid #f0f0f0;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.back-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
}

.lang-switch {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.lang-switch a,
.lang-switch .lang-current {
  text-decoration: none;
  color: var(--text-sub);
  margin-left: 12px;
}

.lang-switch a:hover {
  color: var(--text-main);
}

.lang-current {
  font-weight: 600;
  color: var(--text-main);
  cursor: default;
}
