/* CSS Variables - React globals.css と同じカラー */
:root {
  /* oklch から RGB に変換した近似値 */
  --background: #faf8f5;
  --foreground: #2d2925;
  --card: #ffffff;
  --card-foreground: #2d2925;
  --primary: #e07050;
  --primary-foreground: #ffffff;
  --secondary: #f5f2ee;
  --secondary-foreground: #2d2925;
  --muted: #f0ede8;
  --muted-foreground: #7a7570;
  --accent: #e07050;
  --accent-foreground: #ffffff;
  --border: #e8e5e0;
  --input: #ebe8e3;
  --ring: #e07050;
  --radius: 0.75rem;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page wrapper */
.page {
  min-height: 100vh;
}

/* ===== Sticky/Reveal Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.site-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.header-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 14px 3rem;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    padding: 14px 4rem;
  }
}

/* Header logo style (match PrepWORK site) */
.site-header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 16px;
}

.header-nav .nav-link {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.header-nav .nav-link:hover {
  color: rgba(0, 0, 0, 0.9);
}

/* ヘッダー分の被り防止（任意） */
body.has-reveal-header {
  /* 必要に応じてpadding-top: 56px; */
}

/* ========== Container（幅拡大） ========== */
.container {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 4rem;
  }
}

/* ========== Prose（本文の読み幅制御） ========== */
.prose {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

/* svh対応ブラウザでは100svhを優先（モバイルアドレスバー問題対策） */
@supports (min-height: 100svh) {
  .hero {
    min-height: 100svh;
  }
}

/* Hero背景画像 */
.hero--bg {
  background-image: url(../img/hero.png);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Hero暗めオーバーレイ */
.hero--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Hero内コンテンツをオーバーレイの上に */
.hero--bg > * {
  position: relative;
  z-index: 2;
}

/* テキストカラー調整（背景画像時） */
.hero--bg .hero-badge,
.hero--bg .hero-title,
.hero--bg .hero-subtitle {
  color: #ffffff;
}

.hero--bg .info-link {
  color: rgba(255, 255, 255, 0.9);
}

.hero--bg .scroll-indicator {
  color: rgba(255, 255, 255, 0.8);
}

.hero--bg .scroll-indicator:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero {
    padding: 4rem 3rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 4rem 6rem;
    /* PC専用：Hero下部に余白を追加してSection1が覗かないようにする */
    padding-bottom: clamp(64px, 10vh, 160px);
  }
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

/* ========== Hero専用「ふわっと」intro ========== */
html.js .hero-content[data-hero-intro] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

html.js .hero-content[data-hero-intro].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Hero CTAs も同期してふわっと（hero-contentと連動） */
html.js .hero-content[data-hero-intro] ~ .hero-ctas {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 200ms;
}

html.js .hero-content[data-hero-intro].is-visible ~ .hero-ctas {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-badge {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

/* ========== Hero CTAs ========== */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 4vh, 56px);
  width: 100%;
  max-width: 420px;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    gap: 16px;
  }
}

/* ========== Button Base ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary Button */
.btn-primary {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--foreground);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

/* Secondary Button */
.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* SP: ボタン幅100% */
@media (max-width: 639px) {
  .hero-ctas .btn {
    width: 100%;
  }
}

/* ========== Scroll Indicator ========== */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.scroll-indicator:hover {
  color: var(--foreground);
}

.scroll-text {
  font-size: 0.75rem;
}

.scroll-icon {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* ========== Info Link ========== */
.info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: opacity 0.2s ease;
}

.info-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.info-link svg {
  flex-shrink: 0;
}

/* ========== Content Sections ========== */
.content-section {
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .content-section {
    padding: 6rem 3rem;
  }
}

@media (min-width: 1024px) {
  .content-section {
    padding: 6rem 6rem;
  }
}

.content-section--card {
  background-color: var(--card);
}

/* ========== Section1 動画背景 ========== */
.content-section--video {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .content-section--video {
    min-height: 80vh;
  }
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.55) 30%,
    rgba(0, 0, 0, 0.55) 70%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

.content-section--video .container {
  position: relative;
  z-index: 2;
}

/* ========================================
   STORY ANIMATION - Section1 ストーリースタイル
   ProblemSection風のアニメーション
   ======================================== */

.story-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px;
}

@media (min-width: 768px) {
  .story-content {
    padding: 112px 24px;
  }
}

.story-header {
  text-align: center;
}

/* ========== Story Title - ふわっと出現 ========== */
.story-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
  transition-delay: 200ms;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .story-title {
    font-size: 2rem;
  }
}

.story-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Story Underline - スーッと伸びる ========== */
.story-underline {
  width: 280px;
  max-width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  margin: 40px auto 0;
  transform: scaleX(0);
  transition: transform 600ms ease-out;
}

.story-underline.visible {
  transform: scaleX(1);
}

/* ========== Story Subtitle - ふわっと出現 ========== */
.story-subtitle {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

@media (min-width: 768px) {
  .story-subtitle {
    font-size: 1.125rem;
    margin-top: 40px;
  }
}

.story-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Story Lines Container ========== */
.story-lines {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .story-lines {
    margin-top: 48px;
    gap: 16px;
  }
}

/* ========== Story Line - 各行の順次出現 ========== */
.story-line {
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

@media (min-width: 768px) {
  .story-line {
    font-size: 1.0625rem;
  }
}

/* CSS で順次delay */
.story-line:nth-child(1) { transition-delay: 0ms; }
.story-line:nth-child(2) { transition-delay: 120ms; }
.story-line:nth-child(3) { transition-delay: 240ms; }
.story-line:nth-child(4) { transition-delay: 360ms; }
.story-line:nth-child(5) { transition-delay: 480ms; }
.story-line:nth-child(6) { transition-delay: 600ms; }
.story-line:nth-child(7) { transition-delay: 720ms; }
.story-line:nth-child(8) { transition-delay: 840ms; }

.story-line.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Story Link ========== */
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease-out, transform 600ms ease-out, color 200ms ease;
}

.story-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .story-link {
    margin-top: 48px;
  }
}

.story-link.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Story link wrapper for centering */
.story-content .story-link {
  width: 100%;
  text-align: center;
}

/* ========== 以下、既存セクションのスタイル ========== */

/* 動画背景時のテキストカラー（非Story部分用） */
.content-section--video .section-title,
.content-section--video .section-subtitle,
.content-section--video .section-body,
.content-section--video .section-body p {
  color: #ffffff;
}

.content-section--video .info-link {
  color: rgba(255, 255, 255, 0.9);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--foreground);
  line-height: 1.6;
  text-align: left;
}

/* Content Section の中央揃え（見出し・リンク） */
.content-section .container {
  text-align: center;
}

.section-body p {
  margin: 0;
}

.section-body--bold {
  font-weight: 500;
}

.section-body + .info-link {
  margin-top: 1.5rem;
}

.section-cta {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 2rem;
}

/* ========== Accordions Section ========== */
.accordions-section {
  padding: 4rem 1.5rem;
  scroll-margin-top: 2rem;
  text-align: left;
}

@media (min-width: 768px) {
  .accordions-section {
    padding: 6rem 3rem;
  }
}

@media (min-width: 1024px) {
  .accordions-section {
    padding: 6rem 6rem;
  }
}

.accordions-section .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ========== Accordion Card ========== */
.accordion-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
  overflow: hidden;
}

.accordion-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.accordion-header-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.accordion-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.accordion-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .accordion-title {
    font-size: 1.125rem;
  }
}

.accordion-icon {
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}

.accordion-card[data-open="true"] .accordion-icon {
  transform: rotate(180deg);
}

