:root {
  color-scheme: light;
  --ink: #1b1717;
  --muted: #6b6262;
  --paper: #ffffff;
  --canvas: #eeeeee;
  --red: #b40810;
  --red-dark: #760007;
  --gold: #b58b3c;
  --green: #09b951;
  --green-dark: #047535;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-weight: 500;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "palt" 1;
  line-break: strict;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-shell {
  width: min(100%, 680px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 38px rgba(0, 0, 0, 0.12);
}

.brand-header {
  padding: 15px 30px 13px;
  border-bottom: 1px solid rgba(181, 139, 60, 0.45);
  background: #fff;
}

.brand-header img {
  width: min(100%, 360px);
  margin: 0 auto;
}

.hero {
  background: #fff;
}

.hero-image {
  width: 100%;
}

.entry-section {
  position: relative;
  padding: 33px 30px 42px;
  border-top: 5px solid var(--red);
  background:
    linear-gradient(180deg, rgba(255, 248, 241, 0.92), #fff 190px),
    #fff;
}

.entry-section::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 46%;
  height: 5px;
  background: var(--gold);
  transform: translateX(-50%);
}

.entry-heading {
  margin: 0 auto 27px;
  text-align: center;
}

.entry-heading__eyebrow {
  display: inline-block;
  margin: 0 0 9px;
  padding: 4px 13px;
  border: 1px solid rgba(180, 8, 16, 0.34);
  color: var(--red);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.entry-heading h2 {
  margin: 0;
  font-size: clamp(23px, 5.5vw, 34px);
  font-weight: 900;
  line-height: 1.38;
}

.entry-heading p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.gift-form {
  max-width: 540px;
  margin: 0 auto;
}

.form-group + .form-group {
  margin-top: 18px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: #292323;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.field-number {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  font-weight: 900;
}

.field-name {
  flex: 1 1 auto;
}

.required-badge {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid rgba(180, 8, 16, 0.25);
  border-radius: 999px;
  color: var(--red);
  background: #fff4f4;
  font-size: 10px;
  font-weight: 700;
}

.form-control {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid #cfc5c5;
  border-left: 4px solid #d8c6c7;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  box-shadow: inset 0 1px 2px rgba(69, 0, 4, 0.04);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.form-control:hover {
  border-color: #908787;
}

.form-control:focus-visible {
  border-color: var(--red);
  border-left-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 4px rgba(180, 8, 16, 0.1);
}

.submit-button {
  position: relative;
  display: block;
  width: 100%;
  min-height: 88px;
  margin-top: 29px;
  padding: 13px 58px 15px;
  border: 1px solid #03873c;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(180deg, #14d965 0%, var(--green) 55%, #08a94a 100%);
  box-shadow: 0 5px 0 var(--green-dark), 0 14px 27px rgba(8, 185, 81, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  cursor: pointer;
  text-align: center;
  transition: filter 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.submit-button::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
}

.submit-button__copy,
.submit-button__copy small,
.submit-button__copy strong {
  display: block;
}

.submit-button__copy small {
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
}

.submit-button__copy strong {
  font-size: clamp(17px, 4.4vw, 22px);
  font-weight: 900;
  line-height: 1.3;
}

.submit-button__icon {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%);
}

.submit-button__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-65%, -50%) rotate(45deg);
}

.submit-button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.submit-button:active {
  box-shadow: 0 2px 0 var(--green-dark), 0 7px 13px rgba(8, 185, 81, 0.2);
  transform: translateY(3px);
}

.submit-button:focus-visible,
.site-footer a:focus-visible {
  outline: 4px solid rgba(23, 105, 209, 0.38);
  outline-offset: 3px;
}

.form-note,
.form-status {
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
}

.form-status {
  min-height: 19px;
  margin: 7px 0 0;
  color: var(--red-dark);
  font-weight: 700;
}

.gift-details {
  padding: 42px 32px 46px;
  border-top: 1px solid #eadede;
  background: #fff;
}

.gift-details__eyebrow {
  margin: 0 0 8px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.gift-details h2 {
  margin: 0 0 26px;
  color: #171717;
  font-size: clamp(20px, 5.3vw, 28px);
  line-height: 1.45;
  text-align: center;
}

.gift-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gift-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 17px 0;
  border-top: 1px solid #ece6e6;
}

.gift-list li:last-child {
  border-bottom: 1px solid #ece6e6;
}

.gift-list li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--red-dark);
  font-size: 13px;
  font-weight: 900;
}

.gift-list strong,
.gift-list small {
  display: block;
}

.gift-list strong {
  color: #1b1b1b;
  font-size: 15px;
  line-height: 1.5;
}

.gift-list small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer {
  padding: 26px 18px 34px;
  border-top: 1px solid #dedede;
  color: var(--muted);
  background: #fafafa;
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 16px;
  margin-bottom: 10px;
}

.site-footer a {
  color: #245c92;
  text-underline-offset: 3px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 430px) {
  html,
  body {
    background: var(--paper);
  }

  .lp-shell {
    width: 100%;
    box-shadow: none;
  }

  .brand-header {
    padding: 12px 24px 10px;
  }

  .brand-header img {
    width: 82%;
  }

  .entry-section {
    padding: 29px 20px 38px;
  }

  .gift-details {
    padding: 36px 20px 40px;
  }
}

@media (max-width: 360px) {
  .entry-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .submit-button {
    padding-right: 48px;
    padding-left: 20px;
  }

  .submit-button__icon {
    right: 10px;
  }
}
