/* ============================================================
   国際連携学舎株式会社 - Corporate Website CSS
   Version: 7.0 (Trilingual / Container Focus / Dot World Map)
   ============================================================ */

/* ── 1. CSS Variables ─────────────────────────────────── */
:root {
  --orange:       #E8611A;
  --orange-light: #F07D3A;
  --orange-dark:  #C44E10;
  --dark:         #1A1A1A;
  --dark-2:       #252525;
  --gray-dark:    #3D3D3D;
  --gray-mid:     #6B6B6B;
  --gray-light:   #F5F5F5;
  --white:        #FFFFFF;
  --border:       rgba(0,0,0,0.08);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.18);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:   'Playfair Display', 'Noto Serif JP', serif;
  --font-sans:    'Noto Sans JP', 'Inter', sans-serif;
  --max-width:    1200px;
  --section-pad:  100px;
}

/* ── 2. Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. Typography ────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 18px;
}
.section-title.white { color: var(--white); }
.section-lead {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.85;
  max-width: 640px;
}
.section-lead.white { color: rgba(255,255,255,0.78); }

/* ── 4. Layout ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
section { padding: var(--section-pad) 0; }
.text-center { text-align: center; }
.text-center .section-lead { margin: 0 auto; }

/* ── 5. Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232,97,26,0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,97,26,0.45);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}
.btn-outline-dark {
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn-outline-dark:hover {
  background: var(--orange);
  color: var(--white);
}

/* ── 6. Header ────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
  background: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}
#header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  height: 64px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo img {
  height: 76px;
  width: auto;
  transition: height 0.3s ease, opacity 0.45s ease;
}
#header.scrolled .header-logo img { height: 62px; }
.header-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.header-logo-text .logo-ja {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s;
}
.header-logo-text .logo-en {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
#header.scrolled .header-logo-text .logo-ja { color: var(--dark); }
#header.scrolled .header-logo-text .logo-en { color: var(--gray-mid); }

.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-list a {
  display: block;
  padding: 8px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 11px; right: 11px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-list a:hover::after,
.nav-list a.active::after { transform: scaleX(1); }
#header.scrolled .nav-list a { color: var(--dark); }
.nav-list a:hover { color: var(--orange); }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.25);
}
#header.scrolled .lang-switcher { border-left-color: var(--border); }
.lang-btn {
  padding: 5px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  border-radius: 3px;
  transition: var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  background: var(--orange);
  color: var(--white);
}
#header.scrolled .lang-btn { color: var(--gray-mid); }
#header.scrolled .lang-btn:hover,
#header.scrolled .lang-btn.active {
  background: var(--orange);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#header.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1), .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2), .hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3), .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open,
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  padding: 10px 24px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-lang {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.mobile-lang .lang-btn {
  font-size: 0.85rem;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  color: rgba(255,255,255,0.65);
}
.mobile-lang .lang-btn.active,
.mobile-lang .lang-btn:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.7);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color 0.2s;
}
.mobile-menu-close:hover { color: var(--orange); }

/* ── 7. Hero（全幅背景・左テキスト・参考サイト風） ──────────── */
#hero {
  position: relative;
  min-height: 100vh;
  padding: 0; /* section { padding: 100px 0 } を上書き */
  background: #f8f8f8;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 右側：背景画像（absolute配置） */
.hero-product {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  z-index: 0;
}
.hero-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

/* 左側グラデーションマスク */
.hero-product::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(to right, #f8f8f8 25%, rgba(248,248,248,0.9) 55%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* 世界地図ウォーターマーク（非表示：画像に含まれているため） */
.hero-worldmap {
  display: none;
}

/* 斜めの区切り線 */
.hero-diagonal {
  position: absolute;
  top: 0;
  left: 46%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 5%, rgba(232,96,10,0.2) 30%, rgba(232,96,10,0.2) 70%, transparent 95%);
  transform: rotate(5deg);
  transform-origin: top center;
  z-index: 2;
  pointer-events: none;
}

