@charset "UTF-8";

/* 第36回洛和会ヘルスケア学会・特別セッション専用
 * 見出し、余白、文字サイズ、箇条書きは共通のcompo.cssを使用。
 * このファイルには、共通クラスで表現できない調整のみを記載する。
 */

/* タイトルと本文の読みやすさ */
#main .gakkai-session-subtitle {
  color: #1a1f61;
  line-height: 1.7;
  text-wrap: balance;
}

#main.gakkai-page > section > p {
  line-height: 1.9;
}

/* 登壇者：本文幅に応じて1列・2列を切り替える */
#main .gakkai-speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

#main .gakkai-speaker {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

#main .gakkai-speaker-photo {
  flex: 0 0 132px;
  width: 132px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
}

#main .gakkai-speaker-photo img {
  display: block;
  height: auto;
}

#main .gakkai-speaker-details {
  min-width: 0;
  overflow-wrap: anywhere;
}

#main .gakkai-speaker-name {
  color: #1a1f61;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 2.2rem;
  line-height: 1.4;
}

/* ページ内リンク先が固定ヘッダーに隠れないようにする */
#gakkai-just2ys {
  scroll-margin-top: 80px;
}

/* 地図の基本の高さはHTMLのheight属性で指定（450px） */
#main .gakkai-map iframe {
  display: block;
  border: 0;
}

@media only screen and (max-width: 700px) {
  #main .gakkai-map iframe {
    height: 320px;
  }
}

@media only screen and (max-width: 400px) {
  #main .gakkai-speaker {
    gap: 16px;
  }

  #main .gakkai-speaker-photo {
    flex-basis: 104px;
    width: 104px;
  }

  #main .gakkai-speaker-name {
    font-size: 2rem;
  }
}
