/* ============================================
   HFP Corporate Site — Design System
   Modern / Clean / Professional
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;600;700;900&display=swap');

/* --- CSS Variables --- */
:root {
  --green-900: #1B5E20;
  --green-800: #2E7D32;
  --green-700: #388E3C;
  --green-600: #43A047;
  --green-500: #4CAF50;
  --green-400: #66BB6A;
  --green-300: #81C784;
  --green-200: #A5D6A7;
  --green-100: #C8E6C9;
  --green-50:  #E8F5E9;
  --lime-500:  #8BC34A;
  --lime-400:  #9CCC65;
  --lime-300:  #AED581;
  --dark:      #0a0a0a;
  --dark-800:  #1a1a1a;
  --dark-700:  #2a2a2a;
  --dark-600:  #3a3a3a;
  --gray-500:  #6b7280;
  --gray-400:  #9ca3af;
  --gray-300:  #d1d5db;
  --gray-200:  #e5e7eb;
  --gray-100:  #f3f4f6;
  --gray-50:   #f9fafb;
  --white:     #ffffff;
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 900px;
}

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

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--green { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: var(--white); }
.section--light { background: var(--gray-50); }
.section--accent { background: linear-gradient(135deg, var(--green-50), #f0f9f0); }
.text-center { text-align: center; }
.text-green { color: var(--green-700); }
.text-lime { color: var(--lime-500); }
.text-gray { color: var(--gray-500); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; }
.section-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
  display: block;
}
.section--dark .section-label,
.section--green .section-label { color: var(--lime-400); }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.9;
}
.section--dark .section-subtitle { color: var(--gray-400); }
.section--green .section-subtitle { color: var(--green-200); }

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
  background: rgba(255,255,255,0);
}
.header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.logo-text {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--green-800);
  letter-spacing: 0.05em;
}
.nav { display: flex; align-items: center; gap: 20px; }
.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-700);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--green-600);
  transition: var(--transition);
}
.nav a:hover { color: var(--green-700); }
.nav a:hover::after { width: 100%; }
.nav-cta {
  background: var(--green-700) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-800) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--dark-800);
  transition: var(--transition);
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(27,94,32,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.hero-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lime-400);
  margin-bottom: 20px;
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(139,195,74,0.3);
  border-radius: 30px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 800px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--lime-400), var(--green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 560px;
  line-height: 2;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(67,160,71,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(67,160,71,0.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-outline-green {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-300);
}
.btn-outline-green:hover { background: var(--green-50); }
.btn-arrow::after { content: '→'; transition: var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: -60px;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-xl);
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-unit { font-size: 1rem; font-weight: 600; }
.stat-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--dark-800);
}
.card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
}
.card-number {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 900;
  color: var(--green-100);
  position: absolute;
  top: 20px; right: 24px;
  line-height: 1;
}

/* Dark card variant */
.section--dark .card {
  background: var(--dark-700);
  border-color: var(--dark-600);
}
.section--dark .card:hover { border-color: var(--green-600); }
.section--dark .card h3 { color: var(--white); }
.section--dark .card p { color: var(--gray-400); }
.section--dark .card-icon { background: linear-gradient(135deg, rgba(67,160,71,0.15), rgba(139,195,74,0.1)); }

