@charset "UTF-8";
/* Alcorn McBride トップページ。元は index.html の <style> */

/* ========================================
   リセット・共通
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }

/* ========================================
   CSS Variables — Alcorn McBride (Red)
   ======================================== */
:root {
  --amb-brand-primary:       #C41230;
  --amb-brand-primary-light: #E5193A;
  --amb-brand-primary-dark:  #9E0E26;
  --amb-brand-primary-rgb:   196, 18, 48;

  --amb-brand-dark:    #0a0008;
  --amb-bg-primary:    #FFFFFF;
  --amb-bg-secondary:  #F8F9FA;
  --amb-bg-tertiary:   #EBEDF0;
  --amb-bg-card:       #FFFFFF;
  --amb-bg-dark:       #070508;

  --amb-text-primary:   #1A1A2E;
  --amb-text-secondary: #5A5A72;
  --amb-text-tertiary:  #8A8A9A;
  --amb-text-inverse:   #FFFFFF;
  --amb-text-on-brand:  #FFFFFF;

  --amb-border-color: #E0E0E8;
  --amb-border-light: #EBEDF0;

  --amb-shadow-sm:    0 2px 4px rgba(0,0,0,0.06);
  --amb-shadow-md:    0 4px 16px rgba(0,0,0,0.08);
  --amb-shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
  --amb-shadow-xl:    0 16px 48px rgba(0,0,0,0.16);
  --amb-shadow-brand: 0 8px 32px rgba(196, 18, 48, 0.35);

  --amb-space-xs: 4px; --amb-space-sm: 8px; --amb-space-md: 16px;
  --amb-space-lg: 24px; --amb-space-xl: 40px;
  --amb-space-2xl: 64px; --amb-space-3xl: 100px;

  --amb-radius-sm: 6px; --amb-radius-md: 12px;
  --amb-radius-lg: 20px; --amb-radius-xl: 32px; --amb-radius-full: 9999px;

  --amb-transition-fast: 0.15s ease;
  --amb-transition-base: 0.3s ease;
  --amb-transition-slow: 0.5s ease;

  --amb-font-sans:    'Inter', 'Noto Sans JP', sans-serif;
  --amb-font-display: 'Inter', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --amb-bg-primary:   #08080c;
    --amb-bg-secondary: #0d0d14;
    --amb-bg-tertiary:  #14141f;
    --amb-bg-card:      #0d0d14;
    --amb-text-primary:   #F0F0F5;
    --amb-text-secondary: #A0A0B0;
    --amb-border-color: #2A2A40;
    --amb-border-light: #1F1F35;
  }
}




















/* ========================================
   ブランドナビゲーションバー（赤アクセント）
   ======================================== */
