@charset "UTF-8";
/* ==========================================================================
   OLE 過去アーカイブ 共通モダン補正レイヤー
   archive-modern.css  /  OSAKA LINDY EXCHANGE (osakalindyexchange.com)

   各年のオリジナル・テーマ（配色・背景画像・ロゴ・バナー・装飾枠・写真の
   見せ方）はそのまま残し、「読みやすさ」にかかわる部分だけを近年の
   Web 標準に合わせて整える。すべての過去ページの最後のスタイルシートと
   して読み込む（後勝ちで最小限だけ上書きする）。

   1. 文字組み（フォント・サイズ・行間・段落余白）
   2. 見出し
   3. リンクとタップ領域
   4. 画像・表・埋め込み（縦横比の維持、はみ出し防止）
   5. 桁幅・余白（固定幅レイアウトのレスポンシブ化）
   6. 年別の細かな補正
   7. アクセシビリティ（フォーカス、動きの抑制、JS 無効時のフォールバック）
   8. 上部共通アーカイブバーと各年の固定ヘッダーの重なり解消
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 共通トークン
   -------------------------------------------------------------------------- */
:root {
  --arc-font: "Helvetica Neue", Helvetica, Arial,
              "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro",
              "Noto Sans JP", "Yu Gothic", "Yu Gothic UI", "Meiryo", sans-serif;
  --arc-font-en: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  --arc-fs: 17px;      /* 本文 17px（トップページの段落と同じ。スマホも 17px：iOS の自動ズームも防げる） */
  --arc-lh: 1.85;      /* 行間 1.85 */
  --arc-lh-tight: 1.35;
  --arc-gap: 1em;      /* 段落の下余白 */
}

/* --------------------------------------------------------------------------
   1. 文字組み
   -------------------------------------------------------------------------- */
body.ole-arc {
  font-family: var(--arc-font) !important;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* --- 2014–2017（boldr 系）：本文 14px / 行間 1.43 を読みやすいサイズへ --- */
body.ole-arc #main-content p:not(.name),
body.ole-arc #main-content li,
body.ole-arc #main-content td,
body.ole-arc #main-content th,
body.ole-arc #main-content dd,
body.ole-arc #main-content dt,
body.ole-arc #main-content blockquote,
body.ole-arc #main-content .textwidget {
  font-size: var(--arc-fs) !important;
  line-height: var(--arc-lh) !important;
  letter-spacing: .012em;
}

/* --- 2018・2019・2022（ポスター型）：サイズは元の設計を尊重し、行間と余白だけ整える --- */
body.ole-arc #top_main p:not(.top_copy_subtitle),
body.ole-arc #top_main li,
body.ole-arc #top_main dd,
body.ole-arc #top_main dt,
body.ole-arc #top_main blockquote {
  line-height: 1.8 !important;
}
body.ole-arc #top_main td,
body.ole-arc #top_main th {
  line-height: 1.7 !important;
}

/* --- 2023–2025：細部の説明文をわずかに大きく --- */
body.ole-arc #contents .block4_item_main {
  font-size: 15px !important;
  line-height: 1.85 !important;
}
body.ole-arc #contents .shop_flex p,
body.ole-arc #contents .sponsors_item_txt {
  font-size: 15px !important;
  line-height: 1.7 !important;
}

/* 段落の余白を一定に（元のマージン指定は残しつつ下限をそろえる） */
body.ole-arc #main-content p:not(.name) {
  margin: 0 0 var(--arc-gap) !important;
}
body.ole-arc #main-content ul,
body.ole-arc #main-content ol {
  margin: 0 0 var(--arc-gap) 1.4em !important;
}
/* 2014–2016 の右カラム（LINKS 一覧）は幅が狭いのでインデントを戻す */
body.ole-arc #main-content #sidebar ul {
  margin-left: 0 !important;
}
body.ole-arc #main-content li {
  margin-bottom: .35em;
}

/* 長い URL・英単語でのはみ出しを防ぐ */
body.ole-arc #main-content p,
body.ole-arc #main-content li,
body.ole-arc #main-content dd,
body.ole-arc #main-content td,
body.ole-arc #top_main p,
body.ole-arc #top_main li,
body.ole-arc #top_main dd,
body.ole-arc #top_main td,
body.ole-arc #contents p,
body.ole-arc #contents li,
body.ole-arc #contents dd {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   2. 見出し（階層をそろえ、本文との余白を確保）
   -------------------------------------------------------------------------- */
