@charset "UTF-8";
/*==============================

1. xigrid
   1.1 
   1.2 

株式会社XDi 2025/8-
===============================*/


/* ===============================
5. Xi-GRiD About Section
=============================== */
.xigrid-about {
  padding: 80px 20px;
  background: #f9fafb;
}

.xigrid-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* リード文 */
.xigrid-lead {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 50px;
  text-align: left;
}

/* グリッド */
.xigrid-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* カード */
.xigrid-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.xigrid-card:hover {
  transform: translateY(-5px);
}

/* タイトル */
.xigrid-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #111;
  position: relative;
  padding-left: 12px;
}

.xigrid-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 18px;
  background: #007aff;
}

/* テキスト */
.xigrid-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}


/* 画像 */
.xigrid-img {
  width: 100%;
  height: 200px !important;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ボタン */
.xigrid-btn {
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.xigrid-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #007aff;
  transition: 0.3s;
}

.xigrid-btn:hover::after {
  width: 100%;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .xigrid-grid {
    grid-template-columns: 1fr;
  }

  .xigrid-lead {
    text-align: left;
  }
}
