:root {
  --paper: #f7f7f2;
  --paper-2: #eeefe9;
  --white: #ffffff;
  --ink: #101a2e;
  --navy: #0b1630;
  --muted: #687184;
  --blue: #2456e5;
  --blue-deep: #163ca6;
  --ice: #e8eeff;
  --green: #34d399;
  --line: rgba(16, 26, 46, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --font-en: "DM Sans", "Helvetica Neue", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  line-height: 1.85;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 4px;
}

.ai-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.ai-skip:focus {
  transform: none;
}

.ai-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 82px;
  padding: 20px 5vw;
  display: flex;
  align-items: center;
  gap: 34px;
  background: rgba(247, 247, 242, 0.88);
  border-bottom: 1px solid rgba(16, 26, 46, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ai-brand {
  width: 174px;
  flex: 0 0 auto;
}

.ai-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 42px);
}

.ai-nav a,
.ai-back {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.ai-nav a {
  position: relative;
  color: var(--muted);
}

.ai-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.ai-nav a:hover::after,
.ai-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ai-back {
  margin-left: 12px;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.ai-back:hover,
.ai-back:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.ai-hero {
  min-height: 100svh;
  padding: 150px 7vw 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(50px, 7vw, 120px);
  position: relative;
  isolation: isolate;
}

.ai-hero::before {
  position: absolute;
  z-index: -1;
  top: 82px;
  right: 0;
  width: 40vw;
  height: calc(100% - 82px);
  content: "";
  background: linear-gradient(145deg, rgba(36, 86, 229, 0.06), transparent 65%);
}

.ai-eyebrow {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.ai-eyebrow span {
  width: 38px;
  height: 2px;
  background: currentColor;
}

.ai-hero h1 {
  font-size: clamp(48px, 7.2vw, 106px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.ai-hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.ai-hero-lead {
  margin-top: 42px;
  font-size: clamp(19px, 2vw, 29px);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.65;
}

.ai-hero-body {
  max-width: 640px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.ai-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.ai-button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: transform 0.25s ease, background 0.25s ease;
}

.ai-button--primary {
  background: var(--blue);
  color: var(--white);
}

.ai-button--primary:hover,
.ai-button--primary:focus-visible {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.ai-textlink {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.ai-hero-map {
  min-height: 610px;
  padding: clamp(30px, 4vw, 58px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 34px 80px rgba(11, 22, 48, 0.18);
}

.ai-hero-map::before,
.ai-hero-map::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ai-hero-map::before {
  top: -130px;
  right: -80px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 58px rgba(36, 86, 229, 0.08), 0 0 0 116px rgba(36, 86, 229, 0.05);
}

.ai-hero-map::after {
  top: 56px;
  right: 58px;
  width: 10px;
  height: 10px;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
  animation: ai-pulse 2.4s ease-in-out infinite;
}

.ai-map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 48px 48px;
}

.ai-map-label {
  position: relative;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
}

.ai-hero-map ol {
  list-style: none;
  position: relative;
}

.ai-hero-map li {
  min-height: 96px;
  padding: 21px 0;
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line-light);
}

.ai-hero-map li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.ai-hero-map li > span {
  color: var(--green);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
}

.ai-hero-map small,
.ai-hero-map b {
  display: block;
}

.ai-hero-map small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.ai-hero-map b {
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ai-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-summary > a {
  min-height: 190px;
  padding: 38px 3vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  transition: background 0.25s ease, padding 0.25s ease;
}

.ai-summary > a:last-child {
  border-right: 0;
}

.ai-summary > a:hover,
.ai-summary > a:focus-visible {
  padding-left: 3.5vw;
  background: var(--ice);
}

.ai-summary small {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.ai-summary strong {
  margin: 5px 0 9px;
  font-size: clamp(21px, 2.3vw, 32px);
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.ai-summary strong em {
  color: var(--blue);
  font-family: var(--font-en);
  font-style: normal;
}

.ai-summary p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.ai-services,
.ai-scope,
.ai-chatbot {
  padding: clamp(100px, 13vw, 190px) 7vw;
}

.ai-section-head > p {
  margin-bottom: 24px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.ai-section-head h2 {
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.22;
}

.ai-section-lead {
  max-width: 720px;
  margin: 38px 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.035em;
}

.ai-service-list {
  margin-top: clamp(54px, 7vw, 100px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ai-service-card {
  min-height: 500px;
  padding: clamp(30px, 3.6vw, 54px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-service-card--design,
.ai-service-card--build {
  background: var(--white);
}

.ai-service-card--design {
  background: var(--paper-2);
}

.ai-service-card header {
  margin-bottom: clamp(50px, 7vw, 98px);
  display: flex;
  align-items: center;
  gap: 18px;
}

.ai-service-card header span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
}

.ai-service-card header small {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.ai-service-card h3 {
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.ai-service-lead {
  margin-top: 28px;
  color: var(--ink) !important;
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.8 !important;
}

.ai-service-card > p {
  max-width: 520px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.025em;
}

.ai-scope {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.15fr);
  gap: clamp(60px, 9vw, 150px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.ai-scope-heading {
  position: sticky;
  top: 140px;
  align-self: start;
}

.ai-scope-heading > p {
  margin-bottom: 24px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.ai-scope-heading h2 {
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.28;
}

.ai-scope-copy {
  max-width: 480px;
  margin-top: 34px;
  color: var(--muted) !important;
  font-family: var(--font-ja) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em !important;
}

.ai-scope-list {
  border-top: 1px solid var(--line);
}

.ai-scope-list article {
  min-height: 190px;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.ai-scope-list article > span {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
}

.ai-scope-list small {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.ai-scope-list h3 {
  margin-top: 4px;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ai-scope-list p {
  max-width: 560px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.025em;
}

.ai-service-card > a {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ai-service-card > a span {
  font-size: 20px;
  transition: transform 0.25s ease;
}

.ai-service-card > a:hover span,
.ai-service-card > a:focus-visible span {
  transform: translateX(5px);
}

.ai-organization {
  padding: clamp(100px, 13vw, 190px) 7vw;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.ai-organization::before {
  position: absolute;
  top: -25vw;
  right: -18vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 9vw rgba(36, 86, 229, 0.035), 0 0 0 18vw rgba(36, 86, 229, 0.02);
}

.ai-org-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 8vw;
}

.ai-section-head--light > p {
  color: var(--green);
}

.ai-org-copy {
  padding-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  letter-spacing: 0.035em;
}

.ai-org-copy p + p {
  margin-top: 16px;
}

.ai-org-stats {
  margin-top: clamp(60px, 8vw, 110px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.ai-org-stats > div {
  min-height: 220px;
  padding: 34px 4vw;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 4px 22px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.ai-org-stats strong {
  grid-row: 1 / 3;
  color: var(--green);
  font-family: var(--font-en);
  font-size: clamp(78px, 10vw, 148px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.ai-org-stats span {
  align-self: end;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.ai-org-stats small {
  align-self: start;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.ai-dept-grid {
  margin-top: 22px;
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.ai-dept-grid li {
  min-height: 255px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.25s ease;
}

.ai-dept-grid li:hover {
  background: rgba(255, 255, 255, 0.045);
}

.ai-dept-grid li > span {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-en);
  font-size: 10px;
}

.ai-dept-grid i {
  position: absolute;
  top: 31px;
  right: 24px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.7);
  animation: ai-pulse 2.4s ease-in-out infinite;
}

.ai-dept-grid b {
  margin-top: 48px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ai-dept-grid small {
  margin-top: 2px;
  color: var(--green);
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.ai-dept-grid p {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.75;
}

.ai-org-practice {
  margin-top: clamp(60px, 8vw, 110px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 7vw;
  border-top: 1px solid var(--line-light);
  padding-top: 48px;
}

.ai-org-practice > div > small {
  color: var(--green);
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.ai-org-practice h3 {
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.ai-org-practice p {
  max-width: 520px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.ai-org-practice nav {
  border-top: 1px solid var(--line-light);
}

.ai-org-practice nav a {
  min-height: 96px;
  padding: 22px 8px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line-light);
  transition: padding 0.25s ease, background 0.25s ease;
}

.ai-org-practice nav a:hover,
.ai-org-practice nav a:focus-visible {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.ai-org-practice nav span {
  color: var(--green);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
}

.ai-org-practice nav b {
  font-size: clamp(15px, 1.8vw, 23px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.ai-org-practice nav i {
  color: var(--green);
  font-size: 20px;
  font-style: normal;
}

.ai-chatbot {
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
  background: var(--paper-2);
}

.ai-chatbot-copy > p {
  max-width: 610px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.035em;
}

.ai-chatbot-copy ul {
  margin-top: 34px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-chatbot-copy li {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.ai-chatbot-copy .ai-button {
  margin-top: 38px;
}

.ai-ron-stage {
  min-height: 700px;
  padding: 54px 42px 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(11, 22, 48, 0.1);
}

.ai-ron-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(16, 26, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 26, 46, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.ai-ron-bubble {
  width: min(100%, 380px);
  padding: 24px 28px;
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: var(--white);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.75;
  box-shadow: 0 18px 40px rgba(11, 22, 48, 0.16);
}

.ai-ron-bubble::after {
  position: absolute;
  left: calc(50% - 10px);
  bottom: -12px;
  width: 20px;
  height: 20px;
  content: "";
  background: var(--navy);
  transform: rotate(45deg);
}

.ai-ron {
  width: min(82%, 360px);
  margin: 32px 0 24px;
  position: relative;
  z-index: 1;
}

.ai-ron-console {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-en);
}

.ai-ron-console span,
.ai-ron-console small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.ai-ron-console small {
  color: var(--muted);
}

.ai-ron-console i {
  height: 1px;
  background: var(--line);
}

.ai-contact {
  padding: clamp(100px, 12vw, 170px) 7vw;
  background: var(--blue);
  color: var(--white);
}

.ai-contact > p {
  margin-bottom: 28px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  opacity: 0.64;
}

.ai-contact h2 {
  max-width: 1000px;
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.ai-contact > a {
  max-width: 820px;
  margin-top: 70px;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-family: var(--font-en);
  font-size: clamp(18px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.ai-contact > a span {
  font-size: 28px;
  transition: transform 0.25s ease;
}

.ai-contact > a:hover span,
.ai-contact > a:focus-visible span {
  transform: translateX(8px);
}

.ai-foot {
  min-height: 220px;
  padding: 54px 7vw;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 50px;
  background: var(--navy);
  color: var(--white);
}

.ai-foot > a {
  width: 174px;
  filter: brightness(0) invert(1);
}

.ai-foot nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.ai-foot nav a:hover,
.ai-foot nav a:focus-visible {
  color: var(--white);
}

.ai-foot > small {
  grid-column: 1 / -1;
  align-self: end;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.16em;
}

@keyframes ai-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes ai-blink {
  0%, 45%, 49%, 100% { transform: scaleY(1); }
  47% { transform: scaleY(0.12); }
}

@media (max-width: 1080px) {
  .ai-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 50px;
  }

  .ai-dept-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-service-list {
    grid-template-columns: 1fr;
  }

  .ai-service-card {
    min-height: 430px;
  }

  .ai-chatbot {
    gap: 60px;
  }
}

@media (max-width: 820px) {
  .ai-head {
    min-height: 72px;
    padding: 15px 5vw;
  }

  .ai-brand {
    width: 150px;
  }

  .ai-nav {
    display: none;
  }

  .ai-back {
    margin-left: auto;
  }

  .ai-hero {
    min-height: auto;
    padding-top: 126px;
    grid-template-columns: 1fr;
  }

  .ai-hero::before {
    top: 72px;
    width: 80vw;
  }

  .ai-hero-map {
    min-height: 560px;
  }

  .ai-summary {
    grid-template-columns: 1fr;
  }

  .ai-summary > a {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ai-summary > a:last-child {
    border-bottom: 0;
  }

  .ai-service-card {
    min-height: 400px;
  }

  .ai-org-intro,
  .ai-scope,
  .ai-org-practice,
  .ai-chatbot {
    grid-template-columns: 1fr;
  }

  .ai-scope-heading {
    position: static;
  }

  .ai-org-copy {
    max-width: 620px;
  }

  .ai-org-stats {
    grid-template-columns: 1fr;
  }

  .ai-org-stats > div {
    min-height: 190px;
  }

  .ai-dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-chatbot {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .ai-head {
    padding-right: 20px;
    padding-left: 20px;
  }

  .ai-brand {
    width: 134px;
  }

  .ai-back {
    padding: 7px 13px;
    font-size: 9px;
  }

  .ai-hero {
    padding: 112px 22px 70px;
    gap: 44px;
  }

  .ai-hero h1 {
    font-size: clamp(45px, 14.5vw, 65px);
  }

  .ai-pc {
    display: none;
  }

  .ai-hero-lead {
    margin-top: 32px;
    font-size: 19px;
  }

  .ai-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .ai-button {
    width: 100%;
  }

  .ai-hero-map {
    min-height: 540px;
    padding: 30px 24px;
  }

  .ai-hero-map::before {
    top: -110px;
    right: -110px;
    width: 280px;
    height: 280px;
  }

  .ai-summary > a {
    padding: 32px 22px;
  }

  .ai-summary > a:hover,
  .ai-summary > a:focus-visible {
    padding-left: 28px;
  }

  .ai-services,
  .ai-scope,
  .ai-chatbot,
  .ai-organization,
  .ai-contact {
    padding-right: 22px;
    padding-left: 22px;
  }

  .ai-section-head h2,
  .ai-contact h2 {
    letter-spacing: -0.04em;
  }

  .ai-service-card {
    min-height: 410px;
    padding: 34px 24px;
  }

  .ai-service-card header {
    margin-bottom: 52px;
  }

  .ai-scope {
    gap: 54px;
  }

  .ai-scope-list article {
    min-height: 170px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .ai-org-stats > div {
    min-height: 170px;
    padding: 28px 22px;
  }

  .ai-org-stats strong {
    font-size: 82px;
  }

  .ai-dept-grid {
    grid-template-columns: 1fr;
  }

  .ai-dept-grid li {
    min-height: 205px;
  }

  .ai-org-practice {
    gap: 42px;
  }

  .ai-org-practice nav a {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .ai-chatbot {
    gap: 54px;
  }

  .ai-ron-stage {
    min-height: 620px;
    padding: 42px 22px 26px;
  }

  .ai-ron-bubble {
    padding: 20px 22px;
  }

  .ai-ron {
    width: min(90%, 300px);
    margin-bottom: 20px;
  }

  .ai-contact > a {
    margin-top: 50px;
    font-size: 17px;
  }

  .ai-foot {
    padding: 44px 22px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ai-foot nav {
    gap: 18px;
  }

  .ai-foot > small {
    grid-column: auto;
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.flat *,
.flat *::before,
.flat *::after,
.no-js *,
.no-js *::before,
.no-js *::after {
  animation: none !important;
  transition: none !important;
}
