/* =========================================================
   Reset / Base
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Noto Sans JP", "Inter", "Helvetica Neue",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo",
    system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
}

/* 英字見出し・ラベル類は Inter */
.section-eyebrow,
.logo-mark,
.logo-text,
.hero-eyebrow,
.service-card-tag,
.feature-num,
.flow-step-num,
.voice-tag,
.profile-name-en,
.btn-sub,
.copyright,
.line-eyebrow,
.schedule-month {
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}

a:hover {
  opacity: .75;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  color: inherit;
}

/* =========================================================
   Design Tokens
   ========================================================= */
:root {
  /* Palette: white / dark gray base + 深いネイビーのアクセント */
  --bg: #ffffff;
  --bg-soft: #f6f5f2;        /* わずかに暖色のオフホワイト */
  --bg-light: #fbfaf8;
  --bg-dark: #1a1d24;        /* 黒に近いが少しネイビー寄り */
  --bg-darker: #11141a;

  --text: #14161b;           /* 本文は十分なコントラスト */
  --text-strong: #0b0d11;
  --text-muted: #4f535b;     /* 旧 #6b6b70 → 濃くして可読性UP */
  --text-soft: #7a7d85;
  --text-on-dark: #f4f3ee;
  --text-on-dark-muted: #a8acb3;

  --border: #e6e3dc;         /* 暖色グレー */
  --border-strong: #d8d4cb;
  --border-dark: #292d36;

  /* Primary action — 強いコントラスト */
  --accent: #14161b;
  --accent-hover: #000000;

  /* Brand accent — 深いネイビー（信頼感の差し色） */
  --navy: #1f3a5f;
  --navy-deep: #14274a;

  /* LINE brand */
  --line: #06c755;
  --line-hover: #05b34c;

  /* Layout */
  --container: 1120px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 8px;

  --header-h: 64px;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 80px 0;
}

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

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-dark .section-eyebrow,
.section-dark .feature-num {
  color: var(--text-on-dark-muted);
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-lead {
  color: var(--text-muted);
  font-size: 15px;
}

.section-dark .section-lead {
  color: var(--text-on-dark-muted);
}

.sp-only { display: none; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 16px 28px;
  min-width: 220px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}

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

.btn-sm {
  padding: 10px 20px;
  min-width: auto;
  font-size: 13px;
}

.btn-lg {
  padding: 20px 40px;
  font-size: 16px;
  min-width: 280px;
}

.btn-label {
  display: block;
}

.btn-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  opacity: .75;
  margin-top: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

.section-dark .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

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

.btn-line:hover {
  background: var(--line-hover);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
}

.logo-mark {
  font-size: 20px;
  letter-spacing: .02em;
}

.logo-text {
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--text-muted);
}

.global-nav ul {
  display: flex;
  gap: 28px;
}

.global-nav a {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text);
}

.header-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 96px 0 120px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--navy);
  margin-bottom: 28px;
}

.hero-title {
  font-size: 38px;
  line-height: 1.55;
  letter-spacing: .05em;
  margin-bottom: 32px;
  font-weight: 700;
  color: var(--text-strong);
}

.hero-title .accent {
  background: linear-gradient(180deg, transparent 68%, rgba(31, 58, 95, .18) 68%);
  padding: 0 4px;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-points li {
  position: relative;
  padding-left: 18px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .9em;
  width: 12px;
  height: 1.5px;
  background: var(--navy);
}

/* Hero 3-pillar cards */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.hero-pillars li {
  padding: 22px 20px 22px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--border);
  border-top: 2px solid var(--navy);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-pillar-num {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  color: var(--navy);
}

.hero-pillar-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--text-strong);
}

.hero-pillar-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-visual {
  position: relative;
}

.hero-image {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #ececee 0%, #d9d9dc 100%);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -30px rgba(20, 23, 28, .25);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-image,
.seminar-intro-image,
.profile-image,
.line-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #ececee 0%, #d9d9dc 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: .25em;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  display: block;
}

