/* リセットCSS（ブラウザデフォルトのスタイルをリセット） */
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}

/* ページ全体のスタイル */
html { margin: 0 8px; }

body {
  margin: 0;
  font-size: 16px;
  font-family: Arial, sans-serif;
  background-color: #FFFF77;
  color: #58535E;
  overflow-x: hidden;
}

/* リンクツリーのスタイル */
.link-tree {
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  border-radius: 10px;
}

.link-tree-img {
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  border-radius: 10px;
}

.link-tree-img img {
  width: 150px; /* 画像の幅 */
  height: 150px; /* 画像の高さ */
  border-radius: 50%; /* 丸い角を指定 */
  margin-bottom: 10px;
}

.link-tree h1 {
  font-size: 24px; /* 見出しのフォントサイズ */
  margin-bottom: 10px;
}

.link-tree h2 {
  font-size: 18px; /* H2タグのフォントサイズを18pxに変更 */
  margin-bottom: 10px;
}

.link-tree ul {
  list-style: none;
  display: flex; /* リンクを横並びにする */
  flex-direction: column; /* 縦に並べる */
  align-items: center; /* 中央寄せ */
}

.link-tree li {
  margin-bottom: 10px;
}

.link-tree a {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  background-color: #FFA500; /* ボタンの色（オレンジ色） */
  color: #fff;
  width: 220px; /* ボタンの幅を統一 */
  border-radius: 10px; /* ボタンを丸み帯びたスタイルに */
  text-align: center; /* ボタン内のテキストを中央寄せ */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.link-tree a:hover {
  background-color: #FF6600; /* ホバー時の色 */
  color: #fff;
}

.link-tree footer {
  text-align: center; /* フッターをセンタリング */
  margin-top: 5px;
  font-size: 14px;
}

/* チャンネル説明のスタイル */
.channel-description {
  background-color: #fff; /* 背景色を白に設定 */
  width: 80%; /* 幅を設定 */
  padding: 20px;
  border-radius: 10px;
  margin: 20px auto; /* センタリングのための指定 */
  color: #454545; /* 淡い灰色のテキストカラー */
}

.channel-description h3 {
  text-align: center; /* h3タグをセンタリング */
}

.ad {
  text-align: center;
  align-align: center; /* 中央寄せ */
}

.container {
  text-align: center;
  align-align: center; /* 中央寄せ */
  width:100%; /* 任意の横幅を指定 */

}

.container iframe {
  text-align: center;
  align-align: center; /* 中央寄せ */
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  max-width: 560px;
  top: 0;
  right: 0;
}