/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary:       #0054d9;
  --color-primary-dark:  #003f9f;
  --color-primary-light: #eaf2ff;
  --color-text:          #111827;
  --color-muted:         #6b7280;
  --color-border:        #e5e7eb;
  --color-bg:            #ffffff;
  --color-bg-soft:       #f5f9ff;
  --shadow-soft:         0 18px 45px rgba(15,23,42,.08);
  --radius-card:         22px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN','Hiragino Sans','Meiryo',sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   UTILITIES
============================================================ */
.text-blue { color: var(--color-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,84,217,.28);
}
.btn--outline {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
}
.section-sub {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-muted);
  margin-top: 10px;
}

.link-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}
.link-more:hover { text-decoration: underline; }

/* Fade-in */
.js-fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.js-fade.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(15,23,42,.07); }

.header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 20px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1;
}
.header__logo-name {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: .02em;
  line-height: 1.3;
}
.header__logo-jp {
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: .06em;
  margin-top: 2px;
}

.header__nav { flex: 1; }
.header__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.header__nav-list a {
  display: block;
  padding: 7px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.header__nav-list a:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.header__phone:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all .3s;
}
.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  padding: 72px 0 56px;
  background: linear-gradient(140deg,#d6eaff 0%,#eaf2ff 35%,#f5f9ff 65%,#fff 100%);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
}
.hero__bg-circle--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,84,217,.07) 0%, transparent 70%);
  top: -160px; right: -120px;
}
.hero__bg-circle--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0,84,217,.05) 0%, transparent 70%);
  bottom: -120px; left: 28%;
}
.hero__bg-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(255,255,255,.6), transparent);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border: 1px solid rgba(0,84,217,.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: .02em;
}

.hero__heading {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

.hero__desc {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 26px;
}

.hero__features {
  display: flex;
  gap: 18px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.hero__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.hero__feature-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__feature-icon svg { width: 17px; height: 17px; fill: var(--color-primary); }

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

/* ---- Key visual ---- */
.hero__devices {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0;
  margin-left: -40px;
}

.hero__backwall {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(214,234,255,.82) 0%, rgba(234,242,255,.78) 40%, rgba(245,249,255,.72) 70%, rgba(255,255,255,.65) 100%);
  z-index: 1;
}

.hero__kv {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 20px 48px rgba(15,23,42,.2));
}

.hero__bubble {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 128px;
  height: 128px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.65;
  padding: 14px;
  box-shadow: 0 8px 32px rgba(0,84,217,.35);
  z-index: 20;
}



/* ============================================================
   SERVICES
============================================================ */
.services {
  padding: 88px 0;
  background: var(--color-bg);
}

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

