/* 矢印 */

.c-arrow {
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  width: var(--arrow-w, 17px);
  height: var(--arrow-t, 1px);
}
.c-arrow::before,
.c-arrow::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  border-radius: 9999px;
}
.c-arrow::before {
  inset: 0;
}
.c-arrow::after {
  right: 0;
  top: 50%;
  width: calc(var(--arrow-w, 17px) * var(--arrow-barb, 0.36));
  height: var(--arrow-t, 1px);
  transform-origin: right center;
  transform: translateY(-50%) rotate(var(--arrow-ang, 45deg));
}

.c-arrow--up {
  width: var(--arrow-t, 1px);
  height: var(--arrow-w, 42px);
}
.c-arrow--up::after {
  right: auto;
  top: 0;
  left: 50%;
  width: var(--arrow-t, 1px);
  height: calc(var(--arrow-w, 42px) * var(--arrow-barb, 0.22));
  transform-origin: top center;
  transform: translateX(-50%) rotate(var(--arrow-ang, 40deg));
}

.c-arrow--down {
  width: var(--arrow-t, 1px);
  height: var(--arrow-w, 42px);
}
.c-arrow--down::after {
  right: auto;
  top: auto;
  bottom: 0;
  left: 50%;
  width: var(--arrow-t, 1px);
  height: calc(var(--arrow-w, 42px) * var(--arrow-barb, 0.22));
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(var(--arrow-ang, 40deg));
}

.c-chevron {
  display: inline-block;
  box-sizing: border-box;
  flex-shrink: 0;
  width: var(--chev, 9px);
  height: var(--chev, 9px);
  border-top: var(--chev-t, 1px) solid currentColor;
  border-right: var(--chev-t, 1px) solid currentColor;
  transform: rotate(45deg);
}

/* l-header */

.l-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: stretch;
  height: 60px;
  background-color: transparent;
  transition: background-color 0.4s ease;
}

.l-header.is-scrolled {
  background-color: #fff;
}

.l-header__nav {
  display: none;
}

.l-header__title {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  margin: 0;
  min-width: 0;

  padding-right: clamp(8px, 3vw, 18px);
  font-size: 0;
  background-color: var(--color-bg);
}

.l-header__logo-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
  padding-left: clamp(4px, 2.67vw, 10px);
  text-decoration: none;
  transition: opacity 0.2s ease;
  min-width: 0;
}

.l-header__logo-link:hover {
  opacity: 0.6;
}

.l-header__logo-img {

  width: clamp(90px, 37.3vw, 140px);
  height: auto;
  flex-shrink: 0;
}

.l-header__site-name {
  font-weight: var(--fw-bold);
  font-size: 12px;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  /* SP: ロゴ画像内「PEPPY KIDS CLUB」の行に高さを合わせる（画像下端寄りの余白ぶん下げる） */
  transform: translateY(clamp(1.5px, 0.9vw, 3.5px));
}

