.web-ai-page {
  --ink: #17211d;
  --muted: #65706b;
  --paper: #ffffff;
  --tint: #f3f6f2;
  --line: #dce3de;
  --accent: #2f7358;
  --accent-soft: #dcebe3;
  --dark: #15231d;
  --max-width: 1120px;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.web-ai-page .wrapper { overflow: hidden; }
.web-ai-page .web-ai-main { color: var(--ink); background: var(--paper); }
.web-ai-page .web-ai-container { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.web-ai-page .web-ai-main img { display: block; max-width: 100%; height: auto; }
.web-ai-page .web-ai-main h1,
.web-ai-page .web-ai-main h2,
.web-ai-page .web-ai-main h3,
.web-ai-page .web-ai-main p { margin-top: 0; }
.web-ai-page .web-ai-main h1,
.web-ai-page .web-ai-main h2,
.web-ai-page .web-ai-main h3 { line-height: 1.35; letter-spacing: .02em; }

.web-ai-page .web-ai-eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.web-ai-page .web-ai-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  align-items: center;
  color: #fff;
  background-image: url(../images/bg_business-web_top.jpg);
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.web-ai-page .web-ai-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: rgba(4, 10, 7, .62);
}

.web-ai-page .web-ai-hero__inner { position: relative; z-index: 1; }
.web-ai-page .web-ai-hero__inner > div { max-width: 900px; padding: 120px 0 96px; }
.web-ai-page .web-ai-hero h1 {
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.web-ai-page .web-ai-hero h1 span {
  display: block;
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .08em;
}
.web-ai-page .web-ai-hero__lead { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.9); font-size: 1.05rem; }
.web-ai-page .web-ai-hero__lead strong { display: block; margin-bottom: 12px; color: #fff; font-size: clamp(1.25rem, 2.5vw, 1.8rem); line-height: 1.55; }
.web-ai-page .web-ai-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }

.web-ai-page .web-ai-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.web-ai-page .web-ai-button:hover { color: var(--dark); background: #90c3aa; border-color: #90c3aa; transform: translateY(-2px); }
.web-ai-page .web-ai-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.web-ai-page .web-ai-text-link { color: #fff; border-bottom: 1px solid rgba(255,255,255,.7); font-size: .9rem; font-weight: 700; text-decoration: none; }

.web-ai-page .web-ai-section { padding: 112px 0; background: var(--paper); }
.web-ai-page .web-ai-section--tint { background: var(--tint); }
.web-ai-page .web-ai-section--dark { color: #fff; background: var(--dark); }
.web-ai-page .web-ai-section-heading { display: flex; align-items: flex-start; gap: 24px; margin: 0 0 56px; }
.web-ai-page .web-ai-section-heading::before { flex: 0 0 auto; margin-top: 3px; color: var(--accent); font-size: .78rem; font-weight: 700; }
.web-ai-page .web-ai-intro .web-ai-section-heading::before { content: "01"; }
.web-ai-page #features .web-ai-section-heading::before { content: "02"; }
.web-ai-page .web-ai-service-layout .web-ai-section-heading::before { content: "03"; }
.web-ai-page .web-ai-section--dark .web-ai-section-heading::before { content: "04"; color: #90c3aa; }
.web-ai-page #works .web-ai-section-heading::before { content: "05"; }
.web-ai-page #works + .web-ai-section .web-ai-section-heading::before { content: "06"; }
.web-ai-page .web-ai-section-heading h2,
.web-ai-page .web-ai-contact h2 { margin-bottom: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 700; }
.web-ai-page .web-ai-section-heading > p:last-child { max-width: 780px; margin: 12px 0 0; color: var(--muted); }
.web-ai-page .web-ai-section-heading--left { display: block; }
.web-ai-page .web-ai-section-heading--left::before { display: block; margin-bottom: 12px; }
.web-ai-page .web-ai-section--dark .web-ai-section-heading h2,
.web-ai-page .web-ai-section--dark .web-ai-eyebrow { color: #fff; }

@media (min-width: 681px) {
  .web-ai-page .web-ai-intro .web-ai-section-heading {
    display: grid;
    grid-template-columns: auto 180px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 12px;
    padding-left: 0;
    box-sizing: border-box;
  }
  .web-ai-page .web-ai-intro .web-ai-section-heading::before {
    grid-column: 1;
    grid-row: 1;
  }
  .web-ai-page .web-ai-intro .web-ai-section-heading > .web-ai-eyebrow {
    grid-column: 2;
    grid-row: 1;
  }
  .web-ai-page .web-ai-intro .web-ai-section-heading > h2 {
    grid-column: 3;
    grid-row: 1;
  }
  .web-ai-page .web-ai-intro .web-ai-section-heading > p:last-child {
    grid-column: 3;
    grid-row: 2;
  }
  .web-ai-page .web-ai-intro .web-ai-section-heading > .web-ai-eyebrow { white-space: nowrap; }
}

.web-ai-page .web-ai-akl {
  position: relative;
  display: block;
  width: 60%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 33, 29, .12);
  cursor: zoom-in;
}
.web-ai-page .web-ai-akl img { width: 100%; }
.web-ai-page .web-ai-akl span { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; color: #fff; background: rgba(16,25,20,.76); border-radius: 2px; font-size: .72rem; }
.web-ai-page .web-ai-akl:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.web-ai-page .web-ai-loop { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.web-ai-page .web-ai-loop div { min-width: 0; padding: 20px 22px; background: var(--tint); border-left: 3px solid var(--accent); border-radius: 4px; }
.web-ai-page .web-ai-loop strong,
.web-ai-page .web-ai-loop span { display: block; }
.web-ai-page .web-ai-loop strong { margin-bottom: 4px; color: var(--accent); font-size: .78rem; }
.web-ai-page .web-ai-loop span { color: var(--muted); font-size: .9rem; }

.web-ai-page .web-ai-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.web-ai-page .web-ai-feature-grid article { min-width: 0; min-height: 330px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.web-ai-page .web-ai-card-number { margin-bottom: 42px; color: var(--accent); font-size: .75rem; font-weight: 700; }
.web-ai-page .web-ai-feature-grid h3 { margin-bottom: 18px; font-size: 1.35rem; }
.web-ai-page .web-ai-feature-grid article > p:last-child { margin-bottom: 0; color: var(--muted); font-size: .93rem; }

.web-ai-page .web-ai-service-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(48px,8vw,100px); align-items: start; }
.web-ai-page .web-ai-service-layout .web-ai-section-heading p:last-child { color: var(--muted); }
.web-ai-page .web-ai-service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.web-ai-page .web-ai-service-list li { min-width: 0; padding: 24px; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; }
.web-ai-page .web-ai-service-list strong,
.web-ai-page .web-ai-service-list span { display: block; }
.web-ai-page .web-ai-service-list strong { margin-bottom: 8px; }
.web-ai-page .web-ai-service-list span { color: var(--muted); font-size: .88rem; }

.web-ai-page .web-ai-process { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 0; padding: 0; border-top: 1px solid #415049; border-bottom: 1px solid #415049; list-style: none; }
.web-ai-page .web-ai-process li { min-width: 0; padding: 34px 24px; }
.web-ai-page .web-ai-process li + li { border-left: 1px solid #415049; }
.web-ai-page .web-ai-process span,
.web-ai-page .web-ai-process strong { display: block; }
.web-ai-page .web-ai-process span { margin-bottom: 26px; color: #90c3aa; font-size: .74rem; font-weight: 700; }
.web-ai-page .web-ai-process strong { margin-bottom: 10px; }
.web-ai-page .web-ai-process p { margin-bottom: 0; color: #c8d4ce; font-size: .88rem; }

.web-ai-page .web-ai-works-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.web-ai-page .web-ai-works-grid article { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.web-ai-page .web-ai-works-grid article > a { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--tint); }
.web-ai-page .web-ai-works-grid img { width: 100%; height: 100%; object-fit: contain; transition: transform 220ms ease; }
.web-ai-page .web-ai-works-grid article:hover img { transform: scale(1.015); }
.web-ai-page .web-ai-works-grid article > div { padding: 28px; }
.web-ai-page .web-ai-work-type { margin-bottom: 8px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.web-ai-page .web-ai-works-grid h3 { margin-bottom: 14px; }
.web-ai-page .web-ai-works-grid article div > p:not(.web-ai-work-type) { margin-bottom: 20px; color: var(--muted); font-size: .91rem; }
.web-ai-page .web-ai-works-grid article div > a { color: var(--accent); font-size: .88rem; font-weight: 700; text-decoration: none; }
.web-ai-page .web-ai-works-grid article div > a:hover { text-decoration: underline; }

.web-ai-page .web-ai-consult-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.web-ai-page .web-ai-consult-grid article { min-width: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.web-ai-page .web-ai-consult-grid h3 { margin-bottom: 12px; }
.web-ai-page .web-ai-consult-grid p { margin-bottom: 0; color: var(--muted); font-size: .91rem; }

.web-ai-page .web-ai-contact { padding: 96px 0; text-align: center; background: var(--accent-soft); }
.web-ai-page .web-ai-contact > div { max-width: 820px; }
.web-ai-page .web-ai-contact h2 { margin-bottom: 20px; }
.web-ai-page .web-ai-contact > div > p:not(.web-ai-eyebrow) { max-width: 650px; margin: 0 auto 28px; color: var(--muted); }
.web-ai-page .web-ai-button--light { color: #fff; background: var(--accent); }

.hero-title { perspective: 720px; }
.hero-title.is-prepared .hero-title__char { display: inline-block; opacity: 0; transform: translateY(.55em) rotateX(-18deg); transform-origin: 50% 100%; }
.hero-title.is-visible .hero-title__char { animation: hero-title-char-in 1040ms cubic-bezier(.22,.75,.28,1) both; animation-delay: calc(var(--char-index) * 42ms); }
@keyframes hero-title-char-in { from { opacity: 0; transform: translateY(.55em) rotateX(-18deg); } to { opacity: 1; transform: translateY(0) rotateX(0); } }
.reveal.is-reveal-prepared { opacity: 0; transform: translate3d(0,22px,0); transition: opacity 760ms ease, transform 760ms cubic-bezier(.22,.75,.28,1); transition-delay: var(--reveal-delay,0ms); will-change: opacity,transform; }
.reveal--fade.is-reveal-prepared { transform: none; }
.reveal--left.is-reveal-prepared { transform: translate3d(-36px,0,0); }
.reveal--right.is-reveal-prepared { transform: translate3d(36px,0,0); }
.reveal--up.is-reveal-prepared { transform: translate3d(0,22px,0); }
.reveal.is-reveal-visible { opacity: 1; transform: translate3d(0,0,0); will-change: auto; }

.image-lightbox[hidden] { display: none; }
.image-lightbox { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 32px; background: rgba(10,17,13,.82); opacity: 0; transition: opacity 180ms ease; }
.image-lightbox.is-open { opacity: 1; }
.image-lightbox__dialog { position: relative; display: grid; place-items: center; width: min(100%,1200px); max-height: 100%; outline: none; }
.image-lightbox__dialog img { display: block; max-width: 100%; max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.image-lightbox__close { position: absolute; z-index: 1; top: 10px; right: 10px; padding: 7px 12px; color: #fff; background: rgba(16,25,20,.82); border: 1px solid rgba(255,255,255,.7); border-radius: 4px; font: inherit; font-size: .82rem; cursor: pointer; }
.image-lightbox__close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.is-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .web-ai-page .web-ai-feature-grid { grid-template-columns: 1fr; }
  .web-ai-page .web-ai-feature-grid article { min-height: 0; }
  .web-ai-page .web-ai-service-layout { grid-template-columns: 1fr; }
  .web-ai-page .web-ai-process { grid-template-columns: 1fr; }
  .web-ai-page .web-ai-process li + li { border-top: 1px solid #415049; border-left: 0; }
}

@media (max-width: 680px) {
  .web-ai-page .web-ai-container { width: min(calc(100% - 32px), var(--max-width)); }
  .web-ai-page .web-ai-hero { min-height: 680px; background-position: 58% 0; }
  .web-ai-page .web-ai-hero::before { background: rgba(4,10,7,.7); }
  .web-ai-page .web-ai-hero__inner > div { padding: 112px 0 76px; }
  .web-ai-page .web-ai-hero h1 { font-size: 2.5rem; }
  .web-ai-page .web-ai-hero__lead br { display: none; }
  .web-ai-page .web-ai-hero__lead strong { font-size: 1.25rem; }
  .web-ai-page .web-ai-hero__actions { align-items: flex-start; flex-direction: column; }
  .web-ai-page .web-ai-section { padding: 80px 0; }
  .web-ai-page .web-ai-section-heading { display: block; margin-bottom: 38px; }
  .web-ai-page .web-ai-section-heading::before { display: block; margin: 0 0 10px; }
  .web-ai-page .web-ai-section-heading > .web-ai-eyebrow { margin: 0 0 10px; }
  .web-ai-page .web-ai-section-heading > h2 { width: 100%; }
  .web-ai-page .web-ai-section-heading > p:last-child { max-width: none; margin-top: 18px; }
  .web-ai-page .web-ai-section-heading h2,
  .web-ai-page .web-ai-contact h2 { font-size: 2rem; }
  .web-ai-page .web-ai-loop,
  .web-ai-page .web-ai-service-list,
  .web-ai-page .web-ai-works-grid,
  .web-ai-page .web-ai-consult-grid { grid-template-columns: 1fr; }
  .web-ai-page .web-ai-akl { width: 100%; }
  .web-ai-page .web-ai-akl img { width: 100%; max-width: 100%; }
  .image-lightbox { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal.is-reveal-prepared,
  .hero-title.is-prepared .hero-title__char { opacity: 1; transform: none; animation: none; transition: none; }
}