/* 左：テキストコンテンツ */
#hero .hero-content {
  position: relative;
  z-index: 3;
  width: 55%;
  max-width: 680px;
  padding: 0 40px 0 max(40px, calc((100vw - 1280px) / 2 + 40px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

/* ラベル */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--orange);
}

/* メインタイトル */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--orange);
}

/* キャッチコピー */
.hero-catchcopy {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  border-left: 3px solid var(--orange);
  padding-left: 14px;
  display: block;
}

/* サブテキスト */
.hero-sub {
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  color: #555;
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 460px;
}

/* ボタン */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* btn-outline-dark: 白背景用アウトラインボタン */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid var(--dark);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 3px;
  transition: background var(--transition), color var(--transition);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

/* 右下タグリスト */
.hero-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-tags li {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #999;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-tags li::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--orange);
  opacity: 0.6;
}

/* SCROLLインジケーター */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(232,96,10,0.5));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ナビバー：白背景（ヒーローが白のため最初から白） */
#header {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-list a {
  color: var(--dark) !important;
}
.nav-list a::after {
  background: var(--orange) !important;
}
.hamburger span {
  background: var(--dark) !important;
}

/* ロゴ：最初からカラーロゴ表示（白背景のため） */
.logo-white {
  opacity: 0 !important;
}
.logo-color {
  opacity: 1 !important;
}
#header.scrolled .logo-white {
  opacity: 0 !important;
}
#header.scrolled .logo-color {
  opacity: 1 !important;
}

/* モバイル対応 */
@media (max-width: 900px) {
  #hero {
    min-height: 100svh;
    align-items: flex-end;
  }
  .hero-product {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .hero-product-img {
    object-position: center center;
  }
  .hero-product::before {
    background: linear-gradient(to bottom, rgba(248,248,248,0.2) 0%, rgba(248,248,248,0.6) 40%, rgba(248,248,248,0.95) 65%, #f8f8f8 100%);
    width: 100%;
    height: 100%;
  }
  #hero .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 24px 80px;
    min-height: unset;
  }
  .hero-diagonal {
    display: none;
  }
  .hero-sub {
    max-width: 100%;
  }
  .hero-tags {
    display: none;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn,
  .hero-actions .btn-outline-dark {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ── 8. World Map Section ─────────────────────────────── */
#world-map {
  padding: 80px 0;
  background: var(--dark);
  overflow: hidden;
}
.world-map-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}
.world-map-canvas-wrap {
  position: relative;
}
#dotWorldMap {
  display: block;
  width: 100%;
  height: auto;
}
/* Map pins */
.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -100%);
}
.map-pin-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,97,26,0.3);
  animation: pinPulse 2.5s ease-in-out infinite;
}
.map-pin-dot.sm {
  width: 10px; height: 10px;
  background: var(--orange-light);
  box-shadow: 0 0 0 3px rgba(232,97,26,0.2);
}
@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,97,26,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(232,97,26,0.0); }
}
.map-pin-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  background: rgba(232,97,26,0.88);
  padding: 2px 7px;
  border-radius: 3px;
}
.world-map-info { color: var(--white); }
.world-map-info .section-title { color: var(--white); }
.network-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.network-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: var(--transition);
}
.network-stat:hover {
  background: rgba(232,97,26,0.1);
  border-color: rgba(232,97,26,0.3);
}
.network-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 5px;
}
.network-stat-num sup { font-size: 0.9rem; vertical-align: super; }
.network-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.network-locations {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.network-loc {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.78);
}
.network-loc-flag { font-size: 1.3rem; }

