﻿:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #5d6878;
  --subtle: #8793a4;
  --line: #d9e1eb;
  --line-strong: #b9c6d8;
  --paper: #f3f6fa;
  --paper-blue: #eaf1f8;
  --white: #ffffff;
  --navy: #071838;
  --navy-2: #10264a;
  --blue: #1d5eb8;
  --blue-soft: #dce9f8;
  --accent: #1f8a8a;
  --shadow: 0 12px 28px rgba(7, 24, 56, 0.08);
  --shadow-soft: 0 6px 16px rgba(7, 24, 56, 0.06);
  --radius: 8px;
  --radius-sm: 6px;
  /* PC調整用: hero背景ロボット画像 */
  --hero-bg-image-width: min(84vw, 1320px);
  --hero-bg-image-height: auto;
  --hero-bg-image-size: var(--hero-bg-image-width) var(--hero-bg-image-height);
  --hero-bg-image-position: left 120px center;
  --hero-bg-image-opacity: 0.24;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 44%, #eef3f8 100%);
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(24px, 5vw, 80px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  width: 220px;
  min-width: 180px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  gap: clamp(16px, 3vw, 34px);
}

.nav a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  opacity: 0.86;
}

.nav a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  min-height: calc(100vh - 67px);
}

.portal-hero {
  grid-template-columns: minmax(520px, 0.82fr) minmax(680px, 1fr);
  grid-template-areas:
    "copy visual"
    "board board";
  column-gap: clamp(20px, 2.4vw, 36px);
  row-gap: clamp(18px, 2.4vw, 28px);
  align-items: center;
  padding: clamp(28px, 4.2vw, 48px) clamp(24px, 5vw, 80px) clamp(24px, 3.6vw, 40px);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 42%, rgba(235, 242, 250, 0.94) 100%),
    repeating-linear-gradient(90deg, rgba(7, 24, 56, 0.032) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(7, 24, 56, 0.022) 0 1px, transparent 1px 92px);
  border-bottom: 1px solid var(--line);
  overflow: clip;
  position: relative;
  isolation: isolate;
}

.portal-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0%, rgba(29, 94, 184, 0.055) 48%, rgba(255, 255, 255, 0.34) 74%),
    linear-gradient(180deg, transparent 0%, rgba(7, 24, 56, 0.03) 100%);
  pointer-events: none;
  z-index: 0;
}

.portal-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("./assets/robot-bg.jpg");
  background-repeat: no-repeat;
  background-position: var(--hero-bg-image-position);
  background-size: var(--hero-bg-image-size);
  opacity: var(--hero-bg-image-opacity);
  pointer-events: none;
  z-index: 0;
}
.portal-hero > * {
  position: relative;
  z-index: 1;
}

.hero-visual {
  grid-area: visual;
  justify-self: end;
  width: min(100%, 940px);
  min-height: clamp(380px, 44vh, 480px);
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 44vh, 480px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 252, 0.92)),
    repeating-linear-gradient(90deg, rgba(16, 38, 74, 0.055) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(16, 38, 74, 0.04) 0 1px, transparent 1px 48px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(7, 24, 56, 0.14);
  isolation: isolate;
  contain: paint;
  animation: stageReveal 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(7, 24, 56, 0.08);
  pointer-events: none;
  z-index: 5;
}

.dojo-preview-card {
  position: absolute;
  inset: clamp(8px, 1.1vw, 14px);
  display: grid;
  grid-template-columns: clamp(124px, 18%, 174px) minmax(0, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(185, 198, 216, 0.82);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(7, 24, 56, 0.13);
  z-index: 2;
}

.dojo-preview-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(20px, 2.8vw, 32px);
  color: var(--white);
  background:
    linear-gradient(180deg, #071838, #102b58);
}

.dojo-preview-rail span {
  color: #b8cdf0;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 900;
  letter-spacing: 0;
}

.dojo-preview-rail strong {
  color: var(--white);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.28;
}

.dojo-preview-main {
  position: relative;
  display: grid;
  place-items: center start;
  min-width: 0;
  overflow: hidden;
  padding: clamp(10px, 1.4vw, 16px);
  background: #ffffff;
  container-type: size;
}

.dojo-screenshot-frame {
  position: relative;
  width: min(100cqw, calc(100cqh * 900 / 869));
  aspect-ratio: 900 / 869;
  overflow: hidden;
  background: #ffffff;
}

.dojo-screenshot-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, transparent 60%, rgba(7, 24, 56, 0.04));
  pointer-events: none;
  z-index: 2;
}

.dojo-screenshot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: none;
}

.dojo-guide-layer,
.dojo-guide-step,
.dojo-highlight,
.dojo-marker,
.dojo-callout {
  position: absolute;
  pointer-events: none;
}

