/* ===========================
   リセット・ベース
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif JP', serif;
  color: #3a2e2e;
  background: #fdf8f5;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Hero
=========================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 183, 197, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 180, 220, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 220, 200, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(180, 210, 230, 0.3) 0%, transparent 45%);
  background-color: #fff5f7;
}

/* 金箔ちらしエフェクト（疑似要素） */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(212, 175, 55, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 15%, rgba(212, 175, 55, 0.4) 0%, transparent 100%),
    radial-gradient(2px 1px at 65% 30%, rgba(212, 175, 55, 0.5) 0%, transparent 100%),
    radial-gradient(1px 2px at 80% 60%, rgba(212, 175, 55, 0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 70%, rgba(212, 175, 55, 0.45) 0%, transparent 100%),
    radial-gradient(2px 1px at 90% 15%, rgba(212, 175, 55, 0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 85%, rgba(212, 175, 55, 0.4) 0%, transparent 100%),
    radial-gradient(1px 2px at 5% 50%, rgba(212, 175, 55, 0.3) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
}

.hero-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: #8b6f6f;
  margin-bottom: 8px;
}

.hero-name {
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #2d1f1f;
  margin-bottom: 8px;
}

.hero-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #8b6f6f;
  margin-bottom: 28px;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a0a0, transparent);
  margin: 0 auto 28px;
}

.hero-copy {
  font-size: 1rem;
  font-weight: 300;
  line-height: 2.2;
  color: #4a3535;
}

/* ===========================
   About
=========================== */
.about {
  padding: 80px 0;
  background: #fff8f6;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-align: center;
  color: #2d1f1f;
  margin-bottom: 36px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a0a0, transparent);
  margin: 12px auto 0;
}

.about-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 2.2;
  color: #4a3535;
  margin-bottom: 40px;
}

.about-text strong {
  font-weight: 500;
  color: #8b3a3a;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-top: 1px solid rgba(180, 140, 140, 0.2);
}

.method-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(180, 140, 140, 0.2);
}

.method-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b3a3a;
  white-space: nowrap;
  min-width: 100px;
}

.method-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #7a5a5a;
  line-height: 1.8;
}

/* ===========================
   Form Section
=========================== */
.form-section {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 183, 197, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(200, 180, 220, 0.2) 0%, transparent 50%),
    #fdf8f5;
}

.form-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  text-align: center;
  color: #8b6f6f;
  line-height: 1.9;
  margin-bottom: 48px;
}

.kantei-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: #3a2e2e;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
}

.required {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: #fff;
  background: #b05a5a;
  padding: 1px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.field-hint {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: #9a7a7a;
  line-height: 1.6;
  margin-top: -4px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(180, 140, 140, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.85);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #3a2e2e;
  line-height: 1.8;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: rgba(180, 140, 140, 0.7);
  box-shadow: 0 0 0 3px rgba(200, 150, 150, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #c0a0a0;
  font-weight: 300;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  padding: 12px 10px;
  border: 1px solid rgba(180, 140, 140, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.85);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #3a2e2e;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b05a5a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  cursor: pointer;
}

select:focus {
  border-color: rgba(180, 140, 140, 0.7);
}

.birthday-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.birthday-field {
  display: flex;
  align-items: center;
  gap: 4px;
}

.birthday-field select {
  min-width: 70px;
}

.birthday-field:first-child select {
  min-width: 90px;
}

.unit {
  font-size: 0.85rem;
  color: #7a5a5a;
  white-space: nowrap;
}

/* Gender */
.gender-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gender-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.gender-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(180, 140, 140, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
  transition: border-color 0.2s;
  position: relative;
}

.gender-option input[type="radio"]:checked {
  border-color: #b05a5a;
  background: #b05a5a;
  box-shadow: inset 0 0 0 3px #fff;
}

.gender-option span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #4a3535;
}

/* Optional Section */
.optional-section {
  border-top: 1px solid rgba(180, 140, 140, 0.2);
  padding-top: 24px;
}

.toggle-optional {
  width: 100%;
  background: none;
  border: 1px solid rgba(180, 140, 140, 0.35);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: #8b6f6f;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.toggle-optional:hover {
  background: rgba(200, 150, 150, 0.05);
}

.optional-fields {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Submit */
.submit-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}

.submit-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: #9a7a7a;
  text-align: center;
  line-height: 1.9;
}

.submit-btn {
  width: 100%;
  max-width: 320px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #b05a5a 0%, #8b3a3a 100%);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  -webkit-appearance: none;
}

.submit-btn:hover {
  opacity: 0.9;
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===========================
   Thank You
=========================== */
.thankyou {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 183, 197, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(200, 180, 220, 0.3) 0%, transparent 50%),
    #fff8f6;
}

.thankyou-inner {
  text-align: center;
  padding: 60px 32px;
}

.thankyou-icon {
  font-size: 2rem;
  margin-bottom: 24px;
}

.thankyou h2 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #2d1f1f;
  margin-bottom: 20px;
}

.thankyou p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #7a5a5a;
  line-height: 2.1;
}

.thankyou-sign {
  margin-top: 32px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: #6b3a3a;
}

/* ===========================
   Footer
=========================== */
.footer {
  padding: 32px 24px;
  text-align: center;
  background: #2d1f1f;
}

.footer p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 360px) {
  .hero-name {
    font-size: 2.2rem;
  }

  .birthday-row {
    flex-wrap: wrap;
    gap: 6px;
  }
}