.brand-nav {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
  border-bottom: 3px solid var(--amb-brand-primary);
  position: sticky; top: 70px; z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.brand-nav-wrapper {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-nav-logo { display: flex; align-items: center; padding: 16px 0; }
.brand-nav-logo img { height: 32px; width: auto; }
.brand-nav-menu { display: flex; align-items: center; gap: 0; flex-grow: 1; justify-content: center; }
.brand-nav-menu > li { position: relative; }
.brand-nav-menu > li > a {
  display: flex; align-items: center; gap: 6px; padding: 20px 22px;
  color: rgba(255,255,255,0.88); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.3s ease;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.brand-nav-menu > li > a:hover,
.brand-nav-menu > li > a.active {
  color: var(--amb-brand-primary);
  background: rgba(196, 18, 48, 0.1);
  border-bottom-color: var(--amb-brand-primary);
}
.brand-nav-menu > li > a i { font-size: 11px; transition: transform 0.3s ease; }
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #0a0a0a; border: 1px solid rgba(196,18,48,0.25);
  border-radius: 0 0 8px 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: all 0.3s ease; z-index: 1000;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown:hover > a i,
.nav-dropdown.active > a i { transform: rotate(180deg); }
.dropdown-menu a {
  display: block; padding: 13px 20px; color: rgba(255,255,255,0.8);
  font-size: 13px; font-weight: 500; transition: all 0.2s ease;
  border-left: 3px solid transparent;
}
.dropdown-menu a:hover {
  background: rgba(196,18,48,0.15); color: var(--amb-brand-primary);
  border-left-color: var(--amb-brand-primary);
}
.brand-nav-mobile-toggle {
  display: none; align-items: center; justify-content: center;
  padding: 12px 16px; color: white; font-size: 14px; font-weight: 600;
  cursor: pointer; background: none; border: none; width: 100%; gap: 8px;
}
.brand-nav-mobile-toggle i { transition: transform 0.3s ease; }

@media (max-width: 1024px) {
  .brand-nav { top: 60px; border-bottom-width: 2px; }
  .brand-nav-wrapper { flex-direction: column; padding: 0; }
  .brand-nav-logo { display: none; }
  .brand-nav-mobile-toggle { display: flex; }
  .brand-nav-menu {
    display: none; flex-direction: column; width: 100%;
    padding: 0; background: #0f0808;
  }
  .brand-nav-menu.active { display: flex; }
  .brand-nav-menu > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .brand-nav-menu > li > a { padding: 14px 20px; font-size: 13px; justify-content: space-between; border-bottom: none; }
  .nav-dropdown .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; border: none; border-radius: 0; box-shadow: none; background: rgba(0,0,0,0.3);
  }
  .nav-dropdown.active .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 12px 40px; }
}


















/* ========================================
   メインコンテンツ
   ======================================== */
.amb-main {
  font-family: var(--amb-font-sans);
  font-size: 1rem; line-height: 1.7;
  color: var(--amb-text-primary);
  background: var(--amb-bg-secondary);
  -webkit-font-smoothing: antialiased;
}
.amb-main h1, .amb-main h2, .amb-main h3,
.amb-main h4, .amb-main h5, .amb-main h6, .amb-main p { margin: 0; }

.amb-container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--amb-space-lg); }

.amb-section-header { text-align: center; margin-bottom: var(--amb-space-2xl); }
.amb-section-label {
  display: inline-flex; align-items: center; gap: var(--amb-space-sm);
  background: linear-gradient(135deg, var(--amb-brand-primary), var(--amb-brand-primary-dark));
  color: var(--amb-text-on-brand); padding: var(--amb-space-sm) var(--amb-space-md);
  border-radius: var(--amb-radius-full); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--amb-space-md);
}
.amb-section-title {
  font-family: var(--amb-font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.2; margin-bottom: var(--amb-space-md);
  color: var(--amb-text-primary);
}
.amb-section-header .amb-section-subtitle { font-size: 1.125rem; color: var(--amb-text-secondary); max-width: 600px; margin: 0 auto; }

.amb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--amb-space-sm); padding: var(--amb-space-md) var(--amb-space-xl);
  border-radius: var(--amb-radius-full); font-weight: 600; font-size: 0.9375rem;
  transition: var(--amb-transition-base); position: relative; overflow: hidden;
  border: none; cursor: pointer;
}
.amb-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0; transition: var(--amb-transition-base);
}
.amb-btn:hover::before { opacity: 1; }
.amb-btn-primary {
  background: linear-gradient(135deg, var(--amb-brand-primary), var(--amb-brand-primary-dark));
  color: var(--amb-text-on-brand); box-shadow: var(--amb-shadow-brand);
}
.amb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(196,18,48,0.5); }
.amb-btn-outline-light {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3);
}
.amb-btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--amb-brand-primary); color: var(--amb-brand-primary); }

/* ===================================
   Hero Section — Case C Hybrid
==================================== */
.amb-hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  background: #07020a;
  overflow: hidden;
}

/* テーマパーク写真（背景・薄く合成） */
.amb-hero-bg-photo {
  position: absolute; inset: 0; z-index: 0;
}
.amb-hero-bg-photo img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.6);
}

/* 左→右グラデーションオーバーレイ（左側文字エリアを暗く） */
.amb-hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(7,2,10,0.96) 0%,
    rgba(7,2,10,0.88) 35%,
    rgba(7,2,10,0.55) 60%,
    rgba(7,2,10,0.25) 100%
  );
}

/* 赤いライン（上部アクセント） */
.amb-hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amb-brand-primary) 0%, rgba(196,18,48,0.3) 70%, transparent 100%);
  z-index: 5;
}

