/* =========================================================
   CareerEdge LP — 案C "Manifesto"（確定版デザイン）
   Design tokens & styles（ハンドオフ design/CareerEdge_LP.html 準拠）
   ========================================================= */

:root {
  /* Logo-anchored palette — Trust-based Blue & Red */
  --ink: #0a1930; /* deep navy — text & dark surfaces */
  --ink-2: #38475e;
  --ink-3: #7583a0;
  --paper: #f5f7fb; /* cool off-white */
  --paper-2: #e8edf5;
  --paper-warm: #eef2f8;
  --blue: #0d6fc2; /* logo blue — primary */
  --blue-2: #0a56a0; /* deeper blue for hover / emphasis */
  --blue-deep: #062d5f; /* darkest navy-blue */
  --blue-soft: #dce7f5; /* soft blue tint */
  --line: #d2dbe8;
  --line-2: #b3bfd0;
  --accent: #0d6fc2; /* accent = logo blue */
  --accent-2: #4a94d9; /* lighter blue for on-dark accents */
  --red: #e60012; /* logo red — used sparingly as accent */
  --red-soft: #f8dcdf;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  overflow-x: hidden;
}

/* NAV — deep navy, unified with hero */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 25, 48, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(74, 148, 217, 0.18);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  height: 40px;
  gap: 16px;
  text-decoration: none;
}
.logo img {
  height: 100%;
  width: auto;
  display: block;
}
.logo-wordmark {
  font-family: "Cormorant Garamond", serif;
  font-style: normal;
  color: #fff;
  font-size: 36px;
  letter-spacing: 0.005em;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  padding-bottom: 2px; /* optical baseline */
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 15px;
  letter-spacing: 0.06em;
  align-items: center;
  margin-left: auto; /* CTAを外出ししたため右寄せを維持 */
}
.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover {
  color: #fff;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 12px 26px;
  letter-spacing: 0.1em;
  border-left: 2px solid var(--red);
  transition: background 0.2s;
  text-decoration: none;
  font-size: 15px;
  margin-left: 36px; /* 旧 .nav-links の gap と同じ間隔 */
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--blue-2);
}

/* ハンバーガーボタン — デスクトップでは非表示 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  margin-left: 12px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO — Manifesto */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 40px 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 82% 18%,
      rgba(74, 148, 217, 0.14),
      transparent 62%
    ),
    radial-gradient(
      ellipse 60% 55% at 10% 92%,
      rgba(13, 111, 194, 0.22),
      transparent 72%
    ),
    radial-gradient(
      ellipse 40% 30% at 95% 90%,
      rgba(230, 0, 18, 0.06),
      transparent 70%
    );
  pointer-events: none;
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.manifesto-mark {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.manifesto-mark::before {
  content: "";
  width: 80px;
  height: 1px;
  background: var(--accent-2);
  opacity: 0.6;
}
.manifesto-mark::after {
  content: "";
  width: 80px;
  height: 1px;
  background: var(--accent-2);
  opacity: 0.6;
}
.manifesto-mark .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}
.manifesto-lines {
  text-align: center;
  margin-bottom: 80px;
}
.m-line {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 36px;
  color: rgba(244, 240, 230, 0.5);
  line-height: 1.85;
  letter-spacing: 0.05em;
}
.m-line strong {
  color: var(--paper);
  font-weight: 600;
}
.m-line.dim {
  font-size: 22px;
  color: rgba(244, 240, 230, 0.35);
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
}

h1.hero-final {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: clamp(56px, 7.8vw, 120px);
  line-height: 1.22;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-align: center;
  margin: 0 0 32px;
}
h1.hero-final u {
  text-decoration: none;
  background: linear-gradient(
    180deg,
    transparent 78%,
    var(--red) 78%,
    var(--red) 88%,
    transparent 88%
  );
  padding: 0 4px;
}

.hero-sub {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: rgba(244, 240, 230, 0.8);
  line-height: 2;
  max-width: 820px;
  margin: 0 auto 56px;
  letter-spacing: 0.03em;
  text-wrap: pretty;
}
.hero-sub b {
  color: var(--accent-2);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}
