.ailearn-wrap,
.ailearn-wrap * {
  box-sizing: border-box;
}

.ailearn-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "Meiryo", sans-serif;
  color: #202124;
  line-height: 1.8;
}

.ailearn-hero {
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #fff7ec 100%);
  border: 1px solid #dce8ff;
  border-radius: 28px;
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(30, 80, 160, 0.08);
}

.ailearn-badge {
  display: inline-block;
  background: #1f6feb;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ailearn-hero h1 {
  font-size: 32px;
  line-height: 1.45;
  margin: 0 0 18px;
  color: #102a43;
}

.ailearn-hero p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #41546b;
  font-size: 16px;
}

.ailearn-main-btn {
  display: inline-block;
  appearance: none;
  background: #ff7a00;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.24);
  cursor: pointer;
  border: none;
  font-size: 16px;
  line-height: 1.5;
  font-family: inherit;
}

.ailearn-sub {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7c93;
}

.ailearn-section {
  margin-top: 48px;
}

.ailearn-section h2 {
  font-size: 25px;
  line-height: 1.45;
  margin: 0 0 16px;
  color: #102a43;
  border-left: 6px solid #1f6feb;
  padding-left: 12px;
}

.ailearn-leadbox {
  background: #fffaf3;
  border: 1px solid #ffe0b8;
  border-radius: 20px;
  padding: 22px;
  margin-top: 18px;
}

.ailearn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}

.ailearn-card {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 8px 22px rgba(15, 40, 80, 0.05);
}

.ailearn-card h3 {
  color: #12355b;
  margin: 0 0 8px;
  font-size: 18px;
}

.ailearn-card p {
  margin: 0;
  color: #52616f;
  font-size: 15px;
}

.ailearn-question {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 22px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(15, 40, 80, 0.05);
}

.ailearn-q-title {
  font-size: 18px;
  font-weight: 800;
  color: #12355b;
  margin-bottom: 14px;
}

.ailearn-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ailearn-option {
  display: block;
  width: 100%;
  appearance: none;
  text-align: left;
  background: #f7faff;
  border: 1px solid #dce8ff;
  border-radius: 15px;
  padding: 13px 14px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.6;
  color: #243b53;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}

.ailearn-option:hover {
  background: #eef5ff;
}

.ailearn-option.selected,
.ailearn-option[aria-pressed="true"] {
  background: #1f6feb;
  color: #fff;
  border-color: #1f6feb;
  font-weight: 800;
}

.ailearn-check-area {
  text-align: center;
  background: #f6fff9;
  border: 1px solid #cdeed8;
  border-radius: 22px;
  padding: 28px 18px;
  margin-top: 24px;
}

.ailearn-warning {
  display: none;
  color: #d93025;
  font-weight: 800;
  margin-top: 12px;
}

.ailearn-result {
  display: none;
  margin-top: 34px;
  background: #fff;
  border: 2px solid #1f6feb;
  border-radius: 26px;
  padding: 28px 22px;
  box-shadow: 0 12px 28px rgba(30, 80, 160, 0.08);
}

.ailearn-result-label {
  display: inline-block;
  background: #ff7a00;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.ailearn-result h2 {
  border: none;
  padding: 0;
  margin: 0 0 14px;
  color: #102a43;
}

.ailearn-result h3 {
  color: #12355b;
  margin-top: 24px;
  margin-bottom: 10px;
}

.ailearn-result ul {
  padding-left: 20px;
}

.ailearn-result li {
  margin-bottom: 7px;
}

.ailearn-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.ailearn-cta {
  display: inline-block;
  background: #1f6feb;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 999px;
}

.ailearn-cta.orange {
  background: #ff7a00;
}

.ailearn-reset {
  appearance: none;
  background: #fff;
  color: #1f6feb;
  border: 1px solid #1f6feb;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.ailearn-final {
  background: #102a43;
  color: #fff;
  border-radius: 26px;
  padding: 34px 22px;
  text-align: center;
  margin-top: 48px;
}

.ailearn-final h2 {
  color: #fff;
  border: none;
  padding: 0;
  margin-bottom: 14px;
}

.ailearn-final p {
  color: #d9e6f2;
  margin-bottom: 22px;
}

.ailearn-note {
  font-size: 13px;
  color: #6b7c93;
  margin-top: 22px;
}

@media (max-width: 768px) {
  .ailearn-wrap {
    padding: 24px 12px 56px;
  }

  .ailearn-hero {
    padding: 36px 18px;
    border-radius: 22px;
  }

  .ailearn-hero h1 {
    font-size: 25px;
  }

  .ailearn-section h2 {
    font-size: 22px;
  }

  .ailearn-cta-row {
    flex-direction: column;
  }

  .ailearn-cta,
  .ailearn-reset {
    width: 100%;
    text-align: center;
  }
}
