/* ==========================================================================
   デジタル化・AI導入補助金2026 LP — styles
   Base tokens from UNIMAT RIK design system
   ========================================================================== */

@import url('itsubsidy_colors_and_type.css');

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #fff;
  color: var(--rik-ink);
  font-family: var(--font-jp);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ——— Rough palette (picked to match the担当者 PPT) ——— */
:root {
  --lp-hero-blue-1: #1a3a6e;   /* deep navy CTA */
  --lp-hero-blue-2: #1f4d8f;
  --lp-accent-blue: #2b7fd9;   /* brighter section-heading blue used in rough */
  --lp-hero-yellow: #ffe85c;   /* highlighter yellow for underlines */
  --lp-red:         #e23a3a;   /* "2/3" red + 実質負担額 */
  --lp-page-bg:     #ffffff;
  --lp-soft-bg:     #f5f7fa;
  --lp-table-border:#d9dde2;
  --lp-table-head:  #f0f3f7;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal--in { opacity: 1; transform: none; }
.reveal--left  { transform: translateX(-60px); }
.reveal--right { transform: translateX(60px); }
.reveal--scale { transform: translateY(40px) scale(0.92); }
.reveal--left.reveal--in, .reveal--right.reveal--in, .reveal--scale.reveal--in { transform: none; }
.reveal--delay-1 { transition-delay: 120ms; }
.reveal--delay-2 { transition-delay: 260ms; }
.reveal--delay-3 { transition-delay: 400ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .float-deco, .shine, .cta-pulse, .badge-bob, .sparkle-spin { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ===== Keyframes ===== */
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes float-diag {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(8px,-12px) rotate(6deg); }
}
@keyframes ring-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 232, 92, 0.55), 0 12px 32px rgba(26, 58, 110, 0.35); }
  70% { box-shadow: 0 0 0 22px rgba(255, 232, 92, 0), 0 12px 32px rgba(26, 58, 110, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(255, 232, 92, 0), 0 12px 32px rgba(26, 58, 110, 0.35); }
}
@keyframes shine-sweep {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(260%) skewX(-18deg); }
}
@keyframes sparkle-spin {
  0%,100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%     { transform: scale(1.25) rotate(20deg); opacity: 0.7; }
}
@keyframes gradient-drift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes bar-rise {
  0% { clip-path: inset(100% 0 0 0); opacity: 0; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes callout-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes marquee-underline {
  0% { background-size: 0% 0.6em; }
  100% { background-size: 100% 0.6em; }
}
@keyframes hl-sweep {
  0% { background-size: 0% 62%; }
  100% { background-size: 100% 62%; }
}
@keyframes num-pop {
  0%   { transform: scale(0.3) rotate(-20deg); opacity: 0; }
  60%  { transform: scale(1.15) rotate(3deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes arrow-nudge {
  0%,100% { transform: translateX(0); }
  50%     { transform: translateX(6px); }
}

/* ===== Emphasized brand + price styles ===== */
.rikcad-strong {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.06em;
  color: var(--lp-hero-blue-1);
  letter-spacing: 0.02em;
  background: linear-gradient(transparent 65%, rgba(255, 232, 92, 0.55) 65%);
  padding: 0 0.12em;
}
.hl-strong {
  color: var(--lp-red);
  font-weight: 900;
  font-size: 1.15em;
  background: linear-gradient(transparent 62%, var(--lp-hero-yellow) 62%);
  padding: 0 0.12em;
}
.lp-h2__rikcad { font-size: 1.15em; }
.amount-pop {
  font-size: 1.35em;
  color: var(--lp-red);
  font-weight: 900;
  display: inline-block;
  padding: 2px 10px;
  background: linear-gradient(180deg, #fff4a8 0%, #ffe85c 100%);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(255, 200, 0, 0.3);
}
.amount-pop--max {
  color: #c81e1e;
  background: linear-gradient(180deg, #ffd0c8 0%, #ffab9c 100%);
  box-shadow: 0 2px 8px rgba(226, 58, 58, 0.35);
}
.amount-win {
  color: var(--rik-green-700);
  font-weight: 900;
}

/* Top nav — products.rikcorp.jp-style */
.lp-nav__product {
  color: var(--lp-hero-blue-1);
  font-weight: 900;
  font-family: var(--font-en);
  letter-spacing: 0.03em;
  font-size: 17px;
}
.lp-stats {
  position: relative;
  background: #fff;
  color: var(--rik-ink);
  padding: 40px 24px;
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
}
.lp-stats__inner {
  position: relative;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center; gap: 20px;
}
.lp-stat { text-align: center; }
.lp-stat__label {
  font-size: 12px; letter-spacing: 0.14em; font-weight: 700;
  color: var(--neutral-600); text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-en);
}
.lp-stat__value {
  font-size: 44px; font-weight: 900; line-height: 1;
  font-family: var(--font-en); letter-spacing: -0.01em;
  color: var(--lp-hero-blue-1);
  display: inline-flex; align-items: baseline; gap: 4px;
}
.lp-stat__value .num { color: var(--lp-hero-blue-1); }
.lp-stat__value .num.red { color: var(--lp-red); font-family: var(--font-jp); font-size: 32px; letter-spacing: 0; }
.lp-stat__value .unit { font-size: 18px; font-family: var(--font-jp); font-weight: 800; color: var(--neutral-700); }
.lp-stat__sub {
  font-size: 12px; color: var(--neutral-600); margin-top: 8px; font-weight: 500;
}
.lp-stat__divider {
  width: 1px; height: 52px;
  background: var(--neutral-200);
}
@media (max-width: 860px) {
  .lp-stats__inner { grid-template-columns: 1fr; gap: 28px; }
  .lp-stat__divider { width: 60%; height: 1px; margin: 0 auto; }
}

/* ===== Top nav — products.rikcorp.jp-style ===== */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--neutral-200);
}
.lp-nav__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.lp-nav__logo { display: flex; align-items: center; gap: 10px; }
.lp-nav__logo img { height: 32px; width: auto; }
.lp-nav__product {
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  color: var(--rik-ink);
  padding-left: 12px; border-left: 1px solid var(--neutral-300);
}
.lp-nav__links {
  display: flex; gap: 28px; font-size: 14px; font-weight: 500;
}
.lp-nav__links a { color: var(--neutral-700); transition: color var(--dur-fast) var(--ease-out); }
.lp-nav__links a:hover { color: var(--rik-blue); }
.lp-nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lp-hero-blue-1); color: #fff; font-weight: 700;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 14px;
  transition: background var(--dur-fast) var(--ease-out);
}
.lp-nav__cta:hover { background: var(--lp-hero-blue-2); }
@media (max-width: 900px) {
  .lp-nav__links { display: none; }
}

/* ============================================================
   HERO — products.rikcorp.jp tone
   ============================================================ */
.lp-hero {
  position: relative;
  overflow: hidden;
  background: #f4f7fa;
  padding: 72px 24px 80px;
  border-bottom: 1px solid var(--neutral-200);
}
.lp-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.lp-hero__bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
  opacity: 0.75;
  filter: saturate(0.95);
}
.lp-hero__bg-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(244,247,250,0.94) 0%, rgba(244,247,250,0.72) 48%, rgba(244,247,250,0.2) 100%);
}
.lp-hero__inner {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 48px; align-items: center;
}
.lp-hero__copy { text-align: left; }
.lp-hero__pill {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff;
  border: 2px solid var(--lp-hero-blue-1);
  border-radius: var(--radius-pill);
  padding: 12px 30px;
  font-weight: 800; font-size: 18px;
  color: var(--lp-hero-blue-1);
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(26, 58, 110, 0.12);
  animation: bob 3.2s var(--ease-in-out) infinite;
}
.lp-hero__pill svg { flex-shrink: 0; }
.lp-hero__kicker {
  font-size: 16px; font-weight: 600; color: var(--neutral-700);
  margin-bottom: 18px;
  line-height: 1.8;
}
.lp-hero__kicker .rikcad { font-weight: 900; color: var(--rik-ink); font-family: var(--font-en); letter-spacing: 0.02em; }
.lp-hero__h1 {
  font-size: 44px; font-weight: 900; line-height: 1.35;
  color: var(--rik-ink);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.lp-hero__h1 .big2 {
  color: var(--lp-red);
  font-size: 1.4em;
  font-family: var(--font-en);
  font-weight: 900;
  vertical-align: -0.02em;
  margin: 0 0.04em;
  display: inline-block;
}
.lp-hero__h1 .hl {
  background: linear-gradient(transparent 62%, var(--lp-hero-yellow) 62%) no-repeat;
  background-size: 100% 100%;
  padding: 0 0.08em;
}
.lp-hero__title-card {
  display: inline-block;
  background: var(--lp-hero-blue-1);
  color: #fff;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  line-height: 1.15;
  box-shadow: 0 8px 22px rgba(26, 58, 110, 0.2);
  margin-bottom: 32px;
  white-space: nowrap;
}
.lp-hero__title-card .tc-green {
  color: inherit;
}
.lp-hero__title-card .tc-year {
  font-family: var(--font-en);
  font-size: 1.02em;
  margin-left: 0.12em;
  letter-spacing: 0.01em;
}

.lp-hero__badges {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 620px;
  margin: 0 0 28px;
}
.lp-hero__badge {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 88px;
  border: 1px solid rgba(26, 58, 110, 0.08);
  box-shadow: 0 2px 8px rgba(17,17,17,0.04);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.lp-hero__badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 58, 110, 0.14);
}
.lp-hero__badge-title {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; font-weight: 800; color: var(--rik-ink);
  line-height: 1.35;
}
.lp-hero__badge-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--lp-hero-blue-1); color: #fff;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 0;
  align-self: flex-start;
  position: relative;
  top: 0;
}
.lp-hero__badge-icon svg { display: block; width: 16px; height: 16px; }
.lp-hero__badge-sub {
  font-size: 12px; color: var(--neutral-600); font-weight: 500;
  margin-top: auto;
}