.scroll-down span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--text-soft));
}

.scroll-down span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--text-soft);
  border-bottom: 1px solid var(--text-soft);
  transform: rotate(45deg);
}

/* =========================================================
   Service split
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .15);
}

.service-card-image {
  aspect-ratio: 16 / 10;
  border-radius: 0;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 32px 28px;
}

.service-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card-title {
  font-size: 24px;
  margin-bottom: 16px;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.service-card-arrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
}

/* =========================================================
   Trouble / Feature / Flow
   ========================================================= */
.trouble-list {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 64px;
}

.trouble-title {
  font-size: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.trouble-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.trouble-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}

.trouble-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text-on-dark);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.feature-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
}

.section:not(.section-dark) .feature-card {
  background: #fff;
  border-color: var(--border);
}

/* 画像付き feature card */
.feature-card-has-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-image {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm, #efece6);
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.feature-card-has-image:hover .feature-card-image img {
  transform: scale(1.04);
}

.feature-card-has-image .feature-num,
.feature-card-has-image .feature-title,
.feature-card-has-image .feature-desc {
  padding-left: 28px;
  padding-right: 28px;
}

.feature-card-has-image .feature-num { margin-top: 24px; }

.feature-card-has-image .feature-desc { padding-bottom: 32px; }

/* 雰囲気帯 */
.rehab-banner {
  margin: 0 auto 48px;
  max-width: 1080px;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  background: var(--bg-warm, #efece6);
}

.rehab-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-num {
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 14px;
}

.section-dark .feature-desc {
  color: var(--text-on-dark-muted);
}

.flow {
  margin-bottom: 64px;
}

.flow-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 40px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.flow-steps > li {
  padding: 28px 20px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
}

.section:not(.section-dark) .flow-steps > li {
  background: #fff;
  border-color: var(--border);
}

/* 画像付き Flow */
.flow-steps-with-image > li {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.flow-step-image {
  margin: 0 0 18px;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-warm, #efece6);
}

.flow-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flow-steps-with-image .flow-step-num,
.flow-steps-with-image h4,
.flow-steps-with-image p {
  padding-left: 22px;
  padding-right: 22px;
}

.flow-steps-with-image .flow-step-num { margin-top: 4px; }
.flow-steps-with-image p { padding-bottom: 24px; }

.flow-step-num {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.flow-steps h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.flow-steps p {
  font-size: 13px;
  color: var(--text-muted);
}

.section-dark .flow-steps p {
  color: var(--text-on-dark-muted);
}

/* Section CTA */
.section-cta {
  text-align: center;
}

.section-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-cta-stack .btn { width: 100%; max-width: 360px; }

.section-cta-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-muted);
}

.follow-link-sub {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-on-dark-muted);
}

.section-dark .section-cta-note {
  color: var(--text-on-dark-muted);
}

/* =========================================================
   Seminar
   ========================================================= */
.seminar-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}

.seminar-intro-image {
  aspect-ratio: 4 / 3;
}

.seminar-intro h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  width: 14px;
  height: 7px;
  border-left: 1.5px solid var(--text);
  border-bottom: 1.5px solid var(--text);
  transform: rotate(-45deg);
}

.seminar-schedule {
  margin-bottom: 40px;
}

.seminar-schedule-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 24px;
  letter-spacing: .06em;
}

.schedule-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.schedule-list > li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .25s ease, transform .25s ease;
}

.schedule-list > li:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.schedule-month {
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 直近開催の日付は大きく強調 */
.schedule-list:not(.schedule-list-past) .schedule-month {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--navy);
}

/* 過去開催の日付（年＋月） */
.schedule-list-past .schedule-month {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--navy);
  text-align: center;
  line-height: 1.5;
}

.schedule-body h4 {
  font-size: 17px;
  margin-bottom: 6px;
  line-height: 1.55;
}

.schedule-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}

.schedule-status {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0 0 8px !important;
}

.schedule-status-open {
  background: var(--line);
  color: #fff;
}

