@charset "UTF-8";
/* ==========================================================================
   ALPHAZ — ABOUT US（page-about.php）
   --------------------------------------------------------------------------
   Figma: PC 174:7650（1440）/ SP 181:2235（375）

   --s  : PC の「1px」（base.css で定義）。1440px で 1px、1920px まで比例して伸び縮みする。
   --pad: 左右の余白（PC 108px を比例。最小 20px）。SP は 24px。

   01. Common（セクションの枠・見出し）
   02. Hero          03. Message       04. Mission
   05. Vision        06. Value         07. Company
   08. Tablet（768〜1023px）
   09. Motion common（見出し）
   10. Hero motion   11. Message motion   12. Mission / Vision motion
   13. Value motion  14. Company motion
   JS は assets/js/motion.js、共通の keyframes は assets/css/motion.css。
   ========================================================================== */

.about {
  --pad: max(20px, calc(108 * var(--s)));
  /* 演出で画面外に置いている要素で横スクロールが出ないように */
  overflow-x: clip;
}

/* ページ内リンク（ヒーローの目次）でスッと移動 */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   01. Common
   ========================================================================== */
.about-section__inner {
  max-width: calc(1620 * var(--s));
  margin: 0 auto;
  padding: calc(100 * var(--s)) var(--pad);
}

/* 見出し（上に線、左に英字・右に日本語） */
.about-head {
  --head-line: #bfbfbf;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 * var(--s));
  height: calc(73 * var(--s));
  border-top: 1px solid var(--head-line);
}

.about-head--dark {
  --head-line: rgba(255, 255, 255, 0.15);
  color: var(--c-white);
}

/* VALUE だけ Figma で高さ固定が無く、上下の余白で組まれている */
.about-head--loose {
  height: auto;
  padding: calc(28 * var(--s)) 0 calc(27 * var(--s));
}

.about-head__title {
  position: relative;
  top: 0.052em;
  color: #050505;
  font-family: var(--font-en);
  font-size: max(13px, calc(50 * var(--s)));
  line-height: 0.7;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-head--dark .about-head__title {
  color: inherit;
}

.about-head__label {
  font-size: max(13px, calc(13.5 * var(--s)));
  font-weight: 700;
  line-height: 1.3333;
  letter-spacing: 0.2em;
}

.about-head__label--black {
  font-weight: 900;
}

@media (max-width: 767px) {
  .about {
    --pad: 24px;
  }

  .about-section__inner {
    padding: 70px var(--pad);
  }

  .about-head,
  .about-head--loose {
    height: auto;
    padding: 20px 0 0;
  }

  .about-head--dark {
    --head-line: #333;
  }

  .about-head__title {
    top: 0;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .about-head__label,
  .about-head__label--black {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
  }
}

/* ==========================================================================
   02. Hero
   --------------------------------------------------------------------------
   .page-hero（common.css）の背景画像だけ ABOUT 用に差し替え。
   ========================================================================== */
.page-hero--about {
  background-image: url("../img/common/page-hero-bg-about.jpg");
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: calc(1620 * var(--s));
  margin: 0 auto;
  padding: calc(85 * var(--s)) var(--pad) calc(100 * var(--s));
}

.about-hero__title {
  display: block;
}

.about-hero__title-accent {
  color: var(--c-accent);
}

.about-hero__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  column-gap: calc(36 * var(--s));
  margin-top: calc(27 * var(--s));
  padding-top: calc(18 * var(--s));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero__statement {
  grid-column: 1 / 9;
  margin-bottom: calc(45 * var(--s));
  overflow: hidden;
  font-size: max(32px, calc(48 * var(--s)));
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.029em;
  white-space: nowrap;
}

.about-hero__statement-inner {
  display: block;
}

.about-hero__statement em {
  position: relative;
  display: inline-block;
  color: var(--c-accent);
  font-style: normal;
}

.about-hero__nav {
  grid-column: 9 / 13;
}

.about-hero__item + .about-hero__item {
  margin-top: calc(13.5 * var(--s));
}

.about-hero__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16 * var(--s));
  padding: calc(9 * var(--s)) 0 calc(27 * var(--s));
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: max(13px, calc(17 * var(--s)));
  font-weight: 800;
  line-height: 1.3235;
  letter-spacing: 0.0463em;
  transition: color var(--dur) ease;
}

