:root {
  --color-primary: #3c8f7c;
  --color-primary-light: #e5f4ef;
  --color-primary-dark: #256856;
  --color-bg: #f5f7f6;
  --color-text: #1a1a1a;
  --color-muted: #777;

  /* 追加：汎用で使えるように */
  --radius-xl: 24px;
  --radius-lg: 16px;
  --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  width: 100%;
  display: block;
}

.site-header,
.site-footer {
  flex-shrink: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header-left {
  text-align: left;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.section-subtitle {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

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

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

.btn-outline {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #d7ebe4;
}

.btn-outline:hover {
  background: #f2faf7;
}

.btn-small {
  padding: 10px 20px;
  font-size: 13px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--color-primary-dark);
  text-decoration: none;
  margin-top: 12px;
}

.link-more::after {
  content: "›";
  font-size: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-logo a {
  text-decoration: none;
  color: inherit;
}

.logo-main {
  font-weight: 700;
  font-size: 16px;
}

.logo-sub {
  display: block;
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-nav {
  margin-left: auto;
}

.header-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.header-nav a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
}
.header-nav li {
  display: flex;
  align-items: center;
}

.header-nav a:hover {
  color: var(--color-primary-dark);
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  padding: 8px;
}

.nav-icon-x {
  background: #111;
}

.nav-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.nav-contact {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #d7ebe4;
}

.header-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.header-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =====================================
   Hero
   背景を demo-craft.jpg に変更
   ===================================== */
/* Hero：動画だけのメインビジュアル用 */
.hero {
  position: relative;
  overflow: hidden;
  height: 90vh;          
}

/* 背景動画ラッパー */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 背景動画本体 */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 画面いっぱいに表示しつつトリミング */
  object-position: 50% 60%;
}

/* ほんのり暗くしてサイト全体になじませる */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 2;
}

.hero-bg .scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: scroll-bounce 1.6s infinite;
  pointer-events: none;
  z-index: 3;
}

.hero-bg .scroll-indicator::before {
  content: "";
  width: 2px;
  height: 18px;
  background: #fff;
  border-radius: 999px;
  display: inline-block;
}

@keyframes scroll-bounce {
  0% { transform: translate(-50%, 0); opacity: 0.9; }
  50% { transform: translate(-50%, 6px); opacity: 0.6; }
  100% { transform: translate(-50%, 0); opacity: 0.9; }
}


.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 44px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: #fff;  /* ← 緑じゃなく白 */
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);  /* 背景に負けないように */
}

.hero-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero .btn-primary {
  background: #ffffff;
  color: var(--color-primary-dark);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero .btn-primary:hover {
  background: #f8f8f8;
}

.hero .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

/* 右側のサービスカード */
.hero-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 24px 24px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(239, 243, 241, 0.9);
  max-width: 320px;
}

.hero-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.hero-card li {
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
}

.hero-card li:last-child {
  border-bottom: none;
}

.hero-card-note {
  font-size: 12px;
  color: var(--color-primary-dark);
}

/* ===============================
   Hero: 中央配置バージョン
   =============================== */
.hero.hero-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh; /* 背景写真の見せ場確保 */
}

.hero.hero-centered .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero.hero-centered .hero-title {
  text-shadow: 0 2px 10px rgba(255,255,255,0.7);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.hero.hero-centered .hero-lead {
  font-size: 16px;
  color: #333;
  max-width: 640px;
  margin-bottom: 24px;
}

.hero.hero-centered .hero-actions {
  justify-content: center;
}


/* Services */
.section-services {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 20px;
  border: 1px solid #edf1ef;
  box-shadow: var(--shadow-card);
}

.service-title {
  font-size: 18px;
  margin: 0 0 6px;
}

.service-tag {
  font-size: 12px;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.service-text {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}

.service-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  font-size: 13px;
  color: #555;
}

/* Features */
.section-features {
  background: var(--color-bg);
}

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

.feature-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 20px 18px;
  border: 1px solid #e6ebe8;
}

.feature-title {
  font-size: 16px;
  margin: 0 0 8px;
}

.feature-text {
  font-size: 14px;
  color: #555;
}

/* Mission / Vision / Value */
.section-mvv {
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.15), transparent 28%),
              radial-gradient(circle at 85% 10%, rgba(255,255,255,0.18), transparent 26%),
              linear-gradient(135deg, #0f3f34, #3c8f7c 55%, #61b59e);
  color: #fff;
}

