@charset "UTF-8";
/* stylelint-disable no-descending-specificity */
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.event-card__eyecatch-link {
  display: block;
  overflow: hidden;
  background-color: black;
  border-radius: 8px;
  aspect-ratio: 16/9;
}
.event-card__eyecatch {
  display: block;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  margin: 4px;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.event-card__eyecatch-link:hover .event-card__eyecatch {
  width: 100%;
  height: 100%;
  margin: 0;
}
.event-card__pickup {
  display: none;
}
.event-card__deadline-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  background: #4fb5ee;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.event-card__deadline-badge--expired {
  background: #999;
}
.event-card__title {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 600;
  font-size: 16px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.event-card__category-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  color: #000;
  font-weight: 700;
  font-size: 12px;
  background-color: #ffd42c;
  border-radius: 6px;
}
.event-card__tags {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}
.event-card__tag {
  display: inline;
}
.event-card__tag:not(:last-child)::after {
  margin: 0 8px;
  content: "|";
}
.event-card__date {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
}
.event-card--secondary {
  flex-direction: row;
  gap: 16px;
}
.event-card--secondary .event-card__eyecatch-link {
  flex-shrink: 0;
  width: 360px;
}
@media (width < 1280px) and (width >= 768px) {
  .event-card--secondary .event-card__eyecatch-link {
    width: 260px;
  }
}
@media (width < 768px) {
  .event-card--secondary .event-card__eyecatch-link {
    width: 200px;
  }
}
.event-card--mv {
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
@media (width < 1280px) and (width >= 768px) {
  .event-card--mv {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (width < 768px) {
  .event-card--mv {
    flex-direction: column;
    align-items: flex-start;
  }
}
.event-card--mv .event-card__eyecatch {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 1px black solid;
}
.event-card--mv .event-card__eyecatch-link {
  flex: 2;
}
@media (width < 768px) {
  .event-card--mv .event-card__eyecatch-link {
    flex: auto;
    width: 100%;
  }
}
@media (width < 1280px) and (width >= 768px) {
  .event-card--mv .event-card__eyecatch-link {
    flex: auto;
    width: 100%;
  }
}
.event-card--mv .event-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding-left: 10px;
}
@media (width < 1280px) and (width >= 768px) {
  .event-card--mv .event-card__content {
    width: 100%;
  }
}
@media (width < 768px) {
  .event-card--mv .event-card__content {
    flex: auto;
    gap: 8px;
    width: 100%;
    padding-left: 0;
  }
}
.event-card--mv .event-card__pickup {
  display: block;
  color: transparent;
  font-weight: 800;
  font-size: 16px;
  font-family: Raleway, sans-serif;
  font-style: italic;
  letter-spacing: 0.1em;
  -webkit-text-stroke: 0.6px #000;
  text-stroke: 0.6px #000;
}
@media (width < 768px) {
  .event-card--mv .event-card__pickup {
    font-size: 12px;
  }
}
.event-card--mv .event-card__mv-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
@media (width < 768px) {
  .event-card--mv .event-card__mv-header {
    gap: 4px;
    margin-bottom: 16px;
  }
}
.event-card--mv .event-card__mv-subtitle {
  color: #000;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.05em;
}
@media (width < 768px) {
  .event-card--mv .event-card__mv-subtitle {
    font-size: 14px;
  }
}
.event-card--mv .event-card__mv-title {
  color: transparent;
  font-weight: 800;
  font-size: 66px;
  font-family: Raleway, sans-serif;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.05em;
  -webkit-text-stroke: 1.5px #000;
}
@media (width < 768px) {
  .event-card--mv .event-card__mv-title {
    font-size: 40px;
    -webkit-text-stroke: 1px #000;
  }
}
.event-card--mv .event-card__category-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 16px;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  background-color: #ffd42b;
  border-radius: 20px;
}
@media (width < 768px) {
  .event-card--mv .event-card__category-badge {
    padding: 4px 12px;
    font-size: 12px;
  }
}
.event-card--mv .event-card__buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  max-width: 400px;
  margin-top: auto;
  padding-top: 24px;
}
.event-card--mv .event-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.3em;
  text-align: center;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
