/* ===== Tokens ===== */
:root {
  --green: #008D97;
  --green-dark: #006B73;
  --green-light: #00CC99;
  --orange: #F98938;
  --orange-glow: rgba(249,137,56,0.25);
  --text: #222229;
  --text-mid: #5a5a62;
  --text-light: #8e8e96;
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --pale: #EDF7F8;
  --gray: #F3F4F6;
  --dark: #0E1419;
  --dark-mid: #1C2630;

  --font-display: 'DM Serif Display', serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.8; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ===== Scroll animations ===== */
[data-reveal] {
  opacity: 0; transform: translateY(48px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-60px) translateY(0); }
[data-reveal="left"].visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(60px) translateY(0); }
[data-reveal="right"].visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].visible { transform: scale(1); }

[data-stagger] > * { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
[data-stagger].visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
[data-stagger].visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: none; }
[data-stagger].visible > *:nth-child(3) { transition-delay: 0.1s; opacity: 1; transform: none; }
[data-stagger].visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: none; }
[data-stagger].visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: none; }
[data-stagger].visible > *:nth-child(n+6) { transition-delay: 0.3s; opacity: 1; transform: none; }
[data-stagger].visible > *:nth-child(n+11) { transition-delay: 0.4s; opacity: 1; transform: none; }

/* Noise */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* SP only line break */
.sp-only { display: none; }

/* ===== Container — 1120px ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 0 48px;
  opacity: 0;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0px);
  transition: opacity 0.6s ease, background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}
.header.visible { opacity: 1; }
.header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,141,151,0.06);
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 72px;
}
.header-left {
  display: flex; align-items: center; gap: 16px;
}
.header-moveax-logo {
  width: 0; height: 36px; overflow: hidden;
  opacity: 0;
  transition: width 0.5s var(--ease-out-expo), opacity 0.4s ease;
}
.header-moveax-logo svg { height: 100%; width: auto; }
.header.scrolled .header-moveax-logo {
  width: 132px; opacity: 1;
}
.header-logo {
  display: flex; align-items: center;
  transition: transform 0.5s var(--ease-out-expo);
}
.header-logo img { height: 29px; width: auto; }
/* スクロール時：TOKIUMロゴを右に移動 */
.header.scrolled .header-logo {
  transform: translateX(0);
}
/* Hamburger button (SP only) */
.hamburger {
  display: none;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  position: relative; z-index: 102;
  flex-shrink: 0;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 1px;
  position: absolute; left: 6px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 21px; }
.hamburger.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* SP overlay nav */
/* SP nav backdrop (左1/3 暗幕) */
.sp-nav-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.sp-nav-backdrop.open { opacity: 1; pointer-events: auto; }

