/* === セクション構造 === */
.section {
  display: flex;
  gap: 1em;
  align-items: flex-start;
  padding: 0;
  border-top: 1px solid #ccc;
  margin: 0;
}

.label {
  width: 120px;
  color: var(--label-text-color);  /* ← 変数を使う！ */
  font-weight: bold;
  padding: 1em 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 4px 4px;
}
/* === コンテンツ本体 === */
.content {
  flex: 1;
  color: var(--color-text);
}

/* === 番号付きリスト === */
ol {
  list-style: none;
  counter-reset: item;
  padding: 0;
  margin: 0;
}

ol li {
  counter-increment: item;
  margin-bottom: 1em;
  position: relative;
  padding-left: 2em;
  color: var(--color-text);
}

ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: var(--color-link);
}

/* === リンク群：右寄せ === */
.service-links-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin: 2em 0;
}

/* === 縦並び === */
.service-links {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

/* === 各リンク行 === */
.service-link {
  display: flex;
  align-items: center;
}

/* →アイコン */
.service-link .arrow {
  display: inline-block;
  width: 1.5em;
  text-align: right;
  color: var(--color-link);
  font-weight: bold;
}

/* テキストリンク */
.service-link a {
  color: var(--color-link);
  text-decoration: none;
  font-size: 1rem;
  margin-left: 0.3em;
}

.service-link a:hover {
  text-decoration: underline;
  color: var(--color-link-hover);
}

/* === モバイル対応 === */
@media screen and (max-width: 768px) {
  .section {
    flex-direction: column;
  }

  .label {
    width: 100%;
    border-radius: 4px 4px 0 0;
  }

  .content {
    padding-top: 1rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .service-links-wrapper {
    justify-content: center;
  }
}
