/* AI実装顧問 LP / form styles. Scoped to .ai-komon and .ai-komon-contact. */
.ai-komon,
.ai-komon-contact {
  --ak-cyan: #22d3ee;
  --ak-blue: #2563eb;
  --ak-purple: #7c3aed;
  --ak-ink: #08122a;
  --ak-navy: #0e1b3d;
  --ak-card: #ffffff;
  --ak-line: rgba(14, 27, 61, 0.12);
  background: #fbfcff;
}

.ak-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ak-blue);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ak-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ak-cyan), var(--ak-purple));
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.16);
}

.ak-cta,
.ak-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 17px 26px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #0e1b3d 62%, #7c3aed 100%);
  color: #fff;
  font-family: var(--f-jp-head);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 18px 38px -18px rgba(37, 99, 235, 0.7);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.ak-cta:hover,
.ak-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 22px 46px -18px rgba(37, 99, 235, 0.85);
}
.ak-cta__icon {
  display: inline-flex;
  transition: transform 180ms ease;
}
.ak-cta:hover .ak-cta__icon {
  transform: translateX(3px);
}
.ak-cta--compact {
  min-height: 50px;
  padding: 15px 22px;
  font-size: 15px;
}

.ak-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(34, 211, 238, 0.25), transparent 32%),
    radial-gradient(circle at 15% 82%, rgba(124, 58, 237, 0.2), transparent 34%),
    linear-gradient(135deg, #08122a 0%, #0e1b3d 58%, #111827 100%);
  padding: clamp(88px, 10vw, 136px) 0 clamp(64px, 8vw, 112px);
}
.ak-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
  pointer-events: none;
}
.ak-motion-ready .ak-hero__grid {
  animation: ak-grid-drift 18s linear infinite;
}
.ak-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 940px) {
  .ak-hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  }
}
.ak-hero__label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
}
.ak-motion-ready .ak-hero__label,
.ak-motion-ready .ak-hero h1,
.ak-motion-ready .ak-hero__sublead,
.ak-motion-ready .ak-hero__lead,
.ak-motion-ready .ak-tags,
.ak-motion-ready .ak-hero__actions {
  animation: ak-hero-rise 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ak-motion-ready .ak-hero h1 {
  animation-delay: 80ms;
}
.ak-motion-ready .ak-hero__sublead {
  animation-delay: 150ms;
}
.ak-motion-ready .ak-hero__lead {
  animation-delay: 220ms;
}
.ak-motion-ready .ak-tags {
  animation-delay: 290ms;
}
.ak-motion-ready .ak-hero__actions {
  animation-delay: 360ms;
}
.ak-hero h1 {
  margin: 0;
  max-width: 820px;
  color: #fff;
  font-family: var(--f-jp-head);
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.22;
  text-wrap: balance;
}
.ak-hero__lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 2;
}
.ak-hero__sublead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #ecfeff;
  font-family: var(--f-jp-head);
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 800;
  line-height: 1.75;
}
.ak-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
}
.ak-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(34, 211, 238, 0.38);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #e0faff;
  font-size: 13px;
  font-weight: 700;
}
.ak-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}
.ak-hero__actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.7;
}
.ak-hero__panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px -52px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.ak-hero__panel-head {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ak-hero__panel-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--ak-cyan);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.ak-hero__panel-head strong {
  font-size: 22px;
}
.ak-flow-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ak-flow-row span {
  color: var(--ak-cyan);
  font-family: var(--f-mono);
  font-size: 12px;
}
.ak-flow-row small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}
.ak-flow-row--why {
  grid-template-columns: 42px 1fr;
}
.ak-flow-row--why small {
  display: block;
  margin-top: 5px;
  line-height: 1.65;
}

