/* カーテンをサイズで探すページ（/curtains/）だけの決まり。ほかは /styles.css */
.cz-box {
  background: var(--surface, #fff);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 16px;
  padding: 18px;
  margin: 1rem 0 1.25rem;
}
/* 探すサイズと、カーテンの種類のボタン */
.article-body #cz-result p {
  margin: 0;
}
.article-body #cz-result p.cz-label {
  font-size: 0.85rem;
  color: #475569;
}
.article-body #cz-result p.cz-size {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  margin: 2px 0 6px;
}
.cz-size span {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 1rem;
  font-weight: 700;
  vertical-align: middle;
}
.article-body #cz-result p.cz-sub,
.article-body #cz-result p.cz-note {
  font-size: 0.9rem;
}
.article-body #cz-result p.cz-note {
  margin-top: 12px;
}
.article-body #cz-result p.cz-warn {
  color: #b45309;
  font-size: 0.9rem;
  margin-top: 6px;
}
.article-body #cz-result p.cz-pick {
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 14px 0 8px;
}
.cz-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cz-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid #f59e0b;
  background: #fff7e6;
  color: #1f2937;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.cz-type:hover {
  background: #ffe9bf;
  color: #111827;
  text-decoration: none;
}
.cz-type small {
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b7280;
}
.cz-type-main {
  grid-column: 1 / -1;
  min-height: 72px;
  background: #ffb224;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}
.cz-type-main:hover {
  background: #f59e0b;
}
.article-body #cz-result p.cz-more {
  margin-top: 12px;
  font-size: 0.9rem;
}
/* たたんである欄（大きさを変える・窓から計算する） */
details.cz-details {
  margin: 0 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
}
details.cz-details summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: #0f172a;
}
details.cz-details .cz-in {
  padding: 0 16px 12px;
}
.cz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 16px;
  margin-bottom: 12px;
}
.cz-field label,
.cz-legend {
  display: block;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 4px;
}
.cz-field input[type='text'],
.cz-field input[type='number'],
.cz-field select {
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
}
.cz-radios {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  min-height: 2.4rem;
  color: #0f172a;
}
.cz-radios label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 0.95rem;
  color: #0f172a;
  margin: 0;
}
.cz-words {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0 4px;
}
.cz-words button {
  font: inherit;
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
}
.cz-btn {
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #94a3b8;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}
.cz-msg {
  color: #b45309;
  font-size: 0.9rem;
  min-height: 1.2rem;
  margin: 6px 0 0;
}
