
/* 全体 */
body {
  font-family: "Hiragino Sans", Meiryo, sans-serif;
  margin: 0;
  background-color: #000;
  color: #fff;
  padding-top: 50px;
}

.breadcrumb {
    background-color: #222;
    color: #fff;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
}

/* 固定表示 */
.fixed-breadcrumb {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 960px;   /* container と hero と同じ幅 */
    z-index: 9999;
}

/* リンクの色（黒背景でも見やすい） */
.breadcrumb a {
    color: #cce0ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 固定バーの下のコンテンツが隠れないように余白を追加 */
body {
    padding-top: 50px;
}


/* コンテナ（中央寄せ） */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}
/* リンクの色（黒背景でも見やすい） */
.container a {
    color: #cce0ff;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

/* ヒーロー画像 */
.hero {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* ヒーローテキスト */
.hero-text {
  position: absolute;
  top: 0;
  left: 7px;
  width: 750px;
  color: #fff;
}

/* 演奏会情報テーブル */
.concert-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.concert-table td {
  padding: 4px;
}

/* 強調リンク */
.important-link {
  color: yellow;
  font-weight: bold;
}

/* 再読み込みアイコン */
.reload-icon {
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/* 指揮者紹介ブロック */
.profile {
  background-color: #fff;
  color: #000;
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
}

/* 2カラム（PC） */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 指揮者写真（元サイズ 350px） */
.conductor-photo {
  width: 100%;
  height: auto;
}

/* 演奏会写真（元サイズ 383px） */
.kickoff-photo {
  width: 100%;
  height: auto;
}

/* Facebookアイコン（元サイズ 35px） */
.facebook-icon {
  width: 35px;
  height: 35px;
}

/* メンバーリンク */
.member-link {
  color: yellow;
  font-weight: bold;
}

/* スケジュールリンク */
.day-link {
  color: #4ea3ff;
  font-weight: bold;
}


/* 練習会場リンク */
.place-list a {
  color: #4ea3ff;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hero img {
    width: 100%;
    max-width: 915px;
  }

  .hero-text {
    position: static;
    width: 100%;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .conductor-photo,
  .kickoff-photo {
    width: 100%;
    max-width: 350px;
  }
}

/* フッター */
footer {
  text-align: center;
  padding: 20px;
  background-color: #111;
  margin-top: 40px;
  color: #fff;
}

/* スマホ最適化の土台 */
*, *::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    margin: 20px;
    line-height: 1.6;
    overflow-x: hidden; /* 横スクロール防止（テーブル以外） */
}

/* テーブルを横スクロール可能にするラッパー */
.table-wrapper {
    overflow-x: auto;
    width: 100%;
}

/* テーブル共通デザイン */
.data-table {
    width: 100%;
    min-width: 600px; /* スマホで横スクロールが出る基準 */
    border-collapse: collapse;
    margin-top: 10px;
}

.data-table td,
.data-table th {
    border: 1px solid #999;
    padding: 10px;
    background-color: #fff;
}

.data-table tr:nth-child(even) td {
    background-color: #f7f7f7;
}

.data-table th {
    background-color: #ddd;
    font-weight: bold;
}

.page-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: bold;
    margin-bottom: 20px;
}

.section {
    margin-top: 40px;
}

h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    border-left: 6px solid #444;
    padding-left: 10px;
    margin-bottom: 10px;
}

.important-link {
    font-weight: bold;
    color: #0055cc;
    text-decoration: none;
}

.important-link:hover {
    text-decoration: underline;
}

.note {
    font-size: 0.9em;
    color: #555;
}

.reload-icon {
    width: 42px;
    height: 42px;
    cursor: pointer;
    vertical-align: middle;
}

@media screen and (max-width: 600px) {

    body {
        margin: 10px;
    }

    .page-title {
        text-align: center;
    }

    h2 {
        border-left: 4px solid #444;
        padding-left: 8px;
    }

    /* テーブルの文字サイズ調整 */
    .data-table td,
    .data-table th {
        padding: 8px;
        font-size: 0.9rem;
    }
}

/* 黒背景の section 内は白文字 */
.section {
    color: #fff !important;
}

/* 黒背景の section 内の見出しと段落 */
.section h1,
.section p {
    color: #fff !important;
}

/* 黒背景の section 内のリンクは薄い青 */
.section a {
    color: #cce0ff !important;
}

/* テーブルは白背景なので黒文字 */
.section .data-table td,
.section .data-table th {
    color: #000 !important;
}

/* 白背景のテーブル内リンクは濃い青 */
.data-table a {
    color: #0055cc !important;
}

/* 黒背景の section 内の h1 を必ず白文字にする */
.section h1.page-title {
    color: #fff !important;
}

.section h1.page-title,
.section h1 {
    color: #fff !important;
}

h1.page-title {
    color: #fff !important;
}

p {
    color: #fff !important;
}
a:visited {
    color: inherit !important;
}
.breadcrumb a {
    color: #cce0ff !important;
}
body.index-page a {
    color: #cce0ff !important;
}
body.index-page a:visited {
    color: #cce0ff !important;
}


@media screen and (max-width: 600px) {

    /* ページ全体の基本文字サイズを拡大 */
    body {
        font-size: 1.1rem;   /* 通常より少し大きめ */
    }

    /* h1（ページタイトル）を大きくする */
    h1.page-title {
        font-size: 1.6rem !important;
        line-height: 1.4;
    }

    /* h2（見出し）を大きくする */
    h2 {
        font-size: 1.3rem !important;
        line-height: 1.4;
    }

    /* テーブル内の文字を大きくする */
    .data-table td,
    .data-table th {
        font-size: 1.05rem !important;
        padding: 10px;
    }

    /* リンクも見やすく */
    a {
        font-size: 1.05rem !important;
    }
.fixed-breadcrumb {
        width: 100%;
        left: 0;
        transform: none;
        padding: 10px;
        box-sizing: border-box;
    }
}