.amb-hero-content {
  position: relative; z-index: 10; width: 100%;
  padding: 70px var(--amb-space-lg);
}

.amb-hero-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: var(--amb-space-2xl); align-items: center;
}
@media (min-width: 1024px) {
  .amb-hero-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
}

/* ---- テキスト側 ---- */
.amb-hero-text { text-align: center; }
@media (min-width: 1024px) { .amb-hero-text { text-align: left; } }

/* ブランドロゴ */
.amb-hero-logo { margin-bottom: var(--amb-space-lg); }
.amb-hero-logo img {
  height: 84px; width: auto; margin: 0 auto;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}
@media (min-width: 1024px) { .amb-hero-logo img { height: 100px; margin: 0; } }

/* 年数バッジ */
.amb-hero-years {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amb-brand-primary); margin-bottom: var(--amb-space-md);
}
.amb-hero-years::before {
  content: ''; display: block; width: 28px; height: 2px;
  background: var(--amb-brand-primary);
}

/* メインキャッチ（英語・大文字） */
.amb-hero-catch {
  font-family: var(--amb-font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: var(--amb-space-sm);
}
.amb-hero-catch-red { color: var(--amb-brand-primary); }

/* 矢印ライン */
.amb-hero-arrow-line {
  display: flex; align-items: center; gap: 10px;
  margin: var(--amb-space-sm) 0;
  justify-content: center;
}
@media (min-width: 1024px) { .amb-hero-arrow-line { justify-content: flex-start; } }
.amb-hero-arrow-line::before,
.amb-hero-arrow-line::after {
  content: ''; flex: 1; height: 2px; background: rgba(255,255,255,0.25); max-width: 80px;
}
.amb-hero-arrow-line i { color: rgba(255,255,255,0.5); font-size: 0.75rem; }

/* 日本語サブコピー */
.amb-hero-subcopy {
  font-size: clamp(0.875rem, 1.3vw, 1.0rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: var(--amb-space-3xl);
}
@media (min-width: 1024px) {
  .amb-hero-subcopy { margin-bottom: var(--amb-space-3xl); }
  .amb-hero-actions { margin-top: 56px; }
}

/* CTA ボタン */
.amb-hero-actions { display: flex; flex-wrap: wrap; gap: var(--amb-space-sm); justify-content: center; }
@media (min-width: 1024px) { .amb-hero-actions { justify-content: flex-start; } }
.amb-hero-actions .amb-btn { padding: var(--amb-space-sm) var(--amb-space-lg); font-size: 0.875rem; }

/* スペック小バッジ */
.amb-hero-specs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--amb-space-lg);
  justify-content: center;
}
@media (min-width: 1024px) { .amb-hero-specs { justify-content: flex-start; } }
.amb-hero-spec {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 12px; border-radius: var(--amb-radius-full);
  font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
}
.amb-hero-spec i { color: var(--amb-brand-primary); font-size: 0.7rem; }

/* ---- ビジュアル側 ---- */
.amb-hero-visual {
  display: none; position: relative; z-index: 10;
  align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .amb-hero-visual { display: flex; } }

.amb-hero-product-wrapper { position: relative; width: 100%; max-width: 660px; }

/* スポットライト効果 */
.amb-hero-spotlight {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px;
  background: radial-gradient(ellipse at top, rgba(255,220,180,0.08) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

.amb-hero-product-image {
  position: relative; z-index: 1;
}
.amb-hero-product-image img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7)) drop-shadow(0 0 1px rgba(196,18,48,0.15));
}

/* 40 YEARS バッジ */
.amb-hero-40badge {
  position: absolute;
  bottom: -10px; right: 0px;
  width: 80px; height: 80px;
  z-index: 2;
}
.amb-hero-40badge svg { width: 100%; height: 100%; }

/* モバイル用プロダクト画像 */
.amb-hero-mobile-visual {
  display: block; margin: 0 auto var(--amb-space-xl);
  max-width: 280px; position: relative;
}
.amb-hero-mobile-visual img {
  width: 100%; height: auto;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
}
@media (min-width: 1024px) { .amb-hero-mobile-visual { display: none; } }

