/* =============================================
   about-a.css : 会社概要セクション
   ============================================= */

/* ── ベース ─────────────────────────────── */
.about-a {
  padding: var(--sp-xl) 0;
  background-color: var(--clr-bg-alt);
  position: relative;
  overflow: hidden;
}

/* 背景装飾（左上ゴールドライン）*/
.about-a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--clr-gold) 40%,
    var(--clr-gold) 60%,
    transparent 100%
  );
}

/* ── Inner ──────────────────────────────── */
.about-a__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 var(--inner-padding);
}

/* ── セクションヘッダー ──────────────────── */
.about-a__header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.about-a__section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: var(--fz-2xs);
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--clr-gold);
  line-height: 1;
}

.about-a__section-label::before,
.about-a__section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--clr-gold);
  flex-shrink: 0;
}

.about-a__section-title {
  font-family: var(--font-ja);
  font-size: var(--fz-xl);
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--clr-white);
  line-height: 1.4;
  margin-top: var(--sp-sm);
}

/* ── コンテンツ（パターンA：テキスト + 画像）── */
.about-a__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

/* ── テキストエリア ──────────────────────── */
.about-a__text {
  /* アニメーション初期状態 */
  opacity: 0;
  transform: translateX(-24px);
}

.about-a__text.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* キャッチコピー */
.about-a__catch {
  font-family: var(--font-en);
  font-size: var(--fz-xs);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: var(--sp-sm);
}

/* メインコピー */
.about-a__heading {
  font-family: var(--font-ja);
  font-size: var(--fz-lg);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--clr-white);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

/* 本文 */
.about-a__body {
  font-family: var(--font-ja);
  font-size: var(--fz-sm);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--clr-text-sub);
  line-height: 2;
  margin-bottom: var(--sp-lg);
}

/* ── 実績数値 ────────────────────────────── */
.about-a__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
  padding: var(--sp-md) 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.about-a__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.about-a__stat-number {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--clr-gold);
  line-height: 1;
}

.about-a__stat-unit {
  font-family: var(--font-ja);
  font-size: var(--fz-xs);
  font-weight: 300;
  color: var(--clr-gold);
}

.about-a__stat-label {
  font-family: var(--font-ja);
  font-size: var(--fz-2xs);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--clr-text-sub);
  line-height: 1.5;
}

/* ── CTAボタン ───────────────────────────── */
.about-a__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 var(--sp-lg);
  font-family: var(--font-ja);
  font-size: var(--fz-sm);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--clr-bg);
  background-color: var(--clr-gold);
  transition: background-color var(--t-base);
}

.about-a__btn-primary:hover {
  background-color: var(--clr-gold-light);
}

/* ── 画像エリア ──────────────────────────── */
.about-a__media {
  position: relative;
  /* アニメーション初期状態 */
  opacity: 0;
  transform: translateX(24px);
}

.about-a__media.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

/* メイン画像（16:9）*/
.about-a__img-wrap {
  position: relative;
  aspect-ratio: 16 / 9; /* 画像比率：変更禁止 */
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.about-a__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--t-slow);
  background-color: var(--clr-bg-card-img);
}

.about-a__img-wrap:hover .about-a__img {
  transform: scale(1.03);
}

/* 画像装飾ライン（左ゴールドボーダー）*/
.about-a__img-wrap::before {
  content: '';
  position: absolute;
  top: var(--sp-md);
  left: calc(-1 * var(--sp-sm));
  bottom: calc(-1 * var(--sp-sm));
  width: 1px;
  background-color: var(--clr-gold);
  opacity: 0.4;
  z-index: 1;
}

/* 画像キャプション */
.about-a__img-caption {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-sm);
  font-family: var(--font-ja);
  font-size: var(--fz-2xs);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--clr-text-sub);
}

.about-a__img-caption::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background-color: var(--clr-gold);
  flex-shrink: 0;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
  .about-a__content {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .about-a__text {
    order: 1;
  }

  .about-a__media {
    order: 2;
  }
}

@media (max-width: 640px) {
  .about-a__inner {
    padding: 0 var(--inner-padding-sp);
  }

  .about-a__section-title {
    font-size: var(--fz-lg);
  }

  .about-a__heading {
    font-size: var(--fz-md);
  }

  .about-a__stat-number {
    font-size: 28px;
  }

  .about-a__stats {
    gap: var(--sp-xs);
  }

  .about-a__btn-primary {
    width: 100%;
    justify-content: center;
  }

  .about-a__img-wrap::before {
    display: none;
  }
}
