@charset "UTF-8";

/* ===== イベント一覧ページ専用スタイル ===== */

/* ---------- ヒーロー ---------- */

.p-evlist-hero {
  position: relative;
  min-height: clamp(520px, 70vh, 720px);
  padding: calc(var(--header-height) + 40px) var(--space-md) var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.p-evlist-hero__illust {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: 65%;
  max-height: 520px;
  pointer-events: none;
  z-index: 0;
}

.p-evlist-hero__illust--left {
  left: 2%;
}

.p-evlist-hero__illust--right {
  right: 0%;
}

.p-evlist-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-evlist-hero__badge {
  display: inline-block;
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-dark);
  border-radius: var(--radius-pill);
  padding: 2px 28px;
  font-size: var(--fz-lg);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

.p-evlist-hero__title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 var(--space-lg);
}

.p-evlist-hero__title::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--color-accent-yellow);
  z-index: -1;
  transform: translate(4px, 4px);
  white-space: pre-line;
  pointer-events: none;
}

.p-evlist-hero__lead {
  font-size: var(--fz-base);
  line-height: 2.2;
  color: var(--color-text);
  margin: 0;
}

@media (max-width: 1024px) {
  .p-evlist-hero__illust {
    height: 55%;
    max-height: 320px;
    opacity: 0.45;
  }
}

@media (max-width: 768px) {
  .p-evlist-hero {
    min-height: 0;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: var(--space-xl);
  }
  .p-evlist-hero__illust {
    height: 40%;
    max-height: 220px;
    opacity: 0.25;
  }
  .p-evlist-hero__badge {
    font-size: var(--fz-sm);
    padding: 8px 20px;
  }
  .p-evlist-hero__title {
    font-size: clamp(28px, 7vw, 36px);
    letter-spacing: 0.02em;
    line-height: 1.5;
  }
  .p-evlist-hero__title::before {
    transform: translate(3px, 3px);
  }
  .p-evlist-hero__lead {
    font-size: var(--fz-sm);
    line-height: 1.9;
  }
  .p-evlist-hero__lead br {
    display: none;
  }
}

/* ---------- パンくず ---------- */

.p-breadcrumb {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px var(--space-md);
  font-size: var(--fz-sm);
  color: var(--color-text-sub);
}

.p-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}