.about-hero__arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: max(13px, calc(13.5 * var(--s)));
  font-weight: 500;
  line-height: 1.3333;
  transition:
    color var(--dur) ease,
    transform var(--dur) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .about-hero__link:hover {
    color: var(--c-accent);
  }

  .about-hero__link:hover .about-hero__arrow {
    color: var(--c-accent);
    transform: translateX(calc(4 * var(--s)));
  }
}

@media (max-width: 767px) {
  .page-hero--about {
    background-image: url("../img/common/page-hero-bg-about-sp.jpg");
    background-position: center bottom;
    background-size: cover;
  }

  .about-hero__inner {
    padding: 46px var(--pad) 56px;
  }

  .about-hero__title {
    letter-spacing: 0;
  }

  .about-hero__row {
    display: block;
    margin-top: 48px;
    padding-top: 0;
    border-top: 0;
  }

  .about-hero__statement {
    margin-bottom: 0;
    padding-top: 26px;
    border-top: 1px solid #333;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    white-space: normal;
  }

  .about-hero__nav {
    margin-top: 28px;
  }

  .about-hero__item + .about-hero__item {
    margin-top: 0;
  }

  .about-hero__link {
    padding: 15px 0 14px;
    border-bottom-color: #333;
    color: var(--c-white);
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
  }

  /* SP は下向き矢印 */
  .about-hero__arrow {
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   03. Message（代表メッセージ）
   --------------------------------------------------------------------------
   背景は「黄色 ＋ 写真（ハードライト）＋ 黒70%」を合成した1枚絵。
   ========================================================================== */
.about-message {
  position: relative;
  overflow: hidden;
  background: #262400;
  color: var(--c-white);
}

.about-message__bg {
  position: absolute;
  inset: 0;
  display: block;
}

.about-message__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-message__inner {
  position: relative;
  max-width: calc(1620 * var(--s));
  margin: 0 auto;
  padding: calc(100 * var(--s)) var(--pad) calc(153 * var(--s));
}

.about-message__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: calc(72 * var(--s));
  margin-top: calc(20 * var(--s));
}

/* ---- 左: 代表の写真 ------------------------------------------------------
   画像が無い間は枠だけ（うっすら白）。高さは右の本文に揃う（グリッドの行いっぱい）。 */
.about-message__photo {
  position: relative;
  grid-column: 1 / 6;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  outline: 1px solid rgba(255, 255, 255, 0.15);
  outline-offset: -1px;
}

.about-message__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ---- 右: 本文 ---------------------------------------------------------- */
.about-message__body {
  grid-column: 6 / 13;
}

.about-message__lead {
  font-size: max(26px, calc(36 * var(--s)));
  font-weight: 800;
  line-height: 1.5;
}

.about-message__text {
  display: grid;
  gap: calc(27 * var(--s));
  margin-top: calc(45 * var(--s));
  font-size: max(13px, calc(16 * var(--s)));
  font-weight: 800;
  line-height: 1.85;
  letter-spacing: 0.0312em;
}

.about-message__closing {
  margin-top: calc(45 * var(--s));
  padding-top: calc(46 * var(--s));
  border-top: 1px solid #d4d4d4;
  font-size: max(30px, calc(44 * var(--s)));
  font-weight: 800;
  line-height: 1.398;
}

.about-message__closing-mask {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.about-message__closing-text {
  display: inline-block;
}

@media (max-width: 767px) {
  .about-message__inner {
    padding: 70px var(--pad);
  }

  .about-message .about-head {
    --head-line: rgba(255, 255, 255, 0.15);
  }

  .about-message__grid {
    display: block;
    margin-top: 36px;
  }

  .about-message__photo {
    aspect-ratio: 327 / 436;
  }

  .about-message__lead {
    margin-top: 36px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.6;
  }

  .about-message__text {
    gap: 24px;
    margin-top: 36px;
    font-size: 15px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
  }

  .about-message__closing {
    margin-top: 36px;
    padding-top: 30px;
    border-top-color: rgba(255, 255, 255, 0.4);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.55;
  }
}

/* ==========================================================================
   04. Mission
   ========================================================================== */
.about-mission {
  position: relative;
  overflow: hidden;
  background: var(--c-accent);
  color: var(--c-black);
}

.about-mission__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(40 * var(--s));
  margin-top: calc(90 * var(--s));
}

.about-mission__en {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: max(56px, calc(110 * var(--s)));
  line-height: 0.982;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 1行目の字面の上端を、右の日本語と揃える */
.about-mission__en-line {
  display: block;
  overflow: hidden;
}

.about-mission__en-line:first-child {
  margin-top: -0.09em;
}

.about-mission__en-text {
  display: block;
}

.about-mission__content {
  width: max(400px, calc(485 * var(--s)));
  font-weight: 800;
}

.about-mission__catch {
  margin-top: -0.4em;
  color: #0a0a0a;
  font-size: max(30px, calc(44 * var(--s)));
  line-height: 1.4545;
  letter-spacing: -0.0307em;
}

.about-mission__summary {
  margin-top: calc(39.5 * var(--s));
  font-size: max(13px, calc(24 * var(--s)));
  line-height: 1.3125;
}

.about-mission__text {
  margin-top: calc(14 * var(--s));
  font-size: max(13px, calc(17 * var(--s)));
  line-height: 1.8;
  letter-spacing: 0.0471em;
}

@media (max-width: 767px) {
  .about-mission__body {
    display: block;
    margin-top: 36px;
  }

  .about-mission__en {
    font-size: 56px;
    line-height: 1.02;
    white-space: normal;
  }

  .about-mission__en-line:first-child {
    margin-top: 0;
  }

  .about-mission__content {
    width: auto;
    margin-top: 36px;
    font-weight: 700;
  }

  .about-mission__catch {
    margin-top: 0;
    color: inherit;
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0;
  }

  .about-mission__summary {
    margin-top: 36px;
    font-size: 18px;
    line-height: 1.6;
  }

  .about-mission__text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0;
  }
}

/* ==========================================================================
   05. Vision
   ========================================================================== */
.about-vision {
  overflow: hidden;
  background: var(--c-white);
  color: var(--c-black);
}

.about-vision__words {
  margin-top: calc(90 * var(--s));
  font-family: var(--font-en);
  font-size: max(58px, calc(129 * var(--s)));
  line-height: 0.7;
  letter-spacing: 0.0116em;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-vision__word {
  position: relative;
  top: 0.052em;
  display: block;
}

.about-vision__bar {
  display: block;
  margin-top: 0.19em;
  overflow: hidden;
  background: var(--c-accent);
  text-align: right;
}

.about-vision__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: calc(54 * var(--s));
  margin-top: calc(90 * var(--s));
}

.about-vision__catch {
  font-size: max(30px, calc(44 * var(--s)));
  font-weight: 800;
  line-height: 1.398;
}

.about-vision__text {
  width: calc(221 * var(--s));
  font-size: max(13px, calc(16 * var(--s)));
  font-weight: 800;
  line-height: 1.85;
  letter-spacing: 0.0312em;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .about-vision__words {
    margin-top: 36px;
    font-size: 58px;
    line-height: 1;
    letter-spacing: 0;
  }

  .about-vision__word {
    top: 0;
  }

  .about-vision__bar {
    margin-top: 12px;
    padding: 4px 0;
  }

  .about-vision__bottom {
    display: block;
    margin-top: 36px;
  }

  .about-vision__catch {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.65;
  }

  .about-vision__text {
    margin-top: 36px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    width: auto;
    white-space: normal;
  }
}

/* ==========================================================================
   06. Value
   ========================================================================== */
.about-value {
  background: var(--c-black);
  color: var(--c-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-value__list {
  display: grid;
  gap: 2px;
  margin-top: calc(72 * var(--s));
}

.about-value__item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  column-gap: calc(54 * var(--s));
  padding: calc(54 * var(--s));
  background: var(--c-accent);
  color: var(--c-black);
}

.about-value__name {
  display: flex;
  grid-column: 1 / 7;
  align-items: center;
  gap: calc(18 * var(--s));
  height: calc(81 * var(--s));
  font-family: var(--font-en);
  white-space: nowrap;
}

.about-value__num {
  font-size: max(13px, calc(20 * var(--s)));
  line-height: 1.125;
  letter-spacing: 0.0394em;
}

.about-value__word {
  position: relative;
  top: 0.052em;
  font-size: max(52px, calc(81 * var(--s)));
  line-height: 0.7;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-value__desc {
  grid-column: 7 / 13;
}

.about-value__heading {
  font-size: max(13px, calc(22.5 * var(--s)));
  font-weight: 900;
  line-height: 1.4;
}

.about-value__text {
  margin-top: calc(9 * var(--s));
  font-size: max(13px, calc(15.75 * var(--s)));
  font-weight: 800;
  line-height: 1.4286;
}

@media (max-width: 767px) {
  .about-value__list {
    margin-top: 36px;
  }

  .about-value__item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px;
  }

  .about-value__name {
    gap: 12px;
    height: auto;
  }

  .about-value__num {
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .about-value__word {
    top: 0;
    font-size: 52px;
    line-height: 1;
    letter-spacing: 0;
  }

  .about-value__heading {
    font-size: 20px;
    line-height: 1.2;
  }

  .about-value__text {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
  }
}

/* ==========================================================================
   07. Company
   ========================================================================== */
.about-company {
  background: #f7f7f8;
  color: var(--c-black);
  border-top: 1px solid #d4d4d4;
}

.about-company__body {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: center;
  column-gap: calc(72 * var(--s));
  margin-top: calc(90 * var(--s));
  padding-bottom: calc(18 * var(--s));
}

.about-company__logo {
  position: relative;
  grid-column: 1 / 3;
  width: max(180px, calc(270 * var(--s)));
}

.about-company__logo img {
  width: 100%;
  height: auto;
}

.about-company__specs {
  grid-column: 6 / 11;
  padding-top: 1px;
  border-top: 1px solid #e5e5e5;
  font-size: max(13px, calc(15.75 * var(--s)));
  line-height: 1.4286;
}

.about-company__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: calc(18 * var(--s));
  padding: calc(22.5 * var(--s)) 0;
}

.about-company__row + .about-company__row {
  padding-top: calc(23.6 * var(--s));
  border-top: 1px solid #e5e5e5;
}

.about-company__row dt {
  color: #171717;
  font-weight: 700;
  letter-spacing: 0.7875px;
}

.about-company__row dd {
  display: flex;
  flex-direction: column;
  grid-column: 2 / 4;
  gap: calc(4.5 * var(--s));
  color: #262626;
  font-weight: 500;
}

@media (max-width: 767px) {
  .about-company__body {
    display: block;
    margin-top: 40px;
    padding-bottom: 0;
  }

  .about-company__logo {
    width: 160px;
  }

  .about-company__specs {
    margin-top: 40px;
    padding-top: 0;
    font-size: 14px;
    line-height: 1.2;
  }

  .about-company__row,
  .about-company__row + .about-company__row {
    display: flex;
    gap: 20px;
    padding: 22px 0;
  }

  /* 行と行の間に線（最後の行の下には引かない） */
  .about-company__row:not(:last-child) {
    border-bottom: 1px solid #e5e5e5;
  }

  .about-company__row + .about-company__row {
    border-top: 0;
  }

  .about-company__row dt {
    flex-shrink: 0;
    width: 68px;
    color: var(--c-black);
    letter-spacing: 0;
  }

  .about-company__row dd {
    gap: 6px;
    color: var(--c-black);
  }

  .about-company__row dd span {
    line-height: 1.6;
  }
}

/* ==========================================================================
   08. Tablet（768〜1023px）
   --------------------------------------------------------------------------
   PC の段組みのままだと窮屈になる所だけ縦積みにする。
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-hero__statement {
    grid-column: 1 / -1;
    margin-bottom: calc(40 * var(--s));
  }

  .about-hero__nav {
    grid-column: 1 / -1;
  }

  .about-message__grid {
    display: block;
  }

  .about-message__photo {
    max-width: calc(468 * var(--s));
    aspect-ratio: 327 / 436;
  }

  .about-message__body {
    margin-top: calc(64 * var(--s));
  }

  .about-mission__body {
    flex-direction: column;
    gap: calc(56 * var(--s));
  }

  .about-mission__content {
    width: auto;
  }

  .about-value__name,
  .about-value__desc {
    grid-column: 1 / -1;
  }

  .about-value__desc {
    margin-top: calc(20 * var(--s));
  }

  .about-company__specs {
    grid-column: 5 / 11;
  }
}

/* ==========================================================================
   09. Motion common（見出し）
   --------------------------------------------------------------------------
   html.motion-ok の時だけ「隠す」。.is-inview（画面の 75% まで来た）で出す。
   ※ transition は出す側にだけ書く（隠す方は一瞬、出す方だけアニメーション）
   見出し: 線が左から伸びる → 英字が1文字ずつせり上がる → 日本語がぼかしから出る
   ========================================================================== */
.about-head::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--head-line);
  transform-origin: left center;
  content: "";
}

