/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Prose (Markdown表示用) カスタムスタイル */
.prose-green {
  max-width: none !important;
  color: #374151;
  line-height: 1.75;
}


.prose-green h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.prose-green h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
}

.prose-green h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.prose-green h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
}

.prose-green h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
  margin-top: 0.75rem;
}

.prose-green h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}

.prose-green p {
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prose-green ul {
  list-style-type: disc;
  list-style-position: outside;
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  color: #374151;
}

.prose-green ul li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.prose-green ol {
  list-style-type: decimal;
  list-style-position: outside;
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  color: #374151;
}

.prose-green ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.prose-green a {
  color: #059669;
  text-decoration: underline;
}

.prose-green a:hover {
  color: #047857;
}

.prose-green strong {
  font-weight: 700;
  color: #111827;
}

.prose-green em {
  font-style: italic;
}

.prose-green blockquote {
  border-left: 4px solid #10b981;
  padding-left: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: #4b5563;
  background-color: #f9fafb;
}

.prose-green code {
  background-color: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: monospace;
  color: #1f2937;
}

.prose-green pre {
  background-color: #111827;
  color: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.prose-green pre code {
  background-color: transparent;
  padding: 0;
  color: #f3f4f6;
}

.prose-green table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.prose-green th {
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  background-color: #f3f4f6;
  text-align: left;
  font-weight: 600;
}

.prose-green td {
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
}

.prose-green hr {
  border-top: 1px solid #d1d5db;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
} 