.sp-nav-overlay {
  display: flex;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 66.667%; z-index: 101;
  background: linear-gradient(135deg, rgba(0,141,151,0.92) 0%, rgba(0,168,158,0.92) 25%, rgba(0,187,168,0.92) 45%, rgba(0,204,181,0.92) 65%, rgba(0,204,201,0.92) 100%);
  flex-direction: column; align-items: flex-start; justify-content: flex-start;
  padding: 80px 32px 40px;
  gap: 28px;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.35s ease;
  overflow: hidden;
}
/* グラデーション背景にMoveAXロゴ同様のぼかし装飾 */
.sp-nav-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(252,248,233,0.35) 0%, transparent 40%),
    radial-gradient(circle at 20% 85%, rgba(0,204,153,0.4) 0%, transparent 45%),
    radial-gradient(circle at 50% 30%, rgba(0,204,187,0.3) 0%, transparent 50%),
    radial-gradient(circle at 10% 20%, rgba(252,234,223,0.3) 0%, transparent 35%),
    radial-gradient(circle at 70% 80%, rgba(0,141,151,0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 40% 90%, rgba(112,205,199,0.35) 0%, transparent 40%),
    radial-gradient(circle at 60% 50%, rgba(223,97,207,0.15) 0%, transparent 35%);
  pointer-events: none;
}
.sp-nav-overlay.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.sp-nav-overlay a {
  font-size: 18px; font-weight: 600; color: var(--white);
  letter-spacing: 0.04em; transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
  position: relative; z-index: 1;
  opacity: 0; transform: translateX(24px);
  display: inline-flex; align-items: center; gap: 10px;
}
.sp-nav-overlay a::before {
  content: ''; width: 18px; height: 1.5px; background: var(--white);
  border-radius: 1px; flex-shrink: 0;
  transition: width 0.4s var(--ease-out-expo), background 0.3s ease;
}
.sp-nav-overlay a:hover::before { width: 28px; }
.sp-nav-overlay.open a {
  opacity: 1; transform: translateX(0);
}
.sp-nav-overlay.open a:nth-child(2) { transition-delay: 0.06s; }
.sp-nav-overlay.open a:nth-child(3) { transition-delay: 0.12s; }
.sp-nav-overlay.open a:nth-child(4) { transition-delay: 0.18s; }
.sp-nav-overlay.open a:nth-child(5) { transition-delay: 0.24s; }
.sp-nav-overlay a:hover { opacity: 0.75; }
.sp-nav-close {
  position: absolute; top: 12px; right: 20px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.sp-nav-close::before,
.sp-nav-close::after {
  content: ''; position: absolute;
  width: 22px; height: 2px; background: var(--white); border-radius: 1px;
}
.sp-nav-close::before { transform: rotate(45deg); }
.sp-nav-close::after { transform: rotate(-45deg); }

.header-nav { display: flex; align-items: center; gap: 36px; }
.header-nav a {
  font-size: 1.05rem; font-weight: 500; color: var(--text);
  position: relative; letter-spacing: 0.01em; transition: color 0.4s ease;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--green);
  transition: width 0.4s var(--ease-out-expo);
}
.header-nav a:hover::after { width: 100%; }
.header-nav a:hover { color: var(--green); }

