.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.donate-page {
  background: #fdf6ef;
  color: #2f2722;
}

.donate-hero {
  padding: 140px 24px 72px;
  text-align: center;
}

.donate-kicker {
  margin-bottom: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: #b77b4b;
  font-weight: 700;
}

.donate-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1.25;
  margin-bottom: 24px;
}

.donate-hero p {
  line-height: 2;
  color: #6f6258;
}

.donate-form-section {
  width: min(920px, 92%);
  margin: 0 auto;
  padding-bottom: 100px;
}

.donate-form {
  background: #fff;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 24px 80px rgba(82, 55, 35, 0.12);
}

.form-block + .form-block {
  margin-top: 48px;
}

.form-block h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.piece-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.piece-card {
  cursor: pointer;
}

.piece-card input {
  position: absolute;
  opacity: 0;
}

.piece-card span {
  display: block;
  border: 1px solid #e7d7c8;
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  transition: 0.25s;
}

.piece-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.piece-card em {
  font-style: normal;
  color: #b77b4b;
  font-weight: 700;
}

.piece-card input:checked + span {
  border-color: #b77b4b;
  background: #fff7ef;
  box-shadow: 0 10px 28px rgba(183, 123, 75, 0.18);
}

.form-field {
  display: block;
  margin-bottom: 22px;
}

.form-field span,
.form-check span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-field b {
  margin-left: 6px;
  color: #fff;
  background: #b77b4b;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
}

.form-field input,
.form-field textarea {

  border: 1px solid #e4d7ca;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  background: #fffdfb;
}

.form-field input:not([type="checkbox"]) {
  width: 100%;
}

.form-field textarea {
  resize: vertical;
    width: 100%;
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.form-check span {
  margin-bottom: 0;
  font-weight: 500;
}

.form-submit-area {
  margin-top: 48px;
  text-align: center;
}

.form-submit-area p {
  margin-bottom: 20px;
  color: #7a6b60;
}

.donate-submit {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.nav-logo-image {
  background: none;
  width: auto;
  height: 48px;
  border-radius: 0;
  display: flex;
  align-items: center;
}

.nav-logo-image img {
  width: 100px;
  height: auto;
}

.donate-agreement {
  margin: 32px 0 20px;
  padding: 20px 22px;
  background: #fffaf0;
  border: 1px solid rgba(180, 140, 70, 0.28);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #4a3a24;
}

.donate-agreement p {
  margin: 0;
}

.donate-agreement p + p {
  margin-top: 8px;
}

.donate-agreement a {
  color: #9b6b1f;
  font-weight: 700;
  text-decoration: underline;
}

.axis-legal-links {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

.axis-legal-links a {
  color: #666;
  text-decoration: none;
}

.axis-legal-links a:hover {
  text-decoration: underline;
}

.donation-notice {
  margin: 0 0 40px;
  padding: 24px;
  background: #faf8f4;
  border: 1px solid #e6ddd0;
  border-radius: 20px;
}

.donation-notice h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
}

.donation-notice ul {
  margin: 0;
  padding-left: 1.4em;
}

.donation-notice li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.donation-consent {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.8;
}

.donation-consent a {
  color: #8a6a2f;
  text-decoration: underline;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.checkbox-field input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}

.checkbox-field a {
  color: #f39800;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .piece-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .donate-hero {
    padding-top: 110px;
  }
}

@media (max-width: 480px) {
  .piece-options {
    grid-template-columns: 1fr;
  }

  .piece-card span {
  padding: 0;
  
}

}