.mm-wrap,
.mm-single-wrap {
  max-width: 1180px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: #1f2937;
}

.mm-filter-panel,
.mm-single-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.mm-filter-panel { padding: 28px; }
.mm-filter-head h2,
.mm-results-head h3,
.mm-single-content h1,
.mm-single-comment h2 { margin: 0 0 8px; }
.mm-filter-head p,
.mm-breadcrumb { color: #6b7280; }
.mm-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.mm-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #374151;
}
.mm-field input,
.mm-field select {
  width: 100%;
  height: 46px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
}
.mm-filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.mm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  text-decoration: none;
  color: #111827;
  background: #fff;
  font-weight: 700;
}
.mm-button-primary {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.mm-results-head {
  margin: 28px 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mm-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.mm-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.mm-card-image,
.mm-single-image img {
  width: 100%;
  height: auto;
  display: block;
}
.mm-card-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.mm-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #6b7280;
}
.mm-card-body { padding: 18px; }
.mm-card-title { font-size: 20px; margin: 0 0 12px; }
.mm-card-title a,
.mm-detail-link,
.mm-card-image-link,
.mm-breadcrumb a { text-decoration: none; }
.mm-card-title a { color: #111827; }
.mm-meta-list,
.mm-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.mm-meta-list span,
.mm-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.mm-meta-list span {
  background: #f3f4f6;
  color: #374151;
}
.mm-chip {
  background: #111827;
  color: #fff;
}
.mm-chip-soft {
  background: #eef2ff;
  color: #3730a3;
}
.mm-card-comment {
  color: #4b5563;
  line-height: 1.8;
  min-height: 3.6em;
}
.mm-detail-link {
  display: inline-block;
  margin-top: 8px;
  color: #111827;
  font-weight: 700;
}
.mm-empty {
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  color: #6b7280;
}
.mm-single-card { padding: 28px; }
.mm-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 32px;
}
.mm-single-meta {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.mm-single-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.mm-single-comment {
  margin-top: 28px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
}
.mm-single-comment p {
  line-height: 1.9;
  margin: 0;
}
@media (max-width: 820px) {
  .mm-single-grid { grid-template-columns: 1fr; }
  .mm-results-head { align-items: flex-start; gap: 8px; flex-direction: column; }
}