.lp-hero__cta {
  position: relative;
  display: flex; align-items: stretch; justify-content: flex-start;
  max-width: 620px; margin: 0;
  background: var(--lp-hero-blue-1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 26px rgba(26, 58, 110, 0.25);
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  cursor: pointer;
}
.lp-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(26, 58, 110, 0.35);
  background: var(--lp-hero-blue-2);
  opacity: .95;
}
.lp-hero__cta:hover .lp-hero__cta-arrow svg { animation: arrow-nudge 600ms var(--ease-in-out) infinite; }
.lp-hero__cta:active { transform: scale(0.99); }
.lp-hero__cta-badge {
  background: #fff; color: var(--lp-hero-blue-1);
  font-weight: 900; font-size: 17px; line-height: 1.1;
  padding: 0 18px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-width: 96px;
  border-right: 2px dashed rgba(26, 58, 110, 0.2);
}
.lp-hero__cta-body {
  flex: 1; padding: 16px 20px; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  text-align: left;
}
.lp-hero__cta-top { font-size: 14px; opacity: 0.95; margin-bottom: 2px; }
.lp-hero__cta-main {
  font-size: 30px; font-weight: 900; letter-spacing: 0.02em; line-height: 1.1;
}
.lp-hero__cta-main .yel { color: var(--lp-hero-yellow); }
.lp-hero__cta-arrow {
  align-self: center; color: #fff; padding-right: 18px;
}
.lp-hero__cta-arrow svg { width: 34px; height: 34px; }

