/* button-01とevent-more-btn併用時のホバーで右端ドットを緑に */
.event-more-btn.button-01:hover::after,
.event-more-btn.button-01:focus-visible::after {
    background-color: #2B9B7D !important;
}
/* ============================================================
   イベントページ専用スタイル - 他画面統一仕様
============================================================ */
.button-01{
  position: relative;
  isolation: isolate;

  width: 144px;
  height: 40px;
  border-radius: 100px;
  padding: 10px 30px 10px 20px;

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

  font-family: "Zen Kaku Gothic New", sans-serif;

  /* 色（反転用） */
  --fg: #fff;
  --fg-hover: #2b9b7d;

  color: var(--fg);
  font-weight: bold;
  font-size: 14px;
  line-height: 32px;
  letter-spacing: .01em;
  text-align: center;

  background: #2b9b7d;
  border: 1px solid var(--btn-border, transparent);

  cursor: pointer;
  overflow: hidden;

  transition: color .0s ease;
}

/* ===== 右端のドット ===== */
.button-01::after{
  content: "";
  position: absolute;
  right: 18px;               /* ← 起点（重要） */
  top: 50%;
  transform: translateY(-50%);

  width: 8px;
  height: 8px;
  border-radius: 50%;

  background-color: var(--fg);
  transition: background-color .25s ease;
  z-index: 1;
}

/* ===== dot起点で広がる背景 ===== */
.button-01::before{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;

  /* dot位置を中心に円を作る */
  clip-path: circle(
    0px at calc(100% - 18px) 50%
  );

  transition: clip-path .45s cubic-bezier(.4,0,.2,1);
  z-index: -1;
}

/* hover時：円が広がる */
.button-01:hover::before,
    .button-01:focus-visible::before{
    clip-path: circle(
        800px at calc(100% - 18px) 50%
    );
}

/* hover時：文字色反転 */
.button-01:hover,
.button-01:focus-visible{
  color: var(--fg-hover);
  outline: none;
}

/* hover時：ドット色反転 */
.button-01:hover::after,
.button-01:focus-visible::after{
  background-color: var(--fg-hover);
}
/* イベント一覧セクション */
.events-section {
    padding: 106px 32px 218px 32px;
    background: #f4f4f4;
}

@media screen and (max-width: 1024px) {
    .events-section {
        padding-top: 24px;
    }
}

/* セクションタイトル */
.section-title {
    text-align: center;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: bold;
    font-size: 48px;
    line-height: 36px;
    letter-spacing: 2.4px;
    color: #EB8E22;
    margin-bottom: 80px;
    opacity: 1;
}

/* イベントリスト */
.events-list {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* イベント項目 */
.event-item {
    display: flex;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 324px;
}

@media screen and (max-width: 1024px) {
    .event-item {
        flex-direction: column;
    }
}

.event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* イベント画像コンテナ */
.event-image-container {
    width: 29.516129%;
    padding: 40px 0 40px 40px;
    flex-shrink: 0;
}

@media screen and (max-width: 1024px) {
    .event-image-container {
        width: 100%;
        padding: 40px 40px 40px 40px;
    }
}

.event-list-image {
    width: 100%;
    aspect-ratio: 326 / 244;
    object-fit: cover;
    border-radius: 10px;
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6c757d;
}

/* イベント詳細 */
.event-details {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

@media screen and (max-width: 1024px) {
    .event-details {
        padding: 16px;
    }
}

/* イベントタイトル（一覧／XD準拠） */
.events-section .event-item .event-details h3.event-list-title,
h3.event-list-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    /* Bold */
    font-size: 24px;
    line-height: calc(36 / 24);
    letter-spacing: 2.4px;
    color: #222222;
    margin: 0 0 16px 0;
    padding: 0 0 17.24px 0;
    opacity: 1;
    box-sizing: border-box;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    position: relative;
}

.events-section .event-item .event-details h3.event-list-title::after,
.event-meta::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    flex-shrink: 0;
    width: 100%;
    height: 1px;
    background-image: repeating-linear-gradient(to right, #000000 0 1px,
            /* ドットの幅 */
            transparent 2px 8px
            /* 間隔 8px */
        );
}

.event-meta {
    margin-bottom: 23px;
    padding-bottom: 19px;
    font-size: 16px;
    letter-spacing: 1.6px;
    line-height: 2;
    text-align: left;
    font-weight: 500;
    position: relative;
}

.event-item__bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

@media screen and (max-width: 1024px) {
    .event-item__bottom {
        flex-direction: column;
    }
}

.event-description-text {
    color: #222222;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 1.6px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    flex: 1;
}

/* もっと見るボタン */
.event-more-btn {
    background: #2B9B7D;
    color: white;
    border: none;
    padding: 4px 18px 4px 32px;
    border-radius: 20px;
    font-size: 14px;
    letter-spacing: 1.4px;
    line-height: calc(32 / 14);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 13.75px;
}

.event-more-btn::after {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #fff;
}

.event-more-btn:hover {
    background: #228B6A;
}

/* 空の状態 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state-icon {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.empty-state-description {
    font-size: 16px;
    color: #666;
}

img.event-item-icon {
    width: 17px;
    vertical-align: sub;
}