.dojo-guide-layer {
  inset: 0;
  z-index: 3;
}

.dojo-guide-step {
  inset: 0;
}

.dojo-highlight {
  top: var(--highlight-top);
  left: var(--highlight-left);
  width: var(--highlight-width);
  height: var(--highlight-height);
  border: 2px solid rgba(29, 94, 184, 0.55);
  border-radius: 7px;
  background: rgba(220, 233, 248, 0.2);
  box-shadow: 0 0 26px rgba(29, 94, 184, 0.22);
  opacity: 0;
  animation: guideFade 9s ease-in-out infinite;
  animation-delay: var(--delay);
}

.dojo-marker {
  top: var(--marker-top);
  left: var(--marker-left);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 9px 20px rgba(7, 24, 56, 0.22);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  animation: markerFade 9s ease-in-out infinite;
  animation-delay: var(--delay);
}

.dojo-callout {
  top: calc(var(--marker-top) - 5%);
  left: clamp(40%, calc(var(--marker-left) + 9%), calc(100% - 228px));
  width: clamp(188px, 26%, 228px);
  padding: 10px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(185, 198, 216, 0.92);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(7, 24, 56, 0.16);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 800;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(6px);
  animation: calloutFade 9s ease-in-out infinite;
  animation-delay: var(--delay);
}

.dojo-callout::before {
  position: absolute;
  top: 18px;
  left: -7px;
  width: 12px;
  height: 12px;
  content: "";
  background: rgba(255, 255, 255, 0.94);
  border-left: 1px solid rgba(185, 198, 216, 0.92);
  border-bottom: 1px solid rgba(185, 198, 216, 0.92);
  transform: rotate(45deg);
}
.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.keep {
  white-space: nowrap;
}

.faq-example {
  display: block;
  margin-top: 4px;
}

.line-note {
  display: block;
}

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

@media (min-width: 1241px) and (max-width: 1440px) {
  h1 {
    font-size: clamp(42px, 5.1vw, 68px);
  }
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(29px, 3.4vw, 46px);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.32;
}

.lead {
  max-width: 42em;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.72;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  font-weight: 900;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.portal-board {
  grid-area: board;
  display: grid;
  grid-template-columns: 180px repeat(3, minmax(0, 1fr));
  gap: 0;
  align-self: end;
  margin-top: 0;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(7, 24, 56, 0.1);
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-left: 0;
}

.board-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 22px;
  background:
    linear-gradient(90deg, var(--navy), #102b58);
  color: var(--white);
}

.board-header span {
  color: #b8cdf0;
  font-size: 12px;
  font-weight: 900;
}

.board-header strong {
  color: var(--white);
  font-size: 20px;
  line-height: 1.28;
}

.video-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 16px 20px;
  border-left: 1px solid var(--line);
  border-top: 0;
  background: #ffffff;
  transition: background 160ms ease, border-color 160ms ease;
}

.video-row:hover {
  background: #f7faff;
}

.thumb {
  display: grid;
  width: 58px;
  height: 48px;
  place-items: center;
  color: var(--navy);
  background: var(--paper-blue);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}

.video-row strong {
  color: var(--navy);
  font-size: 16px;
}

