/*==================================================
section about
===================================*/
.about {
  padding: 8rem 0 2rem;
  background-color: #f2fbfb;
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 767px) {
  .about {
    padding: 5rem 0 0;
  }
}

/* ============ 背景テキスト ============ */
.about__bg-text {
  position: absolute;
  right: 0;
  top: 5%;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11.1rem;
  letter-spacing: 0.2em;
  color: var(--color-white);
  writing-mode: vertical-rl;
  white-space: nowrap;
  text-orientation: mixed;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

@media screen and (max-width: 767px) {
  .about__bg-text {
    font-size: 7rem;
    top: 0;
    transform: none;
  }
}

/* ============ コンテンツエリア ============ */
.about__inner {
  background: var(--color-white);
  padding: 7rem 5% 26rem;
  border-radius: 3rem;
}

@media screen and (max-width: 767px) {
  .about__inner {
    padding: 4rem 5% 20rem;
    border-radius: 2rem;
  }
}

/* ============ テキスト＋画像 横並び ============ */
.about__content {
  display: flex;
  column-gap: 4rem;
  align-items: flex-start;
  margin: 4rem auto 0;
  max-width: 78.5rem;
}

@media screen and (max-width: 1280px) {
  .about__content {
    column-gap: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .about__content {
    flex-direction: column;
    column-gap: 0;
    row-gap: 2.4rem;
    margin-top: 2.4rem;
  }
}

/* ============ テキストブロック（左側） ============ */
.about__block {
  flex: 1;
  min-width: 0;
  padding-top: 3.5rem;
}

@media screen and (max-width: 767px) {
  .about__block {
    order: 2;
    width: 100%;
    padding-top: 0;
  }
}

/* ============ h3タイトル（左ボーダー付き） ============ */
.about__title {
  padding-left: 1.6rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  position: relative;
}

@media screen and (max-width: 767px) {
  .about__title {
    font-size: 2rem;
    line-height: 1.6;
  }
}

.about__title::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 3px;
  height: calc(100% - 0.2em);
  background-color: #00acab;
  border-radius: 2px;
}

/* ============ 本文 ============ */
.about__text {
  margin-top: 2.4rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 767px) {
  .about__text {
    margin-top: 1.6rem;
    font-size: 1.3rem;
  }
}

/* ============ 画像（右側） ============ */
.about__img {
  flex-shrink: 0;
  width: 40%;
  max-width: 32rem;
}

@media screen and (max-width: 1280px) {
  .about__img {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .about__img {
    order: 1;
    width: 100%;
    max-width: 100%;
  }
}

.about__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ============ 横スクロール写真帯 ============ */
.about__sideScroll {
  display: flex;
  overflow: hidden;
  margin-top: 5rem;
  gap: 1.6rem;
  position: absolute;
  bottom: 8%;
  left: 0;
}

@media screen and (max-width: 767px) {
  .about__sideScroll {
    margin-top: 3.2rem;
    gap: 1rem;
    bottom: 5%;
  }
}

.about__sideScrollTrack {
  display: flex;
  gap: 1.6rem;
  flex-shrink: 0;
  animation: aboutLoopSlide 30s infinite linear;
}

@media screen and (max-width: 767px) {
  .about__sideScrollTrack {
    gap: 1rem;
  }
}

.about__sideScrollImg {
  flex-shrink: 0;
  width: 19.1rem;
  height: 14rem;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .about__sideScrollImg {
    width: 14rem;
    height: 10.2rem;
  }
}

.about__sideScrollImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes aboutLoopSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 1.6rem));
  }
}

@media screen and (max-width: 767px) {
  @keyframes aboutLoopSlide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100% - 1rem));
    }
  }
}

/*==================================================
section about END
===================================*/
