/* MOCO Works — Shared Stylesheet v6
   カラー方針:
   - ブランド: --grad-blue / --grad-purple / --brand-grad（サイト全体のアクセント）
   - 保護猫: --amber 系（/neko/ ・ TOP .neko セクションのみ。他ページでは --accent にエイリアス）
   背景: TOP=#FFFFFF, ダークセクション=#0A1628, 下層コンテンツ=#FFFFFF
*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core Palette */
  --ink:        #0D0D0B;
  --ink-mid:    #0A1628;
  --deep-black: #050810;
  --deep-blue:  #0A1628;
  --deep-blue2: #0D1E38;
  --white:      #FFFFFF;
  --off-white:  #F8F9FA;
  --mid:        #6B7280;
  --line:       #E5E7EB;
  --line-dark:  rgba(255,255,255,0.08);

  /* Brand gradient colors */
  --grad-blue:  #6B8AE0;
  --grad-purple:#8B5CE8;
  --grad-pink:  #C44E88;

  /* Brand accent (サイト全体の差し色) */
  --accent:       var(--grad-blue);
  --accent-hover: var(--grad-purple);
  --accent-soft:  #A8BEF0;
  --accent-pale:  #EEF2FC;
  --accent-line:  rgba(107, 138, 224, 0.35);
  --accent-bg:    rgba(107, 138, 224, 0.06);

  /* --amber 系はブランドアクセントの別名（保護猫ページのみ下記ブロックで上書き） */
  --amber:      var(--accent);
  --amber-lt:   #D4DFFC;
  --amber-pale: var(--accent-pale);

  /* Paper → white */
  --paper:      #FFFFFF;
  --paper-dark: #F3F4F6;

  /* Typography — Felipa: 英語ディスプレイ / Shippori Mincho B1: 見出し（ローカル） / 本文: OS */
  --sans:       'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', 'Meiryo', system-ui, sans-serif;
  --serif:      'Shippori Mincho B1', 'Shippori Mincho B1 Fallback', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --display:    'Felipa', 'Felipa Fallback', cursive;

  /* Easing */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --spring:     cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Brand gradient */
  --brand-grad: linear-gradient(135deg, #6B8AE0 0%, #8B5CE8 50%, #C44E88 100%);

}

.brand-grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 保護猫パレット — /neko/ ・ TOP保護猫セクションのみ */
body.moco-page-neko,
body.moco-header-neko,
.neko {
  --amber:      #E07B30;
  --amber-lt:   #F0C99A;
  --amber-pale: #FBF0E4;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--white); color: var(--ink); line-height: 1.6; overflow-x: hidden; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--deep-blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 0 2px 2px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--grad-blue);
  outline-offset: 2px;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ── LOADING SCREEN (全ページ共通) ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--deep-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease;
}
#loader.done { opacity: 0; pointer-events: none; }
@keyframes stroke-draw { to { stroke-dashoffset: 0; } }
@keyframes fill-appear { to { opacity: 1; } }
#loader-inner { text-align: center; position: relative; width: 360px; }
.loader-svg-wrap { position: relative; }
.loader-svg-wrap svg { overflow: visible; }
#loader-title {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 0.01em;
  fill: none;
  stroke: url(#loaderGrad);
  stroke-width: 0.8;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: stroke-draw 1.3s var(--ease) 0.15s forwards;
}
#loader-title-fill {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 0.01em;
  fill: url(#loaderGrad);
  opacity: 0;
  animation: fill-appear 0.35s ease 1.25s forwards;
}
@keyframes stroke-draw { to { stroke-dashoffset: 0; } }
@keyframes fill-appear { to { opacity: 1; } }

