@charset "UTF-8";

.facp-lead {
  line-height: 40px;
}

.facp-intro {
  position: relative;
  overflow: hidden;
  padding-bottom: 118px;
}

.facp-intro::before {
  content: "";
  position: absolute;
  right: 0;
  top: 155px;
  width: 513px;
  height: 255px;
  background: linear-gradient(90deg, rgba(126, 206, 244, 0.5), rgba(196, 182, 217, 0.5));
}

.js-anim .facp-intro::before {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition:
    transform 2.4s var(--ease-soft) 0.4s,
    opacity 3s ease-in-out 0.4s;
}

.js-anim .facp-intro.is-inview::before {
  opacity: 1;
  transform: none;
}

.split--facp {
  grid-template-columns: minmax(0, 1fr) 487px;
  margin: 67px 0 118px;
}

.split--facp .split__media {
  order: 2;
}

.split--facp .split__media .img-ph {
  aspect-ratio: 524 / 302;
  border-radius: 0;
  object-fit: cover;
}

@media (min-width: 768px) {
  .split--facp h4 {
    margin-top: -2px;
  }
  .split--facp .split__text p {
    line-height: 33.5px;
  }
}

.deco--facp-intro-l { top: 707px; height: 130px; }
.deco--facp-intro-l .img-ph {
  left: calc(50% - 595px);
  width: 105px;
  animation: deco-float-b 7.5s ease-in-out infinite;
}

.facp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 41px;
}

.facp-steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 232px;
  padding: 25px 12px 28px;
  border-radius: 8px;
  background: #fff;
}

.facp-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 11px);
  top: 50%;
  width: 20px;
  height: 36px;
  background: #8cb4e3;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
}

.facp-steps__title {
  padding-bottom: 2px;
  background: var(--gradient-accent) left bottom / 100% 4px no-repeat;
  color: #3f3a39;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-family: var(--font-family-noto);
}

.facp-steps__icon {
  width: 110px;
  margin-top: 18px;
}

.facp-steps__icon .img-ph,
.facp-steps__icon img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.js-anim .facp-steps.js-inview .facp-steps__item {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.6s var(--ease-soft),
    transform 0.6s var(--ease-soft);
}

.js-anim .facp-steps.js-inview .facp-steps__item::after {
  opacity: 0;
  translate: -10px 0;
  transition:
    opacity 0.4s var(--ease-soft),
    translate 0.4s var(--ease-soft);
}

.js-anim .facp-steps.js-inview.is-inview .facp-steps__item {
  opacity: 1;
  transform: none;
}

.js-anim .facp-steps.js-inview.is-inview .facp-steps__item::after {
  opacity: 1;
  translate: 0 0;
}

.js-anim .facp-steps.js-inview .facp-steps__item:nth-child(2) { transition-delay: 0.4s; }
.js-anim .facp-steps.js-inview .facp-steps__item:nth-child(3) { transition-delay: 0.8s; }
.js-anim .facp-steps.js-inview .facp-steps__item:nth-child(4) { transition-delay: 1.2s; }
.js-anim .facp-steps.js-inview .facp-steps__item:nth-child(1)::after { transition-delay: 0.25s; }
.js-anim .facp-steps.js-inview .facp-steps__item:nth-child(2)::after { transition-delay: 0.65s; }
.js-anim .facp-steps.js-inview .facp-steps__item:nth-child(3)::after { transition-delay: 1.05s; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .facp-steps.js-inview .facp-steps__item,
  .js-anim .facp-steps.js-inview .facp-steps__item::after {
    opacity: 1;
    transform: none;
    translate: 0 0;
    transition: none;
  }
}

.facp-message {
  margin-top: 42px;
  color: #3f3a39;
  font-size: 28px;
  font-weight: 500;
  line-height: 57px;
  letter-spacing: 0.03em;
  text-align: center;
  font-family: var(--font-family-noto);
  font-feature-settings: "halt";
}

.facp-message__line {
  padding-bottom: 2px;
  background: var(--gradient-accent) left bottom / 100% 3px no-repeat;
  white-space: nowrap;
}

#faculty .facp-elements__head {
  margin-top: 76px;
}

.js-anim .facp-elements.js-stagger > :nth-child(1) { transition-delay: 0.2s; }
.js-anim .facp-elements.js-stagger > :nth-child(2) { transition-delay: 0.45s; }
.js-anim .facp-elements.js-stagger > :nth-child(3) { transition-delay: 0.7s; }
.js-anim .facp-elements.js-stagger > :nth-child(4) { transition-delay: 0.95s; }
.js-anim .facp-elements.js-stagger > :nth-child(5) { transition-delay: 1.2s; }

.js-anim .facp-power__list.js-stagger > * {
  transform: translateX(-24px);
}

.js-anim .facp-power__list.js-stagger.is-inview > * {
  transform: none;
}

.js-anim .facp-power__list.js-stagger > :nth-child(1) { transition-delay: 0.2s; }
.js-anim .facp-power__list.js-stagger > :nth-child(2) { transition-delay: 0.45s; }
.js-anim .facp-power__list.js-stagger > :nth-child(3) { transition-delay: 0.7s; }
.js-anim .facp-power__list.js-stagger > :nth-child(4) { transition-delay: 0.95s; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .facp-power__list.js-stagger > * {
    transform: none;
  }
}

