@charset "utf-8";
/* CSS Document */
/* ==============================
   イベント一覧 ページ
============================== */
/* タイトル帯 */
.page-hero-event {
  background:url("../image/common/ttl_bg.png")right center repeat-y #3E86F5;
  color: #fff;
  text-align: center;
  padding: 40px 0;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.page-title.txt-left{
    text-align: left;
}
@media (max-width: 768px) {
  .page-hero-event {
    padding: 28px 0 32px;
  }
  .page-title {
    font-size: 22px;
  }
}
/* パンくず */
.breadcrumb-wrap {
  background: #fff;
  padding: 12px 0 0;
}
.breadcrumb-wrap .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 14px;
  color: #000;
}
.breadcrumb li {
  display: inline;
}
.breadcrumb li + li::before {
  content: ">";
  margin: 0 6px;
  color: #bbb;
}
.breadcrumb a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
/* イベント一覧 */
.event-archive {
  background: #ffffff;
  padding: 20px 0 80px;
}
.event-archive .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* グリッドレイアウト */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 40px;
}
@media (max-width: 1024px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}
@media (max-width: 768px) {
  .event-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* カード */
.event-card a {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border:1px solid #ddd;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.event-card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}
/* サムネイル */
.event-thumb {
  margin: 0;
  overflow: hidden;
}
.event-thumb img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
/* テキスト部分 */
.event-body {
  padding: 14px 16px 18px;
}
@media (min-width: 1025px) {
  .event-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .event-thumb {
    flex: 0 0 180px; /* サムネ固定 */
  }
  .event-body {
    flex: 1; /* テキスト部分を均等に伸ばす */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .event-desc {
    margin-top: auto; /* 常に最下部に寄せる */
  }
}
@media (max-width: 1024px) {
  .event-card a {
    display: block; /* 通常のブロック要素に戻す */
    height: auto !important;
  }
  .event-body {
    display: block;
  }
}
@media (max-width: 768px) {
  .event-thumb img {
    height: 160px;
  }
  .event-body {
    padding: 12px 14px 16px;
  }
}
.event-date {
  font-size: 14px;
  color: #555;
  margin: 0 0 6px;
}
.event-title {
  font-size: clamp(1.4rem, 2.14vw, 1.6rem);
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 6px;
}
.event-desc {
  font-size: 12px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
/* ページネーション */
.pagination {
  margin-top: 40px;
  text-align: center;
}
.pagination ul {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination li a, .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 12px;
  text-decoration: none;
  color: #555;
  background: #fff;
}
.pagination li.current span {
  background: #0070d8;
  color: #fff;
  border-color: #0070d8;
}
.pagination li a:hover {
  background: #f2f7ff;
}
/* ==============================
   イベント詳細ページ
============================== */

.event-single {
  background: #ffffff;
  padding: 40px 0 90px;
}

.event-single .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 上部見出し＋日付 */
.event-single-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.event-single-date {
  font-size: 14px;
  color: #777;
  margin: 0;
}

/* セクション見出し（共通） */
.event-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1.8rem, 2.67vw, 2.4rem);
  font-weight: 700;
  margin: 0;
}

.event-section-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%; 
}

/* 黄色・ピンクバリエーション */
.event-section-title.is-yellow .event-section-dot {
  background: #ffd800;
}
.event-section-title.is-pink .event-section-dot {
  background: #ff4081;
}

/* 本文テキスト */
.event-single-body p {
  font-size: clamp(1.4rem, 2.14vw, 1.6rem);
  line-height: 1.9;
  color: #333;
  margin: 0 0 12px;
}
.event-single-body h4 {
	margin-top: 20px;
	font-size: clamp(1.4rem,2.14vw,1.6rem);
	font-weight: 700;
}
.event-single-body .link a {
	font-weight: 600;
	color: #DB2781;
}
.event-single-body .link:hover{
 transform: translateY(-3px);
}
 ul.ebenttb{
 list-style: none;
  color: #333;
  font-size: clamp(1.4rem,2.14vw,1.6rem);
}
 ul.ebenttb li {
  color: #333;
 line-height: 1.8;
}
/* 画像3つ並びエリア */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 36px 0 48px;
}

.event-gallery-item {
  border-radius: 16px;
  /*background: #e7f4ff;*/
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  /* 16:9 の比率っぽく仮固定 */
 /* aspect-ratio: 4 / 3;*/
}
.event-gallery-item img {
  border-radius: 16px;
}

/* 前後記事ナビ */
.event-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.event-pager-item {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;/*
  border-radius: 16px;*/
  border: 1px solid #e3e7f0;
  padding: 32px 24px 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.event-pager-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: 1px solid #e3e7f0;
}


/* 「前の記事」「次の記事」ラベル */
.event-pager-label {
  position: absolute;
  top: 12px;
  left: 24px;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #0070d8;
  color: #fff;
  font-size: clamp(1.2rem, 2.14vw, 1.4rem);
  line-height: 1.6;
}

/* タイトル文 */
.event-pager-title {
  font-size: clamp(1.4rem, 1.74vw, 1.6rem);
  line-height: 1.4;
  margin: 12px 0 0;
  color: #333;
}

/* 左右位置のニュアンス（任意） */
.event-pager-item.is-prev {
  text-align: left;
}

.event-pager-item.is-next {
  text-align: right;
  padding-right: 24px; /* 余白調整 */
  padding-left: 24px;
}

/* ラベルを右上に寄せる */
.event-pager-item.is-next .event-pager-label {
  left: auto;
  right: 24px;
}

/* タイトル文も右寄せ */
.event-pager-item.is-next .event-pager-title {
  text-align: right;
}
/* ==============================
   レスポンシブ（イベント詳細）
============================== */

@media (max-width: 1024px) {
  .event-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-pager {
    grid-template-columns: 1fr;
  }

  .event-pager-item.is-next {
    text-align: left;
  }
}

@media (max-width: 599px) {
  .event-single {
    padding: 30px 0 70px;
  }

  .event-single-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-single-date {
    margin-top: 4px;
  }

  .event-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .event-pager-item {
    padding: 30px 18px 20px;
  }
}
