/* ==========================================
   ヴィーナス美顔ヨガ 体験レッスン申込フォーム
   本体LPのトンマナを踏襲
   ========================================== */

:root {
  --c-cream: #FFFAF7;
  --c-cream-warm: #FFF5F0;
  --c-cream-deep: #F5EDE7;
  --c-white: #FFFFFF;
  --c-brown: #6B5744;
  --c-brown-deep: #4A3A2C;
  --c-gold: #C9A876;
  --c-pink: #D87590;
  --c-pink-soft: #E8A5B5;
  --c-border: #EADBCF;
  --c-text: #3A342B;
  --c-text-soft: #6B6057;
  --font-heading: "Noto Serif JP", serif;
  --font-body: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-cream);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.form-page {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ---- Header ---- */
.page-header {
  padding: 40px 0 28px;
  text-align: center;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-brown-deep);
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* 講師バッジ */
.instructor-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 18px;
  background: var(--c-cream-warm);
  border-radius: 14px;
  border: 1px solid var(--c-border);
}

.instructor-label {
  font-size: 0.78rem;
  color: var(--c-gold);
  letter-spacing: 0.14em;
  margin: 0;
}

.instructor-name-display {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c-brown-deep);
  letter-spacing: 0.05em;
  margin: 0;
}

/* ---- Block 共通 ---- */
.block {
  background: var(--c-white);
  border-radius: 12px;
  padding: 28px 22px;
  margin-bottom: 20px;
  border: 1px solid var(--c-border);
}

.block-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-brown-deep);
  margin: 0 0 18px;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ---- Worries ---- */
.worries .check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.worries .check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed var(--c-border);
  font-size: 0.95rem;
}

.worries .check-list li:last-child { border-bottom: none; }

.worries .check-list li::before {
  content: "✓";
  position: absolute;
  left: 8px;
  top: 10px;
  color: var(--c-pink);
  font-weight: 700;
}

/* ---- Catch ---- */
.catch {
  background: linear-gradient(180deg, #FFF5F0 0%, #FDEBE4 100%);
  border: none;
  text-align: center;
}

.catch-lead {
  font-size: 0.95rem;
  color: var(--c-brown);
  margin: 0 0 16px;
}

.catch-main {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--c-brown-deep);
  line-height: 1.8;
  margin: 0 0 18px;
}

.catch-main strong {
  color: var(--c-pink);
  font-weight: 600;
}

.catch-closing {
  font-size: 1rem;
  color: var(--c-brown);
  margin: 0;
}

.catch-closing .heart { font-size: 1.2em; }

/* ---- Price ---- */
.price-card {
  text-align: center;
}

.price-lesson-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-brown-deep);
  line-height: 1.5;
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}

.price-duration {
  font-size: 0.82rem;
  color: var(--c-gold);
  letter-spacing: 0.08em;
  margin: 0 0 22px;
}

/* 価格行：通常 → 特別 を横並び（SP含む） */
.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.price-old,
.price-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.price-old {
  flex-shrink: 1;
}

.price-old-label,
.price-new-label {
  font-size: 0.7rem;
  color: var(--c-text-soft);
  letter-spacing: 0.06em;
}

.price-new-label {
  color: var(--c-pink);
  font-weight: 500;
}

.price-old-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--c-text-soft);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.price-arrow {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--c-gold);
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
  padding-bottom: 2px;
}

.price-new-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-pink);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ---- Prepare ---- */
.prepare p {
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.9;
}

.prepare strong {
  color: var(--c-pink);
  font-weight: 600;
}

/* ---- Bank ---- */
.bank-info {
  margin: 0 0 14px;
  padding: 18px 16px;
  background: var(--c-cream-warm);
  border-radius: 8px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dotted var(--c-border);
  font-size: 0.92rem;
}

.bank-row:last-child { border-bottom: none; }

.bank-row dt {
  color: var(--c-text-soft);
  font-weight: 500;
  min-width: 5em;
  margin: 0;
}

.bank-row dd {
  margin: 0;
  color: var(--c-brown-deep);
  font-weight: 500;
}

.bank-note {
  font-size: 0.82rem;
  color: var(--c-text-soft);
  margin: 0;
  text-align: center;
}

.bank-pending {
  font-size: 0.92rem;
  color: var(--c-brown-deep);
  background: #fff8ec;
  border: 1px solid #e8d9b5;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 12px;
  text-align: center;
  font-weight: 500;
}

/* ---- Form ---- */
.apply-form {
  margin-top: 10px;
}

.field {
  margin-bottom: 22px;
  border: none;
  padding: 0;
}

.field label,
.field legend {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--c-brown-deep);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.required {
  display: inline-block;
  padding: 2px 8px;
  background: var(--c-pink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}

.field-note {
  font-size: 0.78rem;
  color: var(--c-text-soft);
  font-weight: 400;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"] {
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
  outline: none;
  border-color: var(--c-pink);
  box-shadow: 0 0 0 3px rgba(216, 117, 144, 0.15);
}

.field input:invalid:not(:placeholder-shown) {
  border-color: #D88080;
}

/* ---- Checkbox List（1列・全幅） ---- */
.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  user-select: none;
  margin: 0;
  width: 100%;
}

/* チェックボックス本体 */
.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 0 12px 0 0;
  padding: 0;
  border: 1.5px solid var(--c-border);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
  vertical-align: middle;
}

.checkbox-item input[type="checkbox"]:checked {
  background: var(--c-pink);
  border-color: var(--c-pink);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

/* ラベル文字 */
.checkbox-item span {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--c-text);
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: left;
}

.checkbox-item:has(input:checked) {
  background: #FDEBE4;
  border-color: var(--c-pink);
}

/* ---- Submit ---- */
.submit-btn {
  display: block;
  width: 100%;
  padding: 18px 24px;
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #D87590 0%, #C06078 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 14px rgba(216, 117, 144, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(216, 117, 144, 0.4);
}

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

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--c-text-soft);
  margin: 18px 0 0;
}

/* ---- Thank You & Error ---- */
.thank-you,
.error-box {
  text-align: center;
  padding: 40px 20px;
}

.thank-you h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--c-pink);
  margin: 0 0 16px;
}

.thank-you p,
.error-box p {
  margin: 0;
  line-height: 2;
}

.error-box p {
  color: #B54040;
}

/* ---- PC調整 ---- */
@media (min-width: 768px) {
  .page-title { font-size: 1.7rem; }
  .block { padding: 36px 40px; }
}
