:root {
  --font-regular: "TsukuGoPr5N-R";
  --font-medium: "TsukuGoPr5N-M";
}

/* aboutページ用の背景色設定 */
body.about-page {
  background: #F0EDEA;
  transition: background-color 1.5s ease-in-out;
}

body.about-page .slide-reveal {
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 260%;
    height: 100%;
    background: linear-gradient(325deg, #fbfbfb 0%, #fbfbfb 50%, rgba(251, 251, 251, 0) 80%);
    transform: translateX(-60%);
    opacity: 1;
    transition: opacity 1.5s ease-in-out, transform var(--animation-duration, 2s) linear;
    z-index: 1;
  }
  &::before {
    background: linear-gradient(325deg, #F0EDEA 0%, #F0EDEA 50%, rgba(240, 237, 234, 0) 80%);
  }
}

body.about-page .slide-reveal.background-changed::after {
  opacity: 0;
}

body.about-page .slide-reveal.is-visible::after {
  transform: translateX(50%);
}

.page-title {
  border-bottom: none;
}

.about-mv {
  position: relative;
  top: -101px;
  width: calc(100vw - var(--scrollbar-width));
  height: 100vh;
  min-height: 50vw;
}

.about-mv-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.about-mv-slider {
  width: calc(90vw - var(--scrollbar-width));
  margin: 0 auto;
  transition: top 0.3s ease-out;
}

.scroll {
  position: absolute;
  bottom: 0;
  width: 100%;
  p {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
  }
}

.scroll-bar {
  width: 1px;
  height: 45px;
  margin: 17px auto 0;
  background-color: #e6e6e6;
  position: relative;
  &::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    width: 1px;
    height: 45px;
    margin: 0 auto;
    background-color: #666;
    animation: bar 3s infinite;
  }
}

@keyframes bar {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.about-mv-content {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100vh;
}

.about {
  width: 100%;
  padding-bottom: 187px;
}

.about-copy {
  max-width: 540px;
  margin: 0 auto 86px;
  padding: 0 30px;
  font-size: 2rem;
  letter-spacing: 0.26em;
  text-align: center;
  font-feature-settings: 'palt'
}

.about-text {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 30px;
  p {
    text-align: justify;
    line-height: 2.4;
    font-feature-settings: 'palt';
    font-weight: 200;
    & + p {
      margin-top: 36px;
    }
  }
}

.business {
  width: 100%;
  padding: 116px 0 127px;
}

.business-title {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 30px;
  font-size: 1.8rem;
  letter-spacing: 0.26em;
  text-align: center;
}

.business-items {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 60px;
  row-gap: 109px;
  margin: 105px auto 0;
}

.business-item {
  width: calc(50% - 30px);
  h4 {
    margin-bottom: 19px;
    font-size: 1.8rem;
    letter-spacing: 0.26em;
    font-feature-settings: 'palt';
  }
  p {
    line-height: 2.4;
    letter-spacing: 0.194em;
    text-align: justify;
    font-feature-settings: 'palt'
  }
}

.overview {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 116px 40px 242px;
}

.overview-content {
  width: 100%;
}

.overview-item {
  display: flex;
  align-items: center;
  h4 {
    width: 110px;
    padding-right: 30px;
    text-align: left;
    letter-spacing: 0.15em;
  }
  p {
    flex: 1;
    padding: 24px 0;
    letter-spacing: 0.15em;
    line-height: 2.2;
    font-weight: 200;
  }
}

.overview-title {
  max-width: 420px;
  margin: 0 auto;
  padding-bottom: 77px;
  font-size: 1.8rem;
  letter-spacing: 0.26em;
  text-align: center;
}

@media screen and (max-width: 999px) {
  .page-title {
    padding-bottom: 21px;
  }
  .about {
    padding-bottom: 79px;
    border-bottom: none;
  }
  .about-mv {
    position: static;
    width: 100%;
    height: auto;
    min-height: auto;
  }
  .about-mv-image {
    position: relative;
    height: auto;
  }
  .about-mv-slider {
    position: static!important;
    width: 100%;
    height: auto;
  }
  .about-copy {
    margin: 23px auto 39px;
    font-size: 1.7rem;
    letter-spacing: 0.1em;
    font-feature-settings: normal;
  }
  .about-text {
    p {
      font-size: 1.3rem;
      line-height: 2;
      letter-spacing: 0.13em;
      & + p {
        margin-top: 26px;
      }
    }
  }
  .business {
    padding: 29px 0 53px;
    border-bottom: none;
  }
  .business-title {
    padding-bottom: 30px;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
  }
  .business-items {
    max-width: none;
    margin: 0 auto;
    row-gap: 23px;
    padding: 32px 0 36px;
  }
  .business-item{
    width: 100%;
    margin: 0 auto;
    h4{
      align-self: flex-start;
      margin-bottom: 15px;
      padding: 12px 30px 0;
      font-size: 1.3rem;
      letter-spacing: 0.1em;
      font-feature-settings: normal;
    }
    p {
      padding: 0 30px;
      letter-spacing: 0.1em;
      line-height: 2;
      font-feature-settings: normal;
    }
  }

  hr + .business-item {
    padding-top: 8px;
  }
  .overview {
    padding: 29px 0 159px;
  }
  .overview-content {
    max-width: none;
    margin: 0 auto;
  }
  .overview-item {
    flex-direction: column;
    padding: 0 30px;
    h4, p {
      display: block;
      width: 100%;
      margin: 0;
      padding: 0;
      letter-spacing: 0.1em;
    }
    h4 {
      padding-top: 28px;
      margin-bottom: 10px;
    }
    p {
      padding-bottom: 19px;
    }
  }
  .overview-title {
    padding-bottom: 30px;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
  }
}