/* Hero portrait card (本人写真を主役に) */
.ak-hero__portrait {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px -52px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.ak-hero__portrait-photo {
  overflow: hidden;
  background: #0b1530;
}
.ak-hero__portrait-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.ak-hero__portrait-cap {
  padding: 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ak-hero__portrait-cap strong {
  display: block;
  color: #fff;
  font-family: var(--f-jp-head);
  font-size: 20px;
}
.ak-hero__portrait-cap span {
  display: block;
  margin-top: 4px;
  color: var(--ak-cyan);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.ak-hero__price-note {
  font-size: 13px;
}
.ak-hero__tools {
  margin: 16px 0 0;
  color: var(--ak-cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Hurdle-lowering note under CTAs (予約のハードルを下げる) */
.ak-cta-note {
  margin-top: 16px;
}
.ak-cta-note p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 13px;
  line-height: 1.8;
}
.ak-cta-note__alt {
  margin-top: 6px;
  font-size: 12.5px;
}
.ak-cta-note__alt a {
  color: var(--ak-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ak-cta-note--light p {
  color: rgba(255, 255, 255, 0.74);
}
.ak-cta-note--light .ak-cta-note__alt a {
  color: var(--ak-cyan);
}

/* Compressed WHY strip (旧ヒーロー右パネルの5つの強みを横ストリップ化) */
.ak-why-strip {
  background: var(--ak-navy);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.ak-why-strip__inner {
  display: grid;
  gap: 16px;
  padding: 28px 0;
  align-items: center;
}
@media (min-width: 900px) {
  .ak-why-strip__inner {
    grid-template-columns: auto 1fr;
    gap: 28px;
  }
}
.ak-why-strip__label {
  color: var(--ak-cyan);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.ak-why-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px 24px;
}
@media (min-width: 720px) {
  .ak-why-strip ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .ak-why-strip ul {
    grid-template-columns: repeat(3, 1fr);
  }
}
.ak-why-strip li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.6;
}
.ak-why-strip li b {
  color: var(--ak-cyan);
  font-family: var(--f-mono);
  font-size: 12px;
}

.ak-section {
  padding: clamp(64px, 9vw, 118px) 0;
}
.ak-section--alt {
  background: #f2f6fb;
}
.ak-section--ink {
  background: var(--ak-navy);
  color: #fff;
}
.ak-section-head {
  max-width: 860px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.ak-section-head h2 {
  margin: 14px 0 0;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 850;
  line-height: 1.36;
  text-wrap: balance;
}
.ak-section-head p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--fg-soft);
  line-height: 1.95;
}
.ak-section-head--light h2,
.ak-section-head--light p {
  color: #fff;
}
.ak-section-head--light p {
  color: rgba(255, 255, 255, 0.74);
}

.ak-pain-grid,
.ak-card-grid,
.ak-record-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .ak-pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ak-card-grid,
  .ak-record-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.ak-pain-card,
.ak-record-card,
.ak-service-card {
  min-width: 0;
  border: 1px solid var(--ak-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px -34px rgba(8, 18, 42, 0.45);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.ak-pain-card:hover,
.ak-record-card:hover,
.ak-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 22px 54px -38px rgba(37, 99, 235, 0.42);
}
.ak-pain-card,
.ak-record-card {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 20px;
  color: var(--fg);
  line-height: 1.75;
}
.ak-pain-card svg,
.ak-record-card svg {
  margin-top: 4px;
  color: var(--ak-blue);
}

/* お悩みカードはタイトル＋本文のボックス形式 */
@media (min-width: 860px) {
  .ak-pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.ak-pain-card {
  display: block;
  padding: 26px;
}
.ak-pain-card h3 {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: 18px;
  line-height: 1.5;
}
.ak-pain-card h3 svg {
  margin-top: 0;
  color: var(--ak-blue);
}
.ak-pain-card p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.9;
}
.ak-service-card {
  padding: 24px;
}
.ak-service-card span {
  color: var(--ak-blue);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.ak-service-card h3 {
  margin: 18px 0 0;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: 18px;
  line-height: 1.55;
}
.ak-service-card h4 {
  margin: 0 0 9px;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: 18px;
  line-height: 1.5;
}
.ak-service-card p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.8;
}

.ak-about-code,
.ak-profile {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .ak-about-code,
  .ak-profile {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .ak-about-code {
    align-items: stretch;
  }
  .ak-profile {
    align-items: center;
  }
}
.ak-about-code__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--ak-line);
  border-radius: 16px;
  background: #fff;
}
.ak-about-code__text p,
.ak-profile__body p {
  margin: 0 0 16px;
  color: var(--fg-soft);
  line-height: 2;
}
.ak-about-code__text p:last-child,
.ak-profile__body p:last-child {
  margin-bottom: 0;
}
.ak-code-capabilities {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
  height: 100%;
}
.ak-code-capabilities div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(124, 58, 237, 0.06));
}
.ak-code-capabilities span {
  display: block;
  color: var(--ak-blue);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.ak-code-capabilities strong {
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: 18px;
}

.ak-service-groups {
  display: grid;
  gap: 20px;
}
.ak-service-group {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--ak-line);
  border-radius: 16px;
  background: #fff;
}
@media (min-width: 900px) {
  .ak-service-group {
    grid-template-columns: 220px 1fr;
  }
}
.ak-service-group__head span {
  color: var(--ak-blue);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.ak-service-group__head h3 {
  margin: 8px 0 0;
  color: var(--ak-navy);
  font-family: var(--f-jp-head);
  font-size: 24px;
}
.ak-service-group__items {
  display: grid;
  gap: 14px;
}
@media (min-width: 680px) {
  .ak-service-group__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ak-concept {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .ak-concept {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}
.ak-concept__body {
  border-left: 2px solid var(--ak-cyan);
  padding-left: clamp(22px, 3vw, 38px);
}
.ak-concept__body p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 2.05;
}

.ak-section--growth {
  background:
    radial-gradient(circle at 92% 8%, rgba(34, 211, 238, 0.12), transparent 28%),
    linear-gradient(180deg, #fff, #f8fbff);
}
.ak-growth {
  display: grid;
  gap: 28px;
}
@media (min-width: 980px) {
  .ak-growth {
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
  }
}
.ak-growth__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 64px -50px rgba(15, 23, 42, 0.38);
}
.ak-growth__text p {
  margin: 0 0 18px;
  color: var(--fg-soft);
  line-height: 2;
}
.ak-growth__text p:last-child {
  margin-bottom: 0;
}
.ak-growth__cards {
  display: grid;
  gap: 14px;
}
@media (min-width: 980px) {
  .ak-growth__cards {
    grid-template-rows: repeat(4, 1fr);
    height: 100%;
  }
}
.ak-growth-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--ak-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px -36px rgba(8, 18, 42, 0.4);
}
.ak-growth-card svg {
  display: grid;
  place-items: center;
  margin-top: 3px;
  color: var(--ak-blue);
}
.ak-growth-card h3 {
  margin: 0 0 6px;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: 18px;
  line-height: 1.5;
}
.ak-growth-card p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.8;
}

.ak-mid-cta {
  padding: 44px 0;
  background: #fff;
  border-block: 1px solid var(--ak-line);
}
.ak-mid-cta__inner {
  display: grid;
  gap: 22px;
  align-items: center;
}
@media (min-width: 820px) {
  .ak-mid-cta__inner {
    grid-template-columns: 1fr auto;
  }
}
.ak-mid-cta h2 {
  margin: 8px 0 0;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.4;
}
.ak-mid-cta p {
  margin: 8px 0 0;
  color: var(--fg-soft);
  line-height: 1.8;
}

.ak-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ak-line);
  border-radius: 14px;
  background: #fff;
}
.ak-compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.ak-compare th,
.ak-compare td {
  padding: 20px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.75;
}
.ak-compare thead th {
  background: var(--ak-navy);
  color: #fff;
  font-family: var(--f-jp-head);
}
.ak-compare tbody th {
  width: 19%;
  color: var(--ak-blue);
  font-family: var(--f-jp-head);
}
.ak-compare tbody td:last-child {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.08), rgba(124, 58, 237, 0.05));
  color: var(--fg);
  font-weight: 700;
}

