/* ============================================================
   altタグチェック有り無しゴレン — style.css
   ============================================================ */

/* ── リセット ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── デザイントークン ── */
:root {
  --bg:           #FDF4EA;
  --surface:      #FFFFFF;
  --surface2:     #F5EAD8;
  --border:       rgba(73,167,206,0.15);
  --border2:      rgba(73,167,206,0.30);
  --text:         #2C2C2C;
  --muted:        #7A7A7A;
  --accent:       #49A7CE;
  --accent-dark:  #3388AD;
  --accent-light: rgba(73,167,206,0.10);
  --accent-glow:  rgba(73,167,206,0.20);
  --success:      #2DA870;
  --warning:      #D48A10;
  --danger:       #D64545;
  --success-bg:   rgba(45,168,112,0.09);
  --warning-bg:   rgba(212,138,16,0.09);
  --danger-bg:    rgba(214,69,69,0.09);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* ── ベース ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  line-height: 1.7;
}

/* ============================================================
   ヘッダー
   ============================================================ */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border2);
  padding: 0 2rem;
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: block;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0;
}

.header-free-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}

.header-usage-count {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  font-family: 'Noto Sans JP', sans-serif;
  white-space: nowrap;
}

.header-usage-count strong {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--accent-dark);
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #FDF4EA 0%, #FEF1DA 50%, #FDF4EA 100%);
  border-bottom: 2px solid rgba(73,167,206,0.15);
  padding: 2.8rem 2rem 0;
  overflow: hidden;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.hero-text {
  flex: 1;
  padding-bottom: 2.5rem;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 1.4rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border2);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #AAAAAA;
  flex-shrink: 0;
  display: inline-block;
}

.hero-chara {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-chara img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

/* ============================================================
   ツール本体
   ============================================================ */
.tool-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.tool-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* 入力カード */
.input-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: 0 2px 16px rgba(73,167,206,0.07);
  margin-bottom: 1.5rem;
}

.input-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.input-card .sub {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

/* URL入力フィールド */
.url-input-wrap {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  margin-bottom: 1.25rem;
}

.url-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.url-prefix {
  padding: 0.7rem 0.9rem;
  background: var(--surface2);
  border-right: 1.5px solid var(--border2);
  font-size: 0.82rem;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.url-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: none;
  background: transparent;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  min-width: 0;
}

.url-input::placeholder { color: var(--muted); }

/* Basic認証 */
.basic-auth-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.basic-auth-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.basic-auth-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.basic-auth-toggle-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.basic-auth-fields {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.85rem;
}

.basic-auth-fields.visible { display: grid; }

.text-input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.text-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.text-input::placeholder { color: var(--muted); }

/* 実行ボタン */
.btn-run {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.15s, transform 0.1s;
}

.btn-run:hover  { background: var(--accent-dark); }
.btn-run:active { transform: scale(0.99); }
.btn-run:disabled { opacity: 0.45; cursor: not-allowed; }

/* エラーメッセージ */
.error-msg {
  display: none;
  margin-top: 1rem;
  background: var(--danger-bg);
  border: 1px solid rgba(214,69,69,0.25);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  color: var(--danger);
  font-size: 0.875rem;
  line-height: 1.6;
}
.error-msg.visible { display: block; }

/* ローディング */
.loading-state {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.loading-state.visible { display: flex; }

.loading-spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--border2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   モーダル
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.visible { display: flex; }

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { transform: scale(0.93) translateY(10px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

.modal__icon  { font-size: 2.6rem; line-height: 1; margin-bottom: 0.75rem; }

.modal__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.modal__body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.modal__btn {
  flex: 1;
  max-width: 170px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid transparent;
}

.modal__btn--yes {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.modal__btn--yes:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.modal__btn--no {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--border2);
}
.modal__btn--no:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   結果エリア
   ============================================================ */
.result-area { display: none; }
.result-area.visible { display: block; }

/* サマリー */
.score-bar-wrap {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgba(73,167,206,0.06);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.summary-item { text-align: center; }

.summary-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.summary-value {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.summary-value.ok   { color: var(--success); }
.summary-value.warn { color: var(--warning); }
.summary-value.bad  { color: var(--danger); }

/* ── タブ ── */
.result-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.result-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0.75rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: all 0.15s;
}

.result-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.result-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 3px 10px rgba(73,167,206,0.28);
}

.tab-count {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  color: inherit;
}

.result-tab:not(.active) .tab-count {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.result-tab:not(.active) .tab-count.danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── タブ①：画像一覧テーブル ── */
.images-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border2);
  box-shadow: 0 1px 6px rgba(73,167,206,0.05);
}

.images-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  background: var(--surface);
}

.images-table thead { background: var(--surface2); }

.images-table th {
  padding: 0.75rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border2);
}

.images-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}

.images-table tbody tr:last-child td { border-bottom: none; }
.images-table tbody tr:hover { background: var(--accent-light); }

