  /* ===== PAGE SWITCHER ===== */
  .page-area { display: none; }
  .page-area.active { display: block; }

  /* ===== FORM HERO ===== */
  .form-hero {
    padding: 56px 40px 48px;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .form-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 50px;
    margin-bottom: 16px;
  }
  .form-hero h1 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 900; font-size: 32px; line-height: 1.4; margin-bottom: 12px;
  }
  .form-hero p { font-size: 15px; color: var(--text-mid); }

  /* 写真つきヘッダ（静物・顔なし。暗いオーバーレイは使わず左へフェード） */
  .form-hero.has-photo {
    padding: 0; text-align: left; border-bottom: 1px solid var(--border);
    display: grid; grid-template-columns: 1fr 0.8fr; align-items: stretch; overflow: hidden;
  }
  .form-hero.has-photo .fh-text { align-self: center; padding: 48px 40px 44px clamp(24px, 6vw, 88px); }
  .form-hero.has-photo .fh-photo { position: relative; min-height: 256px; }
  .form-hero.has-photo .fh-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .form-hero.has-photo .fh-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, var(--orange-light) 0%, rgba(252,230,214,0) 32%); }
  .form-hero.has-photo.leaf .fh-photo::after { background: linear-gradient(90deg, var(--green-light) 0%, rgba(231,243,235,0) 32%); }
  @media (max-width: 720px) {
    .form-hero.has-photo { grid-template-columns: 1fr; }
    .form-hero.has-photo .fh-text { padding: 40px 20px 28px; }
    .form-hero.has-photo .fh-photo { min-height: 180px; }
    .form-hero.has-photo .fh-photo::after { background: linear-gradient(0deg, var(--orange-light) 0%, rgba(252,230,214,0) 42%); }
    .form-hero.has-photo.leaf .fh-photo::after { background: linear-gradient(0deg, var(--green-light) 0%, rgba(231,243,235,0) 42%); }
  }

  /* ===== REASSURANCE BAR ===== */
  .reassurance {
    display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
    padding: 16px 40px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }
  .reassurance-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-mid); }
  .reassurance-icon { display: inline-flex; }
  .reassurance-icon svg { width: 17px; height: 17px; color: var(--wood); }

  /* ===== FORM LAYOUT ===== */
  .form-layout {
    max-width: 960px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 360px; gap: 40px;
    padding: 48px 40px 80px;
    align-items: start;
  }

  /* ===== FORM CARD ===== */
  .form-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  }
  .form-card-header {
    padding: 24px 32px 20px;
    border-bottom: 1px solid var(--border);
  }
  .form-card-header h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
  .form-card-header p  { font-size: 13px; color: var(--text-mid); }
  .form-card-body { padding: 28px 32px; }

  .field { margin-bottom: 20px; }
  .field:last-of-type { margin-bottom: 0; }
  .field-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; margin-bottom: 6px;
    color: var(--text-dark);
  }
  .badge-req {
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
    background: #fef0f0; color: #c0392b;
  }
  .badge-opt {
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
    background: var(--bg); color: var(--text-light);
  }
  .field-input {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 14px; color: var(--text-dark);
    background: white;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
  }
  .field-input:focus {
    outline: none; border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(236,102,50,0.14);
  }
  .field-input.green:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(63,168,106,0.12);
  }
  .field-input.placeholder { color: var(--text-light); }
  .field-note { font-size: 12px; color: var(--text-light); margin-top: 5px; }

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

  select.field-input { cursor: pointer; 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='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

  .divider-line { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

  .submit-area { margin-top: 28px; }
  .btn-submit {
    width: 100%; border: none; border-radius: 999px;
    padding: 15px; font-size: 16px; font-weight: 700;
    cursor: pointer; font-family: 'Zen Maru Gothic', sans-serif;
    transition: transform 0.12s, box-shadow 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .btn-submit:hover { transform: translateY(-2px); }
  .btn-submit.orange { background: var(--orange); color: white; box-shadow: 0 10px 22px -12px rgba(236,102,50,.85); }
  .btn-submit.green  { background: var(--leaf);  color: white; box-shadow: 0 10px 22px -12px rgba(63,168,106,.85); }
  .submit-note { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 10px; }

  /* ===== SIDEBAR ===== */
  .sidebar { display: flex; flex-direction: column; gap: 16px; }

  .sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
  }
  .sidebar-card h3 { font-family: 'Zen Maru Gothic', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
  .sidebar-card h3 svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--wood); }

  .faq-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .faq-item:last-child { border-bottom: none; padding-bottom: 0; }
  .faq-q { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
  .faq-a { font-size: 12px; color: var(--text-mid); line-height: 1.7; }

  .flow-steps { display: flex; flex-direction: column; gap: 0; }
  .flow-step { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; position: relative; }
  .flow-step:not(:last-child)::after {
    content: ''; position: absolute;
    left: 12px; top: 30px; bottom: -2px;
    width: 1.5px; background: var(--border);
  }
  .flow-num {
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0;
    position: relative; z-index: 1;
  }
  .flow-num { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; }
  .flow-num.orange { background: var(--orange-soft); color: var(--orange-ink); }
  .flow-num.green  { background: var(--leaf-soft);  color: var(--leaf-dark); }
  .flow-step:not(:last-child)::after { background: var(--line); }
  .flow-body h4 { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
  .flow-body p  { font-size: 12px; color: var(--text-mid); line-height: 1.6; }

  .contact-info { display: flex; flex-direction: column; gap: 8px; }
  .contact-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-mid); }
  .contact-row a { color: var(--orange); text-decoration: none; font-weight: 700; }

  /* ===== SWITCHER TAB (page navigation, shown at top) ===== */
  .tab-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    display: flex; gap: 0;
  }
  .tab-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 26px; font-size: 14px; font-weight: 700;
    color: var(--text-light); background: none; border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer; transition: color 0.15s, border-color 0.15s;
    font-family: 'Zen Maru Gothic', sans-serif;
  }
  .tab-btn svg { width: 16px; height: 16px; }
  .tab-btn.active-orange { color: var(--orange-ink); border-bottom-color: var(--orange); }
  .tab-btn.active-green  { color: var(--green-dark); border-bottom-color: var(--green); }
  .tab-btn:not(.active-orange):not(.active-green):hover { color: var(--text-dark); }

  /* ===== THANK YOU ===== */
  .thankyou { display: none; }
  .thankyou.active { display: flex; }
  .thankyou-inner {
    max-width: 560px; margin: 0 auto;
    padding: 80px 40px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
  }
  .thankyou-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--leaf-soft); color: var(--leaf-dark); }
  .thankyou-icon svg { width: 36px; height: 36px; }
  .thankyou h2 { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 28px; line-height: 1.4; }
  .thankyou p { font-size: 15px; color: var(--text-mid); line-height: 1.8; }
  .thankyou .back-btn {
    margin-top: 8px; background: var(--orange); color: white;
    border: none; border-radius: 999px; padding: 13px 34px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    text-decoration: none; font-family: 'Zen Maru Gothic', sans-serif;
    box-shadow: 0 10px 22px -12px rgba(236,102,50,.85);
  }

  @media (max-width: 768px) {
    .form-layout { grid-template-columns: 1fr; padding: 24px 20px 60px; gap: 24px; }
    .form-hero { padding: 40px 20px 32px; }
    .form-hero h1 { font-size: 24px; }
    .reassurance { gap: 16px; padding: 12px 20px; }
    .tab-bar { padding: 0 20px; }
    .tab-btn { padding: 12px 16px; font-size: 13px; }
    .form-card-body { padding: 20px; }
    .form-card-header { padding: 18px 20px 14px; }
    .field-row { grid-template-columns: 1fr; }
  }
