/* ==========================================================================
   Design Tokens & CSS Variables
   Sofia Orange × Team Walk Green Palette
   ========================================================================== */
:root {
  /* Primary: Sofia Orange */
  --primary: #FF6B00;
  --primary-hover: #E05E00;
  --primary-light: #FFF0E6;
  --primary-soft: #FFF7F2;
  --shadow-primary: 0 10px 25px rgba(255, 107, 0, 0.22);
  
  /* Primary Accent 2: Team Walk Green */
  --teamwalk-green: #199E67;
  --teamwalk-green-hover: #148053;
  --teamwalk-green-light: #EBF7F0;
  --teamwalk-green-border: #A3E5C8;
  --shadow-green: 0 10px 25px rgba(25, 158, 103, 0.2);

  /* Aliases for health/well-being */
  --green: var(--teamwalk-green);
  --green-light: var(--teamwalk-green-light);
  
  /* Neutral Dark: Professional Slate Navy (BtoB grounding) */
  --secondary: #1E293B;
  --secondary-hover: #0F172A;
  --secondary-light: #F1F5F9;
  
  /* Microsoft 365 Blue (Complementary Accent) */
  --microsoft-blue: #0284C7;
  --microsoft-blue-light: #E0F2FE;
  --microsoft-blue-border: #BAE6FD;
  
  --red: #DC2626;
  --red-light: #FEE2E2;
  
  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-beige: #FAF8F5;
  --bg-dark: #0F172A;
  --bg-dark-accent: #1E293B;
  
  /* Text */
  --text-main: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --border-color: #E2E8F0;
  
  /* Fonts */
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: 'Noto Sans JP', 'Outfit', var(--font-base);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  
  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.35;
  color: var(--secondary);
}

p {
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white) !important; }
.max-w-xl { max-width: 740px; margin-left: auto; margin-right: auto; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #FF8A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green-gradient {
  background: linear-gradient(135deg, var(--teamwalk-green) 0%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-highlight {
  position: relative;
  display: inline-block;
}
.text-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 107, 0, 0.15);
  z-index: -1;
}

