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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --accent: #ff4d00;
  --accent-dim: rgba(255, 77, 0, 0.12);
  --text: #f0ede8;
  --text-muted: #7a7672;
  --text-dim: #4a4744;
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.nav-apps {
  color: #fff;
  background: var(--accent);
  padding: 6px 16px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255,255,255,0.25);
  animation: navGlow 2.5s ease-in-out infinite;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
@keyframes navGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,255,255,0.2); }
  50% { box-shadow: 0 0 18px rgba(255,255,255,0.45); }
}
.nav-links a.nav-apps:hover {
  background: #e04400;
  color: #fff;
  box-shadow: 0 0 22px rgba(255,255,255,0.5);
  animation: none;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Grid background - fades from light (top) to dark (bottom) */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid-lines::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255, 255, 255, 1) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255, 255, 255, 1) 80px);
}

.hero-grid-lines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.97) 0%, rgba(10, 10, 10, 0.85) 50%, rgba(10, 10, 10, 0.7) 100%);
}

.hero-glow {
  position: absolute;
  bottom: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 77, 0, 0.4) 0%, rgba(255, 77, 0, 0.15) 35%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content > * {
  width: 100%;
}

.hero-proof,
.hero-cta {
  width: auto;
}

.hero-eyebrow {
  font-family: var(--font-jp);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 24px;
  height: 1.4em;
  overflow: hidden;
  position: relative;
}

.hero-eyebrow-track {
  display: flex;
  flex-direction: column;
  animation: eyebrowSlide 12s ease-in-out infinite;
}

.hero-eyebrow-track span {
  height: 1.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@keyframes eyebrowSlide {

  0%,
  20% {
    transform: translateY(0);
  }

  25%,
  45% {
    transform: translateY(-1.4em);
  }

  50%,
  70% {
    transform: translateY(-2.8em);
  }

  75%,
  95% {
    transform: translateY(-4.2em);
  }

  100% {
    transform: translateY(-5.6em);
  }
}

.hero h1 {
  font-family: var(--font-jp);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  background: linear-gradient(to right, #ffffff 0%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #ff8a50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 44px;
  line-height: 2;
}

/* 稼働中の実績を示すバッジ。CTAの上に置き、縦に積む */
/* 実物が見られることを伝えたいので、淡く明滅させて押せると分かるようにする */
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: -24px auto 20px;
  padding: 8px 18px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.02em;
  text-decoration: none;
  animation: proofGlow 2.8s ease-in-out infinite;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.hero-proof:hover {
  border-color: rgba(34, 197, 94, 0.7);
  background: rgba(34, 197, 94, 0.08);
  transform: translateY(-2px);
  animation: none;
}

.hero-proof svg {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.hero-proof:hover svg {
  color: var(--text);
  transform: translateX(3px);
}

@keyframes proofGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.10); }
  50% { box-shadow: 0 0 26px rgba(34, 197, 94, 0.32); }
}

.hero-proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: proofPulse 2.4s ease-out infinite;
}

@keyframes proofPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: all 0.3s;
}

.hero-cta:hover {
  background: #e04400;
  transform: translateY(-2px);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ─── Sections ─── */
section {
  padding: 120px clamp(40px, 8vw, 120px);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
}

.section-num {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 400px;
}

/* セクション境界の淡いアクセントライン */
.comparison,
.flow,
.solutions {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 5%, rgba(255, 77, 0, 0.35), transparent 95%) 1;
}

/* ─── Services ─── */
.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.4s;
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  background: #232323;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Recommendの1枚だけ常時ハイライトし、表示されたら上端のラインを引く */
.service-card--featured {
  border-color: rgba(255, 77, 0, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.06), transparent 45%),
    var(--surface-2);
}

.service-card--featured:hover {
  border-color: rgba(255, 77, 0, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.09), transparent 45%),
    #232323;
}

.service-card--featured::before {
  width: 0;
  transition: width 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s;
}

.service-card--featured.visible::before {
  width: 100%;
}