@media (width < 768px) {
  .event-card--mv .event-card__button {
    padding: 12px 16px;
    font-size: 14px;
    letter-spacing: 0.2em;
  }
}
.event-card--mv .event-card__button--primary {
  color: #fff;
  background-color: #010b1c;
}
.event-card--mv .event-card__button--primary:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  opacity: 0.8;
}
.event-card--mv .event-card__button--secondary {
  color: #000;
  background-color: #ffd42b;
}
.event-card--mv .event-card__button--secondary:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  opacity: 0.8;
}
.event-card--mv .event-card__title {
  display: -webkit-box;
  min-height: 67.2px;
  overflow: hidden;
  font-size: 24px;
  line-height: 1.4;
  white-space: normal;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media (width < 768px) {
  .event-card--mv .event-card__title {
    min-height: 42px;
    font-size: 15px;
  }
}
.event-card--mv .event-card__tag {
  font-size: 11px;
}

/* Simple ended styles: remove gradients/icons, darken image (only for actual event-end)
   MVカード(`event-card--mv`)は終了状態でも同じデザインにしたいため除外する */
.event-card.event-card--ended:not(.event-card--mv) .event-card__eyecatch-link::after,
.event-card.event-card--ended:not(.event-card--mv) .event-card__eyecatch-link::before {
  display: none !important;
}

.event-card.event-card--ended:not(.event-card--mv) .event-card__eyecatch {
  transform: scale(1.02);
  opacity: 1;
  filter: brightness(0.35);
}

.event-card.event-card--ended:not(.event-card--mv) .event-card__content {
  opacity: 1;
}

/* 終了後イベント: タイトルや補助テキストをグレー表示にする
   ただし MV は除外する */
.event-card.event-card--ended:not(.event-card--mv) .event-card__title,
.event-card.event-card--ended:not(.event-card--mv) .event-card__pickup,
.event-card.event-card--ended:not(.event-card--mv) .event-card__tags,
.event-card.event-card--ended:not(.event-card--mv) .event-card__tag,
.event-card.event-card--ended:not(.event-card--mv) .event-card__date,
.event-card.event-card--ended:not(.event-card--mv) .event-card__mv-subtitle,
.event-card.event-card--ended:not(.event-card--mv) .event-card__mv-title {
  color: rgba(0, 0, 0, 0.56);
}

.event-card.event-card--ended:not(.event-card--mv) .event-card__title-link {
  color: inherit;
}

/* stylelint-disable no-descending-specificity */
.c-special-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 141px;
  padding: 0 20px;
  overflow: hidden;
  background-color: #000;
  border: 1px solid #000;
  border-radius: 8px;
}
@media (width < 768px) {
  .c-special-feature {
    justify-content: center;
    height: auto;
    min-height: 85px;
    padding: 10px 20px;
  }
}
.c-special-feature__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.c-special-feature__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 328px;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.5));
}
@media (width < 768px) {
  .c-special-feature__body {
    max-width: 100%;
  }
}
.c-special-feature__title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.c-special-feature__tags {
  display: flex;
  align-items: center;
}
.c-special-feature__tag {
  color: #fff;
  font-weight: 500;
  font-size: 11px;
  white-space: nowrap;
}
.c-special-feature__tag:not(:last-child)::after {
  margin: 0 16px;
  content: "|";
}
@media (width >= 1280px) {
  .c-special-feature--horizontal {
    height: 145px;
  }
  .c-special-feature--horizontal .c-special-feature__bg {
    object-position: center;
  }
  .c-special-feature--horizontal .c-special-feature__body {
    max-width: 328px;
  }
}

.p-category-tabs {
  margin: 48px 32px 0;
}
@media (width < 1280px) and (width >= 768px) {
  .p-category-tabs {
    margin: 32px 20px 0;
  }
}
@media (width < 768px) {
  .p-category-tabs {
    margin: 20px 12px 0;
  }
}
.p-category-tabs__container {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}
@media (width < 768px) {
  .p-category-tabs__container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: hidden;
  }
}

