/* =========================================================
   W FIVE  about.css  (ステップ4: Aboutページ)
   数値の出どころ: Wixライブサイトの実測値(PC幅1440px、レイアウト幅1425px)
   ========================================================= */

/* ---------- 1 ページ上部の見出し ---------- */
.about-hero { position: relative; height: 407px; overflow: hidden; background: #000; color: var(--grey-100); }
.about-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-hero__title { position: absolute; left: 58px; bottom: 62px; margin: 0; font: 400 42.75px/1.2 var(--font-text); color: var(--grey-100); }

/* ---------- 2 CEOからのメッセージ ---------- */
.ceo { padding: 121px 0 88px; background: var(--grey-100); color: var(--black); }
.ceo__inner { position: relative; left: -16px; display: flex; align-items: flex-start; justify-content: center; gap: 30px; max-width: 972px; margin: 0 auto; }
.ceo__photo { flex: none; width: 220px; height: 226px; object-fit: cover; border-radius: 50%; background: var(--white); animation: ceo-fade 1.2s ease both; }
@keyframes ceo-fade { from { opacity: 0; } to { opacity: 1; } }
.ceo__text { flex: 1 1 auto; min-width: 0; max-width: 722px; text-align: center; }
.ceo__title { margin: 0 0 8px; font: 200 60px/1.2 var(--font-label); letter-spacing: 0.2px; color: var(--black); }
.ceo__text p { margin: 0; font: 400 17.81px/25px var(--font-text); }

/* 3枚の組み写真(重なりと角丸は、Wix版の見た目。画面幅に合わせて全体が拡大・縮小する) */
.collage { position: relative; container-type: inline-size; width: min(1081px, calc(100% - 48px)); aspect-ratio: 1081 / 485; margin: 89px auto 0; }
.collage__item { position: absolute; overflow: hidden; border-radius: 5.5cqw; background: #d8dcdc; }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
/* 画面に入ったとき、3枚が順にひっくり返るように現れる(about.js が、.is-visible を付ける) */
.collage__item { opacity: 0; transform: perspective(1200px) rotateY(90deg); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease; }
.collage.is-visible .collage__item { opacity: 1; transform: perspective(1200px) rotateY(0); }
.collage.is-visible .collage__item--center { transition-delay: 0.15s; }
.collage.is-visible .collage__item--right { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { .collage__item { opacity: 1; transform: none; transition: none; } }
.collage__item--left   { left: 0;       top: 0;       width: 30.16%; height: 65.57%; z-index: 1; }
.collage__item--center { left: 20.91%;  top: 13.61%;  width: 58.10%; height: 86.39%; z-index: 2; }
.collage__item--right  { left: 74.01%;  top: 0;       width: 26.09%; height: 81.24%; z-index: 3; }

/* ---------- 3 THE W FIVE PYRAMID の外側 ---------- */
.pyramid { padding-bottom: 97px; background: var(--white); }   /* ピラミッドの下の余白(Wix版の実測に合わせる) */

/* ---------- スマホ ---------- */
@media (max-width: 759px) {
  .about-hero { height: 360px; }
  .about-hero__title { left: 24px; bottom: 40px; font-size: 36px; }
  .ceo { padding: 56px 0 56px; }
  .ceo__inner { left: 0; flex-direction: column; align-items: center; gap: 24px; padding: 0 24px; }
  .ceo__photo { width: 180px; height: 185px; }
  .ceo__title { font-size: 42px; }
  .ceo__text p { font-size: 17px; line-height: 25px; }
  .collage { margin-top: 56px; }
}
