/* 外部リンク集 */

.page-links .global-nav__list > li > a.is-current {
  box-shadow: inset 0 -3px 0 #337ab7;
}

.extlinks-page {
  padding: 40px 0 80px;
}

.extlinks-section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}

.extlinks-section:last-child {
  margin-bottom: 0;
}

/* 見出しは about.css の .about-section__heading を共用。下線は .about-section__rule（about.css は enqueue で先に読み込み） */

.extlinks-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 800px;
}

.extlinks-list__item + .extlinks-list__item {
  margin-top: 12px;
}

.extlinks-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 0;
  background: #f2f2f2;
  text-decoration: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: background 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
  .extlinks-list__link {
    font-size: 20px;
  }
}

.extlinks-list__link:hover {
  background: #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: var(--color-text);
}

.extlinks-list__label {
  flex: 1;
  min-width: 0;
}

.extlinks-list__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.75;
}

.extlinks-list__link:hover .extlinks-list__icon {
  opacity: 1;
}

@media (max-width: 767px) {
  .extlinks-list__link {
    align-items: flex-start;
    padding: 12px 14px;
    min-height: 52px;
  }

  .extlinks-list__icon {
    margin-top: 3px;
  }
}
