@charset "utf-8";

/* ============================================================
   CSS変数（テーマカラー）
   ============================================================ */
:root {
  --main-color:    #0062b1;   /* ディープブルー */
  --main-dark:     #003d70;   /* ネイビー */
  --main-light:    #e8f4fd;   /* 薄ブルー背景 */
  --accent-color:  #b5d20a;   /* イエローグリーン */
  --accent-dark:   #8ea800;   /* 濃いイエローグリーン */
  --text-color:    #1a1a2e;   /* 本文 */
  --text-light:    #ffffff;   /* 白文字 */
  --text-muted:    #5a6a7a;   /* グレー文字 */
  --border-color:  #d0dce8;   /* ボーダー */
  --bg-base:       #f5f8fc;   /* ページ背景 */
  --font-base:     'Noto Sans JP', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', sans-serif;
  --radius:        6px;
  --shadow:        0 2px 12px rgba(0, 62, 112, 0.10);
  --transition:    0.2s ease;
}

/* ============================================================
   BASE — リセット & 基本要素
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--bg-base);
  overflow-y: scroll;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

a {
  color: var(--main-color);
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover { opacity: 0.75; }

address { font-style: normal; }

ul, ol { list-style: none; }

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding: 0.4em 0.9em;
  background: var(--main-dark);
  color: var(--text-light);
  border-radius: var(--radius) var(--radius) 0 0;
}
.fwb{
	font-weight: bold;
}
.t_ind{
	text-indent: 1em;
}
.t_in1{
	text-indent: 1em;
}

/* ============================================================
   LAYOUT — ページ骨格
   ============================================================ */
#main_header {
  width: 100%;
  top: 0;
  z-index: 100;
  padding: 10px 0;
}

#main_header .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.site-title img {
  height: 64px;
  width: auto;
}

.wrap {
  display: flex;
  flex-direction: row-reverse;
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 1rem;
  gap: 1.5rem;
}

.container {
  flex: 1;
  min-width: 0;
}

aside#side_nav {
  width: 200px;
  flex-shrink: 0;
}

#main_image {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

#main_image img {
  width: 100%;
}

#main_footer {
  background: var(--main-dark);
  color: var(--text-light);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
}

#copy {
  font-size: 0.8rem;
  opacity: 0.85;
}

#page_top {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 20px;
  z-index: 200;
  cursor: pointer;
}
#page_top img { width: 44px; height: 44px; }

/* ============================================================
   COMPONENT — ナビゲーション（PC）
   ============================================================ */
#nav_sp { display: none; }

.gnav ul { display: flex; flex-direction: column; gap: 2px; }

.gnav .nav-item a {
  display: block;
  padding: 0.65em 0.9em 0.65em 1.2em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  background: var(--main-color);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background var(--transition), border-color var(--transition);
  line-height: 1.4;
}

.gnav .nav-item a:hover {
  background: var(--main-dark);
  border-left-color: var(--accent-dark);
  opacity: 1;
}

/* ============================================================
   COMPONENT — セクション共通
   ============================================================ */
.section {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.section-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--main-dark);
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* ============================================================
   COMPONENT — ニュース一覧
   ============================================================ */
.news-list {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  scrollbar-width: thin;
  scrollbar-color: var(--main-color) var(--main-light);
}

.news-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px dashed var(--border-color);
  align-items: flex-start;
}

.news-item:last-child { border-bottom: none; }

.news-item dt {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--main-color);
  padding: 0.1em 0.6em;
  background: var(--main-light);
  border-radius: 3px;
  white-space: nowrap;
  line-height: 1.8;
}

.news-item dd {
  font-size: 0.88rem;
  line-height: 1.7;
}

.news-item dd p { margin-bottom: 0.2rem; }
.news-item dd p:last-child { margin-bottom: 0; }

/* ============================================================
   COMPONENT — ボタンエリア
   ============================================================ */
.btn-area {
  margin: 1rem 0 1.5rem;
}

.flex-box {
  display: flex;
  gap: 1rem;
}

.half-box {
  flex: 1;
}

.half-box a:hover { opacity: 0.8; }

/* ============================================================
   COMPONENT — お問い合わせカード
   ============================================================ */
.card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card h3 {
  border-radius: 0;
  margin-bottom: 0;
}

.card p, .card address p {
  font-size: 0.88rem;
  padding: 0 1rem;
  margin-top: 0.5rem;
}