.svc-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 34px 26px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15,23,42,.12);
}
.svc-card__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: .12em;
  margin-bottom: 14px;
  opacity: .65;
}
.svc-card__icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.svc-card__icon svg { width: 26px; height: 26px; fill: #fff; }
.svc-card__icon--blue   { background: var(--color-primary); }
.svc-card__icon--indigo { background: #4f46e5; }
.svc-card__icon--violet { background: #7c3aed; }
.svc-card__icon--teal   { background: #0d9488; }
.svc-card__icon--amber  { background: #d97706; }

.svc-card__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
}
.svc-card__desc {
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 18px;
  flex: 1;
}
.svc-card__checks {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-card__checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
}
.svc-card__checks li::before {
  content: '';
  display: block;
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-primary-light)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230054d9'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.svc-card__link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  transition: gap .2s;
  gap: 2px;
}
.svc-card__link:hover { text-decoration: underline; }

/* ============================================================
   AI SUPPORT
============================================================ */
.ai-support {
  padding: 88px 0;
  background: var(--color-bg-soft);
}

.ai-support__intro {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.85;
  margin-top: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.ai-support__panels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 48px;
}

.ai-panel {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  height: 100%;
}

.ai-panel--after {
  border-color: rgba(0,84,217,.2);
  background: linear-gradient(145deg, #fff 60%, #f0f7ff);
}

.ai-panel__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.ai-panel__badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 999px;
}
.ai-panel__badge--gray { background: #f3f4f6; color: var(--color-muted); }
.ai-panel__badge--blue { background: var(--color-primary-light); color: var(--color-primary); }

.ai-panel__header-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.ai-panel__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text);
}
.ai-panel__list li strong { color: var(--color-text); }

.ai-panel__icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.ai-panel__icon svg { width: 14px; height: 14px; }
.ai-panel__icon--gray { background: #f3f4f6; }
.ai-panel__icon--gray svg { fill: var(--color-muted); }
.ai-panel__icon--blue { background: var(--color-primary-light); }
.ai-panel__icon--blue svg { fill: var(--color-primary); }

.ai-support__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  flex-shrink: 0;
}
.ai-support__arrow svg { fill: var(--color-primary); }

.ai-support__bottom {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ai-support__bottom-text {
  font-size: 14px;
  color: var(--color-muted);
}

/* ============================================================
   APP APPEAL
============================================================ */
.appeal {
  padding: 88px 0;
  background: var(--color-bg-soft);
}

.appeal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.appeal__sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.appeal__heading {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
}
.appeal__desc {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.85;
  margin-bottom: 34px;
}

/* Steps */
.steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.step__icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__icon svg { width: 22px; height: 22px; fill: var(--color-primary); }
.step__num {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__label {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.step__arrow {
  font-size: 16px;
  color: var(--color-primary);
  opacity: .45;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.appeal__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 2px;
  display: inline-block;
  transition: opacity .2s;
}
.appeal__link:hover { opacity: .75; }

.appeal__note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.7;
  background: var(--color-primary-light);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
}
.appeal__note svg { fill: var(--color-primary); flex-shrink: 0; margin-top: 3px; }
.appeal__note strong { color: var(--color-primary-dark); }

/* IDE Mock */
.appeal__right { position: relative; }

.ide-mock {
  background: #1e1e2e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,23,42,.25);
  font-family: 'Fira Code','Cascadia Code','Consolas',monospace;
}

.ide-mock__titlebar {
  background: #13131f;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ide-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ide-dot--r { background: #f87171; }
.ide-dot--y { background: #fbbf24; }
.ide-dot--g { background: #4ade80; }
.ide-mock__filename { font-size: 11px; color: #6b7280; margin-left: 8px; }

.ide-mock__tabs {
  background: #181825;
  display: flex;
  border-bottom: 1px solid #313145;
}
.ide-tab {
  padding: 7px 14px;
  font-size: 11px;
  color: #6b7280;
  cursor: pointer;
  border-right: 1px solid #313145;
  white-space: nowrap;
}
.ide-tab--active { background: #1e1e2e; color: #cdd6f4; border-bottom: 2px solid var(--color-primary); }

.ide-mock__body { display: flex; height: 280px; }

/* Code editor */
.ide-mock__editor {
  flex: 1;
  overflow: hidden;
  padding: 10px 0;
  background: #1e1e2e;
}
.ide-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 1.5px 14px;
  font-size: 10.5px;
  line-height: 1.6;
  white-space: nowrap;
}
.ide-line--active { background: rgba(99,102,241,.12); }
.ide-ln { color: #45475a; min-width: 16px; text-align: right; flex-shrink: 0; user-select: none; }
.ide-kw  { color: #cba6f7; }
.ide-mod { color: #89dceb; }
.ide-fn  { color: #89b4fa; }
.ide-str { color: #a6e3a1; }
.ide-dec { color: #f38ba8; }
.ide-comment { color: #45475a; font-style: italic; }

/* AI Chat panel */
.ide-mock__chat {
  width: 175px;
  background: #181825;
  border-left: 1px solid #313145;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.ide-chat__header {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #89b4fa;
  border-bottom: 1px solid #313145;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.ide-chat__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #a6e3a1;
}
.ide-chat__body {
  flex: 1;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.ide-chat__msg {
  font-size: 10px;
  line-height: 1.6;
  padding: 7px 9px;
  border-radius: 8px;
  font-family: 'Hiragino Kaku Gothic ProN','Meiryo',sans-serif;
}
.ide-chat__msg--user {
  background: #313145;
  color: #cdd6f4;
  align-self: flex-end;
  border-radius: 8px 8px 2px 8px;
}
.ide-chat__msg--ai {
  background: rgba(99,102,241,.15);
  color: #cdd6f4;
  align-self: flex-start;
  border-radius: 8px 8px 8px 2px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ide-chat__ai-label {
  font-size: 9px;
  font-weight: 700;
  color: #89b4fa;
}
.ide-chat__msg--typing { min-height: 34px; }

/* Typing dots animation */
.ide-typing { display: flex; gap: 4px; align-items: center; padding: 4px 0; }
.ide-typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #89b4fa;
  animation: ide-blink 1.2s infinite;
}
.ide-typing span:nth-child(2) { animation-delay: .2s; }
.ide-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes ide-blink {
  0%,80%,100% { opacity: .2; transform: scale(.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* Caption */
.ide-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: var(--color-primary-light);
  border: 1px solid rgba(0,84,217,.18);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--color-primary-dark);
  line-height: 1.5;
}
.ide-caption svg { fill: var(--color-primary); flex-shrink: 0; }

/* ============================================================
   APP SALES
============================================================ */
.app-sales {
  padding: 88px 0;
  background: var(--color-bg);
}

.app-sales__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 40px;
}

.app-sales__card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s, box-shadow .3s;
}
.app-sales__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(15,23,42,.12);
}
.app-sales__card--featured {
  border-color: rgba(124,58,237,.25);
  background: linear-gradient(145deg,#fff 55%,#f5f3ff);
}

.app-sales__card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.app-sales__card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-sales__card-icon svg { width: 24px; height: 24px; fill: #fff; }
.app-sales__card-icon--blue   { background: var(--color-primary); }
.app-sales__card-icon--violet { background: #7c3aed; }

.app-sales__card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.app-sales__card-tag--violet { color: #7c3aed; }

.app-sales__card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text);
}
.app-sales__card-desc {
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.8;
}
.app-sales__checks { margin-bottom: 0; }

.app-sales__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f3ff;
  border: 1px solid rgba(124,58,237,.2);
  color: #7c3aed;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-top: auto;
}
.app-sales__badge svg { fill: #7c3aed; }

.app-sales__cta {
  text-align: center;
}

/* ============================================================
   CASES + APPS
============================================================ */
.cases-apps { padding: 88px 0; }
.cases-apps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.cases,.rec-apps {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.cases__header,.rec-apps__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.cases__title,.rec-apps__title {
  font-size: 20px;
  font-weight: 800;
}

.rec-apps__sublabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin: 18px 0 10px;
}
.rec-apps__sublabel:first-of-type { margin-top: 0; }
.rec-apps__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 20px 0 4px;
}

.case-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
}
.case-item:first-of-type { border-top: none; padding-top: 0; }

.case-item__thumb {
  width: 80px; height: 80px;
  border-radius: 12px;
  flex-shrink: 0;
}
.case-item__thumb--1 { background: linear-gradient(135deg,#bfdbfe,#93c5fd); }
.case-item__thumb--2 { background: linear-gradient(135deg,#a7f3d0,#6ee7b7); }
.case-item__thumb--3 { background: linear-gradient(135deg,#fde68a,#fbbf24); }

.case-item__name { font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.case-item__text { font-size: 12.5px; color: var(--color-muted); line-height: 1.75; }

/* App icons */
.app-icons { display: flex; gap: 16px; flex-wrap: wrap; }
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.app-icon__circle {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
  transition: transform .2s;
}
.app-icon__circle:hover { transform: translateY(-4px); }
.app-icon__circle svg { width: 28px; height: 28px; fill: #fff; }
.app-icon__circle--blue   { background: linear-gradient(135deg,#0054d9,#60a5fa); }
.app-icon__circle--green  { background: linear-gradient(135deg,#059669,#34d399); }
.app-icon__circle--orange { background: linear-gradient(135deg,#d97706,#fbbf24); }
.app-icon__circle--red    { background: linear-gradient(135deg,#dc2626,#f87171); }
.app-icon__circle--purple { background: linear-gradient(135deg,#7c3aed,#a78bfa); }
.app-icon__circle--indigo { background: linear-gradient(135deg,#4338ca,#818cf8); }
.app-icon__circle--teal   { background: linear-gradient(135deg,#0d9488,#2dd4bf); }
.app-icon__circle--amber  { background: linear-gradient(135deg,#d97706,#fcd34d); }
.app-icon__img {
  width: 44px; height: 44px;
  object-fit: contain;
  transition: transform .2s ease;
}
.app-icon__img:hover { transform: translateY(-4px); }
.app-icon span { font-size: 11.5px; font-weight: 600; text-align: center; }

/* ============================================================
   CTA
============================================================ */
.cta {
  padding: 60px 0;
  background: var(--color-primary-light);
}
.cta__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  background: #fff;
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: var(--shadow-soft);
}
.cta__illust { flex-shrink: 0; }
.cta__photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0,84,217,.18);
}
.cta__text { flex: 1; }
.cta__heading { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.cta__desc { font-size: 14px; color: var(--color-muted); }
.cta__buttons { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--color-bg); border-top: 1px solid var(--color-border); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer__logo { display: flex; flex-direction: column; margin-bottom: 14px; }
.footer__logo-name { font-size: 15px; font-weight: 800; color: var(--color-text); line-height: 1.3; }
.footer__logo-jp { font-size: 11px; color: var(--color-muted); margin-top: 2px; }
.footer__desc { font-size: 12.5px; color: var(--color-muted); line-height: 1.85; }
.footer__col-title { font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__links a { font-size: 12.5px; color: var(--color-muted); transition: color .2s; }
.footer__links a:hover { color: var(--color-primary); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--color-muted); }
.footer__contact-row svg { color: var(--color-primary); flex-shrink: 0; }
.footer__contact-row a { color: var(--color-muted); transition: color .2s; }
.footer__contact-row a:hover { color: var(--color-primary); }

.footer__bar { background: var(--color-primary); padding: 14px 0; }
.footer__copy { font-size: 11.5px; color: rgba(255,255,255,.72); text-align: center; }

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
============================================================ */
@media (max-width: 1024px) {
  .header__nav-list a { font-size: 11.5px; padding: 7px 8px; }
  .hero__heading { font-size: 42px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .appeal__heading { font-size: 28px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
============================================================ */
@media (max-width: 768px) {
  /* Header */
  .header__nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 100;
  }
  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header__nav-list { flex-direction: column; gap: 2px; }
  .header__nav-list a { padding: 11px 14px; font-size: 14px; }
  .header__hamburger { display: flex; }
  .header__phone { font-size: 11px; padding: 7px 11px; }

  /* Hero */
  .hero { padding: 44px 0 36px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__content { order: 1; }
  .hero__devices { order: 2; height: 300px; }
  .hero__heading { font-size: 34px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  /* Key visual on mobile */
  .hero__kv { max-width: 100%; }
  .hero__bubble { width: 100px; height: 100px; font-size: 10px; top: -14px; right: -6px; }
  /* AI Support */
  .ai-support__panels { grid-template-columns: 1fr; gap: 16px; }
  .ai-support__arrow { flex-direction: row; justify-content: center; transform: rotate(90deg); }

  /* Sections */
  .services { padding: 60px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }

  .appeal { padding: 60px 0; }
  .appeal__inner { grid-template-columns: 1fr; gap: 36px; }
  .appeal__heading { font-size: 26px; }
  .steps { gap: 4px; justify-content: center; }
  .step__arrow { font-size: 13px; margin-bottom: 18px; }
  .appeal__bubble { top: -14px; right: -10px; width: 90px; height: 90px; font-size: 9.5px; }
  .appeal__right { overflow: hidden; }
  .ide-mock { max-width: 100%; }

  .app-sales { padding: 60px 0; }
  .app-sales__grid { grid-template-columns: 1fr; }
  .cases-apps { padding: 60px 0; }
  .cases-apps__grid { grid-template-columns: 1fr; }

  .cta { padding: 44px 0; }
  .cta__inner { flex-direction: column; text-align: center; padding: 32px 22px; gap: 20px; }
  .cta__buttons { width: 100%; }
  .cta__buttons .btn { width: 100%; justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 28px; gap: 28px; }
}

@media (max-width: 480px) {
  .hero__heading { font-size: 28px; }
  .hero__bubble { right: -4px; }
  .app-icons { justify-content: center; }
}
