/* ============================================================
   Comminio Corporate Site
   ============================================================ */

:root {
  --violet: #7b5ce8;
  --violet-dark: #5c3fd6;
  --cyan: #19c3ec;
  --cyan-light: #8cdcf2;
  --magenta: #e84fd6;
  --navy: #152632;
  --navy-deco: #1e3547;
  --panel: #f6f6f7;
  --text: #152632;
  --text-2: #4b4b4b;
  --muted: #6b7280;
  --line: #dee1e7;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Yu Gothic Medium", Meiryo, sans-serif;
  --header-h: 84px;
  --gutter: clamp(20px, 4vw, 48px);
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-jp);
  font-feature-settings: "palt";
  color: var(--text);
  background: #fff;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

[lang="en"] { letter-spacing: 0.04em; }

::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  transform: translateY(-72px);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus-visible { transform: none; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(21, 38, 50, 0.06);
}

.header-inner {
  height: var(--header-h);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.brand-logo {
  display: block;
  height: 27px;
  width: auto;
}

.brand-logo--footer { height: 32px; }

.brand-mark-img {
  width: 20px;
  height: 20px;
}

.header-nav {
  display: flex;
  gap: 32px;
  margin-left: 16px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.header-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--violet);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.header-cta:hover { background: var(--violet-dark); transform: translateY(-1px); }

.header-cta-en { font-size: 13px; }
.header-cta-jp { font-size: 12px; opacity: 0.9; }

.menu-button { display: none; }

/* ---------- Mobile menu ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #fff;
  padding: calc(var(--header-h) + 32px) var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.menu-overlay[hidden] { display: none; }

.menu-nav {
  display: flex;
  flex-direction: column;
}

.menu-nav a {
  font-size: 22px;
  font-weight: 700;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--violet);
  color: #fff;
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 700;
}

/* ---------- Shared pieces ---------- */

.section {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--gutter);
}

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.section-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.panel-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.panel-label--dark { color: rgba(255, 255, 255, 0.7); border-bottom-color: rgba(255, 255, 255, 0.16); }

.circle-arrow {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  background: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.circle-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.circle-link:hover .circle-arrow {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-inner {
  max-width: calc(var(--container) + var(--gutter) * 2);
  width: 100%;
  margin: 0 auto;
  padding: 40px var(--gutter) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--violet);
  margin-bottom: 22px;
  opacity: 0;
  animation: hero-fade 0.9s ease 0.1s forwards;
}

.hero-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
}

.hero-title {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: hero-rise 0.9s var(--ease) forwards;
}

.hero-line:nth-child(2) > span { animation-delay: 0.12s; }

@keyframes hero-rise { to { transform: translateY(0); } }

.hero-sub {
  margin-top: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: hero-fade 0.9s ease 0.45s forwards;
}

.hero-description {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 2;
  opacity: 0;
  animation: hero-fade 0.9s ease 0.55s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
  opacity: 0;
  animation: hero-fade 0.9s ease 0.7s forwards;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  color: var(--violet-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-link:hover { color: var(--navy); }

@keyframes hero-fade { to { opacity: 1; } }

.hero-visual {
  position: relative;
  min-height: 320px;
}

.orbit-stage {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  opacity: 0;
  animation: hero-fade 1s var(--ease) 0.25s forwards;
}

.orbit-stage::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 92, 232, 0.12) 0%, rgba(25, 195, 236, 0.07) 42%, transparent 68%);
}

.orbit-mark {
  position: absolute;
  inset: 15%;
  width: 70%;
  height: 70%;
  object-fit: contain;
  animation: orbit-float 7s ease-in-out infinite;
}