.schedule-status-done {
  background: var(--bg-warm, #efece6);
  color: var(--text-soft);
  border: 1px solid var(--border);
}

/* これまでの勉強会（アーカイブ） */
.seminar-archive {
  max-width: 720px;
  margin: 0 auto 56px;
}

.seminar-archive-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.seminar-archive-head .seminar-schedule-title {
  text-align: left;
  margin: 0;
  font-size: 18px;
}

.seminar-archive-more {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 1px;
  flex-shrink: 0;
}

.schedule-list-past > li {
  background: var(--bg-soft);
  border-color: var(--border);
  opacity: .92;
}

.schedule-list-past > li:hover { opacity: 1; }

/* 開催予定なし empty state */
.seminar-empty {
  max-width: 600px;
  margin: 0 auto;
  padding: 28px 24px;
  text-align: center;
  background: rgba(255, 255, 255, .04);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 2;
  color: var(--text-on-dark-muted);
}

.section:not(.section-dark) .seminar-empty,
.seminar-empty-block {
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
}

.seminar-empty .text-link { color: var(--line); border-color: var(--line); }

/* =========================================================
   Profile
   ========================================================= */
.profile {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.profile-image {
  aspect-ratio: 4 / 5;
}

.profile-name {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.profile-name-en {
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--text-muted);
}

.profile-name-ja {
  font-size: 26px;
  font-weight: 700;
}

.profile-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.profile-text {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 28px;
}

.profile-career li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}

/* =========================================================
   Voice
   ========================================================= */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.voice-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25em;
  color: var(--navy);
  margin-bottom: 16px;
}

.voice-title {
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.voice-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.voice-meta {
  font-size: 12px;
  color: var(--text-soft);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* =========================================================
   介入シーン（Scene）
   ========================================================= */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scene-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}

.scene-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(20, 23, 28, .15);
}

.scene-card-image {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm, #efece6);
}

.scene-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.scene-card:hover .scene-card-image img {
  transform: scale(1.04);
}

.scene-card-body {
  padding: 28px 26px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scene-num {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--navy);
  margin-bottom: 14px;
}

.scene-card-title {
  font-size: 19px;
  letter-spacing: .06em;
  margin-bottom: 14px;
  line-height: 1.5;
}

.scene-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
}

.scene-card-cta {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: var(--bg-dark);
}

.scene-card-cta .scene-card-body {
  justify-content: center;
  padding: 36px 28px;
}

.scene-card-cta .scene-card-title { color: var(--text-on-dark); }
.scene-card-cta .scene-card-desc { color: var(--text-on-dark-muted); margin-bottom: 20px; }
.scene-card-cta:hover { border-color: var(--bg-dark); }

.scene-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
  align-self: flex-start;
}

/* =========================================================
   FOLLOW ラダー（SNS → LINE → 問い合わせ）
   ========================================================= */
.follow-eyebrow { color: var(--text-on-dark-muted); }
.follow-title { color: var(--text-on-dark); }
.follow-lead { color: var(--text-on-dark-muted); }

.follow-ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.follow-step {
  padding: 32px 24px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.follow-step-num {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--text-on-dark-muted);
}

.follow-step h3 {
  font-size: 18px;
  letter-spacing: .06em;
  color: var(--text-on-dark);
}

.follow-step > p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--text-on-dark-muted);
  flex: 1;
}

.follow-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--text-on-dark);
  padding-bottom: 2px;
  align-self: flex-start;
}

.follow-link-line {
  color: var(--line);
  border-color: var(--line);
}

.follow-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.follow-sns-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-on-dark);
  transition: background .2s ease, color .2s ease;
}

.follow-sns-link:hover {
  opacity: 1;
  background: var(--text-on-dark);
  color: var(--bg-dark);
}

.follow-sns-mark {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  padding: 3px 6px;
  border: 1px solid currentColor;
  border-radius: 3px;
}

/* =========================================================
   Profile additions
   ========================================================= */
