body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f7fb;
  color: #222;
}

header {
  background: #1b4b9b;
  color: #fff;
  padding: 24px 16px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
}

header p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

main {
  max-width: 960px;
  margin: 24px auto 40px;
  padding: 0 16px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.hero img {
  max-width: 260px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  background: #fff;
}

.hero-text {
  max-width: 520px;
}

.hero-text h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.hero-text p {
  line-height: 1.7;
  font-size: 0.95rem;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);

  display: flex;          /* ボタン位置揃え */
  flex-direction: column; /* 縦並び */
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  margin-top: auto;       /* カード下部に揃える */
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #1b4b9b;
  transition: background 0.15s ease, transform 0.1s ease;
  text-align: center;
}

.btn:hover {
  background: #163c7b;
  transform: translateY(-1px);
}

.btn-sub {
  background: #0f9d58;
}

.btn-sub:hover {
  background: #0c7a45;
}

footer {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  padding: 16px;
  border-top: 1px solid #e0e3ec;
  background: #f8f9fd;
}

.install-title {
  margin-bottom: 0; /* タイトル下の余白を消す */
}
.install-steps {
  margin-top: 0; /* リスト上の余白を消す */
}

ol {
  padding-left: 20px;   /* 数字が隠れない程度のインデントを残す */
}

.btn-ios {
  background: #000000;
}

.btn-ios:hover {
  background: #333333;
}

.notice-box {
  background-color: #fff8e1;
  border-left: 4px solid #f5a623;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.9em;
  line-height: 1.6;
  color: #5a4000;
}
