/* ========================================
   株式会社デュナミス - Takram-inspired Design
   Minimal, editorial, generous whitespace
   ======================================== */

/* --- CSS Variables --- */
:root {
  --color-bg: #fafafa;
  --color-bg-alt: #f3f3f0;
  --color-bg-dark: #0a0a0a;
  --color-bg-dark-alt: #141414;
  --color-surface: #ffffff;
  --color-accent: #1a1a1a;
  --color-accent-subtle: #c8a97e;
  --color-text: #1a1a1a;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --color-text-light: #ffffff;
  --color-text-light-secondary: rgba(255,255,255,0.6);
  --color-border: rgba(0,0,0,0.08);
  --color-border-light: rgba(255,255,255,0.1);
  --font-display: 'Noto Sans JP', 'Helvetica Neue', sans-serif;
  --font-body: 'Noto Sans JP', 'Helvetica Neue', sans-serif;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;
  font-size: 15px;
  letter-spacing: 0.02em;
}

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

/* --- Utility --- */
.gradient-text {
  color: var(--color-accent-subtle);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(250, 250, 250, 0.95);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-img {
  height: 26px;
  width: auto;
  display: block;
  filter: brightness(0);
}

.logo span {
  font-size: 0.65rem;
  display: block;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: var(--color-text);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.nav-active {
  color: var(--color-text);
  font-weight: 500;
}

.nav-menu a.nav-active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.5rem !important;
  background: var(--color-bg-dark) !important;
  color: var(--color-text-light) !important;
  border-radius: 2px;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  font-size: 0.75rem !important;
  transition: opacity var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  opacity: 0.8 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

.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 Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-dark);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.4;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

.hero-badge i {
  font-size: 0.65rem;
  color: var(--color-accent-subtle);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero h1 .highlight {
  color: var(--color-accent-subtle);
  -webkit-text-fill-color: var(--color-accent-subtle);
}

.hero-quote {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
  line-height: 2;
  letter-spacing: 0.05em;
  max-width: 560px;
}

.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.6);
  margin-bottom: 3rem;
  line-height: 2;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: #fff;
  color: var(--color-bg-dark);
  border: none;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.hero .btn-secondary {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
}

.hero .btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.btn-secondary:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-indicator i {
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* --- Section Title --- */
.section-title {
  text-align: left;
  margin-bottom: 4rem;
}

.section-title.center {
  text-align: center;
}

.section-title .label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-title p {
  color: var(--color-text-secondary);
  max-width: 560px;
  font-size: 0.9rem;
  line-height: 1.9;
}

.section-title.center p {
  margin: 0 auto;
}

/* --- MVV Section --- */
.vision {
  padding: 10rem 0;
  background: var(--color-bg);
  position: relative;
}

/* MVV Block — Mission / Vision each */
.mvv-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 5rem;
  margin-bottom: 5rem;
  border-bottom: 1px solid var(--color-border);
}

.mvv-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.mvv-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent-subtle);
  margin-bottom: 2rem;
}

.mvv-statement {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.mvv-desc {
  font-size: 0.9rem;
  line-height: 2.2;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* MVV Values Block */
.mvv-values-block {
  max-width: 100%;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.mvv-values-block .mvv-label {
  text-align: center;
  margin-bottom: 3.5rem;
}

.mvv-values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mvv-value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.mvv-value-card:hover {
  border-color: var(--color-accent-subtle);
  box-shadow: 0 4px 24px rgba(200,169,126,0.08);
}

.mvv-value-img {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.mvv-value-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mvv-value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.mvv-value-kana {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 0.5rem;
  letter-spacing: 0.05em;
}

.mvv-value-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* --- CEO Message Section --- */
.ceo-message {
  padding: 10rem 0;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

.ceo-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.ceo-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.ceo-photo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: sticky;
  top: 100px;
}

.ceo-photo-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.ceo-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-name {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ceo-name strong {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: #fff;
}

.ceo-name span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.ceo-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 2.2;
  margin-bottom: 1.5rem;
}

.ceo-text p strong {
  color: #fff;
}

.ceo-quote {
  position: relative;
  padding: 2rem 0 2rem 2rem;
  margin: 0 0 2.5rem;
  background: none;
  border-left: 2px solid var(--color-accent-subtle);
  border-radius: 0;
  font-style: normal;
  font-size: 1rem;
  line-height: 2;
  color: rgba(255,255,255,0.8);
}

.ceo-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-style: normal;
  letter-spacing: 0.05em;
}

.ceo-values {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.values-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.values-heading span {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.value-item:last-child {
  grid-column: 1 / -1;
}

.value-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.value-number {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent-subtle);
  flex-shrink: 0;
  margin-top: 0.15rem;
  letter-spacing: 0.05em;
}

.value-item strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.value-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* --- Services Section --- */
.services {
  padding: 10rem 0;
  background: var(--color-bg-alt);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.service-card {
  background: var(--color-surface);
  padding: 3rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 0;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-subtle);
  transition: width var(--transition);
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  background: var(--color-bg);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  line-height: 2;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.service-tags span {
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

/* --- Showcase Image Section --- */
.showcase-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.showcase-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}

.showcase-overlay p {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  max-width: 400px;
}

/* --- Note Articles Section --- */
.note-articles {
  padding: 10rem 0;
  position: relative;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  min-height: 200px;
}

.articles-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border);
  border-top-color: var(--color-text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

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

.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--color-text-muted);
}

.article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-bg-alt);
  filter: grayscale(30%);
  transition: filter var(--transition);
}

.article-card:hover .article-thumb {
  filter: grayscale(0%);
}

.article-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-text-muted);
  opacity: 0.3;
}