.loader-glow-bar {
  position: absolute;
  top: 50%; left: -10%;
  width: 120%; height: 4px;
  background: var(--brand-grad);
  transform: translateY(-50%);
  opacity: 0;
  filter: blur(8px);
  animation: glow-sweep 0.55s var(--ease) 1.45s forwards;
}
@keyframes glow-sweep {
  0%   { left: -120%; opacity: 1; }
  100% { left: 120%;  opacity: 0; }
}
.loader-sub {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  margin-top: 20px;
  opacity: 0;
  animation: fill-appear 0.4s ease 1.1s forwards;
}

/* ── EYEBROW（キッカー） ── */
.eyebrow,
.page-hero-eyebrow,
.hero-eyebrow {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}
.eyebrow {
  color: var(--grad-blue);
}
.page-hero-eyebrow,
.hero-eyebrow {
  color: rgba(255, 255, 255, 0.52);
}

/* ── REVEAL ──
  TOP  : .rv-clip (clip-path), .rv-left (slide from left), .rv (slide up)
  Sub  : .rv-fade (opacity only — minimal)
*/
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* LCP: ヒーローは JS 待ちせず即描画（下層ページの reveal は従来どおり） */
.hero .rv,
.hero .rv-left,
.hero .rv-fade {
  opacity: 1;
  transform: none;
}
.rv.d1 { transition-delay: 0.12s; }
.rv.d2 { transition-delay: 0.24s; }
.rv.d3 { transition-delay: 0.36s; }
.rv.d4 { transition-delay: 0.48s; }

/* Hero headline clip-path reveal */
.rv-clip { overflow: hidden; }
.rv-clip-inner {
  display: block;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.9s var(--ease);
}
.rv-clip.in .rv-clip-inner { clip-path: inset(0 0 0 0); }
.rv-clip.d1 .rv-clip-inner { transition-delay: 0.15s; }
.rv-clip.d2 .rv-clip-inner { transition-delay: 0.32s; }
.rv-clip.d3 .rv-clip-inner { transition-delay: 0.49s; }

/* Sec-title slide from left */
.rv-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.rv-left.in { opacity: 1; transform: none; }
.rv-left.d1 { transition-delay: 0.12s; }

/* Sub-page: fade only */
.rv-fade { opacity: 0; transition: opacity 0.7s var(--ease); }
.rv-fade.in { opacity: 1; }
.rv-fade.d1 { transition-delay: 0.1s; }
.rv-fade.d2 { transition-delay: 0.2s; }
.rv-fade.d3 { transition-delay: 0.3s; }

/* hero・svc 以外は reveal なし（即表示・マーキーCSSアニメは別途維持） */
section:not(.hero):not(.svc) :is(.rv, .rv-clip, .rv-left, .rv-fade) {
  opacity: 1;
  transform: none;
  transition: none;
}
section:not(.hero):not(.svc) .rv-clip-inner {
  clip-path: inset(0 0 0 0);
  transition: none;
}

/* ── HEADER ── */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 24px 0; transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.hd.scrolled { background: rgba(255,255,255,0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 15px 0; box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.hd.hd-dark { background: transparent; }
.hd.hd-dark.scrolled { background: rgba(10,22,40,0.96); }
.hd-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.3s;
}
.logo:hover { opacity: 0.85; }
.logo-img { display: block; width: auto; }
.logo-img--header { height: 34px; }
.logo-img--footer { height: 44px; width: auto; margin-inline: 0; }
.logo-svg { overflow: visible; display: block; }
.logo-svg--loader { width: 340px; height: 68px; }

.nav { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav a { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); position: relative; transition: color 0.25s; }
.nav a:not(.nav-cta) { padding-bottom: 2px; }
.hd.hd-dark .nav a { color: rgba(255,255,255,0.75); }
.hd.hd-dark.scrolled .nav a { color: rgba(255,255,255,0.75); }
.nav a:not(.nav-cta)::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--grad-blue); transition: width 0.3s var(--ease); }
.nav a:not(.nav-cta):hover { color: var(--grad-blue); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav a:not(.nav-cta).active { color: var(--grad-blue); }
.nav a:not(.nav-cta).active::after { width: 100%; }
.nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  background: var(--grad-purple);
  padding: 11px 22px;
  border-radius: 2px;
  letter-spacing: 0.07em;
  white-space: nowrap;
  transition: background 0.25s;
}
/* ── HEADER CTA BUTTON (btn-hd) ── */
.btn-hd { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; color: var(--white); background: var(--grad-purple); padding: 10px 20px; border-radius: 2px; transition: background 0.25s; }
.btn-hd:hover { background: var(--grad-blue); }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { color: var(--white); background: var(--grad-blue); }
.hd.hd-dark .nav a.nav-cta { color: var(--white); }
.hd.hd-dark.scrolled .nav a.nav-cta { color: var(--white); }

.ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin: -10px -10px -10px 0;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  position: relative;
  z-index: 102;
  -webkit-tap-highlight-color: transparent;
}
.ham span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background 0.25s;
  transform-origin: center;
}
.hd.hd-dark .ham span { background: var(--white); }
body.menu-open .ham span { background: var(--white); }
body.menu-open .ham span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .ham span:nth-child(2) { opacity: 0; }
body.menu-open .ham span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.mob-nav {
  position: fixed;
  inset: 0;
  z-index: 101;
  visibility: hidden;
  pointer-events: none;
}
.mob-nav.open {
  visibility: visible;
  pointer-events: auto;
}
.mob-nav-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(107, 138, 224, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(139, 92, 232, 0.14) 0%, transparent 52%),
    linear-gradient(168deg, var(--deep-black) 0%, var(--deep-blue) 52%, #0d1a30 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.mob-nav.open .mob-nav-bg { opacity: 1; }
.mob-nav-deco {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(120px, 34vw, 220px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
}
.mob-nav-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding:
    calc(88px + env(safe-area-inset-top, 0px))
    max(24px, env(safe-area-inset-right, 0px))
    calc(28px + env(safe-area-inset-bottom, 0px))
    max(24px, env(safe-area-inset-left, 0px));
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.42s var(--ease), transform 0.48s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mob-nav.open .mob-nav-panel {
  opacity: 1;
  transform: none;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open .hd {
  z-index: 103;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.mob-nav-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}
.mob-nav-eyebrow {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 10px;
}
.mob-nav-lead {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}
.mob-nav-list {
  list-style: none;
  flex: 1;
}
.mob-nav-item {
  border-bottom: 1px solid var(--line-dark);
}
.mob-nav-item:last-child {
  border-bottom: none;
  margin-top: 12px;
}
.mob-lnk {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 12px;
  padding: 5px 0;
  color: var(--white);
  transition: color 0.25s var(--ease);
}
.mob-lnk-num {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(107, 138, 224, 0.72);
  padding-top: 6px;
  transition: color 0.25s var(--ease);
}
.mob-lnk-body {
  min-width: 0;
}
.mob-lnk-body::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  margin-top: 10px;
  background: var(--brand-grad);
  transition: width 0.35s var(--ease);
}
.mob-lnk-label {
  display: block;
  font-family: var(--serif);
  font-size: clamp(21px, 5.2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
}
.mob-lnk-en {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.34);
  transition: color 0.25s var(--ease);
}
.mob-lnk:hover .mob-lnk-label,
.mob-lnk:focus-visible .mob-lnk-label,
.mob-lnk.is-active .mob-lnk-label {
  color: var(--grad-blue);
}
.mob-lnk:hover .mob-lnk-en,
.mob-lnk:focus-visible .mob-lnk-en,
.mob-lnk.is-active .mob-lnk-en {
  color: rgba(255, 255, 255, 0.55);
}
.mob-lnk:hover .mob-lnk-body::after,
.mob-lnk:focus-visible .mob-lnk-body::after,
.mob-lnk.is-active .mob-lnk-body::after {
  width: 48px;
}
.mob-lnk.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: unset;
  gap: 0;
  padding: 15px 24px;
  border-radius: 2px;
  background: var(--brand-grad);
  box-shadow: 0 12px 32px rgba(107, 138, 224, 0.22);
}
.mob-lnk.nav-cta::after,
.mob-lnk.nav-cta .mob-lnk-body::after { display: none; }
.mob-lnk.nav-cta .mob-lnk-num,
.mob-lnk.nav-cta .mob-lnk-en { display: none; }
.mob-lnk.nav-cta .mob-lnk-body { text-align: center; }
.mob-lnk.nav-cta .mob-lnk-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}
.mob-lnk.nav-cta:hover .mob-lnk-label,
.mob-lnk.nav-cta:focus-visible .mob-lnk-label {
  color: var(--white);
  opacity: 0.92;
}
.mob-nav-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.mob-nav-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s var(--ease);
}
.mob-nav-mail::before {
  content: '';
  width: 16px;
  height: 1px;
  background: rgba(107, 138, 224, 0.65);
}
.mob-nav-mail:hover,
.mob-nav-mail:focus-visible { color: var(--grad-blue); }
.mob-nav-item,
.mob-nav-head,
.mob-nav-foot {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.38s var(--ease),
    transform 0.42s var(--ease);
}
.mob-nav.open .mob-nav-head {
  opacity: 1;
  transform: none;
  transition-delay: 0.06s;
}
.mob-nav.open .mob-nav-item:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.1s; }
.mob-nav.open .mob-nav-item:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.14s; }
.mob-nav.open .mob-nav-item:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.18s; }
.mob-nav.open .mob-nav-item:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.22s; }
.mob-nav.open .mob-nav-item:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.26s; }
.mob-nav.open .mob-nav-item:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.3s; }
.mob-nav.open .mob-nav-item:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.34s; }
.mob-nav.open .mob-nav-foot {
  opacity: 1;
  transform: none;
  transition-delay: 0.4s;
}

