@charset "UTF-8";
/*
 * === General & Reset Styles ===
 * すべてのページ共通の基本設定
 */
body {
    font-family: 'Meiryo', 'Yu Gothic', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8; /* デフォルトの背景色 */
    text-align: center; /* body全体を中央寄せ */
}

/* メインコンテンツコンテナ: スマートフォンでは画面幅いっぱい (100%) に */
.main-content {
    width: 100%; 
    margin: 0 auto; /* 中央配置 */
    padding: 20px 10px;
    box-sizing: border-box; /* パディングを含めて幅を計算 */
}

/* PC/タブレット表示用: 画面幅が640px以上の場合に適用 */
@media screen and (min-width: 640px) {
    .main-content {
        max-width: 640px; /* PC表示時の最大幅を640pxに制限 */
    }
}

/* === Heading Styles (concert, history, profile) === */
h1 {
    text-align: center;
    font-size: 1.5em;
    margin-top: 0;
    padding-bottom: 10px;
}
h1 img {
    height: auto;
    width: 1.5em; 
    vertical-align: middle;
}

/* === Common Elements === */
p {
    margin: 1em 0;
    font-size: 1em;
    text-align: center; /* すべての段落を中央揃え */
}

/* 画像がコンテナ幅を超えないようにする (index.html用) */
img {
    max-width: 100%;
    height: auto;
}

/* リンク */
a {
    color: #0066cc;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    text-align: center;
}
hr {
    border: none;
    border-top: 1px solid #ccc;
    width: 50%; 
    max-width: 300px;
    margin: 20px auto;
}

/* === Table Styles (concert.html, history.html) === */

/* テーブルを囲み、横スクロールを可能にするコンテナ (レスポンシブ対応) */
.history-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-top: 20px;
}

/* 履歴テーブル本体 */
.history-table {
    width: 100%;
    min-width: 600px; /* 横スクロールを発生させるための最小幅 */
    border-collapse: collapse;
    border: 1px solid #000; 
    background-color: #fff;
    margin: 0 auto; 
}

.history-table td {
    border: 1px solid #000;
    padding: 8px;
    vertical-align: top;
    font-size: 0.9em;
    text-align: left; /* テーブル内のセルは左寄せを維持 */
}

/* === concert2026.html Specific Styles === */

/* bodyの背景画像 (2026年告知ページのみ) */
.concert-page-2026 {
    background-image: url('images/2010/bg_hana_sp.gif'); 
    background-repeat: repeat;
}

/* タイトルを囲む背景部分 (角丸、薄緑) */
.header-title-box {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 20px;
    background-color: #e0ffe0; 
    border-radius: 15px; 
    border: 1px solid #c0c0c0; 
    padding: 15px; 
    text-align: center;
}
/* メインタイトルテキストのスタイル */
.concert-main-title {
    margin: 0;
    font-weight: bold;
    padding: 0;
}
/* サブタイトル（創立40周年記念、〜偲んで〜）の文字サイズ */
.concert-main-title .sub-title-top,
.concert-main-title .sub-title-bottom {
    display: block;
    font-size: 0.7em; 
    margin: 5px 0;
    color: #444; 
}
/* メインタイトルの文字サイズ */
.concert-main-title .main-title-text {
    display: block;
    font-size: 1.0em; 
    margin: 5px 0;
}

/* 指揮者・ピアニスト情報など */
.staff-info {
    text-align: center;
    margin: 15px auto;
}
.staff-role {
    font-size: 1.1em; 
    margin: 5px 0;
}

/* 詳細情報テーブルのスタイル */
.concert-details-table {
    width: 90%;
    max-width: 500px;
    border-collapse: collapse;
    margin: 0 auto;
}
.concert-details-table td {
    padding: 8px 5px;
    vertical-align: top;
    font-size: 1em;
}
.detail-label {
    width: 30%; 
    font-weight: bold;
    white-space: nowrap;
    text-align: left;
}
.detail-value {
    width: 70%;
    text-align: left;
}

/* フッターのリンクエリア */
.footer-link-area {
    text-align: center;
    margin-top: 30px;
}
.divider-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
}

/* === index.html Specific Styles === */
/* index.htmlの背景画像（古い属性から移行） */
.index-page-bg {
    background-image: url('images/bk01.gif');
}

/* === concert.html / history.html / profile.html Specific Styles === */
/* 演奏会履歴などの背景画像（古い属性から移行） */
.page-bg {
    background-image: url('images/bk02.gif');
}

/* === プログラム曲目のレイアウト調整 (新規追加) === */
.program-message {
    text-align: center;
    margin: 30px auto;
    width: 90%;        /* 幅を制限して読みやすく */
    max-width: 600px;  /* PCで広がりすぎないように */
}

/* 各ステージの塊 */
.program-block {
    margin-bottom: 40px; /* ステージごとの間隔を広めに */
}

/* ステージのタイトル（テーマ） */
.program-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #006400;      /* 濃い緑色 */
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc; /* 下線 */
    display: inline-block;
    padding-bottom: 5px;
}

/* 曲目リスト */
.program-list {
    font-size: 1em;
    line-height: 1.8;  /* 行間を広げてゆったり見せる */
    margin: 0;
}

/* 曲目リスト内の補足（『遥かな歩み』より など） */
.program-sub-group {
    font-size: 0.9em;
    color: #555;
    display: inline-block;
    margin-right: 5px;
}