* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #fafafa;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e8c87a;
}

header h1 {
  font-size: 1.6rem;
  color: #5c4a2a;
  margin-bottom: 4px;
}

header .app-name {
  font-size: 0.9rem;
  color: #8b7355;
}

h2 {
  font-size: 1.2rem;
  color: #5c4a2a;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e0d5c0;
}

h3 {
  font-size: 1.05rem;
  color: #6b5a3a;
  margin-top: 20px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
}

ul,
ol {
  margin-bottom: 12px;
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

.effective-date {
  text-align: right;
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #e0d5c0;
  color: #999;
  font-size: 0.8rem;
}

a {
  color: #8b6914;
}

nav {
  text-align: center;
  margin-bottom: 32px;
}

nav a {
  display: inline-block;
  margin: 0 12px;
  font-size: 0.9rem;
}

.faq-question {
  font-weight: bold;
  color: #5c4a2a;
  margin-top: 16px;
  margin-bottom: 4px;
}

.faq-answer {
  margin-bottom: 16px;
  padding-left: 16px;
}

/* --- LP（待合室 QR 着地） --- */
body.lp {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff5e6;
  color: #333333;
}

.lp-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.lp-brand {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 0;
  border-bottom: none;
}

.lp-mark {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 18px;
}

.lp-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a6b63;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.lp-name-sub {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 0;
}

.lp-headline {
  font-size: clamp(1.45rem, 6.4vw, 1.9rem);
  line-height: 1.45;
  font-weight: 700;
  color: #1a6b63;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}

.lp-meta {
  font-size: 0.95rem;
  color: #333333;
  margin-bottom: 28px;
}

.lp-stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 24px;
}

.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: 8px;
  background: #2c837a;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0;
}

.lp-disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 0;
}

.lp-nav {
  text-align: center;
  margin: 0;
  padding: 8px 16px 4px;
}

.lp-nav a {
  display: inline-block;
  margin: 0 10px 8px;
  font-size: 0.85rem;
  color: #1a6b63;
}

.lp-footer {
  text-align: center;
  margin: 0;
  padding: 8px 16px 28px;
  border-top: none;
  color: #999999;
  font-size: 0.75rem;
}

.lp-footer p {
  margin-bottom: 0;
}

body.lp[data-os="ios"] .store-android {
  display: none;
}

body.lp[data-os="android"] .store-ios {
  display: none;
}

@media (min-width: 640px) {
  .lp-main {
    max-width: 560px;
    padding-top: 72px;
  }

  body.lp[data-os="other"] .lp-stores {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
}
