/**
 * company.css — 会社概要
 */

/* ===== 会社概要 ===== */
.co {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 40px 104px;
}
.co-sec + .co-sec {
  margin-top: 96px;
}
.co-sec .section-header {
  margin-bottom: 44px;
}
.co-tbl {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--text);
}
.co-tbl th,
.co-tbl td {
  text-align: left;
  vertical-align: top;
  padding: 24px 8px;
  border-bottom: 1px solid var(--border-l);
  line-height: 1.9;
}
.co-tbl th {
  width: 200px;
  font-weight: 500;
  white-space: nowrap;
}
.co-tbl td a {
  color: var(--accent);
}
.co-tbl .tel {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.co-tbl ul {
  list-style: none;
}
.co-tbl li {
  position: relative;
  padding-left: 1.1em;
}
.co-tbl li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.map {
  aspect-ratio: 16/9;
  border-radius: 6px;
  background: var(--bg-warm);
  border: 1px solid var(--border-l);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}
.access {
  margin-top: 24px;
  line-height: 2;
  color: var(--text-light);
}
.access strong {
  color: var(--text);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.map-link {
  margin-top: 28px;
  text-align: center;
}
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  padding: 18px 48px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-size: 16px;
  background: #fff;
  transition:
    background 0.3s,
    color 0.3s;
}
.btn-line:hover {
  background: var(--accent);
  color: #fff;
}
.btn-line::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 14px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
@media (max-width: 760px) {
  .co {
    padding: 28px 20px 80px;
  }
  .co-sec + .co-sec {
    margin-top: 64px;
  }
  .co-tbl th,
  .co-tbl td {
    display: block;
    width: auto;
    padding: 0 4px;
  }
  .co-tbl th {
    padding-top: 20px;
    font-size: 14px;
    color: var(--muted);
  }
  .co-tbl td {
    padding-bottom: 20px;
    padding-top: 4px;
  }
  .map {
    aspect-ratio: 4/3;
  }
  .btn-line {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 760px) {
  .co-tbl th {
    border-bottom: none;
  }
}
.access div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-l);
}
.access div:first-child {
  border-top: 1px solid var(--border-l);
}
.access dt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: 3px;
  height: 26px;
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
}
.access dd {
  color: var(--text);
  line-height: 2;
}

/* ===== 関連事業（外部サイトへのリンク） ===== */
.group-list li + li {
  margin-top: 4px;
}
.co-tbl .group-list a {
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.group-list a:hover {
  border-color: currentColor;
}
.group-list a::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  vertical-align: -1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") no-repeat center / contain;
}
