/* === セクション構造 === */
.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);
}

.tsusho-block {
  margin: 3rem auto;
  max-width: 1000px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);  /* ← テーマ対応の背景色 */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.tsusho-layout {
  display: flex;
  flex-wrap: nowrap; /* ← wrapさせない */
  gap: 2rem;
  align-items: flex-start;
}

/* 左列（3/5）：画像とテキスト */
.tsusho-img {
  flex: 3;
  overflow: visible;
  position: relative;
  z-index: 0;
}

/* 画像コンテナを独立スクロール可能に */
.tsusho-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: none;     /* ← トランジション無効 */
  cursor: default;      /* ← ポインター変化なし */
}

/* テキスト部分 */
.tsusho-caption {
  padding-top: 1rem;
}

/* 右列（2/5）：テキスト＋画像 */
.tsusho-info {
  flex: 2;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
}

.tsusho-info h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-main);
  font-weight: bold;
}

.tsusho-info p {
  margin-bottom: 1rem;
  text-indent: 1em;
}

.tsusho-info img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  display: block;
}

.tsusho-info img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  display: block;
}

.tsusho-info img:hover {
  transform: scale(1.6);  /* ← ズーム */
  cursor: zoom-in;
}

/* === モバイル対応 === */
@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;
  }

  .tsusho-flex {
    flex-direction: column;
    align-items: center;
  }

  .tsusho-layout {
    flex-direction: column;
  }

  .tsusho-img,
  .tsusho-info {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .tsusho-img:hover img {
    transform: scale(1.2);
  }

  .tsusho-info {
    font-size: 1rem;
  }

  .tsusho-info img:hover {
    transform: scale(1.2);
  }
}
