/* =====================================================
 ベース
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color: #333;
  background-color:#fff; 
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400; 
	overflow-x: hidden;
}

a {
  color: #0b5ea8;
		  text-decoration-thickness: 1px;
  text-underline-offset: 2px;

}

a:focus {
  outline: 2px solid #0b5ea8;
  outline-offset: 2px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   共通ユーティリティ
===================== */
.text-right { text-align: right; }
.text-center { text-align: center; }
.marginLeft01 {
  margin-left: 1em;   
}
.session-divider {
  height: 1px;
  background: #e6e6e6;
  margin: 18px 0 22px; 
}


/* =====================================================
   ヘッダー
===================================================== */
.site-header {
  background: #fff;
  border: none;
}

/* 中身（1120基準） */
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px 10px;  

  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* ナビ全体 */
.site-nav ul {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 7px 0;

  font-size: 14px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  white-space: nowrap;

  position: relative;
}

.site-nav a:hover {
  color: #0b5ea8;
}

.site-nav a.is-active {
  color: #0b5ea8;
  font-weight: 600;
}

/* ヘッダーナビ：フォーカス制御 */
.site-nav a:focus {
  outline: none;
}

.site-nav a:focus-visible {
  outline: 2px solid #0b5ea8;
  outline-offset: 4px;
}

/* 念のため：線が出る事故防止 */
.site-header,
.site-header * {
  border-bottom: none; 
}


/* =====================================================
   HERO（青い帯 全体）
===================================================== */
.hero-wrap {
  width: 100%;
  margin: 6px auto 0; 
}

/* ★青い帯の本体（1120固定） */
.hero {
  position: relative;
  max-width: 1120px;
  height: 405px;
  margin: 0 auto;
  overflow: hidden;

  /* GPU合成のズレ対策（重要） */
  isolation: isolate;
  transform: translateZ(0);

  background: linear-gradient(
    to bottom,
    #062f55 0%,
    #062f55 60%,
    #0a4f7d 78%,
    #2f6f98 90%,
    #c3d4e4 100%
  );
}


/* 上掛けグラデーション */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(6,47,85,0.03) 0%,
      rgba(6,47,85,0.14) 55%,
      rgba(6,47,85,0.26) 72%
    ),
    linear-gradient(
      to bottom,
      rgba(195,212,228,0) 75%,
      rgba(195,212,228,0.25) 88%,
      #c3d4e4 100%
    );
}

/* 背景グラデーションのレイヤー固定（境界線バグ対策） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  /* 親の背景を複製して同一レイヤー化 */
  background: inherit;
}


/* =====================================================
   HERO 中央地球儀画像
===================================================== */