.section-mvv .section-title {
  color: #fff;
  font-size: 30px;
}

.section-mvv .section-subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.mvv-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.mvv-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(229,244,239,0.9));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #123429;
}

.mvv-card::before {
  content: "";
  position: absolute;
  inset: -20% 60% 50% -10%;
  background: linear-gradient(135deg, rgba(61,143,124,0.35), rgba(15,63,52,0));
  transform: rotate(-6deg);
}

.mvv-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0f3f34;
  background: #cfeae1;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.mvv-title {
  font-size: 24px;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mvv-text {
  font-size: 15px;
  color: #1f4639;
  margin: 0;
  line-height: 1.9;
}

/* Corporate Message */
.section-message {
  background: linear-gradient(180deg, #f7f9f8 0%, #f0f4f2 100%);
  position: relative;
  overflow: hidden;
  padding: 82px 0;
}

.section-message::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto 40%;
  height: 220px;
  background: radial-gradient(circle at 30% 50%, rgba(61,143,124,0.12), transparent 70%);
  pointer-events: none;
}

.section-message::after {
  content: "";
  position: absolute;
  inset: auto 55% -15% -15%;
  height: 240px;
  background: radial-gradient(circle at 60% 40%, rgba(15,63,52,0.08), transparent 75%);
  pointer-events: none;
}

.message-lead {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 760px;
}

.message-headline {
  font-size: 32px;
  margin: 0 0 10px;
  letter-spacing: 0.012em;
  text-align: center;
}

.message-lead-text {
  margin: 0;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.7;
}

.message-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.message-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #e3e9e6;
  padding-top: 26px;
}

.message-card:first-child {
  border-top: none;
  padding-top: 0;
}

.message-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f3f34;
  margin: 0 0 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c8e7dc, #a6d8c7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  text-align: center;
}

.message-title {
  font-size: 26px;
  margin: 0;
  letter-spacing: 0.005em;
  text-align: center;
  position: relative;
  padding-bottom: 8px;
}

.message-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3c8f7c, transparent);
  margin: 10px auto 0;
  opacity: 0.7;
}

.message-text {
  margin: 0;
  color: #3c3c3c;
  font-size: 15px;
  line-height: 1.95;
  text-align: left;
}

.message-list {
  margin: 0;
  padding-left: 0;
  color: #444;
  font-size: 15px;
  display: grid;
  gap: 12px;
  list-style: none;
  text-align: left;
}

.message-list strong {
  color: var(--color-primary-dark);
  display: block;
  text-align: center;
  letter-spacing: 0.04em;
}

.message-key {
  border-top: 1px solid #e6ede8;
  padding-top: 12px;
  font-size: 13px;
  color: #2b5144;
  text-align: center;
}

.message-key span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a7b72;
  margin-bottom: 6px;
}


/* Cases */
.section-cases {
  background: #fff;
}

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

.case-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 1px solid #edf1ef;
  box-shadow: var(--shadow-card);
}

.case-thumb {
  display: inline-block;
  width: 48%;
  margin-right: 2%;
  vertical-align: top;
}

.case-label {
  display: inline-block;
  font-size: 11px;
  color: #666;
  margin-bottom: 4px;
}

.case-label-after {
  color: var(--color-primary-dark);
}

.case-img {
  background: var(--color-bg);
  border-radius: 10px;
  padding: 20px;
  font-size: 12px;
  color: #999;
  text-align: center;
}

.case-body {
  margin-top: 12px;
}

.case-title {
  font-size: 15px;
  margin: 0 0 6px;
}

.case-text {
  font-size: 13px;
  color: #555;
}

/* Company */
.section-company {
  background: var(--color-primary-light);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: flex-start;
}

.company-message {
  font-size: 14px;
  margin-bottom: 18px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.company-table th,
.company-table td {
  padding: 8px 0;
  border-bottom: 1px solid #dde5e1;
  vertical-align: top;
}

.company-table th {
  width: 88px;
  font-weight: 600;
  color: #444;
}

.company-side {
  display: flex;
  justify-content: flex-end;
}

.company-panel {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px 16px;
  border: 1px solid #e2e9e5;
  box-shadow: var(--shadow-card);
  font-size: 13px;
}

.company-side-title {
  font-size: 15px;
  margin: 0 0 8px;
}

.company-side-text {
  font-size: 13px;
  color: #555;
  margin: 0 0 12px;
}

/* Recruit */
.section-recruit {
  background: #fff;
  padding: 82px 0;
}

.recruit-inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #f4f9f6);
  border-radius: 24px;
  padding: 32px 28px;
  color: #123429;
  border: 1px solid #e1ebe6;
  box-shadow: var(--shadow-card);
}