.hero-ctas a {
  padding: 16px 32px;
  text-decoration: none;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.hero-ctas .primary {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.hero-ctas .primary:hover {
  background: #fff;
  color: var(--ink);
}
.hero-ctas .ghost {
  color: var(--paper);
  border: 1px solid rgba(244, 240, 230, 0.4);
}
.hero-ctas .ghost:hover {
  border-color: var(--paper);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 56px;
  border-top: 1px solid rgba(244, 240, 230, 0.15);
}
.hs {
  text-align: center;
}
.hs .n {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--accent-2);
  font-size: 36px;
  letter-spacing: 0.02em;
}
.hs .l {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(244, 240, 230, 0.6);
  text-transform: uppercase;
  margin-top: 6px;
}

/* SECTION SHELL */
section.block {
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 40px;
}
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.sec-tag .box {
  border: 1px solid var(--blue);
  padding: 2px 10px;
  font-size: 11px;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  letter-spacing: 0.1em;
}
h2.sec {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  color: var(--ink);
}
h2.sec .em {
  color: var(--blue);
}
.sec-lede {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 2;
  max-width: 720px;
  margin-bottom: 64px;
}
.sec-lede b {
  color: var(--ink);
  font-weight: 500;
}

/* CHECK — reduced to a single powerful spread */
.check {
  background: var(--paper-warm);
  padding: 140px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.check-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.check-flex {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  align-items: start;
}
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.check-item {
  padding: 28px 32px 28px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.check-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.check-item:nth-child(even) {
  padding-left: 32px;
}
.check-item .n {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--blue);
  font-size: 16px;
  letter-spacing: 0.15em;
  min-width: 36px;
}
.check-item p {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.conclude {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
}
.conclude .q {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
}
.conclude .a {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  color: var(--blue);
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* 診断への導線（Checkセクション末尾） */
.shindan-lead {
  margin-top: 40px;
  text-align: right;
}
.shindan-link {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 14px 28px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition:
    background 0.2s,
    color 0.2s;
}
.shindan-link:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ABOUT — statement */
.about-block {
  position: relative;
}
.about-quote {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--ink);
  max-width: 1000px;
  padding: 32px 0 40px 40px;
  border-left: 3px solid var(--blue);
  margin-bottom: 48px;
}
.about-quote em {
  color: var(--blue);
  font-style: normal;
}
.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.about-body p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 2;
  margin-bottom: 20px;
}
.about-body p b {
  color: var(--ink);
  font-weight: 500;
}

/* NOT — the manifesto's core */
.not-block {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
}
.not-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.not-block .sec-tag {
  color: var(--accent-2);
}
.not-block .sec-tag .box {
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.not-block h2.sec {
  color: var(--paper);
}
.not-block h2.sec .em {
  color: var(--accent-2);
}

.not-cross {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 80px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin: 20px 0 24px;
  color: var(--paper);
  max-width: 1100px;
}
.not-cross .strike {
  position: relative;
  color: rgba(244, 240, 230, 0.4);
}
.not-cross .strike::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  height: 3px;
  background: var(--red);
  transform: rotate(-2deg);
}
.not-lede {
  font-size: 17px;
  color: rgba(244, 240, 230, 0.75);
  max-width: 720px;
  line-height: 2;
  margin-bottom: 56px;
}
.not-lede b {
  color: var(--paper);
  font-weight: 500;
}
.not-lede.wide {
  max-width: none;
}

/* Matching diagram */
.matching {
  background: rgba(244, 240, 230, 0.05);
  border: 1px solid rgba(244, 240, 230, 0.15);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.matching-title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--accent-2);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.matching h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--paper);
  margin-bottom: 20px;
}
.matching h3 sup {
  font-size: 12px;
  color: var(--accent-2);
  vertical-align: super;
}
.matching p {
  color: rgba(244, 240, 230, 0.7);
  font-size: 14.5px;
  line-height: 2;
}
.matching p b {
  color: var(--paper);
  font-weight: 500;
}