.p-breadcrumb__item a {
  color: var(--color-primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.p-breadcrumb__item a:hover {
  border-bottom-color: var(--color-primary);
  opacity: 1;
}

.p-breadcrumb__item--current {
  color: var(--color-text-sub);
}

.p-breadcrumb__sep {
  color: var(--color-text-muted);
  font-size: 11px;
}

/* ---------- EVENTS セクション ---------- */

.p-evlist-events {
  position: relative;
}

.p-evlist__lead {
  font-size: var(--fz-base);
  line-height: 2;
  color: var(--color-text-sub);
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}

.p-evlist__info-bar {
  width: 100%;
  max-width: 880px;
  background-color: var(--color-bg-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: var(--space-xl);
  overflow: hidden;
}

.p-evlist__info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.p-evlist__info-item:nth-child(2n) {
  border-right: none;
}

.p-evlist__info-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.p-evlist__info-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.p-evlist__info-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}

.p-evlist__info-label {
  font-size: var(--fz-xs);
  color: var(--color-text-sub);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.p-evlist__info-value {
  font-size: var(--fz-sm);
  color: var(--color-text);
  font-weight: 700;
}

@media (max-width: 768px) {
  .p-evlist__info-bar {
    grid-template-columns: 1fr;
  }
  .p-evlist__info-item {
    border-right: none;
    padding: var(--space-sm) var(--space-md);
  }
  .p-evlist__info-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
  }
  .p-evlist__info-item:last-child {
    border-bottom: none;
  }
}

/* ---------- 悩み別カード ---------- */

.p-evlist__cards {
  width: 100%;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.p-evcard {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.p-evcard__badge {
  display: inline-block;
  background-color: var(--color-accent-yellow);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  padding: 6px 20px;
  font-size: var(--fz-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.p-evcard__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  margin: var(--space-xs) 0 0;
}

.p-evcard__sub {
  font-size: var(--fz-md);
  color: var(--color-text);
  font-weight: 700;
  margin: 0;
}

.p-evcard__desc {
  font-size: var(--fz-sm);
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: var(--space-xs) 0 var(--space-sm);
}

.p-evcard__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
  max-width: 320px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  font-size: var(--fz-base);
  font-weight: 700;
  margin-top: auto;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.p-evcard__link:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.p-evcard__link-arrow {
  font-size: var(--fz-base);
  line-height: 1;
}

@media (max-width: 768px) {
  .p-evlist__cards {
    grid-template-columns: 1fr;
  }
  .p-evcard {
    padding: var(--space-md);
  }
}

/* ---------- その他のお悩み ---------- */

.p-evlist-other {
  background-color: var(--color-bg-base);
  background-image: url(../images/common/common-bg.jpg);
  background-repeat: repeat;
}

.p-evlist-other__box {
  width: 100%;
  max-width: 880px;
  background-color: #f5f0eb;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-2xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-evlist-other__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.7;
  letter-spacing: 0.03em;
  margin: 0 0 var(--space-md);
}

.p-evlist-other__text {
  font-size: var(--fz-base);
  line-height: 2;
  color: var(--color-text);
  margin: 0 0 var(--space-lg);
}

.p-evlist-other__text em {
  color: var(--color-accent-orange);
  font-style: normal;
  font-weight: 700;
}

.p-evlist-other__illust-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-bottom: var(--space-lg);
}

.p-evlist-other__img {
  display: block;
  width: 60%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  border-radius: 50%;
}

.p-evlist-other__tag {
  position: absolute;
  background: #f5f0eb;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.p-evlist-other__tag--1 { top: 8%;  left: 10%; }
.p-evlist-other__tag--2 { top: 18%; right: 3%; }
.p-evlist-other__tag--3 { top: 42%; left: 5%; }
.p-evlist-other__tag--4 { top: 52%; right: 2%; }
.p-evlist-other__tag--5 { top: 72%; left: 15%; }
.p-evlist-other__tag--6 { top: 78%; right: 15%; }

.p-evlist-other__cta {
  min-width: 280px;
}

.p-evlist-other__note {
  font-size: var(--fz-sm);
  color: var(--color-text-sub);
  margin: var(--space-sm) 0 0;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .p-evlist-other__box {
    padding: var(--space-xl) var(--space-md);
  }
  .p-evlist-other__text {
    font-size: var(--fz-sm);
    line-height: 1.9;
  }
  .p-evlist-other__text br {
    display: none;
  }
  .p-evlist-other__cta {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }
  .p-evlist-other__tag {
    font-size: var(--fz-xs);
    padding: 4px 12px;
  }
}

/* ---------- COUNSELOR（トップ流用） ---------- */

.p-counselor {
  background-color: var(--color-bg-base);
  background-image: url(../images/common/common-bg.jpg);
  background-repeat: repeat;
}

.p-counselor__body {
  width: 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: flex-start;
  max-width: 900px;
}

.p-counselor__img {
  width: 100%;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.p-counselor__name {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-text);
  margin-bottom: 2px;
}

.p-counselor__romaji {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.p-counselor__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: 20px;
}

.p-counselor__tag {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
}

.p-counselor__career {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  text-align: justify;
}

.p-counselor__note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-accent-orange);
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid var(--color-accent-orange);
}

@media (max-width: 768px) {
  .p-counselor__body {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }
  .p-counselor__img {
    max-width: 220px;
    justify-self: center;
  }
  .p-counselor__tags {
    justify-content: center;
  }
}

/* ---------- 最終CTA（トップ流用） ---------- */

.p-final-cta {
  background: #fff;
  text-align: center;
}

.p-final-cta__title {
  font-family: var(--font-display);
  font-size: var(--fz-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.p-final-cta__img {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 0 var(--space-md);
}

.p-final-cta__text {
  font-size: var(--fz-md);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--color-text);
}

.p-final-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.p-final-cta__btns .c-btn {
  min-width: 260px;
}

.p-final-cta__btns .c-btn--primary {
  padding: 18px 48px;
  font-size: var(--fz-md);
  min-width: 320px;
  border-radius: var(--radius-md);
}

.p-final-cta__btns .c-btn--primary .c-btn__icon {
  width: 24px;
  height: 24px;
}

.p-final-cta__btns .c-btn--yellow {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-dark);
  font-size: var(--fz-sm);
}

.p-final-cta__note {
  font-size: var(--fz-sm);
  color: var(--color-text-sub);
  margin: var(--space-xs) 0 var(--space-md);
}

@media (max-width: 768px) {
  .p-final-cta__title {
    font-size: 20px;
    letter-spacing: 0.02em;
  }
  .p-final-cta__text {
    font-size: var(--fz-base);
    margin-bottom: var(--space-md);
  }
  .p-final-cta__btns {
    width: 100%;
  }
  .p-final-cta__btns .c-btn--primary {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    font-size: var(--fz-base);
  }
}
