@charset "UTF-8";

/* 私たちについて（依頼書 第3部 第4項） */

/* ===== ③ 写真の帯 ===== */
.about-gallery {
  margin-top: 80px;
}

.about-gallery .marquee__track {
  width: max-content;
}

.about-gallery .marquee__item {
  height: 168.33px;
  aspect-ratio: 3 / 2;
  border-right: 2px solid #fff;
}

@media screen and (min-width: 1024px) and (hover: hover),
  screen and (min-width: 768px) and (orientation: landscape) {
  .about-gallery {
    margin-top: calc(var(--px) * 150);
  }

  .about-gallery .marquee__item {
    height: calc(var(--px) * 300);
  }
}

/* ===== ④ メッセージ ===== */
.about-message {
  padding: 64px 0 80px;
  scroll-margin-top: 60px;
}

.about-message__box {
  display: flex;
  flex-direction: column;
  max-width: 810px;
  margin: 0 auto;
  text-align: center;
}

.about-message__label {
  margin-bottom: 24px;
  color: var(--color-accent-text);
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 1.4143rem + 0.4762vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
}

.about-message__heading {
  font-size: clamp(2.2rem, 1.68rem + 1.3333vw, 3.6rem);
  font-weight: 700;
  line-height: 1.7;
  text-box: trim-both cap alphabetic;
}

.about-message__lead {
  margin-top: 64px;
  font-size: clamp(1.4rem, 1.2886rem + 0.2857vw, 1.7rem);
  font-weight: 500;
  line-height: 1.9;
  text-align: left;
}

.about-message__lead p + p {
  margin-top: 2em;
}

.about-message__lead .about-message__sign {
  font-feature-settings: "palt";
  text-align: right;
}

@media screen and (min-width: 1024px) and (hover: hover),
  screen and (min-width: 768px) and (orientation: landscape) {
  .about-message {
    padding: calc(var(--px) * 144) 0;
    scroll-margin-top: 0;
  }

  .about-message__box {
    max-width: calc(var(--px) * 810);
  }

  .about-message__heading {
    font-size: clamp(2.689rem, 0.001rem + 2.625vw, 4.726rem);
  }

  .about-message__lead {
    margin-top: calc(var(--px) * 88);
    font-size: clamp(1.308rem, 0.0016rem + 1.2758vw, 2.298rem);
    line-height: 2;
    text-align: center;
  }

  .about-message__lead .about-message__sign {
    text-align: center;
  }
}

/* ===== フェーズ2：写真の帯の速さ（依頼書 第2部 第6項 H） ===== */
.about-gallery .marquee__track {
  animation-duration: 32s;
}

@media screen and (min-width: 1024px) and (hover: hover),
  screen and (min-width: 768px) and (orientation: landscape) {
  .about-gallery .marquee__track {
    animation-duration: 40s;
  }
}

/* ===== 仮原稿の札（修正2）：中央寄せの文では札も中央に ===== */
.about-message__heading .sample-tag {
  margin-right: auto;
  margin-left: auto;
}

@media screen and (min-width: 1024px) and (hover: hover),
  screen and (min-width: 768px) and (orientation: landscape) {
  .about-message__lead .sample-tag {
    margin-right: auto;
    margin-left: auto;
  }
}
