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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  min-height: 100vh;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   CSS Custom Properties — Single source of truth
   ============================================================ */
:root {
  /* Colors — Base */
  --color-white:          #FFFFFF;
  --color-off-white:      #F8FAF9;
  --color-cream:          #F2F7F4;

  /* Colors — Blue */
  --color-sky-light:      #E8F4FD;
  --color-sky-mid:        #B8DBF5;
  --color-sky-accent:     #6BAED6;
  --color-sky-deep:       #3A86C8;

  /* Colors — Green */
  --color-mint-light:     #E8F5EE;
  --color-mint-mid:       #A8D8BC;
  --color-green-primary:  #4CAF82;
  --color-green-deep:     #2E7D5E;

  /* Colors — Neutrals */
  --color-text-primary:   #2C3E35;
  --color-text-secondary: #5A7368;
  --color-text-light:     #8BA99A;
  --color-border:         #D4E8DC;

  /* Gradients */
  --gradient-brand:       linear-gradient(135deg, #4CAF82, #6BAED6);
  --gradient-brand-rev:   linear-gradient(135deg, #6BAED6, #4CAF82);
  --gradient-hero:        linear-gradient(160deg, rgba(46,125,94,0.62), rgba(107,174,214,0.45));
  --gradient-contact:     linear-gradient(135deg, #E8F4FD, #E8F5EE);

  /* Typography */
  --font-japanese:  'Noto Sans JP', sans-serif;
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-ui:        'DM Sans', 'Noto Sans JP', sans-serif;

  /* Font Sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.75rem;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  5rem;
  --space-4xl:  8rem;

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(44, 62, 53, 0.06);
  --shadow-card:  0 4px 24px rgba(44, 62, 53, 0.08);
  --shadow-hover: 0 12px 40px rgba(44, 62, 53, 0.16);
  --shadow-nav:   0 2px 20px rgba(44, 62, 53, 0.10);

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Z-index */
  --z-base:    1;
  --z-above:   10;
  --z-nav:     1000;
  --z-modal:   5000;
  --z-loader:  9999;

  /* Layout */
  --container-max:  1200px;
  --nav-height:     72px;
}

/* ============================================================
   Base — Typography, Body, Shared Utilities
   ============================================================ */
body {
  font-family: var(--font-japanese);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* Container — override Bootstrap's responsive max-width */
.container {
  max-width: var(--container-max);
  padding-right: var(--space-xl);
  padding-left: var(--space-xl);
}

@media (max-width: 768px) {
  .container {
    padding-right: var(--space-lg);
    padding-left: var(--space-lg);
  }
}

/* Sections */
.section {
  padding: var(--space-4xl) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }
}

/* Section Labels */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-green-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section-label--light {
  color: var(--color-mint-mid);
}

/* Section Headings */
.section-heading {
  font-family: var(--font-japanese);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .section-heading {
    font-size: var(--text-3xl);
  }
}

.section-heading--light {
  color: var(--color-white);
}

.section-subheading {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

/* Divider Line */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  margin: var(--space-lg) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(76, 175, 130, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(76, 175, 130, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--color-green-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-green-primary);
  transition: gap var(--transition-fast), color var(--transition-fast);
  position: relative;
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.btn-arrow:hover {
  gap: 10px;
  color: var(--color-sky-deep);
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* Text utilities */
.text-white { color: var(--color-white); }


/* Decorative floating circles */
.deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.deco--circle-lg {
  width: 480px;
  height: 480px;
  background: rgba(76,175,130,0.08);
  animation: floatSlow 8s ease-in-out infinite;
}

.deco--circle-sm {
  width: 200px;
  height: 200px;
  background: rgba(107,174,214,0.1);
  animation: floatSlow 6s ease-in-out infinite reverse;
}

/* Visually hidden (accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Animations — Keyframes + Scroll Reveal
   ============================================================ */

/* --- Keyframes --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

@keyframes charReveal {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);   filter: blur(0); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(1deg); }
  66%       { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50%       { opacity: 0.5; transform: translateY(8px); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes loaderFade {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes loaderExit {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}

@keyframes drawUnderline {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.8); }
  to   { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes borderDraw {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* --- Scroll Reveal Base --- */
[data-sr] {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-sr="fade-up"]    { transform: translateY(40px); }
[data-sr="fade-down"]  { transform: translateY(-40px); }
[data-sr="fade-left"]  { transform: translateX(-50px); }
[data-sr="fade-right"] { transform: translateX(50px); }
[data-sr="scale"]      { transform: scale(0.92); }
[data-sr="zoom"]       { transform: scale(0.85); filter: blur(3px); }

[data-sr].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Stagger delays for children */
[data-sr-stagger] > *:nth-child(1) { transition-delay: 0ms; }
[data-sr-stagger] > *:nth-child(2) { transition-delay: 100ms; }
[data-sr-stagger] > *:nth-child(3) { transition-delay: 200ms; }
[data-sr-stagger] > *:nth-child(4) { transition-delay: 300ms; }
[data-sr-stagger] > *:nth-child(5) { transition-delay: 400ms; }
[data-sr-stagger] > *:nth-child(6) { transition-delay: 500ms; }

/* Hero character animation */
.hero-char {
  display: inline-block;
  opacity: 0;
  animation: charReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
}

/* .nav__inner — d-flex align-items-center justify-content-between applied in HTML */
.nav__inner {
  height: 100%;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: var(--z-above);
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-text-en {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-green-primary);
  transition: color var(--transition-fast);
}

.nav__logo-text-jp {
  font-family: var(--font-japanese);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.nav--scrolled .nav__logo-text-en {
  color: var(--color-green-deep);
}

/* Desktop Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem; /* --space-xl */
}

.nav__link {
  font-family: var(--font-japanese);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-secondary);
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-green-primary);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

/* scrolled state — same as default since hero is light */
.nav--scrolled .nav__link:hover,
.nav--scrolled .nav__link.is-active {
  color: var(--color-green-primary);
}

.nav__cta {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--gradient-brand);
  color: var(--color-white) !important;
  transition: box-shadow var(--transition-base), transform var(--transition-fast);
  box-shadow: 0 4px 16px rgba(76,175,130,0.3);
}

.nav__cta:hover {
  box-shadow: 0 6px 24px rgba(76,175,130,0.45);
  transform: translateY(-1px);
}

.nav__cta::after { display: none; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  z-index: var(--z-above);
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-fast);
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-green-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
  z-index: calc(var(--z-nav) - 1);
}

.nav__mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-link {
  font-family: var(--font-japanese);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav__mobile-link:hover {
  color: var(--color-mint-mid);
  transform: translateX(8px);
}

@media (max-width: 1024px) {
  .nav__links {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
}

/* ============================================================
   Hero Section — No image, editorial/typographic design
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #FFFFFF;
}

/* Dot grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(76, 175, 130, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
  pointer-events: none;
}

/* Primary blob — large, right side */
.hero__blob {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-52%);
  width: 680px;
  height: 680px;
  background: linear-gradient(145deg, #E8F5EE 0%, #C8E8F5 60%, #B8DBF5 100%);
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  animation: blobMorph 14s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Secondary blob — smaller, overlapping */
.hero__blob-2 {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-42%);
  width: 380px;
  height: 380px;
  background: linear-gradient(145deg, #A8D8BC 0%, #80C4A8 50%, #6BAED6 100%);
  border-radius: 44% 56% 62% 38% / 52% 40% 60% 48%;
  animation: blobMorph 10s ease-in-out infinite reverse;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}

/* Faint large "R" — decorative background letter */
.hero__bg-letter {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(320px, 40vw, 520px);
  font-weight: 300;
  line-height: 1;
  color: rgba(76, 175, 130, 0.06);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

/* Thin vertical accent line */
.hero__accent-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-brand);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

/* Small floating ring decorations */
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--color-green-primary);
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.hero__ring--1 {
  width: 80px;
  height: 80px;
  top: 18%;
  left: 6%;
  animation: floatSlow 8s ease-in-out infinite;
}

.hero__ring--2 {
  width: 40px;
  height: 40px;
  top: 70%;
  left: 10%;
  animation: floatSlow 6s ease-in-out infinite reverse;
  border-color: var(--color-sky-accent);
}

.hero__ring--3 {
  width: 120px;
  height: 120px;
  bottom: 15%;
  right: 30%;
  animation: floatSlow 11s ease-in-out infinite;
  opacity: 0.1;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
  25%       { border-radius: 44% 56% 62% 38% / 52% 40% 60% 48%; }
  50%       { border-radius: 55% 45% 38% 62% / 40% 60% 44% 56%; }
  75%       { border-radius: 38% 62% 56% 44% / 66% 34% 52% 48%; }
}

/* Content */
.hero__content {
  position: relative;
  z-index: var(--z-above);
  max-width: 680px;
}

/* Year / label */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards 0.4s;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1.5px;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-japanese);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--color-green-primary);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards 1.5s;
}

.hero__description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 2;
  max-width: 480px;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards 1.7s;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards 1.9s;
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-above);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeIn 1s ease forwards 2.4s;
}

