.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.company__grid {
  display: grid;
  grid-template-columns: 1.4fr minmax(300px, 440px);
  /* ← 右を440px上限に */
  gap: 32px;
  align-items: start;
}

.company__visual {
  max-width: clamp(300px, 34vw, 440px);
  /* ← さらに上限で絞る */
  justify-self: end;
}

.company__visual .company__img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

.company__info {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}

.company__heading {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 32px;
}

.company__dl {
  display: grid;
  grid-template-columns: 10em 1fr;
  /* ラベル幅を固定して見やすく */
  column-gap: 18px;
  row-gap: 12px;
}

.company__dl dt {
  color: #666;
  font-weight: 600;
  line-height: 1.7;
}

.company__dl dd {
  margin: 0;
  line-height: 1.7;
  padding-bottom: 12px;
  border-bottom: 1px dashed #eee;
  /* 行の区切り */
}

.company__dl dd:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

/* リンクの視認性を上げる（ブランドカラーはお好みで） */
.company__dl a,
.company__tel {
  color: #7C4DFF;
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 77, 255, .25);
}

.company__dl a:hover {
  border-bottom-color: rgba(124, 77, 255, .6);
}

/* CTAボタンの整形 */
.company__cta {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.company__cta .btn {
  border-radius: 9999px;
  padding: 10px 16px;
}

.company__cta .btn-primary {
  background: #7C4DFF;
  border-color: #7C4DFF;
}

.company__cta .btn-outline-primary {
  color: #7C4DFF;
  border-color: #7C4DFF;
}

.company__cta .btn-outline-primary:hover {
  background: #7C4DFF;
  color: #fff;
}

.company__access .company__mapWrap {
  margin-top: 12px;
  display: grid;
  place-items: center;
}

.company__access .company__map {
  width: min(100%, 1200px);
  /* コンテナ幅いっぱいに */
  height: clamp(420px, 52vh, 600px);
  /* 画面に応じて高さ拡張 */
  border: 0;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

.company__access .company__mapLink {
  margin-top: 8px;
}


/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .company__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .company__visual {
    order: 2;
    /* 下 */
    max-width: 100%;
    margin-top: 12px;
  }

  .company__visual .company__img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .company__access .company__map {
    height: 360px;
    /* SPは少し低めに */
  }

  .company__info {
    padding: 20px 18px;
    line-height: 1.8;
    font-size: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  }

  /* ラベル列を細く・テキスト列を広く */
  .company__dl {
    grid-template-columns: 6.5em 1fr;
    column-gap: 14px;
    row-gap: 8px;
  }

  .company__dl dt {
    font-size: 14px;
    font-weight: 600;
    color: #555;
  }

  .company__dl dd {
    font-size: 15px;
    color: #222;
    word-break: break-word;
  }

  /* リンクの見やすさ向上 */
  .company__dl a {
    color: #6B4DFF;
    text-decoration: underline;
    font-weight: 500;
  }

  /* 各項目の区切り線を控えめに */
  .company__dl dd {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
  }

  .company__dl dd:last-of-type {
    border-bottom: none;
  }
}

/* ===== History Section ===== */
.company__history {
  padding: 80px 0;
}

.history__timeline {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  padding-left: 24px;
  border-left: 2px solid #ddd;
}

.history__year {
  position: relative;
  margin-bottom: 40px;
  padding-left: 24px;
}

.history__year::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 6px;
  width: 16px;
  height: 16px;
  background-color: #7C4DFF;
  border-radius: 50%;
}

.history__year h3 {
  font-size: 1.25rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 8px;
}

.history__year p,
.history__year ul {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.history__year ul {
  padding-left: 1.2em;
}

.history__year ul li {
  list-style: disc;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .company__history {
    padding: 60px 0;
  }

  .history__timeline {
    border-left: 1.5px solid #ddd;
    padding-left: 18px;
  }

  .history__year {
    margin-bottom: 32px;
    padding-left: 18px;
  }

  .history__year h3 {
    font-size: 1.1rem;
  }

  .history__year p,
  .history__year ul {
    font-size: 0.95rem;
  }

  .history__year::before {
    width: 14px;
    height: 14px;
    left: -9px;
  }
}