/* ── front-page ── */
/* ── V6 TOP PAGE — index-specific ── */

/* HERO — Pattern C（センター集中型）+ MOCOブランドカラー */
.hero--center {
  min-height: 100vh;
  position: relative;
  padding: 140px 0 80px;
  background: var(--deep-black);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(107, 138, 224, 0.07);
  transform: translate(-50%, -50%);
}
.hero-ring--1 { width: min(900px, 95vw); height: min(900px, 95vw); }
.hero-ring--2 { width: min(600px, 72vw); height: min(600px, 72vw); border-color: rgba(107, 138, 224, 0.1); }
.hero-ring--3 { width: min(320px, 48vw); height: min(320px, 48vw); border-color: rgba(139, 92, 232, 0.12); }
.hero-ring-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 80vw);
  height: min(320px, 50vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgba(107, 138, 224, 0.16) 0%,
    rgba(139, 92, 232, 0.08) 45%,
    transparent 72%
  );
  filter: blur(2px);
}
.hero .container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-inner--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}
.hero-eyebrow {
  margin-bottom: 36px;
}
.hero-title--center {
  font-family: var(--serif);
  font-size: clamp(40px, 6.2vw, 84px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 32px;
  width: 100%;
  max-width: min(960px, 100%);
}
.hero-title-line {
  display: block;
  white-space: nowrap;
}
.hero-title-grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead--center {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  max-width: min(720px, 100%);
  text-align: center;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 44px;
}
.hero-lead-p {
  margin: 0;
}
.hero-lead-p + .hero-lead-p {
  margin-top: 0.75em;
}
.hero-lead-p--sub {
  color: rgba(255, 255, 255, 0.52);
}
.hero-btns--center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-btn {
  background: var(--brand-grad) !important;
  box-shadow: 0 0 36px rgba(107, 138, 224, 0.22);
}
.hero-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(107, 138, 224, 0.32);
}
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.48);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 28px;
  border-radius: 2px;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.hero-btn-outline:hover {
  color: var(--white);
  border-color: rgba(107, 138, 224, 0.45);
  background: rgba(107, 138, 224, 0.06);
}
.hero-stats-ring {
  display: flex;
  gap: 2px;
  width: 100%;
  max-width: 700px;
}
.hero-stat-block {
  flex: 1;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 16px;
  text-align: center;
}
.hero-stat-block--feat {
  border-color: rgba(107, 138, 224, 0.28);
  background: rgba(107, 138, 224, 0.07);
}
.hero-stat-block-num {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.hero-stat-unit {
  font-size: 0.45em;
  font-weight: 400;
  color: var(--grad-blue);
}
.hero-stat-block-lbl {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  display: block;
  margin-top: 10px;
}
.hero-stat-block-desc {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.06em;
  display: block;
  margin-top: 4px;
}
/* Features / コンセプト（マーキー直下）— Why と共通の2カラム */
.features,
.why {
  padding: 140px 0;
  background: var(--white);
}
.features-inner,
.why-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0 100px;
  align-items: start;
}
.features-side,
.why-side {
  padding-top: 8px;
  position: sticky;
  top: 88px;
}
.features-side-desc,
.why-side-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 2.2;
  letter-spacing: 0.06em;
  margin: 24px 0 0;
}
.features-items {
  display: flex;
  flex-direction: column;
}
.features-item {
  position: relative;
  overflow: visible;
}
.features-item + .features-item {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
.features-item-inner {
  position: relative;
  overflow: visible;
  padding-right: clamp(112px, 19vw, 210px);
}
.features-item-num {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 0;
  font-family: var(--display);
  font-size: clamp(96px, 14vw, 168px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transform: translate(0, -8%);
  font-variant-numeric: tabular-nums;
}
.features-item-digit {
  display: block;
  flex-shrink: 0;
  text-align: center;
}
.features-item-digit:first-child {
  width: 0.56em;
}
.features-item-digit:last-child {
  width: 0.44em;
  margin-left: -0.06em;
}
.features-item-title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 28px;
}
.features-item-body {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: var(--mid);
  line-height: 2.4;
  letter-spacing: 0.06em;
  margin: 0;
  max-width: 36em;
}
.features-item-body em {
  font-style: normal;
  color: var(--ink);
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-txt {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
}
.hero-scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--grad-blue), transparent);
  animation: hero-pulse 2s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.35; }
}