.l-header__entry {

  flex: 0 0 clamp(56px, 21.3vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: var(--fw-bold);
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease;
  text-align: center;
}

.l-header__entry:hover {
  opacity: 0.6;
}

.l-header__menu-btn {

  flex: 0 0 clamp(40px, 16vw, 60px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.l-header__menu-btn:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.l-header__menu-line {
  display: block;

  width: clamp(14px, 5.3vw, 20px);
  height: 2px;
  border-radius: 1px;
  background-color: var(--color-primary);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  transform-origin: center;
}

.l-header__menu-btn[aria-expanded="true"] {
  background-color: var(--color-bg-dark);
}

.l-header__menu-btn[aria-expanded="true"]:hover {
  background-color: var(--color-bg-dark);
  opacity: 0.6;
}

.l-header__menu-btn[aria-expanded="true"] .l-header__menu-line {
  background-color: var(--color-text-inverse);
}

.l-header__menu-btn[aria-expanded="true"] .l-header__menu-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.l-header__menu-btn[aria-expanded="true"] .l-header__menu-line:nth-child(2) {
  opacity: 0;
}

.l-header__menu-btn[aria-expanded="true"] .l-header__menu-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .l-header {
    height: var(--pc-header-height);
    background-color: transparent;
    align-items: stretch;
    padding-left: 26px;
  }


  .l-header__title {
    flex: 0 0 auto;
    padding-right: 0;
    background-color: transparent;
    align-items: stretch;
    margin-right: 18px;
  }


  .l-header__logo-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding-left: 0;
  }

  .l-header__logo-img {

    width: clamp(120px, 16vw, 240px);
  }


  .l-header__site-name {
    font-size: clamp(13px, 1.35vw, 18px);
    letter-spacing: 1px;
    padding-left: clamp(28px, 2.8vw, 54px);
    transform: none;
  }


  .l-header__entry {

    flex: 0 0 clamp(84px, calc(20.64vw - 74.5px), 200px);
    font-size: clamp(13px, 1.35vw, 18px);
  }


  .l-header__nav {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    min-width: 0;
  }

  .l-header__nav-list {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 824px;
    width: 100%;
    gap: 0;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
  }


  .l-header__nav-list > li {
    position: relative;
    display: flex;
    align-items: center;
  }

  .l-header__nav-link {
    display: flex;
    align-self: stretch;
    align-items: center;
    margin-left: 8px;
    gap: 10px;
    font-weight: var(--fw-medium);
    font-size: clamp(12px, 1.2vw, 15px);
    color: var(--color-text);
    white-space: nowrap;
    line-height: 1.3;
    text-decoration: none;
  }

  .l-header__nav-link .c-arrow {
    --arrow-w: clamp(10px, 1.1vw, 17px);
    color: #47b32f;
  }


  .l-header__nav-item--has-sub > .l-header__nav-link {
    position: relative;
    z-index: 1;
  }
  .l-header__nav-item--has-sub:hover,
  .l-header__nav-item--has-sub:focus-within {
    z-index: 5;
  }

  .l-header__subnav {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    min-width: max-content;
    margin: 0;
    padding: 85px 8px 16px 20px;
    list-style: none;
    background-color: rgba(245, 245, 245, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 0 0 20px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    pointer-events: none;
  }
  .l-header__nav-item--has-sub:hover > .l-header__subnav,
  .l-header__nav-item--has-sub:focus-within > .l-header__subnav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .l-header__subnav li { display: block; }

  .l-header__subnav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    font-weight: var(--fw-medium);
    font-size: clamp(12px, 1.2vw, 15px);
    line-height: 1.4;
    color: var(--color-text);
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  .l-header__subnav-link .c-arrow {
    --arrow-w: 12px;
    color: #47b32f;
  }
  .l-header__subnav-link:hover { opacity: 0.6; }

  .l-header__entry { margin-left: 2.5vw; }

  .l-header__menu-btn { display: none; }
}

/* l-nav */

.l-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  background-color: rgba(217, 217, 217, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.l-nav[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .l-nav {
    display: none !important;
  }
}

.l-nav__panel {
  position: relative;
  margin-left: 50px;
  background-color: var(--color-bg-dark);
  border-bottom-left-radius: 25px;

  padding: 27px 20px 38px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.l-nav[aria-hidden="false"] .l-nav__panel {
  transform: translateY(0);
}

.l-nav__list {
  list-style: none;
  margin: 0 0 35px 0;
  padding: 0;
}

.l-nav__item {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.l-nav__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.l-nav__row {
  display: flex;
  align-items: center;
}

.l-nav__row:has(.l-nav__toggle[aria-expanded="true"]) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.l-nav__link {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 0;
  color: var(--color-text-inverse);
  text-decoration: none;
  font-weight: var(--fw-medium);
  font-size: 15px;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.l-nav__link:hover {
  opacity: 0.6;
}

.l-nav__link-arrow {
  --arrow-w: 17px;
  color: rgba(255, 255, 255, 0.4);
}

.l-nav__toggle {
  flex: 0 0 auto;
  position: relative;
  padding: 30px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.l-nav__toggle::before,
.l-nav__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background-color: var(--color-text-inverse);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.l-nav__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.l-nav__toggle[aria-expanded="true"]::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.l-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.l-nav__sub.is-open {

  max-height: 1000px;
}

.l-nav__sub > li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 24px;
}

.l-nav__sub > li:first-child {
  border-top: none;
}

.l-nav__sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  color: var(--color-text-inverse);
  text-decoration: none;
  font-weight: var(--fw-medium);
  font-size: 14px;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.l-nav__sub-link:hover {
  opacity: 0.6;
}

.l-nav__outline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 22px 16px;
  margin: 0 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 5px;
  color: var(--color-text-inverse);
  text-decoration: none;
  font-weight: var(--fw-medium);
  font-size: 15px;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.l-nav__outline-btn:hover {
  opacity: 0.6;
}

.l-nav__cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.l-nav__cta-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 75px;
  border-radius: 5px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.l-nav__cta-button:hover {
  opacity: 0.6;
}

.l-nav__cta-button--entry {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  gap: 2px;
}

.l-nav__cta-entry-en {
  font-family: var(--ff-en);
  font-weight: 200;
  font-size: 30px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.l-nav__cta-entry-sub {
  font-weight: var(--fw-medium);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.l-nav__cta-button--contact {
  background-color: var(--color-bg);
  color: var(--color-primary);
  font-weight: var(--fw-medium);
  font-size: 16px;
}

.l-nav__cta-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  --arrow-w: 35px;

}

body.is-nav-open {
  overflow: hidden;
}

/* l-toplink */

.l-toplink {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: var(--z-bottomnav);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.l-toplink.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.l-toplink:hover {
  opacity: 0.6;
}

.l-toplink__arrow {
  --arrow-w: 42px;
  --arrow-barb: 0.24;
  color: var(--color-primary);
}

.l-toplink__label {
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* l-bottom-nav */

.l-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-bottomnav);
  display: flex;
  height: 60px;
  background-color: var(--color-bg-bottomnav);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}

.l-bottom-nav__card {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-bg-bottomnav);
  color: var(--color-text-inverse);
  font-weight: var(--fw-medium);
  font-size: 13px;
  letter-spacing: 1.82px;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.l-bottom-nav__card:hover {
  opacity: 0.6;
}

.l-bottom-nav__arrow {
  --chev: 7px;
  color: #5bb647;
}

body {
  padding-bottom: 50px;
}

@media (min-width: 768px) {
  .l-bottom-nav {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
  .l-toplink {
    bottom: 20px;
  }
}

/* c-news-card */

.c-news-card {
  display: flex;
  align-items: stretch;
  min-height: 50px;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.c-news-card:hover { opacity: 0.6; }

.c-news-card__cat {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  font-weight: var(--fw-medium);
  font-size: 13px;
  line-height: 1.25;
  /* 4文字カテゴリ名を2文字ずつ2行で折り返す（動的出力でも <br> 不要） */
  color: var(--color-text-inverse);
  text-align: center;
}

.c-news-card__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-bottom: 1px solid #ececec;
}

.c-news-card__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.c-news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.c-news-card__date {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.45px;
  line-height: 1;
  color: #b6b6b6;
  white-space: nowrap;
}

.c-news-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px 4px;
  border-radius: 2px;
  font-weight: var(--fw-medium);
  font-size: 9px;
  line-height: 1;
  color: #454545;
  white-space: nowrap;
}

.c-news-card__title {
  margin: 0;
  font-weight: var(--fw-regular);
  font-size: 11px;
  line-height: 1.8;
  color: #000;
}

.c-news-card__arrow {
  --arrow-w: 15px;
  color: #5bb647;
}

.c-news-card--new     .c-news-card__cat { background-color: var(--color-cat-new); }
.c-news-card--new     .c-news-card__tag { background-color: rgba(91, 182, 71, 0.4); }
.c-news-card--mid     .c-news-card__cat { background-color: var(--color-cat-mid); }
.c-news-card--mid     .c-news-card__tag { background-color: rgba(71, 110, 218, 0.4); }
.c-news-card--teacher .c-news-card__cat { background-color: var(--color-cat-teacher); }
.c-news-card--teacher .c-news-card__tag { background-color: rgba(255, 124, 93, 0.4); }
.c-news-card--general .c-news-card__cat { background-color: #7a7b88; }
.c-news-card--general .c-news-card__tag { background-color: rgba(122, 123, 136, 0.4); }

@media (min-width: 768px) {
  .c-news-card { min-height: 70px; }
  .c-news-card__cat { flex-basis: 70px; font-size: 16px; padding: 4px 14px; }
  .c-news-card__content {
    gap: 20px;
    padding: 8px 20px;
    border-bottom-color: #e2e2e2;
  }
  .c-news-card__meta { gap: 15px; }
  .c-news-card__date { font-size: 13px; letter-spacing: 0.66px; }
  .c-news-card__tag { padding: 5px 7px; border-radius: 3px; font-size: 13px; }
  .c-news-card__title { font-size: 16px; }
  .c-news-card__arrow { --arrow-w: 22px; }
}

/* c-news-list */

.c-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

@media (min-width: 768px) {
  .c-news-list {
    gap: 4px;
  }
}

/* c-philosophy-modal */

.c-philosophy-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.c-philosophy-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.c-philosophy-modal__panel {
  position: relative;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  background-color: var(--color-bg);
  min-height: 100vh;
}

.c-philosophy-modal__top {
  position: relative;
  width: 100%;
}

.c-philosophy-modal__top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -76px;
  height: 195px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFF 50%);
  pointer-events: none;
  z-index: 1;
}

.c-philosophy-modal__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 553;
  overflow: hidden;
  background-color: #E0EBF4;
}

.c-philosophy-modal__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  animation: modalHeroFade 20s infinite;
  animation-play-state: paused;
}

.c-philosophy-modal__hero img {
  animation-duration: 16s;
}
.c-philosophy-modal__hero img:nth-child(1) { animation-delay: -1s; }
.c-philosophy-modal__hero img:nth-child(2) { animation-delay: 3s; }
.c-philosophy-modal__hero img:nth-child(3) { animation-delay: 7s; }
.c-philosophy-modal__hero img:nth-child(4) { animation-delay: 11s; }

.c-philosophy-modal[aria-hidden="false"] .c-philosophy-modal__hero img {
  animation-play-state: running;
}

@keyframes modalHeroFade {
  0%      { opacity: 0; }
  6.25%   { opacity: 1; }
  25%     { opacity: 1; }
  31.25%  { opacity: 0; }
  100%    { opacity: 0; }
}

.c-philosophy-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.c-philosophy-modal__close:hover {
  opacity: 0.6;
}

.c-philosophy-modal__close img {
  display: block;
  width: 24px;
  height: 24px;
}

.c-philosophy-modal__top-icon {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 65px;
  height: auto;
  z-index: 2;
}

.c-philosophy-modal__heading {
  position: relative;
  z-index: 2;
  margin: 45px 0 24px;
  padding: 0 17.5px;
  font-family: var(--ff-serif);
  font-weight: var(--fw-medium);
  font-size: 28px;
  line-height: 1.59;
  color: var(--color-primary);
  text-align: center;
}

.c-philosophy-modal__body {
  position: relative;
  z-index: 2;
  padding: 0 17.5px 60px;
  font-weight: var(--fw-regular);
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  text-align: left;
}

.c-philosophy-modal__body p {
  margin: 0 0 1.8em;
}

.c-philosophy-modal__body p:last-child {
  margin-bottom: 0;
}

.c-philosophy-modal__footer {
  position: relative;
  z-index: 2;
  padding: 40px 17.5px 80px;
  text-align: center;
}

.c-philosophy-modal__peppy-logo {
  display: block;
  width: 100%;
  max-width: 311px;
  height: auto;
  margin: 0 auto 20px;
}

.c-philosophy-modal__pkc-logo {
  display: block;
  width: 100%;
  max-width: 212px;
  height: auto;
  margin: 0 auto;
}

body.is-modal-open {
  overflow: hidden;
}

/* l-footer */

.l-footer {
  margin-top: 75px;
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: 50px 0 40px;
  box-shadow: var(--sb-gutter) 0 0 0 var(--color-bg-dark);
}
.l-footer__inner {
  width: min(var(--pc-content-width), 100% - 36px);
  margin-inline: auto;
}

.l-footer__top {

  display: flex;
  flex-direction: column;
  align-items: center;
}

.l-footer__banner {
  display: block;
  width: 100%;
  max-width: 340px;
  transition: opacity 0.2s ease;
}
.l-footer__banner:hover { opacity: 0.6; }
.l-footer__banner img {
  display: block;
  width: 100%;
  height: auto;
}

.l-footer__sns {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}
.l-footer__sns-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.l-footer__sns-char {
  display: block;
  width: 26.5px;
  height: auto;
}
.l-footer__sns-title {
  margin: 0;
  font-weight: var(--fw-bold);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}
.l-footer__sns-title br { display: none; }
.l-footer__sns-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 20px 0 0;
  padding: 0;
}
.l-footer__sns-list a {
  display: block;
  transition: opacity 0.2s ease;
}
.l-footer__sns-list a:hover { opacity: 0.6; }
.l-footer__sns-list img {
  display: block;
  height: auto;
}
.l-footer__sns-list li:first-child img { width: 30px; }
.l-footer__sns-list li:last-child img  { width: 35px; }

.l-footer__nav {
  margin-top: 50px;
}

.l-footer__nav-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 24px;
}
.l-footer__nav-cols > .l-footer__nav-col:first-child,
.l-footer__nav-cols > .l-footer__nav-col:last-child {
  grid-column: 1 / -1;
}

.l-footer__nav-title {
  display: block;
  margin: 0 0 4px;
  font-weight: var(--fw-bold);
  font-size: 12px;
  line-height: 2.333;
  letter-spacing: 0.083em;
  color: var(--color-text-inverse);
  text-decoration: none;
}
.l-footer__nav-title--top {
  font-size: 10px;
  line-height: 2.8;
}
a.l-footer__nav-title:hover { opacity: 0.6; }

.l-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.l-footer__nav-list a,
.l-footer__nav-misc a {
  display: block;
  position: relative;
  padding-left: 27px;
  font-weight: var(--fw-regular);
  font-size: 12px;
  line-height: 2.5;
  letter-spacing: 0.083em;
  color: var(--color-text-inverse);
  text-decoration: none;
}

.l-footer__nav-list a::before,
.l-footer__nav-misc a::before,
.l-footer__nav-list a::after,
.l-footer__nav-misc a::after {
  content: "";
  position: absolute;
  left: 0;
  background-color: currentColor;
  border-radius: 9999px;
}
.l-footer__nav-list a::before,
.l-footer__nav-misc a::before {
  top: 0;
  width: 15px;
  height: 1px;

  transform: translateY(calc(1.25em - 0.5px));
}
.l-footer__nav-list a::after,
.l-footer__nav-misc a::after {
  top: 0;
  left: calc(15px - 5.4px);
  width: 5.4px;
  height: 1px;
  transform-origin: right center;
  transform: translateY(calc(1.25em - 0.5px)) rotate(55deg);
}
.l-footer__nav-list a:hover,
.l-footer__nav-misc a:hover { opacity: 0.6; }

.l-footer__nav-misc {
  list-style: none;
  margin: 50px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  column-gap: 40px;
}

.l-footer__legal {
  margin-top: 50px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.l-footer__legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}
.l-footer__legal-links li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: var(--fw-regular);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--color-text-inverse);
}
.l-footer__legal-links a {
  color: inherit;
}
.l-footer__legal-links a:hover { opacity: 0.6; }
.l-footer__copyright {
  margin: 16px 0 0;
  font-weight: var(--fw-regular);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
}

