header {
  text-align: center;
  padding: 20px;
}

header a {
  display: inline-block; /* リンクをブロック化する */
}

header img {
  max-width: 200px;
  height: auto;
}

/*ヘッダーにアニメーションを適用しておく*/
header a {
  display: inline-block;
  text-decoration: none; /* 下線を消す */
  transition: opacity 0.3s; /* ホバー時のアニメーション */
}

header a:hover {
  opacity: 0.8; /* ホバー時の不透明度 */
}

/*全体で中央揃えなどする*/
.container {
  max-width: 800px; /* コンテナの最大幅 */
  margin: 0 auto; /* 上下の余白を0に、左右の余白を自動で中央寄せ */
  padding: 20px; /* コンテナの内側余白 */
  background-color: #f9f9f9; /* 背景色を薄いグレーに設定 */
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);  影を付ける */
  text-align: center; /* コンテナ内のテキストを中央揃えに */
  margin-bottom: 40px; /* フッターとの間の余白 */
}

/*タイトル部分*/
.title-container {
  text-align: center;
  margin-bottom: 20px;
}

.title-container h2 {
  margin: 0;
}

.title-container .sub-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: normal;
}

.title-container .main-title {
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 36px;
  font-weight: bold;
}

/* ボタンのスタイル */
.ar-button {
  display: inline-block;
  padding: 24px 48px; /* パディングを更に大きく */
  background-color: #fff;
  color: #333;
  text-decoration: none;
  border: 6px solid #333; /* 線の太さを更に太く */
  border-radius: 12px; /* 角丸を更に大きく */
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.4); /* 影を更に大きく */
  transition: all 0.3s ease;
  font-size: 28px; /* 文字サイズを更に大きく */
  font-weight: bold;
}

/*ボタン内アイコン*/
.ar-icon {
  width: 32px; /* アイコンの幅を更に大きく */
  height: 32px; /* アイコンの高さを更に大きく */
  vertical-align: middle;
  margin-right: 16px; /* アイコンとテキストの間隔を更に広げる */
}

.ar-button:hover {
  background-color: #f2f2f2;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.5); /* ホバー時の影を更に大きく */
  transform: scale(1.1); /* ホバー時のボタンの拡大率を更に大きく */
}

/* ビューワーを囲むコンテナのスタイル */
.viewer-container {
  width: 100%; /* コンテナの幅を100%に設定 */
  max-width: 600px; /* 最大幅を設定（必要に応じて調整） */
  margin: 0 auto; /* 中央寄せ */
}

/* ビューワーのスタイル */
model-viewer {
  width: 100%; /* ビューワーの幅を100%に設定 */
  height: 400px; /* ビューワーの高さを設定（必要に応じて調整） */
}


/*アンケートリンク*/
.survey-description {
  margin-bottom: 60px; /* アンケート説明とプロジェクトリンクの間に余白を設ける */
}

.survey-link {
  color: blue; /* リンク色を青に設定 */
  text-decoration: underline; /* 下線を付ける */
}


/*経緯を記載する*/
.context {
  border: 2px solid black; /* 黒い太線で囲む */
  border-radius: 10px; /* 角に丸みを持たせる */
  padding: 10px; /* 内側の余白を設定 */
}

footer {
  background-color: #f2f2f2; /* 背景色を薄いグレーに設定 */
  color: #666; /* テキストの色を暗めのグレーに設定 */
  padding: 10px; /* 内側の余白を設定 */
  text-align: center; /* テキストを中央揃えに */
  font-size: 0.8em; /* フォントサイズを少し小さく */
}