/* バッジはラインを引き終えてから出す */
.service-card--featured .service-badge {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s ease 0.95s, transform 0.5s ease 0.95s;
}

.service-card--featured.visible .service-badge {
  opacity: 1;
  transform: none;
}

.service-badge {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.service-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 24px;
  filter: brightness(0.75);
  transition: filter 0.4s;
}

.service-card:hover .service-img {
  filter: brightness(0.9);
}

.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.service-price {
  margin-top: 20px;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ─── Solutions（DX支援・自社SaaS） ─── */
.solutions {
  /* 一番の売りなので、他セクションより明るくして目立たせる */
  background: linear-gradient(180deg, #1e1e1e 0%, #191919 55%, #141414 100%);
  position: relative;
  overflow: hidden;
  padding-top: 84px;
  padding-bottom: 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.solutions::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1300px 800px at 78% 8%, rgba(255, 77, 0, 0.18), transparent 70%),
    radial-gradient(1000px 700px at 4% 92%, rgba(255, 77, 0, 0.1), transparent 70%);
  pointer-events: none;
}

.solutions .section-inner {
  position: relative;
  z-index: 1;
}

.solutions .section-header {
  margin-bottom: 40px;
}

.solution-lead {
  max-width: 800px;
  margin-bottom: 8px;
}

.solution-headline {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.solution-headline em {
  font-style: normal;
  color: var(--accent);
}

/* ─ ブラウザ風フレームに入れた実画面 ─ */
.solution-figure {
  max-width: 920px;
  margin: 34px auto 0;
}

.solution-shot {
  position: relative;
}

.browser-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 70px rgba(255, 77, 0, 0.1);
  background: #1c1c1c;
}

.browser-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #202020;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.browser-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-right: 44px;
}

.browser-frame img {
  width: 100%;
  display: block;
}

/* ピンの基準はブラウザバーを除いたキャプチャ画像そのもの */
.browser-view {
  position: relative;
}

/* 画面上の注目ポイント */
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pinPulse 2.6s ease-out infinite;
}

@keyframes pinPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(255, 77, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}

.solution-figure-note {
  font-size: 0.7rem;
  color: #6f6a65;
  text-align: center;
  margin-top: 18px;
  line-height: 1.9;
}

/* ─ 3つの価値 ─ */
.solution-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.solution-point {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  padding: 24px 24px;
  transition: border-color 0.4s, transform 0.4s, background 0.4s;
}

.solution-point:hover {
  border-color: rgba(255, 77, 0, 0.4);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-4px);
}

.solution-point-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-point h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.solution-point p {
  font-size: 0.8rem;
  color: #a8a39d;
  line-height: 1.9;
}

.solution-point p strong {
  color: var(--text);
  font-weight: 600;
}

/* ─ 締めのCTA ─ */
.solution-foot {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.solution-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.solution-price em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 400;
  color: #a8a39d;
  margin-top: 4px;
}

.solution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.solution-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 14px 26px;
  transition: all 0.3s;
}

.solution-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.solution-cta--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.solution-cta--primary:hover {
  background: #e04400;
  border-color: #e04400;
}

.solution-cta svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s;
}

.solution-cta:hover svg {
  transform: translateX(3px);
}

/* ─── Works ─── */
.works {
  background: var(--bg);
  overflow: hidden;
}

.works-marquee .marquee-track {
  gap: 32px;
}

.works-marquee .work-card {
  width: 480px;
  flex-shrink: 0;
}

/* マーキーの下に制作実績ページへの導線を置く */
.works-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.work-card {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s;
}

.work-card:hover {
  border-color: rgba(255, 77, 0, 0.2);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: all 0.6s;
}

.work-card:hover img {
  filter: brightness(0.75);
  transform: scale(1.03);
}

.work-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 60%);
}