/* Accordion Content */
.accordion-content {
  overflow: hidden;
}

.accordion-content[hidden] {
  display: none;
}

.accordion-inner {
  padding: 0 1.5rem 1.5rem;
}

/* ========== Accordion Inner Content ========== */
.accordion-section {
  margin-bottom: 2rem;
}

.accordion-section:last-child {
  margin-bottom: 0;
}

.accordion-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.accordion-text {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.6;
}

/* Bullet List */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.bullet {
  color: var(--primary);
  margin-top: 0.25rem;
}

/* Highlight Box */
.highlight-box {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.75rem;
}

/* Grid 2 columns */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.grid-item {
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
  text-align: center;
}

/* Numbered List */
.numbered-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.numbered-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.number {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: rgba(224, 112, 80, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* Step List */
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.step-number {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: rgba(224, 112, 80, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-label {
  font-weight: 500;
  color: var(--foreground);
}

.step-desc {
  color: var(--muted-foreground);
}

/* CTA Box */
.cta-box {
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  padding: 1.5rem;
  margin-top: 2rem;
}

.cta-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  text-decoration: none;
  transition: opacity 0.2s ease;
  margin-bottom: 0.75rem;
}

.cta-button:hover {
  opacity: 0.9;
}

.cta-link {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
}

.cta-link:hover {
  text-decoration: underline;
}

.cta-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.75rem;
}

/* ========== Footer ========== */
.footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer {
    padding: 2rem 3rem;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 2rem 6rem;
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
  }
}

.footer-inner a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: var(--foreground);
}

/* ========== Modal ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  margin: 1rem;
}

.modal-content {
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  transform: translateY(16px);
  transition: transform 0.3s ease;
}

.modal[aria-hidden="false"] .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  padding-right: 2.5rem;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.modal-body {
  color: var(--foreground);
}

.modal-body > p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.modal-section {
  margin: 1.5rem 0;
}

.modal-section h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.modal-section p {
  line-height: 1.7;
}

.modal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-section ul li {
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.modal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

.modal-figure {
  margin: 1.5rem 0;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
}

.modal-figure figcaption {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.5rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
}

.feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card);
  border-radius: 50%;
  color: var(--primary);
}

.feature-content h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  /* Hero intro も即座に表示 */
  .hero-content[data-hero-intro],
  html.js .hero-content[data-hero-intro],
  html.js .hero-content[data-hero-intro] ~ .hero-ctas {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Story elements 即座に表示 */
  .story-title,
  .story-underline,
  .story-subtitle,
  .story-line,
  .story-link {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .scroll-icon {
    animation: none;
  }
  
  html {
    scroll-behavior: auto;
  }
}


/* ========================================
   Section 3: Benefits ブロック
   メリット01/02の帯＋画像＋説明スタイル
   ======================================== */

/* Benefits コンテナ */
.benefits {
  display: grid;
  gap: 24px;
  margin-top: 18px;
  text-align: left;
  overflow: hidden; /* はみ出し防止 */
}

/* 各 Benefit ブロック */
.benefit {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  min-width: 0; /* Grid子要素のはみ出し防止 */
}

/* 帯（ヘッダー部分） */
.benefit-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 20px;
  background-color: var(--muted);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.benefit-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background-color: rgba(224, 112, 80, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 768px) {
  .benefit-title {
    font-size: 1.125rem;
  }
}

/* ボディ部分（画像＋テキスト） */
.benefit-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  min-width: 0; /* Grid子要素のはみ出し防止 */
}

@media (min-width: 768px) {
  .benefit-body {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 24px;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .benefit-body {
    gap: 36px;
    padding: 28px 32px;
  }
}

/* 画像エリア（額縁スタイル） */
.benefit-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* 親幅を超えない */
  height: 200px;
  background-color: #f7f6f4;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .benefit-media {
    height: 260px;
  }
}

@media (min-width: 1024px) {
  .benefit-media {
    height: 280px;
  }
}

.benefit-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* テキストエリア */
.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-text.prose {
  max-width: none;
  margin: 0;
}

.benefit-text p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--foreground);
  margin: 0;
}

@media (min-width: 768px) {
  .benefit-text p {
    font-size: 1rem;
  }
}

/* ========================================
   アコーディオン1: 第一歩 専用スタイル
   ======================================== */

/* リード文 */
.accordion-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--foreground);
  margin: 0;
}

.accordion-lead strong {
  color: var(--primary);
  font-weight: 600;
}

/* アコーディオン内の図解画像 */
.accordion-figure {
  margin: 0;
}

.accordion-steps-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  object-fit: contain;
}

/* 大きめのステップリスト */
.step-list--large li {
  padding: 0.5rem 0;
}

.step-list--large .step-label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.step-list--large .step-desc {
  display: block;
  font-size: 0.8125rem;
  margin-top: 2px;
}

/* 2カラム画像グリッド */
.accordion-images-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .accordion-images-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* 画像カード */
.accordion-image-card {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.accordion-image-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  aspect-ratio: 16 / 10;
  background-color: #f7f6f4;
}

.accordion-image-card figcaption {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.625rem;
  font-weight: 500;
}

/* ========================================
   アコーディオンA 追加スタイル
   (2)(3)(4)セクション用レイアウト
   ======================================== */

/* 結論文（セクション末尾のまとめ文） */
.accordion-conclusion {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.6;
  padding: 0.75rem 1rem;
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  border-left: 3px solid var(--primary);
}

/* セクション区切り（既存コンテンツとの境界） */
.accordion-section--divider {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ========================================
   (2) 2カラムレイアウト（画像＋テキスト）
   ======================================== */
.ws-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .ws-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }
}

/* 逆順（テキスト左・画像右）→ モバイルでは画像が先 */
.ws-two-col--reverse {
  direction: ltr;
}

@media (min-width: 768px) {
  .ws-two-col--reverse .ws-two-col__text {
    order: 1;
  }
  .ws-two-col--reverse .ws-two-col__media {
    order: 2;
  }
}

.ws-two-col__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7f6f4;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}

.ws-two-col__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-two-col__text .bullet-list li {
  margin-bottom: 0.5rem;
}

.ws-two-col__text .bullet-list li:last-child {
  margin-bottom: 0;
}

/* ========================================
   (3) 3カラムカードグリッド
   ======================================== */
.ws-three-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .ws-three-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ws-three-col {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.ws-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.ws-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ws-card__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(224, 112, 80, 0.1);
  border-radius: 50%;
  color: var(--primary);
}

.ws-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}

.ws-card__desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0;
}

/* ========================================
   (4) 2カラム比較（企業側/候補者側）
   ======================================== */
.ws-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .ws-compare {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.ws-compare__col {
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  padding: 1.25rem;
}

.ws-compare__heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.ws-compare__col .bullet-list {
  gap: 0.625rem;
}

.ws-compare__col .bullet-list li {
  font-size: 0.8125rem;
}

/* ========================================
   A-2: ミニ課題プロジェクト例
   ======================================== */
.ws-project-examples {
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  padding: 1.25rem;
}

.ws-project-examples__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.ws-card--example {
  text-align: left;
}

.ws-card--example .ws-card__icon {
  display: none;
}

.ws-card__category {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary);
  background-color: rgba(224, 112, 80, 0.1);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin: 0 0 0.5rem;
  letter-spacing: 0.04em;
}

/* ========================================
   A-3: 4カラムグリッド（成果物）
   ======================================== */
.ws-four-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .ws-four-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ws-four-col {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.ws-card--deliverable {
  padding: 1rem;
}

.ws-card--deliverable .ws-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
}

.ws-card--deliverable .ws-card__icon svg {
  width: 20px;
  height: 20px;
}

