/* ==========================================================================
   ABOUT ページ 固有スタイル
   （共通デザイントークン・コンポーネントは base.css を利用。ここでは
   about.html でのみ使用するレイアウト/コンポーネントのみを定義する）
   ========================================================================== */

/* ---------- ページタイトル「ABOUT」 ---------- */
.about-title {
  position: relative;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 32px;
}
.about-title .kicker {
  display: block;
}

/* ---------- メインビジュアル(オフィス写真) ---------- */
.about-hero {
  padding-bottom: var(--section-gap);
}
.about-hero__img {
  width: 100%;
  overflow: hidden;
}
.about-hero__img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .about-hero {
    padding-bottom: var(--section-gap-sp);
  }
}

/* ---------- 社長メッセージ ---------- */
.about-president {
  position: relative;
  padding-bottom: var(--section-gap);
}

.president-block {
  margin-top: 40px;
}

.president-block__photo {
  width: 340px;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}
.president-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.president-block__text p {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1.6em;
}
.president-block__text p:last-of-type {
  margin-bottom: 0;
}
.president-block__sign {
  margin-top: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .about-president {
    padding-bottom: var(--section-gap-sp);
  }
  .president-block__photo {
    width: 220px;
  }
  .president-block__text p {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* ---------- 会社概要 ---------- */
.about-company {
  position: relative;
  padding-bottom: var(--section-gap);
}

.about-company__sub {
  display: block;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 18px;
  margin-bottom: 40px;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.company-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}
.company-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.8;
}
.company-table th {
  width: 140px;
  color: #1C1C1C;
  font-weight: 700;
  white-space: nowrap;
}
.company-table td {
  color: #202020;
  font-weight: 400;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table .biz-list {
  margin-top: 4px;
}
.company-table .biz-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.8;
}
.company-table .biz-list li::before {
  content: "└";
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .about-company {
    padding-bottom: var(--section-gap-sp);
  }
  .about-company__sub {
    margin-bottom: 28px;
  }
  .company-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .company-table th {
    width: 108px;
    font-size: 14px;
  }
  .company-table td {
    font-size: 14px;
  }
}
