h1{
    color:#6a1b9a; /* 紫色の見出し */
    font-weight:bold;
    padding:10px 0px;
    padding-top: 0px;
    border-top: 0px;
    margin-top: 0px;
}
a{
	color:#6a1b9a; /* 紫系のリンク色 */
}

#whole_wrapper{
	position:relative;
	width:100%;
	min-width:320px; /* スマホ対応のため最小幅を変更 */
	z-index:0;
	height:auto;
}
#top{
	position:absolute;
	top:0px;
	z-index:1;
	height:10px;
	width:100%;
    min-width:320px; /* スマホ対応のため最小幅を変更 */
	background-position:top;
	background-repeat:repeat-x;
    background-color: #6a1b9a; /* 紫色のトップバー */
}
#sub-title {
    font-size: 0.5em;
    font-style: italic;
  }

#content_wrapper{
	position:relative;
	margin:0px auto;
	width:100%;
	max-width:890px; /* 最大幅を設定 */
	height:auto;
	z-index:2;
}

#header{
	position:relative;
	padding-top:0px;
    margin-top: 0px;

	width:100%;
	height:auto;
}

/* Document用のcss */
body {
    margin: 0;
    padding: 0;
    background-color: #f5f0ff    ; /* 薄い紫色っぽい背景を想定 */
    font-family: "Hiragino Sans", "Meiryo", sans-serif;
    color: #333;
  }
  
  /* 大きな背景文字「Documents」と「要項・ドキュメント」 */
  .documents-header {
    position: relative;
    text-align: center;
    padding: 2em 1em;
    margin-bottom: 2em;
  }
  
  /* 背景文字 */
  .documents-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;       /* 大きめのサイズ */
    color: rgba(106, 27, 154, 0.15); /* 薄い紫色+透過 */
    font-weight: bold;
    pointer-events: none;  /* テキスト選択やクリックを無効化 */
  }
  
  /* 手前の見出し */
  .documents-header h1 {
    position: relative;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    color: #333; /* 実際の見出し色 */
  }
  
  /* セクションの余白・枠など */
  .doc-section {
    max-width: 800px;
    margin: 1em auto;
    padding: 1em;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(106, 27, 154, 0.15);
  }
  
  /* 見出し行（タイトルと更新日を横並びに） */
  .section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #6a1b9a; /* 下線（紫系） */
    padding-bottom: 0.5em;
    margin-bottom: 1em;
  }
  
  /* 各セクションのタイトル */
  .doc-title {
    margin: 0;
    font-size: 1.2rem;
    color: #555;
  }
  
  /* 更新日 */
  .update-date {
    font-size: 0.9rem;
    color: #999;
  }
  
  /* ドキュメント内容を左右に分割 */
  .doc-content {
    display: flex;
    gap: 1em; /* カード同士の間隔 */
    align-items: flex-start;
  }
  
  /* 左側の画像 */
  .doc-image img {
    max-width: 150px;  /* 画像サイズ調整 */
    height: auto;
    display: block;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  /* 右側のテキスト部分 */
  .doc-text {
    flex: 1; /* 画像以外のスペースを広く */
  }
  
  /* ダウンロードボタン */
  .download-button {
    display: inline-block;
    margin-top: 1em;
    padding: 0.6em 1em;
    background-color: #6a1b9a; /* 紫系 */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  .download-button:hover {
    background-color: #8e24aa; /* 少し明るい紫色 */
  }
  
  /* 観戦ガイド・公式掲示板などのダウンロードボタン群 */
  .download-buttons {
    display: flex;
    gap: 1em;
    flex-wrap: wrap; /* 画面が狭い時に折り返す */
    justify-content: flex-start;
  }
  
  .download-buttons .download-button {
    margin: 0; /* 余白をリセット */
  }
  
  /* レスポンシブ対応 */
  @media (max-width: 600px) {
    .doc-section {
      padding: 1em 0.5em;
    }
  
    .section-title-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.3em;
    }
  
    .doc-content {
      flex-direction: column;
    }
  
    .doc-image img {
      max-width: 100%;
    }
  
    .download-buttons {
      justify-content: flex-start;
    }
  }
  