/* ===============================================================
 company page
===============================================================*/
html {
  scroll-padding-top: 0;
}
@media screen and (max-width: 980px) {
  html {
    scroll-padding-top: 5.4rem;
  }
}

.fx-title text {
  font-family: "Overused Grotesk", sans-serif;
  font-weight: 400;
}

.company-message {
  padding: 8.5rem 0 5.2rem;
  background: url(../img/company/message-bg.webp) no-repeat top center/cover;
}
@media screen and (max-width: 834px) {
  .company-message {
    padding: 5rem 0;
  }
}
.company-message__fig {
  margin-bottom: 3rem;
}
.company-message__fig .c-catch02 {
  margin-top: -3.4rem;
}
.company-message__img {
  margin-left: -5.5%;
}
.company-message__name {
  margin-top: 3.5rem;
  text-align: right;
}
@media screen and (max-width: 834px) {
  .company-message__name {
    margin-top: 1em;
  }
}
.company-message__name-post {
  display: block;
  font-size: var(--f16);
}
.company-message__name-txt {
  margin-top: 2rem;
  display: block;
  font-size: var(--f23);
}
@media screen and (max-width: 834px) {
  .company-message__name-txt {
    margin-top: 1rem;
  }
}

.company-philo {
  padding: 7.8rem 0 9.8rem;
}
@media screen and (max-width: 834px) {
  .company-philo {
    padding: 5rem 0;
  }
}
.company-philo__list {
  margin-top: 3rem;
}
@media screen and (max-width: 834px) {
  .company-philo__list {
    margin-top: 0rem;
  }
}
.company-philo__item {
  padding: 3.6rem 5% 5.2rem;
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  border: 1px solid #111;
}
@media screen and (max-width: 834px) {
  .company-philo__item {
    padding: 3rem 5%;
  }
}
.company-philo__item.--purpose {
  background: url(../img/company/philosophy-bg01.webp) no-repeat center center/cover;
}
.company-philo__item.--mission {
  background: url(../img/company/philosophy-bg02.webp) no-repeat center center/cover;
}
.company-philo__item.--mission .company-philo__catch {
  color: var(--white);
}
.company-philo__item.--value {
  background: url(../img/company/philosophy-bg03.webp) no-repeat center center/cover;
}
.company-philo__item.--promise {
  background: url(../img/company/philosophy-bg04.webp) no-repeat center center/cover;
}
.company-philo__item.--promise .company-philo__ttl {
  font-family: var(--dfja);
}
.company-philo__item:not(:first-of-type) {
  margin-top: 2.3rem;
}
@media screen and (max-width: 834px) {
  .company-philo__item:not(:first-of-type) {
    margin-top: 1.5rem;
  }
}
.company-philo__ttl {
  font-family: var(--enMed);
  font-size: var(--f20);
  font-weight: var(--fwn);
  text-align: center;
}
.company-philo__catch {
  margin-top: 3rem;
  font-size: var(--f30);
  font-weight: var(--fwn);
  text-align: center;
  color: var(--vivid-pink03);
  line-height: 1.5;
}
@media screen and (max-width: 834px) {
  .company-philo__catch {
    margin-top: 1.5rem;
  }
}
.company-philo__catch-ja {
  display: inline-block;
  margin: -1rem 0.5rem 0;
}
.company-philo__catch-ja img {
  max-width: 13.5rem;
}
.company-philo__catch + .c-txt {
  margin-top: 2rem;
}
@media screen and (max-width: 834px) {
  .company-philo__catch + .c-txt {
    margin-top: 0.5rem;
  }
}
.company-philo__promise {
  margin-top: 5.5rem;
}
@media screen and (max-width: 834px) {
  .company-philo__promise {
    margin-top: 3rem;
  }
}
.company-philo__promise-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
}
@media screen and (max-width: 834px) {
  .company-philo__promise-item {
    gap: 1rem;
  }
}
.company-philo__promise-item:not(:first-of-type) {
  margin-top: 3.9rem;
}
@media screen and (max-width: 834px) {
  .company-philo__promise-item:not(:first-of-type) {
    margin-top: 2rem;
  }
}
.company-philo__promise-num {
  min-width: 1.5em;
  font-family: var(--enMed);
  font-size: var(--f20);
  color: var(--vivid-pink03);
}
.company-philo__promise-num + .c-txt {
  margin-top: -0.8rem;
}

.company-prof {
  margin-top: 5.9rem;
  padding: 5rem 0 8.4rem;
  background-color: var(--white);
}
@media screen and (max-width: 834px) {
  .company-prof {
    margin-top: 3rem;
    padding: 3rem 0 5rem;
  }
}
.company-prof .c-dl01 {
  margin-top: 2rem;
}
@media screen and (max-width: 834px) {
  .company-prof .c-dl01 {
    margin-top: 0;
  }
}

.company-history {
  padding-top: 5rem;
}
@media screen and (max-width: 834px) {
  .company-history {
    padding-top: 2rem;
  }
}
.company-history__list {
  margin-top: 3rem;
}
@media screen and (max-width: 834px) {
  .company-history__list {
    margin-top: 1rem;
  }
}
.company-history__item {
  position: relative;
  padding-left: 3.6rem;
}
.company-history__item::before {
  position: absolute;
  content: "";
  width: 2rem;
  aspect-ratio: 1;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: var(--pink02);
  border-radius: 100vmax;
  -webkit-border-radius: 100vmax;
}
.company-history__item::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  bottom: 0;
  left: 0.95rem;
  z-index: 1;
  background-color: rgba(245, 130, 167, 0.5);
}
.company-history__item:not(:last-of-type) {
  padding-bottom: 4rem;
}
@media screen and (max-width: 834px) {
  .company-history__item:not(:last-of-type) {
    padding-bottom: 2rem;
  }
}
.company-history__item:last-of-type::after {
  top: 0;
  bottom: auto;
  height: 72%;
}
.company-history__year {
  margin-bottom: 1rem;
  font-family: var(--enMed);
  font-size: var(--f16);
  color: var(--vivid-pink03);
}
@media screen and (max-width: 834px) {
  .company-history__year {
    margin-bottom: 0;
    padding-top: 0.5rem;
  }
}