/* ── 9. About Section ─────────────────────────────────── */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--orange);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 8px 24px rgba(232,97,26,0.4);
}
.about-badge-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-text { font-size: 0.7rem; margin-top: 4px; opacity: 0.9; }
.about-text { padding-right: 20px; }
.about-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-feature-icon {
  width: 40px; height: 40px;
  background: rgba(232,97,26,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  font-size: 1rem;
}
.about-feature-text h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.about-feature-text p { font-size: 0.8rem; color: var(--gray-mid); line-height: 1.6; }

/* ── 10. Why Us ───────────────────────────────────────── */
#why-us { background: var(--gray-light); }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-card-num {
  position: absolute;
  top: -10px; right: 20px;
  font-family: var(--font-serif);
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(232,97,26,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.why-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(232,97,26,0.3);
}
.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.why-card p { font-size: 0.86rem; color: var(--gray-mid); line-height: 1.8; }
/* legacy .why-card-icon-svg removed — now using .why-card-illust */

/* ── 11. Container Business (MAIN SECTION) ────────────── */
#container-business {
  background: var(--dark);
  padding: 0;
  overflow: hidden;
}
.container-hero {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.container-hero-bg { position: absolute; inset: 0; }
.container-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.container-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10,10,10,0.90) 0%,
    rgba(10,10,10,0.62) 55%,
    rgba(10,10,10,0.18) 100%
  );
}
.container-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.container-hero-content .section-label { color: var(--orange); }
.container-hero-content .section-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.container-hero-content .section-lead { color: rgba(255,255,255,0.78); }
.container-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Two product types */
.container-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--dark);
}
.container-type {
  position: relative;
  overflow: hidden;
  height: 500px;
  display: flex;
  align-items: flex-end;
}
.container-type-bg { position: absolute; inset: 0; }
.container-type-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.container-type:hover .container-type-bg img { transform: scale(1.06); }
.container-type-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.94) 0%,
    rgba(10,10,10,0.42) 50%,
    rgba(10,10,10,0.08) 100%
  );
  transition: var(--transition);
}
.container-type:hover .container-type-overlay {
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.97) 0%,
    rgba(10,10,10,0.58) 55%,
    rgba(10,10,10,0.12) 100%
  );
}
.container-type-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  width: 100%;
}
.container-type-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.container-type-content h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.container-type-content p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 18px;
}
.container-type-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.container-type-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.82);
}
.container-type-feature::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── 12. Reasons Section (Graphical) ──────────────────── */
.container-reasons {
  padding: 80px 0;
  background: var(--dark-2);
}
.reasons-header { text-align: center; margin-bottom: 52px; }
.reasons-header .section-title { color: var(--white); }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.reason-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: default;
}
.reason-card-bg { position: absolute; inset: 0; }
.reason-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  filter: saturate(0.75) brightness(0.85);
}
.reason-card:hover .reason-card-bg img {
  transform: scale(1.08);
  filter: saturate(1) brightness(0.9);
}
.reason-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.96) 0%,
    rgba(10,10,10,0.5) 45%,
    rgba(10,10,10,0.12) 100%
  );
  transition: var(--transition);
}
.reason-card:hover .reason-card-overlay {
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.97) 0%,
    rgba(232,97,26,0.18) 50%,
    rgba(10,10,10,0.18) 100%
  );
}
/* Orange accent bar on hover */
.reason-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 2;
}
.reason-card:hover::after { transform: scaleX(1); }

.reason-card-content {
  position: relative;
  z-index: 1;
  padding: 36px 32px;
  width: 100%;
}
.reason-num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.92;
}
.reason-card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}
.reason-card-content p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease;
  opacity: 0;
}
.reason-card:hover .reason-card-content p {
  max-height: 140px;
  opacity: 1;
}

/* ── 13. Business Section ─────────────────────────────── */
#business { background: var(--white); }
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.business-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.business-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.business-img-wrap {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
}
.business-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.business-card:hover .business-img-wrap img { transform: scale(1.06); }
.business-card-body { padding: 22px; }
.business-card-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.business-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.business-card-body p { font-size: 0.82rem; color: var(--gray-mid); line-height: 1.75; }

