/* ========================================
   ネクストイノベーション株式会社 - スタイルシート
   ======================================== */

/* --- リセット・ベース --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0A1929;
  --navy-light: #122740;
  --navy-mid: #152a42;
  --green: #00D26A;
  --green-dark: #00B85C;
  --green-glow: rgba(0, 210, 106, 0.22);
  --white: #FFFFFF;
  --gray-bg: #F5F7FA;
  --tint: #dfe8f2;
  --tint-deep: #cfd9e8;
  --card: #f4f7fb;
  --card-elevated: #fafcfe;
  --text: #333333;
  --text-sub: #555555;
  --text-light: #888888;
  --border: rgba(10, 25, 41, 0.12);
  --shadow: 0 4px 18px rgba(10, 25, 41, 0.08);
  --shadow-hover: 0 12px 32px rgba(10, 25, 41, 0.14);
  --transition: 0.3s ease;
  --transition-smooth: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 72px;
  --reveal-delay: 0s;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--tint);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only {
  display: none;
}

/* --- ヘッダー --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(10, 25, 41, 0.08);
  box-shadow: 0 1px 0 rgba(0, 210, 106, 0.12);
  transition: box-shadow var(--transition-smooth), background var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

.header-logo-img {
  height: 44px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  transition: color var(--transition-smooth), transform 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--green-dark);
  transform: translateY(-1px);
}

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

.nav-link--cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: var(--green-dark);
  color: var(--white) !important;
  transform: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

.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);
}

/* --- ヒーロー（下の余白を抑え、軽い動きのみ ※画像は既存素材のみ） --- */
@keyframes hero-glow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.55; }
}

@keyframes hero-sweep {
  0% { transform: translateX(-12%) skewX(-12deg); }
  100% { transform: translateX(12%) skewX(-12deg); }
}

.hero {
  background-color: var(--navy);
  background-image: url('S__22413407.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 68% auto;
  padding: calc(var(--header-height) + 20px) 24px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: min(62vh, 640px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, var(--green-glow), transparent 58%);
  animation: hero-glow 7s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  animation: hero-sweep 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 1px;
}

.hero-logo {
  display: none;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.9;
}

/* --- ボタン --- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition);
}

.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 210, 106, 0.35);
}

.btn--large {
  padding: 16px 56px;
  font-size: 16px;
}

/* --- セクション共通 --- */
.section {
  padding: 52px 0;
  position: relative;
}

.section--gray {
  background: var(--gray-bg);
}

.section--tint {
  background: linear-gradient(180deg, var(--tint) 0%, #e8f0f8 100%);
}

.section--tint-deep {
  background: linear-gradient(180deg, var(--tint-deep) 0%, #c5d2e5 100%);
}

.section--navy {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 45%, #0d2135 100%);
}

.section-title {
  text-align: center;
  font-size: 27px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
  position: relative;
  letter-spacing: 0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.reveal-line::after {
  transform: scaleX(1);
}

.section-title--white::after {
  background: linear-gradient(90deg, var(--green), rgba(0, 210, 106, 0.6));
}

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

.section-title-en {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.2em;
  margin-top: 8px;
}

/* セクション左上のシンボルマーク（Hero以外） */
.section-topbar {
  margin-bottom: 10px;
}

.section-mark {
  display: block;
  height: 40px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
  object-position: left center;
}

.section-topbar--on-dark .section-mark {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* --- 事業内容（2ブロック分割・親しみやすい構成） --- */
@keyframes service-connector-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes service-icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.services-intro {
  text-align: center;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.85;
  max-width: 640px;
  margin: -8px auto 36px;
}

.service-block {
  position: relative;
  background: linear-gradient(145deg, var(--card-elevated) 0%, var(--card) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition);
}

.service-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-block.visible::before {
  transform: scaleY(1);
}

.service-block:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(0, 210, 106, 0.28);
}

.service-block--consulting {
  margin-bottom: 0;
}

.service-block--delivery {
  margin-top: 0;
}

.service-block-inner {
  padding: 32px 28px 32px 32px;
}

.service-block-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 18px;
  margin-bottom: 20px;
}

.service-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.service-icon-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 210, 106, 0.1);
  border-radius: 14px;
  transition: transform var(--transition-smooth), background var(--transition);
}

.service-block:hover .service-icon-wrap {
  background: rgba(0, 210, 106, 0.18);
}

.service-block.visible .service-icon-wrap {
  animation: service-icon-bob 3.2s ease-in-out infinite;
}

.service-icon {
  width: 40px;
  height: 40px;
  display: block;
}

.service-header-text {
  flex: 1;
  min-width: 200px;
}

.service-block-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.service-kicker {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dark);
  line-height: 1.6;
  margin: 0;
}

.service-lead {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 22px;
}