.ak-price {
  display: grid;
  gap: 18px;
}
@media (min-width: 880px) {
  .ak-price {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.ak-price__main,
.ak-price__rows {
  border: 1px solid var(--ak-line);
  border-radius: 16px;
  background: #fff;
}
.ak-price__main {
  padding: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(circle at 88% 16%, rgba(34, 211, 238, 0.18), transparent 34%),
    #fff;
}
.ak-price__main > span {
  color: var(--ak-blue);
  font-family: var(--f-jp-head);
  font-weight: 800;
}
.ak-price__main strong {
  display: block;
  margin: 8px 0 8px;
  color: var(--ak-navy);
  font-family: var(--f-display);
  font-size: clamp(58px, 8vw, 96px);
  line-height: 1;
}
.ak-price__main strong small {
  font-family: var(--f-jp-head);
  font-size: clamp(18px, 2.4vw, 28px);
  margin-left: 8px;
}
.ak-price--monthly .ak-price__main strong {
  font-size: clamp(82px, 12vw, 136px);
}
.ak-price__main p,
.ak-note,
.ak-lead {
  color: var(--fg-soft);
  line-height: 1.95;
}
.ak-price__rows {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ak-price__rows div {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 26px 28px;
  border-top: 1px solid var(--line-soft);
  align-items: center;
}
.ak-price__rows div:first-child {
  border-top: 0;
}
.ak-price__rows span {
  color: var(--fg-soft);
}
.ak-price__rows strong {
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: 22px;
}
.ak-note {
  max-width: 860px;
  margin: 22px 0 0;
}
.ak-price-anchor {
  max-width: 860px;
  margin: 22px 0 0;
  padding: 18px 22px;
  border-left: 4px solid var(--ak-blue);
  background: #eef6ff;
  color: var(--ak-navy);
  font-family: var(--f-jp-head);
  font-weight: 800;
  line-height: 1.8;
}

/* Refund-guarantee badge pulled up next to price CTA (返金保証の先回り提示) */
.ak-price-guarantee {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 18px 0 20px;
  padding: 16px 18px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(124, 58, 237, 0.06));
}
.ak-price-guarantee__badge {
  display: inline-grid;
  place-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ak-blue), var(--ak-purple));
  color: #fff;
  font-family: var(--f-jp-head);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.ak-price-guarantee p {
  margin: 0;
  color: var(--ak-navy);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.7;
}

/* CTA + note stack inside the case-study mid CTA */
.ak-mid-cta__act {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.ak-two {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .ak-two {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
  }
}
.ak-case-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(34, 211, 238, 0.24), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}
.ak-case-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .ak-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ak-case-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(circle at 14% 18%, rgba(34, 211, 238, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #eefaff 52%, #f7f5ff 100%);
  color: var(--fg);
  box-shadow: 0 24px 70px -50px rgba(15, 23, 42, 0.42);
}
.ak-case-card__head {
  display: flex;
  min-height: 74px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.18);
}
.ak-case-card__head span {
  display: block;
  color: #0891b2;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.ak-case-card__head strong {
  display: block;
  color: #0f172a;
  font-family: var(--f-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  white-space: nowrap;
}
.ak-case-card h3 {
  margin: 0;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.55;
}
.ak-case-card p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.9;
}
.ak-case-card p.ak-case-metric {
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 3px solid var(--ak-blue);
  background: rgba(37, 99, 235, 0.08);
  color: var(--ak-navy);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.65;
}
.ak-tool-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.ak-tool-chain span {
  padding: 9px 13px;
  border-radius: 999px;
  background: #e0f7ff;
  color: #075985;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.18);
  font-weight: 800;
}
.ak-tool-chain b {
  color: #7c3aed;
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1;
}
.ak-case-note {
  max-width: 860px;
  margin: 24px auto 0;
  color: var(--fg-soft);
  text-align: center;
  line-height: 1.9;
}

.ak-profile {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--ak-line);
  border-radius: 18px;
  background: #fff;
}
.ak-profile__photo {
  overflow: hidden;
  border-radius: 16px;
  background: #eef2f7;
}
.ak-profile__photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.ak-profile__body h3 {
  margin: 0 0 6px;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: clamp(24px, 3vw, 34px);
}
.ak-profile__role {
  color: var(--ak-blue) !important;
  font-family: var(--f-jp-head);
  font-weight: 800;
}
.ak-record-grid--profile {
  margin-top: 28px;
}