body.ole-arc #main-content h1,
body.ole-arc #main-content h2,
body.ole-arc #main-content h3,
body.ole-arc #main-content h4,
body.ole-arc #top_main h2,
body.ole-arc #top_main h3,
body.ole-arc #top_main h4,
body.ole-arc #contents h2,
body.ole-arc #contents h3,
body.ole-arc #contents h4 {
  line-height: var(--arc-lh-tight) !important;
  letter-spacing: .015em;
  text-wrap: balance;
}
body.ole-arc #main-content h2,
body.ole-arc #main-content h3,
body.ole-arc #main-content h4 {
  margin-top: 1.9em !important;
  margin-bottom: .7em !important;
}
body.ole-arc #main-content h2 + p,
body.ole-arc #main-content h3 + p,
body.ole-arc #top_main h2 + p,
body.ole-arc #contents h2 + p {
  margin-top: 0 !important;
}

/* --------------------------------------------------------------------------
   3. リンクとタップ領域
   -------------------------------------------------------------------------- */
body.ole-arc a {
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}

/* 本文中のリンク（下線が消えている年は下線を戻す） */
body.ole-arc #main-content p a,
body.ole-arc #top_main p a,
body.ole-arc #contents p a {
  text-decoration-line: underline;
}

/* 単独ボタン状のリンクは指で押しやすい高さに */
body.ole-arc a.lnk1,
body.ole-arc a.btn,
body.ole-arc .btn a,
body.ole-arc a.facebook_btn,
body.ole-arc a.button,
body.ole-arc #contents .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-top: .6em;
  padding-bottom: .6em;
  line-height: 1.4 !important;
}

/* フッター内の小さなメニューはタップしやすい行間で */
body.ole-arc #sub-footer a,
body.ole-arc .menu-footer-menu-container a {
  display: inline-block;
  padding: .28em 0;
  line-height: 1.6;
  font-size: 13px !important;
}

/* --------------------------------------------------------------------------
   4. 画像・表・埋め込み
   -------------------------------------------------------------------------- */
body.ole-arc #main-content img,
body.ole-arc #top_main img,
body.ole-arc #contents img {
  max-width: 100% !important;
  height: auto;
}

/* スライダー・地図は元の挙動を優先（nivo 等が自前で寸法を決めるため触らない） */
body.ole-arc .metaslider img,
body.ole-arc .nivoSlider img,
body.ole-arc .slider-wrapper img,
body.ole-arc .simplemap img {
  max-width: none;
  height: auto;
}

/* 枠いっぱいに写真を収める年（トリミング前提）は縦横比を保つ */
body.ole-arc .img_frame div.w25p > img,
body.ole-arc .img_frame div.w50p > img,
body.ole-arc #page-container .member_img img {
  object-fit: cover !important;
  object-position: center 25% !important;
  height: 100% !important;
  width: 100% !important;
}

/* 埋め込み（YouTube・地図・フォーム）は幅に追従 */
body.ole-arc #main-content iframe,
body.ole-arc #top_main iframe,
body.ole-arc #contents iframe {
  max-width: 100%;
}

/* 画像を包む本文リンクは、はみ出さずに折り返す
   （中央寄せ画像 .aligncenter はリンク内でも元の中央配置を保つため対象外にする） */
body.ole-arc #main-content p a:has(> img:not(.aligncenter)),
body.ole-arc #top_main p a:has(> img:not(.aligncenter)),
body.ole-arc #contents p a:has(> img:not(.aligncenter)) {
  display: inline-block;
  max-width: 100%;
}

/* 2017 の写真グリッド枠は端数で 2px はみ出すため内側に収める */
body.ole-arc .img_frame,
body.ole-arc .img_frame div {
  box-sizing: border-box;
  max-width: 100% !important;
}

/* 表：横幅いっぱいに使い、文字は折り返す */
body.ole-arc #main-content table,
body.ole-arc #top_main table,
body.ole-arc #contents table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed;
  border-collapse: collapse;
}
body.ole-arc #main-content td,
body.ole-arc #main-content th,
body.ole-arc #top_main td,
body.ole-arc #top_main th {
  vertical-align: top;
}
body.ole-arc #top_main td,
body.ole-arc #top_main th {
  padding: 10px 8px !important;
}

/* --------------------------------------------------------------------------
   5. 桁幅・余白（固定幅レイアウトのレスポンシブ化）
   -------------------------------------------------------------------------- */