.ws-card--deliverable .ws-card__title {
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.ws-card--deliverable .ws-card__desc {
  font-size: 0.75rem;
}

/* ========================================
   A-4: 30分の約束セクション
   ======================================== */
.ws-promise {
  background-color: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  padding: 1.25rem;
}

.ws-promise__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.ws-promise__note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ========================================
   Section 3 Apple Style - 入口バンド
   ======================================== */

.section-3-apple {
  padding: 72px 1.5rem;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .section-3-apple {
    padding: 88px 3rem;
  }
}

@media (min-width: 1024px) {
  .section-3-apple {
    padding: 96px 4rem;
  }
}

.s3a-container {
  max-width: 76rem;
  margin: 0 auto;
}

/* バンド（カード風） */
.s3a-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  background-color: var(--card);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .s3a-band {
    padding: 40px 40px;
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .s3a-band {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding: 56px 56px;
    align-items: center;
  }
}

/* 画像エリア */
.s3a-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f8f6;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.s3a-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* コンテンツエリア */
.s3a-content {
  display: flex;
  flex-direction: column;
}

/* タイトル */
.s3a-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.35;
  margin: 0 0 12px;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .s3a-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .s3a-title {
    font-size: 2rem;
  }
}

/* サブタイトル */
.s3a-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0 0 24px;
}

@media (min-width: 768px) {
  .s3a-subtitle {
    font-size: 1.0625rem;
    margin-bottom: 28px;
  }
}

/* 本文 */
.s3a-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.s3a-body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--foreground);
  margin: 0;
}

@media (min-width: 768px) {
  .s3a-body {
    gap: 18px;
    margin-bottom: 28px;
  }
  
  .s3a-body p {
    font-size: 1rem;
  }
}

/* リード文（CTA前のガイド文） */
.s3a-lead {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .s3a-lead {
    font-size: 0.9375rem;
    margin-bottom: 24px;
    padding-top: 20px;
  }
}

/* CTAボタンエリア */
.s3a-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .s3a-actions {
    flex-direction: row;
    gap: 16px;
  }
}

/* ボタン共通 */
.s3a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.s3a-btn:hover {
  transform: translateY(-2px);
}

.s3a-btn:active {
  transform: translateY(0);
}

/* Primary ボタン */
.s3a-btn--primary {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(224, 112, 80, 0.25);
}

.s3a-btn--primary:hover {
  background-color: #d4644a;
  box-shadow: 0 4px 16px rgba(224, 112, 80, 0.35);
}

/* Secondary ボタン */
.s3a-btn--secondary {
  background-color: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
}

.s3a-btn--secondary:hover {
  background-color: var(--muted);
  border-color: #d0cdc8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 非表示の詳細コンテンツ（SEO保持用） */
.s3a-details[hidden] {
  display: none;
}

/* =====================================================
   MAJOR ACCORDION STYLES (旧版デザイン完全踏襲)
   ===================================================== */

/* CSS Variables compatibility */
:root {
  --bg-section-gray: #f5f5f7;
  --bg-section-white: #ffffff;
  --fg-primary: #1a1a1a;
  --fg-muted: #666666;
  --accent-coral: #e8846a;
  --accent-light-coral: #f28b7d;
  --border-color: #e0e0e0;
  --bg-card: #ffffff;
  --bg-muted: #f5f5f7;
  --primary-fg: #ffffff;
}

.major-accordion-wrapper {
  padding: 0 1.5rem;
  background-color: var(--bg-section-gray);
}

@media (min-width: 768px) {
  .major-accordion-wrapper {
    padding: 0 0rem;
  }
}

.major-accordion-container {
  margin: 0 auto;
}

/* Major Accordion Item */
.major-accordion {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .major-accordion {
    margin-bottom: 2rem;
    border-radius: 0px;
  }
}

/* Major Accordion Header */
.major-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
  scroll-margin-top: 5rem;
}

@media (min-width: 768px) {
  .major-accordion-header {
    padding: 2rem 2.5rem;
    scroll-margin-top: 6rem;
  }
}

.major-accordion-header:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.major-accordion-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.major-accordion-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-coral);
  background-color: rgba(232, 132, 106, 0.1);
  border: 1px solid rgba(232, 132, 106, 0.25);
  border-radius: 100px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.major-accordion-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin: 0;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .major-accordion-title {
    font-size: 1.375rem;
  }
}

.major-accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.3s ease;
}

.major-accordion-icon svg {
  width: 20px;
  height: 20px;
  color: var(--fg-muted);
  transition: transform 0.3s ease;
}

.major-accordion.active .major-accordion-icon {
  background-color: rgba(232, 132, 106, 0.15);
}

.major-accordion.active .major-accordion-icon svg {
  transform: rotate(180deg);
  color: var(--accent-coral);
}

/* Major Accordion Content - Base State (collapsed) */
.major-accordion-content {
  position: relative;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

/* =====================================================
   PEEK STATE - Natural preview with 2-line intro only
   のりしろ全体がクリック可能、自然な見た目
   ===================================================== */
.major-accordion.peek .major-accordion-content {
  max-height: 90px;
  overflow: hidden;
  cursor: pointer;
  transition: max-height 0.4s ease-out, background-color 0.2s ease;
}

@media (min-width: 768px) {
  .major-accordion.peek .major-accordion-content {
    max-height: 100px;
  }
}

/* Peek content hover effect - subtle indication of clickability */
.major-accordion.peek .major-accordion-content:hover {
  background-color: rgba(0, 0, 0, 0.015);
}

/* Peek state: hide everything except .major-accordion-intro */
.major-accordion.peek .major-accordion-body > *:not(.major-accordion-intro) {
  display: none;
}

/* "続きを読む" chip in peek state - small and subtle */
.major-accordion.peek .major-accordion-content::after {
  content: "続きを読む";
  position: absolute;
  right: 1.5rem;
  bottom: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--fg-muted);
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  pointer-events: none;
  z-index: 10;
  letter-spacing: 0.01em;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .major-accordion.peek .major-accordion-content::after {
    right: 2rem;
    bottom: 0.75rem;
    font-size: 0.75rem;
  }
}

/* Hover state shows arrow */
.major-accordion.peek:hover .major-accordion-content::after {
  content: "続きを読む →";
  color: var(--accent-coral);
  opacity: 1;
}

/* ACTIVE STATE: Full expansion */
.major-accordion.active .major-accordion-content {
  max-height: 10000px; /* Large enough to fit content */
  transition: max-height 0.6s ease-in;
}

/* Remove "続きを読む" chip when active */
.major-accordion.active .major-accordion-content::after {
  display: none;
}

/* Restore visibility of all children when active */
.major-accordion.active .major-accordion-body > * {
  display: revert;
}

/* Peek state icon styling - subtle indication */
.major-accordion.peek .major-accordion-icon {
  background-color: rgba(0, 0, 0, 0.03);
}

.major-accordion.peek .major-accordion-icon svg {
  color: var(--fg-muted);
}

/* Peek hover: icon becomes more prominent */
.major-accordion.peek:hover .major-accordion-icon {
  background-color: rgba(232, 132, 106, 0.08);
}

.major-accordion.peek:hover .major-accordion-icon svg {
  color: var(--accent-coral);
}

.major-accordion-body {
  padding: 0 1.75rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .major-accordion-body {
    padding: 0 2.5rem 2.5rem;
  }
}

/* Peek state: reduce bottom padding and make body clickable */
.major-accordion.peek .major-accordion-body {
  padding-bottom: 1rem;
  border-top: none;
}

@media (min-width: 768px) {
  .major-accordion.peek .major-accordion-body {
    padding-bottom: 1.25rem;
  }
}

