/* ============================================================
   PATHWORK LP — design system
   配色はロゴ img/logo_wide.png の実測値に合わせる。
   ワードマーク #000838（藍）／グリフ #9898e8（ペリウィンクル）。
   www.reperio.jp（青 #2f5bea ＋ 緑 #18b07e、白基調・丸ピル・中央寄せ）とは
   別ブランドとして、藍・角・左寄せで組む。緑は使わない。
   ============================================================ */

:root {
  --ink: #0a0f3d;
  --navy: #1b2154;
  --text: #2c3154;
  --muted-text: #626a91;
  --line: #e6e6f2;
  --bg: #ffffff;
  --bg-alt: #f6f5fc;
  --bg-deep: #070b2e;
  --accent: #4f52e0;
  --accent-strong: #3a3dcc;
  --accent-soft: #eeeefc;
  /* ロゴのグリフ色。白地では contrast 2:1 程度しかないため、暗い面の上だけで使う */
  --periwinkle: #9898e8;
  --radius: 12px;
  --shadow: 0 18px 46px -24px rgba(10, 15, 61, .4);
  --shadow-sm: 0 8px 22px -14px rgba(10, 15, 61, .32);
  --maxw: 1120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.en {
  font-family: "Jost", sans-serif;
  letter-spacing: .08em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: 10px;
  transition: transform .18s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(79, 82, 224, .75);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -14px rgba(79, 82, 224, .85);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
  border-radius: 8px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--bg-deep);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 8px 26px -20px rgba(0, 0, 0, .9);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand img {
  height: 26px;
  width: auto;
  display: block;
  /* ワードマークは濃紺なので、濃紺ヘッダーの上では白抜きにする */
  filter: brightness(0) invert(1);
}

.brand .mark {
  display: none;
}

.brand-name {
  font-size: 13px;
  font-weight: 700;
  color: #b9bde4;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .2);
  letter-spacing: .02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: #c7cbe8;
  transition: color .2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #fff;
  text-decoration: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}

.site-header .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  transition: transform .3s, opacity .2s;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }

body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
}

/* ---------- Hero ----------
   アイキャッチ img/lptop01.png を右寄せで敷き、左からの暗幕グラデーションで
   本文の可読性を確保する。 */
.hero {
  position: relative;
  padding: 150px 0 110px;
  overflow: hidden;
  background: var(--bg-deep);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../../img/lptop01.png) right center / cover no-repeat;
  opacity: .62;
  -webkit-mask-image: linear-gradient(95deg, transparent 0%, transparent 24%, rgba(0, 0, 0, .95) 78%);
  mask-image: linear-gradient(95deg, transparent 0%, transparent 24%, rgba(0, 0, 0, .95) 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 11, 46, .97) 30%, rgba(9, 14, 58, .55) 100%),
    radial-gradient(700px 380px at 88% 10%, rgba(79, 82, 224, .38), transparent 62%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #c6d4f7;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--periwinkle);
  box-shadow: 0 0 0 4px rgba(152, 152, 232, .22);
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.28;
  letter-spacing: .005em;
  color: #fff;
  font-weight: 900;
  margin: 22px 0;
}

.hero h1 .hl {
  position: relative;
  white-space: nowrap;
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: .04em;
  height: .16em;
  background: linear-gradient(90deg, rgba(152, 152, 232, .95), rgba(79, 82, 224, .85));
  z-index: -1;
  border-radius: 3px;
}

.hero p.lead {
  font-size: 17px;
  color: #c4cee0;
  max-width: 40em;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.hero .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: #93a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  flex: none;
  color: var(--periwinkle);
}

/* ---------- Sections ---------- */
section.block {
  padding: 96px 0;
}

section.alt {
  background: var(--bg-alt);
}

.sec-head {
  max-width: 720px;
  margin: 0 0 48px;
  text-align: left;
}

/* 連番レール：番号のあとに罫線を伸ばす */
.sec-index {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 14px;
}

.sec-index::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(79, 82, 224, 0));
}

.sec-index .label {
  color: var(--muted-text);
  letter-spacing: .1em;
  font-weight: 600;
}

.sec-head h2 {
  font-size: clamp(25px, 3.4vw, 36px);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: .01em;
}

.sec-head p {
  font-size: 16px;
  color: var(--muted-text);
}

/* ---------- Note grid (概要) ---------- */
.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.note .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}

.note p {
  font-size: 14.5px;
  color: var(--text);
}