/* 960 / 1000 / 1040 / 1100 / 980px の固定幅を、タブレット幅では画面に合わせて縮める
   （各テーマのスマホ用レイアウト＝767px 以下はそのまま尊重する） */
@media (min-width: 768px) and (max-width: 1180px) {
  body.ole-arc .container,
  body.ole-arc #main-content,
  body.ole-arc #page-container,
  body.ole-arc #header-image,
  body.ole-arc #top_main .top_main_inner,
  body.ole-arc .top_main_inner,
  body.ole-arc .top_bnr_inner,
  body.ole-arc #contents {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  body.ole-arc #main-content.container,
  body.ole-arc #main-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  body.ole-arc #sidebar {
    max-width: 100% !important;
  }
  /* ヘッダー／フッター内の固定幅テキスト・埋め込み */
  body.ole-arc #header p,
  body.ole-arc #header div,
  body.ole-arc #sub-footer div,
  body.ole-arc iframe {
    max-width: 100% !important;
  }
}

/* デスクトップ用メニューがぎりぎり収まらない幅（961–1120px）では字を小さくして収める */
@media (min-width: 961px) and (max-width: 1120px) {
  body.ole-arc #nav ul.gl-menu li a {
    font-size: 13px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
    letter-spacing: 0;
  }
}

@media (max-width: 820px) {
  body.ole-arc #main-content table,
  body.ole-arc #top_main table,
  body.ole-arc #contents table {
    font-size: 14px;
  }
  body.ole-arc #top_main td,
  body.ole-arc #top_main th {
    padding: 8px 6px !important;
  }
}

@media (max-width: 767px) {
  /* 右カラム（サイドバー）が端数ではみ出すのを防ぐ */
  body.ole-arc #sidebar {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.ole-arc #sidebar * {
    max-width: 100% !important;
  }
  body.ole-arc .img_frame {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 767px) {
  /* WordPress 由来の画像の外側マージンで本文からはみ出すのを防ぐ */
  body.ole-arc #main-content img.alignnone,
  body.ole-arc #main-content img.alignleft,
  body.ole-arc #main-content img.alignright {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 480px) {
  body.ole-arc #main-content p:not(.name),
  body.ole-arc #main-content li,
  body.ole-arc #main-content td,
  body.ole-arc #top_main p:not(.top_copy_subtitle),
  body.ole-arc #top_main li,
  body.ole-arc #top_main td,
  body.ole-arc #contents li {
    font-size: var(--arc-fs) !important;
    line-height: 1.85 !important;
  }
  body.ole-arc #top_main .top_copy_subtitle {
    line-height: 1.45 !important;
  }
  /* 写真の枠はスマホでは縦長になりすぎないよう抑える */
  body.ole-arc .img_frame div.w25p,
  body.ole-arc .img_frame div.w50p {
    height: 220px;
  }
}

/* --------------------------------------------------------------------------
   6. 年別の細かな補正
   -------------------------------------------------------------------------- */
/* 2018・2019：スケジュール表の見出し行が詰まりすぎるため余白を確保 */
body.ole-arc #top_main table th {
  font-weight: 700;
}

/* 2022：注記ブロックの可読性（14px / 行間 2 のまま、行間だけ少し詰めて整える） */
body.ole-arc #top_main .top_note {
  font-size: 14.5px !important;
  line-height: 1.9 !important;
}

/* 2023–2025：セクション見出し下の説明文の行間 */
body.ole-arc #contents .block2_txt,
body.ole-arc #contents .block4_txt {
  line-height: 1.9 !important;
}

/* --------------------------------------------------------------------------
   7. アクセシビリティ
   -------------------------------------------------------------------------- */
body.ole-arc a:focus-visible,
body.ole-arc button:focus-visible,
body.ole-arc input:focus-visible {
  outline: 3px solid #c9a55c;
  outline-offset: 2px;
}

/* 動きを減らす設定の端末ではアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  body.ole-arc *,
  body.ole-arc *::before,
  body.ole-arc *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* JS が無い環境ではスクロール表示アニメの初期状態（透明）を解除して本文を必ず見せる */