.hero__scroll-text {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-green-primary), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .hero__blob   { width: 480px; height: 480px; right: -120px; }
  .hero__blob-2 { width: 260px; height: 260px; right: 20px; }
  .hero__bg-letter { font-size: 240px; }
}

@media (max-width: 768px) {
  .hero__blob   { width: 340px; height: 340px; top: auto; bottom: -60px; transform: none; right: -60px; }
  .hero__blob-2 { display: none; }
  .hero__bg-letter { display: none; }
  .hero__ring--3 { display: none; }
  .hero__title  { font-size: clamp(2rem, 7vw, 3rem); }
  .hero__buttons { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   About — 会社概要  (フラットレイアウト)
   ============================================================ */
.about {
  background: var(--color-off-white);
}

/* .about__grid replaced by Bootstrap row g-5 align-items-start */

/* Left — Company Info */
.about__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-2xl);
}

.about__table tr {
  border-bottom: 1px solid var(--color-border);
}

.about__table tr:first-child {
  border-top: 1px solid var(--color-border);
}

.about__table th,
.about__table td {
  padding: 14px 0;
  font-size: var(--text-sm);
  text-align: left;
  vertical-align: top;
}

.about__table th {
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
  width: 110px;
  padding-right: var(--space-md);
}

.about__table td {
  color: var(--color-text-primary);
  line-height: 1.7;
}

