

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #ede8e0;
  --bg-card: #ffffff;
  --bg-input: #f0f0f0;
  --bg-notice-beige: #fdf5ec;
  --bg-notice-gray: #f5f5f5;

  --color-red: #8B1A1A;
  --color-red-bright: #c0392b;
  --color-gold: #c9a84c;
  --color-gold-light: #d4b896;

  --btn-gradient: linear-gradient(90deg, #d93030 0%, #e8652a 100%);
  --btn-submit-gradient: linear-gradient(90deg, #e87878 0%, #e8a878 100%);

  --text-main: #2c2c2c;
  --text-muted: #666;
  --text-hint: #555;

  --font-serif: 'PT Serif', Georgia, serif;
  --font-sans: 'PT Sans', Arial, sans-serif;

  --radius-input: 12px;
  --radius-card: 18px;
  --radius-btn: 50px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 50%, rgba(212,184,150,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(180,160,130,0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}


.header {
  padding: 18px 48px;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
 
}

.logo-star {
  width: 180px;
  height: 60px;
}


.logo-star-fallback {
  width: 54px;
  height: 54px;
  background: var(--color-red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-main);
  font-weight: 400;
}


.page-landing {
  overflow-x: hidden;
}


.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.1;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-main);
  max-width: 800px;
}

.circles-decor {
  position: absolute;
  right: -60px;
  top: -40px;
  width: 420px;
  height: 420px;
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}
.circles-decor2 {
  position: absolute;
  left: -60px;  
  bottom: -40px;
  width: 420px;
  height: 420px;
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}
.circles-decor3 {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 420px;
  height: 420px;
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}


.photos-grid {
  position: relative;
  width: 100%;
  height: 480px;
  margin-top: 30px;
   z-index: 1;
}
.hero {
  padding: 20px 48px 0;
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
}

.photo-wrap {
  position: absolute;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  overflow: hidden;
}

.photo-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c8c0b4, #b8b0a4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder.photo-faded {
  opacity: 0.55;
}

.photo-inner {
  width: 100%;
  height: 100%;
}

.photo-inner svg {
  width: 100%;
  height: 100%;
}


.photo-3 { width: 200px; height: 245px; left: 18%; top: 10px;   z-index: 3; }
.photo-4 { width: 200px; height: 245px; left: 65%; top: 10px;    z-index: 3; }


.photo-1 { width: 255px; height: 400px; left: 35%;  top: 90px;   z-index: 3; }
.photo-2 { width: 200px; height: 245px; left: 10%; top: 270px;    z-index: 2; opacity: 0.7; }
.photo-5 { width: 155px; height: 155px; left: 62%; top: 300px; z-index: 3; }
.photo-6 { width: 160px; height: 200px; left: 80%; top: 280px; z-index: 3; }


.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 48px 20px;
  position: relative;
  z-index: 10;
}

.btn-participate {
  display: block;
  width: min(100%, 900px);
  padding: 22px 40px;
  background: var(--btn-gradient);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: filter 0.2s, transform 0.1s;
}

.btn-participate:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.cta-deadline {
  margin-top: 14px;
  font-size: 20px;
  color: var(--text-muted);
}

.footer {
  padding: 32px 48px;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin-top: 10px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-hotline-title {
  font-size: 26px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-phone {
  font-size: 26px;
  color: var(--text-main);
  text-decoration: underline;
}

.footer-link {
  font-size: 14px;
  color: var(--text-main);
  text-decoration: underline;
}

.page-form {
  background: linear-gradient(to bottom, #e7e6e5 0%, #f7eddc 100%);
}

.form-main {
  position: relative;
  z-index: 5;
  max-width: 960px;
  margin: 0 auto;
}

.form-page-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 32px;
}


.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 48px 56px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

.form-section {
  margin-bottom: 10px;
}

.form-section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-hint {
  font-size: 16px;
  color: var(--text-hint);
  line-height: 1.55;
  margin-bottom: 20px;
}


.notice-box {
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.6;
}

.notice-box p + p {
  margin-top: 10px;
}

.notice-beige {
  background: var(--bg-notice-beige);
  border: 1px solid #f0dfc8;
}

.notice-gray {
  background: var(--bg-notice-gray);
  border: 1px solid #e0e0e0;
  margin-bottom: 28px;
}

.notice-gray strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}


.photo-upload-area {
  width: 240px;
  min-height: 260px;
  border: 2px dashed #d8d0c8;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 auto;
  transition: border-color 0.2s, background 0.2s;
  background: var(--bg-input);
  position: relative;
  overflow: hidden;
}

.photo-upload-area:hover {
  border-color: var(--color-gold);
  background: #faf7f2;
}

.photo-upload-content {
  text-align: center;
  padding: 24px;
}

.upload-plus {
  display: block;
  font-size: 42px;
  color: #888;
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 300;
}

.upload-label {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.upload-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.photo-preview-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.photo-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.photo-remove-btn:hover {
  background: rgba(0,0,0,0.75);
}


.star-divider {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 30px 0;
  color: var(--color-gold);
}

.star-divider::before,
.star-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);
}

