/* ===== Brand Colors (定義は ../ブランドガイドライン.md を参照) ===== */
:root {
  /* Primary */
  --brand-blue: #0095D9;
  --brand-blue-dark: #006FA8;
  --navy: #14296B;
  --navy-darker: #0A1845;

  /* Secondary */
  --sky-blue: #7DC8E5;
  --sky-blue-light: #B8DDF0;

  /* Accent (CTA) */
  --brand-green: #5BB249;
  --brand-green-dark: #2E7D32;
  --brand-green-light: #A8D26A;

  /* Highlight */
  --accent-yellow: #FFE082;

  /* Neutrals */
  --white: #FFFFFF;
  --bg-soft: #F0F7FB;
  --border: #DFE7EE;
  --text-dark: #1A2030;
  --text-body: #2C3441;
  --text-gray: #5A6477;
  --text-muted: #8C95A4;
  --shadow: 0 4px 16px rgba(20, 41, 107, 0.08);

  /* Backward compatibility (旧変数名→新変数の別名) */
  --brown: var(--text-body);
  --brown-light: var(--text-gray);
  --navy-dark: var(--navy-darker);
  --orange: var(--brand-green);
  --orange-dark: var(--brand-green-dark);
  --beige: var(--bg-soft);
  --beige-dark: var(--border);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--beige-dark);
  z-index: 100;
}
.header-inner {
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.logo img { display: block; width: auto; }
.logo .logo-icon { height: 48px; }
.logo .logo-wordmark { height: 30px; }
@media (max-width: 768px) {
  .logo { gap: 6px; }
  .logo .logo-icon { height: 42px; }
  .logo .logo-wordmark { height: 26px; }
}
.login-link {
  font-size: 14px;
  color: var(--text-gray);
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid var(--beige-dark);
  border-radius: 6px;
  transition: all .2s;
}
.login-link:hover { background: var(--beige); }

/* ===== Common ===== */
section { padding: 80px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}
.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 56px;
}
.divider {
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 0 auto 32px;
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--brand-green);
  color: var(--white);
  padding: 18px 56px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(91, 178, 73, 0.4);
  transition: all .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--brand-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(91, 178, 73, 0.5);
}
.btn-secondary {
  display: inline-block;
  color: var(--brand-blue);
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 12px;
}
.btn-secondary:hover { text-decoration: underline; }

/* ===== Image Placeholder ===== */
.img-placeholder {
  background: linear-gradient(135deg, var(--sky-blue-light) 0%, #DDF0FA 100%);
  border: 2px dashed var(--brand-blue);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  line-height: 1.5;
}
.img-placeholder .img-id {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.img-placeholder .img-desc {
  color: var(--text-gray);
  margin-bottom: 4px;
}
.img-placeholder .img-size {
  font-size: 11px;
  color: var(--text-gray);
  margin-top: 12px;
  opacity: 0.7;
}

/* ===== Section 1: Hero ===== */
.hero {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--sky-blue-light) 100%);
  padding: 100px 20px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-h1 .highlight { color: var(--brand-blue); }
.hero-sub {
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-cta-note {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 16px;
}
.hero .img-placeholder { min-height: 360px; }
.hero-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(20, 41, 107, 0.15);
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Section 2: Empathy ===== */
.empathy { background: var(--white); }
.empathy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.empathy-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.empathy-card {
  background: var(--beige);
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--orange);
}
.empathy-card .num {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: 700;
  margin-right: 12px;
  font-size: 14px;
}
.empathy-card .strong {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: block;
}
.empathy-bridge {
  background: var(--navy);
  color: var(--white);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  margin-top: 48px;
  font-size: 17px;
  line-height: 1.8;
}
.empathy .img-placeholder { min-height: 480px; }

/* ===== Section 3: Product 30sec ===== */
.product { background: var(--beige); }
.product-content { text-align: center; }
.product-text {
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 2;
}
.feature-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.feature-badge {
  background: var(--white);
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}
.product .img-placeholder { min-height: 400px; max-width: 800px; margin: 0 auto; }

/* ===== Section 4: Core Features ===== */
.features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .img-placeholder {
  min-height: 200px;
  margin-bottom: 24px;
}
.feature-card .feature-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 10px;
  margin-bottom: 24px;
  border: 1px solid var(--beige-dark);
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-card h3::before {
  content: "■";
  color: var(--orange);
}
.feature-card .desc {
  font-size: 15px;
  margin-bottom: 16px;
}
.feature-card .impact {
  background: var(--beige);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
}

/* ===== Section 5: Flow ===== */
.flow { background: var(--beige); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.flow-step {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}
.flow-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--orange);
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 20px;
}
.flow-step h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 14px;
  color: var(--text-gray);
}
.flow-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-gray);
}