/* ── 14. Biomass Section ──────────────────────────────── */
#biomass { background: var(--gray-light); }
.biomass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.biomass-image-wrap { position: relative; }
.biomass-image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.biomass-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--orange);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.biomass-features {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.biomass-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
  box-shadow: var(--shadow-sm);
}
.biomass-feature-icon { color: var(--orange); font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; }
.biomass-feature-text h4 { font-size: 0.86rem; font-weight: 700; margin-bottom: 2px; }
.biomass-feature-text p { font-size: 0.78rem; color: var(--gray-mid); line-height: 1.5; }
.biomass-spec-table {
  margin-top: 32px;
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.biomass-spec-table thead tr { background: var(--dark); color: var(--white); }
.biomass-spec-table th { padding: 13px 18px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-align: left; }
.biomass-spec-table td { padding: 11px 18px; font-size: 0.83rem; border-bottom: 1px solid var(--border); background: var(--white); }
.biomass-spec-table tr:last-child td { border-bottom: none; }
.biomass-spec-table td:last-child { font-weight: 600; color: var(--orange); }

/* ── 15. Cases Section ────────────────────────────────── */
#cases { background: var(--white); }
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 52px;
}
.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}
.case-card:hover { transform: translateY(-6px); }
.case-img-wrap {
  position: relative;
  padding-top: 58%;
  overflow: hidden;
}
.case-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.case-card:hover .case-img-wrap img { transform: scale(1.05); }
.case-num-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 3px;
}
.case-body { padding: 26px; background: var(--white); }
.case-body h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.case-body p { font-size: 0.84rem; color: var(--gray-mid); line-height: 1.75; }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.case-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(232,97,26,0.1);
  color: var(--orange);
}

/* ── 16. Network Section ──────────────────────────────── */
/* background は .network-section パッチで管理 */
.network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}
.network-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--orange);
  transition: transform var(--transition), box-shadow var(--transition);
}
.network-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.network-card-flag { font-size: 2.4rem; margin-bottom: 14px; }
.network-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.network-card-sub { font-size: 0.78rem; color: var(--orange); font-weight: 600; margin-bottom: 14px; }
.network-card p { font-size: 0.85rem; color: var(--gray-mid); line-height: 1.8; }
.network-partners { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.network-partner-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  background: var(--gray-light);
  color: var(--gray-dark);
}

/* ── 17. Partner CTA ──────────────────────────────────── */
#partner,
.partner-section {
  background: var(--dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.partner-section .section-label.light { color: var(--orange); }
.partner-section .section-title.light { color: var(--white); }
.partner-section .section-sub.light { color: rgba(255,255,255,0.68); max-width: 700px; margin: 0 auto; }
.partner-header { margin-bottom: 48px; }
.partner-inner { max-width: 720px; margin: 0 auto; }
.partner-inner .section-title { color: var(--white); }
.partner-inner .section-lead { color: rgba(255,255,255,0.72); margin: 0 auto 40px; }
.partner-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 44px;
  text-align: left;
}
.partner-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}
.partner-card:hover {
  background: rgba(232,97,26,0.12);
  border-color: rgba(232,97,26,0.4);
}
.partner-card-icon { font-size: 2rem; margin-bottom: 10px; line-height: 1; }
.partner-card-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.7;
  margin-bottom: 10px;
  line-height: 1;
  letter-spacing: 0.05em;
}
.partner-card h3,
.partner-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 7px; }
.partner-card p { font-size: 0.78rem; color: rgba(255,255,255,0.58); line-height: 1.7; }

/* ── 18. Company Section ──────────────────────────────── */
#company { background: var(--white); }
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:last-child { border-bottom: none; }
.company-table th {
  padding: 15px 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-mid);
  text-align: left;
  width: 120px;
  vertical-align: top;
}
.company-table td {
  padding: 15px 0;
  font-size: 0.87rem;
  line-height: 1.7;
}
.company-table td a { color: var(--orange); text-decoration: underline; }
.company-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--gray-light);
}
.company-map-wrap iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ── 19. Contact Section ──────────────────────────────── */
#contact { background: var(--gray-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-info-items {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-info-icon {
  width: 42px; height: 42px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.contact-info-text h4 {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gray-mid);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-info-text p,
