@charset "UTF-8";

/* ========================================
   CSS変数（カラーパレット）— 第39回 ポスター踏襲（青系）
   ======================================== */

:root {
  /* メインカラー */
  --color-primary: #5878A8;
  /* ポスター主青（ヘッダ・ボタンホバー） */
  --color-secondary: #D89040;
  /* ポスター・ハイブリッド円のオレンジ（サブタイトル・listホバー） */
  --color-accent: #F0AD52;
  /* 明るめオレンジ（ボタン背景） */

  /* サブカラー */
  --color-orange-light: #8AA3C7;
  /* 薄青（list下線） */
  --color-peach: #C8D8E8;
  /* 薄水色（caption / section ボーダー） */
  --color-pink: #DCE8F4;
  /* ペールブルー（section 背景） */
  --color-cream: #F5F9FC;
  /* 淡水色（list 背景） */
  --color-dark-yellow: #2A4068;
  /* 濃ネイビー（ボタンテキスト） */

  /* ニュートラルカラー */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray-light: #f9f9f9;

  /* トランジション */
  --transition-standard: 0.6s ease;
}

/* ========================================
   基本設定
   ======================================== */

a {
  text-decoration: none;
  color: var(--color-black);
}

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  font-size: 16px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

/* ========================================
   ヘッダー・タイトル
   ======================================== */

header {
  text-align: center;
  font-size: 200%;
  padding: 10px 5px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: bold;
}

.subtitle {
  text-align: center;
  font-size: 200%;
  margin-top: 30px;
  font-weight: bold;
  color: var(--color-secondary);
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

/* ========================================
   レイアウト・コンテナ
   ======================================== */

.wrapper {
  width: 90%;
  margin: 10px auto 30px;
  max-width: 1800px;
}

.bigwrapper {
  margin-top: 0;
  background-color: var(--color-gray-light);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.flexwrapper {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}

/* ========================================
   キャプション・サイドバー
   ======================================== */

.capcont {
  width: 18%;
}

.caption {
  box-sizing: border-box;
  width: 100%;
  position: static;
  top: auto;
  margin-top: 10px;
  height: auto;
  max-height: 40vh;
  overflow-y: auto;
  border: 5px double var(--color-peach);
  background-color: rgba(255, 255, 255, 0.6);
}

.caption .child {
  font-size: 120%;
}

.caption .kata {
  font-size: 100%;
}

.inner {
  padding: 10px;
}

/* ========================================
   メインコンテンツエリア
   ======================================== */

.contena {
  width: 82%;
  margin-right: 10px;
}

.contena video {
  width: 100%;
}

.contena .icont {
  width: 100%;
  height: 0;
  padding-bottom: 56%;
  overflow: hidden;
  margin: 10px auto;
  position: relative;
  vertical-align: top;
}

.contena .icont iframe {
  vertical-align: top;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* ========================================
   セクション
   ======================================== */

.symp_section {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  height: auto;
  background: var(--color-gray-light);
  border: 5px solid var(--color-secondary);
  color: var(--color-primary);
  margin: 40px auto;
  border-radius: 15px;
}

.section {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  height: auto;
  background: var(--color-pink);
  border: 5px solid var(--color-peach);
  color: var(--color-peach);
  margin: 40px auto;
  text-align: center;
  border-radius: 15px;
  line-height: 24px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
}

/* ========================================
   リスト
   ======================================== */

.list {
  margin-top: 90px;
}

.list__line {
  display: flex;
  font-size: 125%;
  padding: 5px 20px;
  border-bottom: 2px solid var(--color-orange-light);
  background-color: var(--color-cream);
  border-radius: 20px;
  transition: var(--transition-standard);
  transition-property: color, background-color;
  margin-bottom: 30px;
  align-items: flex-start;
}

.list__line:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.list__line.sec {
  border: 0 solid;
  font-weight: bold;
  font-size: 130% !important;
  pointer-events: none;
}

.list__line__title {
  width: 48%;
  margin-right: 20px;
}

.list__line__person {
  width: 48%;
}

.list__line__chair {
  font-size: 70%;
  width: 7em;
  margin-right: 0;
  vertical-align: bottom;
  line-height: 32px;
}

/* ========================================
   ユーティリティ
   ======================================== */

.small {
  font-size: 70%;
  vertical-align: middle;
}

.kaigyou {
  display: inline-block;
}

.kuuhaku {
  height: 100px;
}

.bold {
  font-weight: bold;
}

.bold.title {
  font-size: 150%;
}

.child {
  margin-top: 10px;
}

.kata {
  font-size: 70%;
  display: inline-block;
}

table {
  table-layout: fixed;
}

.shikai {
  width: 57px;
}

/* ========================================
   ボタン
   ======================================== */

.buttoncont {
  text-align: center;
  margin-top: 20px;
}

.backbtn {
  display: inline-block;
  padding: 20px;
  font-size: 120%;
  background-color: var(--color-accent);
  color: var(--color-dark-yellow);
  border-radius: 20px;
  transition: var(--transition-standard);
  transition-property: background-color, color;
  font-weight: bold;
}

.backbtn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ========================================
   レスポンシブ（スマホ対応）
   ======================================== */

@media screen and (max-width: 896px) {
  body {
    font-size: 16px;
    min-width: 0;
  }

  header {
    font-size: 150%;
  }

  .subtitle {
    font-size: 130%;
    margin-top: 16px;
    padding: 0 8px;
  }

  .list {
    margin-top: 32px;
  }

  .list__line {
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .list__line__title,
  .list__line__person,
  .list__line__chair {
    width: 100%;
  }

  .flexwrapper {
    flex-direction: column;
    gap: 10px;
  }

  .capcont {
    width: 100%;
  }

  .contena {
    width: 100%;
    margin-right: 10px;
  }

  .caption {
    font-size: 80%;
  }
}