/* ===== Section 6: Pricing ===== */
.pricing { background: var(--white); }
.price-warning {
  background: #FFF3CD;
  border: 1px solid #FFE69C;
  color: #856404;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 32px;
}
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 32px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-table th, .pricing-table td {
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid var(--beige-dark);
}
.pricing-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}
.pricing-table th.recommended {
  background: var(--orange);
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: #FCFCFC; }
.pricing-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
}
.price-amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
}
.recommended .price-amount { color: var(--orange); }
.pricing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.pricing-note {
  font-size: 13px;
  color: var(--text-gray);
  text-align: center;
  margin-top: 24px;
  line-height: 1.7;
}

/* ===== Section 7: Story ===== */
.story { background: var(--navy); color: var(--white); padding: 80px 20px; }
.story-grid {
  max-width: 760px;
  margin: 0 auto;
}
.story h2.section-title { text-align: center; }
.story-grid .divider { margin: 0 auto 32px; }
.story h2 { color: var(--white); }
.story .divider { margin: 0 auto 32px; }
.story p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 16px;
}
.story-quote {
  font-size: 20px;
  font-style: italic;
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  margin: 24px 0;
}
.story-layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 20px;
}
.story-layer {
  border-radius: 12px;
  padding: 22px 22px;
  border: 1px solid;
}
.story-layer--saas {
  background: rgba(125, 200, 229, 0.12);
  border-color: rgba(125, 200, 229, 0.45);
}
.story-layer--coach {
  background: rgba(91, 178, 73, 0.16);
  border-color: rgba(91, 178, 73, 0.55);
}
.story-layer .layer-tag {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--sky-blue);
}
.story-layer--coach .layer-tag { color: var(--brand-green-light); }
.story-layer .layer-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.story-layer .layer-desc {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.92;
}
@media (max-width: 768px) {
  .story-layers { grid-template-columns: 1fr; gap: 12px; margin: 20px 0; }
  .story-layer { padding: 18px; }
  .story-layer .layer-title { font-size: 16px; }
}
.story .img-placeholder {
  min-height: 400px;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}
.story .img-placeholder .img-id { color: var(--white); }

/* ===== Section: News（お知らせ）===== */
.news { background: var(--white); }
.news-list {
  max-width: 900px;
  margin: 32px auto 0;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
}
.news-item {
  display: grid;
  grid-template-columns: 140px 100px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.news-item:hover { background: var(--bg-soft); }
.news-date {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 600;
  font-feature-settings: "tnum";
}
.news-tag {
  display: inline-block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.news-tag--info {
  background: rgba(0, 149, 217, 0.12);
  color: var(--brand-blue-dark);
  border: 1px solid rgba(0, 149, 217, 0.3);
}
.news-tag--press {
  background: rgba(91, 178, 73, 0.12);
  color: var(--brand-green-dark);
  border: 1px solid rgba(91, 178, 73, 0.3);
}
.news-body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}
.news-body a {
  color: var(--brand-blue);
  text-decoration: none;
  margin-left: 6px;
  font-weight: 600;
}
.news-body a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .news-list { margin-top: 24px; }
  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 4px;
  }
  .news-date { font-size: 13px; }
  .news-tag { width: fit-content; padding: 3px 10px; font-size: 11px; }
  .news-body { font-size: 14px; }
}