.text-green-highlight {
  position: relative;
  display: inline-block;
}
.text-green-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: rgba(25, 158, 103, 0.15);
  z-index: -1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 2px solid transparent;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 0, 0.32);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--secondary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--secondary-light);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.btn-green {
  background-color: var(--teamwalk-green);
  color: var(--text-white);
  box-shadow: var(--shadow-green);
}
.btn-green:hover {
  background-color: var(--teamwalk-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(25, 158, 103, 0.32);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.icon-left {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-emoji {
  font-size: 1.8rem;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-main-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo-main {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.logo-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}
.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Nav Menu */
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary);
  position: relative;
  padding: 6px 0;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}
.nav-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-menu a:hover {
  color: var(--primary);
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background-color: var(--secondary);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-tag.green {
  color: var(--teamwalk-green);
  background-color: var(--teamwalk-green-light);
}
.section-tag.light {
  color: var(--primary-light);
  background-color: rgba(255, 107, 0, 0.2);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Badges for Standard以上 etc. */
.badge-standard {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--microsoft-blue);
  background-color: var(--microsoft-blue-light);
  border: 1px solid var(--microsoft-blue-border);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
}

/* ==========================================================================
   Hero Section (セクション1: ファーストビュー)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 140px 0 90px 0;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

/* Background Shapes: Sofia Orange & Team Walk Green */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-bg-shapes .shape {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(100px);
  opacity: 0.14;
}
.shape-orange {
  top: -5%;
  left: 10%;
  width: 420px;
  height: 420px;
  background-color: var(--primary);
}
.shape-green {
  top: 25%;
  right: 15%;
  width: 450px;
  height: 450px;
  background-color: var(--teamwalk-green);
}
.shape-blue {
  bottom: 5%;
  left: 35%;
  width: 320px;
  height: 320px;
  background-color: #E2E8F0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge-label-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.badge-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.badge-label.highlight-sofia {
  color: var(--primary);
  border-color: rgba(255, 107, 0, 0.3);
  background-color: var(--primary-soft);
}
.badge-label.highlight-teamwalk {
  color: var(--teamwalk-green);
  border-color: rgba(25, 158, 103, 0.3);
  background-color: var(--teamwalk-green-light);
}

.hero-service-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.hero-brand-name {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.hero-brand-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-subtitle-en {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-subtitle-en .nickname-badge {
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.hero-lead-box {
  margin-bottom: 32px;
}
.hero-lead-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.hero-lead-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions-list {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 18px 0;
}
.hero-action-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.hero-action-pill.walk { background-color: var(--primary-light); color: var(--primary); }
.hero-action-pill.talk { background-color: var(--microsoft-blue-light); color: var(--microsoft-blue); }
.hero-action-pill.wellbeing { background-color: var(--teamwalk-green-light); color: var(--teamwalk-green); }

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.hero-cta-btn {
  padding: 16px 38px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px -6px rgba(255, 107, 0, 0.35);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}
.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(255, 107, 0, 0.45);
}

/* Hero Visual / Mockups */
.hero-visual {
  position: relative;
}
.visual-wrapper {
  position: relative;
  width: 100%;
}
.mockup-spo-bg {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  transition: transform var(--transition-normal);
}
.mockup-img {
  width: 100%;
  display: block;
}

/* Floating Mini Dashboard */
.mini-dashboard-card {
  position: absolute;
  bottom: -28px;
  left: -20px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 107, 0, 0.2);
  padding: 18px 20px;
  width: 105%;
  max-width: 440px;
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.12);
  animation: floatCard 4s ease-in-out infinite;
}

.mini-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.mini-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
}
.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--teamwalk-green);
  border-radius: var(--radius-full);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(25, 158, 103, 0.7);
  animation: pulse 1.6s infinite;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mini-item {
  display: flex;
  flex-direction: column;
}
.mini-number-wrap {
  display: flex;
  align-items: baseline;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}
.mini-item:nth-child(2) .mini-number-wrap {
  color: var(--primary);
}
.mini-item:nth-child(3) .mini-number-wrap,
.mini-item:nth-child(4) .mini-number-wrap {
  color: var(--teamwalk-green);
}
.mini-num {
  font-size: 1.2rem;
}
.mini-unit {
  font-size: 0.65rem;
  margin-left: 2px;
  color: var(--text-muted);
}
.mini-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(25, 158, 103, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(25, 158, 103, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(25, 158, 103, 0); }
}

/* ==========================================================================
   Problem Section (セクション2: 課題提起)
   ========================================================================== */
.problems-section {
  background-color: var(--bg-white);
}

.problem-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.problem-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 34px;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
}
.problem-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-white);
  border-color: rgba(255, 107, 0, 0.2);
  box-shadow: var(--shadow-md);
}

.problem-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.problem-card-icon.red-light {
  background-color: var(--red-light);
  color: var(--red);
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.problem-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.problem-summary-box {
  background-color: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 32px;
  margin-top: 40px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.problem-summary-box p {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Concept Section (セクション3: コンセプト＆図解)
   ========================================================================== */
.concept-section {
  background-color: var(--bg-beige);
}

.concept-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.concept-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 38px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid var(--border-color);
}
.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.concept-card-num {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(30, 41, 59, 0.05);
  line-height: 1;
}

.concept-card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.concept-icon {
  width: 28px;
  height: 28px;
}
.concept-icon.color-orange {
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 6px;
  border-radius: var(--radius-full);
}
.concept-icon.color-blue {
  color: var(--microsoft-blue);
  background-color: var(--microsoft-blue-light);
  padding: 6px;
  border-radius: var(--radius-full);
}
.concept-icon.color-green {
  color: var(--teamwalk-green);
  background-color: var(--teamwalk-green-light);
  padding: 6px;
  border-radius: var(--radius-full);
}

.concept-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.concept-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Flow Diagram */
.flow-diagram-container {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 70px;
  border: 1px solid var(--border-color);
}
.diagram-title {
  font-size: 1.35rem;
  margin-bottom: 36px;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.flow-step-card {
  flex: 1;
  text-align: center;
  padding: 24px 20px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  position: relative;
  border: 1px solid var(--border-color);
}
.flow-step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  margin: 0 auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step-icon i {
  width: 24px;
  height: 24px;
}
.orange-light { background-color: var(--primary-light); color: var(--primary); }
.blue-light { background-color: var(--microsoft-blue-light); color: var(--microsoft-blue); }
.green-light { background-color: var(--teamwalk-green-light); color: var(--teamwalk-green); }

.flow-step-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: block;
}
.flow-step-card h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.flow-step-card p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}
.flow-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}
.arrow-icon {
  width: 28px;
  height: 28px;
  animation: moveArrow 2s infinite;
}

