/* ============================================
   NARERU Notebook Journal — Clean Build
   ============================================ */

:root {
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --ink-3: #8b8b85;
  --paper: #f6f1e6;
  --paper-2: #ece6d4;
  --paper-3: #e1d9c0;
  --rule: #cfc6a8;
  --accent: #06c755;
  --accent-2: #ff9351; /* NARERUオレンジ（旧緑#00a043） */
  --sticky-y: #fff7c4;
  --hand: 'Caveat', 'Kalam', cursive;
  --hand-2: 'Kalam', cursive;
  --jp: 'Shippori Mincho', 'Noto Sans JP', serif;
  --sans: 'Noto Sans JP', sans-serif;
  --shadow-1: 3px 3px 0 var(--ink);
  --shadow-2: 5px 5px 0 var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper noise texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1, 0 0 0 0 0.1, 0 0 0 0 0.1, 0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  background-size: 220px;
  opacity: .4;
  mix-blend-mode: multiply;
}

/* Ruled lines */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, var(--rule) 35px, var(--rule) 36px);
  opacity: .4;
}

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

/* ---- Shared atoms ---- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

.h2 {
  font-family: var(--hand); font-size: 56px; font-weight: 700; line-height: 1.1;
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px;
}
.h2::before { content: '#'; color: var(--accent); }
.h2 small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-2); }

.kicker { font-family: var(--hand); font-size: 22px; color: var(--accent); font-weight: 600; }
.kicker::before { content: '— '; opacity: .7; }
.kicker::after { content: ' —'; opacity: .7; }

.section-meta {
  font-family: var(--hand-2); font-size: 14px; color: var(--ink-2);
  border-bottom: 1.5px dashed var(--ink-3); padding-bottom: 12px; margin-bottom: 36px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

.hl { background: linear-gradient(transparent 60%, rgba(6,199,85,.3) 60%); padding: 0 2px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; padding: 16px 32px;
  border: 2.5px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow-1);
  transition: transform .15s, box-shadow .15s; cursor: pointer;
  background: var(--paper); color: var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-2); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--ghost { background: var(--paper); }
.btn__icon-line { width: 22px; height: 22px; background: #fff; color: var(--accent); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hide-mobile { }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 4px 0 -2px var(--ink), 0 5px 0 -2px var(--accent);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 32px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--jp); font-weight: 800; font-size: 1.25rem; }
.logo img { transition: transform .2s; }
.logo:hover img { transform: scale(1.12); }
.nav__items { display: flex; align-items: center; gap: 4px; }
.nav__items a { color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 6px; transition: .2s; }
.nav__items a:hover { color: var(--accent); background: rgba(0,0,0,.04); }
.nav__items .menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__items .menu-item a { display: block; padding: 8px 16px; color: var(--ink); font-size: 13px; font-weight: 600; border-radius: 6px; }
.nav__cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; padding: 10px 20px;
  border-radius: 100px; font-weight: 700; font-size: 13px;
  border: 2px solid var(--ink); box-shadow: var(--shadow-1); transition: transform .15s;
}
.nav__cta:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============================================
   HERO
   ============================================ */
