@charset "UTF-8";

:root {
  --bg: #fffaf6;
  --ink: #3f3431;
  --soft-ink: #816f69;
  --pink: #e9b6b2;
  --pink-deep: #b97975;
  --beige: #ead9ca;
  --cream: #fff4ed;
  --white: rgba(255, 255, 255, 0.9);
  --line: #eadbd4;
  --shadow: 0 28px 80px rgba(127, 82, 72, 0.17);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(233, 182, 178, 0.42), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(234, 217, 202, 0.7), transparent 30%),
    linear-gradient(135deg, #fffaf6 0%, #f7ebe4 48%, #fff7f0 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(rgba(185, 121, 117, 0.26) 1px, transparent 1px),
    linear-gradient(135deg, rgba(185, 121, 117, 0.08) 25%, transparent 25%, transparent 50%, rgba(185, 121, 117, 0.08) 50%, rgba(185, 121, 117, 0.08) 75%, transparent 75%, transparent);
  background-size: 22px 22px, 74px 74px;
}

.page-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.blur { position: absolute; display: block; border-radius: 999px; filter: blur(10px); opacity: 0.35; }
.blur-a { width: 360px; height: 360px; left: -130px; top: 120px; background: #f2c7c3; }
.blur-b { width: 440px; height: 440px; right: -180px; top: 420px; background: #ead7c5; }
.blur-c { width: 280px; height: 280px; left: 52%; bottom: -120px; background: #ffe1d4; }

.wrap {
  position: relative;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 86px;
}

.header { text-align: center; margin-bottom: 34px; }

.brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 62px);
  letter-spacing: 0.03em;
}

.tagline {
  margin: 6px 0 30px;
  color: var(--pink-deep);
  letter-spacing: 0.18em;
  font-size: 13px;
}

h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 46px);
  letter-spacing: 0.08em;
}

.lead { margin: 18px auto 0; color: var(--soft-ink); line-height: 2; }

.form-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
  padding: clamp(24px, 5vw, 54px);
}

.form-section + .form-section { margin-top: 42px; }

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.section-head span {
  color: var(--pink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.15em;
}

.section-head h2 { margin: 0; font-size: 21px; letter-spacing: 0.05em; }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.field { margin-bottom: 22px; }

label {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
  color: #574641;
}

em {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 9px;
  color: #fff;
  background: linear-gradient(135deg, #dca19d, #b97975);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  vertical-align: middle;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-radius: 18px;
  padding: 15px 17px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea { resize: vertical; line-height: 1.85; }
input::placeholder, textarea::placeholder { color: #b3a19a; }

input:focus, textarea:focus {
  background: #fff;
  border-color: var(--pink);
  box-shadow: 0 0 0 5px rgba(233, 182, 178, 0.24);
}

.is-error {
  border-color: #cf635f !important;
  box-shadow: 0 0 0 5px rgba(207, 99, 95, 0.15) !important;
}

.upload-note { margin: -4px 0 20px; color: var(--soft-ink); line-height: 1.8; }
.uploads { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.upload-card {
  position: relative;
  padding: 22px;
  border: 1px dashed #d8b8af;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 239, 0.88));
}

.upload-card.full { grid-column: 1 / -1; }
.upload-card p { margin: -2px 0 14px; color: var(--soft-ink); font-size: 13px; }

input[type="file"] {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--soft-ink);
}

.submit-box {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.submit-box p { margin: 0 0 15px; color: var(--soft-ink); }

button, .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 56px;
  padding: 15px 36px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #dca19d, #b97975);
  box-shadow: 0 16px 34px rgba(185, 121, 117, 0.28);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover, .button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(185, 121, 117, 0.34);
}

.honeypot { display: none !important; }
.thanks-card { text-align: center; }

.thanks-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #dca19d, #b97975);
  font-size: 42px;
  box-shadow: 0 18px 42px rgba(185, 121, 117, 0.28);
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 24px, 1040px); padding: 36px 0 58px; }
  .form-card { border-radius: 26px; }
  .grid.two, .uploads { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  button, .button-link { width: 100%; }
}