.hero-image{
  position:absolute;
  top:-13px;
  left:57%;
  transform:translateX(-50%) scale(0.90);
  transform-origin:center top;

  width:990px;
  height:440px;

  background:url("../images/hero.jpg") no-repeat center top / cover;
  opacity:0.95;
  pointer-events:none;
  z-index:1;

/* ★右端の境界線を自然に消す調整 */
-webkit-mask-image:
  radial-gradient(circle at 62% 45%, #000 66%, transparent 88%),
  linear-gradient(to right, rgba(0,0,0,1) 86%, rgba(0,0,0,0.35) 94%, transparent 100%),
  linear-gradient(to bottom, #000 72%, transparent 100%);
-webkit-mask-composite: intersect;

mask-image:
  radial-gradient(circle at 62% 45%, #000 66%, transparent 88%),
  linear-gradient(to right, rgba(0,0,0,1) 86%, rgba(0,0,0,0.35) 94%, transparent 100%),
  linear-gradient(to bottom, #000 72%, transparent 100%);
mask-composite: intersect;

}

/* =====================================================
   HERO テキスト（学会名）
===================================================== */
.hero-inner {
  position: relative;
  z-index: 3;

  display: flex;              
  align-items: flex-start;    
  padding: 56px 24px 0 72px;
}

.hero-text {
  max-width: 640px;
  color: #fff;
	padding-left: 10px;
}

.hero-text h1 {
  font-size: 30px;
 line-height: 1.28; 
  margin-bottom: 4px;
	  letter-spacing: 0.09em;
}

.hero-text p {
  font-size:0.9em; /*15px;*/
  line-height: 1.4;
  margin-top: 0;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
	letter-spacing: -0.02em;  
}


/* =====================================================
   カード全体
===================================================== */
.hero-cards {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;      
  z-index: 3;
}

.card-section {
  margin-top: -110px; 
  padding-bottom: 40px;
	 background: transparent;
}

.cards {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;

}
.card {
  background:#D2EAF8;/*#edf6fc;*/
  border-radius: 12px;
  padding: 22px 22px 24px;
  text-align: center;

  border: 1px solid rgba(0,0,0,0.04);
  /*box-shadow: 0 3px 10px rgba(0,0,0,0.035);*/
 box-shadow: 0 10px 24px rgba(10,30,60,0.08);

}
.card-icon {
  margin-bottom: 6px;
}

.card-icon img {
  width: 40px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.card h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
	line-height: 1.35;   
	margin: 2px 0 10px; 
}

.card p {
  margin: 0;
  font-size: 13.5px;
  color: #666;
}

/* カード全体リンク */
.card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.card-link:focus {
  outline: none;
}

.card-link:focus-visible {
  outline: 2px solid #0b5ea8;
  outline-offset: 4px;
  border-radius: 14px;
}


/* =====================================================
   お知らせ
===================================================== */
.news .container {
  max-width: 960px; 
}

.news {
  border: none;
  margin-top: 0;        
  padding-top: 28px;    
  margin-bottom: 40px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;  
  padding-bottom: 8px;     
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-title {
  font-size: 22px;
  font-weight: 700;
	letter-spacing: 0.03em;
  margin: 0;          
}

.news-title .badge {
  font-size: 11px;
	font-weight: 600;
  background: #2f6fa6;
  color: #fff;
  padding: 2px 7px;     
  border-radius: 999px;
  margin-left: 6px;
  position: relative;
  top: -1px;            
}

.news-actions {
  font-size: 13px;
}

.news-actions a {
  text-decoration: none;
}

.news-list {
  list-style: none;
  margin-top: 0px;
  padding: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  padding: 6px 0; 
  border-bottom: 1px solid #e9e9e9;
}

.news-date {
  font-size: 14px;
  color: #777;
	line-height: 1.6;
}

.news-text {
  font-size: 15.5px;
	line-height: 1.6;
}

.news-text a {
  text-decoration: none;
}

.news-text a:hover {
  text-decoration: underline;
}
.news-actions {
  font-size: 13px;
  white-space: nowrap;
}
.news-actions a {
  color: #0b5ea8;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
		opacity: 0.85;
}

.news-actions a:hover {
  background-color: rgba(11, 94, 168, 0.08);
	opacity: 1;
}


/* =====================================================
   下層ページ（ヒーロー）
===================================================== */

.page-hero {
  background: transparent;
	 margin-top: 6px;
}

/* 帯の本体（1120固定） */
.page-hero-inner {
  position: relative;
  max-width: 1120px;
  height: 144px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: flex-start;

  overflow: hidden;

  background: linear-gradient(
    to bottom,
    #062f55 0%,
    #062f55 35%,
    #0b5f8f 70%,
    #0b5f8f 100%
  );
}

/* 地球儀（右上） */
.page-hero-inner::after {
  content: "";
  position: absolute;

  top: -52px;
  right: -48px;

  width: 270px;
  height: 270px;

  background: url("../images/hero-header.jpg") no-repeat center / contain;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;

  /* ★左境界を自然にするマスク */
  -webkit-mask-image:
    radial-gradient(circle at 68% 50%, #000 60%, transparent 78%),
    linear-gradient(to right, transparent 0%, #000 38%);
  -webkit-mask-composite: intersect;

  mask-image:
    radial-gradient(circle at 68% 50%, #000 60%, transparent 78%),
    linear-gradient(to right, transparent 0%, #000 38%);
  mask-composite: intersect;
}


/* 右端だけ、ほんの少し馴染ませる */
.page-hero-inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(6,47,85,0.06) 0%,
    rgba(6,47,85,0.18) 60%,
    rgba(6,47,85,0.25) 100%
  );
}

.page-hero-title {
  position: relative;
  z-index: 3;
  color: #fff;
	 padding-top: 52px; 
  padding-left: 64px; 
}

.page-hero-title .jp {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.03em;
	margin-top: 4px;  
}

.page-hero-title .en {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.3;
  opacity: 0.75;
}


/* =====================================================
   下層ページ共通
===================================================== */
.page-main .container {
  max-width: 960px;
}	

/* ===============================
   下層ページ 基本
=============================== */

.page-main{
  padding-top: 34px;
  padding-bottom: 40px;
}

/* ページタイトル（H1） */
.page-main h1{
  font-size: 1.65rem;
  margin: 0 0 32px;
  padding-left: 0.7em;
  border-left: 3px solid #0b5ea8;
  line-height: 1.35;
}

/* H1の直後に来る要素の間隔統一 */
.page-main h1 + p,
.page-main h1 + .content-card{
  margin-top: 16px;
}

/* 研究大会一覧の最初の項目だけ間隔を詰める */
.page-main h1 + .conf-item{
  margin-top: 12px;
}

/* H2だけは少し詰める（設立趣旨など） */
.page-main h1 + h2{
  margin-top: 12px;
}

.page-main h2 {
  font-size: 1.25rem;
  margin: 1.6em 0 0.5em;   
  line-height: 1.45;
  font-weight: 700;
  color: #1f2a33;
}

.page-main h2.line{
  font-size: 1.05rem;
  font-weight:600;
  margin: 2.2em 0 0.7em;
  padding-left:0.7em;
  border-left:3px solid #aab4bf;
  color:#374151;
}

.page-main h3 {
  font-size: 1.05rem;
  margin: 1.8em 0 0.6em;
  line-height: 1.5;
}

.page-main h4{
  margin-top:26px;
  margin-bottom:8px;
  font-weight:600;
  color:#1f2a33;
}
.page-main h4::before{
  content:"■";
  color:#8da2b5;
  margin-right:6px;
  font-size:0.9em;
}

.page-main p{
  margin: 0 0 1.3em;
}
.page-main ul,
.page-main ol{
  margin: 0 0 1.4em 1.4em;
}

.page-main li{
  margin: 0.3em 0;
}

/* 文章型リスト用 古*/
.page-main ul.text-list {
  list-style: none;
  margin: 8px 0 16px;
  padding-left: 1.5em;  
}

.page-main ul.text-list li {
  padding-left: 1.5em;   /* 本文位置 */
  text-indent: -1.5em;  /* 左にぶら下げ*/
  margin-bottom: 0.35em;
  line-height: 1.8;
}
.page-main a[href$=".pdf"]{
  display:inline-block;
  margin-top:0.3em;
}


/* =====================================================
   開催報告
===================================================== */
.event-photo {
  margin: 24px 0;
}

.event-photo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.event-photo figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

.event-photo-center {
  text-align: center;
}

.event-photo-center img {
  margin: 0 auto;
}

/* 登壇者1件のまとまり */
.presentation-item {
  margin-bottom: 10px;
}

/* 話者情報 */
.presentation-speaker {
  line-height: 1.6;
}

/* 論文リスト */
.page-main ul.paper-list{
  list-style: none;
  margin: 8px 0 18px;
  padding-left: 1.5em;
}

.page-main ul.paper-list li{
  padding-left: 1.5em;
  text-indent: -1.5em;
  margin-bottom: 0.6em;
  line-height: 1.8;
}

/* 論文タイトル */
.paper-list li a{
  display: block;
  margin-left: 2em;
  margin-top: 4px;
}


/* =====================================================
   開催案内ページ
===================================================== */

.event-divider{
  text-align:center;
  margin:40px 0 26px;
  font-weight:600;
  letter-spacing:0.15em;
  color:#444;
  position:relative;
}

.event-divider::before,
.event-divider::after{
  content:"";
  position:absolute;
  top:50%;
  width:38%;
  height:1px;
  background:#d8dde3;
}

.event-divider::before{ left:0; }
.event-divider::after{ right:0; }

/* 開催概要メタ情報 */
.event-meta {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  column-gap: 20px;
  row-gap: 10px;
	margin-bottom: 30px;
	margin-left: 0; 
}

/* ラベル（日時・会場など） */
.event-meta dt {
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

.event-meta dd {
  margin: 0;
  line-height: 1.7;
}

/* ===============================
   振込情報ブロック（整理版）
=============================== */

/* 説明文 */
.section-note{
  margin:0.8em 0 1.0em 1.2em;
  line-height:1.7;
}

/* 全体箱 */
.payment-info{
  margin:0.4em 0 1.6em;
  margin-left:1.2em;
}

/* 見出し：大会参加費および会費の振込先 */
.payment-title{
  font-weight:600;
  font-size:1em;
  margin:0.35em 0 0.35em;   /* ← 上の余白を詰めた */
  padding-bottom:0.35em;
  border-bottom:1px solid #d9dee3;
  color:#374151;
  line-height:1.45;
}

/* 各ブロック（ゆうちょ／その他） */
.payment-block{
  margin:0.45em 0 1.0em;
}

/* 「～の場合」行 */
.payment-head{
  font-weight:600;
  color:#111827;
  margin:0.15em 0 0.12em;
  font-size:0.95em;
  line-height:1.45;
}

/* 明細リスト */
.payment-list{
  list-style:none;
  margin:0;
  padding:0;
}

/* 各行（口座番号など） */
.payment-list li{
  margin:0.05em 0;
  font-size:0.92em;
  line-height:1.55;
}

/* 左ラベル */
.payment-list li span{
  display:inline-block;
  min-width:6.8em;
  color:#1f2937;
  font-weight:500;
}

/* 注意書き */
.payment-note{
  font-size:0.85em;
  color:#6b7280;
  margin-top:0.5em;
  padding-top:0.5em;
  border-top:1px solid #e5e7eb;
  line-height:1.6;
}
/* =====================================================
   共通カード（行事の案内 / イベントリスト）
===================================================== */

.content-card{
  background:#f7f9fc;
  border:1px solid #e2e7ee;
  border-radius:8px;
  padding:16px 22px;
  margin:20px 0;
  box-shadow:none;
}

/* H1直後のカードだけ少し余裕を持たせる */
.page-main h1 + .content-card{
  margin-top:24px;
}

/* カード内の最初の見出し余白リセット */
.content-card h2,
.content-card h3{
  margin-top:0;
}

/* ------------------------------
   タイトル（大会名など）
------------------------------ */
.content-card_title{
  margin:0 0 6px;
  font-size:1.12rem;
  font-weight:700;
  color:#0b3a66;
  line-height:1.45;
}

/* ------------------------------
   日付・会場
------------------------------ */
.content-card_meta{
  margin:0 0 12px;
  font-size:0.95rem;
  color:#6b7785;
  line-height:1.6;
}

/* 本文 */
.content-card p{
  line-height:1.7;
  color:#555;
  margin:0 0 10px;
}

/* =====================================================
   リンク
===================================================== */

/* リンク配置（Flexを使わない＝これが安定） */
.page-main .content-card_links{
  list-style:none;
  padding:0;
  margin:6px 0 0;
  font-size:0;           
}

.content-card_links li{
  display:inline;
  font-size:0.95rem;
}

/* 区切り線 */
.content-card_links li + li::before{
  content:"｜";
  color:#c7d0d9;
  margin:0 10px;
}

/* リンク */
.content-card_links a{
  text-decoration:underline;
  color:#0b5ea8;
  line-height:1.6;
}

.content-card_links a:hover{
  text-decoration:none;
}


/* =====================================================
   ステータスラベル
===================================================== */

.status{
  display:inline-block;
  font-size:12px;
  padding:2px 8px;
  border-radius:999px;
  margin-left:8px;
}

.status-finished{
  background:#e5e7eb;
  color:#555;
}

.status-upcoming{
  background:#e0f2fe;
  color:#0369a1;
}


/* =========================
  公開資料ページ
===========================*/
.conference-title {
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

/* =====================================================
  シンプル線ボタン
===========================*/
.card-button {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: #0b5ea8;
  text-decoration: none;
	margin-top: 6px;
  padding: 5px 12px;
  border: 1px solid #0b5ea8;
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.card-button:hover {
  background-color: rgba(11, 94, 168, 0.08);
  color: #0b5ea8;
}
.content-card_links li + li::before {
  color: #cbd5e1;
}


/* =====================================================
   フッター（ヒーローと同幅）
===================================================== */

.site-footer{
  max-width: 1120px;
  margin: 40px auto 0;  
  background: linear-gradient(
    to bottom,
    #153f63 0%,
    #123a5c 100%
  );
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.3;
  border-radius: 4px;
}

/* 内側 */
.site-footer .container{
  padding: 16px 24px 18px;
  text-align: center;
}

/* コピーライトの視覚中心補正 */
.footer-copy{
  position: relative;
  top: 1px;
}


/* =====================================================
   レスポンシブ
===================================================== */
/* タブレット（〜960px） */
@media (max-width: 960px) {

  /* ヘッダー：左右詰める */
  .header-inner {
    padding: 12px 20px 8px;
  }

  /* HERO */
  .hero {
    height: 360px;
  }

  .hero-inner {
    padding: 48px 20px 0 40px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  /* 地球儀 少し控えめ */
  .hero-image {
    left: 60%;
    transform: translateX(-50%) scale(0.85);
  }

  /* カード */
	
  .cards {
    grid-template-columns: 1fr;
  }

  .card-section {
    margin-top: -40px;
  }

  /* お知らせ */
  .news .container {
    padding: 0 20px;
  }
}

/* スマホ（〜600px） */
@media (max-width: 600px) {

  body {
    font-size: 14.5px;
  }

  /* =====================
     ヘッダー
  ===================== */
  .header-inner {
    justify-content: center;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  /* =====================
     HERO
  ===================== */
  .hero {
    height: 320px;
  }

  .hero-inner {
    padding: 40px 20px 0 24px;
  }

  .hero-text h1 {
    font-size: 23px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 13.5px;
  }

  /* 地球儀：主張しすぎない */
  .hero-image {
    left: 65%;
    top: 0;
    transform: translateX(-50%) scale(0.75);
    opacity: 0.85;
  }

  /* =====================
     カード
  ===================== */
  .cards {
    gap: 20px;
  }

  .card {
    padding: 18px 18px 20px;
  }

  .card h2 {
    font-size: 18px;
  }

  .card p {
    font-size: 13px;
  }

  /* =====================
     お知らせ
  ===================== */
  .news-header {
    align-items: center;
  }

  .news-title {
    font-size: 19px;
  }

  .news-actions {
    font-size: 12.5px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 0;
  }

  .news-date {
    font-size: 12.5px;
  }

  .news-text {
    font-size: 14.5px;
  }

  /* =====================
     下層ページ HERO
  ===================== */
  .page-hero-inner {
    height: 120px;
  }

  .page-hero-title {
    padding-top: 40px;
    padding-left: 24px;
  }

  .page-hero-title .jp {
    font-size: 22px;
  }

  .page-hero-title .en {
    font-size: 12.5px;
  }

  /* =====================
     下層ページ本文
  ===================== */
  .page-main h1 {
    font-size: 22px;
    margin: 24px 0 28px;
  }

  .page-main h2 {
    font-size: 17px;
  }

  .page-main h3 {
    font-size: 15.5px;
  }

  /* メタ情報（開催概要など） */
  .event-meta {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .event-meta dt {
    font-size: 13px;
	  font-weight:700;
  color:#374151;
  }

  .event-meta dd {
    font-size: 14px;
  }

  /* フッター */
  .site-footer {
    font-size: 13px;
  }
}

/* =====================================================
   印刷用スタイル（A4最適化）
===================================================== */
@media print {

/* 余白設定（A4） */
@page {
  size: A4;
  margin: 18mm 16mm 18mm 16mm;
}

/* 全体リセット */
body {
  background: #fff !important;
  color: #000 !important;
  font-size: 10pt;
  line-height: 1.6;
}


/* =====================================
   不要要素を消す（最重要）
===================================== */
.site-header,
.site-nav,
.hero-wrap,
.hero,
.hero-overlay,
.hero-image,
.hero-cards,
.card-section,
.news-actions,
.site-footer,
.page-hero,
.page-hero-inner::after,
.page-hero-overlay {
  display: none !important;
}

/* =====================================================
   印刷用スタイル
===================================================== */
@media print {

/* A4設定 */
@page {
  size: A4;
  margin: 18mm 16mm 18mm 16mm;
}

/* =============================
   基本文字設定
============================= */
body {
  background: #fff !important;
  color: #000 !important;
  font-size: 10pt;
  line-height: 1.6;
  overflow: visible;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* =============================
   印刷不要部分を非表示
============================= */
.site-header,
.site-nav,
.hero-wrap,
.hero,
.hero-overlay,
.hero-image,
.hero-cards,
.card-section,
.news-actions,
.site-footer,
.page-hero,
.page-hero-inner::after,
.page-hero-overlay {
  display: none !important;
}

/* レイアウトを紙仕様に */
.container,
.page-main .container {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* =============================
   見出し（冊子風サイズ）
============================= */
h1 {
  font-size: 14pt;
  border-left: none !important;
  padding-left: 0;
  margin: 0 0 10pt;
  page-break-after: avoid;
}

h2 {
  font-size: 12pt;
  margin-top: 14pt;
  margin-bottom: 6pt;
  page-break-after: avoid;
}

h3 {
  font-size: 10.8pt;
  margin-top: 12pt;
  margin-bottom: 4pt;
  page-break-after: avoid;
}

h4 {
  font-size: 10pt;
  margin-top: 10pt;
  margin-bottom: 3pt;
  page-break-after: avoid;
}

/* 段落 */
p {
  margin: 0 0 7pt;
}

/* =============================
   リンク表示
============================= */
a,
a:visited {
  color: #000 !important;
  text-decoration: underline;
}

/* 外部URL表示 */
a[href^="http"]::after {
  content: "（" attr(href) "）";
  font-size: 8.5pt;
}

/* PDF表示 */
a[href$=".pdf"]::after {
  content: " [PDF]";
  font-size: 8.5pt;
}

/* =============================
   リスト最適化
============================= */
ul,
ol {
  margin-left: 16pt;
}

li {
  margin-bottom: 3pt;
}

/* 論文・テキストリスト（ぶら下げ維持） */
.page-main ul.text-list li,
.page-main ul.paper-list li {
  text-indent: -1.4em;
  padding-left: 1.4em;
}

/* =============================
   カードを文章化
============================= */
.content-card {
  border: 1px solid #aaa;
  background: none;
  padding: 8pt 10pt;
  margin: 10pt 0;
  border-radius: 0;
}

/* =============================
   改ページ制御（最重要）
============================= */
h1, h2, h3, h4 {
  break-after: avoid;
}

.content-card,
.presentation-item,
.event-meta,
.paper-list li,
.event-photo {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
  page-break-inside: avoid;
}

/* 開催概要（dl）を縦組に */
.event-meta {
  display: block;
}

.event-meta dt {
  font-weight: bold;
  margin-top: 5pt;
}

.event-meta dd {
  margin-left: 0;
  margin-bottom: 5pt;
}

/* お知らせ */
.news-item {
  display: block;
  border-bottom: 1px solid #bbb;
  padding: 5pt 0;
}

.news-date {
  font-weight: bold;
}

/* 区切り線 */
.session-divider {
  border-top: 1px solid #999;
  height: 0;
}

}
