@charset "UTF-8";
/* ==========================================================================
   about.css : ABOUT / STORY ページ専用スタイル
   ========================================================================== */

/* 各セクションの背景画像（セクションいっぱいに敷く） */
.p-about-fv__bg,
.p-about-story__bg,
.p-about-vision__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   ファーストビュー
   -------------------------------------------------------------------------- */
.p-about-fv {
  position: relative;
  height: 76rem;
  overflow: hidden;
}

.p-about-fv__copy {
  position: absolute;
  top: 8.7rem;
  left: 17rem;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
}

.p-about-fv__en {
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.12;
  letter-spacing: 0.2em;
  color: var(--color-red-dark);
}

.p-about-fv__title {
  margin-top: 2.9rem;
  font-size: 8.3rem;
  line-height: 1.19;
  letter-spacing: 0.07em;
}

.p-about-fv__txt {
  margin-top: 4.8rem;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.8;
  letter-spacing: 0.07em;
}

/* --------------------------------------------------------------------------
   ストーリー（01〜05）：背景写真の上に、部品 .c-story を置く
   -------------------------------------------------------------------------- */
.p-about-story {
  position: relative;
  padding: 8rem 4rem;
  overflow: hidden;
}

.p-about-story__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
}

/* 01：左に写真、右に文章 */
.p-about-story--childhood {
  min-height: 71.8rem;
  padding: 5rem 4rem 1rem;
}

.p-about-story--childhood .p-about-story__inner {
  align-items: center;
  justify-content: space-between;
}

.p-about-story__photo {
  flex-shrink: 0;
  width: 84.5rem;
  height: 64.7rem;
}

.p-about-story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-about-story--childhood .c-story__body,
.p-about-story--working .c-story__body {
  width: 83.9rem;
}

/* 02：左に文章（白文字） */
.p-about-story--working {
  min-height: 90.2rem;
  padding: 15rem 4rem 5rem;
}

/* 03：右に文章 */
.p-about-story--success .p-about-story__inner,
.p-about-story--dream .p-about-story__inner {
  justify-content: flex-end;
}

.p-about-story--success .c-story__body {
  width: 83.6rem;
}

/* 04：左に文章 */
.p-about-story--question {
  min-height: 92rem;
  padding: 7rem 4rem;
}

.p-about-story--question .c-story__body {
  width: 79rem;
}

/* 05：右に文章 */
.p-about-story--dream {
  padding: 9rem 4rem;
}

.p-about-story--dream .c-story__body {
  gap: 3.8rem;
  width: 77.5rem;
}

/* --------------------------------------------------------------------------
   VISION
   -------------------------------------------------------------------------- */
.p-about-vision {
  position: relative;
  min-height: 70.9rem;
  padding: 6rem 13.7rem;
  overflow: hidden;
  color: var(--color-white);
}

.p-about-vision__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4.6rem;
}

/* 見出し：傾けた文字＋黄色の手書き風の下線（Figma の配置どおり） */
.p-about-vision__head {
  position: relative;
  width: 102.4rem;
  height: 17.6rem;
}

.p-about-vision__head::after {
  content: "";
  position: absolute;
  top: 14.21rem;
  left: 0;
  width: 92.6rem;
  height: 3.816rem;
  background: url("../../img/about/under_line.svg") no-repeat center / 100% 100%;
}

.p-about-vision__en,
.p-about-vision__title {
  position: absolute;
  z-index: 1;
  transform: rotate(-2deg) skewX(-16deg) scaleY(0.96);
}

.p-about-vision__en {
  top: 0.2rem;
  left: 3.2rem;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.12;
  letter-spacing: 0.2em;
  color: var(--color-red-dark);
}

.p-about-vision__title {
  top: 3.86rem;
  left: 1.36rem;
  font-size: 11.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 0 10rem var(--color-black);
}

/* 文字ごとに少しずつ小さくして、勢いを出す */
.p-about-vision__c2 { font-size: 11rem; }
.p-about-vision__c3 { font-size: 10.5rem; }
.p-about-vision__c4 { font-size: 10rem; }
.p-about-vision__c5 { font-size: 9.5rem; }

.p-about-vision__txt {
  width: 81.9rem;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.8;
  letter-spacing: 0.09em;
  text-shadow: 0 0 10rem var(--color-black);
}

.p-about-vision__txt p + p {
  margin-top: 1.8em;
}

.p-about-vision__lead {
  font-weight: 700;
  font-size: 3.5rem;
}

.p-about-vision__txt .p-about-vision__lead,
.p-about-vision__lead + p {
  margin-top: 1.23em;
}

/* --------------------------------------------------------------------------
   ABOUT ME（プロフィール）
   -------------------------------------------------------------------------- */
.p-about-me {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 6rem;
}

.p-about-me__photo {
  flex-shrink: 0;
  width: 72.9rem;
  height: 70rem;
}