@media (min-width: 768px) {
  .l-footer {
    margin-top: 250px;
    padding: 100px 0 60px;
  }


  .l-footer__top {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(40px, 8vw, 105px);
  }
  .l-footer__banner {
    max-width: 450px;
    flex-shrink: 0;
  }

  .l-footer__sns {
    flex-direction: row;
    align-items: center;
    gap: 33px;
    margin-top: 0;
  }
  .l-footer__sns-head {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .l-footer__sns-char { width: 38px; }
  .l-footer__sns-title {
    font-size: 18px;
    line-height: 1.667;
    letter-spacing: 0.05em;
    text-align: center;
  }
  .l-footer__sns-title br { display: inline; }
  .l-footer__sns-list { margin: 0; gap: 37px; }
  .l-footer__sns-list li:first-child img { width: 40px; }
  .l-footer__sns-list li:last-child img  { width: 47px; }


  .l-footer__nav {
    margin-top: 110px;
  }
  .l-footer__nav-cols {
    display: flex;
    justify-content: flex-start;
    column-gap: clamp(40px, 6vw, 86px);
    row-gap: 0;
  }
  .l-footer__nav-cols > .l-footer__nav-col {
    flex: 0 0 auto;
  }
  .l-footer__nav-cols > .l-footer__nav-col:first-child,
  .l-footer__nav-cols > .l-footer__nav-col:last-child {
    grid-column: auto;
  }
  .l-footer__nav-title {
    font-weight: var(--fw-medium);
    font-size: 14.586px;
    line-height: 2.8;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .l-footer__nav-title--top {
    font-weight: var(--fw-bold);
    font-size: 14px;
  }
  .l-footer__nav-list a,
  .l-footer__nav-misc a {
    padding-left: 43px;
    background-size: 23px auto;
    font-size: 14px;
    line-height: 2.857;
    letter-spacing: 0.09em;
  }

  .l-footer__nav-list a::before,
  .l-footer__nav-misc a::before {
    transform: translateY(calc(1.4285em - 0.5px));
  }
  .l-footer__nav-list a::after,
  .l-footer__nav-misc a::after {
    transform: translateY(calc(1.4285em - 0.5px)) rotate(55deg);
  }

  .l-footer__nav-misc {
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(30px, 5vw, 80px);
  }


  .l-footer__legal {
    margin-top: 70px;
    padding: 19px 0;
  }
  .l-footer__legal-links { gap: 8px 40px; }
  .l-footer__legal-links li { font-size: 14px; letter-spacing: 0.1em; gap: 0; }
  .l-footer__copyright {
    margin-top: 22px;
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .l-footer__nav-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(24px, 4vw, 60px);
    row-gap: 36px;
  }
}

/* c-entry */

.c-entry {
  position: relative;
  padding-top: 103px;
}

.c-entry__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.c-entry__photos { display: none; }

.c-entry__heading {
  margin: -30px 0 0;
  padding: 0 20px;
  font-weight: 500;
  font-size: 25px;
  line-height: 1.6;
  color: var(--color-primary);
  text-align: center;
}
.c-entry__heading-star { color: #fabe00; }

.c-entry__body {
  margin: 35px 0 0;
  padding: 0 41px;
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}
.c-entry__body p { margin: 0 0 2em; }
.c-entry__body p:last-child { margin-bottom: 0; }

.c-entry__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: calc(100% - 35px);
  max-width: 340px;
  height: 116px;
  margin: 40px auto 0;
  container-type: inline-size;
  border-radius: 10px;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.c-entry__btn:hover { opacity: 0.6; }
.c-entry__btn-main {
  font-weight: 700;
  font-size: 5.294cqw;
  letter-spacing: 0.05em;
  line-height: 1;
}
.c-entry__btn-en {
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: 4.706cqw;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}
.c-entry__btn-arrow {
  position: absolute;
  right: 6.176cqw;
  top: 50%;
  transform: translateY(-50%);
  --arrow-w: 11.47cqw;
  color: var(--color-text-inverse);
}

@media (min-width: 768px) {
  .c-entry {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 0;
    padding-bottom: 0;
  }
  .c-entry__visual { display: none; }

  .c-entry__inner {
    order: 1;
    flex: 1;
    min-width: 0;
    padding-top: 250px;
    padding-left: max(var(--pc-content-gutter), calc((100vw - var(--pc-content-width)) / 2));
    padding-right: 40px;
  }

  .c-entry__photos {
    display: block;
    order: 2;
    flex: 0 0 clamp(300px, 41.67%, 800px);
    position: relative;
    margin-top: 250px;
  }
  .c-entry__photos img {
    display: block;
    width: 100%;
    height: auto;
  }
  .c-entry__photos::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(245, 245, 245, 0) 49%, #f5f5f5 84%);
    pointer-events: none;
  }

  .c-entry__heading {
    margin: 0 0 80px;
    padding: 0;
    max-width: 512px;
    font-size: 40px;
    text-align: left;
  }
  .c-entry__body {
    margin: 0;
    padding: 0;
    max-width: 512px;
  }
  .c-entry__btn-wrap {
    order: 3;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    padding: 80px 0 0;
  }
  .c-entry__btn {
    width: 100%;
    max-width: 580px;
    height: 130px;
    margin: 0;
    border-radius: 8px;
    gap: 4px;
  }
  .c-entry__btn-main {
    font-size: 20px;
    letter-spacing: 0.16em;
  }
  .c-entry__btn-en {
    font-size: 17.4px;
    letter-spacing: 0.06em;
  }
  .c-entry__btn-arrow {
    right: 36px;
    --arrow-w: 59px;
    --arrow-barb: 0.25;
  }
}

/* 採用カテゴリ詳細 */

.c-recruit {
  padding: 85px 17.5px 0;
}

.c-recruit__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.c-recruit-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 680 / 289.71;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text-inverse);
  transition: opacity 0.2s ease;
}
.c-recruit-card:hover { opacity: 0.6; }