.motion-ok .about-head {
  border-top-color: transparent;
}

.motion-ok .about-head::before {
  transform: scaleX(0);
}

.motion-ok .about-head__title {
  /* せり上がる文字のマスク（下端はベースラインのすぐ下） */
  clip-path: inset(-30% -5% -8% -5%);
}

.motion-ok .about-head__title .m-letter {
  transform: translateY(150%);
}

.motion-ok .about-head__label {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(calc(8 * var(--s)));
}

.motion-ok :is(.is-inview .about-head, .about-head.is-inview)::before {
  transform: none;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.motion-ok :is(.is-inview .about-head, .about-head.is-inview) .m-letter {
  transform: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(0.15s + var(--i) * 0.04s);
}

.motion-ok :is(.is-inview .about-head, .about-head.is-inview) .about-head__label {
  opacity: 1;
  filter: none;
  transform: none;
  transition:
    opacity 0.7s ease 0.5s,
    filter 0.7s ease 0.5s,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

/* ==========================================================================
   10. Hero motion
   --------------------------------------------------------------------------
   ページを開いた瞬間に再生（ヒーローは最初から画面内）。
     0.0s  黒い幕が斜めに切り裂かれて背景（黄色いブラシ）が出る ＋ 黄色い斜線が一閃
     0.2s  ABOUT US: 1文字ずつせり上がる
     0.6s  線の上を黄色い光が走る
     0.75s 事実は一つ、解釈は無限。: 下からせり上がる → 1.3s 解釈は無限。がグリッチ
     0.9s  目次: 右から1行ずつ滑り込む
   ========================================================================== */
.about-hero::before,
.about-hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

/* 黒い幕 */
.about-hero::before {
  inset: 0;
  z-index: 0;
  background: var(--c-black);
  opacity: 0;
}

/* 黄色い斜線 */
.about-hero::after {
  top: -10%;
  left: 0;
  z-index: 2;
  width: 2px;
  height: 120%;
  background: var(--c-accent);
  box-shadow:
    0 0 12px rgba(255, 242, 0, 0.9),
    0 0 40px rgba(255, 242, 0, 0.5);
  opacity: 0;
  transform: translateX(-10vw) skewX(-24deg);
}

.motion-ok .about-hero::before {
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.motion-ok .about-hero.is-inview::before {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, calc(100% + 30vw) 100%);
  transition: clip-path 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}

.motion-ok .about-hero.is-inview::after {
  animation: m-slash 1.1s cubic-bezier(0.65, 0, 0.35, 1) both;
}

/* ABOUT US */
.motion-ok .about-hero__title {
  clip-path: inset(-30% -5% -8% -5%);
}

.motion-ok .about-hero__title .m-letter {
  transform: translateY(150%) skewY(10deg);
}

.motion-ok .about-hero.is-inview .about-hero__title .m-letter {
  transform: none;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(0.2s + var(--i) * 0.05s);
}

/* 線の上を走る光 */
.about-hero__row::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent) 60%, #fff);
  box-shadow: 0 0 10px rgba(255, 242, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  content: "";
}

.motion-ok .about-hero.is-inview .about-hero__row::before {
  animation: about-line-run 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.6s both;
}

@keyframes about-line-run {
  0% {
    opacity: 1;
    transform: translateX(-100%);
  }

  85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(250%);
  }
}