/* ===== Hero visual: exterior + desktop PC frame ===== */
.lp-hero__visual {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
}
.desktop {
  position: relative;
  width: 100%; max-width: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 48px rgba(17, 24, 39, 0.25));
}
.desktop__bezel {
  background: linear-gradient(180deg, #2b2f36 0%, #1a1d22 100%);
  border-radius: 12px;
  padding: 14px 14px 18px;
  position: relative;
}
.desktop__bezel::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px; transform: translateX(-50%);
  width: 48px; height: 4px; border-radius: 2px;
  background: #0e1014;
}
.desktop__screen {
  background: #0b1220;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
}
.desktop__screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.desktop__neck {
  width: 96px; height: 28px;
  margin: -2px auto 0;
  background: linear-gradient(180deg, #2b2f36 0%, #24272d 100%);
  clip-path: polygon(12% 0, 88% 0, 96% 100%, 4% 100%);
}
.desktop__stand {
  width: 240px; height: 14px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2b2f36 0%, #171a1e 100%);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.desktop__caption {
  font-size: 13px; font-weight: 700; color: var(--neutral-700);
  letter-spacing: 0.03em;
  background: #fff;
  border: 1px solid var(--neutral-200);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(17,17,17,0.06);
}
.desktop__caption::before {
  content: "●";
  color: var(--rik-green);
  margin-right: 8px;
  font-size: 10px;
  vertical-align: 2px;
}

@media (max-width: 760px) {
  .lp-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero__copy { text-align: center; }
  .lp-hero__copy .lp-hero__badges,
  .lp-hero__copy .lp-hero__cta { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   SHARED — section header (matches rough's blue centered heading)
   ============================================================ */
.lp-section {
  padding: 80px 24px;
}
.lp-section--tint { background: var(--lp-soft-bg); }
.lp-container { max-width: 1100px; margin: 0 auto; }

.lp-h2 {
  text-align: center;
  font-size: 40px; font-weight: 900; color: var(--lp-accent-blue);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  position: relative;
  display: inline-block;
  left: 50%; transform: translateX(-50%);
}
.lp-h2::after {
  content: "";
  display: block;
  height: 4px; width: 64px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--rik-blue) 0%, var(--rik-blue) 50%, var(--rik-green) 50%, var(--rik-green) 100%);
  border-radius: 2px;
  transform-origin: left center;
  animation: bar-rise 700ms 200ms var(--ease-out) both;
}
.lp-h2 .hl {
  background: linear-gradient(transparent 62%, var(--lp-hero-yellow) 62%) no-repeat;
  background-size: 100% 100%;
  color: var(--rik-ink); padding: 0 0.08em;
}
.lp-h2__sparkle {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-bottom: 8px;
  color: var(--rik-ink);
  font-size: 20px; font-weight: 700;
}
.lp-h2__sparkle svg { stroke: var(--rik-ink); }
.lp-section__lead {
  text-align: center; color: var(--neutral-700);
  font-size: 15px; margin: 16px 0 0;
}

/* ============================================================
   Section: パターン比較 (おトクに導入できます)
   ============================================================ */
.pat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 44px;
}
.pat-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: 0 6px 24px rgba(17,17,17,0.06);
  overflow: hidden;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.pat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(17,17,17,0.12);
}
.pat-card__head {
  background: var(--lp-hero-blue-1);
  color: #fff; padding: 14px 18px;
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: 0.02em;
}
.pat-card__head .num {
  background: #fff; color: var(--lp-hero-blue-1);
  width: 26px; height: 26px; border-radius: 50%;
  font-family: var(--font-en); font-weight: 900; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pat-card__chart {
  padding: 24px 24px 20px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  gap: 14px;
  align-items: end;
}
.pat-bar {
  position: relative;
  border-radius: 6px;
  padding: 14px 10px 12px;
  text-align: center;
  color: var(--neutral-800);
  line-height: 1.2;
  overflow: hidden;
  transform-origin: bottom;
}
.pat-bar .l { font-size: 12px; font-weight: 700; opacity: 0.9; margin-bottom: 4px; }
.pat-bar .v { font-family: var(--font-en); font-weight: 900; font-size: 30px; line-height: 1; }
.pat-bar .pct { font-size: 11px; font-weight: 600; margin-top: 3px; opacity: 0.85; }
.pat-bar--base {
  background: #e9ecf0;
  height: 230px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.reveal--in .pat-bar--base { animation: bar-rise 700ms 150ms var(--ease-out) both; will-change: clip-path; }
.pat-stack {
  display: flex; flex-direction: column;
  height: 230px;
  transform-origin: bottom;
}
.reveal--in .pat-stack { animation: bar-rise 800ms 350ms var(--ease-out) both; will-change: clip-path; }
.pat-stack .pat-bar {
  border-radius: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pat-stack .pat-bar:first-child { border-radius: 6px 6px 0 0; }
.pat-stack .pat-bar:last-child { border-radius: 0 0 6px 6px; }
.pat-bar--subsidy { background: var(--lp-hero-blue-1); color: #fff; }
.pat-bar--subsidy .v { color: #fff; }
.pat-bar--self { background: #eaf1fb; color: var(--neutral-800); border-top: 1.5px dashed #a6bcdd; }

.pat-callout {
  align-self: center;
  background: #fff; border: 2px solid var(--lp-hero-blue-1);
  color: var(--lp-hero-blue-1); font-weight: 900;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center; font-size: 14px; line-height: 1.3;
  position: relative;
  opacity: 0; transform: scale(0.4);
  margin-left: 8px;
}
.reveal--in .pat-callout { animation: callout-pop 450ms 700ms var(--ease-out) forwards; }
.pat-callout .big {
  display: block; font-size: 32px; font-family: var(--font-en); font-weight: 900;
  color: var(--lp-red); margin: 4px 0;
}
.pat-callout::before {
  content: ""; position: absolute;
  left: -11px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border: 11px solid transparent;
  border-right-color: var(--lp-hero-blue-1);
  border-left: 0;
}
.pat-callout::after {
  content: ""; position: absolute;
  left: -7px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border: 9px solid transparent;
  border-right-color: #fff;
  border-left: 0;
}
.pat-card__foot {
  border-top: 1px solid var(--neutral-200);
  padding: 12px 18px; font-size: 13px; color: var(--neutral-700); text-align: center;
  background: var(--neutral-50);
}
.pat-card__foot b { color: var(--lp-hero-blue-1); font-weight: 800; }

.pat-amount {
  margin-top: 28px; background: #fff;
  border: 1px solid var(--neutral-200); border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(17,17,17,0.05);
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: center; gap: 26px;
}
.pat-amount__label {
  font-size: 14px; color: var(--lp-accent-blue); font-weight: 800; letter-spacing: 0.06em;
  border-bottom: 2px dotted var(--lp-accent-blue);
  padding: 0 22px 2px;
}
.pat-amount__row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.pat-amount__icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--lp-hero-blue-1);
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pat-amount__tag {
  display: inline-block; background: var(--lp-hero-blue-1); color: #fff;
  padding: 3px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700;
  margin-bottom: 4px;
}
.pat-amount__value {
  font-size: 40px; font-weight: 900; color: var(--lp-red);
  font-family: var(--font-en); letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 0 2px 0 rgba(226, 58, 58, 0.12);
}
.pat-amount__value .jp { font-family: var(--font-jp); font-size: 32px; }
.pat-amount__value .tilde { margin: 0 8px; color: var(--neutral-500); }
.pat-amount__value .suffix { font-family: var(--font-jp); font-size: 18px; color: var(--neutral-600); font-weight: 700; margin-left: 4px; }

.pat-note {
  margin-top: 14px; background: #fff; border-radius: var(--radius-md);
  padding: 10px 16px; font-size: 13px; color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
  display: flex; align-items: center; gap: 10px;
}
.pat-note svg { color: var(--lp-accent-blue); flex-shrink: 0; }
.pat-note b { color: var(--lp-accent-blue); }

.pat-highlight {
  margin-top: 14px;
  background: linear-gradient(110deg, #fff8cc 0%, #ffe85c 50%, #fff8cc 100%);
  background-size: 200% 100%;
  animation: gradient-drift 4s ease-in-out infinite alternate;
  color: var(--rik-ink); font-weight: 900;
  padding: 16px 24px; border-radius: var(--radius-md);
  text-align: center; font-size: 19px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  box-shadow: 0 8px 24px rgba(255, 232, 92, 0.35);
}
.pat-highlight svg { color: var(--lp-hero-blue-1); }
.pat-highlight .pct { color: var(--lp-red); font-size: 1.55em; font-family: var(--font-en); text-shadow: 0 2px 0 rgba(226,58,58,0.15); }

/* ============================================================
   Section: 対象製品テーブル
   ============================================================ */
.lp-table-wrap { margin-top: 44px; }
.lp-table {
  width: 100%; border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--lp-table-border);
  font-size: 15px;
}
.lp-table th, .lp-table td {
  border: 1px solid var(--lp-table-border);
  padding: 16px 20px; text-align: left; vertical-align: middle;
}
.lp-table th {
  background: var(--lp-table-head);
  width: 28%; font-weight: 700; color: var(--rik-ink);
}
.lp-table td a {
  color: var(--lp-accent-blue); text-decoration: underline; text-underline-offset: 2px;
}

.util-subheading {
  margin-top: 64px;
  border-bottom: 2px solid var(--rik-ink);
  padding-bottom: 12px;
  font-size: 26px; font-weight: 900; color: var(--rik-ink);
  position: relative;
  letter-spacing: 0.01em;
}
.util-subheading::before {
  content: ""; display: inline-block; width: 8px; height: 26px;
  background: linear-gradient(180deg, var(--rik-blue) 0%, var(--rik-blue) 50%, var(--rik-green) 50%, var(--rik-green) 100%);
  vertical-align: -4px; margin-right: 12px;
  border-radius: 2px;
}
.util-subheading::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  height: 2px; width: 120px;
  background: var(--rik-blue);
}

.util-table {
  width: 100%; border-collapse: collapse; background: #fff; margin-top: 18px;
  font-size: 15px; border: 1px solid var(--lp-table-border);
}
.util-table th, .util-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--lp-table-border);
  text-align: left;
}
.util-table thead th {
  font-weight: 700; color: var(--rik-ink); background: transparent;
  border-bottom: 2px solid var(--neutral-300);
}
.util-table .col-amount { text-align: right; font-family: var(--font-en); font-weight: 700; }
.util-table .col-self { color: var(--lp-red); font-weight: 800; }
.util-table thead th.col-self { color: var(--lp-red); }

/* ============================================================
   Section: フロー
   ============================================================ */
.flow-wrap {
  display: flex; align-items: stretch; gap: 0;
  margin-top: 44px; padding: 20px 0;
  /* overflow-x: auto; */
}
.flow-step {
  flex: 1; min-width: 140px;
  background: #bdd4ec;
  color: var(--rik-ink);
  padding: 22px 18px 22px 26px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
  margin-left: -16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  transition: transform 220ms var(--ease-out), filter 220ms var(--ease-out);
}
.flow-step:hover { transform: translateY(-4px) scale(1.03); filter: brightness(1.06); z-index: 2; }
.flow-step:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}
.flow-step:nth-child(odd) { background: #a7c4e2; }
.flow-step:nth-child(even) { background: #bcd6ef; }
.flow-step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--lp-hero-blue-1); color: #fff;
  font-family: var(--font-en); font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 58, 110, 0.3);
}
.reveal--in .flow-step__num { animation: num-pop 600ms var(--ease-out) both; }
.flow-step__label { font-size: 13px; font-weight: 700; line-height: 1.5; }