.c-recruit-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.c-recruit-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.c-recruit-card:hover .c-recruit-card__photo img {
  transform: scale(1.05);
}

.c-recruit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(99, 103, 112, 0) 28.68%, var(--color-bg-dark) 51.19%);
  pointer-events: none;
}

.c-recruit-card__content {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 55%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 8px;
  text-align: center;
}

.c-recruit-card__title {
  margin: 0;
  font-family: var(--ff-serif);
  font-weight: var(--fw-regular);
  line-height: 1.55;
}
.c-recruit-card__title-main { font-size: 20px; }
.c-recruit-card__title-sub  { font-size: 12px; }

.c-recruit-card--teacher .c-recruit-card__title-sub {
  display: block;
  font-size: 10px;
}

.c-recruit-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-en);
  font-weight: var(--fw-medium);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--color-text-inverse);
}
.c-recruit-card__more .c-arrow {
  --arrow-w: 40px;
}

@media (min-width: 768px) {
  .c-recruit {
    width: min(var(--pc-content-width), 100% - var(--pc-content-gutter) * 2);
    margin-inline: auto;
    padding: 250px 0 0;
  }
  .c-recruit__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .c-recruit-card {
    aspect-ratio: 1;
  }
  .c-recruit-card::before {
    background: linear-gradient(to bottom, rgba(99, 103, 112, 0) 48.13%, var(--color-bg-dark) 64.5%);
  }
  .c-recruit-card__content {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: max(51.875%, 150px);
    gap: 16px;
    padding: 0 10px;
  }
  .c-recruit-card__title {
    min-height: 75px;
  }
  .c-recruit-card__title-main { font-size: 30px; }
  .c-recruit-card__title-sub {
    display: block;
    font-size: 18px;
  }
  .c-recruit-card--teacher .c-recruit-card__title-sub {
    font-size: 18px;
  }
  .c-recruit-card__more {
    font-size: 12px;
    gap: 10px;
    letter-spacing: 0.04em;
  }
  .c-recruit-card__more .c-arrow {
    --arrow-w: 33px;
    --arrow-barb: 0.25;
  }
}