.card address { padding-bottom: 1rem; }
.card > p:last-child {
  padding-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* お問い合わせ見出し */
#contact .section-title {
  margin-bottom: 1rem;
}

/* ============================================================
   COMPONENT — ユーティリティ
   ============================================================ */
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }
.mt40 { margin-top: 40px; }
.mt50 { margin-top: 50px; }
.mt60 { margin-top: 60px; }
.pd10 { padding: 10px;}
.mb30 { margin-bottom: 30px; }
.mb50 { margin-bottom: 50px; }
.center { text-align: center; }
.bold  { font-weight: 700; }
.red   { color: #e00; }
.att   { color: #e00; font-weight: 700; }
.td-indent {
  display: flex;
  flex-wrap: wrap;
}
.td-indent .num {
  flex-shrink: 0;
  width: 4em;  /* （17）＋全角スペース1個 */
}

.td-indent {
  display: flex;
  align-items: flex-start;
}

.td-indent .num {
  flex-shrink: 0;
  width: 3em;  /* （17）の幅 */
}

.td-indent .body {
  flex: 1;
}
.ac_att{
	color:red;
	font-weight:bold;
	margin:20px;
	text-align: center;
}
.cyui{ 
	background-color: #FF272B;
	padding: 20px;
	font-weight: bold;
	color: #FFFFFF!important;
	
}
.hp_toi{ 
	background-color: #A9BAD0;
	padding: 20px;
	font-weight: bold;
	color: #FFFFFF!important;
	
}

.box-alert {
  border: 2px solid #e00;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  background: #fff5f5;
  font-size: 0.9rem;
}

.box-alert .box-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #e00;
  margin-bottom: 0.5rem;
}
.info-box {
  border: 1px solid var(--border-color);
  padding: 2em;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  max-width: 800px;
  margin: 2rem auto;
}

.info-box-title {
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
  color: var(--text-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.8em;
  margin-bottom: 1.2em;
}
/* ============================================================
   RESPONSIVE — スマホ（～999px）は nav.css で管理
   ============================================================ */
@media screen and (max-width: 999px) {
  .wrap {
    display: block;
    margin: 12px auto;
  }

  aside#side_nav {
    display: none;
  }

  /* ボタンエリアの調整 */
  .btn-area {
    margin: 1rem 0;
  }

  /* セクションのパディング調整 */
  .section {
    padding: 1rem;
  }

  /* ニュースリストの高さ調整 */
  .news-list {
    max-height: 240px;
  }
}
@media screen and (max-width: 639px) {
  .btn {
    padding: 0.7em 1.5em;
    font-size: 0.85rem;
    margin: 1rem auto;
    min-width: 120px;
    white-space: normal!important;   /* ← 追加 */
    max-width: 100%;       /* ← 追加 */
  }
}

@media screen and (max-width: 639px) {
  body { font-size: 14px; }

  .wrap { padding: 0 0.75rem; }

  .flex-box {
    flex-direction: column;
  }

  .half-box { width: 100%; }



  .news-item { 
    flex-direction: column; 
    gap: 0.25rem; 
    padding: 0.5rem 0.75rem;
  }

  .news-item dt {
    align-self: flex-start;
    white-space: normal;
  }

  #contact .flex-box { gap: 1rem; }

  /* セクションのパディング調整 */
  .section {
    padding: 1rem 0.75rem;
  }

  /* セクションタイトルの調整 */
  .section-title {
    font-size: 1rem;
  }

  /* ニュースリストの高さ調整 */
  .news-list {
    max-height: 200px;
  }

  /* カードのパディング調整 */
  .card p, .card address p {
    padding: 0 0.75rem;
  }

  /* アラートボックスの調整 */
  .box-alert {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  /* ユーティリティクラスの調整 */
  .mt40 { margin-top: 20px; }
  .mb50 { margin-bottom: 30px; }
}
@media screen and (max-width: 639px) {
  .site-title img {
    height: auto;  /* ← autoに変更 */
    width: 100%;   /* ← 幅いっぱいに */
  }
}
/* ============================================================
   subpage.css — サブページ共通スタイル
   ============================================================ */

/* パンくずリスト */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
  color: var(--main-color);
}

.breadcrumb span {
  margin: 0 0.4em;
  color: var(--text-muted);
}

/* ページタイトル */
.page-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--main-dark);
  border-left: 5px solid var(--accent-color);
  padding: 0.3em 0 0.3em 0.8em;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* セクション見出し */