@keyframes moveArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* 4-Item Role Diagram (役割分担: 4項目化) */
.role-diagram-section {
  margin-top: 40px;
}
.role-diagram-intro {
  margin-bottom: 36px;
  font-size: 1rem;
  color: var(--text-muted);
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.role-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
}
.role-card.border-teamwalk { border-top-color: var(--teamwalk-green); }
.role-card.border-teams { border-top-color: #0284C7; }
.role-card.border-sharepoint { border-top-color: #0078D4; }
.role-card.border-sofia { border-top-color: var(--primary); }

.role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
  align-self: flex-start;
}
.teamwalk-bg { background-color: var(--teamwalk-green); }
.teams-bg { background-color: #0284C7; }
.sharepoint-bg { background-color: #0078D4; }
.sofia-bg { background-color: var(--primary); }

.role-card h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.role-headline {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.role-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.role-list li {
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
  color: var(--text-main);
}
.list-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.teamwalk-text { color: var(--teamwalk-green); }
.teams-text { color: #0284C7; }
.sharepoint-text { color: #0078D4; }
.sofia-text { color: var(--primary); }

.role-card-link-wrap {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
}
.teamwalk-external-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teamwalk-green);
  transition: all var(--transition-fast);
}
.teamwalk-external-link:hover {
  color: var(--teamwalk-green-hover);
  text-decoration: underline;
}
.sofia-external-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  transition: all var(--transition-fast);
}
.sofia-external-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}
.external-icon {
  font-size: 0.85em;
  display: inline-block;
  transition: transform var(--transition-fast);
}
.teamwalk-external-link:hover .external-icon,
.sofia-external-link:hover .external-icon,
.footer-links a:hover .external-icon,
.collab-teamwalk-link:hover .external-icon,
.collab-sofia-link:hover .external-icon {
  transform: translate(2px, -2px);
}
.collab-teamwalk-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.collab-teamwalk-link:hover {
  color: var(--teamwalk-green);
}
.collab-sofia-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.collab-sofia-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   Features Section (セクション4: PROGRAM FEATURES)
   ========================================================================== */
.features-section {
  background-color: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 34px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(25, 158, 103, 0.25);
}

.feature-icon {
  width: 46px;
  height: 46px;
  background-color: var(--teamwalk-green-light);
  color: var(--teamwalk-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
  background-color: var(--primary-light);
  color: var(--primary);
}
.feature-card:nth-child(3) .feature-icon {
  background-color: var(--microsoft-blue-light);
  color: var(--microsoft-blue);
}
.feature-icon i {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Case Study Section (セクション5: 実績)
   ========================================================================== */
.case-study-section {
  background-color: var(--bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.stat-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 18px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.stat-card.highlighted {
  border-color: var(--primary);
  background-color: var(--primary-soft);
}
.stat-card.green-highlighted {
  border-color: var(--teamwalk-green);
  background-color: var(--teamwalk-green-light);
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
  line-height: 1.3;
  height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-value {
  color: var(--secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.stat-card.highlighted .stat-value {
  color: var(--primary);
}
.stat-card.green-highlighted .stat-value {
  color: var(--teamwalk-green);
}
.count-num {
  font-size: 1.45rem;
}
.stat-unit {
  font-size: 0.72rem;
  margin-left: 2px;
  font-weight: 700;
  color: var(--text-muted);
}

.trial-story-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 46px;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary);
}
.story-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.story-content p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.7;
}
.story-content .story-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Interactive Gallery Tab Panel */
.interactive-gallery {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.gallery-title {
  font-size: 1.25rem;
  margin-bottom: 26px;
}
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 16px;
}
.gallery-tab {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery-tab i {
  width: 18px;
  height: 18px;
}
.gallery-tab:hover {
  background-color: var(--bg-light);
  color: var(--secondary);
}
.gallery-tab.active {
  background-color: var(--teamwalk-green);
  color: var(--text-white);
}

.gallery-content-wrapper {
  position: relative;
}
.gallery-item-content {
  display: none;
}
.gallery-item-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.gallery-image-wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}
.gallery-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.gallery-caption h4 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 14px;
}
.gallery-caption p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Outputs Section (セクション6: 実施中に生まれるコンテンツ)
   ========================================================================== */
.outputs-section {
  background-color: var(--bg-white);
}

.outputs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.output-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-color);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: all var(--transition-fast);
}
.output-card:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(25, 158, 103, 0.25);
}

.output-img-placeholder {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background-color: var(--teamwalk-green-light);
  color: var(--teamwalk-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.output-img-placeholder i {
  width: 32px;
  height: 32px;
}

.output-info {
  position: relative;
}
.output-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: rgba(25, 158, 103, 0.15);
  position: absolute;
  top: -10px;
  right: 0;
  line-height: 1;
}
.output-info h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  padding-right: 36px;
}
.output-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Safety Section (セクション7: 心理的安全性)
   ========================================================================== */
.safety-section {
  background-color: var(--bg-white);
}
.safety-container-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-lg);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.safety-lead {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 36px;
}

.safety-features-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.safety-list-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.safety-list-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(25, 158, 103, 0.2);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.safety-list-icon i {
  width: 20px;
  height: 20px;
}
.safety-list-text h4 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 5px;
}
.safety-list-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.safety-checkpoints {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 36px;
  backdrop-filter: blur(10px);
}
.safety-checkpoints h3 {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 12px;
}
.checkpoints-ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}
.checkpoints-ul li {
  font-size: 0.86rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkpoints-ul li .check-icon {
  width: 17px;
  height: 17px;
  color: #34D399;
  flex-shrink: 0;
}

.safety-quote {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
}
.safety-quote p {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* ==========================================================================
   Pricing Section (セクション8: 提供プラン & 比較図解)
   ========================================================================== */
.plans-section {
  background-color: var(--bg-beige);
}

/* Plan Comparison Diagram (簡易比較図) */
.plan-comparison-container {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.comparison-title {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 26px;
  color: var(--secondary);
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.comparison-col {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-fast);
}
.comparison-col.highlight-lite {
  background-color: var(--primary-soft);
  border-color: rgba(255, 107, 0, 0.3);
}
.comparison-col.highlight-standard {
  background-color: var(--microsoft-blue-light);
  border-color: var(--microsoft-blue-border);
}
.comparison-badge {
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.comp-badge-lite { background-color: var(--primary); color: #fff; }
.comp-badge-standard { background-color: var(--microsoft-blue); color: #fff; }
.comp-badge-premium { background-color: var(--secondary); color: #fff; }

.comparison-col h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.comp-type {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}
.comp-formula {
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.6;
}
.comp-formula strong {
  display: block;
  font-weight: 700;
}
.comp-plus {
  color: var(--primary);
  font-weight: 800;
  margin: 2px 0;
  display: block;
}
.comparison-arrow {
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparison-arrow i {
  width: 26px;
  height: 26px;
}

/* Plan Cards Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.plan-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Lite Highlight */
.plan-card.lite-featured {
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(255, 107, 0, 0.12);
}
.plan-card.lite-featured:hover {
  box-shadow: 0 22px 46px rgba(255, 107, 0, 0.18);
}

.plan-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.plan-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.plan-en {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}
.plan-card:nth-child(2) .plan-en {
  color: var(--microsoft-blue);
}
.plan-card:nth-child(3) .plan-en {
  color: var(--secondary);
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.plan-catch {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.45;
  margin-bottom: 10px;
}
.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Notice for Lite: No SharePoint needed */
.lite-callout-box {
  background-color: var(--primary-light);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lite-callout-box i {
  color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.lite-callout-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #C2410C;
  line-height: 1.4;
}

/* Pricing Block */
.plan-price-block {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
}
.plan-price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.price-prefix {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-right: 4px;
}
.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}
.price-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.plan-card:nth-child(2) .price-number {
  color: var(--microsoft-blue);
}
.price-suffix {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-left: 2px;
}
.price-individual {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}
.plan-price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 8px;
  text-align: center;
}

/* Tooltip for Team Walk fee */
.price-teamwalk-fee {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.tooltip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teamwalk-green);
  cursor: help;
  border-bottom: 1px dotted var(--teamwalk-green);
  padding-bottom: 1px;
}
.tooltip-icon {
  width: 14px;
  height: 14px;
  color: var(--teamwalk-green);
}
.tooltip-content {
  visibility: hidden;
  opacity: 0;
  width: 250px;
  background-color: var(--secondary);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  position: absolute;
  z-index: 100;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  transition: opacity 0.2s, visibility 0.2s;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}
.tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--secondary) transparent transparent transparent;
}
.tooltip-trigger:hover .tooltip-content,
.tooltip-trigger:focus .tooltip-content {
  visibility: visible;
  opacity: 1;
}

.plan-meta {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.meta-item {
  display: flex;
  flex-direction: column;
}
.meta-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}
.meta-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
}

.plan-body {
  margin-bottom: 28px;
  flex-grow: 1;
}
.plan-body h4 {
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 0.84rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.plan-features li i {
  width: 15px;
  height: 15px;
  color: var(--teamwalk-green);
  flex-shrink: 0;
  margin-top: 2px;
}
.plan-card.lite-featured .plan-features li i {
  color: var(--primary);
}

.plan-footer {
  margin-top: auto;
}

/* Plans Footer Note (注記) */
.plans-footer-note {
  margin-top: 48px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--teamwalk-green);
  padding: 24px 30px;
  box-shadow: var(--shadow-sm);
}
.plans-footer-note h4 {
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plans-footer-note p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}
.plans-footer-note p:last-child {
  margin-bottom: 0;
}

/* Long-term / Permanent Support Box */
.longterm-support-box {
  margin-top: 36px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-soft) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 107, 0, 0.25);
  box-shadow: var(--shadow-sm);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}
.longterm-support-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--teamwalk-green) 100%);
}
.longterm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.longterm-badge i {
  width: 16px;
  height: 16px;
}
.longterm-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.longterm-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 20px;
}
.longterm-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.longterm-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #FFFFFF;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.longterm-feat-item .feat-icon-sm {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background-color: var(--teamwalk-green-light);
  color: var(--teamwalk-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.longterm-feat-item .feat-icon-sm i {
  width: 14px;
  height: 14px;
}
.longterm-feat-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 4px;
}
.longterm-feat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.longterm-cta-wrap {
  text-align: center;
  margin-top: 8px;
}

