@charset "utf-8";
.p-hero__inner._ai {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-hero__title._ai {
  font-size: 44px;
  line-height: 1.3;
  color: var(--primary-color);
}
.p-hero__lead._ai {
  font-size: 22px;
  line-height: 1.6;
}
@media (max-width: 767px) {
  .p-hero__lead._ai {
    & br {
      display: none;
    }
  }
}
.p-hero__desc._ai {
  max-width: 820px;
}
.p-hero__img-wrap._ai {
  width: min(100%,260px);
  margin-top: 4px;
  margin: 4px auto 0 0;
}

/* 目指す姿 (F2) */
.ai-vision-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.ai-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.ai-vision-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--bg-green-light);
  &:first-child {
    background: var(--bg-gray);
  }
  & h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
  }
  & p:last-child {
  font-size: 14px;
  color: var(--text-sub);
  }
}
.ai-vision-card-point {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  &._red {
    color: var(--accent-red);
  }
}
.ai-common-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  & p {
    font-size: 13px;
  }
  & b {
    color: var(--primary-color);
  }
}
@media (max-width: 767px) {
  .ai-common-note {
    & b {
      display: block;
    }
  }
}




/* なぜ今 (F3) */
.ai-whynow-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.ai-whynow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.ai-whynow-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--bg-white);
  & h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
  }
  & p:last-child {
    font-size: 14px;
    color: var(--text-sub);
  }
}
.ai-whynow-card-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
}


/* 活用イメージ (F4) */
.ai-usecase-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.ai-usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.ai-usecase-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-gray);
}
.ai-usecase-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 0;
  & h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-main);
  }
}
.ai-usecase-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.1em;
}
.ai-usecase-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  & p {
    font-size: 15px;
    color: var(--text-sub);
  }
}


/* HATSとの関係 (F5) */
.ai-relation-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px;
  background: var(--bg-white);
}
.ai-relation-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 560px;
  min-width: 0;
  & h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
  }
  & p {
    font-size: 15px; color: var(--text-sub);
  }
}
.ai-relation-btn {
  min-height: 48px;
  padding: 0 28px;
}
