@charset "UTF-8";
.p-event {
  --event-accent: #7fd7d3;
  --text: #111;
  --muted: rgba(17, 17, 17, 0.55);
  --ph: #d9d9d9;
  background-color: #fafafa;
  background: #fff;
  padding: 9rem 0 12rem;
}
.p-event__inner {
  width: 100%;
}
.p-event__main {
  text-align: center;
}
.p-event__media {
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  position: relative;
  background: var(--ph);
}
.p-event__img {
  width: 100%;
  height: auto;
  display: block;
}
.p-event__ph {
  width: 100%;
  height: 100%;
}
@supports selector(.p-event__media:has(img)) {
  .p-event__media:has(.p-event__img) .p-event__ph {
    display: none;
  }
}
.p-event__body {
  margin-top: 3.4rem;
}
.p-event__name {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 3rem;
  text-align: center;
  margin: 0 0 1.6rem;
}
.p-event__text {
  max-width: 76rem;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 3rem;
  color: var(--text);
  text-align: center;
}
.p-event .p-event__link {
  display: block;
  padding: 5px;
  font-weight: 700;
}
.p-event .p-event__link:hover {
  text-decoration: underline;
}
.p-event__links {
  max-width: 98rem;
  margin: 7rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5.6rem;
}

.p-event-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  background: var(--event-accent);
  text-decoration: none;
  overflow: hidden;
  background-size: 9rem auto;
}
.p-event-link--history {
  background: url(../images/twenty-anniversary/btn-history.svg) center center no-repeat;
  background-color: var(--event-accent);
}
.p-event-link--recruit {
  background: url(../images/twenty-anniversary/btn-recruit.svg) center center no-repeat;
  background-color: var(--event-accent);
}
.p-event-link__label {
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}
.p-event-link:hover {
  filter: brightness(0.98);
}

/* =========================
  SP
========================= */
@media (max-width: 767px) {
  .p-event {
    padding: 9rem 0 9rem;
  }
  .p-event__body {
    margin-top: 2.2rem;
    padding: 0 1.2rem;
    box-sizing: border-box;
  }
  .p-event__name {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  .p-event__text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--muted);
  }
  .p-event__links {
    margin-top: 3.2rem;
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .p-event-link {
    min-height: 11.8rem;
  }
  .p-event-link__label {
    font-size: 2.2rem;
  }
  .p-event-link__script {
    font-size: 6.4rem;
  }
}