.ak-roadmap {
  display: grid;
  gap: 16px;
}
.ak-roadmap__item {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--ak-line);
  border-radius: 16px;
  background: #fff;
}
@media (min-width: 860px) {
  .ak-roadmap__item {
    grid-template-columns: 260px 1fr;
  }
}
.ak-roadmap__item span {
  color: var(--ak-blue);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.ak-roadmap__item h3 {
  margin: 8px 0 0;
  color: var(--ak-navy);
  font-family: var(--f-jp-head);
  font-size: 21px;
  line-height: 1.45;
}
.ak-roadmap__item ul {
  margin: 0;
  padding-left: 20px;
  color: var(--fg-soft);
  line-height: 1.9;
}
.ak-roadmap-cta {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 24px;
  border-radius: 16px;
  background: var(--ak-navy);
  color: #fff;
}
@media (min-width: 820px) {
  .ak-roadmap-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.ak-roadmap-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
}

.ak-guarantee h3 {
  margin: 28px 0 10px;
  color: #fff;
  font-family: var(--f-jp-head);
  font-size: 20px;
}
.ak-guarantee__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}
.ak-guarantee__examples span {
  padding: 10px 14px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #ecfeff;
  font-size: 13px;
  font-weight: 800;
}
.ak-list-card {
  list-style: none;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--ak-line);
  border-radius: 14px;
  background: #fff;
}
.ak-list-card li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  line-height: 1.8;
}
.ak-list-card li:first-child {
  border-top: 0;
}
.ak-list-card svg {
  margin-top: 5px;
  color: var(--ak-blue);
}
.ak-guarantee {
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(34, 211, 238, 0.22), transparent 30%),
    linear-gradient(135deg, #08122a, #0e1b3d);
}
.ak-guarantee__box {
  max-width: 980px;
}
.ak-guarantee p {
  max-width: 860px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 2.05;
}
.ak-guarantee__note {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13.5px;
  line-height: 1.9;
}
.ak-faq {
  border-radius: 14px;
  overflow: hidden;
}

