/* Responsive Design Common Styles */
/* このファイルは docs 配下の全HTMLで共通で使用するレスポンシブデザイン用CSSです */

/* ベーススタイル */
body {
    line-height: 1.5;
    max-width: 100%;
    overflow-x: hidden;
}

/* テキスト要素の基本フォントサイズ */
pre {
    font-size: 16px;
    font-family: inherit;
    line-height: 1.5;
    white-space: pre;
    overflow-x: auto;
}

/* 折り返しモード */
pre.wrap-mode {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: visible;
}

/* 折り返し切り替えボタン */
.wrap-toggle-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4169e1;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: background-color 0.3s;
}

.wrap-toggle-button:hover {
    background-color: #2c5aa0;
}

@media (max-width: 1024px) {
    .wrap-toggle-button {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 12px;
    }
}

ul, ol {
    font-size: 16px;
}

p {
    font-size: 16px;
}

/* セクションコンテナの全幅対応 */
.event-info,
.venue-info,
.schedule-info,
.reference-info,
.concept-info,
.bgm-info {
    width: 100%;
    box-sizing: border-box;
}

/* 画像の基本設定 */
img {
    max-width: 100%;
    height: auto;
}

/* テーブルの基本設定 */
table {
    width: 100%;
    box-sizing: border-box;
}

/* モバイル対応 (1024px以下) */
@media (max-width: 1024px) {
    body {
        font-size: 16px;
        padding: 10px;
    }
    
    pre {
        font-size: 16px;
    }
    
    ul, ol {
        font-size: 16px;
    }
    
    p {
        font-size: 16px;
    }
    
    .event-info,
    .venue-info,
    .schedule-info,
    .reference-info,
    .concept-info,
    .bgm-info {
        padding: 10px;
        margin: 10px 0;
    }
    
    /* テーブルをブロック表示に変更 */
    table, tbody, tr {
        display: block;
        width: 100%;
    }
    
    td {
        display: block;
        width: 100%;
    }
}