.hero { padding: 64px 0 56px; position: relative; background: var(--paper); }
.hero__date { font-family: var(--hand); font-size: 22px; color: var(--ink-2); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.hero__date strong { background: var(--ink); color: var(--paper); padding: 2px 12px; border-radius: 3px; font-weight: 700; font-family: var(--sans); font-size: 13px; }
.hero__date em { font-style: normal; color: var(--ink-3); font-size: 18px; }

.hero__title {
  font-family: var(--jp); font-size: 92px; font-weight: 800;
  line-height: 1.18; letter-spacing: -.025em; max-width: 1080px;
  color: var(--ink); position: relative;
}
.hero__title .typing { display: inline-block; position: relative; color: var(--ink); z-index: 1; }
.hero__title .typing::before {
  content: ''; position: absolute; left: -6px; right: -6px; bottom: 4px; top: 60%;
  background: var(--accent-2); opacity: .25; z-index: -1; /* HP制作ハイライトをオレンジに */
  transform: rotate(-1deg) skewX(-2deg); border-radius: 4px 8px 6px 10px;
}
.hero__title .typing::after { content: '|'; margin-left: 2px; color: var(--accent-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__title .underline { position: relative; white-space: nowrap; }
.hero__title .underline svg {
  position: absolute; left: -4%; bottom: -6px; width: 108%; height: 18px;
  stroke: var(--accent-2); fill: none; stroke-width: 4; stroke-linecap: round; /* 加速マーカーをオレンジに */
}

.hero__sub { margin-top: 28px; font-size: 17px; line-height: 1.95; color: var(--ink-2); max-width: 720px; }
.hero__sub strong { color: var(--ink); background: linear-gradient(transparent 70%, rgba(245,197,66,.5) 70%); padding: 0 2px; }

.hero__cta-row { margin-top: 36px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero__note { font-family: var(--hand); font-size: 22px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.hero__note svg { color: var(--accent); width: 36px; height: 24px; }

/* Sticky note */
.sticky {
  position: absolute; background: var(--sticky-y); border: 1.5px solid var(--ink);
  padding: 22px; font-family: var(--hand); color: var(--ink);
  box-shadow: 4px 5px 0 rgba(0,0,0,.18); font-size: 17px; line-height: 1.45; z-index: 3;
}
.sticky::before {
  content: ''; position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%) rotate(-4deg); width: 60px; height: 16px;
  background: rgba(80,60,30,.25); border-radius: 3px;
}
.sticky strong { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .15em; color: var(--accent-2); font-weight: 800; margin-bottom: 6px; }
.sticky__big { font-family: var(--sans); font-weight: 900; font-size: 32px; line-height: 1; margin: 4px 0 6px; }
.sticky__big small { font-size: 14px; color: var(--ink-2); font-weight: 700; }
.sticky--y { background: var(--sticky-y); }
.hero__sticky { top: 0; right: 0; width: 200px; transform: rotate(4deg); }
.fp-stat-card--live { }
.hero__sticky::after {
  content: 'まだ枠あり ◎'; position: absolute; bottom: -28px; right: 4px;
  font-family: var(--hand); font-size: 20px; color: var(--accent-2); font-weight: 700; transform: rotate(-3deg);
}

/* ============================================
   STATS
   ============================================ */
/* notebook版 .stats: 既存テーマCSSの grid/背景/枠 を打ち消してブロックに戻す */
section.stats {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 72px 0 64px;
  grid-template-columns: none;
  gap: 0;
  /* dist CSSの backdrop-filter / filter を無効化（fixed子要素の包含ブロック化を防ぐ） */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  filter: none;
  transform: none;
  overflow: visible;
}
.stats .wrap { max-width: 100%; padding: 0 40px; box-sizing: border-box; width: 100%; }

.fp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

.fp-stat-card {
  position: relative; background: var(--paper); border: 2.5px solid var(--ink); overflow: visible;
  border-radius: 14px; padding: 26px 24px 22px; box-shadow: var(--shadow-2);
  cursor: pointer; transition: transform .2s;
  width: 100%; min-width: 0; box-sizing: border-box;
}
/* 数字とユニットが折り返さないよう保護 */
.fp-stat-card__num { white-space: nowrap; min-width: 0; }
.fp-stat-card__num > span { white-space: nowrap; }
.fp-stat-card:hover { transform: translate(-2px, -2px); }
.fp-stat-card__bubble {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 14px; border-radius: 100px; border: 2px solid var(--ink);
  white-space: nowrap; z-index: 3; box-shadow: 2px 2px 0 var(--ink);
}
.fp-stat-card__bubble--right { left: auto; right: -10px; transform: none; }
.fp-stat-card__live-badge { font-size: 11px; font-weight: 800; color: var(--accent-2); letter-spacing: .12em; margin-bottom: 8px; }
.fp-stat-card__live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); animation: pulse 1.6s infinite; vertical-align: middle; margin-right: 4px;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.85); } }
.fp-stat-card__num { font-family: var(--sans); font-weight: 900; font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.03em; display: flex; align-items: baseline; flex-wrap: nowrap; gap: 2px; }
.fp-stat-card__unit { font-size: 16px; color: var(--ink-2); font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.fp-stat-card__label { font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin-top: 8px; white-space: nowrap; }
.fp-stat-card__sub { font-size: 10px; color: var(--ink-3); margin-top: 4px; white-space: nowrap; }
.fp-stat-card__hint { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--accent-2); border-bottom: 1px dashed var(--accent); padding-bottom: 1px; }
.fp-stat-card__progress { height: 6px; background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 100px; margin-top: 12px; overflow: hidden; }
.fp-stat-card__progress-fill { height: 100%; background: var(--accent); border-radius: 100px; }

