/* ============================================================
   姫野不動産 — 会社概要 (company.css)
   ============================================================ */

/* ---------- 代表挨拶 ---------- */
.greeting {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}
.greeting__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--green-tint) 0 12px, #e3ebe4 12px 24px);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.greeting__photo {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}


.greeting__position {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 6px;
}
.greeting__name {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
  padding-bottom: 22px;
  margin-bottom: 24px;
  position: relative;
}
.greeting__name::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 48px; height: 2px;
  background: var(--gold-500);
}
.greeting__text p {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--text);
  margin-bottom: 18px;
}
.greeting__text p:last-child { margin-bottom: 0; }

/* ---------- 会社情報テーブル ---------- */
.company-table-wrapper {
  max-width: 820px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.company-table th,
.company-table td {
  padding: 20px 28px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  line-height: 1.8;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 180px;
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.company-table td { color: var(--text); }
.company-table__tel { color: var(--green-700); font-weight: 700; font-family: var(--font-en); }

/* ---------- アクセス ---------- */
.access {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  max-width: 1000px;
  margin-inline: auto;
  align-items: start;
}
.access__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.access__map iframe { width: 100%; height: 420px; }

.access__detail { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.access__item { display: flex; gap: 14px; }
.access__icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--green-tint);
  color: var(--green-700);
}
.access__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold-600); margin-bottom: 2px; }
.access__text { font-size: 15px; color: var(--text); line-height: 1.7; }
.access__text a { color: var(--green-700); font-weight: 700; font-family: var(--font-en); }

.access__directions {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.access__directions-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.access__directions-list { display: flex; flex-direction: column; gap: 12px; }
.access__directions-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.access__directions-list svg { flex: 0 0 auto; color: var(--green-600); margin-top: 4px; }

@media (max-width: 768px) {
  .greeting { grid-template-columns: 1fr; gap: 28px; }
  .greeting__image { max-width: 300px; margin-inline: auto; }
  .access { grid-template-columns: 1fr; gap: 28px; }
  .access__map iframe { height: 320px; }
}
@media (max-width: 560px) {
  .company-table th, .company-table td { padding: 14px 18px; font-size: 14px; }
  .company-table th { width: 120px; }
}
