/* グローバル設定 */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif; /* 日本語対応のフォント */
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth; /* スムーズスクロール */
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh; /* 画面いっぱいに表示 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white; /* テキスト色を白に */
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/html/AR.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.6); /* 画像を少し暗くしてテキストを見やすく */
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem); /* レスポンシブなフォントサイズ */
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* 読みやすくするための影 */
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 40px;
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.start-button {
  display: inline-block;
  background-color: #007bff; /* ブランドカラー */
  color: white;
  padding: 20px 60px; /* 十分な大きさ */
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px; /* 丸みを帯びたボタン */
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.4); /* 立体感のある影 */
  border: none;
  cursor: pointer;
}

.start-button:hover {
  background-color: #0056b3; /* ホバー時の色 */
  transform: translateY(-3px); /* 軽く浮き上がるアニメーション */
}

/* サービス紹介セクション */
.feature-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #f8f9fa; /* 明るい背景色 */
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 60px;
  color: #333;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* レスポンシブなグリッド */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-item img { /* アイコン用 */
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #007bff;
}

.feature-item p {
  font-size: 1rem;
  color: #555;
}

/* 利用シーンセクション */
.usage-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #e9ecef; /* 別の背景色 */
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.usage-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.usage-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.usage-card-content {
  padding: 25px;
  text-align: left;
}

.usage-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.usage-card p {
  font-size: 0.95rem;
  color: #666;
}

/* フッター */
footer {
  background-color: #343a40;
  color: white;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
}

/* その他の要素 (元のコードのAR関連スタイルはそのまま) */
#ar-container {
  width: 100vw;
  height: 100vh;
  display: none; /* 初期状態では非表示 */
}
#play-audio-btn { /* AR開始後は表示 */
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  font-size: 16px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  display: none; /* 初期状態では非表示 */
  z-index: 100; /* ARコンテンツの上に表示 */
}