@keyframes orbit-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-gl {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.orbit-stage.gl-on .hero-gl { opacity: 1; }
.orbit-stage.gl-on:active .hero-gl { cursor: grabbing; }

.orbit-stage.gl-on .orbit-svg,
.orbit-stage.gl-on .orbit-mark {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.orbit-ring {
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.4;
  opacity: 0.5;
}

.orbit-ring--2 { stroke: var(--cyan); opacity: 0.45; }

.orbit-dot--cyan { fill: var(--cyan); }
.orbit-dot--magenta { fill: var(--magenta); }

.scroll-hint {
  position: absolute;
  left: var(--gutter);
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--violet);
  animation: scroll-drip 1.8s ease-in-out infinite;
}

@keyframes scroll-drip {
  0% { top: -40%; }
  100% { top: 110%; }
}

.scroll-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

/* ---------- Mission ---------- */

.mission {
  position: relative;
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  overflow: hidden;
}

.mission-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.mission-text {
  font-size: clamp(22px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--navy);
  max-width: 22em;
}

.mission-sub {
  margin-top: calc(clamp(40px, 5vw, 64px) * -0.55);
  font-size: 15px;
  line-height: 2;
  color: var(--text-2);
  max-width: 40em;
}

.corner-para {
  position: absolute;
  width: 180px;
  height: 56px;
  transform: skewX(-32deg);
}

.corner-para--tl { top: 0; left: -90px; background: var(--cyan-light); }
.corner-para--tr { top: 0; right: -60px; width: 140px; background: var(--violet); }
.corner-para--bl { bottom: 0; left: -40px; width: 220px; background: var(--magenta); }
.corner-para--br { bottom: 0; right: -70px; width: 260px; background: var(--cyan-light); }

/* ---------- Network band ---------- */

.net-band {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.net-svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.net-ring {
  fill: none;
  stroke: #e4e8ee;
  stroke-width: 1.4;
}

.net-link {
  fill: none;
  stroke: #ccd4de;
  stroke-width: 1.4;
}

.net-node { fill: var(--muted); }
.net-node--cyan { fill: var(--cyan); }
.net-node--violet { fill: var(--violet); }
.net-node--magenta { fill: var(--magenta); }
.net-node--gray { fill: #aeb7c4; }

/* ---------- About ---------- */

.about-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: clamp(56px, 7vw, 88px);
}

.about-lead {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.9;
  color: var(--navy);
}

.about-text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 2.1;
}

.positioning {
  margin-bottom: clamp(56px, 7vw, 88px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(25, 195, 236, 0.05), rgba(123, 92, 232, 0.05), rgba(232, 79, 214, 0.05));
}

.positioning-state {
  margin-top: 14px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
}

.positioning-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
}

.sub-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.12em;
}

.sub-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
}

.issues { margin-bottom: clamp(56px, 7vw, 88px); }

.issues-intro {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-2);
}

.issues-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 64px);
}

.issues-list li {
  font-size: 14px;
  font-weight: 500;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.issues-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--violet);
  transform: translateY(-1px);
}

.issues-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }

.features-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.feature-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.feature-item dd {
  font-size: 14px;
  color: var(--text-2);
  line-height: 2;
}

/* ---------- Business ---------- */

.business-statement {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  max-width: 30em;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.business-panel {
  background: var(--panel);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 80px);
}

.business-list li + li { margin-top: 12px; }