/* ── PAGE HERO (sub-pages) V6: dark blue gradient background ── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, var(--deep-black) 0%, var(--deep-blue) 100%);
  background-image: url('../images/bg-page-hero.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -8%; top: 10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(107,138,224,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  left: -5%; bottom: -5%;
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, rgba(139,92,232,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 20px;
  max-width: none;
  text-wrap: balance;
}
.page-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
  max-width: none;
}

/* Breadcrumb in dark page heroes */
.page-hero .breadcrumb,
.page-hero-neko .breadcrumb { color: rgba(255,255,255,0.28); }
.page-hero .breadcrumb a,
.page-hero-neko .breadcrumb a { color: rgba(255,255,255,0.4); }
.page-hero .breadcrumb a:hover,
.page-hero-neko .breadcrumb a:hover { color: var(--grad-blue); }
.page-hero .breadcrumb-item + .breadcrumb-item::before,
.page-hero-neko .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.28); }
.page-hero .breadcrumb-item--current span,
.page-hero-neko .breadcrumb-item--current span { color: rgba(255,255,255,0.7); }

.page-hero-404-actions { margin-top: 32px; }

/* ── MARQUEE ── */
.mq-band {
  background: var(--deep-blue);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(107,138,224,0.15);
  border-bottom: 1px solid rgba(107,138,224,0.15);
}
.mq-track {
  display: flex;
  width: max-content;
  animation: mq-marquee 36s linear infinite;
  will-change: transform;
}
.mq-track:hover { animation-play-state: paused; }
.mq-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
@keyframes mq-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.mq-item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 20px;
  padding-right: 44px;
  white-space: nowrap;
}
.mq-word { font-family: var(--serif); font-size: clamp(16px, 2.2vw, 24px); font-weight: 700; color: rgba(255,255,255,0.75); letter-spacing: -0.01em; }
.mq-dot  { font-family: var(--display); font-size: 18px; color: var(--grad-blue); opacity: 0.5; }