/* c-crosstalk-card */

.c-crosstalk-card {
  margin: 0;
}
.c-crosstalk-card + .c-crosstalk-card {
  margin-top: 35px;
}
.c-crosstalk-card__link {
  display: block;
  transition: opacity 0.2s ease;
}
.c-crosstalk-card__link:hover {
  opacity: 0.6;
}
.c-crosstalk-card__link picture,
.c-crosstalk-card__link img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .c-crosstalk-card + .c-crosstalk-card {
    margin-top: 45px;
  }
}

/* c-staff-card */

.c-staff-card {
  display: flex;
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.c-staff-card:hover { opacity: 0.6; }

.c-staff-card__photo {
  width: 50%;
  height: auto;
  aspect-ratio: 340 / 300;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.c-staff-card:hover .c-staff-card__photo {
  transform: scale(1.05);
}

.c-staff-card__content {
  flex: 1;
  position: relative;
  z-index: 1;
  background-color: #636770;
  color: var(--color-text-inverse);
  border-radius: 0 5px 5px 0;
  padding: 6vw 5.333vw;
  display: flex;
  flex-direction: column;
  gap: 2.667vw;
}

.c-staff-card__label {
  margin: 0;
  font-family: var(--ff-en);
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.c-staff-card__job { margin: 0; }

.c-staff-card__role {
  margin: 0;
  font-weight: var(--fw-bold);
  font-size: 11px;
  line-height: 1.34;
  overflow-wrap: break-word;
}

.c-staff-card__name {
  margin: 1.333vw 0 0;
  font-weight: var(--fw-bold);
  font-size: 18px;
  line-height: 1.34;
}

.c-staff-card__more {
  margin-top: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ff-en);
  font-weight: var(--fw-medium);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: #92EE7D;
  line-height: 1;
}

.c-staff-card__more .c-arrow { --arrow-w: 40px; }

@media (min-width: 768px) {

  .c-staff-card {
    flex-direction: column;
    border-radius: 10px;
  }

  .c-staff-card__photo {
    width: 100%;
  }

  .c-staff-card__content {
    border-radius: 0 0 10px 10px;
    padding: 20px 24px;
    gap: 12px;
  }

  .c-staff-card__label { font-size: 14px; }

  .c-staff-card__job {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
  }

  .c-staff-card__role {
    margin: 0;
    font-size: 14px;
  }

  .c-staff-card__name {
    margin: 0;
    font-size: 20px;
  }

  .c-staff-card__more {
    gap: 10px;
    font-size: 12px;
  }

  .c-staff-card__more .c-arrow {
    --arrow-w: 30px;
    --arrow-barb: 0.25;
  }
}

/* c-cta-more */

.c-cta-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 40px;
  border: 1px solid var(--color-primary);
  border-radius: 9999px;
  background-color: #fff;
  color: var(--color-primary);
  font-weight: var(--fw-bold);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.10);
  transition: opacity 0.2s ease;
}