.ak-final {
  padding: clamp(70px, 10vw, 124px) 0;
  background: #fff;
}
.ak-final__inner {
  max-width: 920px;
  text-align: center;
}
.ak-final .ak-eyebrow {
  justify-content: center;
}
.ak-final h2 {
  margin: 16px auto 16px;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.38;
  text-wrap: balance;
}
.ak-final p {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--fg-soft);
  line-height: 1.95;
}

.ak-contact-hero {
  padding: clamp(78px, 9vw, 128px) 0 clamp(48px, 6vw, 86px);
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(34, 211, 238, 0.22), transparent 34%),
    linear-gradient(135deg, #08122a, #0e1b3d);
}
.ak-contact-hero h1 {
  max-width: 840px;
  margin: 16px 0 18px;
  color: #fff;
  font-family: var(--f-jp-head);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.25;
}
.ak-contact-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 2;
}
.ak-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.ak-crumb a {
  color: rgba(255, 255, 255, 0.72);
}
.ak-contact-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 980px) {
  .ak-contact-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  }
}
.ak-form,
.ak-side-card {
  border: 1px solid var(--ak-line);
  border-radius: 16px;
  background: #fff;
}
.ak-form {
  padding: clamp(26px, 4vw, 46px);
}
.ak-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ak-form-alert {
  margin: 18px 0 4px;
  padding: 14px 16px;
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 10px;
  background: #fff7f7;
  color: #991b1b;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.7;
}
.ak-form-alert[hidden] {
  display: none;
}
.ak-form__head {
  margin-bottom: 28px;
}
.ak-form__head h2 {
  margin: 12px 0 8px;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: clamp(24px, 3vw, 34px);
}
.ak-form__head p {
  margin: 0;
  color: var(--fg-soft);
  line-height: 1.8;
  font-size: 14px;
}
.ak-form__grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 680px) {
  .ak-form__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ak-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.ak-field span,
.ak-checks legend {
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: 14px;
  font-weight: 700;
}
.ak-field em {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ak-blue);
  color: #fff;
  font-size: 10px;
  font-style: normal;
}
.ak-field input,
.ak-field select,
.ak-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  padding: 14px 15px;
}
.ak-field textarea {
  min-height: 150px;
  resize: vertical;
}
.ak-field input:focus,
.ak-field select:focus,
.ak-field textarea:focus {
  outline: 0;
  border-color: var(--ak-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #fff;
}
.ak-checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 2px 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ak-checks legend {
  padding: 0 8px;
}
@media (min-width: 680px) {
  .ak-checks {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ak-checks label,
.ak-agree {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.7;
}
.ak-agree {
  margin: 10px 0 22px;
}
.ak-agree a {
  color: var(--ak-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ak-submit {
  width: 100%;
  cursor: pointer;
}
.ak-contact-side {
  display: grid;
  gap: 16px;
}
@media (min-width: 980px) {
  .ak-contact-side {
    position: sticky;
    top: 96px;
  }
}
.ak-side-card {
  padding: 24px;
}
.ak-side-card--dark {
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.2), transparent 35%),
    var(--ak-navy);
}
.ak-side-card .mono {
  color: var(--ak-blue);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.ak-side-card--dark .mono {
  color: var(--ak-cyan);
}
.ak-side-card h2,
.ak-side-card h3 {
  margin: 10px 0 12px;
  color: var(--fg);
  font-family: var(--f-jp-head);
  line-height: 1.45;
}
.ak-side-card--dark h2 {
  color: #fff;
}
.ak-side-card p {
  margin: 0;
  color: var(--fg-soft);
  line-height: 1.85;
  font-size: 14px;
}
.ak-side-card--dark ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.ak-side-card--dark li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}
.ak-side-card--dark svg {
  margin-top: 4px;
  color: var(--ak-cyan);
}
.ak-thanks-box {
  max-width: 820px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.14), transparent 34%),
    #fff;
  box-shadow: 0 24px 70px -50px rgba(15, 23, 42, 0.42);
  text-align: center;
}
.ak-thanks-box__icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ak-blue), var(--ak-purple));
  color: #fff;
}
.ak-thanks-box h2 {
  margin: 22px 0 12px;
  color: var(--fg);
  font-family: var(--f-jp-head);
  font-size: clamp(24px, 3vw, 34px);
}
.ak-thanks-box p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--fg-soft);
  line-height: 2;
}
.ak-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}
.ak-text-link {
  color: var(--ak-blue);
  font-weight: 800;
}