.sub-section-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-light);
  background: var(--main-color);
  padding: 0.5em 1em;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  text-align: center;
  letter-spacing: 0.05em;
}

/* メインテーマ ボックス */
.theme-box {
  text-align: center;
  border: 3px solid var(--main-color);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--main-light);
}

.theme-box .main-theme-text {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--main-dark);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* 本文エリア */
.content-body {
  font-size: 0.92rem;
  line-height: 2;
  color: var(--text-color);
}

.content-body p {
  margin-bottom: 1.2em;
  text-indent: 1em;
}

.content-body p:last-child {
  margin-bottom: 0;
}
.page-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--main-color);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background var(--transition);
}

.page-top-btn:hover {
  background: var(--main-dark);
  opacity: 1;
}
/* ============================================================
   開催概要テーブル
   ============================================================ */

.outline-table td {
  background: #fff;
}

.outline-table td ul {
  list-style: disc;
  padding-left: 1.2em;
  margin-top: 0.3em;
}

.outline-table td ul li {
  margin-bottom: 0.2em;
}
.outline-table td ol {
  list-style: none;
  counter-reset: item;
  padding-left: 0;
}

.outline-table td ol li {
  counter-increment: item;
}

.outline-table td ol li::before {
  content: "\FF08" counter(item) "\FF09 ";
}
.outline-table td ol li {
  text-indent: -1.5em;
  padding-left: 1.5em;
}

/* ============================================================
   テーブル（スマホ最適化済）
   ============================================================ */
.outline-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.outline-table th,
.outline-table td {
  border: 2px solid #696969;
  padding: 0.9em 1em;
  vertical-align: top;
  line-height: 1.8;
  word-break: break-word;
}

.outline-table th {
  width: 8em;
  background: #dcdcdc;
  text-align: center;
}

/* スマホ：縦積み */
@media screen and (max-width: 639px) {
  .outline-table,
  .outline-table tbody,
  .outline-table tr,
  .outline-table th,
  .outline-table td {
    display: block;
    width: 100%;
  }

  .outline-table tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
  }

  .outline-table th {
    background: #eee;
    text-align: left;
    padding: 0.6em;
  }

  .outline-table td {
    border-top: none;
    padding: 0.8em;
  }

  /* テーブル内のリストの調整 */
  .outline-table td ul {
    padding-left: 1em;
  }

  .outline-table td ol li {
    text-indent: -1.2em;
    padding-left: 1.2em;
  }
}
/* ============================================================
   過去開催テーブル
   ============================================================ */
.outline-table_kako {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.8rem;
}

.outline-table_kako th,
.outline-table_kako td {
  border: 2px solid #696969;
  padding: 0.5em 0.5em;
  vertical-align: top;
  line-height: 1.8;
  word-break: break-word;
}

.outline-table_kako th {
  background: #dcdcdc;
  text-align: center;
}

.outline-table_kako td {
  background: #fff;
}

.outline-table_kako td ul {
  list-style: disc;
  padding-left: 1.2em;
  margin-top: 0.3em;
}

.outline-table_kako td ul li {
  margin-bottom: 0.2em;
}

.outline-table_kako td ol {
  list-style: none;
  counter-reset: item;
  padding-left: 0;
}

.outline-table_kako td ol li {
  counter-increment: item;
}

.outline-table_kako td ol li::before {
  content: "\FF08" counter(item) "\FF09 ";
}

.outline-table_kako td ol li {
  text-indent: -1.5em;
  padding-left: 1.5em;
}

/* スマホ：縦積み */
@media screen and (max-width: 639px) {
  .outline-table_kako thead {
    display: none;  /* ヘッダーを隠す */
  }

  .outline-table_kako,
  .outline-table_kako tbody,
  .outline-table_kako tr,
  .outline-table_kako td {
    display: block;
    width: 100%;
  }

  .outline-table_kako tr {
    margin-bottom: 1.5rem;
    border: 2px solid #696969;
  }

  .outline-table_kako td {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 0.6em 0.8em;
  }

  .outline-table_kako td:last-child {
    border-bottom: none;
  }

  .outline-table_kako td:nth-child(1)::before { content: "【開催回】"; }
  .outline-table_kako td:nth-child(2)::before { content: "【開催日】"; }
  .outline-table_kako td:nth-child(3)::before { content: "【開催地】"; }
  .outline-table_kako td:nth-child(4)::before { content: "【メインテーマ】"; }
  .outline-table_kako td:nth-child(5)::before { content: "【主催】"; }
  .outline-table_kako td:nth-child(6)::before { content: "【開催場所及び参加人員】"; }

  .outline-table_kako td::before {
    display: block;
    font-weight: bold;
    color: #fff;
    background: var(--main-color);
    padding: 0.3em 0.6em;
    margin: -0.8em -0.8em 0.5em -0.8em;  /* tdのpaddingを打ち消して幅いっぱいに */
    font-size: 0.85rem;
  }
}
/* ============================================================
   共通ボタン — ベース
   ============================================================ */
