/* アプリ DESIGN.md v2 のトークン。accent の上の文字は ink。 */
:root {
  --bg: #fbf1f2;
  --surface: #ffffff;
  --ink: #3b2330;
  --text-2: #6e5560;
  --text-3: #8f7682;
  --line: #efdde1;
  --accent: #f58ba5;
  --blush: #ffe0e7;
  --placeholder: #f5e3e7;
  --radius-card: 28px;
  --radius-group: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans",
    sans-serif;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--bg);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

header {
  text-align: center;
  margin-bottom: 22px;
}

header h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 4px;
}

header .app-name {
  font-size: 15px;
  color: var(--text-2);
}

h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 20px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
}

ul,
ol {
  margin-bottom: 12px;
  padding-left: 1.4em;
}

li {
  margin-bottom: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background-color: var(--placeholder);
  color: var(--ink);
  font-weight: 700;
}

.effective-date {
  text-align: right;
  color: var(--text-3);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.notice {
  background-color: var(--placeholder);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.8rem;
}

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

a:hover {
  color: var(--text-2);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 28px;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
}

.faq-question {
  font-weight: 700;
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 4px;
}

.faq-answer {
  margin-bottom: 16px;
  padding-left: 16px;
}

.greeting {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto 28px;
  padding: 14px 18px 14px 14px;
  background: var(--surface);
  border-radius: var(--radius-card);
}

.greeting-copy {
  min-width: 0;
}

.greeting-heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 4px;
}

.greeting-message {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 0;
}

.keep {
  white-space: nowrap;
}

.shizuku {
  flex: none;
  width: 112px;
  height: 112px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blush);
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
}

.shizuku:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.shizuku-hop,
.shizuku-face {
  display: block;
  width: 100%;
  height: 100%;
}

.shizuku-face {
  object-fit: contain;
  transform-origin: 50% 85%;
  animation: shizuku-idle 3.4s ease-in-out infinite;
}

.shizuku-face[hidden] {
  display: none;
}

.shizuku.is-hop .shizuku-hop {
  animation: shizuku-hop 0.8s ease-out;
}

@keyframes shizuku-idle {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@keyframes shizuku-hop {
  0% {
    transform: translateY(0);
  }
  28% {
    transform: translateY(-16.7%);
  }
  52% {
    transform: translateY(0);
  }
  68% {
    transform: translateY(-6.25%);
  }
  84%,
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shizuku-face,
  .shizuku.is-hop .shizuku-hop {
    animation: none;
  }
}

.stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.store-btn[hidden],
.store-soon[hidden] {
  display: none !important;
}

.store-btn img {
  display: block;
  height: 48px;
  width: auto;
}

.store-android img {
  height: 72px;
  margin: -10px 0;
}

.store-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 200px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0;
}

body[data-os="ios"] .store-android {
  display: none;
}

body[data-os="android"] .store-ios {
  display: none;
}

@media (min-width: 640px) {
  body[data-os="other"] .stores {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
}