/* Stats — d-flex align-items-stretch applied in HTML */
.about__stats {
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about__stat {
  flex: 1;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  position: relative;
}

.about__stat + .about__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-border);
}

.about__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  display: block;
}

.about__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  letter-spacing: 0.08em;
}

/* Right — Executives — 横並びストリップ */
.about__execs-heading {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2xl);
}

/* .about__execs-list — block stacking, no flex needed */

/* 各役員: 写真 + テキスト の横並び、線区切り */
.about__exec-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem; /* --space-xl */
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}

.about__exec-item:first-child {
  border-top: 1px solid var(--color-border);
}

.about__exec-photo-wrap {
  flex-shrink: 0;
  position: relative;
}

.about__exec-photo {
  width: 160px;
  height: 160px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

/* グラデーションボーダー */
.about__exec-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 6px;
  padding: 3px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
}

.about__exec-body {
  flex: 1;
  min-width: 0;
}

/* .about__exec-meta — d-flex align-items-baseline flex-wrap gap-3 applied in HTML */
.about__exec-meta {
  margin-bottom: var(--space-sm);
}

.about__exec-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about__exec-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.05em;
}

.about__exec-name-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-green-primary);
  letter-spacing: 0.08em;
}

.about__exec-role-jp {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  letter-spacing: 0.03em;
}


.about__exec-bio {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.9;
}

/* about__grid media query removed — Bootstrap col-lg handles responsiveness */

@media (max-width: 640px) {
  .about__stat-number {
    font-size: var(--text-3xl);
  }
  .about__exec-item {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* ============================================================
   Philosophy — 企業理念
   ============================================================ */
.philosophy {
  position: relative;
  overflow: hidden;
}

/* Background */
.philosophy__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.philosophy__bg-img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  filter: brightness(0.3) saturate(1.2);
}

.philosophy__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2E7D5E, #1a3c2a);
}

