/* ============================================================
   HARE — 会社概要ページ 専用
   既存トークン（styles.css）・コンポーネント（layout.css）を踏襲
   ヘッダー展開UIは header-nav.css、パンくずは category.css を共用
============================================================ */

/* 現在地ナビ */
.nav__item[aria-current="page"] { color: var(--blue); }
.nav__item[aria-current="page"]::after { width: 100%; }

/* ---------- 見出し下のアクセント線 ---------- */
.title-rule {
  display: block; width: 56px; height: 3px; border-radius: 3px;
  background: var(--blue); margin-top: 18px;
}

/* ---------- ヒーロー（下端は直線） ---------- */
.company-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f1f8fe 55%, #e4f1fb 100%);
}
.company-hero__bg {
  position: absolute; top: 0; bottom: 0;
  right: max(0px, calc((100% - var(--maxw)) / 2));
  width: min(60%, 780px);
  background: url("../img/company-hero.webp") no-repeat;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 40%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 40%, #000 100%);
}
.company-hero__inner { position: relative; z-index: 2; padding-block: 28px 50px; min-height: 320px; }
.company-hero__text { padding-top: 48px; }
.company-hero__title {
  font-family: var(--font-round);
  font-size: clamp(30px, 4vw, 44px); font-weight: 800;
  letter-spacing: .03em; line-height: 1.2;
}

/* ---------- 会社情報テーブル ---------- */
.company-sec { padding-block: clamp(48px, 6vw, 78px); }
.info-table {
  background: var(--sky-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(8px, 1.4vw, 18px) clamp(22px, 4vw, 48px);
}
.info-row {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 18px 28px; align-items: baseline;
  padding: clamp(20px, 2.4vw, 26px) 4px;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-row__key { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.info-row__val { font-size: 17px; line-height: 1.95; color: var(--ink-soft); margin: 0; }

/* ---------- アクセス（地図） ---------- */
.access { margin-top: clamp(46px, 6vw, 76px); }
.access__head { margin-bottom: clamp(22px, 3vw, 30px); }
.access__title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: .02em; }
.access__addr {
  margin-top: 14px; display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; line-height: 1.85; color: var(--ink-soft);
}
.access__addr svg { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.map-frame {
  width: 100%; aspect-ratio: 16 / 6;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-card);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   レスポンシブ
============================================================ */
@media (max-width: 1000px) {
  .company-hero__inner { min-height: 312px; padding-block: 24px 30px; }
  .company-hero__bg { width: min(82%, 660px); }
}

@media (max-width: 700px) {
  .company-hero { display: flex; flex-direction: column; }
  .company-hero__inner { order: 1; min-height: 0; padding-block: 14px 8px; }
  .crumbs { font-size: 11px; }
  .company-hero__text { padding-top: 24px; }
  .company-hero__title { font-size: 28px; }
  .title-rule { margin-top: 14px; }
  .company-hero__bg {
    order: 2; position: static; inset: auto; right: auto;
    width: auto; margin: 6px var(--pad) 8px;
    aspect-ratio: 1923 / 818; background-position: center bottom;
    -webkit-mask-image: none; mask-image: none;
  }

  /* ヒーロー下とテーブルの間隔を詰める（SPのみ） */
  .company-sec { padding-top: 22px; }

  .info-row {
    grid-template-columns: 1fr; gap: 6px;
    padding: 16px 2px;
  }
  .info-row__key { font-size: 14px; color: var(--ink); }
  .info-row__val { font-size: 14.5px; margin-left: 14px; }

  .map-frame { aspect-ratio: 4 / 3; border-radius: 12px; }
}