/* ========================================
   HERO — FULLSCREEN + DOT CANVAS + STEP ANIMATION
   ======================================== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: var(--gray);
  overflow: hidden;
}

.dot-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero.interactive .dot-canvas { pointer-events: auto; }

/* 中央コンテナ */
.hero-center {
  position: absolute;
  z-index: 5;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ===== 全面マーカー ===== */
.hero-fullmarker {
  position: absolute;
  z-index: 4;
  background: linear-gradient(100deg, #008D97 0%, #00A89E 35%, #00BBA8 55%, #00CCB5 75%, #00CCC9 100%);
  opacity: 0;
  left: 0; right: 0; top: 0; bottom: 0;
  transition: opacity 0.6s ease;
}
.hero-fullmarker.visible {
  opacity: 1;
}

/* Step 2: メインテキスト（白 on マーカー） */
.hero-main-text {
  font-family: var(--font-body);
  font-size: clamp(25px, 3.5vw, 45px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.12em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  position: relative;
  z-index: 5;
}
.hero-main-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* マーカーラップ — 縮小後のBOX */
.hero-marker-wrap {
  position: relative;
  display: inline-block;
}
.hero-marker {
  position: absolute;
  left: -12px; right: -12px;
  top: -6px; bottom: -6px;
  opacity: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-marker svg { width: 100%; height: 100%; }

/* Move AX ロゴ — Flickering Reveal */
.hero-moveax {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 69px;
  z-index: 2;
}
.hero-moveax svg { width: 100%; height: 100%; }
.hero-moveax svg path { opacity: 0; }
@keyframes flickerIn {
  0% { opacity: 0; }
  10% { opacity: 1; }
  20% { opacity: 0; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 1; }
}

/* Step 4: ラベル */
.hero-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--green);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.hero-label.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Step 5: スクロール矢印 */
.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  cursor: pointer;
}
/* 見た目は維持しつつクリック/ホバーの判定範囲を拡張 */
.scroll-indicator::before {
  content: "";
  position: absolute;
  top: -24px; bottom: -24px;
  left: -48px; right: -48px;
}
.scroll-indicator.visible { opacity: 1; }
.scroll-indicator svg {
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.scroll-indicator.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.scroll-indicator svg {
  animation: bounceDown 2s infinite ease-in-out;
}

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

/* ========================================
   CONCEPT
   ======================================== */
.concept {
  display: flex; align-items: center; justify-content: center;
  width: 100vw; height: 100vh; position: relative;
  background: linear-gradient(to right, #008D97, #00CCC9);
  overflow: hidden;
}
.concept-dot-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.concept .container {
  display: flex; flex-direction: column; align-items: center;
  gap: 33px; max-width: 1048px; text-align: center;
  position: relative; z-index: 1;
}

.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-size: 20px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); margin-bottom: 28px;
}
.section-eyebrow::before { content: ''; width: 32px; height: 1.5px; background: var(--green); border-radius: 1px; }

.concept-label {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.concept-heading {
  font-family: var(--font-body); font-size: 40px;
  font-weight: 600; line-height: 1.3; color: var(--white);
  max-width: 900px;
  letter-spacing: 0.06em;
}

.concept-body {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 500; line-height: 2;
  color: rgba(255,255,255,0.9); max-width: 755px; text-align: left;
}
.concept-body .gap { display: block; height: 1em; }

.concept-scroll {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.concept-scroll.visible { opacity: 1; }
.concept-scroll svg {
  animation: bounceDown 2s infinite ease-in-out;
}

/* ========================================
   RESEARCH — グラデーション背景 + 横並びカード
   ======================================== */
.research {
  padding: 87px 0 100px; position: relative;
  background: linear-gradient(to right, #008D97, #00CCC9);
}

.research-header {
  margin-bottom: 48px;
  padding: 0 220px;
}

.research-heading {
  font-family: var(--font-body); font-size: 32px;
  font-weight: 600; color: var(--white); margin-bottom: 8px; line-height: 1.8;
}
.research-sub {
  font-size: 16px; font-weight: 500; color: var(--white); line-height: 1.8;
}

.research-cards {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0 220px;
}
.research-card {
  display: flex; align-items: center; gap: 100px;
  background: var(--gray); padding: 67px 128px;
  transition: background 0.3s ease;
}
.research-card:hover {
  background: var(--white);
}

.research-card-image {
  width: 238px; height: 238px; border-radius: 50%;
  background: #E0E0E0; flex-shrink: 0; overflow: hidden;
}
.research-card-image img {
  width: 100%; height: 100%; object-fit: cover;
}

.research-card-body { flex: 1; }
.research-card-title {
  font-family: var(--font-body); font-size: 24px; font-weight: 600;
  color: var(--text); line-height: 1.6; margin-bottom: 16px;
}
.research-card-desc {
  font-family: var(--font-body); font-size: 14px; font-weight: 400;
  color: var(--text); line-height: 1.6;
}

/* ========================================
   ACTIVITIES (Note + セミナー + お役立ち資料)
   ======================================== */
.activities {
  padding: 120px 0 100px; background: var(--white); position: relative;
}

.activities-header {
  max-width: 1440px; margin: 0 auto 48px;
  padding: 0 220px;
}
.activities-heading {
  font-family: var(--font-body); font-size: 32px;
  font-weight: 600; color: var(--green); line-height: 1.8; margin-bottom: 8px;
}
.activities-sub {
  font-size: 16px; font-weight: 500; color: var(--text); line-height: 1.8;
}

/* Tab navigation */
.tab-nav {
  display: flex; gap: 0; padding: 0 220px; margin: 0 auto;
  max-width: 1440px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  clip-path: inset(0 0 -20px 0);
  position: sticky; top: 72px; z-index: 10;
  background: var(--white);
}
.tab-btn {
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  color: var(--text-mid); background: transparent; border: none;
  padding: 16px 32px; cursor: pointer; position: relative;
  transition: color 0.3s ease;
}
.tab-btn::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: transparent; transition: background 0.3s ease;
}
.tab-btn.active { color: var(--green); }
.tab-btn.active::after { background: var(--green); }
.tab-btn:hover { color: var(--green); }

/* Tab panels */
.tab-panel {
  display: none; background: var(--white);
  max-width: 1440px; margin: 0 auto;
  padding: 40px 220px 60px;
}
.tab-panel.active { display: block; }
.tab-panel { overflow: hidden; }

/* Carousel bar inside tab */
.carousel-bar {
  display: flex; align-items: center; justify-content: flex-end;
  margin-bottom: 24px;
}
.carousel-bar-nav { display: flex; align-items: center; gap: 8px; }
.carousel-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); border: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
}
.carousel-arrow:hover { transform: scale(1.1); }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; transform: none; }
.carousel-arrow svg { width: 10px; height: 10px; fill: #D9D9D9; stroke: none; }

/* Card grid — 2列表示 + カルーセル */
.card-grid-wrap {
  overflow: hidden;
}
.card-grid {
  display: flex; gap: 24px;
  transition: transform 0.5s var(--ease-out-expo);
}

/* Shared card base */
.act-card {
  background: var(--gray); width: 466px; flex-shrink: 0;
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s ease;
}
.act-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.act-card-image {
  width: 100%; aspect-ratio: 1280 / 670; background: var(--gray);
  overflow: hidden;
}
.act-card-image img { width: 100%; height: 100%; object-fit: cover; }
.act-card-body {
  padding: 20px 24px 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.act-card-title {
  font-family: var(--font-body); font-size: 20px; font-weight: 600;
  color: var(--text); line-height: 1.5;
}
.act-card-meta {
  font-family: var(--font-body); font-size: 14px; font-weight: 400;
  color: var(--text); line-height: 1.6;
}
.act-card-desc {
  font-family: var(--font-body); font-size: 16px; font-weight: 400;
  color: var(--text); line-height: 1.6;
}
.act-card-profile {
  display: flex; align-items: center; gap: 18px;
}
.act-card-avatar {
  width: 51px; height: 51px; border-radius: 50%;
  background: var(--gray); overflow: hidden; flex-shrink: 0;
}
.act-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.act-card-author {
  font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--text);
}
.act-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white);
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  padding: 8px 16px; border: none; cursor: pointer;
  transition: background 0.3s ease;
  width: fit-content;
}
.act-card-cta .arrow {
  display: inline-block; transition: transform 0.3s var(--ease-out-expo);
}
.act-card-cta:hover .arrow { transform: translateX(6px); }
.act-card-cta:hover { background: var(--green-dark); }