/* ============================================
   BAND (full-bleed image)
   ============================================ */
.band {
  margin: 32px 40px 80px; border: 2.5px solid var(--ink); border-radius: 12px;
  overflow: hidden; position: relative; height: 320px; background: var(--ink); box-shadow: 8px 8px 0 var(--ink);
}
.band__img { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band__img::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.65); z-index: 1; }
.band__copy { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--ink); }
.band__copy h3 { font-family: var(--jp); font-weight: 800; font-size: 48px; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.band__copy h3 em { font-style: normal; background: var(--accent); color: #fff; padding: 0 12px; border-radius: 4px; display: inline-block; transform: rotate(-1deg); }
.band__copy p { font-family: var(--hand); font-weight: 400; font-size: 22px; margin-top: 10px; color: rgba(20,20,20,.55); }

/* ============================================
   SERVICES
   ============================================ */
.services { padding: 24px 0 80px; position: relative; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 16px; }
.svc { position: relative; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-2); transition: transform .2s; }
/* カード全体をリンク化（stretched link） */
.svc__link { position: relative; z-index: 2; }
.svc__link::after { content: ""; position: absolute; top: -10000px; right: -10000px; bottom: -10000px; left: -10000px; z-index: 1; }
.svc { cursor: pointer; }
.svc:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.svc__img {
  height: 200px; background: var(--paper-2); border-bottom: 2.5px solid var(--ink);
  position: relative; display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(45deg, transparent 0 22px, rgba(0,0,0,.04) 22px 23px);
}
.svc__img-label { background: var(--paper); padding: 4px 12px; border: 1.5px dashed var(--ink-3); border-radius: 4px; font-family: var(--hand); color: var(--ink-2); }
.svc__img--photo { background-size: cover; background-position: center; background-repeat: no-repeat; background-image: var(--bg-img, none); }
.svc__img--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.08)); pointer-events: none; }
.svc__num {
  position: absolute; top: -18px; left: 18px; width: 44px; height: 44px;
  background: var(--accent); color: #fff; border-radius: 50%; border: 2.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 900; font-size: 18px; z-index: 3; box-shadow: 2px 2px 0 var(--ink);
}
.svc__body { padding: 28px 24px 24px; }
.svc__cat { font-family: var(--hand); font-size: 18px; color: var(--accent-2); font-weight: 600; }
.svc__title { font-family: var(--jp); font-weight: 800; font-size: 24px; margin-top: 4px; line-height: 1.4; }
.svc__desc { font-size: 13px; color: var(--ink-2); line-height: 1.85; margin-top: 12px; }
.svc__feats { margin-top: 16px; padding-top: 16px; border-top: 1.5px dashed var(--ink-3); display: flex; flex-direction: column; gap: 6px; }
.svc__feat { font-size: 12px; color: var(--ink-2); padding-left: 16px; position: relative; }
.svc__feat::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.svc__link { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--accent-2); }

/* ============================================
   WHY
   ============================================ */
