/* AI事務局 使い方ガイド 共通スタイル */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', system-ui, sans-serif;
  background: #faf8f5;
  color: #1c1917;
  line-height: 1.8;
  font-size: 17px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

h1 {
  font-size: 28px;
  font-weight: 900;
  color: #1d4ed8;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 15px;
  color: #78716c;
  margin-bottom: 32px;
}

h2 {
  font-size: 22px;
  font-weight: 900;
  color: #1c1917;
  margin: 48px 0 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid #1d4ed8;
}

.back-link {
  display: inline-block;
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 20px;
}

.back-link:hover { text-decoration: underline; }

.step {
  background: white;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1.5px solid #e7e5e4;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #1d4ed8;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: #1c1917;
}

.step-body {
  font-size: 17px;
  color: #44403c;
  line-height: 1.9;
}

.step-body p { margin-bottom: 12px; }

.step-body ol,
.step-body ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.step-body li { margin-bottom: 6px; }

.step-body strong {
  color: #1d4ed8;
  font-weight: 700;
}

.screenshot {
  margin: 16px 0;
  text-align: center;
}

.screenshot img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1.5px solid #d6d3d1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.screenshot figcaption {
  font-size: 13px;
  color: #a8a29e;
  margin-top: 6px;
}

.tip {
  background: #eff6ff;
  border-left: 4px solid #1d4ed8;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 15px;
  color: #1e40af;
}

.tip::before { content: "💡 "; }

.warning {
  background: #fef3c7;
  border-left: 4px solid #d97706;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 15px;
  color: #92400e;
}

.warning::before { content: "⚠️ "; }

.url-box {
  background: #f5f3f0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  word-break: break-all;
  margin-bottom: 12px;
}

.divider {
  height: 1px;
  background: #e7e5e4;
  margin: 40px 0;
}

/* もくじページのチャプターカード */
.chapter-list { display: grid; gap: 14px; margin-top: 24px; }

.chapter-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1.5px solid #e7e5e4;
  border-radius: 20px;
  padding: 20px 22px;
  text-decoration: none;
  color: #1c1917;
  transition: border-color .15s;
}

.chapter-card:hover { border-color: #93c5fd; }

.chapter-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.chapter-card .title {
  font-size: 18px;
  font-weight: 700;
  display: block;
}

.chapter-card .desc {
  font-size: 14px;
  color: #78716c;
  display: block;
  margin-top: 2px;
}

.chapter-card .arrow {
  margin-left: auto;
  color: #d6d3d1;
  font-size: 20px;
  flex-shrink: 0;
}

/* 前後ナビ */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
}

.page-nav a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  background: white;
  border: 1.5px solid #e7e5e4;
  border-radius: 14px;
  padding: 14px 20px;
}

.page-nav a:hover { border-color: #93c5fd; }

.footer {
  text-align: center;
  color: #a8a29e;
  font-size: 13px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #e7e5e4;
}

/* 説明用の表（名簿の列一覧など） */
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  -webkit-overflow-scrolling: touch;
}

.io-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 440px;
  font-size: 15px;
  background: white;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  overflow: hidden;
}

.io-table th,
.io-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #ececea;
  vertical-align: top;
  line-height: 1.6;
}

.io-table thead th {
  background: #f5f3f0;
  color: #57534e;
  font-weight: 700;
  white-space: nowrap;
}

.io-table tbody tr:last-child td,
.io-table tr:last-child td { border-bottom: none; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  .step { padding: 20px; }
  .step-title { font-size: 18px; }
  .step-number { width: 40px; height: 40px; font-size: 18px; }
  .container { padding: 16px 16px 60px; }
}
