/*
Theme Name: 俳句川柳投稿サイト
Theme URI: https://example.com/
Author: syushu
Description: 俳句・川柳投稿、コンテスト、いいね、ランキング、有料ユーザー添削、作品画像自動生成に対応した専用テーマ。
Version: 0.6.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: st575
*/

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
  color: #222;
}

a { color: inherit; }

.st575-container {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.st575-card {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 20px;
  margin: 0 0 18px;
  background: #fff;
}

.st575-entry-text {
  font-size: 1.4rem;
  white-space: pre-line;
}

.st575-form-row {
  margin-bottom: 18px;
}

.st575-form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.st575-form-row input[type="text"],
.st575-form-row input[type="email"],
.st575-form-row input[type="password"],
.st575-form-row textarea,
.st575-form-row select {
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.st575-button,
button.st575-button,
input.st575-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #222;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.st575-button.secondary {
  background: #666;
}

.st575-notice {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5f5f5;
  margin: 0 0 18px;
}

.st575-error {
  background: #fff2f2;
  color: #9b1c1c;
}

.st575-success {
  background: #effaf0;
  color: #116329;
}

.st575-meta {
  color: #666;
  font-size: 0.92rem;
}

.st575-like-button {
  border: 1px solid #ddd;
  background: #fff;
  color: #222;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.st575-like-button.is-liked {
  background: #222;
  color: #fff;
}

.st575-entry-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.st575-profile-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 720px) {
  .st575-profile-grid {
    grid-template-columns: 180px 1fr;
  }
}