/* Resource card — Figma仕様: 466×244 グラデ背景内に 313×176 の表紙画像を中央配置
   padding % は width 基準なので 34/466≈7.3%, 77/466≈16.5% */
.act-card-image--resource {
  background: linear-gradient(180deg, #EDF7F8 0%, #D2F0EE 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 7.3% 16.5%;
}
.act-card-image--resource img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Coming soon placeholder card — 実カードと同じ高さに flex stretch で自動整列 */
.act-card--coming {
  align-items: center; justify-content: center;
}
.act-card-coming {
  font-family: var(--font-body); font-size: 20px; font-weight: 400;
  color: var(--text); line-height: normal;
}
.act-card--coming:hover { box-shadow: none; }

/* ========================================
   PRESS RELEASES — microCMS API連携予定
   ======================================== */
.press-releases { padding: 70px 0 120px; position: relative; }
.press-inner { max-width: 1440px; margin: 0 auto; padding: 0 220px; }
.press-heading {
  font-family: var(--font-body); font-size: 32px;
  font-weight: 600; color: var(--green); line-height: 1.8; margin-bottom: 8px;
}
.press-sub { font-size: 16px; font-weight: 500; color: var(--text); line-height: 1.8; margin-bottom: 48px; }
.press-list { display: flex; flex-direction: column; gap: 0; }
.press-item {
  display: flex; align-items: baseline; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s ease;
}
.press-item:first-child { border-top: 1px solid rgba(0,0,0,0.06); }
.press-item:hover { background: var(--pale); margin: 0 -16px; padding: 24px 16px; border-radius: 8px; }
.press-date { font-size: 14px; font-weight: 500; color: var(--text-light); min-width: 100px; font-family: var(--font-heading); letter-spacing: 0.02em; }
.press-tag {
  font-size: 12px; font-weight: 700; color: var(--green); background: var(--pale);
  padding: 4px 12px; border-radius: 100px; min-width: fit-content;
}
.press-title-link {
  font-size: 16px; font-weight: 500; color: var(--text); line-height: 1.6;
  transition: color 0.3s ease;
}
.press-item:hover .press-title-link { color: var(--green); }
.press-more-wrap { display: flex; justify-content: flex-end; margin-top: 32px; }
.press-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--green); text-decoration: none;
  padding: 12px 24px;
  border: 1.5px solid var(--green); border-radius: 100px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.press-more:hover { background: var(--green); color: var(--white); transform: translateX(4px); }