.diagram {
  position: relative;
  height: 320px;
}
.node {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  text-align: center;
  padding: 12px;
  letter-spacing: 0.05em;
}
.node.you {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  z-index: 3;
  box-shadow: 0 0 0 8px rgba(13, 111, 194, 0.2);
}
.node.you small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
}
.node.c1 {
  left: 8%;
  top: 8%;
  width: 110px;
  height: 110px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.node.c2 {
  right: 8%;
  bottom: 8%;
  width: 110px;
  height: 110px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.node small.role {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.line-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.rejected {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rej-card {
  background: rgba(244, 240, 230, 0.03);
  border: 1px solid rgba(168, 58, 42, 0.4);
  padding: 24px;
  position: relative;
}
.rej-card .rej-lbl {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: #ff8892;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.rej-card h4 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper);
}
.rej-card::before {
  content: "×";
  position: absolute;
  top: 16px;
  right: 16px;
  color: #ff8892;
  font-size: 20px;
  font-weight: 300;
}

/* FEATURES */
.features .fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feat {
  background: var(--paper);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 340px;
  transition: background 0.3s;
}
.feat:hover {
  background: var(--paper-warm);
}
.feat-idx {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--blue);
  font-size: 22px;
  letter-spacing: 0.15em;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.feat-idx .badge {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-3);
  font-style: normal;
  font-family: "Noto Sans JP", sans-serif;
}
.feat h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.feat p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
}
.feat p b {
  color: var(--ink);
  font-weight: 500;
}

/* PROGRAM — dedicated section */
.program {
  background: var(--paper-warm);
  padding: 140px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.program-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.prog-summary {
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.prog-summary > div {
  max-width: 880px;
}
.prog-summary h2.sec {
  margin-bottom: 32px;
}
.prog-summary .sub {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 2;
  max-width: 640px;
}
.prog-summary .sub b {
  color: var(--ink);
  font-weight: 500;
}

.prog-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.prog-list li {
  list-style: none;
  padding: 16px 24px 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.prog-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.prog-list li:nth-child(even) {
  padding-left: 24px;
}
.prog-list li b {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
  font-size: 16px;
  min-width: 24px;
}

.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.mod {
  background: var(--paper);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  transition: background 0.3s;
}
.mod:hover {
  background: #fff;
}
.mod-idx {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mod-idx .num {
  font-weight: 600;
  font-style: normal;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  letter-spacing: 0.15em;
  font-size: 13px;
}
.mod-idx .slash {
  color: var(--line-2);
  font-style: normal;
}
.mod h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.mod p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

@media (max-width: 1180px) {
  .modules {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* PRICE — split section shell (現状は1カラム中央) */
.price-faq {
  background: var(--paper);
  padding: 140px 40px;
}
.price-faq-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pf {
  background: var(--paper);
  padding: 56px 48px;
}
.pf .k {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pf h4 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.55;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.price-l {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 64px;
  color: var(--blue);
  line-height: 1;
  margin: 28px 0 12px;
  letter-spacing: 0.02em;
}
.price-l small {
  font-size: 16px;
  color: var(--ink-3);
  font-weight: 400;
  margin-left: 6px;
}
.pf-note {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* FAQ — standalone accordion section */
.faq-section {
  background: var(--paper);
  padding: 140px 40px;
  border-top: 1px solid var(--line);
}
.faq-inner {
  max-width: 960px;
  margin: 0 auto;
}
.faq-head {
  text-align: center;
  margin-bottom: 72px;
}
.faq-head .k {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.faq-head h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.faq-list {
  border-top: 1px solid var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 56px 28px 8px;
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: 0.02em;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--blue);
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.faq-item summary::before {
  content: "Q.";
  color: var(--blue);
  flex-shrink: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.45;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition:
    transform 0.25s ease,
    border-color 0.2s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--blue);
}
.faq-item[open] summary {
  color: var(--blue);
}
.faq-answer {
  padding: 0 8px 32px 44px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.faq-answer::before {
  content: "A.";
  color: var(--ink-3);
  flex-shrink: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  margin-left: -36px;
}

/* CTA — final (single primary) */
.cta-final {
  padding: 140px 40px 120px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  text-align: center;
}
.cta-final .kk {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--blue);
  letter-spacing: 0.3em;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cta-final h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 24px;
}
.cta-final .sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto 64px;
  line-height: 2;
}
.cta-final .sub b {
  color: var(--ink);
  font-weight: 500;
}
.cta-single {
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  padding: 56px 48px 48px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
}
.cta-single::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--blue) 0%,
    var(--blue) 82%,
    var(--red) 82%,
    var(--red) 100%
  );
}
.cta-single .t {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--accent-2);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.cta-single h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--paper);
  margin-bottom: 14px;
}
.cta-single p {
  font-size: 14.5px;
  line-height: 2;
  color: rgba(244, 240, 230, 0.75);
}
.cta-btn-big {
  background: var(--blue);
  color: #fff;
  padding: 20px 32px;
  text-decoration: none;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}
.cta-btn-big:hover {
  background: #fff;
  color: var(--ink);
  transform: translateX(4px);
}
.cta-note {
  max-width: 720px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  padding: 0 4px;
}
.cta-note span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-note span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.cta-alt {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.cta-alt a {
  color: var(--blue);
}

/* FOOTER */
footer {
  background: var(--ink);
  color: rgba(244, 240, 230, 0.7);
  padding: 56px 40px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.15em;
}
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.9;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: rgba(244, 240, 230, 0.7);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--accent-2);
}
.footer-credit {
  line-height: 2;
}

@media (max-width: 900px) {
  h1.hero-final {
    font-size: 52px;
    letter-spacing: 0.03em;
  }
  .m-line {
    font-size: 22px;
  }
  .check-flex,
  .about-body,
  .features .fgrid,
  .prog-summary,
  .modules,
  .price-faq-inner,
  .cta-3 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .prog-list {
    grid-template-columns: 1fr;
  }
  .prog-list li:nth-child(odd) {
    border-right: none;
  }
  .prog-list li:nth-child(even) {
    padding-left: 0;
  }
  .check-list {
    grid-template-columns: 1fr;
  }
  .check-item:nth-child(odd) {
    border-right: none;
  }
  .check-item:nth-child(even) {
    padding-left: 0;
  }
  .not-cross {
    font-size: 42px;
  }
  .about-quote {
    font-size: 26px;
    padding: 16px 0 16px 24px;
  }
  .rejected {
    grid-template-columns: 1fr;
  }
  h2.sec {
    font-size: 36px;
  }
  .cta-final h2 {
    font-size: 36px;
  }
  .cta-single {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 40px 32px;
  }
  .cta-note {
    flex-direction: column;
    gap: 8px;
  }
  .faq-section {
    padding: 88px 24px;
  }
  .faq-head {
    margin-bottom: 48px;
  }
  .faq-head h2 {
    font-size: 32px;
  }
  .faq-item summary {
    font-size: 16px;
    padding: 22px 40px 22px 4px;
    gap: 14px;
  }
  .faq-item summary::after {
    right: 6px;
    width: 11px;
    height: 11px;
  }
  .faq-answer {
    padding: 0 4px 26px 34px;
    font-size: 14px;
    gap: 14px;
  }
  .faq-answer::before {
    margin-left: -30px;
    font-size: 20px;
  }
  /* モバイルナビ — ハンバーガー開閉式パネル */
  .nav-inner {
    padding: 14px 16px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta {
    margin-left: auto; /* .nav-links がパネル化するため右寄せをCTAが引き継ぐ */
    padding: 10px 18px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 24px 12px;
    background: rgba(10, 25, 48, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(74, 148, 217, 0.18);
  }
  nav.nav-open .nav-links {
    display: flex;
  }
  .nav-links a {
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .logo-wordmark {
    font-size: 26px;
  }
}

/* prefers-reduced-motion — README必須要件（アニメーション抑制） */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