.article-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-date {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.05em;
}

.article-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-excerpt {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.articles-more {
  text-align: center;
}

.articles-error,
.articles-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.note-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--color-border);
  margin-left: auto;
  letter-spacing: 0.05em;
}

/* --- Products Section --- */
.products {
  padding: 120px 0;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.products .section-title h2 {
  color: var(--color-text-light);
}

.products .section-title p {
  color: var(--color-text-light-secondary);
}

.products .label {
  color: var(--color-accent-subtle);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  position: relative;
  background: var(--color-bg-dark-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 2.5rem;
  text-decoration: none;
  color: var(--color-text-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--color-accent-subtle);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(200, 169, 126, 0.15);
  color: var(--color-accent-subtle);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(200, 169, 126, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.product-icon i {
  font-size: 1.4rem;
  color: var(--color-accent-subtle);
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.product-tagline {
  font-size: 0.85rem;
  color: var(--color-accent-subtle);
  font-weight: 500;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.product-description {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--color-text-light-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-features span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.product-features span i {
  font-size: 0.7rem;
  color: var(--color-accent-subtle);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-subtle);
  transition: gap var(--transition);
}

.product-card:hover .product-cta {
  gap: 0.8rem;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 2rem;
  }
}

/* --- Why Dynamis Section --- */
.why-dynamis {
  padding: 10rem 0;
  background: var(--color-bg-dark);
  position: relative;
}

.why-dynamis .section-title h2,
.why-dynamis .section-title p {
  color: var(--color-text-light);
}

.why-dynamis .section-title .label {
  color: rgba(255,255,255,0.3);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}

.why-card {
  background: var(--color-bg-dark-alt);
  border: 1px solid var(--color-border-light);
  padding: 3rem;
  transition: all var(--transition);
  position: relative;
}

.why-card:hover {
  border-color: var(--color-accent-subtle);
  transform: translateY(-4px);
}

.why-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent-subtle);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.why-card p {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text-light-secondary);
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .why-card {
    padding: 2rem;
  }
}

/* --- Strengths Section --- */
.strengths {
  padding: 10rem 0;
  background: var(--color-bg-alt);
  position: relative;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 6rem;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.stat-item {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.03em;
  min-height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.1em;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.strength-card {
  text-align: left;
  padding: 0;
  background: none;
  border: none;
  transition: all var(--transition);
}

.strength-card i {
  font-size: 1.25rem;
  color: var(--color-accent-subtle);
  margin-bottom: 1.5rem;
  display: block;
}

.strength-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.strength-card p {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  line-height: 1.9;
}

/* --- Company Section --- */
.company {
  padding: 10rem 0;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

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

.company-table th {
  padding: 1.25rem 2rem 1.25rem 0;
  text-align: left;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  width: 120px;
  vertical-align: top;
  letter-spacing: 0.05em;
}

.company-table td {
  padding: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

.company-map {
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  border: 1px solid var(--color-border);
}

.company-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Contact Section --- */
.contact {
  padding: 10rem 0;
  background: var(--color-bg-dark);
  position: relative;
  color: var(--color-text-light);
}

.contact .section-title .label {
  color: rgba(255,255,255,0.3);
}

.contact .section-title h2 {
  color: #fff;
}

.contact .section-title p {
  color: rgba(255,255,255,0.5);
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.contact-card {
  padding: 3rem 2rem;
  background: var(--color-bg-dark-alt);
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-card:hover {
  background: rgba(255,255,255,0.05);
}

.contact-card i {
  font-size: 1.25rem;
  color: var(--color-accent-subtle);
  margin-bottom: 1.25rem;
}

.contact-card h4 {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-card .contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.03em;
}

/* --- Footer --- */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  height: 22px;
  width: auto;
  display: block;
  margin-bottom: 6px;
  filter: brightness(0);
}

.footer-logo span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color var(--transition);
  letter-spacing: 0.03em;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-social a {
  font-size: 1rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 2rem 2rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* --- Floating DX相談ボタン --- */
.floating-dx-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-bg-dark);
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.floating-dx-btn:hover {
  background: var(--color-accent-subtle);
  border-color: var(--color-accent-subtle);
}

.floating-dx-btn i {
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-content {
    text-align: left;
  }

  .vision, .ceo-message, .services, .note-articles,
  .strengths, .company, .contact {
    padding: 6rem 0;
  }

  .mvv-statement {
    font-size: 1.6rem;
  }

  .mvv-block {
    padding-bottom: 3.5rem;
    margin-bottom: 3.5rem;
  }

  .mvv-values-row {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ceo-photo-area {
    position: static;
    flex-direction: row;
    gap: 1.25rem;
    text-align: left;
  }

  .ceo-photo-circle {
    width: 72px;
    height: 72px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

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

  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-map {
    min-height: 300px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .showcase-section {
    height: 40vh;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .stat-item {
    padding: 2rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ========================================
   Subpage Styles
   ======================================== */

/* --- Page Hero --- */
.page-hero {
  padding: 12rem 0 5rem;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.page-hero-content .label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* --- About Sections --- */
.about-section {
  padding: 6rem 0;
}

.about-section-alt {
  background: var(--color-bg-alt);
}

/* --- DX Vision Statement --- */
.about-vision-statement {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.about-vision-statement blockquote {
  font-size: 1.1rem;
  font-style: normal;
  line-height: 2.2;
  color: var(--color-text);
  padding: 3rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  letter-spacing: 0.02em;
}

/* --- Three Pillars --- */
.dx-three-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.pillar-card {
  background: var(--color-surface);
  padding: 3rem 2rem;
  text-align: center;
  transition: all var(--transition);
}

.pillar-card:hover {
  background: var(--color-bg);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin: 0 auto 1.25rem;
}

.pillar-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-subtle);
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

/* --- Structure Grid --- */
.structure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.structure-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  transition: all var(--transition);
}

.structure-item:hover {
  border-color: var(--color-text-muted);
}

.structure-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.structure-item h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.structure-item p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

/* --- Org Features --- */
.org-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.org-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  transition: all var(--transition);
}

.org-card:hover {
  border-color: var(--color-text-muted);
}

.org-card i {
  font-size: 1.25rem;
  color: var(--color-accent-subtle);
  margin-bottom: 1.25rem;
}

.org-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.org-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

/* --- Tech Grid --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.tech-category {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2rem;
}

.tech-category h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.tech-category h4 i {
  color: var(--color-accent-subtle);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tags span {
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

/* --- DX Service Cards --- */
.dx-service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.dx-service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 3rem;
  position: relative;
}

.dx-service-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--color-bg-dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.3rem 1rem;
  letter-spacing: 0.05em;
}

.dx-service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.dx-service-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.dx-service-price .price-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.dx-service-price .price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.dx-service-price .price-unit {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.dx-service-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.dx-service-card ul li {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.dx-service-card ul li i {
  color: var(--color-accent-subtle);
  font-size: 0.7rem;
  margin-top: 0.3rem;
}

/* --- About CTA --- */
.about-cta {
  padding: 8rem 0;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.about-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.about-cta-inner h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.about-cta-inner p {
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}

.about-cta .btn-primary {
  background: #fff;
  color: var(--color-bg-dark);
}

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

.about-cta .btn-secondary {
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.15);
}

.about-cta .btn-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.about-cta .hero-buttons {
  justify-content: center;
}

/* --- Recruit Specific --- */
.recruit-message {
  max-width: 800px;
  margin: 0 auto;
}

.recruit-message .ceo-quote {
  color: var(--color-text);
}

.recruit-message .ceo-quote cite {
  color: var(--color-text-muted);
}

.recruit-message p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 2.2;
  margin-bottom: 1.25rem;
}

/* --- Position Cards --- */
.position-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.position-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.position-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.position-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.2rem 0.75rem;
  background: var(--color-bg-dark);
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.position-badge-green {
  background: var(--color-accent-subtle);
}

.position-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.position-table {
  width: 100%;
  border-collapse: collapse;
}

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

.position-table th {
  padding: 0.875rem 1.5rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  width: 100px;
  vertical-align: top;
  letter-spacing: 0.05em;
}

.position-table td {
  padding: 0.875rem 1.5rem 0.875rem 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- Benefits Grid --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.benefit-item {
  background: var(--color-surface);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.benefit-item:hover {
  background: var(--color-bg);
}

.benefit-item i {
  font-size: 1.25rem;
  color: var(--color-accent-subtle);
  display: block;
  margin-bottom: 1rem;
}

.benefit-item span {
  font-size: 0.8rem;
  font-weight: 500;
}

.benefit-item small {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- Recruit Contact --- */
.recruit-contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.recruit-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.recruit-contact-item i {
  font-size: 1rem;
  color: var(--color-accent-subtle);
}

.recruit-contact-item span {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recruit-contact-item a,
.recruit-contact-item strong {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.recruit-contact-item a:hover {
  color: var(--color-accent-subtle);
}

/* --- DX TOC --- */
.dx-toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
}

.dx-toc h3 {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.dx-toc h3 i {
  color: var(--color-accent-subtle);
}

.dx-toc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.dx-toc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: var(--color-bg-alt);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition);
}

.dx-toc-item:hover {
  background: var(--color-surface);
}

.dx-toc-num {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-accent-subtle);
  letter-spacing: 0.05em;
}

.dx-toc-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

/* --- DX Detail Block --- */
.dx-detail-block {
  margin-bottom: 2.5rem;
}

.dx-detail-block h3 {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}

.dx-detail-block p {
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.dx-detail-block p:last-child {
  margin-bottom: 0;
}

/* --- DX Timeline --- */
.dx-timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.5rem;
}

.dx-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.dx-timeline-item {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 2.5rem;
}

.dx-timeline-item:last-child {
  padding-bottom: 0;
}

.dx-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.25rem;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  background: var(--color-accent-subtle);
  border-radius: 50%;
}

.dx-timeline-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
}

.dx-timeline-content {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

/* --- Subpage Responsive --- */
@media (max-width: 768px) {
  .dx-three-pillars {
    grid-template-columns: 1fr;
  }

  .structure-grid {
    grid-template-columns: 1fr;
  }

  .org-features {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .dx-service-cards {
    grid-template-columns: 1fr;
  }

  .position-cards {
    grid-template-columns: 1fr;
  }

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

  .recruit-contact-info {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

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

  .dx-toc-grid .dx-toc-item:last-child {
    grid-column: span 2;
  }

  .dx-timeline {
    padding-left: 1.5rem;
  }

  .dx-timeline-item::before {
    left: -1.75rem;
  }

  .page-hero {
    padding: 8rem 0 3rem;
  }

  .about-section {
    padding: 4rem 0;
  }

  .about-cta {
    padding: 5rem 0;
  }

  .breadcrumb {
    padding: 1rem 0;
  }
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 1.25rem 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li::after {
  content: '/';
  margin: 0 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-list a:hover {
  color: var(--color-accent-subtle);
}

/* --- Privacy Policy --- */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content > p {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.privacy-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.02em;
}

.privacy-content h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-content ul {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.privacy-content ul li {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}

.privacy-content a {
  color: var(--color-accent-subtle);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.privacy-content a:hover {
  border-bottom-color: var(--color-accent-subtle);
}

.privacy-content .company-table {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.privacy-content .company-table a {
  border-bottom: none;
}

.privacy-date {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: right;
}

/* --- Contact Form (on dark background) --- */
.contact-form {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

.form-group label .required {
  color: #f87171;
  margin-left: 0.2em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23aaa' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(255, 255, 255, 0.08);
  padding-right: 2.5rem;
}

.form-group select option {
  background: #1a1a1a;
  color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-subtle);
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-privacy {
  margin: 1.5rem 0;
  text-align: center;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent-subtle);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--color-accent-subtle);
  text-decoration: underline;
}

.form-actions {
  text-align: center;
  margin-top: 0.5rem;
}

.form-actions .btn-primary {
  min-width: 240px;
  justify-content: center;
}

.form-actions .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-result {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
}

.form-result.success {
  background: rgba(126, 168, 0, 0.15);
  color: #a3d977;
  border: 1px solid rgba(126, 168, 0, 0.3);
}

.form-result.error {
  background: rgba(204, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(204, 68, 68, 0.3);
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Picture element support for WebP --- */
.hero picture,
.ceo-message picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ceo-message picture {
  right: 0;
  left: auto;
  width: 50%;
}

.showcase-section picture {
  display: block;
  width: 100%;
  height: 100%;
}