.press-more .btn-arrow {
  width: 16px; height: 16px;
  transition: transform 0.3s ease;
}
.press-more:hover .btn-arrow { transform: translateX(2px); }

/* ========================================
   AX CASE STUDIES — サービスサイトCMS API連携
   ======================================== */
.case-studies { padding: 70px 0 120px; background: var(--white); position: relative; }

.case-studies-header {
  padding: 0 220px; margin-bottom: 48px;
}
.case-studies-heading {
  font-family: var(--font-body); font-size: 32px;
  font-weight: 600; color: var(--green); line-height: 1.8; margin-bottom: 8px;
}
.case-studies-sub {
  font-size: 16px; font-weight: 500; color: var(--text); line-height: 1.8;
}

/* グリッドレイアウト */
.case-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; padding: 0 220px;
}

.case-card {
  background: var(--white); border-radius: 0; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease; position: relative;
  display: flex; flex-direction: column;
}
.case-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.case-card-link {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: flex;
  align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
.case-card-link:hover { background: var(--green); transform: scale(1.1); }
.case-card-link:hover svg { stroke: var(--white); }
.case-card-link svg { width: 14px; height: 14px; stroke: var(--text-mid); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.case-photo { width: 100%; aspect-ratio: 16 / 10; background: var(--gray); overflow: hidden; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-expo); }
.case-card:hover .case-photo img { transform: scale(1.04); }
.case-photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f4f5 0%, #f0f0f0 100%);
  color: var(--text-light); font-size: 14px;
}
.case-body { padding: 20px 20px 24px; }
.case-logo-wrap { height: 28px; margin-bottom: 12px; display: flex; align-items: center; }
.case-logo-text { font-size: 13px; font-weight: 700; color: var(--text-mid); }
.case-title {
  font-size: 15px; font-weight: 700; line-height: 1.65; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.case-company { font-size: 13px; font-weight: 400; color: var(--text-mid); margin-bottom: 12px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-tag {
  display: inline-block; font-size: 12px; font-weight: 500;
  color: var(--text-mid); border: 1px solid #E5E7EB; padding: 3px 10px; border-radius: 100px;
}
.case-api-note {
  font-size: 14px; color: var(--text-light); margin-top: 16px; padding: 16px 20px 16px 220px;
  line-height: 1.8;
}

/* ========================================
   AX RESOURCES — ホワイトペーパー + CTA
   ======================================== */
.ax-resources { padding: 160px 0 120px; position: relative; }
.ax-resources-heading {
  font-family: var(--font-body); font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900; margin-bottom: 16px;
}
.ax-resources-sub { font-size: 16px; font-weight: 400; color: var(--text-mid); margin-bottom: 64px; }
.wp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 56px; }
.wp-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}
.wp-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.wp-cover {
  width: 100%; aspect-ratio: 3 / 4; background: var(--gray);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.wp-cover-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--text-light); font-size: 14px;
}
.wp-cover-placeholder svg { width: 48px; height: 48px; opacity: 0.3; }
.wp-body { padding: 24px; }
.wp-title { font-size: 16px; font-weight: 700; line-height: 1.6; margin-bottom: 8px; }
.wp-desc { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.wp-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--green);
  transition: gap 0.3s var(--ease-out-expo);
}
.wp-cta:hover { gap: 10px; }
.wp-cta svg { width: 14px; height: 14px; }