.star-divider span {
  font-size: 16px;
  padding: 0 14px;
  color: var(--color-gold);
}

.field-group {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 16px;
  color: var(--text-hint);
  margin-bottom: 8px;
}

.required {
  color: var(--color-red-bright);
  margin-left: 2px;
}

.field-input {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-input);
  border: none;
  border-radius: var(--radius-input);
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--text-main);
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.field-input:focus {
  background: #e8e8e8;
  box-shadow: 0 0 0 2px var(--color-gold-light);
}

.field-input::placeholder {
  color: #b0b0b0;
}


.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.date-col {
  display: flex;
  flex-direction: column;
}


.select-wrap {
  position: relative;
}

.field-select {
  width: 100%;
  padding: 16px 42px 16px 18px;
  background: var(--bg-input);
  border: none;
  border-radius: var(--radius-input);
  font-family: var(--font-sans);
  font-size: 15px;
  color: #888;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}

.field-select:focus {
  background: #e8e8e8;
  box-shadow: 0 0 0 2px var(--color-gold-light);
}

.field-select option:not([value=""]) {
  color: var(--text-main);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
  pointer-events: none;
  user-select: none;
}


.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-main);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #c0c0c0;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}


.field-textarea {
  width: 100%;
  min-height: 130px;
  padding: 16px 18px;
  background: var(--bg-input);
  border: none;
  border-radius: var(--radius-input);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-main);
  resize: vertical;
  outline: none;
  line-height: 1.6;
  transition: background 0.2s, box-shadow 0.2s;
}

.field-textarea:focus {
  background: #e8e8e8;
  box-shadow: 0 0 0 2px var(--color-gold-light);
}

.field-textarea::placeholder {
  color: #b0b0b0;
}

.textarea-counter {
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}


.form-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.btn-submit {
  width: 100%;
  padding: 22px 40px;
  background: var(--btn-submit-gradient);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: filter 0.2s, transform 0.1s;
}

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

.btn-cancel {
  display: block;
  width: 100%;
  padding: 20px 40px;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #d0d0d0;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cancel:hover {
  background: #f5f5f5;
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 52px 60px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform 0.3s;
  position: relative;
}

.modal-overlay.visible .modal-box {
  transform: translateY(0);
}

.modal-star-top {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.modal-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #d93030, #e8652a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #fff;
  margin: 0 auto 24px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--text-main);
  margin-bottom: 14px;
}

.modal-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-modal-home {
  display: inline-block;
  padding: 14px 40px;
  background: var(--btn-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-btn);
  font-size: 16px;
  transition: filter 0.2s;
}

.btn-modal-home:hover {
  filter: brightness(1.08);
}


.field-select:disabled,
.field-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}


@media (max-width: 768px) {
  .header { padding: 14px 20px; }
  .hero { padding: 16px 20px 0; }
  .photos-grid { height: 280px; }
  .photo-1 { width: 120px; height: 145px; left: 5%; }
  .photo-2 { width: 110px; height: 135px; left: 36%; }
  .photo-3 { width: 80px;  height: 100px; left: 28%; }
  .photo-4 { width: 130px; height: 160px; left: 60%; top: 5px; }
  .photo-5 { display: none; }
  .photo-6 { display: none; }
  .photo-7 { width: 100px; height: 120px; left: 55%; top: 150px; }
  .photo-8 { display: none; }
  .cta-section { padding: 28px 20px 16px; }
  .footer { padding: 24px 20px; }
  .form-main { padding: 16px 16px 40px; }
  .form-card { padding: 28px 24px; }
  .date-row { grid-template-columns: 1fr; gap: 12px; }
}

.btn-download {
  display: inline-block;
  padding: 14px 40px;
  background: #fff;
  color: #8B1A1A;
  border: 2px solid #8B1A1A;
  text-decoration: none;
  border-radius: var(--radius-btn);
  font-size: 16px;
  margin-bottom: 12px;
  transition: background 0.2s, color 0.2s;
}
.btn-download:hover {
  background: #8B1A1A;
  color: #fff;
}