/* ===================================
   About Section
==================================== */
.amb-about {
  padding: var(--amb-space-3xl) 0;
  background: var(--amb-bg-primary); position: relative; overflow: hidden;
}
.amb-about::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amb-brand-primary), transparent);
}
.amb-about-inner { display: grid; grid-template-columns: 1fr; gap: var(--amb-space-2xl); align-items: center; }
@media (min-width: 1024px) { .amb-about-inner { grid-template-columns: 1fr 1fr; } }

.amb-about-content { order: 2; }
@media (min-width: 1024px) { .amb-about-content { order: 1; } }

.amb-about-label {
  display: inline-flex; align-items: center; gap: var(--amb-space-sm);
  color: var(--amb-brand-primary); font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--amb-space-sm);
}
.amb-about-label::before { content: ''; width: 32px; height: 2px; background: var(--amb-brand-primary); }

.amb-about-title { font-family: var(--amb-font-display); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 700; color: var(--amb-text-primary); line-height: 1.3; margin-bottom: var(--amb-space-md); }
.amb-about-description { font-size: 0.9375rem; color: var(--amb-text-secondary); line-height: 1.8; margin-bottom: var(--amb-space-md); }
.amb-about-description strong { color: var(--amb-text-primary); font-weight: 600; }

.amb-about-highlight {
  background: linear-gradient(135deg, rgba(196,18,48,0.08) 0%, rgba(196,18,48,0.04) 100%);
  border-left: 4px solid var(--amb-brand-primary);
  padding: var(--amb-space-md) var(--amb-space-lg);
  border-radius: 0 var(--amb-radius-md) var(--amb-radius-md) 0;
  margin-bottom: var(--amb-space-lg);
}
.amb-about-highlight p { font-size: 0.875rem; color: var(--amb-text-primary); line-height: 1.7; margin: 0; }

.amb-about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--amb-space-md); margin-bottom: var(--amb-space-lg); }
.amb-about-stat { text-align: center; padding: var(--amb-space-md); background: var(--amb-bg-secondary); border-radius: var(--amb-radius-md); transition: var(--amb-transition-base); }
.amb-about-stat:hover { background: var(--amb-bg-tertiary); transform: translateY(-4px); }
.amb-about-stat-value { font-family: var(--amb-font-display); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 800; color: var(--amb-brand-primary); line-height: 1; margin-bottom: var(--amb-space-xs); }
.amb-about-stat-label { font-size: 0.75rem; color: var(--amb-text-secondary); font-weight: 500; }

.amb-about-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--amb-space-sm); }
.amb-about-feature { display: flex; align-items: center; gap: var(--amb-space-sm); }
.amb-about-feature-icon { width: 32px; height: 32px; background: rgba(196,18,48,0.12); border-radius: var(--amb-radius-sm); display: flex; align-items: center; justify-content: center; color: var(--amb-brand-primary); font-size: 0.875rem; flex-shrink: 0; }
.amb-about-feature-text { font-size: 0.8125rem; color: var(--amb-text-primary); font-weight: 500; }

.amb-about-visual { order: 1; position: relative; }
@media (min-width: 1024px) { .amb-about-visual { order: 2; } }

.amb-about-image-wrapper { position: relative; border-radius: var(--amb-radius-md); overflow: hidden; box-shadow: var(--amb-shadow-xl); }
.amb-about-image-wrapper::before { content: ''; position: absolute; inset: 0; border: 2px solid var(--amb-brand-primary); border-radius: var(--amb-radius-md); opacity: 0.25; z-index: 1; }
.amb-about-image-wrapper img { width: 100%; height: auto; display: block; }

.amb-about-badge { position: absolute; top: var(--amb-space-md); right: var(--amb-space-md); background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); padding: var(--amb-space-sm) var(--amb-space-md); border-radius: var(--amb-radius-sm); border: 1px solid rgba(196,18,48,0.3); z-index: 2; }
.amb-about-badge-title { font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amb-brand-primary); margin-bottom: 2px; }
.amb-about-badge-value { font-family: var(--amb-font-display); font-size: 1rem; font-weight: 800; color: white; }