/* ==========================================================================
   Flow Section (セクション9: 導入の流れ)
   ========================================================================== */
.flow-section {
  background-color: var(--bg-white);
}

.flow-timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.flow-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  width: 2px;
  height: 100%;
  background-color: var(--border-color);
}

.flow-timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 46px;
}
.flow-timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background-color: var(--bg-white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.flow-timeline-item:nth-child(even) .timeline-badge {
  border-color: var(--teamwalk-green);
  color: var(--teamwalk-green);
}

.timeline-content {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  border: 1px solid var(--border-color);
}
.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.timeline-sub-notes {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline-sub-item {
  font-size: 0.84rem;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.timeline-sub-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.timeline-sub-tag.lite { background-color: var(--primary-light); color: var(--primary); }
.timeline-sub-tag.standard { background-color: var(--microsoft-blue-light); color: var(--microsoft-blue); }

/* ==========================================================================
   Use Cases Section (セクション10: 想定活用シーン)
   ========================================================================== */
.use-cases-section {
  background-color: var(--bg-light);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.use-case-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-fast);
  position: relative;
}
.use-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 158, 103, 0.25);
}

.use-case-icon {
  width: 40px;
  height: 40px;
  background-color: var(--teamwalk-green-light);
  color: var(--teamwalk-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.use-case-card:nth-child(even) .use-case-icon {
  background-color: var(--primary-light);
  color: var(--primary);
}
.use-case-icon i {
  width: 20px;
  height: 20px;
}

.use-case-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.use-case-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Contact Section (セクション11: お問い合わせ)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-dark);
  padding: 100px 0;
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  color: var(--text-white);
}
.contact-lead {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 34px;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 46px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.benefit-item i {
  color: var(--teamwalk-green);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.company-collab {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
}
.collab-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.collab-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}
.collab-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.collab-logo-icon {
  font-size: 1.8rem;
}
.collab-logo-name {
  display: flex;
  flex-direction: column;
}
.collab-logo-name strong {
  font-size: 0.92rem;
  font-weight: 700;
}
.collab-logo-name span {
  font-size: 0.72rem;
  opacity: 0.65;
}
.collab-sep {
  font-size: 1.25rem;
  opacity: 0.3;
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.contact-form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 26px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary);
}
.form-group .required {
  font-size: 0.65rem;
  background-color: var(--red-light);
  color: var(--red);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-group .optional {
  font-size: 0.65rem;
  background-color: var(--bg-light);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  transition: all var(--transition-fast);
  color: var(--text-main);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

/* Checkbox group styling: 10 options cleanly structured */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500 !important;
  color: var(--text-main);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Select Styling */
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: '▼';
  font-size: 0.65rem;
  color: var(--text-muted);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.form-group select {
  appearance: none;
  padding-right: 40px;
}

/* Validation Error Styles */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--red);
  background-color: var(--red-light);
}
.form-group.has-error .checkbox-group {
  border: 1px solid var(--red);
  padding: 10px;
  border-radius: var(--radius-sm);
  background-color: var(--red-light);
}
.error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--red);
  margin-top: 6px;
  font-weight: 700;
}
.form-group.has-error .error-msg {
  display: block;
}