/* 事実は一つ、解釈は無限。 */
.motion-ok .about-hero__statement-inner {
  transform: translateY(105%);
}

.motion-ok .about-hero.is-inview .about-hero__statement-inner {
  transform: none;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.75s;
}

.about-hero__statement em::before,
.about-hero__statement em::after {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  content: attr(data-text);
}

.about-hero__statement em::before {
  color: var(--c-white);
}

.about-hero__statement em::after {
  color: var(--c-accent);
  mix-blend-mode: screen;
}

.motion-ok .about-hero.is-inview .about-hero__statement em {
  animation: m-glitch 0.65s steps(1, end) 1.3s both;
}

.motion-ok .about-hero.is-inview .about-hero__statement em::before {
  animation: m-ghost-a 0.65s steps(1, end) 1.3s both;
}

.motion-ok .about-hero.is-inview .about-hero__statement em::after {
  animation: m-ghost-b 0.65s steps(1, end) 1.3s both;
}

/* 目次 */
.motion-ok .about-hero__item {
  opacity: 0;
  transform: translateX(calc(40 * var(--s)));
}

.motion-ok .about-hero.is-inview .about-hero__item {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease calc(0.9s + var(--i) * 0.1s),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(0.9s + var(--i) * 0.1s);
}

/* ==========================================================================
   11. Message motion
   --------------------------------------------------------------------------
     背景  : モノクロでぼやけた写真に焦点が合い、黄色が戻る ＋ 走査線が上→下
             スクロール中はゆっくりずれる（奥行き）
     左    : 代表の写真が上から切り開かれ、寄りから引いて落ち着く → 黄色い走査線が左→右
     右    : 見出し・本文は画面に入った所から、上→下にスキャンして現れる
     締め  : 線が伸びる → 文字が斜めにせり上がり、黄色い帯が横切る
   ========================================================================== */
