@charset "utf-8";
/* ============================================================
   kasou.css  ―  下層ページ専用（一覧・詳細・サンプル）
============================================================ */
/* ============================================================
   pages.css  ―  下層ページ共通コンポーネント
   （base.css / style.css の後に読み込む）
============================================================ */
/* ===== パンくずリスト ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--main-color);
  gap: 0.3em .93rem;
  font-size: .875rem;
  margin-bottom: 1.8rem;
  padding: 0.625rem 1.25rem;
  background: var(--bg-color03);
  border-radius: 30px;
}
.breadcrumb a {
  color: var(--main-color);
}
@media (hover: hover) {
  .breadcrumb a:hover {
    color: var(--sub-color02);
    text-decoration: underline;
  }
}
.breadcrumb .bc-home {
  display: inline-flex;
  color: var(--main-color);
}
.breadcrumb .bc-home .icon {
  width: 1rem;
  height: 1rem;
}
.breadcrumb .bc-sep {
  color: #b7c2ce;
  display: inline-flex;
}
.breadcrumb .bc-sep .icon-sm {
  width: .8rem;
  height: .8rem;
  color: var(--sub-color03);
}
.breadcrumb [aria-current="page"] {
  color: var(--main-color);
}
.page-section {
  position: relative;
}
@media screen and (max-width: 1200px), print {
  /*　パンナビ変更　*/
  .breadcrumb {
    order: 2;
    margin-top: 3.12rem;
    margin-bottom: -1.25rem;
    position: relative;
    z-index: 4;
    border: 1px solid transparent;
    border-radius: 30px;
    background:
      linear-gradient(#ffffff, #ffffff) padding-box, /* 内側の背景 */ linear-gradient(135deg, var(--sub-color04), var(--sub-color03)) border-box; /* 枠線のグラデーション */
  }
}
@media screen and (max-width: 767px) {
  .breadcrumb {
    margin-top: 1.25rem;
    border-radius: 20px;
  }
}
/* ===== 年月フィルター（イベント一覧） ===== */
.ym-filter {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
  margin-top: -1.25rem;
}
.ym-nav {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--sub-color01);
  border-radius: 50%;
  background: var(--bg-color02);
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.ym-nav.swiper-button-disabled {
  display: none;
}
@media (hover: hover) {
  .ym-nav:hover {
    background: var(--sub-color01);
    color: #fff;
  }
}
.ym-filter .icon {
  width: 1rem;
  height: 1rem;
}
.ym-scroll {
  flex: 1;
  overflow-x: hidden;
}
.ym-list {
  justify-content: center;
  min-width: max-content;
}
.ym-list .swiper-slide {
  width: auto; /* コンテンツの幅に合わせる */
}
.ym-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 38px;
  padding: .3rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--bg-color03);
  background: var(--bg-color03);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--sub-color01);
  white-space: nowrap;
  transition: all .3s ease;
}
@media (hover: hover) {
  .ym-item:hover {
    background: var(--bg-color01);
    border: 1px solid var(--sub-color01);
  }
}
.ym-item.is-year {
  background: #fff;
  border: 1px solid var(--sub-color01);
}
@media (hover: hover) {
  .ym-item.is-active:hover, .ym-item.is-year:hover {
    background: var(--bg-color01);
    border: 1px solid var(--main-color);
  }
}
.ym-item.is-active {
  background: var(--sub-color01);
  color: #fff;
  border-color: var(--sub-color01);
}
@media (hover: hover) {
  .ym-item.is-active:hover, .ym-item.is-active.is-year:hover {
    color: var(--sub-color01);
  }
}
@media screen and (max-width: 767px) {
  .ym-filter {
    padding: 0.62rem 0;
  }
  .ym-nav {
    width: 24px;
    height: 24px;
  }
  .ym-filter .icon {
    width: 0.62rem;
    height: 0.62rem;
  }
  .ym-item {
    font-size: 0.875rem;
    min-height: 24px;
    line-height: 1;
    padding: .3rem 0.62rem;
    background: #fff;
  }
  .ym-item.is-year {
    background: var(--bg-color01);
  }
  .ym-item.is-active {
    background: var(--sub-color01);
  }
  @media (hover: hover) {
    .ym-item:hover, .ym-item.is-year:hover {
      background: #fff;
    }
  }
}
/* ===== More ボタン ===== */
.more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.more-btn {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  line-height: 1;
  padding: .5rem 1.25em;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #fff;
  border-radius: 999px;
  transition: all .3s ease;
}
@media (hover: hover) {
  .more-btn:hover {
    background: var(--bg-color02);
    border: 1px solid var(--main-color);
    color: var(--main-color);
  }
}
.more-btn .icon-sm {
  width: .9rem;
  height: .9rem;
  color: var(--sub-color03);
  transition: all .3s ease;
}
@media (hover: hover) {
  .more-btn:hover .icon-sm {
    transform: rotate(360deg);
  }
}
@media screen and (min-width: 1201px) {
  .sp-bg-eara .selected-box {
    margin-bottom: 2.5rem;
  }
}
@media screen and (max-width: 1200px), print {
  .sp-bg-eara > .selected-box {
    background: #ffffff;
  }
}
/* ===== スマホ版レイアウト変更 ===== */
#event-search-sp, .footer-search-sp {
  display: none;
}
@media screen and (max-width: 1200px), print {
  /*　全ページ共通　*/
  .side-inner .card-cal, .side-inner #event-search, .side-inner-under {
    display: none;
  }
  .main-inner {
    margin: 30px 1.2rem 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    position: relative;
    z-index: 3;
  }
  /*　一覧ページ検索エリア　*/
  .sp-bg-eara {
    background: var(--bg-color01);
    margin: -1.25rem -1.2rem 2.5rem;
    padding: 1.25rem 1.2rem;
  }
  #event-search-sp {
    display: block;
  }
  #event-search-sp + .ym-filter {
    margin-top: 1.2rem;
  }
  #event-search-sp .card {
    margin-left: 0;
    margin-right: 0;
    color: #4d4d4d;
    margin-top: 0;
  }
  .ym-filter {
    margin-top: 0;
    margin-bottom: 0;
  }
  #search-title-sp {
    font-size: 1.25rem;
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
    transition: all .3s ease;
  }
  .search-toggle-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
  }
  .search-toggle-btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.42rem;
    background: var(--main-color);
    border-radius: 50%;
  }
  .search-toggle-btn-icon .icon {
    color: #fff;
  }
  /* 1. 初期状態：高さを0にして非表示 */
  #search-content-sp {
    display: grid !important;
    grid-template-rows: 0fr !important;
    transition: grid-template-rows 0.3s ease-out !important;
    overflow: hidden !important;
  }
  /* 2. ボタンが開いた状態（true）の時、隣の中身を 1fr にする */
  #search-title-sp:has(.search-toggle-btn[aria-expanded="true"]) + #search-content-sp, h2:has(.search-toggle-btn[aria-expanded="true"]) + #search-content-sp {
    grid-template-rows: 1fr !important;
  }
  #search-title-sp:has(.search-toggle-btn[aria-expanded="true"]) {
    padding-bottom: 0.62rem;
    border-bottom: 1px solid var(--main-color);
    margin-bottom: 1.25rem;
  }
  /* 3. 内側の高さ計算用 */
  .search-content-inner {
    min-height: 0 !important;
  }
  /* 矢印アイコンを回転させる */
  .search-toggle-btn .icon {
    transition: transform 0.3s ease !important;
  }
  .search-toggle-btn[aria-expanded="true"] .icon {
    transform: rotate(180deg) !important;
  }
}
/* ============================================================
   イベント詳細
============================================================ */
.event-detail {
  position: relative;
}
.ed-date {
  color: var(--main-color);
  margin-top: 3.12rem;
  margin-bottom: 1.87rem;
}
.ed-subtitle {
  font-size: 1.25em;
  font-weight: 700;
  color: var(--main-color);
  line-height: 1.5;
}
.ed-title {
  font-size: 1.87rem;
  font-weight: 700;
  color: var(--main-color);
  line-height: 1.5;
  margin-bottom: 1.87rem;
}
.ed-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid var(--main-color);
  padding-top: 1.25rem;
  margin-bottom: 3.75rem;
}
.ed-meta-row-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}
.ed-meta-row .event-cat {
  margin: 0;
}
.ed-cat {
  font-size: 1rem;
}
.ed-dot {
  width: 12px;
  height: 12px;
}
.ed-org-tag {
  font-size: 1rem;
  padding-right: 0.93rem;
}
.ed-org-tag .org-badge {
  font-size: 1rem;
  width: 33px;
  height: 33px;
}
.gcal-btn {
  min-height: 30px;
  padding: .18rem 1.25rem 0.31rem;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #fff !important;
  text-decoration: none;
  border-radius: 100px;
  transition: all .3s ease;
}
@media (hover: hover) {
  .gcal-btn:hover {
    background: var(--bg-color02);
    border: 1px solid var(--sub-color01);
    color: var(--main-color) !important;
  }
}
/* 概要ボックス（左）＋ 画像（右・ボックス外） */
.ed-overview-wrap {
  display: grid;
  grid-template-columns: 1fr 35%;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.ed-overview-wrap:not(:has(> .ed-poster)) {
  grid-template-columns: 1fr;
}
.ed-overview {
  background: var(--bg-color02);
  border-radius: 10px;
  padding: 2.5rem;
}
.ed-overview h2 {
  font-size: 1.56rem;
  color: var(--main-color);
  margin-bottom: 1.25rem;
}
.ed-table {
  display: flex;
  flex-direction: column;
}
.ed-table > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.25rem;
  padding: .93rem 1.25rem;
  border-bottom: 1px solid var(--sub-color05);
}
.ed-table > div:first-of-type {
  border-top: 1px solid var(--main-color);
}
.ed-table > div:last-of-type {
  border-bottom: 1px solid var(--main-color);
}
.ed-table dt {
  color: var(--main-color);
  border-right: 2px solid var(--sub-color03);
  padding-right: 1.25rem;
}
.ed-table dd {
  overflow-wrap: anywhere;
}
.ed-table dd a {
  text-decoration: underline;
}
.ed-table dd p:last-child {
  margin-bottom: 0;
}
.ed-poster .event-thumb {
  width: 100%;
  max-width: none;
}
.ed-desc {
  margin-bottom: 3.75rem;
}
/* 関連イベント（スライダー） */
.related {
  margin-bottom: 3.7rem;
}
.related-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sub-color02);
  padding-left: 1.75rem;
  padding-bottom: .93rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.related-title::before {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  background: var(--sub-color04);
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 0;
}
.related-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--bg-grad01);
  position: absolute;
  bottom: 0;
  left: 0;
}
.slider {
  position: relative;
}
.slider-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.icon-slider {
  width: 1.2rem;
  height: 1.2rem;
}
@media screen and (max-width: 1200px), print {
  .slider-track {
    grid-template-columns: 1fr;
  }
}
.slider-ctrl {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.slider-nav {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--sub-color01);
  border-radius: 50%;
  background: var(--bg-color02);
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s, color .15s;
}
@media (hover: hover) {
  .slider-nav:not(.swiper-button-disabled):hover {
    background: var(--sub-color01);
    color: #fff;
  }
}
.slider-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #dbe6f0;
  overflow: hidden;
}
.slider-bar span {
  display: block;
  height: 100%;
  width: 45%;
  background: var(--sub-color01);
  border-radius: 2px;
}
@media screen and (max-width: 1400px), print {
  .ed-overview-wrap {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 1200px), print {
  .ed-overview-wrap {
    grid-template-columns: 1fr 35%;
  }
}
@media screen and (max-width: 900px) {
  /* 詳細：概要ボックスと表を縦積み */
  .ed-overview-wrap {
    grid-template-columns: 1fr;
  }
  .ed-table > div {
    grid-template-columns: 1fr;
    gap: .35rem;
    padding: .93rem;
  }
  .ed-table dt {
    border-right: none;
    padding: 0 0 .35rem;
  }
  .ed-table dt::after {
    content: "";
    display: block;
    width: 1.4rem;
    height: 2px;
    background: var(--sub-color03);
    margin-top: .35rem;
  }
}
@media screen and (max-width: 767px) {
  .ed-date {
    margin-top: 0;
    margin-bottom: 0.62rem;
  }
  .ed-subtitle {
    font-size: 0.875rem;
  }
  .ed-title {
    font-size: 1.37rem;
    margin-bottom: 1.25rem;
  }
  .ed-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.62rem;
    padding-top: 0.93rem;
    margin-bottom: 3.12rem;
  }
  .ed-cat {
    font-size: 0.75rem;
  }
  .ed-dot {
    margin-top: 2px;
  }
  .ed-org-tag {
    font-size: 0.75rem;
  }
  .ed-org-tag .org-badge {
    font-size: 0.75rem;
    width: 28px;
    height: 28px;
  }
  .gcal-btn {
    font-size: 0.75rem;
    padding: .18rem 0.62rem;
  }
  .ed-overview-wrap {
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .ed-overview {
    padding: 1.25rem;
  }
  .ed-overview h2 {
    font-size: 1.25rem;
    margin-bottom: 0.93rem;
  }
  .ed-table > div {
    padding: 0.62rem;
    gap: 0.2rem;
  }
  .ed-desc {
    margin-bottom: 2.5rem;
  }
  .related-title {
    font-size: 1.12rem;
    padding-bottom: .62rem;
    margin-bottom: 1.25rem;
  }
  .related-title::before {
    width: 16px;
    height: 16px;
  }
  .slider-nav {
    width: 30px;
    height: 30px;
  }
  .icon-slider {
    width: 0.93rem;
    height: 0.93rem;
  }
  .related {
    margin-bottom: 2.5rem;
  }
}
/* 下層ページのメイン内パディング（トップと共通の main-inner を使用） */
/* ============================================================
   Swiper（関連イベントスライダー）
============================================================ */
.related-swiper {
  overflow: hidden;
  margin-bottom: 1rem;
  padding: 0.5rem;
}
.related-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.related-swiper .swiper-slide .event-card {
  width: 100%;
}
.slider-ctrl {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.slider-ctrl .swiper-scrollbar {
  position: static;
  flex: 1;
  height: 1px;
  border-radius: 2px;
  background: var(--sub-color05);
}
.slider-ctrl .swiper-scrollbar-drag {
  height: 8px;
  background: var(--sub-color01);
  border-radius: 20px;
  top: -4px;
}
.slider-nav.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}
/* ============================================================
   フッターに検索エリアがある場合
============================================================ */
@media screen and (max-width: 1200px), print {
  .footer-search-sp {
    display: block;
    padding-top: 2.5rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    background: var(--bg-color01);
    text-align: left;
  }
  .footer-search-sp #search-content-sp {
    grid-template-rows: 1fr !important;
    overflow: visible !important;
  }
  .footer-search-sp #search-title-sp {
    padding-bottom: 0.62rem;
    border-bottom: 1px solid var(--main-color);
    margin-bottom: 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  .footer-search-sp #event-search-sp {
    margin-top: 0.62rem;
  }
}
/* ============================================================
   スマホ用：フッター内の連絡先ブロック（PC は非表示）
============================================================ */
.breadcrumb-mobile {
  display: none;
}
/* ============================================================
   レスポンシブ（スマートフォン）― 下層ページ専用
============================================================ */
@media screen and (max-width: 900px) {
  /* 表示順：サイトタイトル→本文→検索→(下部パンくず)→メンバー→フッター
     カレンダー・サイト説明・運営管理は非表示 */
  .subpage .card-cal, .subpage .site-intro, .subpage .admin {
    display: none;
  }
  .subpage #brand {
    order: 1;
  }
  .subpage .main-inner {
    order: 2;
  }
  .subpage #event-search {
    order: 3;
  }
  .subpage .breadcrumb-mobile {
    order: 4;
  }
  .subpage .members {
    order: 5;
  }
  .subpage .site-footer {
    order: 6;
  }
}

.back-eventlist-btn{
	font-size:1.25rem;
}
@media screen and (max-width: 767px) {
	.back-eventlist-btn{
		font-size:1rem;
	}
}