.c-cta-more:hover { opacity: 0.6; }

.c-cta-more .c-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  --arrow-w: 26px;
  --arrow-barb: 0.18;
}

@media (min-width: 768px) {
  .c-cta-more {
    height: 50px;
    font-size: 14px;
  }

  .c-cta-more .c-arrow { --arrow-w: 31px; }
}

/* c-stat-badge */

.c-stat-badge {
  border-radius: 50%;
  aspect-ratio: 1;
  background-color: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.c-stat-badge__label {
  font-weight: var(--fw-bold);
  font-size: 11px;
  margin: 0;
  display: block;
  line-height: 1.5;
}

.c-stat-badge__num {
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 0;
}

.c-stat-badge__unit {
  font-size: 13px;
}

@media (min-width: 768px) {
  .c-stat-badge__num { font-size: 28px; }
}

.c-stat-badge--triangle {
  position: absolute;
  width: 45%;
  container-type: inline-size;
  padding: 0;
}

.c-stat-badge--triangle .c-stat-badge__label,
.c-stat-badge--triangle .c-stat-badge__num {
  position: absolute;
  left: 50%;
  width: 100%;
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.5;
  white-space: nowrap;
}

.c-stat-badge--triangle .c-stat-badge__label {
  font-size: 10.667cqw;
  letter-spacing: 0.05em;
}

.c-stat-badge--triangle .c-stat-badge__label--peppy { font-size: 9.7cqw; font-family: var(--ff-en); }
.c-stat-badge--triangle .c-stat-badge__label--sub   { font-size: 8cqw; }

.c-stat-badge--triangle .c-stat-badge__num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1cqw;
  font-family: var(--ff-en);
  font-size: 32cqw;
}

