/* 下層ページ（法人について・チーム紹介・スタッフ・FAQ）共通のMV・パンくず
 * 通常の指定 → 条件別の調整の順序を保っています。
 * @media は画面幅などの条件です。追記前に同じセレクター名を検索してください。
 */

/* 基本設定・共通の色と画像 */

:root {
  --about-red: #8e0000;
  --about-gold: #d6bd8f;
  --about-line: #ddd5cc;
}

.about-page-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(118deg, #9d080d 0%, #790006 48%, #430002 100%);
  color: #fff;
}

.about-page-hero-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.11), transparent 26%),
    linear-gradient(120deg, transparent 58%, rgba(255, 255, 255, 0.045) 58% 59%, transparent 59%);
}

.about-page-hero-word {
  position: absolute;
  left: 50%;
  bottom: -0.22em;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.07);
  font-size: clamp(106px, 14.5vw, 228px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.075em;
  white-space: nowrap;
  pointer-events: none;
}

/* メインビジュアル */

.about-page-hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-page-hero-inner p {
  margin: 0 0 10px;
  color: #efc5c7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.about-page-hero-inner h1 {
  margin: 0;
  font-size: clamp(32px, 4.3vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.about-page-hero-inner .about-page-hero-meta {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 24px;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.about-page-hero-meta i {
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.about-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #e7e0d8;
}

.about-breadcrumb .container {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6f6861;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-breadcrumb a {
  transition: color 0.25s;
}

.about-breadcrumb a:hover {
  color: var(--about-red);
}

.about-breadcrumb b {
  color: #b0a8a0;
  font-weight: 400;
}

@media (max-width: 900px) {
  /* レスポンシブ時：MVの高さを140pxに圧縮し、タイトル位置・文字サイズを調整 */

  .about-page-hero {
    height: 140px;
  }

  .about-page-hero-word {
    left: 48%;
    bottom: -0.08em;
    font-size: 26vw;
  }

  .about-page-hero-inner {
    align-items: flex-start;
    padding-top: 26px;
  }

  .about-page-hero-inner p {
    margin-bottom: 6px;
  }

  .about-page-hero-inner h1 {
    font-size: 26px;
  }

  .about-page-hero-inner .about-page-hero-meta {
    position: absolute;
    right: 0;
    bottom: 8px;
    margin: 0;
    font-size: 6.5px;
    letter-spacing: 0.1em;
  }

  .about-page-hero-meta i {
    width: 14px;
  }

  .about-breadcrumb .container {
    min-height: 42px;
  }

  .contact-section .contact-inner h2 span {
    white-space: normal;
  }

  .contact-section .contact-inner h2 {
    font-size: clamp(20px, 6.3vw, 27px);
  }
}

/* MVキャッチコピー（任意）：section に .has-lead を付け、.about-page-hero-lead を追加して使用。
 * MVの高さ（PC 220px／900px以下 140px）は変えず、全下層ページで統一したまま表示します。
 * 900px以下はMV内に収まらないため、MV直下の .about-page-hero-lead-sp に切り替えます。
 */

.about-page-hero.has-lead .about-page-hero-inner {
  justify-content: flex-start;
  gap: clamp(32px, 4.4vw, 72px);
}

.about-page-hero.has-lead .about-page-hero-inner > div:first-child {
  flex: 0 0 auto;
}

.about-page-hero-inner .about-page-hero-lead {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 900px;
  margin: 0 auto 0 0;
  padding: 4px 0 4px clamp(22px, 2.4vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  color: #fff;
  font-size: clamp(15px, 1.38vw, 21px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.about-page-hero-lead-quote {
  font-weight: 900;
  letter-spacing: 0.01em;
}

/* 「」ごとに改行されるよう、かぎ括弧単位で折り返しを抑制 */

.about-page-hero-lead-quote > span {
  display: inline-block;
}

.about-page-hero-lead-text {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86em;
  font-weight: 700;
}

.about-page-hero.has-lead .about-page-hero-inner .about-page-hero-meta {
  position: absolute;
  right: 0;
  bottom: 0;
}

.about-page-hero-lead-sp {
  display: none;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .about-page-hero.has-lead .about-page-hero-inner h1 {
    font-size: 38px;
  }

  .about-page-hero-inner .about-page-hero-lead {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .about-page-hero-inner .about-page-hero-lead {
    display: none;
  }

  .about-page-hero.has-lead .about-page-hero-inner .about-page-hero-meta {
    bottom: 8px;
  }

  .about-page-hero-lead-sp {
    display: block;
    background: #fff;
    border-bottom: 1px solid #e7e0d8;
  }

  .about-page-hero-lead-sp p {
    margin: 0 auto;
    padding: 18px 0 18px 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.02em;
  }

  .about-page-hero-lead-sp p:before {
    content: "";
    position: absolute;
    left: 0;
    top: 21px;
    bottom: 21px;
    width: 3px;
    background: var(--about-red);
  }

  .about-page-hero-lead-sp .about-page-hero-lead-quote {
    color: var(--about-red);
  }

  .about-page-hero-lead-sp .about-page-hero-lead-text {
    color: #39332f;
    font-size: 13px;
  }
}