/* Intro text inside accordion */
.major-accordion-intro {
  padding-top: 2rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--fg-muted);
  max-width: 800px;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .major-accordion-intro {
    font-size: 1rem;
    padding-top: 2.5rem;
  }
}

/* Peek state: intro - 2 lines clamped, natural appearance */
.major-accordion.peek .major-accordion-intro {
  padding-top: 0.75rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
  color: var(--fg-primary);
  opacity: 1;
}

@media (min-width: 768px) {
  .major-accordion.peek .major-accordion-intro {
    padding-top: 1rem;
    line-height: 1.75;
  }
}

/* Active state: restore intro to normal */
.major-accordion.active .major-accordion-intro {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* ========================================
   HUMAN CAPITAL SECTION (Inside Accordion)
   ======================================== */
.hc-section {
  --hc-accent: var(--accent-coral, #e8846a);
  --hc-accent-light: var(--accent-light-coral, #f28b7d);
  --hc-bg-gray: var(--bg-section-gray, #f5f5f7);
  --hc-bg-white: var(--bg-section-white, #ffffff);
  --hc-fg: var(--fg-primary, #1a1a1a);
  --hc-fg-muted: var(--fg-muted, #666666);
  --hc-border: var(--border-color, #e0e0e0);
  --hc-radius: var(--radius, 0.5rem);
}

/* Reset padding when inside accordion */
.major-accordion-body .ws-section,
.major-accordion-body .hc-section {
  padding: 0;
}

.major-accordion-body .ws-section > div,
.major-accordion-body .hc-section > div {
  padding-top: 3rem;
}

.major-accordion-body .ws-section > div:first-child,
.major-accordion-body .hc-section > div:first-child {
  padding-top: 0;
}

/* Visibility for reveal animations inside accordion */
.major-accordion.active .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.major-accordion.active .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Join section inside accordion */
.accordion-join-section {
  margin-top: 3rem;
  padding-top: 2rem;
}

.accordion-join-section .separator {
  display: block;
  height: 1px;
  background-color: var(--border-color);
  margin-bottom: 3rem;
}

.accordion-join-section .new-container {
  max-width: 1000px;
}

.accordion-join-section .new-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.5rem;
}

.accordion-join-section .join-cards {
  margin-top: 2rem;
}

.accordion-join-section .join-cta {
  margin-top: 2.5rem;
  padding-bottom: 1rem;
}

/* =====================================================
   HOWTO-SECTION VISIBILITY CONTROL
   Hide external howto sections until accordion is opened
   ===================================================== */
.howto-section {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body:not(.has-open-major) .howto-section {
  display: none;
}

body.has-open-major .howto-section {
  display: block;
}

/* =====================================================
   TRANSITION ENHANCEMENTS FOR SMOOTHER UX
   ===================================================== */
.major-accordion.peek .major-accordion-body {
  transition: padding 0.3s ease;
}

.major-accordion.active .major-accordion-body {
  transition: padding 0.3s ease;
}
.ws-section {
  --ws-accent: var(--accent-coral, #e8846a);
  --ws-accent-light: var(--accent-light-coral, #f28b7d);
  --ws-bg-gray: var(--bg-section-gray, #f5f5f7);
  --ws-bg-white: var(--bg-section-white, #ffffff);
  --ws-fg: var(--fg-primary, #1a1a1a);
  --ws-fg-muted: var(--fg-muted, #666666);
  --ws-border: var(--border-color, #e0e0e0);
  --ws-radius: var(--radius, 0.5rem);
}

.ws-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .ws-container {
    padding: 0 2rem;
  }
}

/* Common Elements */
.ws-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ws-accent);
  background-color: rgba(232, 132, 106, 0.1);
  border: 1px solid rgba(232, 132, 106, 0.25);
  border-radius: 100px;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.ws-h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ws-fg);
  margin: 0 0 1.25rem;
}

@media (min-width: 768px) {
  .ws-h3 {
    font-size: 1.625rem;
    margin-bottom: 1.5rem;
  }
}

.ws-section-title {
  text-align: center;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ws-fg);
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .ws-section-title {
    font-size: 1.75rem;
    margin-bottom: 3rem;
  }
}

/* ----------------------------------------
   A. Hero
   ---------------------------------------- */
.ws-hero {
  padding: 5rem 0;
  background-color: var(--ws-bg-white);
}

@media (min-width: 768px) {
  .ws-hero {
    padding: 7rem 0;
  }
}

.ws-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .ws-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.ws-hero__img img {
  width: 100%;
  height: auto;
  border-radius: var(--ws-radius);
  object-fit: cover;
}

.ws-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ws-fg);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .ws-hero__title {
    font-size: 2.25rem;
    line-height: 1.45;
  }
}

.ws-hero__lead {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ws-fg-muted);
  margin: 0;
}

@media (min-width: 768px) {
  .ws-hero__lead {
    font-size: 1rem;
    line-height: 1.9;
  }
}

/* ----------------------------------------
   B. Definition
   ---------------------------------------- */
.ws-definition {
  padding: 5rem 0;
  background-color: var(--ws-bg-gray);
}

@media (min-width: 768px) {
  .ws-definition {
    padding: 6rem 0;
  }
}

.ws-definition__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .ws-definition__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.ws-definition__img {
  order: -1;
}

@media (min-width: 768px) {
  .ws-definition__img {
    order: 0;
  }
}

.ws-definition__img img {
  width: 100%;
  height: auto;
  border-radius: var(--ws-radius);
  object-fit: cover;
}

.ws-quote {
  margin: 0;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 4px solid var(--ws-accent);
  background: transparent;
}

@media (min-width: 768px) {
  .ws-quote {
    padding: 1.5rem 0 1.5rem 1.5rem;
  }
}

.ws-quote p {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--ws-fg-muted);
  margin: 0;
}

@media (min-width: 768px) {
  .ws-quote p {
    font-size: 1rem;
    line-height: 1.95;
  }
}

/* ----------------------------------------
   C. Comparison
   ---------------------------------------- */
.ws-comparison {
  padding: 5rem 0;
  background-color: var(--ws-bg-white);
}

@media (min-width: 768px) {
  .ws-comparison {
    padding: 6rem 0;
  }
}

.ws-comparison__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .ws-comparison__grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
    align-items: stretch;
  }
}

.ws-comparison__col {
  padding: 1.75rem;
  background-color: var(--ws-bg-gray);
  border-radius: var(--ws-radius);
}

@media (min-width: 768px) {
  .ws-comparison__col {
    padding: 2rem;
  }
}

.ws-comparison__col--new {
  background-color: rgba(232, 132, 106, 0.06);
  border: 1px solid rgba(232, 132, 106, 0.2);
}

.ws-comparison__divider {
  display: none;
}

@media (min-width: 768px) {
  .ws-comparison__divider {
    display: block;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--ws-border), transparent);
    margin: 1rem 0;
  }
}

.ws-comparison__heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ws-fg-muted);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ws-border);
}

.ws-comparison__heading--accent {
  color: var(--ws-accent);
  border-bottom-color: rgba(232, 132, 106, 0.3);
}

.ws-comparison__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ws-comparison__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ws-fg);
}

.ws-comparison__list li:last-child {
  margin-bottom: 0;
}

.ws-comparison__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--ws-fg-muted);
  border-radius: 50%;
  opacity: 0.5;
}

.ws-comparison__col--new .ws-comparison__list li::before {
  background-color: var(--ws-accent);
  opacity: 0.8;
}

/* ----------------------------------------
   D. 4 Values
   ---------------------------------------- */
.ws-values {
  padding: 5rem 0;
  background-color: var(--ws-bg-gray);
}

