@charset "UTF-8";

/* =========================================================
   井戸造園 — 会社概要ページ専用スタイル
   ========================================================= */

.profile__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

/* ---------- 概要表 ---------- */
.profile__table {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.profile__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  background: var(--surface);
  transition: background 0.4s var(--ease-soft);
}

.profile__row:hover {
  background: var(--surface-blue);
}

.profile__row dt {
  padding: 17px 22px;
  background: var(--surface-blue);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.profile__row dd {
  padding: 17px 22px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* JS が行ごとに順番に表示するときだけ効かせる */
.profile__table.is-staggered .profile__row {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft),
    background 0.4s var(--ease-soft);
}

.profile__table.is-staggered.is-in .profile__row {
  opacity: 1;
  transform: none;
}

/* ---------- サイド ---------- */
.profile__side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 130px;
}

.profile__photo {
  border-radius: var(--radius-l);
}

.profile__card {
  display: grid;
  gap: 12px;
  padding: 26px 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}

.profile__card-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--blue-deep);
}

.profile__card-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
}

.profile__card .btn {
  width: 100%;
  padding-inline: 16px;
  font-size: 14px;
}

.profile__card-tel {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- アクセス ---------- */
.access__inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: start;
}

.access__map {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-l);
}

.access__list {
  display: grid;
  gap: 14px;
}

.access__list li {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft);
}

.access__list li:hover {
  transform: translateX(4px);
  border-color: var(--blue-pale);
}

.access__label {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.08em;
}

.access__list p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .profile__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile__side {
    position: static;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .access__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .profile__side {
    grid-template-columns: 1fr;
  }

  .profile__row {
    grid-template-columns: 1fr;
  }

  .profile__row dt {
    padding: 12px 18px 8px;
  }

  .profile__row dd {
    padding: 8px 18px 14px;
  }
}