.motion-ok .about-message__bg {
  transform: translateY(calc((var(--p, 0.5) - 0.5) * -60px)) scale(1.06);
  will-change: transform;
}

.motion-ok .about-message__bg img {
  filter: grayscale(1) brightness(0.5) blur(6px);
}

.motion-ok .about-message.is-inview .about-message__bg img {
  filter: none;
  transition: filter 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-message::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 242, 0, 0.9) 30%, #fff 50%, rgba(255, 242, 0, 0.9) 70%, transparent);
  box-shadow: 0 0 18px rgba(255, 242, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  content: "";
}

.motion-ok .about-message.is-inview::after {
  animation: kv-scan 1.8s 0.2s ease-in-out both;
}

/* ---- 左: 写真 ------------------------------------------------------------
   斜めの刃で上から切り開かれ、寄りから引いて落ち着く。最後に黄色い走査線が左→右 */
.about-message__photo::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 242, 0, 0.9) 30%, #fff 50%, rgba(255, 242, 0, 0.9) 70%, transparent);
  box-shadow: 0 0 18px rgba(255, 242, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  content: "";
}

.motion-ok .about-message__photo {
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.motion-ok .about-message.is-inview .about-message__photo {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1) 0.2s;
}

.motion-ok .about-message__photo img {
  transform: scale(1.15);
}