.btn {
  display: block;
  width: fit-content;
  margin: 1.5rem auto;
  padding: 0.85em 2.5em;
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  border-width: 2px;
  border-style: solid;
  cursor: pointer;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn:hover {
  box-shadow: 0 2px 0 currentColor;
  transform: translateY(2px);
  opacity: 1;
}

.btn:active {
  box-shadow: none;
  transform: translateY(4px);
}

/* ============================================================
   バリエーション
   ============================================================ */

/* ① イエローグリーン（メインアクション） */
.btn-yellow {
  background: #b5d20a;
  color: #1a3a00;
  border-color: #8ea800;
  box-shadow: 0 4px 0 #8ea800;
}
.btn-yellow:hover {
  background: #8ea800;
  color: #ffffff;
}

/* ② ディープブルー（標準） */
.btn-blue {
  background: #0062b1;
  color: #ffffff;
  border-color: #003d70;
  box-shadow: 0 4px 0 #003d70;
}
.btn-blue:hover {
  background: #003d70;
  color: #ffffff;
}

/* ③ レッド（注意・締切など） */
.btn-red {
  background: #d93025;
  color: #ffffff;
  border-color: #9e1f17;
  box-shadow: 0 4px 0 #9e1f17;
}
.btn-red:hover {
  background: #9e1f17;
  color: #ffffff;
}

/* ④ ホワイト（背景が濃い場所で） */
.btn-white {
  background: #ffffff;
  color: #0062b1;
  border-color: #0062b1;
  box-shadow: 0 4px 0 #0062b1;
}
.btn-white:hover {
  background: #0062b1;
  color: #ffffff;
}

/* ⑤ グレー（サブアクション・戻るなど） */
.btn-gray {
  background: #6b7b8d;
  color: #ffffff;
  border-color: #4a5a6a;
  box-shadow: 0 4px 0 #4a5a6a;
}
.btn-gray:hover {
  background: #4a5a6a;
  color: #ffffff;
}

/* ============================================================
   番号付きリスト（１　見出し）
   ============================================================ */
.numbered-list {
  margin-top: 3rem;
}

.numbered-item {
  margin-bottom: 2rem;
  margin-top: 2em;
}

.numbered-item dt {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--main-dark);
  margin-bottom: 0.75rem;
}

.numbered-item dt .num {
  font-size: 1.15rem;
  color: var(--main-color);
  min-width: 1.2em;
}

.numbered-item dd {
  padding-left: 1.8em;
  font-size: 0.92rem;
  line-height: 2;
}

.numbered-item dd p {
  margin-bottom: 0.3em;
}

/* 下線 */
.u {
  text-decoration: underline;
}

.circle-list {
  list-style: none;
  counter-reset: num;
  padding-left: 0;
}

.circle-list li {
  counter-increment: num;
  position: relative;
  padding-left: 2.2em; /* ←番号分の余白 */
  margin-bottom: 1em;
  line-height: 1.8;
}

.circle-list li::before {
  content: "（" counter(num) "）";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
.circle-list li p {
  margin-left: 0; /* ←リセットが重要 */
}

.kana-list {
  list-style: none;
  counter-reset: kana;
  padding-left: 0!important;  /* ← 0に */
  margin-left: 0!important;   /* ← 0に */
  margin-top: 0.5em;
}
.kana-list li {
  counter-increment: kana;
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8em;
  line-height: 1.8;
}

.kana-list li::before {
  content: none !important;
  display: none !important;
}

.kana-list li .num {
  flex-shrink: 0;
  width: 1em;
  font-weight: bold;  /* ← 太字 */
}

.kana-list li .body {
  flex: 1;
}
.circle-list li .kana-list {
    margin-left: -2em!important;  /* 少しだけ左に */
}

.kana-list2 {
  list-style: none;
  counter-reset: kana2;
  padding-left: 0;
  margin-top: 0.5em;
}

.kana-list2 li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8em;
  line-height: 1.8;
}