/* ========================================
   SUPPORTERS — 賛同企業・団体一覧
   ======================================== */
.supporters { padding: 120px 0; background: var(--off-white); }
.supporters-inner { padding: 0 220px; }
.supporters-heading {
  font-family: var(--font-body); font-size: 32px;
  font-weight: 600; color: var(--green); line-height: 1.8; margin-bottom: 8px;
}
.supporters-sub { font-size: 16px; font-weight: 500; color: var(--text); line-height: 1.8; margin-bottom: 48px; }
.supporters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.supporter-logo {
  aspect-ratio: 16 / 9;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.supporter-logo:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* ========================================
   SERVICE CTA — サービス誘導セクション
   ======================================== */
.service-cta {
  padding: 140px 0; background: var(--pale); text-align: center;
  position: relative; overflow: hidden;
}
.service-cta-particles {
  position: absolute; inset: 0; pointer-events: none;
}
.service-cta-particles .cta-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  opacity: 0;
}
.service-cta-particles.visible .cta-dot {
  animation: ctaDotFloat var(--dur) var(--delay) ease-in-out infinite;
}
@keyframes ctaDotFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  15% { opacity: 0.7; transform: translateY(-10px) scale(1); }
  50% { opacity: 0.4; transform: translateY(-40px) scale(0.8); }
  85% { opacity: 0.7; transform: translateY(-70px) scale(1); }
  100% { opacity: 0; transform: translateY(-90px) scale(0); }
}
.service-cta .container {
  position: relative; z-index: 1;
}
.service-cta-text {
  font-family: var(--font-body); font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700; color: var(--text); margin-bottom: 48px; line-height: 1.7;
}
.service-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 20px 56px; background: linear-gradient(135deg, #008D97 0%, #00CCC9 100%); color: var(--white);
  border-radius: 100px; font-family: var(--font-heading);
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.4s ease;
}
.service-cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-cta-btn:hover::before { opacity: 1; }
.service-cta-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0,141,151,0.35), 0 0 0 4px rgba(0,141,151,0.08);
}
.service-cta-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 16px rgba(0,141,151,0.25);
}
.service-cta-btn .btn-arrow {
  width: 18px; height: 18px;
  transition: transform 0.35s var(--ease-spring);
}
.service-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}
/* ボタン光沢スイープ */
.service-cta-btn::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
}
.service-cta-btn:hover::after {
  animation: ctaSweep 0.7s ease forwards;
}
@keyframes ctaSweep {
  to { left: 130%; }
}

/* ========================================
   FOOTER — シンプル構成
   ======================================== */