.c-stat-badge--triangle .c-stat-badge__unit { font-size: 10.667cqw; }

.c-stat-badge--schools { left: 27.425%; top: 0; }
.c-stat-badge--members { left: 0;       top: 46.45%; }
.c-stat-badge--stars   { left: 55%;     top: 46.45%; }

.c-stat-badge--schools .c-stat-badge__label:first-child { top: 24.33%; }
.c-stat-badge--schools .c-stat-badge__num               { top: 51.67%; }
.c-stat-badge--schools .c-stat-badge__label:last-child  { top: 75.67%; }

.c-stat-badge--members .c-stat-badge__label { top: 26.67%; }
.c-stat-badge--members .c-stat-badge__num   { top: 55.33%; }

.c-stat-badge--stars .c-stat-badge__label--peppy     { top: 28%; }
.c-stat-badge--stars .c-stat-badge__label--sub       { top: 40.67%; }
.c-stat-badge--stars .c-stat-badge__num              { top: 60.33%; }
.c-stat-badge--stars .c-stat-badge__label:last-child { top: 80%; }

/* c-stat-triangle */

.c-stat-triangle {
  position: relative;
  width: 100%;
  aspect-ratio: 681 / 571;
}

.c-stat-triangle__note {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--color-text);
  white-space: nowrap;
  margin: 0;
}

@media (min-width: 768px) {
  .c-stat-triangle__note {
    font-size: 12px;
  }
}

/* c-crosstalk */

.c-crosstalk {
  padding: 50px 20px 0;
}

@media (min-width: 768px) {
  .c-crosstalk {
    width: min(var(--pc-content-width), 100% - var(--pc-content-gutter) * 2);
    margin-inline: auto;
    padding: 54px 0 0;
  }
}

/* c-section-head */

.c-section-head {}

.c-section-head__en:not(.u-sp-only):not(.u-pc-only) { display: block; }

.c-section-head__en {
  font-family: var(--ff-en);
  font-weight: 200;
  font-size: 44px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: -5px;
}

.c-section-head__jp {
  margin: 0;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .c-section-head__en { font-size: clamp(60px, 5.5vw, 88px); margin-bottom: -10px; }
  .c-section-head__jp { font-size: 20px; }
}

/* c-banner-cta */

.c-banner-cta {
  display: block;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.c-banner-cta:hover { opacity: 0.6; }

.c-banner-cta:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.c-banner-cta img {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.10));
}

/* c-people-list */

.c-people-list {
  list-style: none;
  padding: 0 17.5px;
  margin: 50px 0 25px;
}

.c-people-list > li { margin: 0 0 10px; }
.c-people-list > li:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .c-people-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 5vw, 50px);
    width: min(var(--pc-content-width), 100% - var(--pc-content-gutter) * 2);
    padding: 0;
    margin: 250px auto 32px;
  }
  .c-people-list > li { margin: 0; }
}

/* PEPPY★STARs 一覧への導線。見た目は c-cta-more、位置決め（中央寄せ）はこのクラスが担う */
.c-people-more {
  display: flex;
  width: 150px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .c-people-more { width: 200px; }
}

/* c-job-card */

.c-job-card {
  display: block;
  width: 100%;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.c-job-card:hover {
  opacity: 0.6;
}

.c-job-card picture,
.c-job-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* c-intro */

.c-intro {
  display: flex;
  flex-direction: column;
  padding-block: 102px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.c-intro__text { display: contents; }

.c-intro__heading {
  order: 1;
  margin: 0 0 20px;
  padding-inline: 17.5px;
  font-family: var(--ff-serif);
  font-weight: var(--fw-regular);
  font-size: 25px;
  line-height: 1.6;
  color: var(--color-text);
  text-align: left;
}

.c-intro__marquee {
  order: 2;
  width: 100%;
  overflow: hidden;
  height: 353px;
  margin-bottom: 35px;
}

.c-intro__marquee-track {
  display: flex;
  gap: 3px;
  width: max-content;
  height: 100%;
  animation: introMarquee var(--mq-duration, 30s) linear infinite;
}

.c-intro__marquee-track img {
  flex-shrink: 0;
  width: 150px;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  align-self: flex-end;
}

.c-intro__marquee-track img:nth-child(even) {
  align-self: flex-start;
}

@keyframes introMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--mq-shift, -50%)); }
}

.c-intro__body {
  order: 3;
  margin: 0 0 35px;
  padding-inline: 17.5px;
  font-weight: var(--fw-medium);
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  text-align: left;
}

.c-intro__body p { margin: 0 0 1.6em; }
.c-intro__body p:last-child { margin-bottom: 0; }

.c-intro__cta {
  order: 4;
  width: calc(100% - 40px);
  margin: 0 auto;
  transition: all .4s ease;
}

.c-intro__cta:hover {
  opacity: .6;
}

@media (min-width: 768px) {
  .c-intro {
    display: block;
    position: relative;
    padding: 224px 0 4px;
    overflow: hidden;
  }

  .c-intro__marquee {
    position: absolute;
    top: 467px;
    left: 0;
    width: 100%;
    height: 600px;
    margin: 0;
    z-index: 1;
  }

  .c-intro__marquee-track {
    gap: 6px;
  }

  .c-intro__marquee-track img {
    width: 255px;
    height: 510px;
    border-radius: 0;
  }

  .c-intro__text {
    display: block;
    position: relative;
    z-index: 2;
    width: 558px;
    margin-left: max(0px, calc(50% - 500px));
    background: #fff;
    border-radius: 20px;
    padding: 80px 60px;
  }

  .c-intro__heading {
    margin: 0 0 50px;
    padding: 0;
    font-weight: var(--fw-medium);
    font-size: 34px;
    line-height: 1.588;
  }

  .c-intro__body {
    margin: 0;
    padding: 0;
    font-size: 16px;
  }

  .c-intro__cta {
    position: relative;
    z-index: 2;
    width: calc(100% - 60px);
    max-width: 1000px;
    margin: 100px auto 0;
  }
}