.kana-list2 li::before {
  content: none !important;
  display: none !important;
}

.kana-list2 li .num {
  flex-shrink: 0;
  width: 1em;
  font-weight: bold;
}

.kana-list2 li .body {
  flex: 1;
}

.kana-list3 li .body {
  flex: 1;
}
.circle-list li .kana-list2 {
  margin-left: -2em;
}
.circle-list li .kana-list3 {
  margin-left: -2em;
}
.circle-list li .kana-list2 li {
  counter-increment: kana2;  /* circle-listのカウンターには影響しない */
}
.circle-list li .kana-list3 li {
  counter-increment: kana3;  /* circle-listのカウンターには影響しない */
}

.kana-list3 {
  list-style: none;
  counter-reset: kana3;
  padding-left: 0;
  margin-top: 0.5em;
}

.kana-list3 li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8em;
  line-height: 1.8;
}

.kana-list3 li::before {
  content: none !important;
  display: none !important;
}

.kana-list3 li .num {
  flex-shrink: 0;
  width: 1em;  /* ア＋全角スペース */
  font-weight: bold;
}

.kana-list3 li .body {
  flex: 1;
}






.notice-box {
  border: 2px solid #666;
  padding: 1.5em;
  background: #f9f9f9;
}

.notice-title {
  font-weight: bold;
  margin-bottom: 1em;
}

.notice-list {
  padding-left: 0;
  list-style: none!important;
	counter-reset: none;  
}

.notice-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5em;
	padding-left: 0;
}
.notice-list li::before {
  content: none !important;
  display: none !important;
}
.notice-list li .num {
  flex-shrink: 0;
  width: 1em;
}

.notice-list li .body {
  flex: 1;
  text-indent: 0;
  padding-left: 0;
}
.kana-list2 li .body {
  flex: 1;
  text-indent: 0;
  padding-left: 0;
}
/* ============================================================
   レスポンシブ対応の追加・改善
   ============================================================ */

/* タブレット（640px～999px） */
@media screen and (min-width: 640px) and (max-width: 999px) {
  .theme-box {
    padding: 1.5rem 1rem;
  }

  .theme-box .main-theme-text {
    font-size: 1.4rem;
  }

  .page-title {
    font-size: 1.2rem;
  }

  .btn {
    padding: 0.75em 2em;
    font-size: 0.9rem;
  }

  .numbered-item dd {
    padding-left: 1.5em;
  }

  .circle-list li {
    padding-left: 2em;
  }

  .kana-list li {
    padding-left: 1.8em;
  }


}

/* スマホ（～639px）の追加対応 */
@media screen and (max-width: 639px) {
  /* パンくずリストの調整 */
  .breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.4rem 0;
  }

  /* ページタイトルの調整 */
  .page-title {
    font-size: 1.1rem;
    padding: 0.3em 0 0.3em 0.6em;
    margin-bottom: 1rem;
  }

  /* サブセクションタイトルの調整 */
  .sub-section-title {
    font-size: 0.9rem;
    padding: 0.4em 0.8em;
  }

  /* テーマボックスの調整 */
  .theme-box {
    padding: 1rem 0.75rem;
  }

  .theme-box .main-theme-text {
    font-size: 1.2rem;
  }

  /* 本文エリアの調整 */
  .content-body {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .content-body p {
    margin-bottom: 1em;
  }

  /* ボタンの調整 */
  .btn {
    padding: 0.7em 1.5em;
    font-size: 0.85rem;
    margin: 1rem auto;
    min-width: 120px;
  }

  /* 番号付きリストの調整 */
  .numbered-list {
    margin-top: 2rem;
  }

  .numbered-item {
    margin-bottom: 1.5rem;
    margin-top: 1.5em;
  }

  .numbered-item dt {
    font-size: 1rem;
    gap: 0.3em;
    margin-bottom: 0.5rem;
  }

  .numbered-item dt .num {
    font-size: 1.1rem;
    min-width: 1em;
  }

  .numbered-item dd {
    padding-left: 1.3em;
    font-size: 0.9rem;
    line-height: 1.9;
  }

  /* 各種リストの調整 */
  .circle-list li {
    padding-left: 1.8em;
    font-size: 0.9rem;
  }

  .kana-list li {
    padding-left: 1.6em;
    font-size: 0.9rem;
  }

  /* 注意ボックスの調整 */
  .notice-box {
    padding: 1rem;
    font-size: 0.9rem;
  }


  /* ページトップボタンの調整 */
  #page_top {
    bottom: 20px;
    right: 15px;
  }

  #page_top img { 
    width: 40px; 
    height: 40px; 
  }
}