@media (min-width: 768px) {
  .ws-values {
    padding: 6rem 0;
  }
}

.ws-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .ws-values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ws-values__grid {
    gap: 2rem;
  }
}

.ws-value-card {
  background-color: var(--ws-bg-white);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ws-value-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.ws-value-card__num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ws-accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.ws-value-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ws-fg);
  margin: 0 0 0.875rem;
}

.ws-value-card__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ws-fg-muted);
  margin: 0;
}

/* ----------------------------------------
   E. Challenge
   ---------------------------------------- */
.ws-challenge {
  padding: 5rem 0;
  background-color: var(--ws-bg-white);
}

@media (min-width: 768px) {
  .ws-challenge {
    padding: 6rem 0;
  }
}

.ws-challenge__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .ws-challenge__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.ws-challenge__text {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ws-fg-muted);
  margin: 0;
}

@media (min-width: 768px) {
  .ws-challenge__text {
    font-size: 1rem;
    line-height: 1.9;
  }
}

.ws-challenge__img img {
  width: 100%;
  height: auto;
  border-radius: var(--ws-radius);
  object-fit: cover;
}

/* ----------------------------------------
   F. Concepts (2 Cards + Callout)
   ---------------------------------------- */
.ws-concepts {
  padding: 5rem 0;
  background-color: var(--ws-bg-gray);
}

@media (min-width: 768px) {
  .ws-concepts {
    padding: 6rem 0;
  }
}

.ws-concepts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ws-concepts__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
}

.ws-concept-card {
  background-color: var(--ws-bg-white);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  overflow: hidden;
}

.ws-concept-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--ws-bg-gray);
}

.ws-concept-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-concept-card__body {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .ws-concept-card__body {
    padding: 1.75rem;
  }
}

.ws-concept-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ws-fg);
  margin: 0 0 0.25rem;
}

.ws-concept-card__sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ws-accent);
  margin-bottom: 0.875rem;
  letter-spacing: 0.02em;
}

.ws-concept-card__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ws-fg-muted);
  margin: 0;
}

.ws-callout {
  background-color: rgba(232, 132, 106, 0.08);
  border: 1px solid rgba(232, 132, 106, 0.2);
  border-radius: var(--ws-radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .ws-callout {
    padding: 1.5rem 2rem;
  }
}

.ws-callout p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ws-fg);
  margin: 0;
}

.ws-callout strong {
  color: var(--ws-accent);
  font-weight: 600;
}

/* ----------------------------------------
   G. CTA
   ---------------------------------------- */
.ws-cta {
  padding: 5rem 0;
  background-color: var(--ws-bg-white);
}

@media (min-width: 768px) {
  .ws-cta {
    padding: 6rem 0;
  }
}

.ws-cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .ws-cta__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.ws-cta__img img {
  width: 100%;
  height: auto;
  border-radius: var(--ws-radius);
  object-fit: cover;
}

.ws-cta__text {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ws-fg-muted);
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .ws-cta__text {
    font-size: 1rem;
    line-height: 1.9;
  }
}

.ws-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ws-cta__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

.ws-btn-primary,
.ws-btn-secondary {
  text-align: center;
  white-space: normal;
  line-height: 1.4;
}

.ws-btn-primary:focus,
.ws-btn-secondary:focus {
  outline: 2px solid var(--ws-accent);
  outline-offset: 2px;
}

/* ----------------------------------------
   H. Bridge (SVG Flow)
   ---------------------------------------- */
.ws-bridge {
  padding: 5rem 0;
  background-color: var(--ws-bg-gray);
}

@media (min-width: 768px) {
  .ws-bridge {
    padding: 6rem 0;
  }
}

.ws-bridge__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ws-fg);
  margin: 0 0 2.5rem;
}

@media (min-width: 768px) {
  .ws-bridge__title {
    font-size: 1.625rem;
    margin-bottom: 3rem;
  }
}

.ws-bridge__flow {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  overflow-x: auto;
}

@media (min-width: 768px) {
  .ws-bridge__flow {
    margin-bottom: 3rem;
  }
}

.ws-flow-svg {
  width: 100%;
  height: auto;
  min-width: 600px;
  display: block;
}

.ws-flow-label {
  font-size: 18px;
  font-weight: 700;
  fill: var(--ws-fg, #1a1a1a);
  font-family: var(--font-sans, sans-serif);
}

.ws-flow-sub {
  font-size: 12px;
  font-weight: 400;
  fill: var(--ws-fg-muted, #666666);
  font-family: var(--font-sans, sans-serif);
}

.ws-flow-note-title {
  font-size: 14px;
  font-weight: 700;
  fill: var(--ws-fg, #1a1a1a);
  font-family: var(--font-sans, sans-serif);
}

.ws-flow-note-body {
  font-size: 12px;
  font-weight: 400;
  fill: var(--ws-fg-muted, #666666);
  font-family: var(--font-sans, sans-serif);
  line-height: 1.6;
}

.ws-bridge__footer {
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ws-fg-muted);
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ws-bridge__footer {
    font-size: 1rem;
  }
}

/* ----------------------------------------
   I. Stats (Optional)
   ---------------------------------------- */
.ws-stats {
  padding: 5rem 0;
  background-color: var(--ws-bg-white);
}

@media (min-width: 768px) {
  .ws-stats {
    padding: 6rem 0;
  }
}

.ws-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .ws-stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.ws-stats__img img {
  width: 100%;
  height: auto;
  border-radius: var(--ws-radius);
  object-fit: cover;
}

.ws-stats__numbers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .ws-stats__numbers {
    gap: 2rem;
    margin-top: 2rem;
  }
}

.ws-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ws-stat__num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ws-accent);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ws-stat__num small {
  font-size: 1.25rem;
  font-weight: 600;
}

.ws-stat__label {
  font-size: 0.875rem;
  color: var(--ws-fg-muted);
}

/* ----------------------------------------
   I. FAQ (Optional)
   ---------------------------------------- */
.ws-faq {
  padding: 5rem 0;
  background-color: var(--ws-bg-gray);
}

@media (min-width: 768px) {
  .ws-faq {
    padding: 6rem 0;
  }
}

.ws-faq__banner {
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
}

.ws-faq__banner img {
  width: 100%;
  height: auto;
  border-radius: var(--ws-radius);
}

.ws-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ws-faq__grid {
    gap: 1.5rem;
  }
}

.ws-faq-card {
  background-color: var(--ws-bg-white);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .ws-faq-card {
    padding: 1.75rem 2rem;
  }
}

.ws-faq-card__q {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ws-fg);
  margin: 0 0 0.875rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .ws-faq-card__q {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

.ws-faq-card__a {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--ws-fg-muted);
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--ws-accent);
}

@media (min-width: 768px) {
  .ws-faq-card__a {
    font-size: 0.9375rem;
    padding-left: 1.25rem;
  }
}

/* ----------------------------------------
   Utility: Reveal Animation Support
   (Uses existing .reveal class from script.js)
   ---------------------------------------- */
.ws-section .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ws-section .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   TWO BENEFITS SECTION (2nd Section)
   ======================================== */
.two-benefits-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 5rem;
  /* background-color removed - using video background */
}

@media (min-width: 768px) {
  .two-benefits-section {
    padding: 7rem 2rem 6rem;
  }
}

/* Video Background for Two Benefits Section */
.two-benefits-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.two-benefits-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 20, 0.7);
  z-index: 1;
}

.two-benefits-overlay-brand {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(30, 30, 30, 0.2));
  mix-blend-mode: overlay;
  opacity: 0.5;
  z-index: 2;
}