/* Content */
.philosophy__inner {
  position: relative;
  z-index: var(--z-above);
  padding: var(--space-4xl) 0;
}

/* CEO Message */
.philosophy__message {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-4xl);
}

.philosophy__quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.7;
  color: var(--color-green-primary);
  opacity: 0.4;
  display: block;
  margin-bottom: -20px;
}

.philosophy__quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.02em;
}

/* .philosophy__ceo — d-flex align-items-center justify-content-center gap-3 applied in HTML */

.philosophy__ceo-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(168, 216, 188, 0.5);
}

.philosophy__ceo-info {
  text-align: left;
}

.philosophy__ceo-name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 2px;
}

.philosophy__ceo-title {
  font-size: var(--text-xs);
  color: var(--color-mint-mid);
  letter-spacing: 0.08em;
}

/* MVV Divider */
.philosophy__divider-line {
  width: 80px;
  height: 1px;
  background: rgba(168, 216, 188, 0.3);
  margin: 0 auto var(--space-3xl);
}

/* MVV Cards — Bootstrap row g-4 with col-md-4 applied in HTML */

.philosophy__mvv-card {
  position: relative;
  height: 100%; /* stretch to col height inside Bootstrap grid */
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}

.philosophy__mvv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.philosophy__mvv-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  border-color: transparent;
}

.philosophy__mvv-card:hover::after {
  opacity: 1;
}

.philosophy__mvv-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.philosophy__mvv-card:hover .philosophy__mvv-icon {
  transform: scale(1.1) rotate(5deg);
}

.philosophy__mvv-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
}

.philosophy__mvv-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--color-mint-mid);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.philosophy__mvv-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.philosophy__mvv-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
}

/* philosophy__mvv media query removed — Bootstrap col-md handles responsiveness */

@media (max-width: 640px) {
  .philosophy__quote-mark {
    font-size: 80px;
  }
}

/* ============================================================
   Business — 事業一覧  (リスト行レイアウト)
   ============================================================ */
.business {
  background: var(--color-off-white);
}

.business__intro {
  margin-bottom: var(--space-3xl);
}

/* List */
.business__list {
  border-top: 1px solid var(--color-border);
}

/* Row */
.business__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: var(--space-2xl);
  row-gap: 0;
  align-items: start;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  cursor: default;
}

/* Number */
.business__num {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1;
  color: var(--color-text-light);
  letter-spacing: -0.02em;
  user-select: none;
}

/* Main content */
.business__item-header {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: baseline;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-bottom: var(--space-sm);
}

.business__item-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.business__item-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-sky-accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.business__item-body {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
}

.business__item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.business__item-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.9;
  flex: 1;
}

.business__item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 14px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-green-deep);
  background: var(--color-mint-light);
  border: 1px solid var(--color-mint-mid);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.business__item-link:hover {
  background: var(--color-green-primary);
  color: white;
  border-color: transparent;
  transform: translateX(2px);
}


/* Arrow — right side, vertically centered */
.business__item-arrow {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-light);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .business__item {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: var(--space-lg);
  }

  .business__num {
    grid-column: 1;
    grid-row: 1;
    font-size: var(--text-2xl);
    align-self: start;
    padding-top: 4px;
  }

  .business__item-header {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    gap: var(--space-xs);
  }

  .business__item-subtitle {
    white-space: normal;
  }

  .business__item-body {
    grid-column: 1 / -1;
    grid-row: 3;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
  }

  .business__item-arrow {
    display: none;
  }
}

/* ============================================================
   Contact — お問い合わせ
   ============================================================ */
.contact {
  background: var(--gradient-contact);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(107, 174, 214, 0.08);
  pointer-events: none;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(76, 175, 130, 0.07);
  pointer-events: none;
}

/* .contact__inner — grid replaced by Bootstrap row g-5 in HTML */
.contact__inner {
  position: relative;
  z-index: var(--z-above);
}

.contact__intro {
  margin-bottom: var(--space-3xl);
}

.contact__info-body {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-2xl);
}

/* .contact__details — d-flex flex-column gap-3 applied in HTML */
.contact__details {
  margin-bottom: var(--space-2xl);
}