.motion-ok .about-message.is-inview .about-message__photo img {
  transform: none;
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.motion-ok .about-message.is-inview .about-message__photo::after {
  animation: about-scan-x 1.1s cubic-bezier(0.65, 0, 0.35, 1) 1.2s both;
}

/* ---- 右: 上→下にスキャン ------------------------------------------------- */
.motion-ok .about-message__lead,
.motion-ok .about-message__text > p {
  clip-path: inset(0 0 100% 0);
  filter: blur(4px);
}

.motion-ok .about-message__lead.is-inview,
.motion-ok .about-message__text.is-inview > p {
  clip-path: inset(-10% -5% -10% -5%);
  filter: none;
  transition:
    clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1),
    filter 1s ease 0.2s;
}

.motion-ok .about-message__text.is-inview > p:nth-child(2) {
  transition-delay: 0.25s;
}

.motion-ok .about-message__text.is-inview > p:nth-child(3) {
  transition-delay: 0.5s;
}

/* ---- 締め ---------------------------------------------------------------- */
.about-message__closing {
  position: relative;
}

.about-message__closing::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: inherit;
  pointer-events: none;
  content: "";
}

.motion-ok .about-message__closing {
  border-top-color: transparent;
}

.motion-ok .about-message__closing::before {
  background: #d4d4d4;
  transform: scaleX(0);
  transform-origin: left center;
}