@media (scripting: none) {
  body.ole-arc .anime,
  body.ole-arc .sr,
  body.ole-arc [class*="fade"] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   8. 共通アーカイブバーと、各年の固定ヘッダー・メニューの重なり解消
   --------------------------------------------------------------------------
   バーは画面上部に貼り付けたまま（sticky）、各年の「position: fixed; top: 0」の
   ヘッダー・ドロワー・浮遊ボタンをバーの高さ分だけ下げて、被りをなくす。
   バーの高さは 641px 以上＝40px、640px 以下＝56px（ナビが2段目に回るため）。
   ※バーの基本スタイルは各ページ内の <style id="ole-archive-bar-css"> にある。 */
body.ole-arc {
  --ole-bar-h: 40px;
}
@media (max-width: 640px) {
  body.ole-arc {
    --ole-bar-h: 56px;
  }
}

body.ole-arc #ole-archive-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: var(--ole-bar-h);
  z-index: 99999;
  overflow: hidden;
}

/* 360px 以下の狭い端末でもブランド名と年が 1 行に収まるよう詰める
   （ここが折り返すとバーの高さが変わり、下のヘッダーとの位置がずれるため） */
@media (max-width: 420px) {
  body.ole-arc #ole-archive-bar {
    padding: 8px 10px;
    gap: 6px;
    font-size: 10px;
    letter-spacing: .06em;
  }
  body.ole-arc #ole-archive-bar .oab-brand {
    letter-spacing: .08em;
  }
  body.ole-arc #ole-archive-bar .oab-nav {
    gap: 10px;
    font-size: 9.5px;
  }
}

/* 2018・2019・2022：画面上部に固定される年別ヘッダー
   （新しいデザインの /archive/ など .site-header を持つページは対象外） */
body.ole-arc #header:not(.site-header) {
  top: var(--ole-bar-h) !important;
}

/* 2018・2019：スマホ用のドロワーメニュー（fixed top: 55px） */
body.ole-arc .nav-wrap {
  top: calc(55px + var(--ole-bar-h)) !important;
}

/* 2023・2024・2025：右ドロワー・ハンバーガー・浮遊 Facebook ボタン
   バーが入る前の位置関係（ヘッダー直下）に戻すため、バーの高さ分下げる */
body.ole-arc .drawer-nav {
  top: var(--ole-bar-h) !important;
  height: calc(100% - var(--ole-bar-h)) !important;
}
body.ole-arc .drawer-hamburger {
  top: var(--ole-bar-h) !important;
}
body.ole-arc .fb_btn {
  top: calc(133px + var(--ole-bar-h)) !important;
}
@media (max-width: 768px) {
  body.ole-arc .fb_btn {
    top: calc(10px + var(--ole-bar-h)) !important;
  }
}

/* --------------------------------------------------------------------------
   9. スマホ幅でのメニュー二重表示の防止（2014–2017・boldr 系テーマ）
   --------------------------------------------------------------------------
   この4年は「#navbar 内の div を隠して <select> に切り替える」テーマ仕様のため、
   #navbar の id が欠けるとPC用メニューが縦に並び、スマホ用セレクトと二重に出る。
   実際に 2026-11-21 の HTML 整備で id が壊れてこの状態になったため、id に依存せず
   クラスでも同じ切替が効くよう、最後の共通レイヤーで保証する（2018年以降には
   該当クラスが無いため影響しない）。 */
@media (max-width: 767px) {
  body.ole-arc .menu-main-menu-container,
  body.ole-arc .menu-main-menu_new-container,
  body.ole-arc #navbar ul.menu,
  body.ole-arc #navbar ul.sf-menu {
    display: none !important;
  }
  body.ole-arc #navbar select {
    display: block !important;
    margin: 20px auto !important;
    width: 90% !important;
  }
  body.ole-arc .header_navi_s {
    display: block !important;
  }
}

