/* =========================================================
   UMJ OFFICIAL - CORPORATE COMMON STYLE
   共通テーマ: HUMAN-TECH UNIVERSAL LIVING
========================================================= */

/* ----------------------------------
   ベース設定
---------------------------------- */
:root {
  /* コーポレートアクセント */
  --umj-orange: #FF8C00; /* ブランドメイン（CTA・リンク） */

  /* 事業識別カラー（ロゴの最濃色ベース） */
  --umj-green: #4BAF4F;  /* 住宅・不動産 */
  --umj-blue:  #1D4FA3;  /* AIワークイノベーション */
  --umj-red:   #E71D59;  /* ダイバーシティ */

  /* ベースカラー */
  --umj-dark:  #333333;
  --umj-gray:  #666666;
  --umj-lightgray: #F8F9FA;
  --umj-white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
  color: var(--umj-dark);
  font-size: 17px;
  line-height: 2.0;
  background: linear-gradient(180deg,
      #FFFDF9 0%,
      #FFF3E6 20%,
      #FFE6C9 55%,
      #FFF5E8 80%,
      #FFFFFF 100%);
}

/* ----------------------------------
   コンテナ
---------------------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----------------------------------
   セクション共通
---------------------------------- */
.official-section {
  padding: 120px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--umj-orange);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 60px;
  line-height: 2.0;
}

/* ----------------------------------
   ヒーローセクション
---------------------------------- */
.official-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.official-hero-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(75%) saturate(110%);
  z-index: 0;
}

.official-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.official-hero-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ----------------------------------
   サービスカード
---------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--umj-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-card-media {
  height: 240px;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.08);
}

.service-card-content {
  padding: 45px 35px;
}

.service-card-title {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.5;
}

.service-card-title a {
  text-decoration: none;
}

.service-card-title a:hover {
  opacity: 0.8;
}

.service-card-description {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 25px;
}

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

.service-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--umj-orange);
  font-weight: bold;
}

.service-features a {
  color: inherit;
  text-decoration: none;
}

.service-features a:hover {
  color: var(--umj-orange);
  text-decoration: underline;
}

/* 詳細ボタンは無効化 */
.service-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--umj-orange);
  text-decoration: none;
  pointer-events: none;
  opacity: 0.5;
  font-size: 1.05rem;
}

/* ----------------------------------
   実績セクション（汎用利用可）
---------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.result-card {
  background: var(--umj-lightgray);
  padding: 40px 20px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease;
}

.result-card:hover {
  transform: translateY(-8px);
}

.result-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--umj-orange);
}

.result-label {
  font-weight: 700;
  margin: 10px 0 5px;
}

.result-description {
  font-size: 0.9rem;
  color: var(--umj-gray);
}

/* ----------------------------------
   メッセージセクション
---------------------------------- */
.message-section {
  background: linear-gradient(180deg, #FFF7EE 0%, #FFFFFF 100%);
  text-align: center;
  padding: 120px 20px;
}

.message-section h2 {
  font-size: 2rem;
  color: var(--umj-orange);
  font-weight: 700;
  margin-bottom: 20px;
}

.message-section p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.9;
}

/* ----------------------------------
   レスポンシブ対応
---------------------------------- */
@media (max-width: 1024px) {
  body {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .official-section {
    padding: 100px 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .service-card-content {
    padding: 30px 20px;
  }

  .service-card-title {
    font-size: 1.4rem;
  }

  .service-card-description {
    font-size: 1rem;
  }

  .service-features li {
    font-size: 0.98rem;
  }
}

@media (max-width: 768px) {
  .official-hero {
    min-height: 65vh;
  }

  .official-hero-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .official-hero-description {
    font-size: 1rem;
  }

  .official-section {
    padding: 80px 15px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .services-grid {
    gap: 25px;
  }

  .service-card-content {
    padding: 25px 18px;
  }

  .service-card-title {
    font-size: 1.3rem;
  }

  .service-card-description {
    font-size: 0.95rem;
  }

  .service-features li {
    font-size: 0.9rem;
  }

  .service-link {
    font-size: 0.9rem;
  }

  a, button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
/* =========================================================
   未来デザインラボ 専用CSS（共通UMJ公式デザインに上書き）
   ビジネス系メディアトーン・中程度モーション
========================================================= */

.lab-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #FFA94D 0%, #FFD8A8 100%);
  overflow: hidden;
}
.lab-hero-bg img,
.lab-hero-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(80%) saturate(110%); opacity: .7;
}
.lab-hero-content {
  position: relative; z-index: 2; max-width: 900px; padding: 0 20px;
  animation: labFadeUp 1s ease both;
}
.lab-hero-label { font-weight:700; letter-spacing:2px; font-size:.9rem; margin-bottom:12px; }
.lab-hero h1 { font-size:clamp(2.2rem,6vw,3.6rem); font-weight:800; margin-bottom:14px; }
.lab-hero-description { font-size:1.05rem; opacity:.95; line-height:1.85; }

/* Animation */
@keyframes labFadeUp { from {opacity:0; transform:translateY(25px);} to {opacity:1; transform:translateY(0);} }
.lab-card, .lab-dcard, .lab-vcard { animation: labFadeUp .8s ease both; }