.p-category-tab {
  --p-category-tab-icon-url: none;
  --p-category-tab-icon-color: #333;
  --p-category-tab-label-color: #666;
  --p-category-tab-active-color: #ffd014;
  display: flex;
  flex: 1 1 0;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 6px 16px;
  color: #333;
  text-decoration: none;
}
.p-category-tab:not(:last-child) {
  border-right: 1px solid #000;
}
.p-category-tab__icon {
  display: none;
}
.p-category-tab::before {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background-color: var(--p-category-tab-icon-color);
  transition: background-color 200ms ease, transform 200ms ease;
  content: "";
  mask: var(--p-category-tab-icon-url) no-repeat center/contain;
}
@media (width < 768px) {
  .p-category-tab::before {
    width: 28px;
    height: 28px;
  }
}
.p-category-tab__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.p-category-tab__name {
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
}
@media (width < 768px) {
  .p-category-tab__name {
    font-size: 16px;
  }
}
.p-category-tab__name {
  transition: color 200ms ease;
}
.p-category-tab__label {
  margin-top: 2px;
  color: var(--p-category-tab-label-color);
  font-size: 10px;
  line-height: 1;
  transition: color 200ms ease;
}
.p-category-tab--active {
  border-bottom-color: #000;
  --p-category-tab-icon-color: var(--p-category-tab-active-color);
}
.p-category-tab--active .p-category-tab__icon {
  display: none;
}
.p-category-tab--active .p-category-tab__name {
  font-weight: bold;
}
.p-category-tab--active .p-category-tab__label {
  color: var(--p-category-tab-active-color);
}
.p-category-tab:hover, .p-category-tab:focus-visible {
  cursor: pointer;
  --p-category-tab-icon-color: var(--p-category-tab-active-color);
}
.p-category-tab:hover .p-category-tab__name, .p-category-tab:focus-visible .p-category-tab__name {
  color: var(--p-category-tab-active-color);
}
.p-category-tab:hover .p-category-tab__label, .p-category-tab:focus-visible .p-category-tab__label {
  color: var(--p-category-tab-active-color);
}
.p-category-tab[data-category=学ぶ] {
  --p-category-tab-icon-url: url("../img/cat_seminar.svg");
}
.p-category-tab[data-category=競う] {
  --p-category-tab-icon-url: url("../img/cat_competition.svg");
}
.p-category-tab[data-category=見る] {
  --p-category-tab-icon-url: url("../img/cat_exhibition.svg");
}
.p-category-tab[data-category=働く] {
  --p-category-tab-icon-url: url("../img/cat_recruitment.svg");
}
.p-category-tab[data-category=all] {
  --p-category-tab-icon-url: url("../img/cat_all.svg");
}
@media (width < 768px) {
  .p-category-tab {
    flex: 0 0 20%;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
    max-width: 20%;
    padding: 4px;
    text-align: center;
  }
  .p-category-tab::before {
    width: 22px;
    height: 22px;
    margin-bottom: 0;
  }
  .p-category-tab__name {
    margin-bottom: 0;
    font-size: 11px;
  }
  .p-category-tab__label {
    color: #777;
    font-size: 9px;
  }
}