.footer { background: var(--dark); color: rgba(255,255,255,0.55); padding: 48px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-nav a { font-size: 14px; transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--white); }
.footer-logo img { height: 20px; width: auto; }
.footer-copyright {
  font-size: 13px; color: rgba(255,255,255,0.3); text-align: center; margin-top: 24px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* --- Tablet (1024px以下) --- */
@media (max-width: 1024px) {
  /* Activities / Press / Case Studies の左右パディング縮小 */
  .activities-header,
  .tab-nav,
  .tab-panel,
  .press-inner,
  .case-studies-header,
  .case-grid,
  .supporters-inner,
  .case-api-note { padding-left: 48px; padding-right: 48px; }

  .research-header,
  .research-cards { padding-left: 48px; padding-right: 48px; }

  .research-card { padding: 48px 56px; gap: 48px; }

  .act-card { width: calc(50% - 12px); }
}

/* --- SP (768px以下) --- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .sp-only { display: inline; }

  /* Header — SPではハンバーガーメニュー */
  .header { padding: 0 20px; }
  .header-inner { height: 56px; position: relative; }
  .header-nav { display: none; }
  .hamburger { display: block; }
  .header-logo img { height: 22px; }
  .header-left { gap: 12px; }
  .header-moveax-logo { height: 28px; position: fixed; left: 0; top: 14px; z-index: 100; }
  .header.scrolled .header-moveax-logo { width: 100px; }
  /* SPのみ: TOKIUMロゴを左右センター配置 */
  .header-logo,
  .header.scrolled .header-logo {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
  }

  /* Hero */
  .hero-main-text { font-size: clamp(18px, 5vw, 28px); letter-spacing: 0.06em; }
  .hero-label { font-size: clamp(16px, 4vw, 22px); }
  .hero-moveax { width: 260px; height: 52px; }
  .hero-marker-wrap { min-width: 340px; }
  .hero-marker {
    left: 50%; right: auto; top: 50%; bottom: auto;
    transform: translate(-50%, -50%);
    width: 340px; height: 86px;
  }
  .scroll-indicator { bottom: 32px; }

  /* Concept */
  .concept { height: auto; min-height: 100vh; padding: 80px 0 100px; }
  .concept-scroll { bottom: 28px; }
  .concept .container { gap: 24px; padding: 0 28px; }
  .concept-heading { font-size: 24px; max-width: 100%; }
  .concept-body { font-size: 14px; line-height: 1.9; max-width: 100%; }

  /* Activities */
  .activities { padding: 64px 0 60px; }
  .activities-header { padding: 0 20px; margin-bottom: 32px; }
  .activities-heading { font-size: 24px; }
  .activities-sub { font-size: 14px; }

  .tab-nav { padding: 0 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; top: 56px; }
  .tab-btn { padding: 12px 20px; font-size: 14px; white-space: nowrap; }
  .tab-panel { padding: 24px 20px 40px; }

  .card-grid { flex-direction: column; gap: 16px; }
  .act-card { width: 100%; }
  .act-card-title { font-size: 17px; }
  .act-card-body { padding: 16px 16px 20px; gap: 16px; }
  .carousel-bar { display: none; }
  .act-card--coming { display: none; }

  /* Press Releases */
  .press-releases { padding: 48px 0 64px; }
  .press-inner { padding: 0 20px; }
  .press-heading { font-size: 24px; }
  .press-sub { font-size: 14px; margin-bottom: 32px; }
  .press-item { flex-direction: column; gap: 8px; padding: 16px 0; }
  .press-item:hover { margin: 0; padding: 16px 0; border-radius: 0; }
  .press-more-wrap { justify-content: center; margin-top: 24px; }
  .press-more { font-size: 14px; padding: 10px 20px; }

  /* Case Studies */
  .case-studies { padding: 48px 0 64px; }
  .case-studies-header { padding: 0 20px; margin-bottom: 32px; }
  .case-studies-heading { font-size: 24px; }
  .case-studies-sub { font-size: 14px; }
  .case-grid { grid-template-columns: 1fr; padding: 0 20px; gap: 16px; }
  .case-api-note { padding: 16px 20px; font-size: 13px; }

  /* Supporters */
  .supporters { padding: 64px 0; }
  .supporters-inner { padding: 0 20px; }
  .supporters-heading { font-size: 24px; }
  .supporters-sub { font-size: 14px; margin-bottom: 32px; }
  .supporters-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  /* Service CTA */
  .service-cta { padding: 80px 0; }
  .service-cta-text { font-size: 1.1rem; margin-bottom: 32px; }
  .service-cta-btn { padding: 16px 36px; font-size: 15px; }

  /* Footer */
  .footer { padding: 36px 0; }
  .footer-inner { flex-direction: column; align-items: center; gap: 20px; }
  .footer-nav { flex-direction: column; align-items: center; gap: 12px; }
  .footer-copyright { font-size: 12px; margin-top: 16px; }

  /* Whitepaper grid */
  .wp-grid { grid-template-columns: 1fr; }
}
