@charset "UTF-8";

.ai-hero h1 .kh-title__accent {
  color: var(--purple);
}

.ai-hero h1 .kh-title__phrase {
  display: inline-block;
  white-space: nowrap;
}

.ai-hero__points {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}

.ai-hero__points li {
  position: relative;
  padding: 0 clamp(18px, 2.8vw, 38px);
  color: var(--navy);
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 800;
}

.ai-hero__points li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--purple);
}

.ai-hero__points li + li {
  border-left: 1px solid #ddd5f7;
}

.ai-hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.ai-hero .ai-hero__actions .renewal-button {
  margin: 0;
}

.ai-challenges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.ai-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ai-quote {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 138px;
  margin: 0;
  padding: 30px 32px 30px 64px;
  border: 1px solid #ece8fb;
  border-radius: 14px;
  color: var(--navy);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 10px 30px rgb(38 27 110 / 4%);
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 700;
  line-height: 1.8;
}

.ai-quote::before {
  content: "“";
  position: absolute;
  top: 19px;
  left: 25px;
  color: #b69aff;
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: 1;
}

.ai-reason {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  text-align: left;
}

.ai-reason .renewal-number {
  margin: 0;
}

.ai-reason h3,
.ai-reason p {
  text-align: left;
}

.ai-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-process__item {
  position: relative;
  min-height: 170px;
  padding: 30px 22px;
  border: 1px solid #ece8fb;
  color: var(--navy);
  background: rgb(255 255 255 / 95%);
  text-align: center;
}

.ai-process__item:first-child {
  border-radius: 14px 0 0 14px;
}

.ai-process__item:last-child {
  border-radius: 0 14px 14px 0;
}

.ai-process__item + .ai-process__item {
  border-left: 0;
}

.ai-process__item:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -13px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-size: 12px;
  transform: translateY(-50%);
}

.ai-process__item > span {
  color: #a17bfa;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

.ai-process__item h3 {
  margin: 20px 0 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
}

.ai-process__item small {
  display: block;
  margin-top: 4px;
  color: var(--renewal-muted);
  font-size: 11px;
}

.ai-process__goal {
  margin: 28px 0 0;
  color: var(--purple);
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 800;
  text-align: center;
}

.ai-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(34px, 4vw, 50px) clamp(28px, 6vw, 72px);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(110deg, #6425f7, #332083);
}

.ai-contact .renewal-eyebrow {
  color: #d8c9ff;
}

.ai-contact h2 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.5;
}

.ai-contact p:last-child {
  margin: 14px 0 0;
  font-weight: 600;
}

.ai-contact .renewal-button {
  flex: 0 0 auto;
}

