/* ==============================================
   HILXについて (about.html) ページ専用スタイル
   ============================================== */

/* ─── Hero ──────────────────────────────────── */

.about-hero {
  position: relative;
  height: 692px;
  overflow: hidden;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* 上部から薄暗いグラデーション */
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 34%);
  z-index: 1;
  pointer-events: none;
}

/* パンくずリスト */
.about-breadcrumb {
  position: absolute;
  top: 18px;
  left: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 1px;
  text-decoration: none;
}

.about-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.about-breadcrumb a:hover {
  text-decoration: underline;
}

.about-breadcrumb img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

/* ─── Intro ─────────────────────────────────── */

.about-intro {
  background: #fff;
  padding: 90px 48px 80px;
  text-align: center;
}

.about-intro-title {
  font-size: 32px;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 40px;
}

.about-intro-body {
  max-width: 1112px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 400;
  line-height: 25px;
  color: #000;
}

.about-intro-body p + p {
  margin-top: 12px;
}

/* ─── 会社概要 ──────────────────────────────── */

.about-company {
  background: #f3f3f3;
  padding: 72px 48px 80px;
}

.about-company-inner {
  max-width: 700px;
  margin: 0 auto;
}

.about-company-title {
  font-size: 24px;
  font-weight: 700;
  color: #7d7d7d;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 40px;
  letter-spacing: 0;
}

.company-table {
  font-size: 15px;
  font-weight: 400;
  color: #000;
  letter-spacing: 0.84px;
  border-top: 1px solid #272727;
}

.company-row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #272727;
  min-height: 60px;
  padding: 16px 15px;
}

.company-row-tall {
  min-height: 87px;
}

.company-label {
  width: 135px;
  flex-shrink: 0;
  line-height: 27px;
}

.company-value {
  flex: 1;
  line-height: 27px;
}

/* ─── 山岳フルスクリーン画像 ────────────────── */

.about-landscape {
  position: relative;
  height: 750px;
  overflow: hidden;
}

.about-landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 下部から黒へのグラデーション */
.about-landscape::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 75%, #000 100%);
  pointer-events: none;
}

/* ─── ダークセクション共通 ──────────────────── */

.about-dark {
  background: #000;
  color: #fff;
}

.about-dark-1 {
  padding: 80px 0;
}

.about-dark-2 {
  padding: 80px 0;
}

/* ダークセクション1: タイトル + リードテキスト 横並び */
.about-dark-1-header {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 0 170px;
  margin-bottom: 48px;
}

.about-dark-title {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  white-space: nowrap;
  flex-shrink: 0;
}

.about-dark-lead {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 25px;
  max-width: 412px;
  padding-top: 2px;
}

/* コンテンツ画像（両セクション共通） */
.about-content-img-wrap {
  padding: 0 167px;
}

.about-content-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ボディテキスト（両セクション共通） */
.about-dark-body-text {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 25px;
  padding: 48px 167px 0;
}

/* ダークセクション2: 画像上のテキスト */
.about-dark-body-top {
  padding: 0 167px;
  margin-bottom: 56px;
}

/* ─── パララックス画像 ──────────────────────── */

.about-parallax {
  position: relative;
  height: 802px;
  overflow: hidden;
}

.about-parallax-img {
  position: absolute;
  width: 100%;
  height: 143.63%;
  top: -9.9%;
  left: 0;
  object-fit: cover;
  display: block;
}

/* ─── ナビゲーション アクティブ状態 ─────────── */

.nav-active {
  font-weight: 700 !important;
  border-bottom: 2px solid #000;
  padding-bottom: 2px;
}

/* ─── レスポンシブ: 1200px 以下 ─────────────── */

@media (max-width: 1200px) {
  .about-dark-1-header {
    padding-left: 48px;
    padding-right: 48px;
  }

  .about-dark-title {
    white-space: normal;
    min-width: 200px;
  }

  .about-dark-lead {
    max-width: none;
  }

  .about-content-img-wrap {
    padding-left: 48px;
    padding-right: 48px;
  }

  .about-dark-body-text {
    padding-left: 48px;
    padding-right: 48px;
  }

  .about-dark-body-top {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* ─── レスポンシブ: 768px 以下 ──────────────── */

@media (max-width: 768px) {
  .about-hero {
    height: 360px;
  }

  .about-breadcrumb {
    left: 24px;
    top: 10px;
    font-size: 11px;
  }

  .about-intro {
    padding: 40px 24px 48px;
  }

  .about-intro-title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .about-company {
    padding: 40px 24px 48px;
  }

  .about-company-title {
    font-size: 20px;
  }

  .about-landscape {
    height: 380px;
  }

  .about-dark-1,
  .about-dark-2 {
    padding: 48px 0;
  }

  .about-dark-1-header {
    flex-direction: column;
    padding-left: 24px;
    padding-right: 24px;
    gap: 16px;
    margin-bottom: 32px;
  }

  .about-dark-title {
    font-size: 20px;
    white-space: normal;
  }

  .about-dark-lead {
    max-width: none;
  }

  .about-content-img-wrap {
    padding: 0 24px;
  }

  .about-dark-body-text {
    padding: 32px 24px 0;
  }

  .about-dark-body-top {
    padding: 0 24px;
    margin-bottom: 32px;
  }

  .about-parallax {
    height: 380px;
  }

  .company-row {
    flex-direction: column;
    gap: 4px;
    min-height: auto;
  }

  .company-row-tall {
    min-height: auto;
  }

  .company-label {
    width: auto;
    font-weight: 500;
    color: #555;
    font-size: 13px;
  }
}

/* ─── レスポンシブ: 480px 以下 ──────────────── */

@media (max-width: 480px) {
  .about-hero {
    height: 240px;
  }

  .about-intro-title {
    font-size: 18px;
  }

  .about-landscape {
    height: 240px;
  }

  .about-parallax {
    height: 240px;
  }

  .about-dark-1-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-content-img-wrap {
    padding: 0 16px;
  }

  .about-dark-body-text,
  .about-dark-body-top {
    padding-left: 16px;
    padding-right: 16px;
  }
}