.flow-note { margin-top: 14px; font-size: 13px; color: var(--neutral-600); }

/* ============================================================
   Section: 申請締切アコーディオン (blue/mono, not purple)
   ============================================================ */
.lp-schedule-head {
  text-align: center; font-size: 40px; font-weight: 900;
  color: var(--lp-accent-blue); letter-spacing: 0.02em;
  margin: 0 0 8px;
}
.lp-schedule-sub {
  text-align: center; color: var(--neutral-700);
  margin-bottom: 36px; font-size: 15px;
}
.lp-schedule-closed {
  text-align: center; color: var(--lp-red); font-weight: 800;
  font-size: 17px; margin-top: 28px;
}

.acc-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.acc-item {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.acc-item:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(17,17,17,0.08); }
.acc-head {
  width: 100%;
  background: var(--lp-hero-blue-1);
  color: #fff;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border: 0;
  font-size: 17px; font-weight: 800; letter-spacing: 0.02em;
  text-align: left;
  transition: background var(--dur-fast) var(--ease-out);
}
.acc-head:hover { background: var(--lp-hero-blue-2); }
.acc-head__icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.acc-item[data-open="true"] .acc-head__icon { transform: rotate(45deg); background: rgba(255,255,255,0.28); }
.acc-head__label { flex: 1; }
.acc-head__meta { font-size: 13px; opacity: 0.85; font-weight: 500; }