.why { padding: 24px 0 80px; position: relative; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.why__item { display: flex; gap: 16px; padding: 24px; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-1); }
.why__check { flex-shrink: 0; width: 36px; height: 36px; background: var(--accent); border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 2px 2px 0 var(--ink); }
.why__check svg { width: 18px; height: 18px; }
.why__no { font-family: var(--hand); font-size: 14px; color: var(--accent-2); font-weight: 600; }
.why__title { font-family: var(--jp); font-weight: 800; font-size: 20px; margin-top: 2px; }
.why__text { font-size: 13px; color: var(--ink-2); line-height: 1.8; margin-top: 6px; }

/* ============================================
   WORK (実績) — .case cards
   ============================================ */
.work { padding: 24px 0 80px; position: relative; }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.case { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-1); transition: transform .2s; }
.case:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-2); }
.case__img { height: 180px; background: var(--paper-2); border-bottom: 2px solid var(--ink); overflow: hidden; position: relative; }
.case__img img { width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: 20px; }
.case__cat { font-family: var(--hand); font-size: 14px; color: var(--accent-2); font-weight: 600; }
.case__title { font-family: var(--jp); font-weight: 800; font-size: 18px; margin-top: 4px; line-height: 1.4; }
.case__client { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.case__metric { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--accent-2); background: rgba(6,199,85,.1); padding: 2px 10px; border-radius: 100px; border: 1px solid rgba(6,199,85,.2); }

/* ============================================
   CEO
   ============================================ */
.ceo { padding: 24px 0 80px; position: relative; }
.ceo__card {
  display: grid; grid-template-columns: 1fr 2fr;
  border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-2);
  background: var(--paper);
}
.ceo__photo { border-right: 2.5px solid var(--ink); overflow: hidden; }
.ceo__photo::before, .ceo__photo::after { display: none; }
.ceo__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ceo__body { padding: 40px 36px; position: relative; }
.ceo__stamp {
  position: absolute; top: 20px; right: 20px;
  width: 80px; height: 80px; border: 3px solid #c0392b; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--sans); font-size: 11px; font-weight: 800; color: #c0392b;
  letter-spacing: .08em; line-height: 1.3; transform: rotate(-8deg); opacity: .85;
}
.ceo__stamp::before { content: ''; position: absolute; inset: 3px; border: 1.5px solid #c0392b; border-radius: 50%; opacity: .5; }
.ceo__greeting { font-family: var(--hand); font-size: 22px; color: var(--ink-2); }
.ceo__title { font-family: var(--jp); font-weight: 800; font-size: 32px; line-height: 1.4; margin-top: 12px; }
.ceo__text { margin-top: 20px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.ceo__text strong { color: var(--ink); background: linear-gradient(transparent 60%, rgba(245,197,66,.4) 60%); }
.ceo__sign { margin-top: 32px; }
.ceo__sign-text { font-family: var(--hand); font-size: 16px; color: var(--ink-2); }
.ceo__sign-text strong { font-family: 'Zen Kurenaido', cursive; font-size: 52px; font-weight: 700; color: var(--ink); display: block; margin-top: 4px; transform: rotate(-1deg); }
.ceo__sign-svg { font-family: 'Zen Kurenaido', cursive; font-size: 64px; font-weight: 700; color: var(--ink); opacity: .1; position: absolute; bottom: 10px; right: 30px; transform: rotate(-3deg); pointer-events: none; }

/* ============================================
   FLOW — .flow__list > .flow__item
   ============================================ */
.flow { padding: 24px 0 80px; position: relative; }
.flow__list { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 20px; margin-top: 16px; }
.flow__item {
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px;
  padding: 28px 20px; box-shadow: var(--shadow-1); position: relative;
}
.flow__item .flow__step {
  width: 40px; height: 40px; background: var(--accent); color: #fff;
  border-radius: 50%; border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; margin-bottom: 16px; box-shadow: 2px 2px 0 var(--ink);
}
.flow__item .flow__step--accent { background: var(--accent); }
.flow__head { margin-bottom: 8px; }
.flow__title { font-family: var(--jp); font-weight: 800; font-size: 18px; }
.flow__when { font-family: var(--hand); font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.flow__text { font-size: 12px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }

/* ============================================
   BLOG
   ============================================ */
.blog { padding: 24px 0 80px; position: relative; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
/* Blog uses .post cards */
.post { background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-1); transition: transform .2s; display: block; padding: 20px; }
.post:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-2); }
.post__cat { font-family: var(--hand); font-size: 14px; color: var(--accent-2); font-weight: 600; margin-left: 8px; }
.post__date { font-family: var(--hand); font-size: 13px; color: var(--ink-3); }
.post__title { font-weight: 700; font-size: 16px; margin-top: 8px; line-height: 1.5; color: var(--ink); }
.post__excerpt { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
.post__more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--accent-2); }
/* Keep blog__card for backwards compat */
.blog__card { background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-1); transition: transform .2s; }
.blog__card:hover { transform: translate(-2px, -2px); }