/* ===== Section: Blog ===== */
.blog { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}
.blog-card .thumb {
  background-color: var(--beige);
  background-size: cover;
  background-position: center;
  height: 180px;
  position: relative;
  overflow: hidden;
}
.blog-card .body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card .date {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 8px;
}
.blog-card .title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .read-more {
  margin-top: auto;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
}
.blog-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.blog-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: all .2s;
  background: var(--white);
}
.blog-cta-btn:hover { background: var(--navy); color: var(--white); }
.blog-cta-btn.x-btn {
  border-color: #000;
  color: #000;
}
.blog-cta-btn.x-btn:hover { background: #000; color: var(--white); }
.x-logo {
  font-weight: 900;
  font-size: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* ===== Section 8: FAQ ===== */
.faq { background: var(--beige); }
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
}
.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.faq-q {
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.faq-q::before {
  content: "Q";
  background: var(--orange);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.faq-a {
  font-size: 15px;
  color: var(--text-dark);
  padding-left: 40px;
  line-height: 1.9;
}

/* ===== Section 9: Final CTA ===== */
.final-cta {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--sky-blue-light) 100%);
  color: var(--text-body);
  text-align: center;
  padding: 100px 20px;
}
.final-cta h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.4;
}
.final-cta p {
  font-size: 17px;
  margin-bottom: 40px;
  line-height: 1.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-body);
}
.final-cta .btn-primary {
  background: var(--brand-green);
  color: var(--white);
  padding: 22px 64px;
  font-size: 20px;
}
.final-cta .btn-primary:hover {
  background: var(--brand-green-dark);
  color: var(--white);
}

/* ===== Footer ===== */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 20px 40px;
  font-size: 14px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.footer-links a:hover { color: var(--orange); }
.footer-contact { margin-bottom: 16px; }
.copyright { font-size: 12px; opacity: 0.6; }

