@charset "utf-8";
/* ===== common.css ： 全頁共通（リセット・左サイドバー・フッター等） ===== */
/* ============================================================
   base.css  ―  リセット・基盤スタイル
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  text-size-adjust: 100%;
}
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}
ul, ol {
  list-style: none;
  padding: 0;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333333 /* #4d4d4d*/ ;
  line-height: 1.5;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
p {
  margin-bottom: 0.62rem;
}
a {
  color: var(--sub-color01);
  text-decoration: underline;
}
a:visited {
  color: var(--font-color02);
}
.pill-link:visited, .mobile-bar-search:visited {
  color: #fff;
}
@media (hover: hover) {
  a:hover {
    color: var(--sub-color02);
  }
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
input, select, textarea {
  font: inherit;
  color: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
}
/* スクリーンリーダー用（視覚的に非表示） */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* スキップリンク */
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 1000;
  padding: 8px 16px;
  background: #123e86;
  color: #ffffff;
  border-radius: 0 0 6px 6px;
  transition: top .15s;
}
.skip-link:visited{
    color: #ffffff; 
}
.skip-link:focus {
  top: 0;
}
/* フォーカス可視化（キーボード操作時） */ 
:focus-visible {
  outline: 3px solid #1a5fc4;
  outline-offset: 2px;
}
/* 動きを減らす設定への配慮 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
/* ============================================================
   style.css  ―  産学官金交流ハブ トップページ
============================================================ */ 
:root {
  --main-color: #1f2a43; /*紺　コントラスト比OK*/
  --sub-color01: #1e59c1; /*青　コントラスト比OK*/
  --sub-color02: #22886d; /*緑　コントラスト比OK*/
  --sub-color03: #00c884; /*緑　コントラスト比NG*/
  --sub-color04: #d0e13b; /*黄緑　コントラスト比NG*/
  --sub-color05: #b3b3b3; /*グレー　コントラスト比NG　ライン用*/
  --bg-color01: #d0effa; /*水色　濃*/
  --bg-color02: #eff9fd; /*水色　薄*/
  --bg-color03: #f2f2f2; /*グレー*/
  --font-color01: #bc152f; /*赤*/
  --font-color02: #333333; /*グレー old #66666*/
  /* カテゴリ配色 */
  --dot-lecture: #22886d; /*緑*/
  --dot-workshop: #6b52be; /*紫*/
  --dot-symposium: #d64200; /*オレンジ*/
  --dot-openclass: #1e59c1; /*青*/
  --dot-expo: #d40067; /*ピンク*/
  --dot-webinar: #926d39; /*茶*/
  --dot-uncategorized: #dddddd;
  --bg-grad01: linear-gradient(90deg, rgba(206, 224, 61, 0.7), rgba(0, 200, 132, 0.7)); /*黄緑から緑のグラデーション横向き*/
  --side-w: 560px;
}
/* ===== アイコン ===== */
.icon {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
}
.icon-sm {
  width: 0.75rem;
  height: 0.75rem;
}
/* ============================================================
   レイアウト（PC）
============================================================ */
#layout {
  display: flex;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
}
.side-scroll {
  width: var(--side-w);
  height: 100vh;
  overflow-y: auto;
  background: var(--bg-color01);
  padding: 30px;
}
/* 1. スクロールバー全体の幅や高さを指定 */
.side-scroll::-webkit-scrollbar {
  width: 10px; /* 縦スクロールバーの幅 */
  height: 10px; /* 横スクロールバーの高さ */
}
/* 2. 背景（トラック）の部分 */
.side-scroll::-webkit-scrollbar-track {
  background: #ccc;
}
/* 3. 動くつまみ（ハンドル）の部分 */
.side-scroll::-webkit-scrollbar-thumb {
  background: #999;
  border: 3px solid #ccc; /* 背景との間に隙間を作る */
}
.pc-flex {
  display: flex;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  align-items: flex-start;
}
/* ブランド（縦書き） */
#brand {
    display: flex;
    justify-content: center;
}
#brand a {
  flex-shrink: 0;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  line-height: 1;
  margin-right: 30px;
  text-decoration: none;
}
.brand-name {
  font-size: 2.18rem;
  color: var(--main-color);
}
.brand-name a {
  color: var(--main-color);
  text-decoration: none;
}
.brand-tagline {
  font-size: 1.25rem;
  color: var(--sub-color01);
  border-top: 1px solid var(--sub-color01);
  padding-top: 1.25rem;
  margin-top: 0.93rem;
}
.side-inner {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
/* メイン */
#main {
  flex: 1;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  position: relative;
  background: #fcfefe;
  scroll-behavior: smooth;
}
.main-bg-sp {
  display: none;
}
.main-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  margin-bottom: -100vh;
  background: url("../imgs/common/img-bg.jpg") no-repeat top center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}