.p-search-bar {
  margin: 28px 32px 0;
}
@media (width < 1280px) and (width >= 768px) {
  .p-search-bar {
    margin: 24px 16px 0;
  }
}
@media (width < 768px) {
  .p-search-bar {
    margin: 16px 12px 0;
  }
}
.p-search-bar__container {
  max-width: 1200px;
  margin: 0 auto;
}
.p-search-bar__form {
  display: flex;
  gap: 24px;
  align-items: center;
}
@media (width < 768px) {
  .p-search-bar__form {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
.p-search-bar__input-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 515px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid #000;
  border-radius: 24px;
}
@media (width < 1280px) and (width >= 768px) {
  .p-search-bar__input-wrapper {
    width: 400px;
  }
}
.p-search-bar__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  pointer-events: none;
}
.p-search-bar__input {
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 0;
  color: #0b0b0b;
  font-weight: 500;
  font-size: 14px;
  font-family: Roboto, sans-serif;
  background: transparent;
  border: none;
  outline: none;
}
.p-search-bar__input::placeholder {
  color: #999;
}
.p-search-bar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (width < 768px) {
  .p-search-bar__tags {
    gap: 6px;
  }
}
.p-search-bar__filter-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  background: #111;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
}
.p-search-bar__filter-button:hover {
  opacity: 0.8;
}
@media (width < 768px) {
  .p-search-bar__filter-button {
    display: flex;
  }
}
.p-search-bar__tag {
  padding: 8px;
  color: #0b0b0b;
  font-weight: 500;
  font-size: 13px;
  font-family: Roboto, sans-serif;
  line-height: 1;
  white-space: nowrap;
  background-color: #f2f2f2;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
@media (width < 768px) {
  .p-search-bar__tag {
    padding: 8px;
    font-size: 12px;
  }
}
.p-search-bar__tag:hover {
  background-color: #e0e0e0;
}
.p-search-bar__tag--active {
  color: #fff;
  background-color: #000;
}
.p-search-bar__tag--active:hover {
  background-color: #333;
}

body.is-filter-overlay-open {
  overflow: hidden;
}

.p-archive-event__content {
  margin: 40px 40px 80px;
}
@media (width < 1280px) and (width >= 768px) {
  .p-archive-event__content {
    margin: 32px 24px 60px;
  }
}
@media (width < 768px) {
  .p-archive-event__content {
    margin: 24px 16px 40px;
  }
}
.p-archive-event__container {
  display: flex;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (width < 768px) {
  .p-archive-event__container {
    flex-direction: column;
    gap: 24px;
  }
}
.p-archive-event__sidebar-shell {
  display: block;
}
@media (width < 768px) {
  .p-archive-event__sidebar-shell {
    position: fixed;
    inset: 0;
    z-index: 9999;
    /* 常にフレックスにして子要素のトランジションを有効にする */
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .p-archive-event__sidebar-shell.is-open {
    pointer-events: auto;
  }
}
.p-archive-event__sidebar {
  flex-shrink: 0;
  width: 230px;
}
@media (width < 768px) {
  .p-archive-event__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100vw;
    /* dynamic viewport height を使って iOS のアドレスバーで見切れないようにする */
    height: 100vh;
    height: 100dvh;
    max-height: none;
    overflow: hidden;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
  }
  .p-archive-event__sidebar .p-filter-panel {
    height: 100%;
    padding-right: calc(12px + env(safe-area-inset-right, 0px));
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    padding-left: calc(12px + env(safe-area-inset-left, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}
.p-archive-event__main {
  flex: 1;
  min-width: 0;
}
.p-archive-event__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
@media (width < 768px) {
  .p-archive-event__toolbar {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
}
.p-archive-event__count {
  color: #000;
  font-weight: bold;
  font-size: 14px;
}
@media (width < 768px) {
  .p-archive-event__count {
    font-size: 16px;
  }
}
.p-archive-event__count #event-count {
  margin: 0 4px;
  color: #000;
  font-size: 24px;
  font-family: Roboto, sans-serif;
}
.p-archive-event__controls {
  display: flex;
  gap: 18px;
  align-items: center;
}
@media (width < 768px) {
  .p-archive-event__controls {
    justify-content: space-between;
  }
}
.p-archive-event__sort {
  min-width: 110px;
  padding: 6px 32px 6px 12px;
  font-size: 14px;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  border: 1px solid #333;
  border-radius: 999px;
  cursor: pointer;
}
@media (width < 768px) {
  .p-archive-event__sort {
    padding: 6px 32px 6px 12px;
    font-size: 12px;
  }
}
.p-archive-event__sort:focus {
  border-color: #000;
  outline: none;
}
.p-archive-event__view-toggle {
  display: flex;
  gap: 0;
}

.p-filter-panel {
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #333;
  border-radius: 8px;
}

@media (width < 768px) {
  .p-archive-event__sidebar-shell.is-open .p-archive-event__sidebar {
    transform: translateX(0);
  }
}
@media (width < 768px) {
  .p-archive-event .p-filter-panel {
    border: none;
    border-radius: 0;
  }
}
.p-filter-header__toggle {
  display: none;
  margin-right: 8px;
  padding: 6px 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.p-filter-header__close {
  display: none;
}
@media (width < 768px) {
  .p-filter-header__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s;
  }
  .p-filter-header__close:hover {
    opacity: 0.8;
  }
  .p-filter-header__close svg {
    width: 16px;
    height: 16px;
  }
}
@media (width < 768px) and (width < 768px) {
  .p-filter-header__close {
    width: 32px;
    height: 32px;
    background-color: transparent;
  }
  .p-filter-header__close svg {
    width: 12px;
    height: 12px;
  }
}

@media (width < 768px) {
  .p-filter-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
.p-filter-header__toggle-label {
  margin-right: 8px;
  color: #333;
  font-weight: 600;
  font-size: 15px;
}

.p-filter-header__toggle-icon {
  color: #333;
  transition: transform 0.2s ease;
}

.p-filter-header__toggle[aria-expanded=true] .p-filter-header__toggle-icon {
  transform: rotate(180deg);
}

@media (width < 768px) {
  .p-filter-header__title {
    display: none;
  }
}
.p-filter-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 0;
}
@media (width < 768px) {
  .p-filter-header {
    padding-top: 20px;
  }
}
.p-filter-header {
  border-bottom: none;
}
.p-filter-header::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 14px;
  background: #333;
  content: "";
}
.p-filter-header__title {
  margin: 0;
  font-weight: bold;
  font-size: 15px;
}
.p-filter-header__reset {
  padding: 0;
  color: #666;
  font-size: 12px;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
}
.p-filter-header__reset:hover {
  color: #000;
}

.p-filter-submit {
  padding: 12px;
}
.p-filter-submit__button {
  display: block;
  width: 100%;
  padding: 12px 24px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  background: #111;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.p-filter-submit__button:hover {
  opacity: 0.75;
}

.p-filter-section {
  padding: 12px;
  border-bottom: none;
}
.p-filter-section::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 16px;
  background: #333;
  content: "";
}
.p-filter-section:last-child::after {
  display: none;
}
.p-filter-section__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}
@media (width < 768px) {
  .p-filter-section__title {
    font-size: 14px;
  }
}
.p-filter-section__toggle {
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.p-filter-section__toggle:hover {
  opacity: 0.7;
}
.p-filter-section__toggle[aria-expanded=true] {
  transform: rotate(180deg);
}
.p-filter-section__content {
  display: block;
}
.p-filter-section__content--collapsed {
  display: none;
}
.p-filter-section__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-filter-section__range label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #666;
  font-size: 12px;
}

.p-filter-option {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}
@media (width < 768px) {
  .p-filter-option {
    font-size: 13px;
  }
}
.p-filter-option input[type=checkbox] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-color: #fff;
  border: 1.5px solid #333;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.p-filter-option input[type=checkbox]:checked {
  background-color: #000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 9px;
  border-color: #000;
}
.p-filter-option input[type=checkbox]:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.p-filter-option:hover {
  opacity: 0.7;
}

.p-filter-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px; /* 未入力時の最低高さを確保 */
  padding: 8px;
  font-size: 14px;
  background: white;
  border: 1px solid #333;
  border-radius: 16px;
}
.p-filter-input:focus {
  border-color: #000;
  outline: none;
}