/* ===== Animations ===========================================================
   prefers-reduced-motion を尊重。OFF時は完全静止 (フォールバックも安全)。
   ============================================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* --- ヒーロー入場（ページロード時の段階表示） --- */
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  /* hero-h1 自体は静的表示（中の各行が個別アニメ） */
  .hero-h1 { animation: none; }
  .hero-h1 .hero-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
    animation: heroLineIn 1.1s cubic-bezier(.2,.7,.3,1) both;
  }
  @keyframes heroLineIn {
    0%   { opacity: 0; transform: translateY(40px); filter: blur(6px); }
    60%  { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  .hero-h1 .hero-line-1 { animation-delay: .15s; }
  .hero-h1 .hero-line-2 { animation-delay: .55s; }
  .hero-h1 .hero-line-3 { animation-delay: .95s; }

  /* 「データとロジック」にマーカー下線が一度だけ走る */
  .hero-h1 .highlight {
    background-image: linear-gradient(transparent 60%, rgba(0,149,217,0.22) 60%);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 100%;
    color: var(--brand-blue);
    animation: highlightUnderline 1.2s 1.7s ease-out forwards;
    will-change: background-size;
  }
  .hero-sub      { animation: heroFadeUp .9s .25s both cubic-bezier(.2,.7,.3,1); }
  .hero .btn-primary,
  .hero .btn-secondary,
  .hero .hero-cta-note { animation: heroFadeUp .9s .40s both cubic-bezier(.2,.7,.3,1); }
  .hero-img-wrap { animation: heroFadeUp 1.1s .35s both cubic-bezier(.2,.7,.3,1); }

  /* --- スクロール連動リビール --- */
  .reveal {
    opacity: 0;
    transition: opacity .75s ease-out, transform .75s cubic-bezier(.2,.7,.3,1);
    will-change: opacity, transform;
  }
  .reveal--up    { transform: translateY(28px); }
  .reveal--left  { transform: translateX(-30px); }
  .reveal--right { transform: translateX(30px); }
  .reveal--scale { transform: scale(.94); }
  .reveal.is-visible { opacity: 1; transform: none; }

  /* --- CTA の呼吸グロー --- */
  @keyframes ctaGlow {
    0%, 100% { box-shadow: 0 6px 20px rgba(91, 178, 73, 0.40); }
    50%      { box-shadow: 0 10px 32px rgba(91, 178, 73, 0.60); }
  }
  .hero .btn-primary,
  .final-cta .btn-primary {
    animation: ctaGlow 2.6s ease-in-out infinite;
  }
  .hero .btn-primary:hover,
  .final-cta .btn-primary:hover { animation-play-state: paused; }

  /* --- 料金プラン推奨列のさりげない注目（背景色を侵食しない方式） --- */
  @keyframes priceBeat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.04); }
  }
  .pricing-table td.recommended .price-amount {
    display: inline-block;
    animation: priceBeat 2.6s ease-in-out infinite;
    transform-origin: center;
  }
  @keyframes recommendedRing {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(91, 178, 73, 0.0); }
    50%      { box-shadow: inset 0 0 0 3px rgba(91, 178, 73, 0.35); }
  }
  .pricing-table th.recommended {
    position: relative;
    animation: recommendedRing 3.2s ease-in-out infinite;
  }

  /* --- ヘッダーをスクロール時に薄影 --- */
  header { transition: box-shadow .25s ease-out; }
  header.scrolled { box-shadow: 0 2px 12px rgba(20, 41, 107, 0.08); }

  /* --- カードホバーをややリッチに --- */
  .feature-card { transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s; }
  .feature-card:hover { transform: translateY(-6px); box-shadow: 0 10px 32px rgba(20, 41, 107, 0.12); }

  .blog-card { transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s; }
  .blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(20, 41, 107, 0.10); }

  /* --- 数字バッジの微細な脈動 (ヒーローの中小企業診断士バッジ等) --- */
  @keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.03); }
  }
  /* 必要に応じて .badge-pulse クラスを付与して有効化 */
  .badge-pulse { animation: badgePulse 3s ease-in-out infinite; }

  /* --- ヒーロー背景に動くグラデーション --- */
  @keyframes heroGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
  }
  .hero {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--sky-blue-light) 50%, #E8F4FB 100%);
    background-size: 200% 200%;
    animation: heroGradientShift 16s ease-in-out infinite;
    position: relative;
    overflow: hidden;
  }

  /* --- ヒーロー周りの浮遊する装飾円 --- */
  .hero::before,
  .hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.35;
    z-index: 0;
  }
  .hero::before {
    width: 320px; height: 320px;
    top: -80px; left: -80px;
    background: radial-gradient(circle, rgba(0,149,217,0.18) 0%, transparent 70%);
    animation: floatA 14s ease-in-out infinite;
  }
  .hero::after {
    width: 260px; height: 260px;
    bottom: -60px; right: -60px;
    background: radial-gradient(circle, rgba(91,178,73,0.18) 0%, transparent 70%);
    animation: floatB 18s ease-in-out infinite;
  }
  @keyframes floatA {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(40px, 30px); }
  }
  @keyframes floatB {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-30px, -40px); }
  }
  .hero-inner { position: relative; z-index: 1; }

  /* --- ハイライト下線アニメ（hero-h1 .highlight 用） --- */
  @keyframes highlightUnderline {
    from { background-size: 0 100%; }
    to   { background-size: 100% 100%; }
  }

  /* --- 機能カード: ホバー時に画像がふわっと拡大 --- */
  .feature-card .feature-img,
  .feature-card .feature-img-grid img {
    transition: transform .35s cubic-bezier(.2,.7,.3,1);
  }
  .feature-card:hover .feature-img,
  .feature-card:hover .feature-img-grid img {
    transform: scale(1.03);
  }

  /* --- フローステップのスライド連動アニメ --- */
  @keyframes drawLine {
    from { width: 0; }
    to   { width: 100%; }
  }
  .flow-steps { position: relative; }
  .flow-steps::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 8%;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
    z-index: 0;
  }
  .flow-steps.is-visible::before {
    animation: drawLine 1.5s .3s ease-out forwards;
    width: 84%;
  }
  @media (max-width: 768px) {
    .flow-steps::before { display: none; }
  }

  /* --- お知らせの行ホバー時のスライドインジケータ --- */
  .news-item {
    position: relative;
    transition: background .15s, padding-left .25s;
  }
  .news-item:hover {
    padding-left: 16px;
  }
  .news-item::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px; height: 60%;
    background: var(--brand-blue);
    border-radius: 2px;
    transition: transform .25s cubic-bezier(.2,.7,.3,1);
  }
  .news-item:hover::before { transform: translateY(-50%) scaleY(1); }

  /* --- ブログカードのサムネイル拡大 --- */
  .blog-card .thumb { transition: transform .4s cubic-bezier(.2,.7,.3,1); }
  .blog-card:hover .thumb { transform: scale(1.06); }

  /* --- リンク類のスムーズな下線 --- */
  .news-body a, .footer-links a, footer a {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size .25s ease-out;
  }
  .news-body a:hover, .footer-links a:hover, footer a:hover {
    background-size: 100% 1px;
    text-decoration: none;
  }

  /* --- スクロール進行度バー（ページ上部） --- */
  body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: var(--scroll-progress, 0%);
    height: 3px;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
    z-index: 999;
    transition: width .05s linear;
    pointer-events: none;
  }

  /* --- FAQ アイテムのホバー強調 --- */
  .faq-item {
    transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s;
  }
  .faq-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(20, 41, 107, 0.08);
  }

  /* --- 共感カード: 番号バッジが回転 --- */
  .empathy-card .num {
    transition: transform .35s cubic-bezier(.2,.7,.3,1);
  }
  .empathy-card:hover .num {
    transform: rotate(360deg) scale(1.1);
  }

  /* --- ヒーローバッジ自動脈動 --- */
  .hero-sub > span:last-child {
    animation: badgePulse 3.5s ease-in-out infinite;
    display: inline-block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-h1, .hero-sub, .btn-primary, .btn-secondary,
  .hero-cta-note, .hero-img-wrap { animation: none !important; }
}