/* ── SECTION HELPERS ── */
.sec-ghost-num { font-family: var(--display); font-size: clamp(72px, 9vw, 110px); font-weight: 400; color: var(--line); line-height: 1; letter-spacing: -0.04em; margin-top: 8px; display: block; }
.sec-title { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 38px); font-weight: 900; line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); margin: 12px 0 20px; }
.sec-body  { font-size: 15px; color: var(--mid); line-height: 1.95; }
.sec-intro { display: grid; grid-template-columns: 240px 1fr; gap: 80px; align-items: start; margin-bottom: 72px; }

/* ── BUTTONS ── */
.btn-main,
.btn-dark { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--white); background: var(--deep-blue); padding: 15px 38px; border-radius: 2px; transition: background 0.3s, transform 0.35s var(--spring); }
.btn-main:hover,
.btn-dark:hover { background: var(--grad-purple); transform: translateY(-2px); }
.btn-cta { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--white); background: var(--grad-purple); padding: 18px 58px; border-radius: 2px; transition: background 0.3s, transform 0.35s var(--spring), box-shadow 0.3s; }
.btn-cta:hover { background: var(--grad-blue); transform: translateY(-3px); box-shadow: 0 16px 44px rgba(107,138,224,0.35); }
.lnk-arr { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color 0.3s, border-color 0.3s, gap 0.3s var(--spring); }
.lnk-arr:hover { color: var(--grad-blue); border-color: var(--grad-blue); gap: 16px; }

/* ── ITEM ROW (上下枠線スタイル — カード置き換え) ── */
.item-row { border-top: 1px solid var(--line); padding: 24px 0; }
.item-row:last-child { border-bottom: 1px solid var(--line); }

/* ── CSS PLACEHOLDER FRAMES (画像の代わり) ── */
.img-ph-hero {
  background: linear-gradient(135deg, var(--deep-blue) 0%, #1a2e58 50%, var(--deep-blue2) 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.img-ph-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 70%; height: 160%;
  background: radial-gradient(circle, rgba(107,138,224,0.28) 0%, transparent 60%);
  border-radius: 50%;
}
.img-ph-hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 55%; height: 55%;
  background: radial-gradient(circle, rgba(139,92,232,0.22) 0%, transparent 60%);
}
.img-ph-hero-inner {
  position: relative; z-index: 1;
  text-align: center; padding: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.img-ph-hero-icon {
  width: 64px; height: 64px;
  border: 1px solid rgba(107,138,224,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.img-ph-hero-icon svg { width: 28px; height: 28px; stroke: rgba(107,138,224,0.65); fill: none; stroke-width: 1.5; }
.img-ph-hero-label {
  font-family: var(--display);
  font-size: 10px; letter-spacing: 0.26em;
  color: rgba(255,255,255,0.22); text-transform: uppercase;
}
.img-ph-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(107,138,224,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(107,138,224,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
/* 実績カード・サービスカード用 */
.img-ph-card {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--deep-blue) 0%, #162040 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px 22px;
}
.img-ph-card::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 70%; height: 160%;
  background: linear-gradient(135deg, rgba(107,138,224,0.2) 0%, transparent 55%);
  border-radius: 50%;
}
.img-ph-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,8,16,0.5) 0%, transparent 50%);
}
.img-ph-card-tag {
  font-family: var(--display); font-size: 10px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25); text-transform: uppercase;
  position: relative; z-index: 1;
}
/* アバター用 */
.img-ph-avatar {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: clamp(28px,3vw,40px);
  font-weight: 400; position: relative; overflow: hidden;
}
.img-ph-avatar::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 35%, rgba(107,138,224,0.22) 0%, transparent 60%);
}
.img-ph-avatar span { position: relative; z-index: 1; color: rgba(255,255,255,0.5); }

