@charset "UTF-8";

/* ========================================
   CSS変数（カラーパレット）
   第168回ポスター（PGT-M）のロージーパープル #A06090 系から再配色
   ベース構造は第167回テンプレートを踏襲（8変数の多色配置）
   ======================================== */

:root {
  /* メインカラー */
  --color-primary: #9A4E8C;
  /* 紫マゼンタ メイン（ヘッダ背景・ボタンhover） */
  --color-secondary: #B05E9E;
  /* 明るい紫（サブタイトル文字・listhover背景） */
  --color-accent: #E0A53C;
  /* 琥珀アクセント（backbtn背景・ポスターの金色） */

  /* サブカラー */
  --color-orange-light: #C58FB8;
  /* 中オーキッド（list下線） */
  --color-peach: #E3C9DD;
  /* 淡オーキッド（caption枠） */
  --color-pink: #F3E6EF;
  /* 淡ラベンダーピンク（section背景） */
  --color-cream: #FAF4F8;
  /* 極淡ライラック（list背景） */
  --color-dark-yellow: #4A2742;
  /* 濃プラム（backbtn文字） */

  /* ニュートラルカラー */
  --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;
  /* Safariで日本語が明朝にフォールバックして化けるのを防ぐ（第167回CSSには無く欠陥だった） */
  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;
}

/* 動画準備中プレースホルダ（Vimeo ID差し込み待ち / 動画未到着） */
.contena .icont .placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-pink);
  color: var(--color-primary);
  border: 3px dashed var(--color-orange-light);
  font-weight: bold;
  font-size: 150%;
  text-align: center;
}

.contena .icont .placeholder span {
  font-size: 60%;
  font-weight: normal;
  margin-top: 10px;
  color: var(--color-dark-yellow);
}

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

.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%;
  }
}
