/* ==========================================================================
   作成ツール一覧ページ 専用スタイル
   category.html（カード×グリッド）とは異なる、グループ区切り＋横並びリスト形式。
   すべてのカスタムクラスは otl- プレフィックスを付け、既存Bizroute CSSと
   衝突しないようにする。
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
  background: #f7f8fa;
}

:focus-visible {
  outline: 2px solid #2f6fb0;
  outline-offset: 2px;
}

.otl-breadcrumb {
  max-width: 900px;
  margin: 14px auto 0;
  padding: 0 20px;
}

.otl-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}

.otl-header {
  margin: 6px 0 30px;
}

.otl-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 10px;
}

.otl-lead {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.otl-group {
  margin-bottom: 34px;
}
.otl-group:last-child { margin-bottom: 0; }

.otl-group-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f4f8a;
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 4px solid #2f6fb0;
}

.otl-list {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.otl-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #eef0f3;
  transition: background-color .15s ease;
}
.otl-list .otl-card:last-child { border-bottom: none; }

.otl-card:hover {
  background: #f3f7fc;
}

.otl-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 4px;
}

.otl-card-body p {
  font-size: 0.86rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.otl-card-arrow {
  flex: 0 0 auto;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2f6fb0;
}

@media (max-width: 640px) {
  .otl-card {
    padding: 14px 16px;
  }
  .otl-header h1 {
    font-size: 1.4rem;
  }
}