.contact-info-text a { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 7px;
  letter-spacing: 0.04em;
}
.form-group label .required { color: var(--orange); margin-left: 4px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,97,26,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(232,97,26,0.28);
}
.form-submit:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(232,97,26,0.38);
}

/* ── 20. Footer ───────────────────────────────────────── */
#footer {
  background: var(--dark);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand-logo img { height: 72px; width: auto; }
.footer-brand-logo-text .logo-ja {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.footer-brand-logo-text .logo-en {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 18px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 7px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.83rem; color: rgba(255,255,255,0.62); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
}
.footer-contact-item i { color: var(--orange); font-size: 0.82rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.8rem; color: rgba(255,255,255,0.58); line-height: 1.6; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 0.72rem; color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.55); }

/* ── 21. Animations ───────────────────────────────────── */
.gs-reveal { will-change: transform, opacity; }

/* ── 22. Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 28px; }
  .about-grid,
  .biomass-grid,
  .company-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-badge { bottom: -12px; right: -12px; }
  .world-map-inner { grid-template-columns: 1fr; gap: 36px; }
  .container-types { grid-template-columns: 1fr; }
  .container-type { height: 400px; }
  .reasons-grid { grid-template-columns: 1fr; gap: 3px; }
  .reason-card { height: 380px; }
  .reason-card-content p { max-height: 100px; opacity: 1; }
  .business-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .container { padding: 0 20px; }
  #header { padding: 0 20px; }
  .header-nav,
  .lang-switcher { display: none; }
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  #header {
    flex-wrap: nowrap;
    height: 60px;
    padding: 0 20px;
  }
  /* mobile-menu はグローバルで visibility ベース制御 */
  /* hero-content: 新ヒーローCSSで管理 */
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .why-us-grid { grid-template-columns: 1fr; gap: 18px; }
  .business-grid { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: 1fr; }
  .partner-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  /* フッター モバイル改善 */
  #footer { padding: 48px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }
  .footer-brand-logo img { height: 56px; }
  .footer-brand-logo-text .logo-ja { font-size: 0.88rem; }
  .footer-brand p { font-size: 0.82rem; }
  .footer-col h4 { font-size: 0.72rem; margin-bottom: 12px; }
  .footer-col ul li a { font-size: 0.85rem; }
  .footer-contact-item span { font-size: 0.82rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 18px 0;
  }
  .footer-copy { font-size: 0.74rem; }
  .footer-bottom-links { gap: 14px; }
  .footer-bottom-links a { font-size: 0.74rem; }
  .container-hero { height: 420px; }
  .network-stats { grid-template-columns: 1fr 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .reason-card { height: 340px; }
  .reason-card-content p { max-height: 100px; opacity: 1; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .container-hero-actions { flex-direction: column; }
  .container-hero-actions .btn { width: 100%; justify-content: center; }
  .network-stats { grid-template-columns: 1fr; }
}

/* ── PATCH: Missing class aliases ─────────────────────── */
/* strength-section = section with why-us-grid */
.strength-section { background: var(--gray-light); }

/* world-map-wrap = canvas wrapper for dot world map */
.world-map-wrap {
  position: relative;
  width: 100%;
  margin: 40px auto 0;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.world-map-wrap canvas,
.world-map-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

/* base-cards = Japan/Vietnam base cards */
.base-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.base-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
  color: var(--white);
  min-width: 220px;
  transition: var(--transition);
}
.base-card:hover {
  background: rgba(232,97,26,0.12);
  border-color: rgba(232,97,26,0.4);
  transform: translateY(-4px);
}
.base-flag {
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.base-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--orange);
}
.base-loc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.base-detail {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.base-connector {
  display: flex;
  align-items: center;
  opacity: 0.7;
}
.base-connector svg {
  width: 80px;
  height: 24px;
}
@media (max-width: 768px) {
  .base-connector { transform: rotate(90deg); }
  .world-map-wrap canvas { height: 240px; }
  /* PC用地図を非表示、モバイル用地図を表示 */
  .map-pc { display: none !important; }
  .map-mobile { display: block !important; }
}

/* ── PATCH: partner-section cards grid ────────────────── */
.partner-section .partner-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 44px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.partner-cta { margin-top: 32px; }
@media (max-width: 768px) {
  .partner-section .partner-cards { grid-template-columns: 1fr; }
}

/* ── PATCH: about-section ────────────────────────────── */
.about-section { background: var(--white); }
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}
.about-table-wrap { width: 100%; }
.about-table {
  width: 100%;
  border-collapse: collapse;
}
.about-table tr { border-bottom: 1px solid var(--border); }
.about-table tr:last-child { border-bottom: none; }
.about-table th {
  padding: 15px 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-mid);
  text-align: left;
  width: 130px;
  vertical-align: top;
}
.about-table td {
  padding: 15px 0;
  font-size: 0.88rem;
  line-height: 1.7;
}
.about-table td a { color: var(--orange); text-decoration: underline; }
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ── PATCH: contact-section ──────────────────────────── */
.contact-section { background: var(--gray-light); }
.contact-form-wrap {
  max-width: 700px;
  margin: 48px auto 0;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-privacy {
  display: flex;
  align-items: center;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── PATCH: reasons-section (品質へのこだわり) ──────────── */
.reasons-section {
  background: var(--dark-2);
  padding: 80px 0;
}
.reasons-section .reasons-header {
  text-align: center;
  margin-bottom: 52px;
}
.reasons-section .section-title {
  color: var(--white);
}

/* ── PATCH: biomass-section ──────────────────────────── */
.biomass-section { background: var(--gray-light); }
.biomass-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}
.biomass-content .feature-list {
  list-style: none;
  padding: 0;
}
.biomass-content .feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.biomass-content .feature-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.biomass-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.spec-table-wrap {
  margin-top: 48px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table thead tr { background: var(--dark); color: var(--white); }
.spec-table th { padding: 13px 18px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-align: left; }
.spec-table td { padding: 11px 18px; font-size: 0.83rem; border-bottom: 1px solid var(--border); background: var(--white); }
.spec-table tr:last-child td { border-bottom: none; }
@media (max-width: 768px) {
  .biomass-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ── PATCH: container-house split layout ─────────────── */
.container-house {
  background: var(--white);
  padding: 80px 0;
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
  .split-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ── PATCH: section-sub ──────────────────────────────── */
.section-sub {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.85;
  max-width: 640px;
}
.section-sub.light { color: rgba(255,255,255,0.68); }
.section-label.light { color: var(--orange); }
.section-title.light { color: var(--white); }

/* ── PATCH: business-link ────────────────────────────── */
.business-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 10px;
  transition: gap 0.3s ease;
}
.business-link:hover { gap: 10px; }

/* ── PATCH: network-section ───────────────────────────── */
/* デフォルトは白（デイモード）。JSのinitNetworkFadeがスクロールに応じて動的に変更する */
.network-section {
  background: var(--white);
  padding: var(--section-pad) 0;
  overflow: hidden;
}
.network-section .section-label { color: var(--orange); }
.network-section .section-title { color: var(--dark); }
.network-section .section-sub { color: var(--gray-mid); }

/* ── PATCH: container-features / features-grid / feature-card ── */
.container-features {
  background: var(--white);
  padding: 72px 0 60px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}
.feature-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
/* legacy .feature-icon removed — now using .feature-illust */
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.feature-card p {
  font-size: 0.86rem;
  color: var(--gray-mid);
  line-height: 1.8;
}
.container-cta-wrap {
  text-align: center;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── 商品ラインナップ マーキーギャラリー ─────────────────── */
.marquee-section {
  overflow: hidden;
  background: var(--gray-light);
  padding: 32px 0 24px;
  position: relative;
}
.marquee-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.marquee-item:hover img { transform: scale(1.06); }
.marquee-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 20px 12px 10px;
  letter-spacing: 0.04em;
}

/* ── 特注オーダー受付バナー ─────────────────────────────── */
.custom-order-banner {
  background: linear-gradient(135deg, #FFF5EF 0%, #FFF9F5 100%);
  border-top: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  padding: 48px 0;
}
.custom-order-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.custom-order-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}
.custom-order-icon svg {
  width: 64px;
  height: 64px;
}
.custom-order-text {
  flex: 1;
}
.custom-order-text h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}
.custom-order-text p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.85;
}
@media (max-width: 768px) {
  .custom-order-inner {
    flex-direction: column;
    text-align: center;
  }
  .marquee-item { width: 220px; height: 160px; }
}

/* -- EXTERIOR QUALITY SECTION -------------------------------- */
.exterior-quality-section {
  background: var(--dark-2);
  padding: 80px 0 64px;
}
.exterior-quality-header {
  text-align: center;
  margin-bottom: 48px;
}
.exterior-quality-header .section-title {
  color: var(--white);
}
.exterior-quality-header .section-sub {
  color: rgba(255,255,255,0.68);
  max-width: 680px;
  margin: 0 auto;
}
.exterior-quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.exterior-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(232,97,26,0.25);
}
.exterior-img-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.exterior-img-wrap:hover img {
  transform: scale(1.04);
}
.exterior-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 20px 16px 12px;
  font-family: var(--font-serif);
}
.exterior-quality-desc {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 28px 32px;
}
.exterior-quality-desc p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.9;
  margin: 0;
}
@media (max-width: 768px) {
  .exterior-quality-grid {
    grid-template-columns: 1fr;
  }
  .exterior-img-wrap img {
    height: 220px;
  }
  .exterior-quality-desc {
    padding: 20px 18px;
  }
}

