@charset "UTF-8";

:root {
  --primary: #009ef3;
  --primary-dark: #1b7d72;
  --required: #f2574a;
  --btn-orange: #f5a13c;
  --btn-orange-dark: #e6862a;
  --text: #333;
  --border: #dadada;
  --bg-soft: #e9f4ff;
  --error: #f88080;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Quicksand", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: #f7fafd;
  line-height: 1.7;
}

a { color: var(--primary); }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  text-align: center;
}

.site-header img {
  max-height: 56px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.page-title {
  text-align: center;
  font-size: 1.6rem;
  margin: 0 0 8px;
  color: var(--primary-dark);
}

.page-lead {
  text-align: center;
  margin: 0 0 32px;
  color: #666;
  font-size: 0.95rem;
}

.error-box {
  background: #fff3f3;
  border: 1px solid var(--error);
  color: #c0392b;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.error-box p { margin: 0 0 8px; font-weight: bold; }
.error-box ul { margin: 0; padding-left: 20px; }

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 32px;
}

.form-row {
  margin-bottom: 22px;
}

.form-row label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.field-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #888;
}

.required-tag {
  display: inline-block;
  background: var(--required);
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.optional-tag {
  display: inline-block;
  background: #999;
  color: #fff;
  font-size: 0.7rem;
  font-weight: normal;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--bg-soft);
}

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

.checkbox-group {
  display: flex;
  gap: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
}

.checkbox-label input {
  width: auto;
}

.form-submit { text-align: center; margin-top: 32px; }

.btn {
  display: inline-block;
  background: var(--btn-orange);
  color: #fff;
  border: none;
  padding: 14px 48px;
  font-size: 1.05rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--btn-orange-dark); }

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: #f5f5f5; }

.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.confirm-actions .btn {
  flex: 1;
  padding: 14px 20px;
  white-space: nowrap;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
  table-layout: fixed;
}
.confirm-table th,
.confirm-table td {
  text-align: left;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: break-all;
}
.confirm-table th {
  width: 35%;
  color: #666;
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
  }
  .confirm-table th {
    white-space: normal;
    padding-bottom: 2px;
    border-bottom: none;
    font-size: 0.85rem;
  }
  .confirm-table td {
    padding-top: 0;
  }
}

.site-footer {
  text-align: center;
  padding: 32px 20px;
  color: #888;
  font-size: 0.85rem;
}

.complete-box {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 48px 32px;
}
.complete-box .field-hint {
  margin-bottom: 28px;
}
.complete-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  margin: 0 auto 20px;
}