.motion-ok .about-message__closing.is-inview::before {
  transform: none;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.motion-ok .about-message__closing-text {
  transform: translateY(115%) skewY(7deg);
}

.motion-ok .about-message__closing.is-inview .about-message__closing-text {
  transform: none;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.about-message__closing-mask::after {
  position: absolute;
  inset: 0 -4%;
  background: var(--c-accent);
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0) skewX(-12deg);
  content: "";
}

.motion-ok .about-message__closing.is-inview .about-message__closing-mask::after {
  animation: m-sweep 1.2s cubic-bezier(0.76, 0, 0.24, 1) 0.55s both;
}

@media (max-width: 767px) {
  .motion-ok .about-message__closing::before {
    background: rgba(255, 255, 255, 0.4);
  }
}

/* ==========================================================================
   12. Mission / Vision motion
   --------------------------------------------------------------------------
   MISSION（黄色）
     黒い刃が斜めに一閃 → BUILD THE MENTAL / INFRASTRUCTURE. が斜めにせり上がる
     スクロールすると英字が横へゆっくり流れる
   VISION（白）
     STRONG MINDS. が1文字ずつ → 黄色い帯が右から引かれる → STRONG JAPAN. が1文字ずつ
     スクロールすると上下の英字が逆方向にずれる（MINDS は右へ、JAPAN は左へ）
   日本語は画面に入った所から、下からぼかしで出る
   ========================================================================== */
.about-mission::after {
  position: absolute;
  top: -10%;
  left: 0;
  width: calc(3 * var(--s));
  height: 120%;
  background: var(--c-black);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10vw) skewX(-24deg);
  content: "";
}

.motion-ok .about-mission.is-inview::after {
  animation: m-slash 1s cubic-bezier(0.65, 0, 0.35, 1) 0.1s both;
}

.motion-ok .about-mission__en {
  transform: translateX(calc((var(--p, 0.5) - 0.5) * -60px));
  will-change: transform;
}

.motion-ok .about-mission__en-text {
  transform: translateY(110%) skewY(6deg);
}

.motion-ok .about-mission.is-inview .about-mission__en-text {
  transform: none;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.motion-ok .about-mission.is-inview .about-mission__en-line:nth-child(2) .about-mission__en-text {
  transition-delay: 0.45s;
}

/* 日本語（MISSION / VISION 共通） */
.motion-ok :is(.about-mission__content, .about-vision__bottom) > * {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(calc(24 * var(--s)));
}

.motion-ok :is(.about-mission__content, .about-vision__bottom).is-inview > * {
  opacity: 1;
  filter: none;
  transform: none;
  transition:
    opacity 0.8s ease,
    filter 0.8s ease,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ok :is(.about-mission__content, .about-vision__bottom).is-inview > :nth-child(2) {
  transition-delay: 0.15s;
}

.motion-ok :is(.about-mission__content, .about-vision__bottom).is-inview > :nth-child(3) {
  transition-delay: 0.3s;
}

/* VISION */
.motion-ok .about-vision__word {
  clip-path: inset(-30% -5% -8% -5%);
  will-change: transform;
}

/* MINDS は右へ、JAPAN は左へ（JAPAN は帯からはみ出さないよう、左方向にだけ動かす） */
.motion-ok .about-vision__word:not(.about-vision__word--japan) {
  transform: translateX(calc((var(--p, 0.5) - 0.5) * 80px));
}

.motion-ok .about-vision__word--japan {
  transform: translateX(min(0px, calc((0.5 - var(--p, 0.5)) * 60px)));
}

.motion-ok .about-vision__word .m-letter {
  transform: translateY(150%);
}

.motion-ok .about-vision.is-inview .about-vision__word .m-letter {
  transform: none;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(0.25s + var(--i) * 0.04s);
}

.motion-ok .about-vision.is-inview .about-vision__word--japan .m-letter {
  transition-delay: calc(1s + var(--i) * 0.04s);
}

.motion-ok .about-vision__bar {
  clip-path: inset(0 0 0 100%);
}

.motion-ok .about-vision.is-inview .about-vision__bar {
  clip-path: inset(0);
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.6s;
}

/* ==========================================================================
   13. Value motion
   --------------------------------------------------------------------------
   1行ずつ（画面に入った行から）:
     黄色い板が斜めの刃で左から切り開かれる → 英字が1文字ずつせり上がる
     → 説明が右からぼかしで入る → 最後に光が1回走る
   ホバー（マウス操作の端末のみ）: 板が少し浮く（Figma の OPENNESS の影）
   ========================================================================== */
.about-value__item::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-150%);
  content: "";
}