.video-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@keyframes robotFloat {
  0% {
    transform: translate(calc(-50% + (var(--px) * 0.2)), calc(var(--py) * 0.14)) scale(0.98);
  }
  50% {
    transform: translate(calc(-50% + (var(--px) * 0.2)), calc(-5px + (var(--py) * 0.14))) scale(1);
  }
  100% {
    transform: translate(calc(-50% + (var(--px) * 0.2)), calc(-8px + (var(--py) * 0.14))) scale(1.015);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes guideFade {
  0%,
  5%,
  38%,
  100% {
    opacity: 0;
  }
  10%,
  30% {
    opacity: 1;
  }
}

@keyframes markerFade {
  0%,
  5%,
  38%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }
  10%,
  30% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes calloutFade {
  0%,
  7%,
  36%,
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
  12%,
  30% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes stageReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section {
  padding: clamp(72px, 8vw, 112px) clamp(24px, 5vw, 80px);
  position: relative;
  scroll-margin-top: 92px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.service-grid,
.faq-list,
.link-list {
  display: grid;
}

.service-card p,
.faq-list p,
.link-row em {
  color: var(--muted);
  line-height: 1.76;
}

.product-style {
  background:
    linear-gradient(180deg, #f7faff, #edf3f9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  box-shadow: 0 18px 46px rgba(7, 24, 56, 0.07);
}

.service-card {
  display: grid;
  grid-template-columns: 132px minmax(240px, 0.86fr) minmax(260px, 1fr) 28px;
  gap: 20px;
  align-items: baseline;
  min-height: auto;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 0;
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.service-card:last-child {
  border-bottom: 0;
}

.service-card::after {
  content: ">";
  justify-self: end;
  color: var(--subtle);
  font-weight: 900;
  transition: color 160ms ease, transform 160ms ease;
}

.service-card:hover {
  background: #f8fbff;
  border-color: rgba(43, 93, 186, 0.24);
}

.service-card:hover::after {
  color: var(--blue);
  transform: translateX(3px);
}

.service-card span {
  display: block;
  margin-bottom: 0;
  color: var(--navy);
  background: #eef4fb;
  border: 1px solid #c7d5e8;
  border-radius: 2px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
  width: fit-content;
}

.service-card h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.service-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.service-link-group a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.service-link-group a:hover {
  color: var(--blue);
}

.service-link-group span {
  color: rgba(7, 24, 56, 0.26);
  font-weight: 600;
}

.service-card span.purpose-separator,
.purpose-separator {
  color: #94a3b8;
  display: inline;
  margin: 0 0.65em;
  width: auto;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  line-height: inherit;
  pointer-events: none;
  font-weight: 500;
}

.keyword-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compact {
  margin-bottom: 0;
  max-width: 640px;
}

.keyword-section h2 {
  max-width: 8em;
}

.keyword-section p {
  max-width: 36em;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keywords span {
  padding: 11px 15px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-weight: 800;
}

.links {
  background: var(--paper);
}

.link-list {
  border-top: 1px solid var(--line-strong);
}

.link-row {
  display: grid;
  grid-template-columns: 150px minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 26px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.link-row span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.link-row strong {
  color: var(--navy);
  font-size: 20px;
}

.link-row em {
  font-style: normal;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 14px;
}

.faq-list article {
  padding: 26px 20px 28px;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  background: #fbfdff;
}

.faq-list h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.faq-list p {
  max-width: none;
  width: 100%;
  font-size: 15px;
  line-height: 1.8;
  line-break: normal;
}

.notice {
  position: relative;
  z-index: 3;
  isolation: isolate;
  padding: 46px clamp(24px, 5vw, 80px);
  color: #dce5f2;
  background:
    linear-gradient(180deg, #0b1b35, #071838);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.notice p {
  max-width: min(1080px, 100%);
  font-size: 15px;
  line-height: 1.82;
  opacity: 0.95;
}

.notice p + p {
  max-width: min(1160px, 100%);
}

.notice-keep {
  white-space: nowrap;
}

.notice a {
  color: #eef4ff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, text-decoration-thickness 160ms ease;
  white-space: nowrap;
}

.notice a:hover {
  color: #dbeafe;
  text-decoration-thickness: 2px;
}

@media (max-width: 1240px) {
  .portal-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "board";
    align-items: stretch;
  }

  .portal-board {
    grid-area: board;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-stage {
    min-height: 480px;
  }

  .portal-board {
    grid-template-columns: 1fr;
  }

  .board-header {
    padding: 18px 20px;
  }

  .video-row {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dojo-highlight,
  .dojo-marker,
  .dojo-callout {
    animation: none;
  }

  .step-one .dojo-highlight,
  .step-one .dojo-marker,
  .step-one .dojo-callout {
    opacity: 1;
  }

  .hero-stage {
    animation: none;
  }
}

@media (max-width: 700px) {
  /* スマホ調整用: hero背景ロボット画像 */
  .portal-hero {
    --hero-bg-image-width: min(70vw, 360px);
    --hero-bg-image-height: auto;
    --hero-bg-image-size: var(--hero-bg-image-width) var(--hero-bg-image-height);
    --hero-bg-image-position: center top;
    --hero-bg-image-opacity: 0;
  }
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .keyword-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .dojo-preview-card {
    inset: 8px;
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .dojo-preview-rail {
    gap: 10px;
    padding: 16px 12px;
  }

  .dojo-preview-rail strong {
    font-size: 17px;
  }

  .dojo-preview-main {
    place-items: start start;
    padding: 8px 8px 56px;
  }

  .dojo-screenshot-frame {
    width: min(100cqw, calc(100cqh * 900 / 869));
    overflow: visible;
    margin-bottom: 48px;
  }

  .dojo-marker {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .dojo-callout {
    display: block;
    top: auto;
    bottom: -54px;
    left: 8px;
    width: min(calc(100% - 20px), 220px);
    max-width: none;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.45;
    border-radius: 5px;
  }

  .dojo-callout::before {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .link-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-card::after {
    justify-self: start;
  }
}




