/* ============================================
   CTA
   ============================================ */
.cta { padding: 60px 40px 80px; position: relative; z-index: 1; }
.cta__inner {
  background: var(--paper-2); color: var(--ink);
  border-radius: 16px; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
}
.cta__inner::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 30px, rgba(0,0,0,.03) 30px 31px);
}
.cta__kicker { font-family: var(--hand); font-size: 24px; color: var(--accent-2); position: relative; }
.cta__title { font-family: var(--jp); font-weight: 800; font-size: 56px; letter-spacing: -.02em; line-height: 1.2; margin-top: 8px; position: relative; color: var(--ink); }
.cta__title em { font-style: normal; background: var(--accent); color: #fff; padding: 0 14px; border-radius: 6px; display: inline-block; transform: rotate(-1deg); }
.cta__sub { margin-top: 20px; font-size: 16px; color: var(--ink-2); position: relative; }
.cta__btn-row { margin-top: 32px; display: inline-flex; gap: 16px; flex-wrap: wrap; position: relative; }
.cta__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; font-weight: 700; font-size: 15px;
  background: var(--accent); color: #fff; border: 2.5px solid var(--ink);
  border-radius: 6px; box-shadow: var(--shadow-1); transition: transform .15s;
}
.cta__btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-2); }
.cta__btn--ghost { background: var(--ink); color: var(--paper); }
.cta__note { margin-top: 16px; font-family: var(--hand); font-size: 20px; color: var(--accent-2); font-weight: 700; position: relative; }

/* ============================================
   FOOTER
   ============================================ */
footer { background: var(--ink); color: var(--paper); padding: 64px 0 32px; position: relative; z-index: 1; }
.footer__inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer__brand .logo { font-size: 1rem; color: var(--paper); }
.footer__addr { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 12px; line-height: 1.8; }
.footer__col h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; color: rgba(255,255,255,.8); }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { max-width: 1280px; margin: 48px auto 0; padding: 24px 40px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.4); }
.footer__copy { max-width: 1280px; margin: 48px auto 0; padding: 24px 40px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 12px; color: rgba(255,255,255,.4); }

/* ============================================
   POPUPS
   ============================================ */
.fp-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.fp-popup.is-open { opacity: 1; visibility: visible; }
.fp-popup__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.fp-popup__dialog {
  position: relative; background: var(--paper); border: 2.5px solid var(--ink); overflow: visible;
  border-radius: 14px; padding: 32px; max-width: 520px; width: 90%;
  max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-2);
  transform: translateY(20px) scale(.96); transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.fp-popup__dialog--wide { max-width: 560px; }