.two-benefits-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.two-benefits-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .two-benefits-header {
    margin-bottom: 4rem;
  }
}

.two-benefits-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.two-benefits-lead {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.85;
  max-width: 700px;
  margin: 0 auto;
}

/* SVG Flow Diagram */
.two-benefits-flow {
  max-width: 900px;
  margin: 0 auto 3rem;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .two-benefits-flow {
    margin-bottom: 3.5rem;
    padding: 2rem;
    border-radius: 20px;
  }
}

.two-benefits-flow svg {
  width: 100%;
  height: auto;
  min-width: 600px;
  display: block;
}

/* Benefits Cards Grid */
.two-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .two-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Benefit Card */
.benefit-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  position: relative;
}

@media (min-width: 768px) {
  .benefit-card {
    padding: 2.5rem 2.25rem;
  }
}

/* Clickable card indicator (arrow) */
.benefit-card::after {
  content: "›";
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--fg-muted);
  opacity: 0.4;
  transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
  line-height: 1;
}

@media (min-width: 768px) {
  .benefit-card::after {
    right: 2rem;
    bottom: 2rem;
  }
}

.benefit-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--accent-light-coral);
}

.benefit-card:hover::after {
  opacity: 1;
  color: var(--accent-coral);
  transform: translateX(2px);
}

/* Focus-visible for keyboard navigation */
.benefit-card:focus-visible {
  outline: 2px solid var(--accent-coral);
  outline-offset: 2px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--accent-light-coral);
}

.benefit-card:focus-visible::after {
  opacity: 1;
  color: var(--accent-coral);
}

/* Benefit Card Tag */
.benefit-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-coral);
  background-color: rgba(232, 132, 106, 0.1);
  border: 1px solid rgba(232, 132, 106, 0.25);
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  width: fit-content;
}

/* Benefit Card Title */
.benefit-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin: 0 0 1rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .benefit-card-title {
    font-size: 1.375rem;
  }
}

/* Benefit Card Text */
.benefit-card-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--fg-muted);
  margin: 0 0 1.25rem;
}

/* Benefit Card List */
.benefit-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex-grow: 1;
}

.benefit-card-list li {
  position: relative;
  padding-left: 1.375rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--fg-primary);
}

.benefit-card-list li:last-child {
  margin-bottom: 0;
}

.benefit-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background-color: var(--accent-coral);
  border-radius: 50%;
  opacity: 0.8;
}

/* Benefit Card Button */
.benefit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-fg);
  background-color: var(--primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  width: 100%;
}

@media (min-width: 768px) {
  .benefit-btn {
    width: auto;
    align-self: flex-start;
  }
}

.benefit-btn:hover {
  background-color: oklch(0.25 0 0);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.benefit-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.benefit-btn.is-active {
  background-color: var(--accent-coral);
}

.benefit-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.benefit-btn:hover svg {
  transform: translateY(2px);
}

/* ========================================
   MAJOR ACCORDION SECTION
   ======================================== */

/* ========================================
   MAJOR ACCORDION - PEEK MODE IMPLEMENTATION
   ======================================== */

  }
  
  .problem-underline {
    transform: scaleX(1) !important;
  }
}


/* ========================================
   NEW SECTIONS - Apple風リデザイン
   ======================================== */

/* A) 全体スケールを上げる */
.new-section {
  padding: 6.5rem 1.5rem 7rem;
}

@media (min-width: 768px) {
  .new-section {
    padding: 7.5rem 2rem 8rem;
  }
}

.new-container {
  max-width: 1280px;
  margin: 0 auto;
}

.new-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  color: var(--fg-primary);
  margin-bottom: 2.75rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.new-section-text {
  text-align: center;
  color: var(--fg-muted);
  font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
  line-height: 1.9;
  max-width: 920px;
  margin: 0 auto 3.5rem;
}

.new-section-subtitle {
  text-align: center;
  color: var(--fg-muted);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.9;
  max-width: 880px;
  margin: 0 auto 3.5rem;
}

.new-section-text-center {
  text-align: center;
  color: var(--fg-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}

/* セクション背景色の切り替え（白/薄グレー） */
.section-issue {
  background-color: var(--bg-section-white);
}

.section-why {
  background-color: var(--bg-section-gray);
}

.section-solution {
  background-color: var(--bg-section-white);
}

.section-what {
  background-color: var(--bg-section-gray);
}

.section-philosophy-new {
  background-color: var(--bg-section-white);
}

.section-join {
  background-color: var(--bg-section-gray);
}


/* B) Progress（採用→前段の空白→育成）を"読めるサイズ"に */
.progress-bar-svg-wrapper {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .progress-bar-svg-wrapper {
    display: block;
  }
}

.progress-bar-svg {
  width: 100%;
  height: auto;
  min-height: 240px;
}

/* Progress Bar Mobile */
.progress-bar-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .progress-bar-mobile {
    display: none;
  }
}

.progress-step {
  text-align: center;
}

.progress-step-box {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #fff;
  border: 2px solid var(--accent-coral);
  border-radius: 1rem;
  font-weight: 600;
  color: var(--fg-primary);
  font-size: 1.0625rem;
}

.progress-step-box-warn {
  background: #fff7ed;
  border-style: dashed;
  color: #c2410c;
}

.progress-step-sub {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.progress-step-sub-warn {
  color: #c2410c;
}

.progress-arrow-down {
  display: flex;
  justify-content: center;
}


/* C) Why / Solution の画像を"主役"に */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 2.5rem;
  }
}

.why-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
}

.why-card-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-coral);
  margin-bottom: 0.625rem;
  letter-spacing: 0.02em;
}

.why-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-primary);
}

.why-conclusion {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.why-right {
  /* media-surface で管理するため、flex は不要に */
}

.why-image {
  /* media-surface 内で上書きされるため、ここでは最小限に */
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Section 3: Solution Grid */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .solution-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
  }
}

.solution-left {
  order: 2;
}

@media (min-width: 768px) {
  .solution-left {
    order: 1;
  }
}

.solution-text {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--fg-primary);
  max-width: 44rem;
}

.solution-right {
  order: 1;
  /* media-surface で管理するため、flex は不要に */
}

@media (min-width: 768px) {
  .solution-right {
    order: 2;
  }
}

.solution-image {
  /* media-surface 内で上書きされるため、ここでは最小限に */
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* D) What を"Apple風の大きいFeature"へレイアウト変更 */
.what-stack {
  display: grid;
  gap: 56px;
}

/* --- What Item (ensure topline can overlap) --- */
.what-item {
  position: relative;
  overflow: visible; /* 重要: 上辺に乗ったtoplineをクリップしない */
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 40px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  --what-topline-minh: 56px; /* PC/Tabletの想定トップライン高さ */
  padding-top: calc(var(--what-topline-minh) + 34px); /* topline分+余白 */
}

/* Topline: absolute配置のためgridプロパティは不要（削除済み） */

/* PC: 2カラムグリッド - copy/media (toplineはabsoluteなのでgrid外) */
@media (min-width: 1024px) {
  .what-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-rows: 1fr; /* toplineはabsolute、copy/mediaのみgridに参加 */
    gap: clamp(16px, 3vw, 32px) clamp(24px, 4vw, 60px);
    align-items: start;
  }
  /* topline: absolute配置のためgrid位置指定は不要 */
  .what-item > .what-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .what-item > .what-media {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .what-item.is-reverse {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .what-item.is-reverse .what-copy {
    grid-column: 2;
    order: 2;
  }
  .what-item.is-reverse .what-media {
    grid-column: 1;
    order: 1;
  }
}

/* Tablet/Mobile: 縦積み */
@media (max-width: 1023px) {
  .what-item {
    display: block;
  }
  .what-media {
    margin-top: 18px;
  }
}

/* What Media (SVG/画像側) */
.what-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 画像を大きく - media-surface 内で管理 */
.what-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SVGを"潰さず"大きく - media-surface 内で管理 */
.what-media svg {
  width: 100%;
  height: 100%;
}

/* What Copy (テキスト側) - Apple風 eyebrow + headline 2段構成 */
.what-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin: 0 0 0.5rem;
  font-weight: 500;
}