/* CEO Quote */
.amb-ceo-quote {
  padding: var(--amb-space-3xl) 0;
  background: linear-gradient(160deg, #0f0205 0%, #1a0508 50%, #0f0205 100%);
  position: relative; overflow: hidden;
}
.amb-ceo-quote::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(196,18,48,0.08) 0%, transparent 60%);
}
.amb-ceo-quote-inner { display: grid; grid-template-columns: 1fr; gap: var(--amb-space-2xl); align-items: center; position: relative; z-index: 1; }
@media (min-width: 768px) { .amb-ceo-quote-inner { grid-template-columns: auto 1fr; } }

.amb-ceo-photo { text-align: center; }
.amb-ceo-photo img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid var(--amb-brand-primary); box-shadow: 0 0 30px rgba(196,18,48,0.3); margin: 0 auto; display: block; }
.amb-ceo-photo-name { color: white; font-size: 0.9rem; font-weight: 700; margin-top: var(--amb-space-sm); }
.amb-ceo-photo-title { color: rgba(255,255,255,0.6); font-size: 0.75rem; margin-top: 2px; }

.amb-ceo-text { }
.amb-ceo-text blockquote {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: rgba(255,255,255,0.85); line-height: 1.9; margin: 0;
  border-left: 3px solid var(--amb-brand-primary); padding-left: var(--amb-space-lg);
}

/* ===================================
   Use Cases Section
==================================== */
.amb-use-cases { padding: var(--amb-space-3xl) 0; background: var(--amb-bg-secondary); }
.amb-use-case-grid { display: grid; grid-template-columns: 1fr; gap: var(--amb-space-lg); }
@media (min-width: 768px) { .amb-use-case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .amb-use-case-grid { grid-template-columns: repeat(4, 1fr); } }

.amb-use-case-card { background: var(--amb-bg-card); border-radius: var(--amb-radius-lg); overflow: hidden; box-shadow: var(--amb-shadow-md); border: 1px solid var(--amb-border-light); transition: var(--amb-transition-base); display: flex; flex-direction: column; }
.amb-use-case-card:hover { transform: translateY(-8px); box-shadow: var(--amb-shadow-xl); border-color: var(--amb-brand-primary); }

.amb-use-case-image { position: relative; width: 100%; height: 180px; overflow: hidden; }
.amb-use-case-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--amb-transition-slow); }
.amb-use-case-card:hover .amb-use-case-image img { transform: scale(1.1); }
.amb-use-case-image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%); }

.amb-use-case-icon-badge {
  position: absolute; top: var(--amb-space-md); right: var(--amb-space-md);
  width: 40px; height: 40px; background: var(--amb-brand-primary);
  border-radius: var(--amb-radius-sm); display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}

.amb-use-case-content { padding: var(--amb-space-lg); flex: 1; display: flex; flex-direction: column; }
.amb-use-case-category { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amb-brand-primary); margin-bottom: var(--amb-space-sm); }
.amb-use-case-title { font-family: var(--amb-font-display); font-size: 1.25rem; font-weight: 700; color: var(--amb-text-primary); line-height: 1.3; margin-bottom: var(--amb-space-sm); }
.amb-use-case-desc { font-size: 0.875rem; color: var(--amb-text-secondary); line-height: 1.6; margin-bottom: var(--amb-space-md); flex: 1; }
.amb-use-case-link { display: inline-flex; align-items: center; gap: var(--amb-space-sm); color: var(--amb-brand-primary); font-weight: 600; font-size: 0.875rem; transition: var(--amb-transition-base); margin-top: auto; }
.amb-use-case-link:hover { gap: var(--amb-space-md); }
.amb-use-case-card:hover .amb-use-case-link i { transform: translateX(4px); }

/* ===================================
   Products Section
==================================== */
.amb-products { padding: var(--amb-space-3xl) 0; background: var(--amb-bg-primary); }
.amb-category-grid { display: grid; grid-template-columns: 1fr; gap: var(--amb-space-xl); }
@media (min-width: 768px) { .amb-category-grid { grid-template-columns: repeat(2, 1fr); } }

