*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #111009;
  background: #f5f3ef;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.demo-header {
  background: #111009;
  color: #fff;
}

.demo-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.demo-tag {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #ff6b00;
}

.demo-header h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.demo-header a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.demo-header a:hover {
  color: #ff6b00;
}

.demo-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.demo-intro {
  margin-bottom: 40px;
}

.demo-intro h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.demo-intro p {
  margin: 0;
  color: #555;
}

.benefits {
  padding: 56px 0 0;
}

.benefits-head {
  text-align: center;
  margin-bottom: 32px;
}

.benefits-label {
  margin: 0 0 8px;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ff6b00;
}

.benefits-head h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.benefits-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  padding: 0;
  list-style: none;
}

.benefits-filter__btn {
  appearance: none;
  border: 1px solid #ccc8c0;
  background: #fff;
  color: #111009;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.benefits-filter__btn:hover {
  border-color: #111009;
}

.benefits-filter__btn.is-active {
  background: #111009;
  border-color: #111009;
  color: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits-card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  padding: 28px 24px 24px;
  transition: opacity 0.25s, transform 0.25s;
}

.benefits-card.is-hidden {
  display: none;
}

.benefits-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.benefits-card__title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.benefits-card__text {
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

.demo-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #ddd8cf;
  text-align: center;
}

.demo-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefits-filter__btn {
    font-size: 12px;
    padding: 8px 14px;
  }
}