/* --- What Topline: sit ON the border line --- */
.what-topline {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  top: 0;
  transform: translateY(-50%); /* これでカード上辺ラインに跨る */
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center; /* タイトルを常に中央へ */
  min-height: var(--what-topline-minh);

  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);

  padding: 10px 18px; /* padding-left hackは廃止 */
}

/* pill is fixed-left and does NOT affect title centering */
.what-pill {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 11;

  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}

/* What1: ややピンク寄りの薄オレンジ */
.what-pill--1 {
  background: rgba(255, 140, 100, 0.16);
  border-color: rgba(255, 140, 100, 0.28);
  color: rgba(120, 45, 20, 0.85);
}

/* What2: やや黄寄りの薄オレンジ */
.what-pill--2 {
  background: rgba(255, 170, 80, 0.16);
  border-color: rgba(255, 170, 80, 0.28);
  color: rgba(120, 60, 10, 0.85);
}

/* What3: やや赤寄りの薄オレンジ（少し締める） */
.what-pill--3 {
  background: rgba(255, 120, 90, 0.14);
  border-color: rgba(255, 120, 90, 0.26);
  color: rgba(120, 35, 25, 0.85);
}

/* centered title */
.what-title {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: var(--fg-primary);
}

/* Tablet/Mobile spacing tuning */
@media (max-width: 1023px) {
  .what-item {
    --what-topline-minh: 60px;
    padding-top: calc(var(--what-topline-minh) + 38px);
  }
  .what-topline {
    padding: 10px 14px;
  }
  .what-pill {
    left: 14px;
    height: 26px;
    font-size: 11px;
    padding: 0 10px;
  }
}

/* Small mobile: vertical stack to prevent pill/title overlap */
@media (max-width: 640px) {
  .what-item {
    --what-topline-minh: 88px; /* 縦積みピル+タイトルを想定 */
    padding-top: calc(var(--what-topline-minh) + 48px);
  }
  .what-topline {
    flex-direction: column;    /* 縦積み: ピル → タイトル */
    align-items: flex-start;   /* 左揃え */
    justify-content: center;
    gap: 8px;
    border-radius: 18px;
    padding: 14px 16px;
  }
  /* ピルを static に戻して縦積みの一部に */
  .what-pill {
    position: static;
    transform: none;
    height: 24px;
    font-size: 10px;
    padding: 0 10px;
  }
  .what-title {
    width: 100%;
    text-align: left;          /* SPは左寄せで可読性優先 */
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.35;
  }
}

/* What Body text */
.what-body {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  color: var(--fg-muted);
}

.what-headline {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--fg-primary);
}

/* 後方互換: 既存のh3スタイル */
.what-copy h3:not(.what-headline) {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--fg-primary);
}

.what-copy p {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  color: var(--fg-muted);
}

.what-copy p:not(.what-eyebrow):not(.what-note) {
  margin-top: 0;
}

.what-copy .what-note {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.7;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border-color);
}


/* E) 3本柱 / 参加方法も"カードを大きく" */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pillar-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  text-align: center;
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  background: var(--bg-muted);
  border-radius: 50%;
  color: var(--fg-primary);
}

.pillar-icon svg {
  width: 32px;
  height: 32px;
}

.pillar-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 0.625rem;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
}


/* Section 6: Join Cards */
.join-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .join-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
  }
}

.join-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  text-align: center;
}

.join-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  background: var(--bg-muted);
  border-radius: 50%;
  color: var(--fg-primary);
}

.join-card-icon svg {
  width: 36px;
  height: 36px;
}

.join-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 1rem;
}

.join-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.join-card-list li {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 2;
}

.join-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .join-cta {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}


/* ========================================
   REVEAL & PARALLAX ANIMATIONS
   ======================================== */

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
}

.btn-hero {
  min-width: 280px;
}

.btn-outline {
  background-color: transparent;
  color: var(--fg-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background-color: var(--bg-muted);
}

.btn-link {
  background: none;
  border: none;
  color: var(--fg-primary);
  text-decoration: underline;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}

/* Dark CTA Button - 黒背景の目立つCTAボタン */
.btn-cta-dark {
  background-color: var(--primary);
  color: var(--primary-fg);
  border: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.btn-cta-dark:hover {
  background-color: oklch(0.25 0 0);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta-dark:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Hero内のダークCTAボタン調整 */
.hero-buttons .btn-cta-dark {
  flex-direction: column;
  gap: 0.25rem;
}

.hero-buttons .btn-cta-dark .btn-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.2;
}

/* join-cta内のダークCTAボタン調整 */
.join-cta .btn-cta-dark {
  gap: 0.5rem;
}

.join-cta .btn-cta-dark .icon-right {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.join-cta .btn-cta-dark:hover .icon-right {
  transform: translateX(3px);
}

.btn-lg {
  padding: 0.875rem 2.25rem;
  font-size: 1.0625rem;
  min-height: 52px;
}
/* === Hero CTA: size tuning (only in hero) === */
.hero-buttons .btn-hero {
  min-width: 220px;       /* 280px → 小さく */
  max-width: 320px;       /* 横に伸びすぎ防止 */
  padding: 0.65rem 1.25rem; /* btn-lg を上書き */
  font-size: 0.95rem;     /* 少しだけ小さく */
  min-height: 46px;       /* btn-lg(52px) を上書き */
  line-height: 1.15;
  text-align: center;

/* Reveal animation visibility fix */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback for oklch colors */
.btn-cta-dark:hover {
  background-color: #1a1a1a;
}
.modal-overlay {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  display: flex !important;
  visibility: visible;
  opacity: 1;
}

.modal-content {
  position: relative;
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-medium {
  max-width: 42rem;
  width: 100%;
}

.modal-wide {
  max-width: 87.5rem;
  width: 95vw;
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  z-index: 50;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0.5rem;
}

.modal-close:hover {
  opacity: 1;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg-primary);
}

.modal-description {
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.modal-description p {
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.concept-modal-content {
  padding: 2rem 0;
}

.concept-header {
  text-align: center;
  margin-bottom: 5rem;
}

.concept-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--fg-primary);
}

.concept-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 56rem;
  margin: 0 auto;
}

.concept-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  padding: 0 3rem;
  margin-bottom: 5rem;
}

.concept-item {
  text-align: center;
}

.concept-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem;
  background-color: var(--bg-muted);
  border-radius: 1rem;
}

.concept-icon {
  width: 3rem;
  height: 3rem;
  color: var(--fg-primary);
}

.concept-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--fg-primary);
}

.concept-item-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

.concept-divider {
  height: 1px;
  background-color: var(--border-color);
  margin-bottom: 5rem;
}

.concept-why {
  padding: 0 3rem;
  max-width: 80rem;
  margin: 0 auto 5rem;
}

.concept-why-title {
  font-size: 1.875rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--fg-primary);
}

.concept-why-content {
  line-height: 1.6;
  color: var(--fg-muted);
}

.concept-why-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.concept-why-emphasis {
  font-weight: 500;
  color: var(--fg-primary) !important;
}

.concept-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 2rem 2rem;
}

