/* ガイド: 一人法人の作り方 */

/* 目次 */
.guideToc {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 32px;
}

.guideToc__title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 12px;
  color: #065f46;
}

.guideToc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.guideToc__list li {
  counter-increment: toc;
  margin-bottom: 6px;
}

.guideToc__list li::before {
  content: counter(toc) ".";
  color: #059669;
  font-weight: 600;
  margin-right: 8px;
  font-size: 0.875rem;
}

.guideToc__list a {
  color: #374151;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.guideToc__list a:hover {
  color: #059669;
  text-decoration: underline;
}

/* ノート（体験談・ヒント） */
.guideNote {
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.guideNote__title {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.guideNote_type_experience {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
}

.guideNote_type_experience .guideNote__title {
  color: #92400e;
}

.guideNote_type_author {
  background: #ecfdf5;
  border-left: 4px solid #059669;
}

.guideNote_type_author .guideNote__title {
  color: #065f46;
}

.guideNote_type_tip {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
}

.guideNote_type_tip .guideNote__title {
  color: #1e40af;
}

/* テーブル */
.guideTable__wrapper {
  overflow-x: auto;
  margin: 16px 0 24px;
  -webkit-overflow-scrolling: touch;
}

.guideTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 480px;
}

.guideTable th,
.guideTable td {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  text-align: left;
}

.guideTable th {
  background: #f3f4f6;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

.guideTable td:nth-child(2),
.guideTable td:nth-child(3),
.guideTable td:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

.guideTable__total td {
  background: #ecfdf5;
  font-weight: 700;
}

/* ステップ */
.guideSteps {
  margin: 24px 0;
}

.guideSteps__item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.guideSteps__item:last-child {
  border-bottom: none;
}

.guideSteps__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #059669;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
}

.guideSteps__content {
  flex: 1;
  min-width: 0;
}

.guideSteps__content h3 {
  font-size: 1.0625rem;
  margin: 0 0 8px;
  color: #111827;
}

.guideSteps__content ul,
.guideSteps__content p {
  margin: 4px 0 0;
  font-size: 0.9375rem;
}

/* CTA（ツールへのリンク） */
.guideCallout {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9375rem;
}

.guideCallout a {
  color: #059669;
  font-weight: 700;
  text-decoration: underline;
}

.guideCallout a:hover {
  color: #047857;
}

/* モバイル */
@media (max-width: 640px) {
  .guideToc {
    padding: 16px 20px;
  }

  .guideNote {
    padding: 16px 18px;
  }

  .guideSteps__item {
    gap: 12px;
  }

  .guideSteps__number {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
  }

  .guideTable {
    font-size: 0.8125rem;
    min-width: 400px;
  }

  .guideTable th,
  .guideTable td {
    padding: 8px 10px;
  }
}
