:root {
  --ink: #392b29;
  --muted: #766764;
  --rose: #c8787b;
  --blush: #f3dcda;
  --cream: #fbf7f1;
  --paper: #fffdf9;
  --line: rgba(57, 43, 41, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 clamp(22px, 4vw, 64px);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 25px/1 "Cormorant Garamond", serif; letter-spacing: .25em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 36px; border: 1px solid currentColor; border-radius: 50% 50% 48% 52% / 65% 65% 35% 35%; font-size: 18px; letter-spacing: 0; }
.header-entry { padding: 8px 0; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 13px; letter-spacing: .14em; }

.hero { position: relative; min-height: min(920px, 100svh); overflow: hidden; color: #fff; background: #c66f87; isolation: isolate; }
.hero-collage { position: absolute; z-index: 0; inset: -2%; overflow: hidden; transform: scale(1.04); }
.hero-photo { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); margin: 0; overflow: hidden; background: #e9b8c4; border: 4px solid rgba(255,255,255,.13); box-shadow: 0 22px 60px rgba(73,25,42,.22); transform: rotate(var(--r)); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; filter: saturate(.86) contrast(.96); transform: scale(1.025); }
.hero-photo:nth-child(2n) img { object-position: center 42%; }
.hero-photo:nth-child(3n) img { object-position: center 25%; }
.hero-photo-focus { display: none; }
.hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(83,22,46,.63) 0%, rgba(159,53,88,.47) 42%, rgba(222,112,146,.31) 100%), linear-gradient(0deg, rgba(69,20,38,.47) 0%, rgba(215,104,137,.08) 55%, rgba(227,129,155,.24) 100%); backdrop-filter: saturate(.9); }
.hero-shade::before { content: ""; position: absolute; inset: 0; background: rgba(226,111,145,.19); mix-blend-mode: color; }
.hero-shade::after { content: ""; position: absolute; right: -9vw; bottom: -22vw; width: 44vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 9vw rgba(255,255,255,.035), 0 0 0 18vw rgba(255,255,255,.025); }
.hero-copy { position: relative; z-index: 3; width: min(760px, 92%); padding: clamp(190px, 25vh, 270px) 0 100px clamp(24px, 8vw, 128px); text-shadow: 0 2px 32px rgba(62,18,34,.22); }
.eyebrow, .section-kicker { margin: 0 0 22px; font: 500 13px/1.2 "Cormorant Garamond", serif; letter-spacing: .28em; }
.hero h1 { margin: 0 0 30px; font: 400 clamp(39px, 4.9vw, 72px)/1.27 "Noto Sans JP", sans-serif; letter-spacing: .015em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 .hero-title-first { white-space: nowrap; }
.hero h1 em { color: #ffd8e1; font-style: normal; }
.hero-lead { margin: 0 0 38px; font-size: clamp(14px, 1.4vw, 18px); letter-spacing: .08em; }
.hero-number { position: absolute; right: clamp(26px, 7vw, 110px); bottom: 34px; z-index: 2; display: flex; align-items: baseline; gap: 8px; font-family: "Cormorant Garamond", serif; }
.hero-number strong { font-size: clamp(78px, 12vw, 180px); font-weight: 400; line-height: .8; opacity: .7; }
.hero-number span { font-family: "Noto Sans JP", sans-serif; letter-spacing: .15em; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 44px; min-width: 280px; padding: 18px 22px; border: 0; text-decoration: none; font-size: 14px; letter-spacing: .08em; cursor: pointer; transition: transform .25s, background-color .25s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: rgba(255,255,255,.94); }
.section-pad { padding: clamp(80px, 11vw, 150px) max(24px, calc((100vw - 1160px) / 2)); }

.intro { position: relative; text-align: center; background: var(--cream); overflow: hidden; }
.intro::before { content: "N"; position: absolute; top: -150px; left: 50%; color: rgba(200,120,123,.055); font: 500 520px/1 "Cormorant Garamond", serif; transform: translateX(-50%); pointer-events: none; }
.intro > * { position: relative; }
.section-kicker { color: var(--rose); }
.intro h2, .section-heading h2, .gift h2, .entry-heading h2 { margin: 0; font: 400 clamp(40px, 5vw, 68px)/1.35 "Noto Sans JP", sans-serif; letter-spacing: .04em; }
.body-copy { max-width: 650px; margin: 38px auto 45px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tags span { padding: 10px 20px; color: #a45d62; background: #fff; border: 1px solid #e9c8c6; border-radius: 99px; font-size: 14px; }

.steps { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 10vw, 150px); background: var(--paper); }
.section-heading { position: sticky; top: 60px; align-self: start; }
.step-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step-list li { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.step-no { color: var(--rose); font: 500 30px/1 "Cormorant Garamond", serif; }
.step-list h3 { margin: -6px 0 8px; font-size: 20px; font-weight: 500; }
.step-list p { margin: 0; color: var(--muted); font-size: 14px; }

.gift { padding-top: 0; background: var(--paper); }
.gift-card { display: grid; grid-template-columns: 1fr .85fr; gap: 60px; align-items: end; padding: clamp(42px, 7vw, 90px); color: #fff; background: var(--ink); border-radius: 2px; }
.gift-card .section-kicker { color: #e4a5a8; }
.gift-card p:last-child { max-width: 430px; margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }

.entry { background: #f4e6e2; }
.entry-heading { margin: 0 auto 58px; text-align: center; }
.entry-heading > p:last-child { color: var(--muted); }
.campaign-form, .form-message { width: min(760px, 100%); margin: 0 auto; }
.campaign-form { padding: clamp(28px, 6vw, 70px); background: var(--paper); box-shadow: 0 24px 80px rgba(84,55,51,.08); }
.field { display: block; margin-bottom: 34px; }
.field > span:first-child { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.field b, .consent b { padding: 1px 7px; color: #fff; background: var(--rose); border-radius: 2px; font-size: 10px; font-weight: 500; }
.field input:not([type="file"]), .field select { width: 100%; height: 58px; padding: 0 17px; color: var(--ink); background: #fff; border: 1px solid #d8cdca; border-radius: 0; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(200,120,123,.12); }
.field small { display: block; margin-top: 8px; color: #918482; font-size: 11px; }
.select-wrap { position: relative; display: block; }
.select-wrap::after { content: "⌄"; position: absolute; right: 18px; top: 13px; pointer-events: none; }
.field select { appearance: none; }
.upload-field { position: relative; }
.upload-field > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box { display: grid; place-items: center; min-height: 180px; padding: 24px; border: 1px dashed #cdb5b1; background: #fcf8f5; cursor: pointer; text-align: center; }
.upload-box .upload-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; color: #fff; background: var(--rose); border-radius: 50%; font-size: 22px; font-weight: 300; }
.upload-box strong { font-size: 14px; font-weight: 500; }
.upload-box small { margin: 4px 0 0; }
.consent { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin: 10px 0 20px; cursor: pointer; font-size: 13px; }
.consent input { position: absolute; opacity: 0; }
.checkmark { width: 23px; height: 23px; border: 1px solid #b9aaa7; background: #fff; }
.consent input:checked + .checkmark { background: var(--rose); border-color: var(--rose); box-shadow: inset 0 0 0 5px #fff; }
.privacy-note { margin: 0 0 30px; padding: 14px 16px; color: var(--muted); background: #f8f4ef; font-size: 11px; }
.button-submit { width: 100%; color: #fff; background: var(--ink); }
.button-submit:hover { background: #59413d; }
.honeypot { position: absolute; left: -10000px; }
.form-message { display: flex; gap: 20px; margin-bottom: 24px; padding: 24px 28px; background: #fff; }
.form-message h3, .form-message p { margin: 0; }
.form-message.success { color: var(--ink); border-left: 4px solid var(--rose); }
.form-message.success > span { color: var(--rose); font-size: 28px; }
.form-message.success p { color: var(--muted); }
.form-message.error { display: block; color: #8a363a; border-left: 4px solid #b95056; }
.form-message.error ul { margin-bottom: 0; }

.site-footer { padding: 75px 24px 45px; color: rgba(255,255,255,.72); background: #302522; text-align: center; }
.footer-logo { color: #fff; font: 500 34px/1 "Cormorant Garamond", serif; letter-spacing: .3em; text-decoration: none; }
.site-footer > p { margin: 18px 0 0; font-size: 12px; letter-spacing: .08em; }
.site-footer .copyright { margin-top: 42px; opacity: .55; font: 12px/1 "Cormorant Garamond", serif; }

@media (max-width: 760px) {
  .site-header { height: 72px; }
  .hero { min-height: max(760px, 100svh); }
  .hero-collage { inset: -1% -4% 31%; transform: none; }
  .hero-photo { width: 38%; height: 42%; border-width: 2px; }
  .hero-photo:nth-child(1) { left: -5%; top: -5%; transform: rotate(-5deg); }
  .hero-photo:nth-child(2) { left: 31%; top: -6%; transform: rotate(3deg); }
  .hero-photo:nth-child(3) { left: 66%; top: -4%; transform: rotate(-3deg); }
  .hero-photo:nth-child(4) { left: -4%; top: 34%; transform: rotate(4deg); }
  .hero-photo:nth-child(5) { left: 31%; top: 33%; transform: rotate(-4deg); }
  .hero-photo:nth-child(6) { left: 67%; top: 35%; transform: rotate(4deg); }
  .hero-photo:nth-child(7) { left: -5%; top: 70%; transform: rotate(-3deg); }
  .hero-photo:nth-child(8) { left: 31%; top: 69%; transform: rotate(3deg); }
  .hero-photo:nth-child(9) { left: 67%; top: 70%; transform: rotate(-4deg); }
  .hero-photo:nth-child(n+10) { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(86,22,47,.73) 0%, rgba(165,54,91,.58) 38%, rgba(224,116,148,.26) 100%); }
  .hero-shade::after { right: -25vw; bottom: -4vw; width: 75vw; }
  .hero-copy { position: absolute; left: 0; bottom: 34px; width: 100%; padding: 0 24px; }
  .hero h1 { font-size: clamp(28px, 8vw, 43px); line-height: 1.3; }
  .hero-lead { font-size: 13px; letter-spacing: .04em; }
  .hero-number { display: none; }
  .button { width: 100%; min-width: 0; }
  .steps { display: block; }
  .section-heading { position: static; margin-bottom: 48px; }
  .step-list li { grid-template-columns: 60px 1fr; }
  .gift-card { grid-template-columns: 1fr; gap: 28px; }
  .gift-card h2 { font-size: 36px; }
  .campaign-form { margin-inline: -8px; width: calc(100% + 16px); }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .hero-copy { width: min(690px, 88%); padding-left: 6vw; }
  .hero h1 { font-size: clamp(40px, 5.7vw, 62px); }
}

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