.amb-category-card { background: var(--amb-bg-card); border-radius: var(--amb-radius-lg); overflow: hidden; box-shadow: var(--amb-shadow-md); border: 1px solid var(--amb-border-light); transition: var(--amb-transition-base); display: flex; flex-direction: column; }
.amb-category-card:hover { transform: translateY(-8px); box-shadow: var(--amb-shadow-xl); border-color: var(--amb-brand-primary); }

.amb-category-header {
  position: relative; padding: var(--amb-space-xl);
  background: linear-gradient(160deg, #000000 0%, #1a0508 30%, #150308 60%, #100208 100%);
  color: white; overflow: hidden; min-height: 200px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.amb-category-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 100% at 0% 0%, rgba(196,18,48,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 80% at 100% 100%, rgba(196,18,48,0.08) 0%, transparent 40%);
  z-index: 1;
}
.amb-category-header::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,18,48,0.4), transparent); z-index: 2;
}
.amb-category-image { display: none; }
.amb-category-image-mobile { display: block; width: 100%; max-width: 220px; margin: var(--amb-space-md) auto 0; filter: drop-shadow(0 10px 25px rgba(0,0,0,0.5)); }

@media (min-width: 640px) {
  .amb-category-image { display: block; position: absolute; top: 50%; right: var(--amb-space-md); transform: translateY(-50%); max-width: 200px; max-height: 150px; z-index: 2; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); transition: var(--amb-transition-base); }
  .amb-category-card:hover .amb-category-image { transform: translateY(-50%) scale(1.05); }
  .amb-category-image-mobile { display: none; }
}

.amb-category-header-content { position: relative; z-index: 3; }
@media (min-width: 640px) { .amb-category-header-content { max-width: 55%; } }

.amb-category-title { font-family: var(--amb-font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: var(--amb-space-sm); color: var(--amb-brand-primary); text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.amb-category-desc { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.5; margin-top: var(--amb-space-xs); }

.amb-category-content { padding: var(--amb-space-xl); flex: 1; display: flex; flex-direction: column; }
.amb-category-models-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amb-text-tertiary); margin-bottom: var(--amb-space-md); }
.amb-category-models { display: flex; flex-wrap: wrap; gap: var(--amb-space-sm); margin-bottom: var(--amb-space-lg); flex: 1; align-content: flex-start; }
.amb-category-model {
  display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px;
  min-width: 100px; height: 36px; background: var(--amb-bg-secondary);
  border-radius: var(--amb-radius-full); font-size: 0.8125rem; font-weight: 600;
  color: var(--amb-text-primary); transition: var(--amb-transition-base);
  border: 2px solid transparent; cursor: pointer; flex-shrink: 0;
}
.amb-category-model:hover { background: var(--amb-brand-primary); color: white; transform: translateY(-2px); }

.amb-category-action { display: flex; align-items: center; justify-content: space-between; padding-top: var(--amb-space-md); border-top: 1px solid var(--amb-border-light); margin-top: auto; }
.amb-category-link { display: inline-flex; align-items: center; gap: var(--amb-space-sm); color: var(--amb-brand-primary); font-weight: 600; font-size: 0.9375rem; transition: var(--amb-transition-base); }
.amb-category-link:hover { gap: var(--amb-space-md); }
.amb-category-count { font-size: 0.8125rem; color: var(--amb-text-tertiary); }