@media (max-width: 900px) and (min-width: 768px) {
  .ai-hero__points li {
    padding-inline: 16px;
  }

  .ai-reason {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
  }

  .ai-reason .renewal-number {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .ai-contact {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .ai-hero__points {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    gap: 10px;
    margin-top: 24px;
    text-align: left;
  }

  .ai-hero__points li {
    padding: 0;
    border: 0 !important;
    font-size: 13px;
  }

  .ai-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 26px;
  }

  .ai-hero__actions .renewal-button {
    width: 100%;
  }

  .ai-challenges,
  .ai-reasons,
  .ai-process {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-quote {
    min-height: 0;
    padding: 24px 22px 24px 52px;
    font-size: 15px;
  }

  .ai-quote::before {
    top: 17px;
    left: 19px;
    font-size: 40px;
  }

  .ai-reason {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
  }

  .ai-reason .renewal-number {
    width: 54px;
    height: 54px;
    font-size: 25px;
  }

  .ai-process {
    gap: 12px;
  }

  .ai-process__item,
  .ai-process__item:first-child,
  .ai-process__item:last-child {
    min-height: 0;
    padding: 24px 22px;
    border: 1px solid #ece8fb;
    border-radius: 12px;
  }

  .ai-process__item + .ai-process__item {
    border-left: 1px solid #ece8fb;
  }

  .ai-process__item:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -19px;
    transform: translateX(50%);
  }

  .ai-contact {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    padding: 30px 24px;
  }

  .ai-contact .renewal-button {
    width: 100%;
  }
}

/* KAKEHASHI content supplied in the v3 mock. */
    /* KAKEHASHI page content. */
    .kh-page .ai-hero__points { flex-wrap: wrap; row-gap: 10px; }
    .kh-page .ai-hero__points li { white-space: nowrap; }
    .kh-lead { margin: -22px 0 36px; max-width: 820px; font-size: 14px; font-weight: 600; line-height: 1.95; color: #3c3860; }

    /* troubles */
    .kh-troubles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
    .kh-troubles li { position: relative; padding: 24px 24px 24px 60px; border: 1px solid #ece8fb; border-radius: 14px; background: rgb(255 255 255 / 94%); box-shadow: 0 10px 30px rgb(38 27 110 / 4%); color: var(--navy); font-size: 15px; font-weight: 700; line-height: 1.8; }
    .kh-troubles li::before { content: "✓"; position: absolute; left: 22px; top: 24px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #ece4ff; color: var(--purple); font-size: 14px; font-weight: 900; }
    .kh-troubles li small { display: block; margin-top: 6px; color: var(--renewal-muted); font-size: 12.5px; font-weight: 600; line-height: 1.75; }
    .kh-conclusion { margin: 28px 0 0; padding: 24px 32px; border-radius: 14px; color: #fff; background: linear-gradient(110deg, #6225f7, #382092); font-size: clamp(16px, 1.7vw, 21px); font-weight: 800; line-height: 1.75; }
    .kh-conclusion small { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; opacity: .88; line-height: 1.9; }

    /* how we work */
    .kh-how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .kh-how article { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 28px 26px; border: 1px solid #ece8fb; border-radius: 14px; background: rgb(255 255 255 / 95%); box-shadow: 0 10px 30px rgb(38 27 110 / 4%); }
    .kh-how .renewal-number { width: 56px; height: 56px; margin: 0; font-size: 24px; }
    .kh-how h3 { margin: 4px 0 10px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
    .kh-how p { margin: 0; color: var(--renewal-muted); font-size: 13.5px; line-height: 1.9; }
    .kh-how q { display: block; margin: 0 0 10px; padding: 10px 14px; border-left: 3px solid #c9b8ff; background: #f8f5ff; color: var(--navy); font-size: 13.5px; font-weight: 700; quotes: none; }

    /* for whom */
    .kh-for { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .kh-for article { padding: 30px 26px 28px; border: 1px solid #ece8fb; border-radius: 14px; background: rgb(255 255 255 / 95%); box-shadow: 0 10px 30px rgb(38 27 110 / 4%); }
    .kh-for .kh-tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 20px; background: #ece4ff; color: #7946f5; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
    .kh-for h3 { margin: 0 0 12px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
    .kh-for p { margin: 0; color: var(--renewal-muted); font-size: 13.5px; line-height: 1.9; }
    .kh-for p b { color: var(--navy); }

    /* style of support */
    .kh-style { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
    .kh-style article { padding: 30px 30px 28px; border: 1px solid #ece8fb; border-radius: 14px; background: rgb(255 255 255 / 95%); box-shadow: 0 10px 30px rgb(38 27 110 / 4%); }
    .kh-style article:first-child { border-color: #d7cafa; background: linear-gradient(160deg, #f6f1ff, #fff 60%); }
    .kh-style .kh-tag { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 20px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
    .kh-style h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.5; }
    .kh-style p { margin: 0; color: #3c3860; font-size: 13.5px; font-weight: 600; line-height: 1.9; }
    .kh-style ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
    .kh-style ul li { position: relative; padding-left: 20px; color: var(--renewal-muted); font-size: 13px; line-height: 1.8; }
    .kh-style ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
    .kh-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: f; }
    .kh-flow li { position: relative; padding: 18px 18px 18px 54px; border: 1px solid #ece8fb; border-radius: 12px; background: rgb(255 255 255 / 95%); font-size: 13.5px; font-weight: 800; color: var(--navy); line-height: 1.6; }
    .kh-flow li::before { counter-increment: f; content: counter(f); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 13px; font-weight: 900; }
    .kh-flow li small { display: block; margin-top: 2px; color: var(--renewal-muted); font-size: 12px; font-weight: 600; }

    /* case */
    .kh-case { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: 36px 40px; border: 1px solid #ece8fb; border-radius: 16px; background: rgb(255 255 255 / 94%); box-shadow: 0 10px 30px rgb(38 27 110 / 4%); }
    .kh-case__industry { margin: 0 0 12px; display: flex; gap: 12px; align-items: center; }
    .kh-case__industry b { font-size: 15px; }
    .kh-case__industry small { color: var(--renewal-muted); font-size: 11px; font-weight: 700; }
    .kh-case h3 { margin: 0 0 14px; font-size: clamp(20px, 2vw, 26px); line-height: 1.55; }
    .kh-case h3 span { color: var(--purple); }
    .kh-case p { margin: 0; color: #3c3860; font-size: 14px; font-weight: 600; line-height: 1.95; }
    .kh-case__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
    .kh-case__list li { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 10px; background: #f6f2ff; font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.6; }
    .kh-case__list li b { color: var(--purple); font-weight: 900; white-space: nowrap; }
    .kh-note { margin: 16px 0 0; color: var(--renewal-muted); font-size: 11.5px; font-weight: 600; }

    /* contact */
    .kh-contact-note { margin: 14px 0 0 !important; font-size: 13px !important; opacity: .85; }

    @media (max-width: 1000px) and (min-width: 768px) {
      .kh-troubles, .kh-for { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .kh-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 767px) {
      .kh-lead { font-size: 13px; margin: -12px 0 24px; }
      .kh-troubles, .kh-how, .kh-for, .kh-style, .kh-flow, .kh-case { grid-template-columns: minmax(0, 1fr); }
      .kh-troubles li { padding: 20px 20px 20px 56px; font-size: 14px; }
      .kh-how article { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 22px 20px; }
      .kh-how .renewal-number { width: 48px; height: 48px; font-size: 20px; }
      .kh-case, .kh-style article { padding: 24px 22px; }
      .kh-conclusion { padding: 20px 22px; }
    }

/* KAKEHASHI uses the shared internal-page hero design. */
.kh-page .ai-hero__points,
.kh-page .ai-hero__actions { justify-content: flex-start; }
.kh-page .ai-hero__actions .renewal-button + .renewal-button { margin-left: 0; }
.kh-page .ai-contact { border-radius: var(--panel-radius); }

@media (max-width: 767px) {
  .kh-page .renewal-hero__description br { display: none; }
  .kh-page .ai-hero__points { width: 100%; margin-inline: 0; }
  .kh-page .ai-hero__points li { white-space: normal; }
  .kh-page .ai-hero__actions .renewal-button { padding-inline: 18px; font-size: 12px; gap: 12px; }
  .kh-case__industry { flex-wrap: wrap; }
  .kh-case__list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .kh-case__list li b { white-space: normal; }
}
