/* リフティングコロシアム Web — 共通スタイル */

:root {
  --pitch: #2f6b4f;
  --pitch-soft: #4a8f6a;
  --sand: #c4a574;
  --ink: #1a2b24;
  --ink-muted: #5a6b62;
  --surface: #f7fbf8;
  --danger: #b33a3a;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #b8d9e8 0%, var(--surface) 42%, #eef5f0 100%);
  min-height: 100vh;
}

a {
  color: var(--pitch);
}

a:hover {
  color: var(--pitch-soft);
}

.site-header {
  background: var(--pitch);
  color: #fff;
  padding: 14px 20px;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.9rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.site-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(26, 43, 36, 0.08);
  margin-bottom: 20px;
}

.hero {
  text-align: center;
  padding: 32px 20px;
}

.hero h1 {
  font-size: 1.75rem;
  margin: 0 0 8px;
  color: var(--pitch);
}

.hero p {
  color: var(--ink-muted);
  margin: 0;
}

h1.page-title {
  font-size: 1.5rem;
  margin: 0 0 0.75em;
  color: var(--pitch);
}

h2 {
  font-size: 1.15rem;
  margin: 1.75em 0 0.5em;
  color: var(--ink);
}

h3 {
  font-size: 1rem;
  margin: 1.25em 0 0.4em;
}

ul, ol {
  padding-left: 1.4em;
}

.meta {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.link-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.link-card {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #d8e8de;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.link-card:hover {
  border-color: var(--pitch-soft);
  box-shadow: 0 4px 14px rgba(47, 107, 79, 0.12);
}

.link-card strong {
  display: block;
  color: var(--pitch);
  margin-bottom: 4px;
}

.link-card span {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid #e8f0eb;
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  background: var(--pitch);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
}

.note {
  background: #f0f7f3;
  border-left: 4px solid var(--pitch-soft);
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 0.95rem;
}

.warning {
  background: #fdf3f3;
  border-left: 4px solid var(--danger);
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 0.95rem;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-field input[type="email"],
.form-field input[type="password"],
.form-field input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c5d9cc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.form-field input:focus {
  outline: 2px solid var(--pitch-soft);
  border-color: var(--pitch-soft);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.95rem;
}

.form-check input {
  margin-top: 4px;
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--pitch);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--pitch-soft);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-secondary {
  background: #fff;
  color: var(--pitch);
  border: 1px solid var(--pitch);
}

.btn-secondary:hover:not(:disabled) {
  background: #f0f7f3;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.tab-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #c5d9cc;
  background: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-muted);
}

.tab-btn.active {
  background: var(--pitch);
  color: #fff;
  border-color: var(--pitch);
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

.form-message {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-message.error {
  background: #fdf3f3;
  color: var(--danger);
  border: 1px solid #e8c4c4;
}

.form-message.success {
  background: #f0f7f3;
  color: var(--pitch);
  border: 1px solid #c5d9cc;
}

.form-message.hidden {
  display: none;
}