.facp-elements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 22px;
}

.facp-elements__card {
  width: calc((100% - 44px) / 3);
  min-height: 323px;
  padding: 33px 18px 30px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(60, 70, 110, 0.15);
  text-align: center;
}

.facp-elements__name {
  width: 245px;
  max-width: 100%;
  height: 50px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: #231815;
  font-size: 21px;
  font-weight: 600;
  line-height: 50px;
  letter-spacing: 0.05em;
  text-align: center;
}

.facp-elements__text {
  margin-top: 25px;
  color: #231815;
  font-size: 16px;
  line-height: 35px;
  letter-spacing: 0.1em;
  font-family: var(--font-family-noto);
}

.facp-power {
  position: relative;
  padding-block: 115px 120px;
  background: #fff;
}

.facp-power,
.facp-career {
  scroll-margin-top: var(--header-height);
}

.deco--facp-power-r { top: -57px; height: 179px; }
.deco--facp-power-r .img-ph {
  left: calc(50% + 407px);
  width: 133px;
  animation: deco-float-c 9s ease-in-out infinite;
  animation-delay: -4s;
}

.facp-power__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.facp-power__card {
  min-height: 197px;
  padding: 31px 22px 28px;
  border-radius: 10px;
  background: var(--gradient-base);
}

.facp-power__title {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0;
  font-size: 19px;
  text-align: left;
}

.facp-power__num {
  flex: none;
  color: #3f3a39;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  font-family: var(--font-family-lexend);
}

.facp-power__name {
  padding: 2px 6px;
  background: #fff;
  color: #3f3a39;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  font-family: var(--font-family-noto);
  font-feature-settings: "halt";
}

.facp-power__text {
  margin-top: 22px;
  padding-left: 3px;
  color: #231815;
  font-size: 15px;
  line-height: 27px;
  letter-spacing: 0.03em;
  font-family: var(--font-family-noto);
}

.facp-career {
  padding-block: 108px 199px;
}

.facp-career::before {
  display: none;
}

.facp-career .career__cards {
  margin-top: 0;
}

.facp-career .h3_sub {
  line-height: 46px;
}

@media (max-width: 1000px) {
  .facp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
    column-gap: 40px;
  }

  .facp-steps__item:nth-child(2n)::after {
    display: none;
  }
  .facp-elements__card {
    width: calc((100% - 24px) / 2);
  }
  .facp-power__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .facp-lead,
  .facp-career .h3_sub {
    line-height: 1.9;
  }
  .facp-lead br {
    display: none;
  }
  .facp-intro {
    padding-bottom: 72px;
  }
  .facp-intro::before {
    top: 100px;
    width: 55%;
    height: 120px;
  }
  .split--facp {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
    margin: 32px 0 56px;
  }
  .split--facp .split__media {
    order: 0;
    margin-right: 0;
  }

  .facp-steps {
    column-gap: 12px;
    row-gap: 12px;
  }
  .facp-steps__item {
    min-height: 0;
    padding: 18px 8px 20px;
  }
  .facp-steps__item::after,
  .facp-steps__item:not(:last-child)::after {
    display: none;
  }
  .facp-steps__title {
    font-size: 15px;
  }
  .facp-steps__icon {
    width: 72px;
    margin-top: 12px;
  }
  .facp-message {
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.9;
    letter-spacing: 0.05em;
  }
  .facp-message__line {
    display: inline-block;
    white-space: normal;
  }
  .facp-message br {
    display: none;
  }

  #faculty .facp-elements__head {
    margin-top: 64px;
  }
  .facp-elements {
    gap: 16px;
  }
  .facp-elements__card {
    width: 100%;
    min-height: 0;
    padding: 24px 20px;
  }
  .facp-elements__name {
    height: 44px;
    font-size: 18px;
    line-height: 44px;
  }
  .facp-elements__text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.05em;
  }
  .facp-elements__text br {
    display: none;
  }

  .facp-power {
    padding-block: 72px;
  }
  .deco--facp-power-r {
    top: -40px;
  }
  .facp-power__list {
    gap: 16px;
  }
  .facp-power__card {
    min-height: 0;
    padding: 24px 20px;
  }
  .facp-power__title {
    gap: 12px;
  }
  .facp-power__num {
    font-size: 32px;
  }
  .facp-power__name {
    font-size: 16px;
    letter-spacing: 0.05em;
  }
  .facp-power__text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.9;
  }
  .facp-power__text br {
    display: none;
  }

  .facp-power__text {
    letter-spacing: 0.05em;
  }
  .facp-power__title {
    font-size: 20px;
  }
  .facp-elements__name {
    width: 253px;
  }

  .facp-career {
    padding-block: 72px;
  }

  .facp-career .h3_sub {
    margin-bottom: 0;
  }
  .facp-career .career__cards {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-anim .facp-intro::before {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.facp-message__tail {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .facp-message {
    font-size: min(18px, calc((100vw - 40px) / 17.2));
  }
  .facp-message__line {
    white-space: nowrap;
  }
}

.facp-power__num img {
  display: block;
  width: auto;
  height: 36px;
}

@media (max-width: 767px) {
  .facp-power__num img {
    height: 28px;
  }
}