/* 印刷時は装飾背景を落として本文を読みやすく */
@media print {
  body.ole-arc #ole-archive-bar,
  body.ole-arc .drawer-hamburger,
  body.ole-arc .fb_btn {
    display: none !important;
  }
  /* バーを消す分、固定ヘッダーの位置を元に戻す */
  body.ole-arc #header:not(.site-header) {
    top: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   10. 文字サイズをトップページ基準へそろえる（2026-11-24）
   --------------------------------------------------------------------------
   トップページ（theme.css 2026-11-24 revision B）は
     本文 19px（≤860px 18.5px）／段落 17px／リード 18px／注記 15.5px。
   過去アーカイブは 2014–2017 が 16px、2018–2022・2023–2025 は 14–16px が
   中心で、同じサイトの中で本文だけ小さく見えていた。
   読み物としての本文・説明文を 17px、表のセル・キャプションを 15.5px にそろえ、
   見出し・ナビ・ラベル（10–13px の装飾文字）は各年のデザインをそのまま残す。
   -------------------------------------------------------------------------- */

/* 2014–2017：段落以外の本文ブロック（テーマが div で組んでいる箇所） */
body.ole-arc :is(#main-content, #top_main) :is(.bxtxt, .ticket, .media, .text_exposed_show, .null) {
  font-size: var(--arc-fs) !important;
  line-height: 1.85 !important;
}

/* 2018–2025：本文・説明ブロック（div 組みのテキスト） */
body.ole-arc :is(#top_main, #main-content, #contents) :is(p, li),
body.ole-arc :is(#top_main, #main-content, #contents) dl:not(.top_copy_title) dd {
  font-size: var(--arc-fs) !important;
  line-height: 1.85 !important;
}
/* 2018・2019 の下層ページは本文が #teachers / #registration / #workshop など
   年ごとの id の中にあるため、id に依存しない書き方も併記する */
body.ole-arc div[id]:not(#ole-archive-bar) :is(p, li),
body.ole-arc div[id]:not(#ole-archive-bar) dl:not(.top_copy_title) dd {
  font-size: var(--arc-fs) !important;
  line-height: 1.85 !important;
}
body.ole-arc :is(#top_main, #main-content, #contents) :is(
  .page_section_txt, .page_section_txt1, .page_section_txt2, .page_section_txt3,
  .page_section_txt4, .page_section_txt5, .page_section_txt6, .page_section_txt7,
  .page_section_txt8,
  .under_copy2, .under_copy3, .under_copy5,
  .registration_box_copy, .registration_box_copy2, .registration_box_copy3,
  .block2_txt, .block3_txt, .block4_txt, .block5_txt,
  .bands_item_txt, .sponsors_item_txt,
  .news_box3_txt, .sns_txt, .sns_txt2,
  .top_copy_text, .top_note,
  .block4_item_main_inner, .competitions_item_main,
  .delimiter
),
body.ole-arc :is(
  .page_section_txt, .page_section_txt1, .page_section_txt2, .page_section_txt3,
  .page_section_txt4, .page_section_txt5, .page_section_txt6, .page_section_txt7,
  .page_section_txt8,
  .under_copy2, .under_copy3, .under_copy5,
  .registration_box_copy, .registration_box_copy2, .registration_box_copy3,
  .block2_txt, .block3_txt, .block4_txt, .block5_txt,
  .bands_item_txt, .sponsors_item_txt,
  .news_box3_txt, .sns_txt, .sns_txt2,
  .top_copy_text, .top_note,
  .block4_item_main_inner, .competitions_item_main,
  .delimiter
) {
  font-size: var(--arc-fs) !important;
  line-height: 1.85 !important;
}
/* 2022 の感染対策ノートは年別補正（14.5px）が後ろにあるため、同じ強さで上書きする */
body.ole-arc #top_main .top_note {
  font-size: var(--arc-fs) !important;
  line-height: 1.85 !important;
}

/* スマホだけ小さいままのリード（PC では 18px なので触らない） */
@media (max-width: 860px) {
  body.ole-arc .top_copy_text2,
  body.ole-arc .news_box2_lead {
    font-size: var(--arc-fs) !important;
    line-height: 1.8 !important;
  }
}

/* 表（2018・2019 のパス表）：セル 12–14px → 15.5px。
   thead の 18px 見出しはそのまま（.schedule 側の指定に触れない）。 */
body.ole-arc .schedule_table table.table01 tbody td,
body.ole-arc .schedule_table table.table01 tbody th {
  font-size: var(--arc-fs-table, 15.5px) !important;
  line-height: 1.6 !important;
}

/* 2014–2016 のフッター注記（10px は小さすぎるため 14px。2017 は元から 14px） */
body.ole-arc .sub-footer-left {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* パス表（2018・2019）がスマホ幅で 10px はみ出すため、表の中だけで横スクロールさせる
   （文字は 15.5px のまま読みやすさを保ち、ページ本体の横はみ出しは 0 にする） */
@media (max-width: 820px) {
  body.ole-arc .schedule_table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.ole-arc .schedule_table table.table01 tbody td,
  body.ole-arc .schedule_table table.table01 tbody th,
  body.ole-arc .schedule_table table.table01 thead th {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
}