.profile-subhead {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 28px 0 12px;
  color: var(--text-strong);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.profile-tags li {
  font-size: 12.5px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.profile-cta {
  margin-top: 20px;
}

.text-link {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* =========================================================
   Footer SNS
   ========================================================= */
.footer-sns {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  margin-top: 32px;
  justify-content: center;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--text-on-dark);
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: background .2s ease, color .2s ease;
}

.footer-sns a:hover {
  opacity: 1;
  background: var(--text-on-dark);
  color: var(--bg-darker);
}

/* =========================================================
   LINE section
   ========================================================= */
.section-line {
  background: var(--bg-darker);
  color: var(--text-on-dark);
}

.line-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

.line-eyebrow {
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--text-on-dark-muted);
  margin-bottom: 12px;
}

.line-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.line-lead {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.line-steps {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.line-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-on-dark);
}

.line-steps li span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--text-on-dark);
  color: var(--bg-darker);
  font-size: 11px;
  font-weight: 700;
}

.line-image-placeholder {
  aspect-ratio: 1 / 1;
  max-width: 280px;
  margin: 0 auto;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
  transition: transform .3s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: 14px;
}

/* =========================================================
   Contact hub (2-form router)
   ========================================================= */
.contact-hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.contact-hub-card {
  display: block;
  padding: 36px 32px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  color: var(--text-on-dark);
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}

.contact-hub-card:hover {
  opacity: 1;
  border-color: #fff;
  background: rgba(255, 255, 255, .07);
  transform: translateY(-3px);
}

.contact-hub-tag {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--text-on-dark-muted);
  margin-bottom: 14px;
}

.contact-hub-title {
  font-size: 22px;
  letter-spacing: .06em;
  margin-bottom: 14px;
  color: var(--text-on-dark);
}

.contact-hub-desc {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  line-height: 2;
  margin-bottom: 20px;
}

.contact-hub-arrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--text-on-dark);
  padding-bottom: 2px;
}

.contact-hub-arrow-line {
  color: var(--line);
  border-bottom-color: var(--line);
}

/* =========================================================
   Form sections (split: rehab / seminar)
   ========================================================= */
.section-form {
  background: var(--bg-soft);
  color: var(--text);
  scroll-margin-top: var(--header-h);
}

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

.container-narrow {
  max-width: 760px;
}

.form-head {
  text-align: center;
  margin-bottom: 48px;
}

.form-head .section-eyebrow { color: var(--navy); }

.form-head .section-title { color: var(--text-strong); }

.form-head .section-lead { color: var(--text-muted); }

.form-head-cta {
  margin-top: 20px;
}

.form-row-note {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-soft);
}

.form-checks {
  display: grid;
  gap: 10px;
}

.form-checks label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  transition: border-color .2s ease, background .2s ease;
}

.form-checks label:hover {
  border-color: var(--navy);
}

.form-checks input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.form-submit-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.9;
}

/* =========================================================
   Contact form
   ========================================================= */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 24px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: .04em;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 58, 95, .12);
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--navy);
  color: #fff;
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: .1em;
}

.form-row-check label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-darker);
  color: var(--text-on-dark);
  padding: 64px 0 100px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-address {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  line-height: 1.8;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  font-size: 12px;
  color: var(--text-on-dark-muted);
  text-align: center;
  letter-spacing: .1em;
}

/* =========================================================
   Floating CTA
   ========================================================= */
.floating-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  gap: 8px;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
}

.floating-cta-primary {
  flex: 1 1 auto;
  background: var(--accent);
  color: #fff;
}

.floating-cta-line {
  flex: 0 0 96px;
  background: var(--line);
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .06em;
}

.floating-cta-line-label {
  display: block;
}

/* =========================================================
   noteで発信中
   ========================================================= */
.note-feed-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.note-feed-item a {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  height: 100%;
}

.note-feed-item a:hover {
  opacity: 1;
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: 0 16px 32px -20px rgba(20, 23, 28, .15);
}