.ak-motion-ready .ak-motion-target {
  opacity: 0;
  transform: translateY(24px);
}
.ak-motion-ready .ak-motion-target.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 680ms ease var(--ak-motion-delay, 0ms),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1) var(--ak-motion-delay, 0ms);
}
.ak-motion-ready .ak-case-card__head strong {
  animation: ak-soft-pulse 3200ms ease-in-out infinite;
}
.ak-motion-ready .ak-tool-chain span {
  animation: ak-chip-glow 4200ms ease-in-out infinite;
}
.ak-motion-ready .ak-tool-chain span:nth-of-type(2) {
  animation-delay: 260ms;
}
.ak-motion-ready .ak-tool-chain span:nth-of-type(3) {
  animation-delay: 520ms;
}

.ak-mobile-sticky-cta {
  display: none;
}

@keyframes ak-hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ak-grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 56px 56px, 56px 56px;
  }
}
@keyframes ak-soft-pulse {
  0%, 100% {
    text-shadow: 0 0 0 rgba(34, 211, 238, 0);
  }
  50% {
    text-shadow: 0 10px 32px rgba(34, 211, 238, 0.24);
  }
}
@keyframes ak-chip-glow {
  0%, 100% {
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.18);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.28), 0 10px 24px -18px rgba(14, 165, 233, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-komon *,
  .ai-komon *::before,
  .ai-komon *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 620px) {
  .ai-komon {
    padding-bottom: 86px;
  }
  .ak-hero {
    padding-top: 66px;
  }
  .ak-hero h1 br {
    display: none;
  }
  .ak-hero__actions,
  .ak-mid-cta__inner {
    align-items: stretch;
  }
  .ak-cta {
    width: 100%;
  }
  .ak-flow-row {
    grid-template-columns: 34px 1fr;
  }
  .ak-flow-row small {
    grid-column: 2;
  }
  .ak-section {
    padding-block: 58px;
  }
  .ak-price__rows div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ak-compare th,
  .ak-compare td {
    padding: 16px;
  }
  .ak-mobile-sticky-cta {
    position: fixed;
    z-index: 80;
    left: 16px;
    right: 16px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ak-blue), var(--ak-cyan));
    color: #fff;
    font-family: var(--f-jp-head);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 16px 36px -18px rgba(8, 47, 73, 0.88);
  }
  .ak-mobile-sticky-cta svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }
}