.thumb-cell { width: 72px; }

.thumb-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface2);
  display: block;
}

.thumb-error {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  color: var(--muted);
}

.path-cell {
  max-width: 220px;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--muted);
}

.alt-text-cell { max-width: 200px; word-break: break-all; }

.alt-len-cell {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

/* altバッジ */
.alt-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}
.alt-badge--ok    { background: var(--success-bg); color: var(--success); }
.alt-badge--empty { background: var(--warning-bg); color: var(--warning); }
.alt-badge--none  { background: var(--danger-bg);  color: var(--danger);  }

/* ── タブ②：altなし一覧 ── */

/* altテキスト設定パネル */
.alt-config-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 8px rgba(73,167,206,0.05);
}

.alt-config-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alt-config-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.alt-source-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.alt-source-btn {
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--border2);
  border-radius: 999px;
  background: var(--bg);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}
.alt-source-btn:hover { border-color: var(--accent); color: var(--accent); }
.alt-source-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.alt-custom-input-wrap { display: none; }
.alt-custom-input-wrap.visible { display: block; }

.alt-config-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* 一括コピーバー */
.bulk-copy-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.btn-bulk-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 1.2rem;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-bulk-copy:hover { background: var(--accent); color: #fff; }
.btn-bulk-copy.copied { background: var(--success); border-color: var(--success); color: #fff; }

/* altなし各アイテム */
.no-alt-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.no-alt-item {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(73,167,206,0.05);
  display: grid;
  grid-template-columns: 200px 1fr;
  position: relative;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.no-alt-item__num {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* 左カラム：サムネイル＋パス */
.no-alt-item__left {
  background: var(--surface2);
  border-right: 1px solid var(--border2);
  padding: 44px 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.no-alt-item__thumb-wrap {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border2);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.no-alt-item__thumb {
  width: 130px;
  height: 130px;
  object-fit: cover;
  display: block;
}

.no-alt-item__path {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--muted);
  word-break: break-all;
  text-align: center;
  line-height: 1.5;
}

.no-alt-item__badge { margin-top: 2px; }

/* 右カラム：修正前→修正後（縦並び） */
.no-alt-item__right {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.no-alt-item__col-label {
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.no-alt-item__col-label--before { color: var(--danger); }
.no-alt-item__col-label--after  { color: var(--success); }

.no-alt-item__arrow {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  padding: 2px 0;
}

.code-block {
  background: #1e2430;
  color: #e8eaf0;
  font-family: 'Outfit', monospace;
  font-size: 0.78rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  word-break: break-all;
  white-space: pre-wrap;
  line-height: 1.65;
}

.code-block .alt-highlight {
  color: #79c0ff;
  font-weight: 600;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 0.35rem 0.85rem;
  background: var(--accent-light);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Outfit', sans-serif;
}
.copy-btn:hover { background: var(--border2); }
.copy-btn.copied {
  background: var(--success-bg);
  color: var(--success);
  border-color: rgba(45,168,112,0.3);
}

/* altなし0件メッセージ */
.no-alt-empty {
  display: none;
  padding: 2.5rem;
  text-align: center;
  color: var(--success);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================================
   コンテンツセクション（できること・使用例・コスト）
   ============================================================ */
.content-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.section-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-lead {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

/* できることグリッド */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  transition: box-shadow 0.15s;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(73,167,206,0.10);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.feature-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
}

/* 使用例リスト */
.usecase-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.usecase-item {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.usecase-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-top: 1px;
}

.usecase-body strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.usecase-body p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* 開発コスト */
.cost-table-wrap { overflow-x: auto; }

.cost-table {
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.cost-table th,
.cost-table td {
  padding: 0.7rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.cost-table th {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--surface2);
  text-transform: uppercase;
}

.cost-table td:nth-child(2),
.cost-table td:nth-child(3) { text-align: right; }
.cost-table th:nth-child(2),
.cost-table th:nth-child(3) { text-align: right; }

.cost-table-total td {
  font-weight: 600;
  color: var(--text);
  background: var(--accent-light);
  border-top: 2px solid var(--border2);
  border-bottom: none;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.4rem; }
  .hero-chara { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr 1fr 1fr; }
  .basic-auth-fields { grid-template-columns: 1fr; }
  .result-tabs { flex-direction: column; }

  .no-alt-item {
    grid-template-columns: 1fr;
  }
  .no-alt-item__left {
    border-right: none;
    border-bottom: 1px solid var(--border2);
    flex-direction: row;
    align-items: flex-start;
    padding: 40px 1rem 1rem;
    gap: 0.75rem;
  }
  .no-alt-item__thumb-wrap { width: 72px; height: 72px; flex-shrink: 0; }
  .no-alt-item__thumb { width: 72px; height: 72px; }
  .no-alt-item__path { text-align: left; }
  .header-usage-count { display: none; }
}

@media (max-width: 400px) {
  .summary-grid { grid-template-columns: 1fr 1fr; }
}