/* .contact__detail — d-flex align-items-start gap-3 applied in HTML */

.contact__detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__detail-label {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact__detail-value {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: 500;
}

/* Decorative accent */
.contact__deco-quote {
  font-family: var(--font-display);
  font-size: 180px;
  line-height: 0.7;
  color: var(--color-green-primary);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  margin-top: var(--space-xl);
}

/* Form */
.contact__form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Field Groups — .contact__field-row replaced by Bootstrap row g-3 in HTML */

.contact__field {
  position: relative;
}

.contact__field-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.contact__field-label .required {
  color: var(--color-green-primary);
  margin-left: 4px;
}

/* Remove Bootstrap's form-select built-in arrow (we use our own via ::after) */
.contact__field-select.form-select {
  background-image: none;
}

.contact__field-input,
.contact__field-select,
.contact__field-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-japanese);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background: var(--color-off-white);
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  appearance: none;
}

.contact__field-input:focus,
.contact__field-select:focus,
.contact__field-textarea:focus {
  border-color: var(--color-green-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(76, 175, 130, 0.12);
}

.contact__field-input::placeholder,
.contact__field-textarea::placeholder {
  color: var(--color-text-light);
}

.contact__field-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

/* Select arrow */
.contact__field-select-wrap {
  position: relative;
}

.contact__field-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-text-secondary);
  pointer-events: none;
}

/* Error state */
.contact__field.has-error .contact__field-input,
.contact__field.has-error .contact__field-select,
.contact__field.has-error .contact__field-textarea {
  border-color: #e05252;
}

.contact__field-error {
  font-size: var(--text-xs);
  color: #e05252;
  margin-top: 6px;
  display: none;
}

.contact__field.has-error .contact__field-error {
  display: block;
}

/* フォーム全体エラーバナー */
.contact__form-error {
  display: none;
  color: #b91c1c;
  font-size: var(--text-sm);
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md, 8px);
  margin-bottom: var(--space-md, 16px);
}

/* Submit — d-flex align-items-center gap-4 flex-wrap applied in HTML */

.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.05em;
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(76, 175, 130, 0.35);
  transition: all var(--transition-base);
  min-width: 180px;
}

.contact__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(76, 175, 130, 0.45);
}

.contact__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact__submit-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact__submit.is-loading .contact__submit-spinner {
  display: block;
}

.contact__submit.is-loading .contact__submit-text {
  opacity: 0.7;
}

.contact__note {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Success Overlay */
.contact__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  gap: var(--space-lg);
}

.contact__success.is-visible {
  display: flex;
}

.contact__success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.contact__success-icon svg {
  width: 36px;
  height: 36px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__success-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
}

.contact__success-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* contact__inner and contact__field-row media queries removed — Bootstrap handles responsiveness */

@media (max-width: 640px) {
  .contact__form-wrap {
    padding: var(--space-xl);
  }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-text-primary);
  color: rgba(255,255,255,0.85);
}

.footer__main {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

/* .footer__grid — replaced by Bootstrap row g-4 g-lg-5 in HTML */

/* Brand column */
.footer__brand {}

/* .footer__logo — d-flex align-items-center applied in HTML */
.footer__logo {
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
}

.footer__logo-text-en {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-mint-mid);
  letter-spacing: 0.08em;
}

.footer__logo-text-jp {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 280px;
}

.footer__tagline-main {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-sm);
}

/* Nav columns */
.footer__nav-heading {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-mint-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-ui);
  margin-bottom: var(--space-lg);
}

/* .footer__nav-list — d-flex flex-column gap-3 applied in HTML */

.footer__nav-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer__nav-link:hover {
  color: var(--color-green-primary);
  transform: translateX(4px);
}

/* Divider */
.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* Bottom — d-flex align-items-center justify-content-between flex-wrap gap-3 applied in HTML */
.footer__bottom {
  padding: var(--space-xl) 0;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* .footer__bottom-links — d-flex gap-4 applied in HTML */

.footer__bottom-link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: rgba(255,255,255,0.7);
}

/* footer__grid media queries removed — Bootstrap col-* handles responsiveness */

@media (max-width: 640px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