/* -- CARD ILLUSTRATION STYLES (consolidated) ---------------- */
/* 4つの基盤カード：PC 180px / モバイル 140px */
.why-card-illust {
  width: 180px;
  height: 180px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card-illust img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
}

/* コンテナ特長カード：PC 200px / モバイル 160px */
.feature-illust {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-illust img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .why-card-illust,
  .why-card-illust img {
    width: 160px;
    height: 160px;
  }
  .feature-illust,
  .feature-illust img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .why-card-illust,
  .why-card-illust img {
    width: 140px;
    height: 140px;
    margin-bottom: 18px;
  }
  .feature-illust,
  .feature-illust img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .why-card-illust,
  .why-card-illust img {
    width: 120px;
    height: 120px;
  }
  .feature-illust,
  .feature-illust img {
    width: 180px;
    height: 180px;
    margin-bottom: 18px;
  }
}

/* =============================================
   LOGO SCROLL SWITCH
   ヒーロー上: 白ロゴ / スクロール後: カラーロゴ
============================================= */

/* ロゴコンテナ: 固定サイズで2枚を重ねる */
.header-logo {
  position: relative;
  display: inline-block;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  transition: width 0.3s ease, height 0.3s ease;
}

/* 2枚を完全に重ねる */
.logo-img {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 76px !important;
  width: auto !important;
  max-width: none !important;
  transition: opacity 0.45s ease, height 0.3s ease !important;
}