.main-inner {
  max-width: 1320px;
  position: relative;
  z-index: 1;
  margin: 60px auto;
  padding: 0 60px;
  min-height: calc(100vh - 240px);
}
/* ============================================================
   カード共通
============================================================ */
.card {
  display: block; /* Bootstrap .card の flex 指定を打ち消す */
  position: relative;
  background: #ffffff;
  color: inherit;
  border: none;
  border-radius: 14px;
  padding: 1.87rem;
}
.card-title {
  font-size: 1.6rem;
  color: var(--main-color);
  border-bottom: 1px solid var(--main-color);
  padding-bottom: 1.25rem;
  margin-bottom: 0.93rem;
}
.card-title-cal {
  margin-bottom: 0.43rem;
}
#custom-calendar-ajax.is-empty {
  opacity: .6;
}
/* ============================================================
   カレンダー
============================================================ */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.43rem;
  border-bottom: 1px solid var(--main-color);
  margin-bottom: 1.12rem;
}
.cal-month {
  font-weight: 700;
  color: var(--main-color);
  font-size: 1.18rem;
  margin-bottom: 0;
}
.cal-nav {
  width: 26px;
  height: 26px;
  border: 1px solid var(--sub-color01);
  border-radius: 50%;
  background: var(--bg-color02);
  color: var(--sub-color01);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s, color .15s;
}
.cal-nav.is-disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}
@media (hover: hover) {
  .cal-nav:not(.is-disabled):hover {
    background: var(--sub-color01);
    color: #fff;
  }
}
.cal-table {
  table-layout: fixed;
}
.cal-table th {
  font-size: .875rem;
  color: #666;
  text-transform: lowercase;
  text-align: center;
  background: none;
  font-weight: normal;
  padding: 0 0 0.35rem 0;
  border: none;
}
.cal-table td {
  text-align: center;
  vertical-align: top;
  height: 2rem;
  font-weight: 800;
  position: relative;
  border: none;
  padding: 0;
}
.cal-date {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  height: 2em;
  justify-content: flex-start;
}
.cal-has-event .cal-date::before, .cal-table td .cal-date::before {
  content: '';
  display: block;
  width: 34px;
  height: 34px;
  background: var(--main-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  transition: all .3s ease;
}
.cal-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.2rem;
  border-radius: 50%;
  margin: 0 auto;
}
.cal-dots {
  display: flex;
  gap: 0.12rem;
  justify-content: center;
  margin-top: 0.12rem;
  align-items: center;
  min-height: 8px;
  width: 100%;
}
.cal-dots .dot {
  width: 8px;
  height: 8px;
}
.cal-more {
  font-size: 0.7rem;
  color: var(--main-color);
  margin-left: 1px;
  line-height: 1;
}
/* イベントのある日はボタン化（ホバー/タップ可能） */
.cal-has-event {
  cursor: pointer;
  transition: background-color .15s;
}
@media (hover: hover) {
  .cal-has-event:hover .cal-date {
    justify-content: center;
  }
  .cal-has-event:hover .cal-dots {
    display: none;
  }
  .cal-has-event:hover .cal-date::before {
    opacity: 1;
  }
  .cal-has-event:hover .cal-day-num {
    font-size: 1.25rem;
    color: var(--sub-color04);
    position: relative;
    z-index: 2;
  }
}
.cal-table td.is-active .cal-date {
  justify-content: center;
}
.cal-table td.is-active .cal-dots {
  display: none;
}
.cal-table td.is-active .cal-date::before {
  opacity: 1;
}
.cal-table td.is-active .cal-day-num {
  font-size: 1.25rem;
  color: var(--sub-color04);
  position: relative;
  z-index: 2;
}
/* イベント詳細パネル（カレンダーの上にオーバーレイ表示） */
.cal-pop-wrap {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  margin: 0;
  max-height: calc(100% - 4rem);
  overflow-y: auto;
  background: var(--bg-color02);
  border: 1px solid var(--main-color);
  border-radius: 10px;
  padding: .9rem 1rem 1rem;
  text-align: left;
}
.cal-pop-wrap[hidden] {
  display: none;
}
.cal-pop-wrap .pop-date {
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: .6rem;
  font-size: .9rem;
  padding-right: 4.5rem;
}
.cal-pop-wrap ul {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
/* 閉じるボタン（スマホのタップ時などに使用） */
.cal-pop-close {
  position: absolute;
  top: .7rem;
  right: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .75rem;
  color: var(--sub-color01);
  background: #fff;
  border-radius: 100px;
  padding: .2rem .3rem;
  border: 1px solid var(--bg-color01);
}
@media (hover: hover) {
  .cal-pop-close:hover {
    color: var(--main-color);
  }
}
/* イベント項目：左にカテゴリ色のバー＋矢印 */
.cal-pop-item {
  display: flex;
  gap: .6rem;
  align-items: stretch;
}
.cal-pop-bar {
  flex-shrink: 0;
  width: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--sub-color01);
}
.cal-pop-bar .icon-sm {
  width: .8rem;
  height: .8rem;
}
.cal-pop-item.cat-lecture .cal-pop-bar {
  background: var(--dot-lecture);
}
.cal-pop-item.cat-workshop .cal-pop-bar {
  background: var(--dot-workshop);
}
.cal-pop-item.cat-symposium .cal-pop-bar {
  background: var(--dot-symposium);
}
.cal-pop-item.cat-openclass .cal-pop-bar {
  background: var(--dot-openclass);
}
.cal-pop-item.cat-expo .cal-pop-bar {
  background: var(--dot-expo);
}
.cal-pop-item.cat-webinar .cal-pop-bar {
  background: var(--dot-webinar);
}
.cal-pop-item.cat-uncategorized .cal-pop-bar {
  background: var(--dot-uncategorized);
}
.cal-pop-body {
  font-size: .82rem;
}
.cal-pop-title {
  color: var(--sub-color01);
  text-decoration: underline;
  display: block;
  line-height: 1.5;
}
.cal-pop-cat {
  font-size: .75rem;
  color: var(--font-color02);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .2rem;
}
.cal-pop-cat:has(+ .cal-pop-cat) {
  margin-right: .3rem;
}
/* 凡例 */
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--main-color);
  font-size: .75rem;
  color: var(--main-color);
}
.cal-legend li {
  display: flex;
  align-items: center;
  gap: 0.31rem;
  margin-right: 1.25rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-lecture {
  background: var(--dot-lecture);
}
.dot-workshop {
  background: var(--dot-workshop);
}
.dot-symposium {
  background: var(--dot-symposium);
}
.dot-openclass {
  background: var(--dot-openclass);
}
.dot-expo {
  background: var(--dot-expo);
}
.dot-webinar {
  background: var(--dot-webinar);
}
.dot-uncategorized {
  background: var(--dot-uncategorized);
}
/* ============================================================
   イベント検索
============================================================ */
.field {
  margin-bottom: 0.625rem;
}
.field-label {
  display: block;
  font-size: .88rem;
  color: var(--font-color02);
  margin-bottom: .4rem;
}
.kw-input {
  width: 100%;
  min-height: 46px;
  background: var(--bg-color03);
  border: 1px solid transparent;
  border-radius: 100px;
  padding: .5rem 1rem;
}
.kw-input:focus {
  border-color: var(--sub-color01);
  background: #fff;
  outline: none;
}
.filter-tabs {
  display: flex;
  gap: 0 .5rem;
  
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}
/* ==========================================
   1行目：タブ（1, 3, 5番目の要素）の配置
   ========================================== */
.filter:nth-of-type(1) { grid-row: 1; grid-column: 1; }
.filter:nth-of-type(3) { grid-row: 1; grid-column: 2; }
.filter:nth-of-type(5) { grid-row: 1; grid-column: 3; }

/* ==========================================
   2行目：パネル（2, 4, 6番目の要素）の初期配置
   ========================================== */
.filter-panel:nth-of-type(2) { grid-row: 2; grid-column: 1; }
.filter-panel:nth-of-type(4) { grid-row: 2; grid-column: 2; }
.filter-panel:nth-of-type(6) { grid-row: 2; grid-column: 3; }

.filter-panel:not([hidden]) {
  grid-column: 1 / -1; 
}
.filter {
  flex: 1;
}
.filter-toggle {
  width: 100%;
  min-height: 40px;
  background: var(--bg-color03);
  border-radius: 100px;
  padding: .4rem .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--main-color);
  transition: all .3s ease;
}
@media (hover: hover) {
  .filter-toggle:hover {
    background: var(--bg-color01);
  }
}
.filter-toggle .icon-sm {
  transition: transform .2s;
  color: var(--sub-color03);
}
.filter-toggle[aria-expanded="true"] {
  background: var(--bg-color01);
  color: var(--sub-color01);
  font-weight: 700;
  border-radius: 10px 10px 0 0;
  min-height: 50px;
}
.filter-toggle[aria-expanded="true"] .icon-sm {
  transform: rotate(180deg);
}
.filter-panel {
  background: var(--bg-color01);
  padding: 1rem 1.1rem;
}
.filter-panel-r01 {
  border-radius: 0 10px 10px 10px;
}
.filter-panel-r02 {
  border-radius: 10px;
}
.filter-panel-r03 {
  border-radius: 10px 0 10px 10px;
}
.filter-panel[hidden] {
  display: none;
}
.check-list li {
  margin: 0;
}
.check-list label {
  display: inline-flex;
  gap: .5rem;
  font-size: .85rem;
  cursor: pointer;
}
.check-list .check-list-description {
  font-size: 0.75rem;
  color: var(--font-color02);
  display: block;
  padding-left: 1.5rem;
}
.check-list input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--sub-color01);
  flex-shrink: 0;
  margin-top: 0.31rem;
}
.check-2col, .check-org {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media screen and (min-width: 480px), print {
  .check-org {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.period-year {
  font-size: .85rem;
  font-weight: 700;
  color: var(--main-color);
  margin: .3rem 0 .5rem;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .8rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: .4rem .9rem .5rem;
  background: #fff;
  border-radius: 999px;
  font-size: .875rem;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.period-year .chip {
  background: transparent;
  border: 1px solid #fff;
}
.chip:has( > input:focus-visible),
.period-year .chip:has( > input:focus-visible){
	outline: 3px solid #1a5fc4;
    outline-offset: 2px;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
@media (hover: hover) {
  .chip:hover {
    background: #eaf3fc;
  }
}
.chip:has(input:checked) {
  background: var(--sub-color01);
  color: #fff;
  font-weight: 700;
}
/* 選択中の条件 */
.selected-box {
  background: var(--bg-color02);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 1.2rem 0 0;
}
.selected-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--main-color);
  margin-bottom: .6rem;
}
.selected-title {
  color: var(--main-color);
}
.clear-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid var(--bg-color01);
  border-radius: 999px;
  line-height: 1;
  padding: .3rem .8rem;
  font-size: .875rem;
  color: var(--sub-color01);
  background: #fff;
  transition: background-color .15s;
}
@media (hover: hover) {
  .clear-btn:hover {
    background: #fff;
  }
}
.selected-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  color: var(--main-color);
}
.selected-list > div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  align-items: baseline;
  font-size: .82rem;
}
.selected-list dt {
  color: var(--main-color);
  padding-right: .6rem;
}
.selected-list dd {
  overflow-wrap: anywhere;
  padding-left: .6rem;
  border-left: 1px solid var(--sub-color03);
}
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.31rem 1.25rem 0.5rem;
  margin: 1.25rem auto 0;
  background: var(--sub-color01);
  color: #fff;
  font-size: 1.12rem;
  border: 1px solid var(--sub-color01);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(26, 95, 196, .3);
  transition: all .3s ease;
}
@media (hover: hover) {
  .search-btn:hover {
    background: var(--bg-color02);
    color: var(--main-color);
  }
}
.icon-search {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--sub-color04);
  margin-top: 0.18rem;
}
@media (hover: hover) {
  .search-btn:hover .icon-search {
    color: var(--sub-color03);
  }
}
/* ============================================================
   サイト説明
============================================================ */
.site-intro {
  margin-top: 3.75rem;
  padding: 0 .2rem;
  position: relative;
}
.intro-title {
  font-size: 1.75rem;
  line-height: 1.8;
  color: var(--main-color);
  margin-bottom: 1.87rem;
  position: relative;
  z-index: 2;
}
.hl {
  /* デザイン準拠：ライム→ティールの横方向グラデーションのマーカー */
  background-image: var(--bg-grad01);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 30%;
  padding: 0 .08em;
}
.intro-text {
  width: 50%;
  color: var(--font-color02);
  line-height: 1.9;
  position: relative;
  z-index: 2;
}
/* マップはテキストの背景に配置 */
.intro-map-sp, .intro-map-tab {
  display: none;
}
.intro-map {
  width: calc(100% + 60px);
  margin-left: -30px;
  margin-right: -30px;
  margin-top: -230px;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* ============================================================
   メンバー機関
============================================================ */
.members {
  margin-top: 3.75rem;
}
.members-title {
  font-size: 1.75rem;
  color: var(--main-color);
  margin-top: 0 !important;
  margin-bottom: 1.87rem !important;
}
.members-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.members-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  column-gap: 1rem;
  align-items: stretch;
}
.members-row dt {
  color: var(--main-color);
  padding-top: .1rem;
}
.members-row dd {
  border-left: 1px solid var(--main-color);
  padding-left: 1.25rem;
}
.members-row dd > ul{
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .7rem;
}
.members-row dd a {
  position: relative;
  padding-left: .8rem;
    
}
.members-row dd > ul > li{
    width: 48%;
}
.members-row dd a::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--main-color);
}
/* ============================================================
   運営・管理
============================================================ */
.admin {
  margin-top: 3.75rem;
}
.admin-title {
  color: var(--main-color);
  font-size: 1.56rem;
  margin-bottom: 1.25rem;
}
.admin-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--main-color);
}
.admin-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.25rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--main-color);
}
.admin-row dt {
  color: var(--main-color);
  border-right: 1px solid var(--sub-color03);
}
.admin-row dd {}
.admin-note {
  font-size: 0.875rem;
}
.admin-note, .fc-note {
  margin-top: 1rem;
}
/* ============================================================
   フッター
============================================================ */
.site-footer {
  background: var(--main-color);
  color: #fff;
  margin-top: 4.37rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1320px;
  padding: 30px 60px;
  text-align: right;
}
.footer-nav {
  display: inline-flex;
  gap: 0.5rem 1.87rem;
  margin-bottom: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-nav a {
  position: relative;
  padding-left: .9rem;
  color: var(--sub-color04);
  text-align: left;
}
.footer-nav a::before {
  content: "\203A";
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.5rem;
  color: var(--sub-color03);
}
@media (hover: hover) {
  .footer-nav a:hover {
    color: var(--sub-color03);
  }
}
.copyright {
  font-size: .75rem;
  color: #fff;
}
.fc-list {
  display: none;
} 
/* PCでは連絡先リストを非表示（スマホで表示） */
.footer-contact {
  display: none;
}
.members-sp {
  display: none;
}
/* ============================================================
   スマホ用 下部固定バー（PCでは非表示）
============================================================ */
.mobile-bar {
  display: none;
}
.mobile-bar.is-absolute {
  position: absolute;
}
/* ============================================================
   レスポンシブ（スマートフォン）― 全頁共通
============================================================ */
@media screen and (max-width: 1200px), print {
  #layout {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  /* display:contents で入れ子を解除し、順序をCSSで制御（.main-inner はブロックのまま1単位） */
  .side-scroll, .side-inner, #main, .pc-flex {
    display: contents;
  }
  #layout > .side-scroll, #layout > #main {
    order: 0;
  }
  .main-bg {
    display: none;
  }
  .main-bg-sp {
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin-bottom: -100vh;
    background: url(../imgs/common/img-bg.jpg) no-repeat top right;
    background-size: contain;
    pointer-events: none;
    z-index: -1;
  }
  /* 共通の横パディング（共有ブロック） */
  #brand a, .site-intro, .card, .members, .admin {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
  }
  .card, .members, .admin, .site-intro {
    margin-top: 1.87rem;
  }
  /* ブランド：横書きに */
  #brand{
    background: linear-gradient(180deg, var(--bg-color01), transparent);
  }
  #brand a {
    writing-mode: horizontal-tb;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .3rem;
    padding: 1.6rem 0 .5rem;
    margin: 0;
    display: inline-flex;
  }
  .brand-name {
    position: relative;
    padding-bottom: 0.93rem;
    margin-bottom: 0;
  }
  .brand-name::after {
    content: '';
    display: block;
    width: 25px;
    height: 1px;
    background: var(--sub-color01);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .brand-tagline {
    border-top: none;
    padding-top: 0.62rem;
    margin-top: 0;
  }
  .side-inner, .main-inner {
    padding: 0;
    min-height: inherit;
  }
  .cal-legend {
    grid-template-columns: 1fr;
  }
  /*　メインビジュアルの説明部分　*/
  .intro-title {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }
  .intro-map {
    display: none;
  }
  .members {
    display: none;
  }
  .admin-title {
    font-size: 1.06rem;
    margin-bottom: 0.62rem;
  }
  .admin-row {
    gap: 0.93rem;
    padding: 0.62rem 0;
    grid-template-columns: 4rem 1fr;
  }
  /* フッター */
  .site-footer {
    margin-top: 0;
  }
  .footer-inner {
    text-align: left;
    padding: 1.4rem 1.2rem 3.5rem;
  }
  .footer-nav {
    gap: 0.5rem 1.87rem;
  }
  .site-footer .footer-inner {
    text-align: center;
  }
  .site-footer .footer-nav {
    justify-content: center;
  }
  .site-footer .copyright {
    text-align: center;
  }
  /* フッター内 連絡先（スマホ表示） */
  .footer-contact {
    display: block;
    padding: 2.5rem 1.2rem 0;
    color: #fff;
    text-align: left;
  }
  .fc-list {
    display: block;
  }
  .fc-org {
    font-size: 1.12rem;
    margin-bottom: 1rem;
  }
  .fc-org-small {
    font-size: 0.875rem;
  }
  .fc-list > div {
    display: grid;
    grid-template-columns: 3.7rem 1fr;
    gap: .6rem;
    padding: .8rem 0;
    border-top: 1px solid #fff;
    font-size: .875rem;
  }
  .fc-list > div:last-child {
    border-bottom: 1px solid #fff;
  }
  .fc-list dt {
    color: var(--sub-color04);
    border-right: 1px solid var(--sub-color03);
  }
  .fc-list dd {
    color: #eef2f6;
    overflow-wrap: anywhere;
  }
  .fc-note {
    font-size: .78rem;
    color: #cfd6e0;
  }
  /*　メンバー機関　*/
  .members-sp {
    display: block;
    background: var(--bg-color01);
    padding: 2.5rem 1.2rem;
    text-align: left;
  }
  /* 下部固定バー */
  .mobile-bar {
    display: flex;
    position: fixed;
    right: 10px;
    bottom: 20px;
    z-index: 500;
    gap: .6rem;
  }
  .mobile-bar-search {
    flex: 1;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .37rem;
    background: var(--sub-color01);
    border: 1px solid var(--sub-color01);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    padding-left: 0.93rem;
    padding-right: 0.93rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    transition: all .3s ease;
  }
  .icon-search-bar {
    color: var(--sub-color04);
  }
  @media (hover: hover) {
    .mobile-bar-search:hover {
      background: var(--bg-color02);
      color: var(--main-color);
    }
    .mobile-bar-search a:hover {
      color: var(--main-color);
    }
    .mobile-bar-search:hover .icon-search-bar {
      color: var(--sub-color03);
    }
  }
  .mobile-bar-top {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 1px solid var(--sub-color01);
    border-radius: 50%;
    color: var(--sub-color01);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sub-color01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    position: relative;
    transition: all .3s ease;
  }
  @media (hover: hover) {
    .mobile-bar-top:hover {
      background: var(--bg-color02);
      color: var(--main-color);
    }
  }
  .icon-pagetop01 {
    color: var(--sub-color04);
    transform: rotate(90deg);
    position: absolute;
    top: 4px;
    left: 7px;
    transition: all .3s ease;
  }
  .icon-pagetop02 {
    color: var(--sub-color04);
    transform: rotate(90deg);
    position: absolute;
    top: 9px;
    left: 7px;
    transition: all .3s ease;
  }
  @media (hover: hover) {
    .mobile-bar-top:hover .icon-pagetop01, .mobile-bar-top:hover .icon-pagetop02 {
      color: var(--main-color);
    }
    .mobile-bar-top:hover .icon-pagetop01 {
      top: 2px;
    }
    .mobile-bar-top:hover .icon-pagetop02 {
      top: 7px;
    }
  }
}
@media screen and (max-width: 767px) {
  /*　全体のフォントサイズ　*/
  body {
    font-size: 0.87rem;
  }
  .brand-name {
    font-size: 1.56rem;
      margin-bottom: 10px;
  }
  .brand-tagline {
    font-size: 0.875rem;
    padding-top: 0;
  }
  .card {
    padding: 1.25rem;
  }
  .cal-legend {
    font-size: 0.62rem;
  }
  .search-btn {
    font-size: 1rem;
  }
  .members-row {
    grid-template-columns: 3.5rem 1fr;
  }
  .members-row dd a::before {
    top: 0.5rem;
  }
  .footer-nav a::before {
    top: -0.58rem;
  }
}
@media screen and (max-width: 560px) {
  .filter-tabs {
    gap: 0 .4rem;
  }
  .filter-toggle {
    padding: .4rem .5rem;
    font-size: .82rem;
  }
  .event-card {
    gap: .8rem;
  }
  .card-title, .members-title, .admin-title {
    font-size: 1.15rem;
  }
    .members-row dd > ul > li{
        width: 100%;
    }
    .members-row:first-child dd > ul > li{
        width: 47%;
    }
}
.cal-table .today .cal-day-num {
  color: var(--sub-color01);
  font-weight: bold;
}
@media screen and (min-width: 1201px){
	.btn1-eventlist{
	    display: inline-flex;
	    align-items: center;
	    text-decoration: none;
	    padding: .5rem 1.2rem;
	    border-radius: 999px;
	    font-weight: 500;
	    font-size: 1.25rem;
	}
}