/* ── FOOTER ── */
.ft { background: var(--deep-black); color: rgba(255,255,255,0.75); padding: 80px 0 40px; }
.ft-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 36px; }
.ft-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  margin-bottom: 14px;
  transition: opacity 0.25s;
}
.ft-logo:hover { opacity: 0.85; }
.ft-tag  { font-size: 12px; color: rgba(255,255,255,0.28); line-height: 1.75; margin-bottom: 18px; }
.ft-mail a { font-size: 12px; color: rgba(255,255,255,0.36); transition: color 0.25s; }
.ft-mail a:hover { color: var(--grad-blue); }
.ft-col-h { font-family: var(--display); font-size: 9px; letter-spacing: 0.22em; color: rgba(255,255,255,0.2); text-transform: uppercase; margin-bottom: 18px; display: block; }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ft-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.25s; letter-spacing: 0.02em; }
.ft-links a:hover { color: var(--grad-blue); }
.ft-bot { display: flex; justify-content: space-between; align-items: center; }
.ft-copy { font-size: 11px; color: rgba(255,255,255,0.13); letter-spacing: 0.08em; }
.ft-legal { display: flex; gap: 22px; }
.ft-legal a { font-size: 11px; color: rgba(255,255,255,0.13); transition: color 0.25s; }
.ft-legal a:hover { color: rgba(255,255,255,0.4); }

/* ── CTA SECTION ── */
.cta-sec {
  padding: 140px 0;
  background-color: var(--deep-black);
  background-image: url('../images/bg-results.webp');
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 16, 0.58) 0%, rgba(5, 8, 16, 0.76) 100%);
  pointer-events: none;
}
.cta-in { position: relative; z-index: 1; }
.cta-sec .eyebrow {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.52);
}
.cta-h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; color: var(--white); margin: 20px 0 24px; }
.cta-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 52px;
  line-height: 1.85;
  text-wrap: pretty;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 20px 0;
  font-size: 12px;
  color: var(--mid);
  gap: 0;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  margin: 0 8px;
  color: var(--line);
  pointer-events: none;
}
.breadcrumb a { color: var(--mid); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--grad-blue); }
.breadcrumb-item--current span { color: var(--ink); }

/* ── PAGINATION ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 60px 0 0; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 13px; font-weight: 500; color: var(--mid); border: 1px solid var(--line); border-radius: 2px; transition: all 0.25s; }
.page-btn:hover, .page-btn.active { background: var(--deep-blue); color: var(--white); border-color: var(--deep-blue); }
.page-btn-prev, .page-btn-next { width: auto; padding: 0 16px; gap: 6px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav   { display: none; }
  .ham   { display: flex; }
  .sec-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
  .sec-intro > div:last-child { padding-left: 0; }
  .sec-ghost-num { font-size: 60px; }
  .sec-title { font-size: clamp(22px, 6vw, 38px); }
  .ft-top { grid-template-columns: 1fr; gap: 36px; }
  .ft-bot { flex-direction: column; gap: 14px; text-align: center; }
  .page-hero { padding: 120px 0 60px; }
}

/* ── LOADED-BEFORE: 2回目訪問のFVアニメ遅延解消 ── */
body.loaded-before .hero-h1 .hl:nth-child(1) .hl-inner { animation-delay: 0.1s; }
body.loaded-before .hero-h1 .hl:nth-child(2) .hl-inner { animation-delay: 0.2s; }
body.loaded-before .hero-h1 .hl:nth-child(3) .hl-inner { animation-delay: 0.3s; }
body.loaded-before .hero-eyebrow { animation-delay: 0.05s; }
body.loaded-before .hero-sub { animation-delay: 0.25s; }
body.loaded-before .hero-btns { animation-delay: 0.35s; }

/* ── EYEBROW SVG STROKE ANIMATION ── */
.eyebrow-svg { overflow: visible; display: block; }
.eyebrow-svg-text {
  animation: eyebrow-draw 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes eyebrow-draw { to { stroke-dashoffset: 0; } }
@keyframes eyebrow-fill { to { opacity: 1; } }
@keyframes eyebrow-stroke-hide { to { opacity: 0; } }