/* ヒーロー上: 白ロゴ表示、カラーロゴ非表示 */
.logo-white {
  opacity: 1;
  z-index: 2;
}
.logo-color {
  opacity: 0;
  z-index: 1;
}

/* スクロール後: 白ロゴ非表示、カラーロゴ表示 */
#header.scrolled .logo-white {
  opacity: 0;
}
#header.scrolled .logo-color {
  opacity: 1;
}

/* スクロール後のサイズ調整 */
#header.scrolled .header-logo {
  width: 62px;
  height: 62px;
}
#header.scrolled .logo-img {
  height: 62px !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .header-logo {
    width: 56px;
    height: 56px;
  }
  .logo-img {
    height: 56px !important;
  }
  #header.scrolled .header-logo {
    width: 48px;
    height: 48px;
  }
  #header.scrolled .logo-img {
    height: 48px !important;
  }
}



/* ── PATCH v13: PC表示改善 ────────────────────────────── */

/* ヒーロー：section { padding: 100px 0 } の上書きは #hero { padding: 0 } で対応済み */

/* 地図セクション：PC用・モバイル用の切り替えを明示 */
/* PCではmap-pcを表示、map-mobileを非表示 */
.map-pc { display: block; }
.map-mobile { display: none; }
/* モバイル（768px以下）ではmap-mobileを表示 */
@media (max-width: 768px) {
  .map-pc { display: none !important; }
  .map-mobile { display: block !important; }
}