/* --- Feature Section --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.feature-img:hover img { transform: scale(1.03); }
.feature-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-text p {
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 2;
}

/* --- Phase Timeline --- */
.timeline { margin-top: 48px; position: relative; max-width: 800px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 24px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-600), var(--green-200));
}
.timeline-item {
  position: relative;
  padding-left: 72px;
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 12px; top: 4px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-600);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.timeline-dot.active {
  background: var(--lime-500);
  box-shadow: 0 0 0 6px rgba(139,195,74,0.2);
}
.timeline-phase {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 4px;
}
.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--dark-700);
  line-height: 1.8;
}
.timeline-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--lime-400), var(--green-400));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}
.timeline-done .timeline-title {
  color: var(--green-700);
}
.timeline-done .timeline-desc {
  color: var(--dark-600);
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.process-step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}
.process-step::after {
  content: '→';
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--green-300);
}
.process-step:last-child::after { display: none; }
.process-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-200);
  margin-bottom: 12px;
}
.process-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.9rem;
}
.comparison-table thead th {
  background: var(--green-800);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
}
.comparison-table tbody tr { background: var(--white); }
.comparison-table tbody tr:nth-child(even) { background: var(--gray-50); }
.comparison-table tbody td { border-bottom: 1px solid var(--gray-200); }
.comparison-table .highlight {
  color: var(--green-700);
  font-weight: 700;
}

/* --- News --- */
.news-list { margin-top: 40px; }
.news-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.news-item:hover { padding-left: 8px; }
.news-date {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
  white-space: nowrap;
}
.news-title { font-size: 0.95rem; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--dark) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,195,74,0.1), transparent);
  top: -200px; right: -200px;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--green-200);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
  margin: 48px auto 0;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-700);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-jp);
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}
.form-group textarea { resize: vertical; min-height: 160px; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.9;
  margin-top: 16px;
  color: var(--gray-500);
}
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-links a {
  display: block;
  font-size: 0.85rem;
  padding: 4px 0;
  color: var(--gray-500);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--green-400); }
.footer-bottom {
  border-top: 1px solid var(--dark-700);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* --- Page Hero (Sub pages) --- */
.page-hero {
  padding: 140px 0 48px;
  background: linear-gradient(135deg, var(--dark), var(--green-900));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,195,74,0.08), transparent);
  bottom: -250px; right: -100px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--green-200);
  max-width: 600px;
  line-height: 1.9;
}

/* --- Momentum Ticker --- */
.ticker-wrap {
  background: var(--dark);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(-90deg, var(--dark), transparent); }
.ticker {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}
.ticker span {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 0 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ticker span::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--lime-500);
  border-radius: 50%;
  flex-shrink: 0;
}
.ticker .ticker-highlight {
  color: var(--lime-400);
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Momentum Section --- */
.momentum-strip {
  background: var(--dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.momentum-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,195,74,0.03) 0%, transparent 50%, rgba(27,94,32,0.05) 100%);
}
.momentum-text {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.momentum-text .accent-line {
  display: block;
  background: linear-gradient(135deg, var(--lime-400), var(--green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
}
.momentum-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

/* --- Scroll Animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- ESG Cards --- */
.esg-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.esg-card h3 { margin-bottom: 16px; }
.esg-card ul { margin-top: 12px; }
.esg-card li {
  font-size: 0.9rem;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--gray-500);
}
.esg-card li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-size: 0.5rem;
  top: 10px;
}

/* --- Advantage Grid (Technology page) --- */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.advantage-card {
  background: var(--dark-700);
  border: 1px solid var(--dark-600);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.advantage-card:hover {
  border-color: var(--green-600);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.advantage-num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--lime-400);
}
.advantage-body h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}
.advantage-body p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.8;
}
.advantage-keyword {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(139,195,74,0.08);
  position: absolute;
  bottom: 12px;
  right: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  pointer-events: none;
}
.advantage-card:hover .advantage-keyword {
  color: rgba(139,195,74,0.15);
}

/* --- Revenue Rocket --- */
.rocket-stage {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin-bottom: 32px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.rocket-stage:hover { box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.rocket-num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 900;
  color: var(--green-200);
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rocket-content h3 { font-size: 1.15rem; margin-bottom: 8px; }
.rocket-content p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.8; }
.rocket-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  color: var(--white);
}
.rocket-tag--early { background: var(--green-600); }
.rocket-tag--mid { background: var(--green-700); }
.rocket-tag--long { background: var(--green-900); }