.acc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.acc-item[data-open="true"] .acc-body { grid-template-rows: 1fr; }
.acc-body__inner { overflow: hidden; }
.acc-grid {
  display: grid; grid-template-columns: 160px 1fr; gap: 0;
  border-top: 1px solid var(--neutral-200);
}
.acc-grid__k, .acc-grid__v {
  padding: 14px 20px;
  border-bottom: 1px solid var(--neutral-200);
  font-size: 14px;
}
.acc-grid__k {
  background: #eaf1fb;
  font-weight: 700; color: var(--lp-hero-blue-1);
}
.acc-grid__v { background: #fff; color: var(--neutral-800); }
.acc-grid__k:last-of-type, .acc-grid__v:last-of-type { border-bottom: 0; }

/* ============================================================
   Section: Final CTA / Contact
   ============================================================ */
.lp-contact {
  background:
    radial-gradient(circle at 30% 30%, rgba(109, 190, 69, 0.10), transparent 45%),
    linear-gradient(135deg, #20537e 0%, #153a5b 100%);
  color: #fff;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.lp-contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 80%, rgba(0, 151, 215, 0.20), transparent 45%);
  pointer-events: none;
}
.lp-contact__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px;
  align-items: center;
  position: relative;
}
.lp-contact__eyebrow {
  font-family: var(--font-en); letter-spacing: 0.16em; font-size: 13px;
  color: #6dde7a; font-weight: 600;
  margin-bottom: 12px;
}
.lp-contact__title {
  font-size: 42px; font-weight: 900; line-height: 1.35;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.lp-contact__title .hl { color: #ffe85c; }
.lp-contact__desc {
  font-size: 15px; line-height: 1.9; opacity: 0.9;
}
.lp-contact__actions {
  display: flex; flex-direction: column; gap: 14px;
}
.contact-btn {
  display: flex; align-items: center; gap: 16px;
  background: #fff; color: var(--rik-ink);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  position: relative; overflow: hidden;
}
.contact-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(0,151,215,0.12), transparent);
  transform: translateX(-200%) skewX(-18deg);
  transition: transform 800ms var(--ease-out);
}
.contact-btn:hover::after { transform: translateX(260%) skewX(-18deg); }
.contact-btn:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 32px rgba(0,0,0,0.28);
}
.contact-btn:hover .contact-btn__arrow { animation: arrow-nudge 600ms var(--ease-in-out) infinite; }
.contact-btn__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--lp-hero-blue-1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-btn__body { flex: 1; }
.contact-btn__cap { font-size: 12px; color: var(--neutral-600); font-weight: 600; margin-bottom: 2px; }
.contact-btn__main { font-size: 17px; color: var(--rik-ink); font-weight: 800; }
.contact-btn__arrow { color: var(--lp-hero-blue-1); }