/* 極小画面（～360px）の対応 */
@media screen and (max-width: 360px) {
  .wrap { 
    padding: 0 0.5rem; 
  }

  .section {
    padding: 0.75rem 0.5rem;
  }

  .card p, .card address p {
    padding: 0 0.5rem;
  }

  .theme-box {
    padding: 0.75rem 0.5rem;
  }

  .theme-box .main-theme-text {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.6em 1.2em;
    font-size: 0.8rem;
    min-width: 100px;
  }

  .numbered-item dd {
    padding-left: 1em;
  }

  .circle-list li {
    padding-left: 1.5em;
  }

  .kana-list li {
    padding-left: 1.4em;
  }


}/* ============================================================
   ドキュメント一覧
   ============================================================ */
/* 全体 */
.download-list {
  border-top: 2px solid #999;
}

/* 各行 */
.download-item {
  display: flex;
  flex-direction: column; /* ←縦並びにするのがポイント */
  align-items: center;    /* ←横方向中央 */
  justify-content: center;
  text-align: center;     /* ←文字中央 */
  padding: 2rem 1rem;
  border-bottom: 2px solid #999;
}

/* タイトル */
.download-title {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* アイコンエリア */
.download-files {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* 画像サイズ */
.download-files img {
  width: 80px;
  height: auto;
}

/* リスト整形（シンプル） */
.content-body ul {
  padding-left: 3em;
  margin-bottom: 1em;
	  list-style: disc;
}

.content-body ul li {
  margin-bottom: 0.4em;
  line-height: 1.8;
}

/* 入れ子リスト */
.content-body ul ul {
  margin-top: 0.3em;
}

/* 見出し微調整 */
.content-body h2 {
  margin-top: 1.5em;
}
/* ============================================================
   開催地からのご挨拶 — 人物写真付きレイアウト
   ============================================================ */

.greeting-body {
  font-size: 0.92rem;
  line-height: 2;
}

.greeting-body p {
  margin-bottom: 1.2em;
  text-indent: 1em;
}

/* 写真＋氏名を右側に回り込み */
.greeting-figure {
  float: right;
  margin: 0 0 1em 2em;
  text-align: center;
  width: 200px;
}

.greeting-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.greeting-figure figcaption {
  margin-top: 0.5em;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--main-dark);
  line-height: 1.6;
}

/* float解除 */
.greeting-body::after {
  content: "";
  display: block;
  clear: both;
}

@media screen and (max-width: 639px) {
  .greeting-figure {
    float: none;
    margin: 0 auto 1.5em;
    width: 160px;
  }
}
@media screen and (min-width: 640px) {
  .download-list {
    display: flex;
    border-top: none;
  }

  .download-item {
    flex: 1;
    border-top: 2px solid #999;
    border-left: 2px solid #999;
    border-bottom: 2px solid #999;
  }

  .download-item:last-child {
    border-right: 2px solid #999;
  }
}
.circle-list_bur {
  list-style: none;
  counter-reset: num_bur;
  padding-left: 0;
}

.circle-list_bur li {
  counter-increment: num_bur;
  position: relative;
  line-height: 1.8;
  margin-bottom: 1em;
}

.circle-list_bur li::before {
  content: "（" counter(num_bur) "）";
  display: inline;  /* ← blockからinlineに変更 */
  font-weight: bold;
}

.circle-list_bur li img {
  max-width: 100%;
  height: auto;
}

/* 最初の3つだけ横並び */
.circle-list_bur li:nth-child(-n+3) {
  display: inline-block;
  width: calc(33% - 0.5rem);
  vertical-align: top;
  margin-right: 0.5rem;
}

/* スマホ：縦積み */
@media screen and (max-width: 639px) {
  .circle-list_bur li:nth-child(-n+3) {
    display: block;
    width: 100%;
    margin-right: 0;
  }
}