/* TOP セクション intro — Features / Why とカラム幅・余白を統一 */
.svc .sec-intro,
.res-intro,
.top-news-intro,
.top-blog-intro {
  gap: 100px;
}

/* TOP セクション H2 統一（サービス・実績・お知らせ・ブログ・Why） */
.svc .sec-intro .sec-title,
.top-news-intro .sec-title,
.top-blog-intro .sec-title,
.res-intro .sec-title,
.why-title {
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
}

/* ── EDITORIAL SERVICES (TOP) ── */
.svc {
  padding: 140px 0;
  background: var(--white);
}
.svc-editorial {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.svc-editorial-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 32px;
  align-items: center;
  padding: 40px 32px 40px 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.svc-editorial-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(107, 138, 224, 0.06) 0%, transparent 100%);
  transition: width 0.5s var(--ease);
  pointer-events: none;
}
.svc-editorial-item:is(:hover, :focus-visible)::before {
  width: 100%;
}
.svc-editorial-track {
  container-type: inline-size;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.svc-editorial-slide {
  display: grid;
  grid-template-columns: 100px minmax(0, max-content);
  column-gap: 40px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
@supports (width: 100cqi) {
  .svc-editorial-item:is(:hover, :focus-visible) .svc-editorial-slide {
    transform: translate3d(calc(100cqi - 100%), 0, 0);
  }
}
.svc-editorial-num {
  font-family: var(--display);
  font-size: clamp(80px, 10vw, 120px);
  font-weight: 400;
  color: var(--line);
  line-height: 1;
  letter-spacing: -0.05em;
  transition: color 0.4s var(--ease), opacity 0.4s;
  user-select: none;
}
.svc-editorial-item:is(:hover, :focus-visible) .svc-editorial-num {
  color: var(--grad-blue);
  opacity: 0.35;
}
.svc-editorial-body {
  min-width: 0;
}
.svc-editorial-name {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.3s var(--ease);
}
.svc-editorial-item:is(:hover, :focus-visible) .svc-editorial-name {
  color: var(--grad-blue);
}
.svc-editorial-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.85;
  text-wrap: pretty;
}
.svc-editorial-arr {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  color: var(--line);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: color 0.4s var(--ease), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-editorial-item:is(:hover, :focus-visible) .svc-editorial-arr {
  color: var(--grad-blue);
  transform: scale(1.15);
}

/* ── NUMBERS — deep blue background ── */
.nums {
  padding: 120px 0;
  background: var(--deep-blue);
  position: relative;
  overflow: hidden;
}
.nums::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(107,138,224,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 85% 50%, rgba(139,92,232,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.nums-inner { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.ni { padding: 0 56px; text-align: center; position: relative; }
.ni + .ni::before { content: ''; position: absolute; left: 0; top: 8%; height: 84%; width: 1px; background: rgba(255,255,255,0.07); }
.ni-lbl { font-family: var(--display); font-size: 10px; letter-spacing: 0.26em; color: var(--grad-blue); text-transform: uppercase; display: block; margin-bottom: 18px; }
.ni-val  { font-family: var(--serif); font-size: clamp(52px, 6.5vw, 88px); font-weight: 700; color: var(--white); line-height: 1; letter-spacing: -0.03em; display: block; }
.ni-val .plus { font-size: 0.48em; color: var(--grad-blue); vertical-align: super; }
.ni-val .sm   { font-size: 0.38em; font-weight: 400; color: rgba(255,255,255,0.35); }
.ni-sub { font-size: 12px; color: rgba(255,255,255,0.28); margin-top: 14px; display: block; line-height: 1.7; }

/* ── TOP News / Blog ── */
.top-news,
.top-blog {
  padding: 140px 0;
  background: var(--white);
}
.top-news-intro,
.top-blog-intro {
  margin-bottom: 56px;
}
.top-news-more,
.top-blog-more {
  margin-top: 48px;
  text-align: right;
}
.top-blog {
  border-top: 1px solid var(--line);
}

/* ── NEKO（白背景・左画像 / 右テキスト） ── */
.neko {
  padding: 120px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.neko-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.neko-imgs {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.ni-img {
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  transition: transform 0.4s var(--ease);
  background: var(--amber-pale);
}
.ni-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ni-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}
.ni-img:hover {
  transform: scale(1.015);
}
.neko .eyebrow {
  color: var(--amber);
}
.neko-h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 16px 0 28px;
}
.neko-txt {
  font-size: 15px;
  color: var(--mid);
  line-height: 2.1;
  margin-bottom: 40px;
  text-wrap: pretty;
}
@media (max-width: 768px) {
  .neko-txt {
    line-height: 1.95;
  }
}
.neko-more {
  margin: 0;
  text-align: right;
}

.why-title {
  margin: 0 0 36px;
}
.why-quote {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 48px;
}
.why-items { list-style: none; padding: 0; margin: 0; }
.why-item  { padding: 34px 0; border-bottom: 1px solid var(--line); }
.why-item:first-child { border-top: 1px solid var(--line); }
.why-ttl { font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 10px; }
.why-txt  { font-size: 14px; color: var(--mid); line-height: 1.95; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .ni { padding: 0 36px; }
  .svc-editorial-slide {
    grid-template-columns: 80px minmax(0, max-content);
    column-gap: 24px;
  }
}
@media (max-width: 768px) {
  .hero--center { padding-top: 110px; min-height: auto; }
  .hero-title--center { font-size: clamp(28px, 7.5vw, 44px); }
  .hero-title-line { white-space: normal; }
  .hero-lead--center {
    align-self: stretch;
    max-width: none;
    text-align: left;
    line-height: 1.95;
    /* container gutter(12px) + 12px = 画面端から24px */
    padding-inline: 12px;
  }
  .hero-lead-p + .hero-lead-p {
    margin-top: 0.85em;
  }
  .hero-btns--center { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-btns--center .btn-main,
  .hero-btns--center .hero-btn-outline { width: 100%; justify-content: center; }
  .hero-stats-ring {
    flex-direction: row;
    gap: 2px;
    max-width: 100%;
  }
  .hero-stat-block {
    padding: 16px 8px;
  }
  .hero-stat-block-num {
    font-size: clamp(22px, 5.8vw, 28px);
  }
  .hero-stat-block-lbl {
    display: none;
  }
  .hero-stat-block-desc {
    font-size: 9px;
    line-height: 1.35;
    margin-top: 8px;
  }
  .features { padding: 100px 0; }
  .why { padding: 100px 0; }
  .features-inner,
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-side,
  .why-side { position: static; }
  .features-item-inner {
    padding-right: clamp(100px, 28vw, 168px);
  }
  .features-item + .features-item {
    margin-top: 48px;
    padding-top: 48px;
  }
  .features-item-num {
    font-size: clamp(80px, 24vw, 128px);
    transform: translate(0, -4%);
  }
  .features-item-title { font-size: clamp(32px, 8vw, 44px); }
  .svc { padding: 100px 0; }
  .svc .sec-intro .sec-title,
  .top-news-intro .sec-title,
  .top-blog-intro .sec-title,
  .res-intro .sec-title,
  .why-title {
    font-size: clamp(30px, 8vw, 48px);
  }
  .svc-editorial-item {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding: 32px 16px 32px 20px;
  }
  .svc-editorial-slide {
    grid-template-columns: 60px minmax(0, max-content);
    column-gap: 16px;
  }
  .svc-editorial-arr { display: none; }
  .svc-editorial-num { font-size: 48px; }
  .svc-editorial-name { font-size: clamp(26px, 7vw, 44px); }
  .nums { padding: 80px 0; }
  .nums-inner { grid-template-columns: 1fr; gap: 48px; }
  .ni + .ni::before { display: none; }
  .ni { padding: 0; text-align: left; }
  .neko { padding: 100px 0; }
  .neko-inner { grid-template-columns: 1fr; gap: 48px; }
  .why { padding: 100px 0; }
  .why-inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 480px) {
  .hero-title--center { font-size: clamp(26px, 7vw, 32px); }
  .hero-stat-block {
    padding: 14px 4px;
  }
  .hero-stat-block-desc {
    font-size: 8px;
    letter-spacing: 0.02em;
  }
}