.youfo-experience-page {
  background: #f7f8fb;
}

.youfo-experience-page .inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------
   Hero
------------------------------ */
.experience-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  color: #fff;
  background: #0d2348;
}

.experience-hero__bg {
  position: absolute;
  inset: 0;
  background:
    url("http://youfo.or.jp/wp-content/uploads/2026/04/wako-event.jpg")
    center center / cover no-repeat;
  transform: scale(1.03);
}

.experience-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 24, 52, 0.88) 0%,
    rgba(16, 43, 83, 0.74) 46%,
    rgba(0, 91, 187, 0.40) 100%
  );
}

.youfo-experience-page .experience-hero .inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.experience-hero__content {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.experience-hero__eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.experience-title {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  text-align: center;
}

.experience-lead {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  font-size: 17px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.experience-hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

.experience-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.experience-hero__button--primary {
  background: #fff;
  color: #0d2348;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.experience-hero__button--primary:hover {
  transform: translateY(-2px);
  background: #f2f6fb;
}

.experience-hero__button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.experience-hero__button--secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

/* ------------------------------
   List section
------------------------------ */
.experience-list-section {
  padding: 60px 0 90px;
}

.experience-block + .experience-block {
  margin-top: 70px;
}

.experience-block__head {
  margin-bottom: 28px;
  text-align: center;
}

.experience-block__head .section-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.4;
  color: #1d2d5b;
  font-weight: 700;
}

.section-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

/* ------------------------------
   Event grid
------------------------------ */
.experience-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.experience-event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.experience-event-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f5f8;
}

.experience-event-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.experience-event-card:hover .experience-event-card__thumb img {
  transform: scale(1.05);
}

.experience-event-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.experience-event-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.event-type-tag,
.event-status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* 種別タグ */
.event-type-experience {
  background: #fff4e6;
  color: #d97706;
}

.event-type-practice {
  background: #eef4ff;
  color: #1d4ed8;
}

.event-type-tournament {
  background: #fde8e8;
  color: #b91c1c;
}

.event-type-special {
  background: #f3e8ff;
  color: #7e22ce;
}

/* ステータス */
.event-status-tag.status-open {
  background: #e8f7ec;
  color: #15803d;
}

.event-status-tag.status-closed {
  background: #f3f4f6;
  color: #6b7280;
}

.event-status-tag.status-upcoming {
  background: #fff4e8;
  color: #b45309;
}

.event-status-tag.status-default {
  background: #f3f4f6;
  color: #555;
}

.experience-event-card__title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.5;
}

.experience-event-card__title a {
  color: #111;
  text-decoration: none;
}

.experience-event-card__title a:hover {
  color: #c4122f;
}

.experience-event-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.experience-event-card__meta li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eceff4;
}

.experience-event-card__meta li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.experience-event-card__meta strong {
  font-size: 12px;
  font-weight: 700;
  color: #7a7f89;
}

.experience-event-card__meta span {
  font-size: 14px;
  line-height: 1.7;
  color: #222;
}

.experience-event-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.event-detail-button,
.event-entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s ease;
}

.event-detail-button {
  background: #fff;
  color: #111;
  border: 1px solid #d8dde6;
}

.event-detail-button:hover {
  background: #f6f8fb;
}

.event-entry-button {
  background: #d62828;
  color: #fff;
}

.event-entry-button:hover {
  background: #b91f1f;
}

.experience-empty {
  margin: 0;
  padding: 10px 0;
  text-align: center;
  color: #666;
}

/* ------------------------------
   More button
------------------------------ */
.experience-more-wrap {
  margin-top: 28px;
  text-align: center;
}

.experience-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8dde6;
  color: #1d2d5b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s ease;
}

.experience-more-button:hover {
  background: #1d2d5b;
  border-color: #1d2d5b;
  color: #fff;
}

.experience-more-button--sub {
  background: #f6f8fb;
  color: #1d2d5b;
  border: 1px solid #d8dde6;
}

.experience-more-button--sub:hover {
  background: #e9eef6;
  border-color: #d8dde6;
  color: #1d2d5b;
}

/* ------------------------------
   Tablet
------------------------------ */
@media screen and (max-width: 1024px) {
  .experience-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------
   Mobile
------------------------------ */
@media screen and (max-width: 767px) {
  .youfo-experience-page .inner,
  .youfo-experience-page .experience-hero .inner {
    padding: 0 16px;
  }

  .experience-hero {
    padding: 84px 0 72px;
  }

  .experience-hero__content {
    max-width: 100%;
  }

  .experience-hero__eyebrow {
    margin-bottom: 14px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .experience-title {
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.25;
  }

  .experience-lead {
    font-size: 15px;
    line-height: 1.85;
  }

  .experience-hero__buttons {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    margin-top: 24px;
  }

  .experience-hero__button {
    width: 100%;
    min-width: 0;
  }

  .experience-list-section {
    padding: 44px 0 60px;
  }

  .experience-block + .experience-block {
    margin-top: 50px;
  }

  .experience-event-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .experience-event-card__body {
    padding: 18px 16px;
  }

  .experience-event-card__title {
    font-size: 20px;
  }

  .experience-event-card__actions {
    flex-direction: column;
  }

  .event-detail-button,
  .event-entry-button {
    width: 100%;
  }
}