/* --- Representative --- */
.rep-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.rep-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-100), var(--green-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--green-600);
  position: relative;
  overflow: hidden;
}
.rep-name {
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.rep-title {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--green-600);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.rep-message {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--dark-700);
}
.rep-message p { margin-bottom: 16px; }

/* --- Company Info Table --- */
.info-table {
  width: 100%;
  margin-top: 40px;
}
.info-table tr { border-bottom: 1px solid var(--gray-200); }
.info-table th {
  padding: 16px 24px 16px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-800);
  white-space: nowrap;
  width: 160px;
  text-align: left;
  vertical-align: top;
}
.info-table td {
  padding: 16px 0;
  font-size: 0.9rem;
  color: var(--dark-700);
}

/* ============================================
   Responsive — Mobile-First Redesign
   ============================================ */

/* --- Tablet (〜1024px) --- */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse { direction: ltr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rep-section { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .advantage-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile (〜768px) --- */
@media (max-width: 768px) {

  /* ナビゲーション → フルスクリーンメニュー */
  .nav {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 24px !important;
    z-index: 999 !important;
  }
  .nav.open {
    display: flex !important;
  }
  .nav a {
    font-size: 1.1rem;
    padding: 10px 0;
    color: var(--dark-800) !important;
  }
  .nav a::after { display: none !important; }
  .nav-cta {
    margin-top: 12px;
    padding: 12px 32px !important;
    font-size: 1rem !important;
    color: var(--white) !important;
  }
  .hamburger {
    display: flex !important;
    z-index: 1001;
    position: relative;
  }
  .hamburger span {
    background: var(--dark-800);
  }

  /* ヘッダー */
  .header-inner { height: 60px; }
  .logo img { height: 32px; }

  /* セクション共通 */
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .section-title { font-size: 1.5rem; margin-bottom: 16px; }
  .section-subtitle { font-size: 0.9rem; }
  .section-label { font-size: 0.7rem; margin-bottom: 8px; }

  /* ヒーロー（トップ） */
  .hero { min-height: 85vh; }
  .hero-content { padding: 100px 16px 60px; }
  .hero h1 { font-size: 1.75rem; line-height: 1.35; margin-bottom: 16px; }
  .hero-label { font-size: 0.65rem; padding: 5px 12px; margin-bottom: 16px; }
  .hero-desc { font-size: 0.9rem; line-height: 1.8; margin-bottom: 28px; }
  .hero-desc br { display: none; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* ページヒーロー（サブページ） */
  .page-hero { padding: 100px 0 48px; }
  .page-hero h1 { font-size: 1.75rem; }
  .page-hero p { font-size: 0.9rem; }
  .page-hero p br { display: none; }

  /* ティッカー */
  .ticker-wrap { padding: 10px 0; }
  .ticker span { font-size: 0.7rem; padding: 0 28px; }

  /* Stats Bar */
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    margin-top: -32px;
    padding: 20px;
    gap: 16px;
    border-radius: var(--radius);
  }
  .stat-number { font-size: 1.6rem; }
  .stat-desc { font-size: 0.7rem; }

  /* カード */
  .card-grid,
  .card-grid-3,
  .card-grid-2,
  .advantage-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: 0.85rem; }
  .card-number { font-size: 2.5rem; top: 12px; right: 16px; }
  .card-icon { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 14px; }

  /* Advantage Cards (Technology) */
  .advantage-card { padding: 24px 20px; }
  .advantage-keyword { font-size: 2.5rem; }

  /* Feature Row */
  .feature-row { gap: 24px; padding: 24px 0; }
  .feature-text h3 { font-size: 1.25rem; }
  .feature-text p { font-size: 0.9rem; line-height: 1.8; }
  .feature-img { aspect-ratio: 16/10; border-radius: var(--radius); }

  /* Hard Facts */
  #facts .section-title { font-size: 1.3rem !important; }
  #facts div[style*="display:flex"] {
    flex-direction: column !important;
    gap: 4px !important;
  }
  #facts span[style*="font-size:2.5rem"] {
    font-size: 1.8rem !important;
  }
  #facts span[style*="font-size:1.05rem"] {
    font-size: 0.85rem !important;
  }

  /* タイムライン */
  .timeline::before { left: 16px; }
  .timeline-item { padding-left: 52px; padding-bottom: 36px; }
  .timeline-dot { left: 6px; width: 22px; height: 22px; }
  .timeline-title { font-size: 1.05rem; }
  .timeline-desc { font-size: 0.85rem; }
  .timeline-phase { font-size: 0.7rem; }

  /* プロセスステップ */
  .process-steps { grid-template-columns: 1fr; gap: 8px; }
  .process-step { padding: 20px 16px; text-align: left; display: flex; gap: 16px; align-items: center; }
  .process-step::after { display: none; }
  .process-num { font-size: 1.5rem; margin-bottom: 0; min-width: 40px; }
  .process-step h4 { margin-bottom: 4px; }

  /* 比較テーブル */
  .comparison-table { font-size: 0.75rem; }
  .comparison-table th,
  .comparison-table td { padding: 8px 10px; }

  /* ロケットステージ（IR） */
  .rocket-stage { flex-direction: column; gap: 12px; padding: 24px; }
  .rocket-num { font-size: 2rem; min-width: auto; justify-content: flex-start; }
  .rocket-content h3 { font-size: 1.05rem; }

  /* 代表者セクション */
  .rep-section { gap: 32px; }
  .rep-photo { aspect-ratio: 1/1; max-width: 280px; margin: 0 auto; }
  .rep-name { font-size: 1.5rem; }
  .rep-message { font-size: 0.9rem; line-height: 2; }

  /* 会社概要テーブル */
  .info-table th {
    display: block;
    width: 100%;
    padding: 12px 0 0;
    font-size: 0.8rem;
  }
  .info-table td {
    display: block;
    padding: 4px 0 12px;
    font-size: 0.85rem;
  }

  /* モーメンタムセクション */
  .momentum-strip { padding: 48px 0; }
  .momentum-text { font-size: 1.3rem; }
  .momentum-text .accent-line { font-size: 1.8rem; }
  .momentum-sub { font-size: 0.8rem; margin-top: 16px; }

  /* CTAセクション */
  .cta-section { padding: 56px 0; }
  .cta-section h2 { font-size: 1.3rem; }
  .cta-section h2 br { display: none; }
  .cta-section p { font-size: 0.9rem; margin-bottom: 24px; }
  .cta-section p br { display: none; }

  /* お問い合わせ 2カラム → 1カラム */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* ニュースリスト */
  .news-item { flex-direction: column; gap: 4px; padding: 16px 0; }
  .news-item:hover { padding-left: 0; }
  .news-date { font-size: 0.75rem; }
  .news-title { font-size: 0.9rem; }
  /* ニュース詳細ページのピン留めアイテム */
  .news-item[style*="padding:24px"] {
    padding: 16px !important;
  }

  /* ESGカード */
  .esg-card { padding: 24px; }
  .esg-card li { font-size: 0.85rem; }

  /* ボタン */
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .cta-section .btn,
  .momentum-strip + .cta-section .btn { width: auto; }
  div[style*="display:flex"][style*="justify-content:center"] {
    flex-direction: column;
    align-items: center;
  }

  /* フッター */
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* --- Small Mobile (〜480px) --- */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
  .stat-number { font-size: 1.4rem; }
  .momentum-text { font-size: 1.15rem; }
  .momentum-text .accent-line { font-size: 1.5rem; }
  .section-title { font-size: 1.3rem; }
  .card { padding: 20px; }
  .feature-text h3 { font-size: 1.1rem; }

  /* 4PH右カラムのボックス */
  .feature-row > div[style*="text-align:center"] {
    gap: 16px !important;
  }
  .feature-row > div[style*="text-align:center"] > div {
    padding: 20px !important;
  }
}