/* world-map-wrap: PC表示で最大高さを適切に設定 */
@media (min-width: 769px) {
  .world-map-wrap img.map-pc {
    max-height: 480px;
    object-fit: contain;
  }
}

/* section-sub: PC表示で読みやすいmax-widthを設定 */
@media (min-width: 769px) {
  .network-section .section-sub {
    max-width: 760px;
    margin: 0 auto;
  }
}

/* ── NETWORK SECTION: scroll-driven day→dark fade ─────────── */
/* JS側でscrollProgressを0〜1で計算し、inline styleで制御する  */
/* デフォルト（JS未実行時）はダークモードを維持               */
.network-section {
  will-change: background-color;
}
.network-section .section-label,
.network-section .section-title,
.network-section .section-sub {
  will-change: color;
}
.network-section .world-map-wrap {
  will-change: filter;
}

/* ── PATCH: フッター ライトモード ────────────────────────── */
#footer {
  background: #f8f7f5 !important;
  border-top: 1px solid #e8e4df;
}
.footer-grid {
  border-bottom: 1px solid #e0dbd4 !important;
}
.footer-brand p {
  color: #666 !important;
}
.footer-brand-logo-text .logo-ja {
  color: var(--dark) !important;
}
.footer-brand-logo-text .logo-en {
  color: #888 !important;
}
.footer-col h4 {
  color: var(--dark) !important;
  border-bottom: 1px solid #e0dbd4;
}
.footer-col ul li a {
  color: #555 !important;
}
.footer-col ul li a:hover {
  color: var(--orange) !important;
}
.footer-contact-item span {
  color: #555 !important;
}
.footer-icon {
  color: var(--orange);
}
.footer-link {
  color: #555 !important;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--orange) !important;
}
.footer-copy {
  color: #999 !important;
}
.footer-bottom {
  border-top: 1px solid #e0dbd4 !important;
}
.footer-bottom-links a {
  color: #999 !important;
}
.footer-bottom-links a:hover {
  color: var(--orange) !important;
}

/* ── PATCH: お問い合わせセクション 控えめデザイン ────────── */
@media (min-width: 769px) {
  .contact-section .section-title {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem) !important;
    font-weight: 600;
  }
  .contact-section .section-sub {
    font-size: 0.88rem;
    max-width: 560px;
    color: #999;
  }
  .contact-section .section-header {
    margin-bottom: 32px;
  }
  .contact-section {
    padding: 64px 0 !important;
  }
  .contact-form-wrap {
    max-width: 600px !important;
    margin: 0 auto !important;
  }
  .contact-form {
    padding: 32px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  }
  /* 送信ボタンを全幅から適切なサイズに */
  .contact-section .btn-full {
    width: auto !important;
    min-width: 180px;
    padding: 12px 36px;
    font-size: 0.92rem;
    display: block;
    margin: 0 auto;
  }
}