/* Concept actions: CTA + note を1塊にして整える */
.concept-action-primary{
  display:flex;
  flex-direction:column;
  align-items:center; /* PCでも中央寄せがよければcenterのまま */
  gap:10px;
}

.help-note{
  margin:0;
  text-align:center;
  line-height:1.2;
}

.help-note-main{
  display:block;
  font-size:13px;
  color:#333;
  opacity:.9;
}

.help-note-sub{
  display:block;
  margin-top:4px;
  font-size:12px;
  color:#666;
  opacity:.9;
}

/* PC時：右ボタンと揃えたいなら align-items を下揃えに */
@media (min-width: 640px){
  .concept-actions{
    align-items:flex-end;
  }
}


/* Responsive Styles */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .modal-actions {
    flex-direction: row;
  }

  .concept-actions {
    flex-direction: row;
  }

  .footer-content {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }

  .hero-overlay {
    padding: 5rem 4rem;
  }

  .concept-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .concept-title {
    font-size: 3rem;
  }

  .concept-description {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .section-title {
    font-size: 2.25rem;
.partner-modal {
  max-width: 44rem;
  padding: 2.5rem;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 640px) {
  .partner-modal {
    padding: 1.75rem 1.25rem;
    max-height: 85vh;
  }
}

/* タイトル調整 */
.partner-modal .modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-right: 2rem;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .partner-modal .modal-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* 本文エリア */
.partner-modal__body {
  line-height: 1.75;
  color: var(--fg-primary);
}

/* 導入段落 */
.partner-modal__intro {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--fg-primary);
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

@media (min-width: 640px) {
  .partner-modal__intro {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
  }
}

/* セクション共通 */
.partner-modal__section {
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .partner-modal__section {
    margin-bottom: 2rem;
  }
}

.partner-modal__section:last-of-type {
  margin-bottom: 1.5rem;
}

/* 小見出し - 視覚的に立てる */
.partner-modal__subhead {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 0.875rem;
  padding-left: 0.875rem;
  border-left: 3px solid var(--accent-coral);
  line-height: 1.4;
}

@media (min-width: 640px) {
  .partner-modal__subhead {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left-width: 4px;
  }
}

/* 箇条書き - 読みやすいインデントと行間 */
.partner-modal__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.partner-modal__list li {
  position: relative;
  padding-left: 1.375rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--fg-muted);
}

@media (min-width: 640px) {
  .partner-modal__list li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.8;
  }
}

.partner-modal__list li:last-child {
  margin-bottom: 0;
}

/* 箇条書きマーカー */
.partner-modal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background-color: var(--accent-coral);
  border-radius: 50%;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .partner-modal__list li::before {
    width: 6px;
    height: 6px;
    top: 0.6em;
  }
}

/* ラベル付き箇条書き（3つの設計判断） */
.partner-modal__list--labeled li strong {
  color: var(--fg-primary);
  font-weight: 600;
}

/* 締め段落 */
.partner-modal__closing {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--fg-primary);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .partner-modal__closing {
    font-size: 1rem;
    line-height: 1.9;
  }
}

.partner-modal__closing strong {
  color: var(--accent-coral);
  font-weight: 600;
}

/* CTAエリア - 本文と分離 */
.partner-modal__cta {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(to bottom, rgba(245, 245, 247, 0.5), transparent);
  margin-left: -2.5rem;
  margin-right: -2.5rem;
  margin-bottom: -2.5rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-bottom: 2.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

@media (max-width: 640px) {
  .partner-modal__cta {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    margin-bottom: -1.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 1.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

/* CTAボタン配置 - PC横並び / SP縦積み */
.partner-modal__cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .partner-modal__cta-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

/* ボタンサイズ調整 */
.partner-modal__cta-buttons .btn {
  flex: 1;
  justify-content: center;
  min-height: 48px;
}

@media (min-width: 640px) {
  .partner-modal__cta-buttons .btn {
    flex: none;
    min-width: 180px;
  }
}

/* 補足メタ - 別行で小さく */
.partner-modal__cta-meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 640px) {
  .partner-modal__cta-meta {
    margin-top: 1.125rem;
    font-size: 0.8125rem;
    text-align: left;
  }
}

/* ========================================
   end PARTNER MODAL
   ======================================== */
   /* ========================================
   WORK SAMPLE SECTION - Scoped Styles

/* =====================================================
   HCM SECTION - 不足していたCSS定義
   ===================================================== */

/* Section variants */
.section-issue {
  background-color: var(--bg-section-white, #ffffff);
}

.section-solution {
  background-color: var(--bg-section-gray, #f5f5f7);
}

.section-kpi {
  background-color: var(--bg-section-white, #ffffff);
}

.section-howto {
  background-color: var(--bg-section-gray, #f5f5f7);
}

/* =====================================================
   Solution Cards - 解決策カード
   ===================================================== */
.solution-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .solution-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.solution-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.solution-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(232, 132, 106, 0.12);
  color: var(--accent-coral, #e8846a);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.solution-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--fg-primary, #1a1a1a);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.solution-card-text {
  font-size: 0.9375rem;
  color: var(--fg-muted, #666666);
  line-height: 1.7;
  margin: 0;
}

/* =====================================================
   KPI Flow - KPIフロー図
   ===================================================== */
.kpi-visual {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: var(--bg-section-gray, #f5f5f7);
  border-radius: 16px;
}

@media (min-width: 768px) {
  .kpi-visual {
    padding: 2rem 2.5rem;
  }
}

.kpi-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .kpi-flow {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
}

.kpi-flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  min-width: 180px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .kpi-flow-item {
    min-width: 200px;
  }
}

.kpi-flow-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-primary, #1a1a1a);
  margin-bottom: 0.375rem;
}

.kpi-flow-sub {
  font-size: 0.8125rem;
  color: var(--fg-muted, #666666);
  line-height: 1.5;
}

.kpi-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-coral, #e8846a);
  font-weight: 300;
  padding: 0.5rem;
  transform: rotate(90deg);
}

@media (min-width: 768px) {
  .kpi-flow-arrow {
    transform: rotate(0deg);
    padding: 0 1rem;
    font-size: 1.75rem;
  }
}

/* =====================================================
   Progress Bar SVG - プログレスバー
   ===================================================== */
.progress-bar-svg-wrapper {
  margin: 2rem auto;
  max-width: 100%;
  overflow-x: auto;
}

.progress-bar-svg {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Desktop: show SVG wrapper, hide mobile */
.progress-bar-svg-wrapper {
  display: block;
}

.progress-bar-svg-mobile-wrapper {
  display: none;
}

@media (max-width: 767px) {
  .progress-bar-svg-wrapper {
    display: none;
  }
  
  .progress-bar-svg-mobile-wrapper {
    display: block;
    margin: 2rem auto;
    max-width: 280px;
  }
}

.progress-bar-svg-mobile {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG text styles */
.progress-label {
  font-size: 14px;
  font-weight: 600;
}

.progress-sub {
  font-size: 12px;
  font-weight: 400;
}

.progress-label-mobile {
  font-size: 13px;
  font-weight: 600;
}

.progress-sub-mobile {
  font-size: 11px;
  font-weight: 400;
}

/* =====================================================
   Additional HCM fixes
   ===================================================== */

/* new-section内のpadding調整 */
.major-accordion-body .new-section {
  padding: 2rem 0;
}

.major-accordion-body .new-section:first-of-type {
  padding-top: 1rem;
}

.major-accordion-body .new-section .new-container {
  max-width: 100%;
  padding: 0;
}

/* section-howto の join-cards 調整 */
.section-howto .join-cards {
  margin-top: 2rem;
}

.section-howto .join-cta {
  margin-top: 2.5rem;
}