/* ---- PLANS ladder (2026-08-24 entry-ladder redesign) ---- */
.ak-section--ladder { background: #F4F6FB; }
.ak-ladder { display: grid; gap: 14px; }
.ak-ladder__item {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  background: #fff; border: 1px solid #E2E6F0; border-radius: 14px;
  padding: 22px 22px;
  align-items: center;
}
.ak-ladder__item--first { border-color: #2E3E80; border-width: 2px; box-shadow: 0 12px 30px -18px rgba(30,45,100,0.35); }
.ak-ladder__step {
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.22em;
  color: #2E3E80; font-weight: 700; white-space: nowrap;
}
.ak-ladder__item--first .ak-ladder__step { color: #fff; background: #2E3E80; padding: 4px 10px; border-radius: 999px; justify-self: start; }
.ak-ladder__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 8px; }
.ak-ladder__head h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.ak-ladder__head strong { font-size: 17px; color: #2E3E80; white-space: nowrap; }
.ak-ladder__main p { margin: 0 0 8px; font-size: 14px; line-height: 1.95; color: #47506b; }
.ak-ladder__note { font-size: 12px; color: #8a90a6; }
.ak-ladder__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border: 1px solid #2E3E80; border-radius: 999px;
  color: #2E3E80; font-weight: 700; font-size: 13.5px; white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.ak-ladder__cta:hover { background: #2E3E80; color: #fff; }
.ak-ladder__item--first .ak-ladder__cta { background: #2E3E80; color: #fff; }
.ak-ladder__item--first .ak-ladder__cta:hover { background: #1E2B5E; border-color: #1E2B5E; }
.ak-ladder__foot { margin-top: 18px; font-size: 13.5px; color: #47506b; text-align: center; }
@media (min-width: 860px) {
  .ak-ladder__item { grid-template-columns: 92px 1fr auto; gap: 24px; }
}

/* Options (post-diagnosis proposals) under the ladder */
.ak-options { margin-top: 26px; }
.ak-options__label {
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.18em;
  color: #8a90a6; margin-bottom: 12px; text-align: center;
}
.ak-options__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.ak-options__card {
  background: #fff; border: 1px dashed #C7CCDD; border-radius: 14px;
  padding: 20px 22px;
}
.ak-options__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 8px; }
.ak-options__head h3 { margin: 0; font-size: 16.5px; line-height: 1.5; }
.ak-options__head strong { font-size: 15.5px; color: #47506b; white-space: nowrap; }
.ak-options__card p { margin: 0; font-size: 13.5px; line-height: 1.95; color: #6a7188; }
@media (min-width: 860px) {
  .ak-options__grid { grid-template-columns: 1fr 1fr; }
}

/* Comparison table marks */
.ak-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-right: 8px; border-radius: 50%;
  font-size: 13px; font-weight: 700; flex-shrink: 0; vertical-align: middle;
}
.ak-mark--good { color: #1E7A4C; background: rgba(30,122,76,0.12); }
.ak-mark--soso { color: #8a90a6; background: rgba(138,144,166,0.14); }
.ak-mark--bad { color: #B4433A; background: rgba(180,67,58,0.12); }