/* ===== Pricing table wrapper (allow horizontal scroll on mobile) ===== */
.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pricing-table-wrap .pricing-table { min-width: 640px; }

/* ===== Responsive ========================================================
   Breakpoints:
   - Tablet  : ≤ 1024px
   - Mobile  : ≤  768px
   - Small   : ≤  480px
   ======================================================================== */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .hero { padding: 70px 20px; }
  .hero-h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  section { padding: 70px 20px; }
  .section-title { font-size: 28px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  body { line-height: 1.7; }
  header { position: relative; }
  .header-inner { padding: 12px 16px; }
  .logo { font-size: 18px; }
  .login-link { font-size: 13px; padding: 6px 12px; }

  section { padding: 56px 20px; }
  .section-title { font-size: 22px; line-height: 1.4; }
  .section-subtitle { font-size: 14px; }

  .hero { padding: 48px 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-h1 { font-size: 28px; line-height: 1.4; }
  .hero-sub { font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
  .hero-img-wrap { order: -1; }

  .btn-primary { display: block; width: 100%; padding: 16px 24px; font-size: 17px; text-align: center; }
  .btn-secondary { display: block; width: 100%; text-align: center; padding: 12px; }

  .empathy-grid { grid-template-columns: 1fr; gap: 28px; }
  .empathy-bridge { font-size: 16px; }

  .feature-card { padding: 24px; }
  .feature-card .feature-img { height: 180px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }

  .flow-steps { grid-template-columns: 1fr; gap: 24px; }

  .pricing-table { font-size: 13px; }
  .pricing-table th, .pricing-table td { padding: 12px 10px; }
  .price-amount { font-size: 18px; }

  .story { padding: 56px 20px; }
  .story-grid { max-width: 100%; }

  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-card .thumb { height: 200px; }

  .faq-item { padding: 20px; }
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 14px; }

  .final-cta { padding: 60px 20px; }
  .final-cta h2 { font-size: 26px; line-height: 1.4; }
  .final-cta p { font-size: 15px; }
  .final-cta .btn-primary { padding: 18px 24px; font-size: 17px; }

  footer { padding: 40px 20px 60px; }
  .footer-links { gap: 16px 20px; font-size: 13px; }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  section { padding: 44px 16px; }
  .hero { padding: 36px 16px; }
  .hero-h1 { font-size: 24px; }
  .hero-sub { font-size: 14px; }
  .section-title { font-size: 20px; }

  .feature-card { padding: 20px; }
  .feature-card .feature-img { height: 160px; }

  .pricing-cta { gap: 12px; }
  .pricing-cta .btn-primary,
  .pricing-cta .btn-secondary { font-size: 15px; }

  .final-cta h2 { font-size: 22px; }
  .final-cta p { font-size: 14px; }

  .footer-links { flex-direction: column; align-items: center; gap: 10px; }
}