/* c-people */

.c-people {
  position: relative;
}

.c-people__heading {
  margin: 0 0 20px;
  padding: 0 17.5px;
  text-align: left;
}

.c-people__heading-main {
  margin: 0 0 6px;
  font-family: var(--ff-serif);
  font-weight: var(--fw-medium);
  font-size: 25px;
  line-height: 1.6;
  color: var(--color-primary);
}

/* /job/ など英語ワードマーク見出しを使うページ用 */
.c-people__heading-en {
  display: block;
  width: 298px;
  max-width: 79.5%;
  height: auto;
  margin: 0 auto 6px 0;
}

.c-people__heading-jp {
  margin: 0;
  font-weight: var(--fw-bold);
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.c-people__heading-star {
  color: #fabe00;
}

.c-people__jobs {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.c-people__jobs > li {
  margin: 0;
}

/* 職種キャッチ（SPコラージュ用）— PC/デフォルトでは非表示（PCは焼き込みバナー画像を使用） */
.c-people__job-body {
  display: none;
}

/* SP: 3枚を横並びコラージュ（写真は下端フェード、キャッチ＋ラベルを重ねる） */
@media (max-width: 767px) {
  .c-people__jobs {
    position: relative;
    display: flex;
    align-items: start;
  }

  .c-people__job {
    position: relative;
    width: calc(100% / 3);
    aspect-ratio: 250 / 338;
  }

  /* 設計順（左→右: 営業 / 企画・運営 / 講師）へ視覚的に並べ替え。
     DOM順は 営業 / 講師 / 企画・運営（＝PC表示順）のまま維持する。 */
  .c-people__job:nth-child(2) { order: 3; } /* 講師 → 右 */
  .c-people__job:nth-child(3) { order: 2; } /* 企画・運営 → 中央 */

  .c-people__job picture {
    position: absolute;
    inset: 0;
  }

  .c-people__job-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    -webkit-mask-image: linear-gradient(to bottom, #000 46%, transparent 74%);
            mask-image: linear-gradient(to bottom, #000 46%, transparent 74%);
  }

  .c-people__job-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ラベルとキャッチの左端を揃える */
    gap: 1.6vw;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%); /* ブロック自体はカラム中央に配置 */
  }

  .c-people__job-label {
    display: inline-flex;
    align-items: center;
    padding: 0.5vw 1.6vw;
    border: 1.5px solid rgba(91, 182, 71, 0.5);
    background: rgba(255, 255, 255, 0.5);
    font-family: var(--ff-zen);
    font-weight: var(--fw-bold);
    font-size: clamp(9px, 2.66vw, 12px);
    line-height: 1.34;
    color: var(--color-primary);
    white-space: nowrap;
  }

  .c-people__job-catch {
    font-family: var(--ff-serif);
    font-weight: var(--fw-medium);
    font-size: clamp(16px, 5.33vw, 22px);
    line-height: 1.2;
    color: var(--color-primary);
    text-shadow: 0 0 8px #fff, 0 0 4px #fff;
    white-space: nowrap;
    text-align: left;
  }

  /* 3連星の装飾を2箇所に配置 */
  .c-people__jobs::before,
  .c-people__jobs::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 11.7vw;
    aspect-ratio: 87.7 / 50.9;
    background: url(/assets/images/common/people-stars.svg) no-repeat center / contain;
    pointer-events: none;
  }

  /* 各星クラスタは、星1つだけが中央画像（企画・運営）に完全に重なる位置に配置 */
  .c-people__jobs::before { left: 25%;   top: 54%; } /* 下側：右端の星のみ中央画像に重なる */
  .c-people__jobs::after  { left: 63.4%; top: 14%; } /* 上側：左端の星のみ中央画像に重なる */
}

.c-people__lead {
  padding: 0 17.5px;
  margin: 0;
  font-weight: var(--fw-medium);
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  text-align: left;
}

.c-people__lead p {
  margin: 0 0 2em;
}

.c-people__lead p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .c-people {
    padding: 250px 0 0;
  }

  .c-people__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 50vw, 800px);
    grid-template-rows: auto auto;
    column-gap: clamp(30px, 4vw, 100px);
    row-gap: 80px;
    align-items: start;
    padding-left: max(var(--pc-content-gutter), calc(50% - 500px));
    padding-right: 0;
  }

  .c-people__heading {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding: 0;
    max-width: 480px;
    text-align: left;
  }

  .c-people__heading-main {
    margin: 0 0 6px;
    font-size: 40px;
  }

  .c-people__heading-en {
    width: 479px;
    max-width: 100%;
    margin: 0 0 26px;
  }

  .c-people__heading-jp {
    font-size: 20px;
  }

  .c-people__lead {
    grid-column: 1;
    grid-row: 2;
    max-width: 480px;
    padding: 0;
    margin: 0;
  }

  .c-people__lead .u-br-sp {
    display: none;
  }

  .c-people__jobs {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }
}