.recruit-inner::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 55%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at center, rgba(60, 143, 124, 0.12), transparent 60%);
  transform: rotate(-12deg);
  pointer-events: none;
}

.recruit-inner::after {
  content: "";
  position: absolute;
  inset: auto 60% -25% -20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at center, rgba(15, 63, 52, 0.08), transparent 65%);
  transform: rotate(10deg);
  pointer-events: none;
}

.recruit-text {
  position: relative;
  z-index: 1;
}

.recruit-text .section-title {
  color: #0f3f34;
}

.recruit-lead {
  font-size: 18px;
  margin: 10px 0 8px;
  color: #1f463a;
  font-weight: 700;
}

.recruit-text-main {
  font-size: 14px;
  color: #43544d;
  margin-bottom: 16px;
}

.recruit-inner .btn-primary {
  box-shadow: 0 12px 24px rgba(60, 143, 124, 0.16);
}

/* News & Contact */
.section-news-contact {
  background: linear-gradient(180deg, #f6f9f7 0%, #eef5f2 100%);
  padding-top: 60px;
}

.news-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 32px;
}

.news-panel {
  background: #fff;
  border: 1px solid #e2e6e4;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 26px 28px 24px;
  max-width: 760px;
  margin: 0 auto;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-panel .section-header {
  text-align: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9eeec;
}

.news-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item + .news-item {
  margin-top: 10px;
}

.news-item a {
  display: flex;
  gap: 12px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  padding: 8px 0;
  border-bottom: 1px solid #e2e6e4;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.news-item time {
  flex-shrink: 0;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 500;
}

.news-item a:hover span,
.news-item a:focus span {
  color: var(--color-primary-dark);
}

.news-item a:hover,
.news-item a:focus {
  background: #f7fbf9;
  transform: translateX(1px);
}

.contact-text {
  font-size: 14px;
  color: #444;
  margin-bottom: 16px;
}

.contact-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #f7fbf9);
  border: 1px solid #e2e9e4;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 28px 24px 24px;
}

.contact-block .btn {
  box-shadow: 0 10px 18px rgba(60, 143, 124, 0.18);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

/* Footer */
.site-footer {
  background: #111;
  color: #eee;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 16px 16px;
}

.footer-logo {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-copy {
  color: #bbb;
  font-size: 12px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-column h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 6px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li + li {
  margin-top: 4px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 10px 16px 12px;
  text-align: center;
  color: #777;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 85vh;    /* スマホ寄りの画面では少し低めに */
    /* padding や background-position は削除 */
  }
  .hero-visual {
    justify-content: flex-start;
    margin-top: 24px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .company-layout {
    grid-template-columns: 1fr;
  }
  .company-side {
    justify-content: flex-start;
  }
  .news-panel {
    padding: 20px;
  }
  .news-contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 22px;
  }

  .section-news-contact .contact-block,
  .section-cta {
    text-align: center;
  }

/* ▼ スマホでは YouTube 縦動画っぽく：横100%、高さは自動 */
  .hero {
    height: auto;          /* 固定vhをやめる */
  }

  .hero-bg {
    position: relative;    /* 絶対配置をやめて普通のブロックにする */
    inset: auto;
  }

  .hero-video {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;          /* アスペクト比維持 */
    object-fit: contain;   /* はみ出さないように */
    object-position: center;
  }

  /* 以下はそのままでOK（必要なら残す） */
  .hero-title {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 14px;
  }
  .hero.hero-centered .hero-title {
    font-size: 32px;
    text-shadow: 0 2px 10px rgba(255,255,255,0.7);
  }
  .hero.hero-centered .hero-lead {
    font-size: 14px;
  }

  .header-toggle {
    display: block;
  }
  .header-nav {
    position: absolute;
    inset: 56px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
    width: 100%;
  }
  .header-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px 16px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
  }
  .header-nav li {
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .header-nav a {
    display: block;
    padding: 8px 0;
    text-align: center;
  }
  .header-nav .nav-icon {
    margin: 4px 0;
    width: 32px;
    height: 32px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
  }
}