.p-view-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 19px;
  color: #999;
  background: white;
  border: 1px solid #333;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.p-view-toggle:hover {
  background: #e0e0e0;
}
.p-view-toggle--active {
  color: white;
  background: #000;
  border-color: #000;
}
.p-view-toggle--active:hover {
  background: #333;
}
.p-view-toggle--grid {
  border-right: none;
  border-radius: 4px 0 0 4px;
}
.p-view-toggle--list {
  border-radius: 0 4px 4px 0;
}
.p-view-toggle svg {
  width: 10px;
  height: 11px;
}

.p-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
@media (width < 1280px) and (width >= 768px) {
  .p-event-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
}
@media (width < 768px) {
  .p-event-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    /* SP: グリッド表示は1列にする */
  }
  .p-event-grid[data-view=grid] {
    grid-template-columns: 1fr;
  }
}
.p-event-grid[data-view=list] {
  grid-template-columns: 1fr;
}
.p-event-grid__empty {
  grid-column: 1/-1;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
  text-align: center;
}
@media (width < 768px) {
  .p-event-grid__empty {
    padding: 40px 16px;
    font-size: 14px;
  }
}

.p-pagination {
  margin-top: 40px;
}
@media (width < 768px) {
  .p-pagination {
    margin-top: 32px;
  }
}
.p-pagination ul {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  list-style: none;
}
@media (width < 768px) {
  .p-pagination ul {
    gap: 4px;
  }
}
.p-pagination li {
  /* stylelint-disable-next-line no-descending-specificity */
}
.p-pagination li a,
.p-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: #333;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 999px;
  transition: all 0.2s;
}
@media (width < 768px) {
  .p-pagination li a,
  .p-pagination li span {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 14px;
  }
}
.p-pagination li a:hover {
  background: #f5f5f5;
}
.p-pagination li.current span,
.p-pagination li .page-numbers.current {
  color: white;
  font-weight: bold;
  background: #000;
  border-color: #000;
}
.p-pagination li.dots span {
  border: none;
}