.work-tag {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.work-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.work-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Flow ─── */
.flow {
  background: linear-gradient(180deg, #0d0d0d 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

/* 工程の並びに合わせた細いグリッド */
.flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

.flow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1100px 700px at 50% 112%, rgba(255, 77, 0, 0.18), transparent 70%);
  pointer-events: none;
}

.flow .section-inner {
  position: relative;
  z-index: 1;
}

/* サービスによって進め方が違うので、2つのトラックに分けて並べる */
.flow-track {
  --track-color: var(--accent);
  --track-color-dim: var(--accent-dim);
}

.flow-track--web {
  --track-color: #60a5fa;
  --track-color-dim: rgba(96, 165, 250, 0.14);
}

.flow-track + .flow-track {
  margin-top: 44px;
}

.flow-track-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--track-color);
}

.flow-track-tag {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--track-color);
  background: var(--track-color-dim);
  border-radius: 999px;
  padding: 3px 11px;
}

.flow-track-title em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.flow-step {
  background: var(--surface-2);
  padding: 40px 28px;
  text-align: center;
  border-radius: 8px;
}

.flow-num {
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 16px;
}

.flow-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.flow-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── Comparison ─── */
.comparison {
  background: linear-gradient(180deg, #151515 0%, #111111 100%);
  position: relative;
  overflow: hidden;
}

/* 左上からの光でチャートを引き立てる演出は一旦なし
.comparison::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1100px 700px at 8% 4%, rgba(255, 77, 0, 0.14), transparent 70%);
  pointer-events: none;
}
*/

.comparison .section-inner {
  position: relative;
  z-index: 1;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 72px;
}
.compare-table thead th {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.compare-table thead th:first-child {
  text-align: left;
}
.compare-table thead th.highlight {
  color: var(--accent);
  position: relative;
}
.compare-table thead th.highlight::after {
  content: 'RECOMMEND';
  position: absolute;
  top: -8px; left: 50%; transform: translateX(-50%);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--accent);
  color: #fff;
  padding: 2px 10px;
  white-space: nowrap;
}
.compare-table tbody td {
  padding: 18px 20px;
  text-align: center;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-muted);
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  font-size: 0.85rem;
}
.compare-table tbody td.highlight {
  color: var(--text);
  font-weight: 600;
  background: rgba(255,77,0,0.04);
}
.compare-table tbody tr:last-child td { border-bottom: none; }