/* Submit Button & Spinner */
#submitBtn {
  position: relative;
}
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-white);
  animation: spin 0.8s linear infinite;
  margin-left: 12px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Privacy Notice */
.form-privacy-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.65;
  text-align: left;
}
.form-privacy-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}
.form-privacy-link:hover {
  color: var(--primary-hover);
}

/* Success Screen */
.form-success-message {
  text-align: center;
  padding: 40px 10px;
  animation: fadeIn 0.4s ease;
}
.success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--teamwalk-green-light);
  color: var(--teamwalk-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}
.success-icon i {
  width: 36px;
  height: 36px;
}
.form-success-message h3 {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 12px;
}
.form-success-message p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ==========================================================================
   FAQ Section (よくある質問)
   ========================================================================== */
.faq-section {
  background-color: var(--bg-light);
  padding: 100px 0;
}
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
}
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}
.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.5;
  margin-top: 2px;
}
.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.faq-a-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background-color: var(--teamwalk-green-light);
  color: var(--teamwalk-green);
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}
.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-top: 3px;
  margin-bottom: 0;
}
.faq-link, .text-link-green {
  color: var(--teamwalk-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}
.faq-link:hover, .text-link-green:hover {
  color: var(--teamwalk-green-hover);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark-accent);
  color: var(--text-white);
  padding: 70px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-links h4 {
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
  padding-left: 10px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.dummy-link {
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-trademark {
  width: 100%;
}
.footer-trademark p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large Tablets & Desktop adjustments */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium Tablets (Portrait) */
@media (max-width: 992px) {
  section {
    padding: 75px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-content {
    text-align: center;
  }
  .badge-label-wrapper {
    justify-content: center;
  }
  .hero-subtitle-en {
    justify-content: center;
  }
  .hero-actions-list {
    justify-content: center;
  }
  .hero-cta-buttons {
    justify-content: center;
  }
  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }
  .mini-dashboard-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -35px;
    width: 95%;
  }
  @keyframes floatCard {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
  }
  
  .problem-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .concept-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .flow-steps {
    flex-direction: column;
    gap: 24px;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
  .flow-step-card {
    width: 100%;
  }
  
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-card:nth-child(7) {
    grid-column: span 2;
  }
  
  .outputs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .safety-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .comparison-arrow {
    transform: rotate(90deg);
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-links-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .site-header {
    height: var(--header-height);
  }
  
  /* Mobile Menu */
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    box-shadow: -10px 10px 30px rgba(0,0,0,0.1);
    transition: right var(--transition-normal);
    z-index: 999;
    padding: 36px 24px;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .nav-menu a {
    font-size: 1.05rem;
    font-weight: 700;
  }
  
  .header-cta {
    display: none !important;
  }
  
  /* Menu active toggle animation */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Hero typography */
  .hero-brand-name {
    font-size: 1.8rem;
  }
  .hero-brand-sub {
    font-size: 0.95rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-lead-main {
    font-size: 1rem;
  }
  
  .longterm-support-box {
    padding: 24px 20px;
  }
  .longterm-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-section {
    padding: 60px 0;
  }
  .faq-item {
    padding: 20px 18px;
  }
  .faq-question h3 {
    font-size: 1rem;
  }
  .faq-answer p {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .role-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(7) {
    grid-column: span 1;
  }
  
  .interactive-gallery {
    padding: 24px 16px;
  }
  .gallery-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }
  .gallery-tab {
    padding: 7px 16px;
    font-size: 0.85rem;
  }
  .gallery-image-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .flow-timeline::before {
    left: 20px;
  }
  .timeline-badge {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }
  .flow-timeline-item {
    padding-left: 54px;
    margin-bottom: 28px;
  }
  .timeline-content {
    padding: 18px 20px;
  }
  
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-cta-buttons {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .safety-container-box {
    padding: 30px 20px;
  }
  .safety-checkpoints {
    padding: 22px;
  }
  
  .contact-form-card {
    padding: 22px;
  }
}