/* 上下左右に余裕を持たせた形で切り抜く（ホバーの影が切れないように） */
.motion-ok .about-value__item {
  clip-path: polygon(0 -40%, 0 -40%, -20% 140%, -20% 140%);
}

.motion-ok .about-value__item.is-inview {
  clip-path: polygon(0 -40%, 120% -40%, 120% 140%, -20% 140%);
  transition:
    clip-path 1s cubic-bezier(0.76, 0, 0.24, 1),
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.motion-ok .about-value__item.is-inview::before {
  opacity: 1;
  animation: m-shine 1s ease-in-out 1s both;
}

.motion-ok .about-value__num {
  opacity: 0;
}

.motion-ok .about-value__item.is-inview .about-value__num {
  opacity: 1;
  transition: opacity 0.5s ease 0.5s;
}

.motion-ok .about-value__word {
  clip-path: inset(-30% -5% -8% -5%);
}

.motion-ok .about-value__word .m-letter {
  transform: translateY(150%);
}

.motion-ok .about-value__item.is-inview .about-value__word .m-letter {
  transform: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(0.45s + var(--i) * 0.04s);
}

.motion-ok .about-value__desc {
  opacity: 0;
  filter: blur(6px);
  transform: translateX(calc(30 * var(--s)));
}

.motion-ok .about-value__item.is-inview .about-value__desc {
  opacity: 1;
  filter: none;
  transform: none;
  transition:
    opacity 0.8s ease 0.7s,
    filter 0.8s ease 0.7s,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}

@media (hover: hover) and (pointer: fine) {
  .about-value__item {
    transition:
      transform 0.4s var(--ease-out),
      box-shadow 0.4s var(--ease-out),
      clip-path 1s cubic-bezier(0.76, 0, 0.24, 1);
  }

  .about-value__item:hover {
    z-index: 1;
    box-shadow: 0 28px 56px -13.5px rgba(0, 0, 0, 0.25);
    transform: translateY(calc(-4 * var(--s)));
  }
}

/* ==========================================================================
   14. Company motion
   --------------------------------------------------------------------------
     ロゴ: 斜めに切り開かれて現れ、黄色い走査線が左→右
     表  : 線が左から伸び、項目が上から順に出る
   ========================================================================== */
.about-company__logo::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 242, 0, 0.9) 30%, #fff 50%, rgba(255, 242, 0, 0.9) 70%, transparent);
  box-shadow: 0 0 18px rgba(255, 242, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  content: "";
}

.motion-ok .about-company__logo img {
  clip-path: polygon(0 0, 0 0, -40% 100%, -40% 100%);
}

.motion-ok .about-company__body.is-inview .about-company__logo img {
  clip-path: polygon(0 0, 140% 0, 100% 100%, -40% 100%);
  transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}

.motion-ok .about-company__body.is-inview .about-company__logo::after {
  animation: about-scan-x 1.2s cubic-bezier(0.76, 0, 0.24, 1) both;
}

@keyframes about-scan-x {
  0% {
    left: 0;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 0.8;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

.motion-ok .about-company__specs {
  border-top-color: transparent;
}

.about-company__specs {
  position: relative;
}

.about-company__specs::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: #e5e5e5;
  transform-origin: left center;
  content: "";
}

.motion-ok .about-company__specs::before {
  transform: scaleX(0);
}

.motion-ok .about-company__body.is-inview .about-company__specs::before {
  transform: none;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}

.motion-ok .about-company__row {
  opacity: 0;
  transform: translateY(calc(16 * var(--s)));
}

.motion-ok .about-company__body.is-inview .about-company__row {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease 0.6s,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.motion-ok .about-company__body.is-inview .about-company__row:nth-child(2) {
  transition-delay: 0.75s;
}

.motion-ok .about-company__body.is-inview .about-company__row:nth-child(3) {
  transition-delay: 0.9s;
}