/* Cost Chart */
.cost-chart-title {
  font-family: var(--font-en);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text);
}
.cost-chart-sub {
  font-size: 0.8rem; color: var(--text-muted); margin-bottom: 40px;
}
.cost-chart {
  display: flex; gap: 0; margin-bottom: 24px;
}
.cost-chart-y {
  display: flex; flex-direction: column; justify-content: space-between;
  height: 320px; padding-right: 16px;
  font-family: var(--font-en); font-size: 0.65rem; color: var(--text-dim);
  text-align: right; min-width: 48px;
}
.cost-chart-area {
  flex: 1; display: flex; gap: 0; justify-content: space-around;
  position: relative; height: 320px;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cost-chart-gridlines {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-evenly;
  pointer-events: none;
}
.cost-chart-gridlines div {
  border-bottom: 1px dashed rgba(255,255,255,0.05);
}
.cost-year-group {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  position: relative; z-index: 1;
}
.cost-bar-wrap {
  display: flex; gap: 8px; align-items: flex-end;
  height: 100%; padding-bottom: 0;
}
.cost-bar {
  width: 32px; border-radius: 3px 3px 0 0;
  position: relative;
  height: 0;
  transition: height 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.cost-bar.animate { height: var(--target-h); }
.cost-bar.umidas { background: linear-gradient(to top, var(--accent), #ff7a33); }
.cost-bar.agency { background: rgba(255,255,255,0.15); }
.cost-bar.freelance { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-bottom: none; }
.cost-bar-label {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 0.62rem; font-weight: 600;
  color: var(--text-muted); white-space: nowrap;
  opacity: 0; transition: opacity 0.5s 1s;
}
.cost-bar.animate .cost-bar-label { opacity: 1; }
.cost-bar.umidas .cost-bar-label { color: var(--accent); font-weight: 700; }
.cost-year-label {
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: 0.72rem; color: var(--text-muted);
  white-space: nowrap;
}
.cost-year-note {
  display: block; margin-top: 4px;
  font-size: 0.6rem; color: var(--text-dim);
}
.cost-legend {
  display: flex; gap: 28px; justify-content: center; margin-top: 28px;
}
.cost-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--text-muted);
}
.cost-legend-dot { width: 10px; height: 10px; border-radius: 2px; }
.cost-legend-dot.umidas { background: var(--accent); }
.cost-legend-dot.agency { background: rgba(255,255,255,0.15); }
.cost-legend-dot.freelance { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); }

/* Breakdown Table */
.breakdown-table {
  width: 100%; border-collapse: collapse;
  margin-top: 48px;
}
.breakdown-table thead th {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted); padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.breakdown-table thead th:first-child { text-align: left; }
.breakdown-table thead th.col-umidas { color: var(--accent); }
.breakdown-table tbody td {
  padding: 14px 16px; text-align: center;
  font-size: 0.82rem; color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-family: var(--font-en);
}
.breakdown-table tbody td:first-child {
  text-align: left; font-family: var(--font-jp);
  color: var(--text); font-size: 0.8rem;
}
.breakdown-table tbody td.col-umidas {
  color: var(--text); font-weight: 600;
  background: rgba(255,77,0,0.04);
}
.breakdown-table .total-row td {
  border-top: 1px solid rgba(255,255,255,0.06);
  font-weight: 600;
}
.breakdown-table .total-row td.col-umidas {
  color: var(--accent); font-weight: 700;
}
.breakdown-note {
  font-size: 0.7rem; color: var(--text-dim);
  margin-top: 16px; text-align: right;
}

/* DX・SaaSの料金補足 */
.pricing-extra {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pricing-extra-card {
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 28px 30px;
}

.pricing-extra-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-extra-card .price {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.pricing-extra-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.pricing-extra-card a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 77, 0, 0.4);
}

.pricing-extra-card a:hover {
  border-bottom-color: var(--accent);
}

@media (max-width: 768px) {
  .compare-table { font-size: 0.78rem; overflow-x: auto; display: block; }
  .compare-table thead th, .compare-table tbody td { padding: 12px 10px; font-size: 0.75rem; white-space: nowrap; }
  .cost-chart-y { height: 240px; }
  .cost-chart-area { height: 240px; }
  .cost-bar { width: 20px; }
  .cost-bar-label { font-size: 0.55rem; }
  .pricing-extra { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .pricing-extra-card { padding: 22px 20px; }
  .breakdown-table { display: block; overflow-x: auto; }
  .breakdown-table thead th, .breakdown-table tbody td { padding: 10px 10px; font-size: 0.72rem; white-space: nowrap; }
}

/* ─── CTA ─── */
.cta-section {
  background: var(--bg);
  padding: 110px 40px 64px;
  position: relative;
  overflow: hidden;
}

/* 説明 / Instagram / フォーム の3列 */
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr 340px;
  gap: 44px;
  align-items: start;
}

.cta-content {
  text-align: left;
}

.cta-lead {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.cta-lead em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #ff8a50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* サービス一覧・制作実績への遷移 */
.cta-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.cta-link {
  --link-color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.cta-link--works {
  --link-color: #60a5fa;
}

/* 稼働中のアプリ。ヒーローのバッジと同じ緑で「実物が見られる」ことを示す */
.cta-link--app {
  --link-color: #4ade80;
}

.cta-link:hover {
  border-color: var(--link-color);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.cta-link-en {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link-color);
}

.cta-link svg {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.cta-link:hover svg {
  transform: translateX(3px);
}

/* Instagramの投稿とDM導線 */
.cta-social {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.cta-social iframe {
  display: block;
  width: 100%;
  max-width: 340px;
  height: 520px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.cta-btn-secondary {
  display: block;
  text-align: center;
  padding: 15px 24px;
  border: 1px solid #e04400;
  color: #e04400;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-btn-secondary:hover {
  transform: translateY(-2px);
}

/* 背景に沈まないよう、カード自体を一段明るくして影を落とす */
.cta-form {
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.cta-form h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-jp);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.3s;
  margin-top: 8px;
}

.form-submit:hover {
  background: #e04400;
}

/* ─── Footer ─── */
footer {
  padding: 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

footer p {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.footer-links {
  margin-bottom: 16px;
  font-family: var(--font-jp);
  font-size: 0.7rem;
  color: var(--text-dim);
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--accent);
}

.sp-only {
  display: none;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    gap: 0;
  }
  .nav-links li {
    display: none;
  }
  .nav-links li:last-child {
    display: block;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.6;
  }

  .hero-eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .hero-proof {
    font-size: 0.68rem;
    padding: 6px 13px;
    margin: -16px auto 18px;
    line-height: 1.5;
  }

  .hero h1 {
    margin-bottom: 20px;
  }

  .hero-desc {
    font-size: 0.82rem;
    line-height: 1.9;
    margin-bottom: 26px;
  }

  .hero-cta {
    padding: 14px 32px;
    font-size: 0.76rem;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

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

  .solution-headline {
    font-size: 1.15rem;
    line-height: 1.7;
  }

  .solution-lead {
    margin-bottom: 0;
  }

  .solution-point p {
    font-size: 0.75rem;
    line-height: 1.85;
  }

  .solution-point h4 {
    font-size: 0.92rem;
  }

  .solution-price {
    font-size: 0.78rem;
  }

  .solution-price em {
    font-size: 0.7rem;
  }

  .solution-figure-note {
    font-size: 0.65rem;
  }

  .section-sub {
    font-size: 0.78rem;
  }

  .solution-figure {
    margin-top: 32px;
  }

  .browser-bar {
    height: 26px;
    gap: 5px;
    padding: 0 10px;
  }

  .browser-dot {
    width: 7px;
    height: 7px;
  }

  .browser-url {
    font-size: 0.52rem;
    margin-right: 30px;
  }

  .pin {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }

  /* 3つの価値はスマホでは番号を見出しの横に置いて縦を詰める */
  .solution-points {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .solution-point {
    padding: 16px 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num  title"
      ".    body";
    column-gap: 10px;
    row-gap: 4px;
    align-items: center;
  }

  .solution-point-num {
    grid-area: num;
    margin-bottom: 0;
    width: 20px;
    height: 20px;
    font-size: 0.62rem;
  }

  .solution-point h4 {
    grid-area: title;
    margin-bottom: 0;
  }

  .solution-point p {
    grid-area: body;
  }

  .solution-foot {
    margin-top: 32px;
    padding-top: 24px;
  }

  .solution-actions {
    width: 100%;
  }

  .solution-actions .solution-cta {
    flex: 1 1 100%;
    justify-content: center;
  }

  .works-marquee .marquee-track {
    gap: 16px;
  }

  .works-marquee .work-card {
    width: 300px;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }
  .flow-step {
    padding: 20px 16px;
  }
  .flow-num {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  .flow-label {
    font-size: 0.82rem;
    margin-bottom: 4px;
  }
  .flow-detail {
    font-size: 0.7rem;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-social {
    align-items: center;
  }

  .cta-social iframe {
    margin: 0 auto;
  }

  .cta-content {
    text-align: center;
  }

  section {
    padding: 48px 24px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 36px;
  }
  .section-num {
    margin-bottom: 6px;
  }
  .section-sub {
    font-size: 0.78rem;
  }

  .cta-form {
    padding: 24px 20px;
  }

  .cta-form h3 {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .form-group {
    margin-bottom: 10px;
  }

  .form-group label {
    margin-bottom: 4px;
    font-size: 0.72rem;
  }

  .form-group select,
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .form-group textarea {
    min-height: 70px;
  }

  .form-submit {
    padding: 12px;
    font-size: 0.82rem;
    margin-top: 4px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .cta-lead {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .cta-desc {
    font-size: 0.82rem;
    margin-bottom: 20px;
  }
}

/* ─── Cost Savings Callout ─── */
.cost-savings-callout {
  position: absolute;
  right: -8px;
  top: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cost-savings-badge {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  position: relative;
}
.cost-savings-badge::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--accent);
}
.cost-savings-line {
  width: 1px;
  height: calc(80% - 13% - 24px);
  background: var(--accent);
  margin-top: 6px;
  opacity: 0.6;
}
.cost-savings-line::before,
.cost-savings-line::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.cost-savings-line::before { top: 0; }
.cost-savings-line::after { bottom: 0; }

@media (max-width: 768px) {
  .cost-savings-callout {
    position: absolute;
    top: -32px;
    right: 0;
    left: auto;
  }
  .cost-savings-badge { font-size: 0.6rem; padding: 4px 10px; }
  .cost-savings-badge::after { display: none; }
}

/* ─── Other Services ─── */
.other-services {
  background: var(--surface);
  overflow: hidden;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}
.marquee-item {
  flex-shrink: 0;
  height: 120px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(0.3) brightness(0.9);
  transition: all 0.4s;
}
.marquee-item:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
  transform: scale(1.08);
}
@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.marquee-track {
  will-change: transform;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Floating Services Link ─── */
.float-services {
  position: fixed;
  right: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 77, 0, 0.55);
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease,
    color 0.3s ease, transform 0.3s ease;
  /* 目を引くための脈動グロー */
  animation: floatGlow 2.6s ease-in-out infinite;
}

/* 外側に広がるリング + 明滅するグロー */
@keyframes floatGlow {
  0% {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5),
      0 0 18px 2px rgba(255, 77, 0, 0.35),
      0 0 0 0 rgba(255, 77, 0, 0.5);
  }
  70% {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5),
      0 0 30px 7px rgba(255, 77, 0, 0.55),
      0 0 0 16px rgba(255, 77, 0, 0);
  }
  100% {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5),
      0 0 18px 2px rgba(255, 77, 0, 0.35),
      0 0 0 0 rgba(255, 77, 0, 0);
  }
}

/* 定期的に走る光沢 */
.float-services::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: skewX(-18deg);
  pointer-events: none;
  animation: floatShine 4.5s ease-in-out infinite;
}

@keyframes floatShine {
  0%,
  68% {
    left: -70%;
  }
  100% {
    left: 130%;
  }
}

/* 呼び込みの矢印: ゆっくり左右に揺れる */
.float-services svg {
  animation: floatNudge 2.6s ease-in-out infinite;
}

@keyframes floatNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

.float-services:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 36px rgba(255, 77, 0, 0.5);
  color: #fff;
  transform: translateY(-2px);
  animation: none;
}

.float-services:hover::after {
  animation: none;
}

.float-services .float-services-label {
  font-family: var(--font-jp);
}

.float-services .float-services-en {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s ease;
}

.float-services:hover .float-services-en {
  color: #fff;
}

.float-services svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.float-services:hover svg {
  animation: none;
  transform: translateX(4px);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .float-services {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 11px 16px;
    gap: 8px;
    font-size: 0.78rem;
  }

  .float-services .float-services-en {
    display: none;
  }

  /* スマホでは背景のオレンジの光を消す（文字が読みにくくなるため） */
  .solutions::before,
  .comparison::before,
  .flow::after {
    display: none;
  }

  .solutions,
  .comparison,
  .flow {
    background: var(--surface);
  }

  .flow {
    background: var(--bg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-services,
  .float-services::after,
  .float-services svg {
    animation: none;
    transition: none;
  }
  .float-services {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 18px 2px rgba(255, 77, 0, 0.35);
  }
}