.service-points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-point {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: rgba(10, 25, 41, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(10, 25, 41, 0.06);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color var(--transition), background var(--transition);
}

.service-block.visible .service-point {
  opacity: 1;
  transform: translateX(0);
}

.service-block.visible .service-point:nth-child(1) { transition-delay: 0.08s; }
.service-block.visible .service-point:nth-child(2) { transition-delay: 0.16s; }
.service-block.visible .service-point:nth-child(3) { transition-delay: 0.24s; }
.service-block.visible .service-point:nth-child(4) { transition-delay: 0.32s; }
.service-block.visible .service-point:nth-child(5) { transition-delay: 0.4s; }

.service-point:hover {
  background: rgba(0, 210, 106, 0.08);
  border-color: rgba(0, 210, 106, 0.2);
}

.service-point::before {
  content: '✓';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  line-height: 22px;
  text-align: center;
}

.service-point-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

.service-point-text strong {
  color: var(--navy);
  font-weight: 700;
}

.service-footnote {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(10, 25, 41, 0.12);
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

.service-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  max-width: 200px;
  margin: 0 auto;
}

.service-connector-line {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.5;
}

.service-connector-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.2);
  animation: service-connector-pulse 2s ease-in-out infinite;
}

.service-shops-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.service-shops-list li {
  font-size: 13px;
  color: var(--text-sub);
  padding: 4px 0 4px 16px;
  position: relative;
}

.service-shops-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.delivery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.delivery-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  background: rgba(10, 25, 41, 0.06);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(10, 25, 41, 0.1);
  transition: background var(--transition), border-color var(--transition), transform 0.2s ease;
}

.delivery-tag:hover {
  background: rgba(0, 210, 106, 0.12);
  border-color: rgba(0, 210, 106, 0.35);
  transform: translateY(-1px);
}

/* --- 3本の柱 --- */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strength-card {
  background: linear-gradient(160deg, var(--card-elevated) 0%, #e8eef6 100%);
  border-radius: 12px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 25, 41, 0.08);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition);
}

.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 210, 106, 0.3);
}

.strength-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.strength-card:hover .strength-number {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 210, 106, 0.25);
}

.strength-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.strength-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* --- 導入の流れ --- */
.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  max-width: 220px;
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--green);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.flow-step:hover .flow-number {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 210, 106, 0.22);
}

.flow-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.flow-step-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 16px;
  flex-shrink: 0;
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  gap: 16px;
  transition: color var(--transition), background var(--transition);
}

.faq-question:hover {
  color: var(--green-dark);
  background: rgba(10, 25, 41, 0.04);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--green);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 480px;
}

.faq-answer p {
  padding: 0 12px 14px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* --- 会社概要 --- */
.company-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

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

.company-table th,
.company-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(10, 25, 41, 0.1);
  vertical-align: top;
}

.company-table th {
  width: 160px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  background: var(--navy-mid);
  text-align: left;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.company-table tr:nth-child(even) td {
  background: rgba(10, 25, 41, 0.03);
}

.company-table td {
  color: var(--text);
}

/* --- お問い合わせ --- */
.contact-lead {
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.form-required,
.form-optional {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 500;
}

.form-required {
  background: var(--green);
  color: var(--white);
}

.form-optional {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--green);
}

.form-input::placeholder {
  color: var(--text-light);
}

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

.form-privacy {
  margin-bottom: 24px;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

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

.form-checkbox-label a:hover {
  color: var(--green-dark);
}

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

.form-submit {
  text-align: center;
}

/* --- フッター --- */
.footer {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding: 28px 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.footer-company {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-address {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ========================================
   レスポンシブ
   ======================================== */

@media (max-width: 1024px) {
  .service-block-inner {
    padding: 26px 22px 26px 26px;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .flow-step {
    max-width: 100%;
    padding: 0;
    margin-bottom: 8px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding: 0;
    margin: 4px 0;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .sp-only {
    display: inline;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--card-elevated) 0%, var(--tint) 100%);
    padding: 80px 32px 32px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link--cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }

  .hero {
    padding: calc(var(--header-height) + 12px) 20px 28px;
    background-position: center top;
    background-size: 84% auto;
    min-height: min(64vh, 560px);
  }

  .section-mark {
    height: 36px;
  }

  .hero-logo {
    width: 140px;
    margin-bottom: 28px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .service-block-inner {
    padding: 22px 18px 24px 22px;
  }

  .services-intro {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .service-block-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-header-text {
    min-width: 0;
  }

  .strength-card {
    padding: 28px 20px;
  }

  .company-table th {
    width: 100px;
    padding: 14px 12px;
    font-size: 13px;
  }

  .company-table td {
    padding: 14px 12px;
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }

  .contact-lead {
    font-size: 14px;
  }
}

/* オーバーレイ（モバイルメニュー用） */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* スクロールアニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero::before,
  .hero::after {
    animation: none !important;
    opacity: 0.4;
  }

  .nav-link:hover {
    transform: none;
  }

  .service-block:hover {
    transform: none;
  }

  .service-block.visible .service-icon-wrap {
    animation: none !important;
  }

  .service-connector-dot {
    animation: none;
    opacity: 0.85;
  }

  .service-block::before {
    transition: none;
  }

  .service-point {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .strength-card:hover .strength-number,
  .flow-step:hover .flow-number {
    transform: none;
  }

  .fade-in {
    transition-duration: 0.01ms;
    transition-delay: 0s !important;
    transform: none;
  }

  .fade-in.visible {
    opacity: 1;
  }

  .section-title::after {
    transform: scaleX(1);
    transition: none;
  }
}