.contact-btn--primary {
  background: linear-gradient(135deg, var(--rik-blue) 0%, var(--rik-green) 100%);
  color: #fff;
}
.contact-btn--primary .contact-btn__cap { color: rgba(255,255,255,0.85); }
.contact-btn--primary .contact-btn__main { color: #fff; }
.contact-btn--primary .contact-btn__icon { background: rgba(255,255,255,0.22); }
.contact-btn--primary .contact-btn__arrow { color: #fff; }

@media (max-width: 860px) {
  .lp-contact__inner { grid-template-columns: 1fr; text-align: center; }
  .pat-grid { grid-template-columns: 1fr; }
  .pat-amount__row { flex-direction: column; gap: 12px; }
  .lp-hero__h1 { font-size: 28px; }
  .lp-hero__title-card { font-size: 28px; padding: 14px 22px; }
  .lp-hero__badges { grid-template-columns: 1fr; }
  .lp-hero__cta { flex-direction: column; }
  .lp-hero__cta-badge { border-right: 0; border-bottom: 2px dashed rgba(26,58,110,0.2); padding: 10px 0; }
  .lp-hero__cta-main { font-size: 22px; }
  .flow-wrap { flex-direction: column; }
  .flow-step { clip-path: none !important; margin-left: 0 !important; border-radius: var(--radius-md); }
  .acc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.lp-footer {
  background: #17191d; color: #c5c7cc;
  padding: 48px 24px 24px;
  font-size: 13px;
}
.lp-footer__inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.lp-footer__brand img { height: 26px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.lp-footer__brand p { margin: 0; line-height: 1.8; opacity: 0.75; }
.lp-footer__copy { font-size: 12px; opacity: 0.6; }

/* ============================================================
   Fine tweaks — sparkles, divider ornaments
   ============================================================ */
.spark-line {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--lp-hero-blue-1);
  font-size: 26px; font-weight: 800;
  margin-bottom: 8px;
}
.spark-line svg { color: var(--lp-hero-blue-1); animation: sparkle-spin 3s var(--ease-in-out) infinite; }

.dotted-cap {
  display: inline-block;
  border-top: 2px dotted var(--lp-accent-blue);
  border-bottom: 2px dotted var(--lp-accent-blue);
  padding: 3px 28px;
  color: var(--lp-accent-blue); font-weight: 800; letter-spacing: 0.12em;
  font-size: 14px;
  margin-bottom: 10px;
}


/* ===== Customization ===== */
.grayout {filter: grayscale(1);}
.l-page-header {padding-top: 10em;}

@media (max-width: 767px) {
  .l-page-header { padding-top: 5em; }
  .lp-hero__title-card { white-space: wrap; }
  .lp-hero__badge-title br { display: none; }
  .lp-hero__cta-body { text-align: center; }
  .lp-hero__cta-arrow { padding: 0 0 18px; }
  .pat-highlight { display: grid; gap: 0; }
  .pat-highlight svg { margin: auto; }
  .pat-note { display: block; }
  .pat-note svg { margin-right: 12px; }
  .util-table th, .util-table td { padding: 3px; border-left: 1px solid var(--lp-table-border); font-size: .9em; }
  .util-table { zoom: 0.8; width: 100% !important; }
  .acc-head { display: grid; }
  h2 { font-size: 2.5em!important; }
}