.archive-feature {
  width: 100%;
  max-width: 1200px;
  margin: 48px auto 80px;
  padding-bottom: 80px;
}
@media (width < 1280px) and (width >= 768px) {
  .archive-feature {
    margin-top: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
  }
}
@media (width < 768px) {
  .archive-feature {
    margin-top: 32px;
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
}
.archive-feature__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}
.archive-feature__title {
  font-weight: 700;
  font-size: 20px;
}
.archive-feature__subtitle {
  color: transparent;
  font-weight: 800;
  font-size: 40px;
  font-family: Raleway, sans-serif;
  font-style: italic;
  letter-spacing: 0.1em;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  margin-top: 8px;
}
@media (width < 1280px) and (width >= 768px) {
  .archive-feature__subtitle {
    font-size: 28px;
  }
}
@media (width < 768px) {
  .archive-feature__subtitle {
    font-size: 13px;
    -webkit-text-stroke-width: 0.6px;
  }
}
.archive-feature__more {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5em;
  white-space: nowrap;
}
.archive-feature__more:hover {
  opacity: 0.7;
}
.archive-feature__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}
@media (width < 1280px) and (width >= 768px) {
  .archive-feature__grid {
    gap: 24px;
  }
}
@media (width < 768px) {
  .archive-feature__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.archive-feature__grid .c-special-feature:nth-child(3) {
  display: none;
}
@media (width < 768px) {
  .archive-feature__grid .c-special-feature:nth-child(3) {
    display: flex;
  }
}

.c-company-cta {
  padding: 0 40px;
}
@media (width < 1280px) and (width >= 768px) {
  .c-company-cta {
    padding: 0 24px;
  }
}
@media (width < 768px) {
  .c-company-cta {
    padding: 0 16px;
  }
}
.c-company-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  background-color: #010b1c;
  border-radius: 8px;
}
@media (width < 768px) {
  .c-company-cta__inner {
    padding: 14px 10px;
  }
}
.c-company-cta__content {
  display: flex;
  gap: 38px;
  align-items: center;
}
@media (width < 768px) {
  .c-company-cta__content {
    gap: 14px;
  }
}
.c-company-cta__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
@media (width < 768px) {
  .c-company-cta__text {
    flex: 1;
    min-width: 0;
  }
}
.c-company-cta__title {
  color: #fff;
  font-weight: 700;
  font-size: 32px;
  font-family: Roboto, sans-serif;
  line-height: 1;
}
@media (width < 768px) {
  .c-company-cta__title {
    font-size: 13px;
  }
}
.c-company-cta__description {
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  line-height: 1.5;
}
@media (width < 768px) {
  .c-company-cta__description {
    font-size: 8px;
  }
}
.c-company-cta__buttons {
  display: flex;
  gap: 40px;
  align-items: center;
}
@media (width < 768px) {
  .c-company-cta__buttons {
    flex-direction: column;
    gap: 8px;
  }
}
.c-company-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  font-weight: 800;
  font-size: 12px;
  font-family: Inter, sans-serif;
  line-height: 1.5;
  letter-spacing: 6px;
  white-space: nowrap;
  border-radius: 20px;
  cursor: pointer;
  transition: opacity 0.3s;
}
@media (width < 768px) {
  .c-company-cta__btn {
    padding: 6px 20px;
    font-size: 10px;
  }
}
.c-company-cta__btn:hover {
  opacity: 0.8;
}
.c-company-cta__btn--primary {
  color: #000;
  background-color: #ffd42b;
  border: none;
}
.c-company-cta__btn--secondary {
  color: #fff;
  background-color: transparent;
  border: 1px solid #fff;
}

.archive-cta {
  margin-bottom: 60px;
}
.archive-cta .c-company-cta__btn {
  flex: 1 1 0;
  width: 240px;
}
@media (width < 768px) {
  .archive-cta {
    margin-bottom: 40px;
  }
  .archive-cta .c-company-cta__btn {
    width: 100%;
  }
}
