/* =========================
    HERO（メインビジュアル）
   ========================= */
.hero-section {
  position: relative;
  background-image: url("../img/ac-room-gpt.webp");
  background-size: cover;
  background-position: center;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .hero-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 0;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 念のため、子要素の影が隠れないように設定 */
  overflow: visible; 
}

/* 「.hero-section」の中の「.hero-text」の中の「h1」と詳しく書くことで優先順位を上げる */
.hero-section .hero-text h1 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 12px;
  /* 影の主張を抑え、自然な濃さに調整 */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.2);
  /* paddingを入れることで、flexbox内での描画崩れを防ぐ */
  padding: 2px 0;
}

.hero-section .hero-text p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 10px rgba(0,0,0,1.0), 0 0 5px rgba(0,0,0,0.8);
}

/* お問い合わせボタン：最初から水色に */
.hero-btn {
  display: inline-block;    /* リンクをボタンの形に安定させる */
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 1.1rem;
  background-color: #00C4FF; /* 最初から水色 */
  color: #ffffff !important; /* 文字色を白に固定 */
  text-decoration: none;     /* 下線を消す */
  font-weight: bold;         /* 文字を太くして目立たせる */
  transition: 0.3s;
  border: none;
}

.hero-btn:hover {
  background-color: #00a3d4; /* カーソルを合わせたら少し濃い色に */
  transform: translateY(-3px); /* 軽く浮き上がるアニメーション */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* 浮いた影を追加 */
}

/* =========================
    事業内容（以下、変更なし）
   ========================= */
.services-section .service-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  padding-top: 10px;
}

.services-section .service-item {
  width: 270px;
}

.services-section .service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  background: #ffffff;
  margin-bottom: 14px;
}

.services-section .service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #222;
}

/* =========================
    施工事例
   ========================= */
.case-studies-section .case-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}

.case-studies-section .case-item {
  width: 300px;
  transition: 0.3s;
}

.case-studies-section .case-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.case-studies-section .case-item:hover {
  transform: translateY(-6px);
}

/* =========================
    採用情報
   ========================= */
.recruit-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}

.recruit-item {
  width: 300px;
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: left;
}

.recruit-item h3 {
  color: #E60012;
  margin-bottom: 10px;
}

/* =========================
    レスポンシブ対応
   ========================= */
@media (max-width: 768px) {
  .hero-section {
    height: 360px;
  }
  
  .hero-section .hero-text h1 {
    font-size: 1.9rem;
  }
}