.p-about-me__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.p-about-me__body {
  display: flex;
  flex-direction: column;
  gap: 3.1rem;
  width: 105.4rem;
}

.p-about-me__head {
  display: flex;
  flex-direction: column;
  gap: 2.9rem;
}

.p-about-me__en {
  font-size: 2.8rem;
  line-height: normal;
  letter-spacing: 0.1em;
  color: var(--color-red);
}

.p-about-me__name {
  font-size: 5rem;
  line-height: 4.1rem;
  letter-spacing: 0.03em;
  color: var(--color-black);
}

.p-about-me__role {
  display: block;
  font-size: 2.6rem;
  letter-spacing: 0.06em;
  color: #7e7d7d;
}

.p-about-me__timeline {
  display: flex;
  flex-direction: column;
  gap: 3.1rem;
  font-weight: 500;
  font-size: 2.3rem;
  line-height: 5rem;
  letter-spacing: 0.09em;
  color: var(--color-text);
}

.p-about-me__row {
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
}

.p-about-me__row dt {
  flex-shrink: 0;
  white-space: nowrap;
}

.p-about-me__row dd {
  width: 85.2rem;
}

.p-about-me__row:first-child dd {
  width: 94.4rem;
}

/* ==========================================================================
   [共通]レスポンシブ対応
   ========================================================================== */
/*960px以下*/
@media only screen and (max-width: 960px) {
  /* ファーストビュー：写真の上でも文字が読めるよう、左側を暗くする */
  .p-about-fv {
    height: auto;
    padding: 12rem var(--side-padding) 14rem;
  }

  .p-about-fv__bg {
    object-position: 70% center;
  }

  .p-about-fv::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
  }

  .p-about-fv__copy {
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
  }

  .p-about-fv__en {
    font-size: 2.6rem;
  }

  .p-about-fv__title {
    margin-top: 2.4rem;
    font-size: 7.2rem;
  }

  .p-about-fv__txt {
    margin-top: 4rem;
    font-size: 2.6rem;
  }

  /* ストーリー：写真の上に重なる文章が読めるよう、背景を薄く（02 は暗く）する */
  .p-about-story,
  .p-about-story--childhood,
  .p-about-story--working,
  .p-about-story--question,
  .p-about-story--dream {
    min-height: 0;
    padding: 12rem var(--side-padding);
  }

  .p-about-story::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.82);
    pointer-events: none;
  }

  .p-about-story--working::after {
    background-color: rgba(0, 0, 0, 0.6);
  }

  .p-about-story__inner,
  .p-about-story--childhood .p-about-story__inner,
  .p-about-story--success .p-about-story__inner,
  .p-about-story--dream .p-about-story__inner {
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6rem;
  }

  .p-about-story__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 845 / 647;
  }

  .p-about-story .c-story__body,
  .p-about-story--dream .c-story__body {
    gap: 3rem;
    width: 100%;
  }

  /* VISION */
  .p-about-vision {
    min-height: 0;
    padding: 12rem var(--side-padding);
  }

  .p-about-vision::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    pointer-events: none;
  }

  .p-about-vision__inner {
    z-index: 1;
    gap: 5rem;
  }

  /* 見出しは PC と同じ配置のまま、画面幅に合わせて縮める（67rem ÷ 102.4rem） */
  .p-about-vision__head {
    width: 67rem;
    height: 11.5rem;
  }

  .p-about-vision__head > *,
  .p-about-vision__head::after {
    zoom: 0.654;
  }

  .p-about-vision__txt {
    width: 100%;
    font-size: 2.6rem;
  }

  /* 1行の最大21文字が収まる大きさ（21文字 × 2.8rem × 1.09 ≒ 64rem ＜ 表示幅 67rem） */
  .p-about-vision__lead {
    font-size: 2.8rem;
  }

  /* ABOUT ME：写真の下に文章 */
  .p-about-me {
    flex-direction: column;
    align-items: stretch;
    padding-right: 0;
  }

  .p-about-me__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 729 / 700;
  }

  .p-about-me__body {
    gap: 4rem;
    width: 100%;
    padding: 8rem var(--side-padding) 12rem;
  }

  .p-about-me__en {
    font-size: 2.6rem;
  }

  .p-about-me__name {
    font-size: 5.6rem;
    line-height: 1.2;
  }

  .p-about-me__role {
    margin-top: 0.8rem;
    font-size: 2.6rem;
  }

  .p-about-me__timeline {
    gap: 4rem;
    font-size: 2.6rem;
    line-height: 1.8;
  }

  .p-about-me__row {
    flex-direction: column;
    gap: 0.6rem;
  }

  .p-about-me__row dt {
    font-weight: 600;
    color: var(--color-red-dark);
  }

  .p-about-me__row dd,
  .p-about-me__row:first-child dd {
    width: 100%;
  }
}