.business-item {
  border-radius: 16px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.business-item:hover,
.business-item[open] {
  background: #fff;
  box-shadow: 0 12px 32px rgba(21, 38, 50, 0.08);
}

.business-summary {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(20px, 2.6vw, 32px) clamp(16px, 2vw, 28px);
  cursor: pointer;
  list-style: none;
  border-radius: 16px;
}

.business-summary::-webkit-details-marker { display: none; }
.business-summary::marker { display: none; content: ""; }

.business-thumb {
  flex: none;
  width: clamp(84px, 10vw, 120px);
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

.business-thumb svg { display: block; width: 100%; height: auto; }

.thumb-text {
  font-size: 13px;
  font-weight: 700;
  fill: var(--text-2);
  letter-spacing: 0.04em;
}

.business-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business-tags > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  line-height: 1.4;
}

.business-name {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.business-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.9;
  max-width: 34em;
}

.business-toggle {
  flex: none;
  margin-left: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  background: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.business-item:hover .business-toggle,
.business-item[open] .business-toggle {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.toggle-v { transition: opacity 0.2s ease; }

.business-item[open] .toggle-v { opacity: 0; }

.business-detail {
  padding: 0 clamp(16px, 2vw, 28px) clamp(28px, 3vw, 40px);
  margin-left: calc(clamp(84px, 10vw, 120px) + clamp(20px, 3vw, 40px));
}

.business-item[open] .business-detail { animation: detail-in 0.4s var(--ease); }

@keyframes detail-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.detail-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.detail-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.detail-areas li {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.detail-areas li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  transform: translateY(-1px);
}

.detail-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
}

.detail-link svg { transition: transform 0.25s ease; }
.detail-link:hover svg { transform: translateX(4px); }

.panel-link {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.panel-link:hover .circle-arrow {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

/* ---------- AI section (dark) ---------- */

.ai-section {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.ai-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(88px, 11vw, 144px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.6vw, 44px);
  z-index: 1;
}

.ai-orbit {
  position: absolute;
  top: 50%;
  right: -5%;
  width: min(560px, 52%);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}

.ai-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.ai-text {
  font-size: 14px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52em;
}

.circle-link--dark { color: #fff; }

.circle-link--dark .circle-arrow {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.ai-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ai-list li {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.ai-list li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  transform: translateY(-1px);
}

.circle-link--dark:hover .circle-arrow {
  background: var(--violet);
  border-color: var(--violet);
}

.ai-para {
  position: absolute;
  height: 90px;
  width: 56%;
  transform: skewX(-32deg);
  background: var(--navy-deco);
}

.ai-para--1 { top: 8%; left: -24%; }
.ai-para--2 { bottom: -6%; right: -18%; width: 70%; }

/* ---------- Approach ---------- */

.approach-intro {
  font-size: 14px;
  color: var(--text-2);
  max-width: 52em;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-index {
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.1em;
}

.step-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.step-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.9;
}

.engagement {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 2;
}

.engagement [lang="en"] {
  display: block;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.12em;
  font-size: 12px;
  margin-bottom: 6px;
}

/* ---------- Company ---------- */

.company-table { border-top: 1px solid var(--line); }

.company-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.company-row dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
}

.company-row dd {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
}

/* ---------- Clients ---------- */

.clients-lead {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  color: var(--navy);
  max-width: 38em;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.clients-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.clients-list li {
  font-size: 14px;
  font-weight: 500;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.clients-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--violet);
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
}

/* ---------- Contact section ---------- */

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 128px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-title {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-top: 14px;
}

.contact-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-2);
}

.contact-guide {
  max-width: 42em;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 2;
}

.contact-actions {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.contact-mail {
  position: relative;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  padding-bottom: 8px;
}

.contact-mail::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.contact-mail:hover { color: var(--violet); }

.contact-copy {
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-copy:hover { color: var(--violet); border-color: var(--violet); }
.contact-copy.is-copied { color: var(--cyan); border-color: var(--cyan); }

.footer-main {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(40px, 6vw, 96px);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.footer-col dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.footer-col dd + dd { margin-top: 10px; }

.footer-col dd a,
.footer-col--flat a {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.footer-col dd a:hover,
.footer-col--flat a:hover { color: var(--violet); }

.footer-col--flat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 700;
}

.footer-col--flat a { color: var(--navy); font-size: 14px; }

.footer-bottom {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 24px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 12px; color: var(--muted); }

.footer-mission {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow,
.sticky-cta:hover .btn-arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 8px 20px rgba(92, 63, 214, 0.22);
}

.btn--primary:hover {
  background: var(--violet-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(92, 63, 214, 0.3);
}

.btn--ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
}

.btn--ghost:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.hero-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0;
  animation: hero-fade 0.9s ease 0.85s forwards;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 18px;
}

.detail-actions .detail-link { margin-top: 0; }

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}

/* ---------- FAQ ---------- */

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

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ""; }

.faq-icon {
  flex: none;
  position: relative;
  width: 14px;
  height: 14px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--violet);
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}

.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { opacity: 0; }

.faq-a { padding: 0 48px 26px 0; max-width: 52em; }

.faq-a p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 2;
}

.faq-a a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-mail {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Contact form ---------- */

.contact-wrap {
  width: 100%;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.field-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.field-req {
  font-size: 11px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.05em;
}

.field-req--opt { color: var(--muted); font-weight: 500; }

.field-input {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 16px;
  color: var(--text);
  padding: 12px 2px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.field-input::placeholder { color: #aeb7c4; }

.field-input:focus {
  outline: none;
  border-bottom-color: var(--violet);
  box-shadow: 0 1px 0 var(--violet);
}

.field-input:user-invalid {
  border-bottom-color: var(--magenta);
  box-shadow: 0 1px 0 var(--magenta);
}

.field-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.chip { position: relative; cursor: pointer; }

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.chip-text {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.chip:hover .chip-text {
  border-color: var(--violet);
  color: var(--violet);
}

.chip input:checked + .chip-text {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.chip input:focus-visible + .chip-text {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

.field-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.field-textarea {
  min-height: 150px;
  line-height: 1.9;
  resize: vertical;
}

.contact-submit {
  align-self: flex-start;
  border: none;
  font-family: var(--font-jp);
  cursor: pointer;
  margin-top: 6px;
}

.contact-form-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.contact-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--panel);
  border-radius: 14px;
}

.contact-fallback[hidden] { display: none; }

.contact-fallback-lead {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.9;
}

.contact-fallback-lead a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-fallback-body {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--text);
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
}

.contact-alt {
  border-left: 1px solid var(--line);
  padding-left: clamp(28px, 4vw, 56px);
}

.contact-alt > * + .contact-alt-label { margin-top: 48px; }

.contact-alt-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.12em;
}

.contact-alt-title {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.contact-alt-text {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.9;
}

.contact-alt .contact-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
}

.contact-alt .contact-mail { font-size: clamp(20px, 2.2vw, 26px); }

.contact-alt .detail-link { margin-top: 14px; }

/* ---------- Sticky CTA (mobile) ---------- */

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--violet);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(21, 38, 50, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sticky-cta:hover { background: var(--violet-dark); }

@media (max-width: 900px) {
  .sticky-cta { display: inline-flex; }
}

/* ---------- Reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    font-family: var(--font-jp);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 120px;
  }

  .hero-visual { max-width: 520px; }

  .about-body { grid-template-columns: 1fr; }

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

  .issues-list li:nth-last-child(-n+2) { border-bottom: none; }
  .issues-list li:last-child { border-bottom: 1px solid var(--line); }

  .feature-item { grid-template-columns: 1fr; gap: 8px; }

  .steps { grid-template-columns: 1fr 1fr; }

  .footer-main { grid-template-columns: 1fr; }

  .company-row { grid-template-columns: 1fr; gap: 6px; }

  .contact-wrap { grid-template-columns: 1fr; }

  .contact-alt {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 40px;
  }

  .contact-alt > * + .contact-alt-label { margin-top: 40px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: stretch; }

  .hero-actions .btn { justify-content: center; }
  .hero-actions .text-link { justify-content: center; }

  .contact-submit { align-self: stretch; justify-content: center; }

  .faq-q { font-size: 14px; }
  .faq-a { padding-right: 0; }

  .business-summary { flex-wrap: wrap; }

  .business-toggle { margin-left: 0; }

  .business-detail { margin-left: 0; }

  .detail-areas,
  .ai-list,
  .clients-list { grid-template-columns: 1fr; }


  .footer-cols { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }

  .orbit-dot { display: none; }
}