/* ---------- Pillars (特徴) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 30px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(79, 82, 224, .3);
}

.shot {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 14px 34px -24px rgba(20, 35, 61, .5);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.pillar .shot {
  margin-bottom: 22px;
}

.pillar .shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.pillar h3 {
  font-size: 18.5px;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 12px;
  font-weight: 800;
}

.pillar p {
  font-size: 14.5px;
  color: var(--muted-text);
}

/* ---------- Feature row (効果的なシーン) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.ftext h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 14px;
  font-weight: 800;
}

.ftext p.answer {
  font-size: 15.5px;
  color: var(--muted-text);
  margin-bottom: 22px;
}

.flist {
  display: grid;
  gap: 12px;
}

.flist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
}

.flist li svg {
  flex: none;
  margin-top: 6px;
  color: var(--accent);
}

/* ---------- Steps (使い方) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.step .num {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.step h3 {
  font-size: 17px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--muted-text);
  margin-bottom: 18px;
}

.step .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Checklist (向いている方) ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checklist li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px 16px 46px;
  font-size: 14.5px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 25px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Plans (料金) ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(79, 82, 224, .3);
}

.plan h3 {
  font-size: 19px;
  color: var(--ink);
  font-weight: 800;
}

.plan .term {
  font-size: 13px;
  color: var(--muted-text);
  margin-top: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 20px 0 22px;
  color: var(--ink);
  line-height: 1;
  flex-wrap: wrap;
}

.plan .price .cur {
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.plan .price .num {
  font-family: "Jost", sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.plan .price .unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-text);
}

.plan .btn {
  width: 100%;
}

.plan .plan-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.plan .plan-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
}

.plan .plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 360px at 84% 10%, rgba(79, 82, 224, .55), transparent 60%),
    radial-gradient(600px 340px at 6% 90%, rgba(152, 152, 232, .3), transparent 55%),
    var(--bg-deep);
  color: #fff;
  border-radius: 16px;
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 16px;
}

.cta-band p {
  color: #c3cee0;
  font-size: 15.5px;
  margin-bottom: 30px;
}

.cta-band .note-small {
  margin: 22px 0 0;
  font-size: 12.5px;
  color: #8b99ad;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: #aeb9c9;
  padding: 56px 0 30px;
}

.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.foot-brand img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.foot-brand p {
  font-size: 13px;
  margin-top: 14px;
  max-width: 30em;
}

.foot-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.foot-col h4 {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  color: #6f7e92;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 800;
}

.foot-col a {
  display: block;
  font-size: 13.5px;
  color: #c3cee0;
  padding: 5px 0;
  transition: color .2s;
}

.foot-col a:hover {
  color: #fff;
  text-decoration: none;
}

.foot-bottom {
  padding-top: 22px;
  font-size: 12px;
  color: #6f7e92;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  /* 画像が本文の背後に回るため、暗幕を濃くして可読性を保つ */
  .hero::after {
    background:
      linear-gradient(175deg, rgba(7, 11, 46, .94) 42%, rgba(9, 14, 58, .72) 100%),
      radial-gradient(560px 320px at 84% 6%, rgba(79, 82, 224, .38), transparent 62%);
  }

  .hero::before {
    -webkit-mask-image: linear-gradient(185deg, transparent 0%, transparent 18%, rgba(0, 0, 0, .95) 72%);
    mask-image: linear-gradient(185deg, transparent 0%, transparent 18%, rgba(0, 0, 0, .95) 72%);
  }

  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .feature .shot {
    order: -1;
  }

  .pillars,
  .plans,
  .note-grid,
  .checklist {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--bg-deep);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 99;
    padding: 14px 24px 24px;
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .mobile-menu a {
    display: block;
    padding: 13px 0;
    font-size: 16px;
    font-weight: 600;
    color: #dfe2f5;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .mobile-menu a:hover {
    text-decoration: none;
  }

  .mobile-menu .btn {
    width: 100%;
    margin-top: 16px;
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 116px 0 66px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  section.block {
    padding: 70px 0;
  }

  .sec-head {
    margin-bottom: 40px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .note,
  .plan {
    padding: 24px 22px;
  }

  .cta-band {
    padding: 48px 22px;
  }
}

@media (max-width: 560px) {
  .brand .wide {
    display: none;
  }

  .brand .mark {
    display: block;
    height: 30px;
  }

  .brand-name {
    font-size: 12px;
    padding-left: 10px;
  }
}
