@charset "UTF-8";

/* ===== Inner pages (NEWS / EVENT) — 既存 style.css を上書きしない追加CSS ===== */

.p-archive,
.p-single {
  min-height: 60vh;
}

/* NEWS のみグレー（EVENT は白） */
.p-archive--news,
.p-single {
  background: #f3f3f5;
}

.p-archive--event {
}

/*
 * PC横余白80pxは上位フレームに集約（Figma: 1440内の左右80 → コンテンツ1280）
 * CONTACT はフレーム外で全幅のまま
 */
.p-archive__frame {
  box-sizing: border-box;
  width: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding-left: 8rem;
  padding-right: 8rem;
}

@media (max-width: 767px) {
  .p-archive__frame {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.c-breadcrumb {
  max-width: 112rem;
  margin: 0 auto;
  padding: 2.4rem 4rem 0;
  font-size: 1.2rem;
  color: var(--text-color-secondary);
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
}

.c-breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin-left: 0.8rem;
  color: #a8a6b0;
}

.c-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.c-breadcrumb a:hover {
  color: var(--primary-color);
}

.p-page-head {
  max-width: 112rem;
  margin: 0 auto;
  padding: 4rem 4rem 3.2rem;
}

.p-page-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}

.p-page-head__en {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 7.2rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text-color-primary);
}

.p-page-head__ja {
  display: block;
  margin-top: 0.8rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.p-page-head__lead {
  max-width: 42rem;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-color-secondary);
}

.p-archive__container {
  margin: 0 auto;
  padding: 0 4rem 8rem;
}

.c-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}

.c-filter-pills--stack {
  flex-direction: column;
  align-items: flex-start;
}

.c-filter-pills__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0 1.8rem;
  border: 1px solid #cfcfd6;
  border-radius: 999px;
  background: #fff;
  color: var(--text-color-primary);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition-hover), color var(--transition-hover), border-color var(--transition-hover);
}

.c-filter-pills__item:hover,
.c-filter-pills__item.is-active {
  background: var(--text-color-primary);
  border-color: var(--text-color-primary);
  color: #fff;
}

.c-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.c-badge--notice {
  background: #1b1830;
  color: #fff;
}

.c-badge--event {
  background: var(--primary-color);
  color: #fff;
}

.c-badge--other {
  background: var(--secondary-color);
  color: #1b1830;
}

.c-badge--soft {
  background: #fff;
  border: 1px solid #cfcfd6;
  color: var(--text-color-primary);
}

.c-badge--outline {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

/* NEWS 一覧行は news.css（Figma 557:8423） */

[data-archive-root].is-filtering [data-archive-results] {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.p-load-more {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.p-load-more[hidden] {
  display: none !important;
}

.p-load-more__button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-color-primary);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  padding: 1.2rem 2.4rem 1.2rem 1.2rem;
  position: relative;
}

.p-load-more__button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1.2rem;
  height: 1.2rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}

.p-load-more__button[disabled] {
  opacity: 0.4;
  cursor: default;
}

.p-load-more__label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
}

.p-load-more__label::after {
  content: "";
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.p-load-more__icon {
  position: relative;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
}

.p-load-more__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: inset 0.3s ease;
}

.p-load-more__icon img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

@media (hover: hover) and (min-width: 768px) {
  .p-load-more__button:hover:not([disabled]) .p-load-more__label::after {
    transform: scaleX(1);
  }

  .p-load-more__button:hover:not([disabled]) .p-load-more__icon::before {
    inset: -0.4rem;
  }
}

.p-empty {
  padding: 8rem 2rem;
  text-align: center;
  font-size: 1.6rem;
  color: var(--text-color-secondary);
}

/* single-news 詳細スタイルは news.css（Figma 561:9931） */
/* EVENT 一覧スタイルは event.css（Figma 553:5240） */

@media (max-width: 767px) {
  .p-page-head--split {
    display: block;
  }

  .c-breadcrumb,
  .p-page-head,
  .p-archive__container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .p-page-head__en {
    font-size: 4.8rem;
  }
}

.p-notfound__lead {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2;
  color: var(--text-color-primary);
}

.p-notfound .p-notfound__home {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 32rem;
  margin-top: 4.8rem;
}

.p-notfound .p-notfound__home::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.p-notfound .p-notfound__home span,
.p-notfound .p-notfound__home::after {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (min-width: 768px) {
  .p-notfound .p-notfound__home:hover {
    background-color: #1b1830;
  }

  .p-notfound .p-notfound__home:hover::before {
    transform: scaleX(1);
  }
}

@media (max-width: 767px) {
  .p-notfound__lead {
    font-size: 1.4rem;
  }

  .p-notfound__home {
    margin-top: 3.2rem;
  }
}