.fp-popup.is-open .fp-popup__dialog { transform: translateY(0) scale(1); }
.fp-popup__close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border: 2.5px solid var(--ink); background: var(--paper); border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3; box-shadow: 2px 2px 0 var(--ink); }
.fp-popup__title { font-family: var(--jp); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.fp-popup__title strong { color: var(--accent-2); }
.fp-popup__live-counter { font-size: 18px; color: var(--ink); margin-bottom: 16px; }
.fp-popup__live-counter strong { font-size: 32px; color: var(--accent); font-weight: 900; }
.fp-popup__desc { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-bottom: 20px; }
.fp-popup__merit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fp-popup__merit { background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.fp-popup__merit-icon { font-size: 20px; }
.fp-popup__merit strong { font-size: 14px; color: var(--ink); }
.fp-popup__merit span:last-child { font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.fp-popup__items { display: flex; flex-direction: column; gap: 8px; }
.fp-popup__item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--paper-2); border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.fp-popup__item strong { margin-left: auto; color: var(--ink); font-weight: 700; }
.fp-popup__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.fp-popup__growth { text-align: center; padding: 20px; background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 12px; }
.fp-popup__growth-label { font-size: 14px; color: var(--ink-2); }
.fp-popup__growth-num { font-size: 32px; font-weight: 900; color: var(--accent); margin-top: 4px; }
.fp-popup__growth-sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.fp-popup__bars { display: flex; flex-direction: column; gap: 10px; }
.fp-popup__bar-row { display: grid; grid-template-columns: 130px 1fr 50px; align-items: center; gap: 8px; }
.fp-popup__bar-label { font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.fp-popup__bar-track { height: 10px; background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 5px; overflow: hidden; }
.fp-popup__bar-fill { height: 100%; background: var(--accent); border-radius: 5px; }
.fp-popup__bar-val { font-size: 13px; font-weight: 700; color: var(--ink); text-align: right; }

/* ============================================
   SUBLIMINAL LOGO WATERMARKS
   ============================================ */
.hero::after { content: ''; position: absolute; right: -5%; bottom: -10%; width: 500px; height: 250px; background: url('https://nareru-group.jp/wp-content/uploads/2026/04/nareru-logo-tp.png') no-repeat center/contain; opacity: .03; pointer-events: none; transform: rotate(-8deg); z-index: 0; }
.stats::after { content: ''; position: absolute; right: 20px; bottom: 10px; width: 300px; height: 150px; background: url('https://nareru-group.jp/wp-content/uploads/2026/04/nareru-logo-tp.png') no-repeat center/contain; opacity: .035; pointer-events: none; transform: rotate(5deg); }

/* ============================================
   RESPONSIVE — 980px
   ============================================ */
@media (max-width: 980px) {
  .wrap { padding: 0 20px; }
  .nav__inner { padding: 0 16px; }
  .nav__items { display: none; }
  .nav__cta { display: none; }
  .hero__title { font-size: 48px; }
  .hero__sticky { display: none; }
  .hero__cta-row { flex-direction: column; gap: 12px; }
  .hero__cta-row .btn { width: 100%; justify-content: center; }
  .hero__note { font-size: 16px; justify-content: center; }
  .fp-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fp-stat-card { text-align: center; padding: 20px 14px; }
  .fp-stat-card__num { font-size: 32px; }
  .fp-stat-card__label { font-size: 14px; }
  .fp-stat-card__bubble { font-size: 10px; padding: 2px 10px; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .ceo__card { grid-template-columns: 1fr; }
  .ceo__photo { height: 280px; border-right: none; border-bottom: 2.5px solid var(--ink); }
  .ceo__body { padding: 28px 20px; }
  .ceo__title { font-size: 26px; }
  .ceo__sign-text strong { font-size: 40px; }
  .flow__list { grid-template-columns: 1fr 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .band { margin: 24px 20px 48px; height: 200px; }
  .band__copy h3 { font-size: 28px; }
  .band__copy { padding-top: 60px; }
  .cta { padding: 40px 20px 60px; }
  .cta__title { font-size: 32px; }
  .cta__btn-row { flex-direction: column; gap: 12px; }
  .cta__btn { width: 100%; justify-content: center; }
  .h2 { font-size: 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fp-popup__merit-grid { grid-template-columns: 1fr; }
  .fp-popup__bar-row { grid-template-columns: 100px 1fr 44px; }
  .hero::after, .stats::after { display: none; }
  .hide-mobile { display: none; }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .hero__title { font-size: 36px; }
  .fp-stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .fp-stat-card__num { font-size: 28px; }
  .fp-stat-card__label { font-size: 12px; }
  .cta__title { font-size: 24px; }
  .h2 { font-size: 26px; }
  .flow__list { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .band { height: 180px; }
  .band__copy h3 { font-size: 22px; }
}