.note-feed-thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-warm, #efece6);
  overflow: hidden;
}

.note-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.note-feed-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-feed-body time {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--text-soft);
}

.note-feed-title {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--text-strong);
  margin: 0;
}

.note-feed-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
  margin: 0;
}

.note-feed-more {
  margin-top: auto;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--navy);
}

.note-feed-empty {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 32px 16px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
}

.note-feed-link {
  margin-top: 36px;
  text-align: center;
}

@media (max-width: 960px) {
  .note-feed-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .note-feed-list { grid-template-columns: 1fr; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner,
  .seminar-intro,
  .profile,
  .line-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-grid,
  .voice-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .trouble-list ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .follow-ladder { grid-template-columns: repeat(2, 1fr); }
  .contact-hub { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root {
    --header-h: 56px;
  }

  body {
    padding-bottom: 80px; /* space for floating CTA */
  }

  .scene-grid { grid-template-columns: 1fr; gap: 12px; }
  .scene-card-body { padding: 24px 22px 28px; }
  .scene-card-cta .scene-card-body { padding: 28px 22px; }

  .follow-ladder { grid-template-columns: 1fr; gap: 12px; }
  .follow-step { padding: 24px 22px; }

  .profile-tags li { font-size: 11.5px; padding: 5px 10px; }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-lead {
    font-size: 14px;
    text-align: left;
  }

  .sp-only { display: inline; }
  .sp-hidden { display: none; }

  /* Header */
  .global-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }

  /* Hero */
  .hero {
    padding: 56px 0 72px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-lead {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .hero-eyebrow {
    margin-bottom: 20px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-points {
    flex-direction: column;
    gap: 6px;
  }

  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-pillars li { padding: 18px 18px; }
  .hero-pillar-title { font-size: 14px; }

  .hero-image {
    aspect-ratio: 4 / 3;
  }

  .scroll-down { display: none; }

  /* Service */
  .service-card-body {
    padding: 24px 20px;
  }

  /* Feature / Flow */
  .feature-grid,
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card,
  .flow-steps > li {
    padding: 24px 20px;
  }

  .trouble-list {
    padding: 28px 20px;
  }

  /* Schedule */
  .schedule-list > li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .schedule-list:not(.schedule-list-past) .schedule-month { font-size: 22px; }

  .seminar-archive-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .seminar-archive-head .seminar-schedule-title { font-size: 16px; }

  /* Profile */
  .profile-name {
    flex-direction: column;
    gap: 4px;
  }

  .profile-name-ja {
    font-size: 22px;
  }

  /* LINE */
  .line-title {
    font-size: 24px;
  }

  .line-steps {
    gap: 8px;
  }

  .line-steps li {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Contact form */
  .contact-form {
    padding: 28px 20px;
  }

  /* Buttons sized for thumb */
  .btn {
    padding: 16px 24px;
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .btn-lg {
    padding: 18px 24px;
    min-width: 0;
    width: 100%;
  }

  /* Footer */
  .site-footer {
    padding: 48px 0 96px;
  }

  .footer-nav ul {
    grid-template-columns: 1fr;
  }

  /* Floating CTA visible on mobile */
  .floating-cta {
    display: flex;
  }
}

@media (max-width: 380px) {
  .section-title {
    font-size: 22px;
  }

  .hero-title {
    font-size: 22px;
  }
}

/* =========================================================
   Mobile: persistent horizontal-scroll navigation
   ========================================================= */
@media (max-width: 720px) {
  /* ハンバーガー非表示（不要） */
  .menu-toggle { display: none !important; }

  /* ヘッダーをbackdrop-filter解除＋2段組に */
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0 0;
    gap: 8px;
    row-gap: 6px;
  }

  /* 1段目：ロゴ + CTAボタン */
  .logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .logo-text {
    display: none;
  }

  .header-cta {
    order: 2;
    display: block !important;
    flex-shrink: 0;
  }

  .header-cta .btn {
    padding: 8px 14px;
    min-width: auto;
    width: auto;
    font-size: 12px;
    max-width: none;
  }

  /* 2段目：ナビを横スクロール表示 */
  .global-nav {
    order: 3;
    display: block !important;
    position: static !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 -16px;
    padding: 0 16px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    height: auto !important;
    z-index: auto !important;
  }

  .global-nav::-webkit-scrollbar {
    display: none;
  }

  .global-nav ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .global-nav li {
    flex-shrink: 0;
    border: none !important;
  }

  .global-nav a {
    display: inline-block !important;
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    white-space: nowrap;
    background: var(--bg-soft) !important;
    border: 1px solid var(--border) !important;
    border-radius: 999px !important;
    color: var(--text) !important;
    text-decoration: none;
    letter-spacing: .02em;
  }

  .global-nav a:hover,
  .global-nav a:active {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
    opacity: 1;
  }

  /* バックドロップは不要 */
  .nav-backdrop {
    display: none !important;
  }

  /* ヘッダー全体の高さを少し増やしてもよい */
  :root {
    --header-h: auto;
  }
}

/* =========================================================
   Anchor offset for direct deep-links (LINEリッチメニュー等から)
   ========================================================= */
#upcoming,
#seminar,
#rehab,
#contact,
#contact-rehab,
#service,
#scene,
#profile,
#voice,
#follow,
#faq {
  scroll-margin-top: 80px;
}

@media (max-width: 720px) {
  #upcoming,
  #seminar,
  #rehab,
  #contact,
  #contact-rehab,
  #service,
  #scene,
  #profile,
  #voice,
  #follow,
  #faq {
    scroll-margin-top: 120px; /* スマホは2段ヘッダーで高いため余裕を持たせる */
  }
}

/* =========================================================
   ① Feature Grid Venn: 3つの円がオーバーラップするデザイン
   ========================================================= */
.feature-grid-venn {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin: 60px auto 80px !important;
  max-width: 880px;
  padding: 0 16px;
  grid-template-columns: none !important;
}

.feature-grid-venn .feature-card {
  width: 240px;
  height: 240px;
  min-width: 240px;
  border-radius: 50% !important;
  padding: 28px 24px !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 -36px;
  position: relative;
  background: rgba(31, 58, 95, 0.92);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 32px -12px rgba(20, 23, 28, 0.25);
  transition: transform .3s ease, z-index 0s .3s;
}

.feature-grid-venn .feature-card:nth-child(1) {
  background: rgba(31, 58, 95, 0.92);
  z-index: 3;
}
.feature-grid-venn .feature-card:nth-child(2) {
  background: rgba(20, 39, 74, 0.92);
  z-index: 2;
}
.feature-grid-venn .feature-card:nth-child(3) {
  background: rgba(20, 23, 28, 0.92);
  z-index: 1;
}

.feature-grid-venn .feature-card:hover {
  transform: scale(1.06);
  z-index: 10 !important;
  transition: transform .3s ease, z-index 0s 0s;
}

.feature-grid-venn .feature-num {
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 10px !important;
  font-size: 11px !important;
}

.feature-grid-venn .feature-title {
  color: #fff !important;
  font-size: 15px !important;
  margin-bottom: 10px !important;
  line-height: 1.45;
}

.feature-grid-venn .feature-desc {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  max-width: 180px;
}

/* モバイル: 縦並びで重なる円 */
@media (max-width: 720px) {
  .feature-grid-venn {
    flex-direction: column !important;
    align-items: center;
    margin: 40px auto 60px !important;
  }
  .feature-grid-venn .feature-card {
    width: 220px;
    height: 220px;
    min-width: 220px;
    margin: -36px 0;
    padding: 24px 20px !important;
  }
  .feature-grid-venn .feature-card:nth-child(1) { margin-top: 0; }
  .feature-grid-venn .feature-card:nth-child(3) { margin-bottom: 0; }
}

/* =========================================================
   ② Scroll-triggered animations
   ========================================================= */
.scroll-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion対応 */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
