:root {
  color-scheme: light;
  --page: #fbf6ef;
  --ink: #2f2925;
  --muted: #6d625a;
  --panel: #ffffff;
  --line: #eadbc9;
  --field: #fffcf8;
  --accent: #e0873d;
  --accent-bright: #f2b45e;
  --accent-dark: #8a471f;
  --accent-soft: #fff0dc;
  --glow: #ffd88d;
  --warning: #a33d35;
  --focus: #a95d28;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif;
  background:
    radial-gradient(circle at 8% 5%, rgba(255, 216, 141, 0.3), transparent 26rem),
    var(--page);
  color: var(--ink);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 32px;
  align-items: start;
}

.intro-panel {
  position: sticky;
  top: 24px;
  min-height: calc(100vh - 80px);
  padding: 30px;
  border: 1px solid #efc99d;
  border-radius: 10px;
  background: linear-gradient(155deg, #fff7eb 0%, var(--accent-soft) 58%, #ffe5bf 100%);
  box-shadow: 0 20px 50px rgba(126, 70, 28, 0.09);
  overflow: hidden;
}

.intro-panel > *:not(.light-orb) {
  position: relative;
  z-index: 1;
}

.light-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 215, 139, 0.5);
  filter: blur(2px);
  pointer-events: none;
}

.light-orb-one {
  width: 210px;
  height: 210px;
  top: -100px;
  right: -75px;
  box-shadow: 0 0 80px rgba(255, 199, 94, 0.58);
}

.light-orb-two {
  width: 90px;
  height: 90px;
  right: 44px;
  bottom: 92px;
  opacity: 0.56;
  box-shadow: 0 0 48px rgba(255, 199, 94, 0.45);
}

.brand-lockup {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 15px 7px 7px;
  border: 1px solid rgba(224, 135, 61, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 24px rgba(138, 71, 31, 0.08);
}

.brand-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  padding: 5px;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(138, 71, 31, 0.14);
}

.brand-name,
.brand-subtitle {
  margin: 0;
}

.brand-name {
  color: var(--accent-dark);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
}

.intro-copy {
  margin-top: 30px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

h1 span,
h1 strong {
  display: block;
}

h1 strong {
  color: var(--accent-dark);
  font-weight: 700;
}

.lead {
  margin-top: 18px;
  max-width: 31rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.9;
}

.lead p {
  margin: 0;
}

.lead p + p {
  margin-top: 9px;
}

.campaign-card {
  margin-top: 26px;
  border: 1px solid rgba(224, 135, 61, 0.28);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(138, 71, 31, 0.07);
  overflow: hidden;
}

.deadline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--accent-dark);
  color: #fff;
}

.deadline-label {
  font-size: 0.76rem;
  font-weight: 700;
}

.deadline-row time {
  color: #fff4d8;
  font-size: 0.92rem;
  font-weight: 700;
}

.benefit-block {
  padding: 16px;
}

.benefit-title,
.benefit-intro,
.benefit-note {
  margin: 0;
}

.benefit-title {
  color: var(--accent-dark);
  font-size: 0.89rem;
  font-weight: 700;
}

.benefit-intro {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.benefit-block ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-block li {
  position: relative;
  padding-left: 22px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.65;
}

.benefit-block li + li {
  margin-top: 7px;
}

.benefit-block li::before {
  content: "灯";
  position: absolute;
  top: 0.08em;
  left: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
}

.benefit-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.6;
}

.character-illustration {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.character-illustration img {
  width: 86px;
  height: 86px;
  border: 1px solid #e8ba87;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(138, 71, 31, 0.12);
  object-fit: cover;
}

.character-illustration span {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.65;
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(104, 66, 36, 0.09);
  overflow: hidden;
}

.form-heading {
  position: relative;
  padding: 25px 28px 23px;
  border-bottom: 1px solid var(--line);
  background: #fffcf8;
}

.form-heading::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(var(--glow), var(--accent));
}

.form-heading p,
.form-heading h2,
.form-heading span {
  margin: 0;
}

.form-heading p {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
}

.form-heading h2 {
  margin-top: 4px;
  font-size: 1.36rem;
  line-height: 1.48;
}

.form-heading span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

form {
  padding: 28px;
}

#form-fields > label {
  display: block;
  margin-top: 22px;
}

#form-fields > label:first-child {
  margin-top: 0;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.89rem;
  font-weight: 700;
  line-height: 1.65;
}

.field-label em {
  display: inline-block;
  margin-left: 5px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.66rem;
  font-style: normal;
  line-height: 1;
  padding: 5px 7px;
  vertical-align: 0.08em;
}

input,
textarea {
  width: 100%;
  min-height: 49px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  padding: 11px 13px;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

textarea {
  resize: vertical;
  line-height: 1.75;
}

input::placeholder,
textarea::placeholder {
  color: #9b8d82;
  opacity: 1;
}

input:focus,
textarea:focus {
  border-color: var(--focus);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(224, 135, 61, 0.21);
}

.privacy-note {
  margin: 22px 0 0;
  border-left: 3px solid var(--accent-bright);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.7;
  padding: 3px 0 3px 10px;
}

.form-actions {
  margin-top: 25px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.status[data-type="success"] {
  color: var(--accent-dark);
  font-weight: 700;
}

.status[data-type="error"] {
  color: var(--warning);
}

button[type="submit"] {
  min-height: 50px;
  border: 0;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--accent-dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(138, 71, 31, 0.18);
  transition:
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

button[type="submit"]:hover {
  background: #713817;
  box-shadow: 0 10px 24px rgba(113, 56, 23, 0.24);
  transform: translateY(-1px);
}

button[type="submit"]:focus-visible {
  outline: 3px solid rgba(242, 180, 94, 0.62);
  outline-offset: 3px;
}

button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.submit-arrow {
  color: var(--glow);
  font-size: 1.16rem;
}

.noscript-message {
  margin: 0 28px 28px;
  border-radius: 7px;
  background: #fff0ef;
  color: var(--warning);
  padding: 12px;
}

@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  .intro-panel {
    position: static;
    min-height: auto;
    padding: 25px;
  }

  h1 {
    max-width: none;
  }

  .intro-copy {
    margin-top: 25px;
  }

  .character-illustration {
    max-width: 350px;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    gap: 20px;
  }

  .intro-panel,
  form {
    padding: 20px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
    padding: 4px;
  }

  .brand-lockup {
    gap: 9px;
    padding: 6px 13px 6px 6px;
  }

  .light-orb-one {
    right: 0;
  }

  h1 {
    font-size: 2.08rem;
  }

  .lead {
    font-size: 0.9rem;
  }

  .deadline-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .form-heading {
    padding: 20px 18px 18px;
  }

  .form-actions {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  button[type="submit"] {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