/* ===================================
   Model Catalog Section
==================================== */
.amb-models-catalog { padding: var(--amb-space-3xl) 0; background: var(--amb-bg-secondary); }
.amb-catalog-section { margin-bottom: var(--amb-space-xl); }
.amb-catalog-section:last-child { margin-bottom: 0; }
.amb-catalog-section-header { display: flex; align-items: center; gap: var(--amb-space-md); padding: var(--amb-space-md) 0; border-bottom: 2px solid var(--amb-brand-primary); margin-bottom: var(--amb-space-md); }
.amb-catalog-section-icon { width: 36px; height: 36px; background: var(--amb-brand-primary); border-radius: var(--amb-radius-sm); display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; flex-shrink: 0; }
.amb-catalog-section-title { font-family: var(--amb-font-display); font-size: 1.125rem; font-weight: 700; color: var(--amb-text-primary); }
.amb-catalog-section-link { margin-left: auto; display: inline-flex; align-items: center; gap: var(--amb-space-xs); color: var(--amb-brand-primary); font-size: 0.8125rem; font-weight: 600; }
.amb-catalog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--amb-space-sm); }
.amb-catalog-item { display: flex; align-items: center; gap: var(--amb-space-md); padding: var(--amb-space-sm) var(--amb-space-md); background: var(--amb-bg-primary); border-radius: var(--amb-radius-sm); transition: var(--amb-transition-base); border: 1px solid transparent; }
.amb-catalog-item:hover { background: var(--amb-bg-tertiary); border-color: var(--amb-brand-primary); }
.amb-catalog-item-model { font-family: var(--amb-font-display); font-size: 0.875rem; font-weight: 700; color: var(--amb-brand-primary); min-width: 120px; }
.amb-catalog-item-name { font-size: 0.8125rem; color: var(--amb-text-secondary); flex: 1; }
.amb-catalog-item-badge {
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  padding: 2px 7px; border-radius: var(--amb-radius-sm);
  background: rgba(196,18,48,0.1); color: var(--amb-brand-primary); border: 1px solid rgba(196,18,48,0.2);
  flex-shrink: 0;
}
.amb-catalog-item-badge-dante {
  background: rgba(0,120,200,0.1); color: #0078c8; border-color: rgba(0,120,200,0.2);
}

/* Back to Top */
.amb-back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--amb-brand-primary), var(--amb-brand-primary-dark));
  color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; box-shadow: var(--amb-shadow-brand);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--amb-transition-base); z-index: 99; border: none; cursor: pointer;
}
.amb-back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.amb-back-to-top:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(196,18,48,0.5); }

@media (max-width: 640px) {
  .amb-hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .amb-hero-actions .amb-btn { width: 100%; max-width: 260px; }
  .amb-about-stats { grid-template-columns: 1fr; }
  .amb-about-features { grid-template-columns: 1fr; }
  .amb-catalog-list { grid-template-columns: 1fr; }
}


/* ===== 共通ヘッダー・フッター（includes/header.php・footer.php）に合わせた補正 ===== */
.amb-page { padding-top: var(--site-header-height, 64px); line-height: normal; } /* 固定ヘッダーの下から開始。行間は元ページ（ブラウザ標準）に合わせる */
/* サイト共通 CSS の nav { display:flex; padding; max-width; min-height } を、ブランド内の nav（ブランドナビ・タブ）では打ち消す。
   :where() で詳細度を nav と同じにし、各 nav 自身のクラス指定（.uc-tabs など）は優先させる */
:where(.amb-page) nav { display: block; max-width: none; min-height: 0; margin: 0; padding: 0; }
.amb-page .brand-nav { top: var(--site-header-height, 64px); }
@media (max-width:1024px) { .amb-page .brand-nav { top: var(--site-header-height, 64px); } }
/* サイト共通 CSS の * { margin:0; padding:0 } で消えたブラウザ標準の余白を戻す（元ページはこれを前提に作られている）。
   :where() で詳細度 0 にし、各要素のクラス指定が優先されるようにする */
:where(.amb-page) :where(h1) { margin: 0.67em 0; }
:where(.amb-page) :where(h2) { margin: 0.83em 0; }
:where(.amb-page) :where(h3) { margin: 1em 0; }
:where(.amb-page) :where(h4) { margin: 1.33em 0; }
:where(.amb-page) :where(h5) { margin: 1.67em 0; }
:where(.amb-page) :where(h6) { margin: 2.33em 0; }
:where(.amb-page) :where(p, dl, pre) { margin: 1em 0; }
:where(.amb-page) :where(blockquote, figure) { margin: 1em 40px; }
:where(.amb-page) :where(dd) { margin-left: 40px; }
:where(.amb-page) :where(td, th) { padding: 1px; }
:where(.amb-page) :where(button) { padding: 1px 6px; }
/* 別ページから index.php#about などで来たとき、見出しが固定ヘッダーとブランドナビに隠れないように */
.amb-page [id] { scroll-margin-top: calc(var(--site-header-height, 64px) + 90px); }
