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

.ai-agent {
  max-width: 480px;
  margin: 0 auto;
  font-family: "Noto Sans JP", -apple-system, Roboto, Helvetica, sans-serif;
  color: #333;
}

.ai-agent p,
.ai-agent h2,
.ai-agent ul {
  margin: 0;
  padding: 0;
}

.ai-agent ul {
  list-style: none;
}

.ai-agent img {
  display: block;
  max-width: 100%;
}

.ai-agent a {
  display: block;
}

/* ---------- Hero (search) ---------- */
.ai-agent__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px 10px;
  background: #f7f7f7;
}

.ai-agent__copy {
  align-self: stretch;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.ai-agent__copy strong {
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  color: #bf0000;
}

.ai-agent__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #333;
}

.ai-agent__title-lg {
  font-size: 22px;
}

.ai-agent__search-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  align-self: stretch;
}

.ai-agent__search-link {
  width: 100%;
}

.ai-agent__search-img {
  width: 100%;
  height: auto;
}

.ai-agent__note {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: #4d4d4d;
}

/* ---------- Proposal cards ---------- */
.ai-agent__proposal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 10px;
  background: #f3f9fd;
}

.ai-agent__proposal-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  color: #1a1a1a;
}

.ai-agent__cards {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  align-self: stretch;
}

.ai-agent__card {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 32.5%;
  min-height: 114px;
  padding: 10px 0;
  overflow: hidden;
  background: #fff;
  border-radius: 8.5px;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.ai-agent__card-icon {
  display: block;
  flex-shrink: 0;
  width: 80px;
  margin-bottom: 4px;
}

.ai-agent__card-icon--price {
  height: 60px;
}

.ai-agent__card-icon--voice {
  height: 54px;
}

.ai-agent__card-icon--car {
  height: 56px;
}

.ai-agent__card-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: #1a1a1a;
}
