      * { margin: 0; padding: 0; box-sizing: border-box; }
      h1, h2, h3, h4, h5, h6, strong, b { font-weight: 400; }
      body {
        font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
        background: #eef1f6;
        color: #1f2430;
      }
      .m-page {
        max-width: 480px;
        margin: 0 auto;
        background: #f6f8fc;
        min-height: 100vh;
        padding-bottom: 30px;
      }
      .m-top-bar {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 18px 10px;
        background: #fff;
      }
      .m-back-btn { background: none; border: none; font-size: 1.2rem; color: #1f2430; text-decoration: none; }
      .m-top-title { font-size: 1.05rem; font-weight: 400; flex: 1; text-align: center; margin-right: 24px; }
      .m-section { margin: 14px 14px 0; }
      .m-card { background: #fff; border-radius: 14px; padding: 16px; }
      .m-lead { font-size: 0.8rem; line-height: 1.8; color: #667085; }
      .m-auth-note { font-size: 0.76rem; line-height: 1.7; color: #667085; margin-top: 10px; }
      .m-field { margin-bottom: 16px; }
      .m-field:last-child { margin-bottom: 0; }
      .m-field label { display: block; font-size: 0.78rem; font-weight: 400; margin-bottom: 6px; color: #667085; }
      .m-required { color: #c0392b; font-weight: 400; font-size: 0.66rem; margin-left: 4px; }
      .m-field input,
      .m-field select,
      .m-field textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #e4e7ec;
        border-radius: 8px;
        font-size: 0.88rem;
        font-family: inherit;
        color: #1f2430;
        background: #fff;
      }
      .m-field textarea { resize: vertical; min-height: 120px; }
      .m-field-row { display: flex; gap: 8px; }
      .m-field-row .m-field { flex: 1; margin-bottom: 0; }
      .m-radio-group { display: flex; gap: 20px; margin-top: 4px; }
      .m-radio-item { display: flex; align-items: center; gap: 6px; }
      .m-radio-item input { width: auto; accent-color: #4361ee; }
      .m-radio-item label { margin: 0; font-size: 0.86rem; font-weight: 400; color: #1f2430; }
      .m-postal-row { display: flex; gap: 8px; }
      .m-postal-row input { flex: 1; }
      .m-btn-inline {
        white-space: nowrap;
        background: #f0f2f6;
        border: none;
        border-radius: 8px;
        padding: 0 14px;
        font-size: 0.78rem;
        color: #4361ee;
        cursor: pointer;
      }
      .m-postal-status { font-size: 0.74rem; margin-top: 6px; min-height: 16px; }
      .m-postal-status.error { color: #c0392b; }
      .m-postal-status.success { color: #2e7d32; }
      .m-file-area {
        border: 1.5px dashed #d7dbe4;
        border-radius: 10px;
        padding: 16px;
        text-align: center;
        background: #fafbfd;
        cursor: pointer;
      }
      .m-file-area-text { font-size: 0.8rem; color: #667085; }
      .m-file-hint { font-size: 0.66rem; color: #98a2b3; margin-top: 4px; }
      .m-file-input { display: none; }
      .m-file-selected {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-top: 8px;
        padding: 9px 12px;
        background: #eef3ff;
        border: 1px solid #c8d6fb;
        border-radius: 8px;
        font-size: 0.78rem;
        color: #1f2430;
      }
      .m-file-selected span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .m-file-remove { background: none; border: none; color: #c0392b; font-size: 1rem; cursor: pointer; flex-shrink: 0; }
      .m-agreement {
        margin-top: 18px;
        padding: 14px;
        background: #f6f8fc;
        border-radius: 10px;
      }
      .m-agreement label { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; cursor: pointer; }
      .m-agreement input { width: auto; margin-top: 2px; accent-color: #4361ee; }
      .m-error-box {
        color: #c0392b;
        font-size: 0.78rem;
        margin-top: 10px;
        display: none;
        white-space: pre-wrap;
      }
      .m-submit-btn {
        display: block;
        width: 100%;
        text-align: center;
        background: #4361ee;
        color: #fff;
        border: none;
        border-radius: 12px;
        padding: 13px;
        font-size: 0.9rem;
        font-weight: 400;
        cursor: pointer;
        margin-top: 18px;
      }
      .m-submit-btn:disabled { opacity: 0.55; cursor: default; }
      .m-ssl-note { text-align: center; font-size: 0.7rem; color: #98a2b3; margin-top: 12px; }
      /* 確認ステップ */
      .m-confirm-item { padding: 10px 0; border-bottom: 1px solid #f0f2f6; }
      .m-confirm-item:last-child { border-bottom: none; }
      .m-confirm-label { font-size: 0.68rem; color: #98a2b3; }
      .m-confirm-value { font-size: 0.86rem; margin-top: 3px; white-space: pre-wrap; line-height: 1.6; }
      .m-confirm-actions { display: flex; gap: 10px; margin-top: 18px; }
      .m-confirm-actions button {
        flex: 1;
        padding: 12px;
        border-radius: 10px;
        font-size: 0.84rem;
        border: none;
        cursor: pointer;
      }
      .m-confirm-back { background: #f0f2f6; color: #667085; }
      .m-confirm-send { background: #4361ee; color: #fff; font-weight: 400; }
      .m-confirm-send:disabled { opacity: 0.55; }
      /* 完了ステップ */
      .m-success { text-align: center; padding: 24px 8px; }
      .m-success-icon {
        width: 52px; height: 52px; margin: 0 auto 14px;
        border-radius: 50%; background: #e8f5e9; color: #2e7d32;
        display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
      }
      .m-success-title { font-size: 1.02rem; font-weight: 400; margin-bottom: 10px; }
      .m-success-message { font-size: 0.82rem; color: #667085; line-height: 1.8; margin-bottom: 20px; }
      .m-success-actions { display: flex; flex-direction: column; gap: 10px; }
      .m-success-actions a {
        display: block; text-align: center; padding: 12px; border-radius: 10px;
        font-size: 0.85rem; font-weight: 400; text-decoration: none;
      }
      .m-success-primary { background: #4361ee; color: #fff; }
      .m-success-secondary { background: #f0f2f6; color: #667085; }
      .m-toast {
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        background: #1f2430;
        color: #fff;
        padding: 10px 18px;
        border-radius: 20px;
        font-size: 0.8rem;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
        z-index: 200;
        white-space: nowrap;
        max-width: 90%;
        text-align: center;
      }
      .m-toast.show { opacity: 1; }
      .m-hidden { display: none; }
    /* Mobile contact redesign: inquiry form with clear Japanese estimate fields. */
    body.contact-mobile-redesign {
      background: #f5f5f7 !important;
      color: #1d1d1f !important;
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Hiragino Sans", "Yu Gothic", sans-serif !important;
      -webkit-font-smoothing: antialiased;
    }
    body.contact-mobile-redesign .m-page,
    body.contact-mobile-redesign main,
    body.contact-mobile-redesign .container,
    body.contact-mobile-redesign .page-container {
      max-width: 640px !important;
      margin: 0 auto !important;
      padding: 14px 14px 32px !important;
      background: #f5f5f7 !important;
    }
    body.contact-mobile-redesign .contact-shell {
      display: grid;
      gap: 14px;
    }
    body.contact-mobile-redesign .contact-hero,
    body.contact-mobile-redesign .contact-card {
      border: 1px solid rgba(15, 23, 42, .08);
      border-radius: 28px;
      background: #fff;
      box-shadow: 0 18px 54px rgba(15, 23, 42, .07);
    }
    body.contact-mobile-redesign .contact-hero {
      padding: 30px 20px 26px;
      text-align: center;
    }
    body.contact-mobile-redesign .contact-kicker {
      margin: 0 0 8px;
      color: #6e6e73;
      font-size: 13px;
      font-weight: 850;
      letter-spacing: .02em;
    }
    body.contact-mobile-redesign .contact-title {
      margin: 0;
      color: #1d1d1f;
      font-size: 32px;
      line-height: 1.1;
      font-weight: 900;
      letter-spacing: -.05em;
    }
    body.contact-mobile-redesign .contact-lead {
      margin: 12px auto 0;
      max-width: 320px;
      color: #6e6e73;
      font-size: 14px;
      line-height: 1.65;
      font-weight: 650;
    }
    body.contact-mobile-redesign .contact-chip-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
      margin-top: 18px;
    }
    body.contact-mobile-redesign .contact-chip {
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: #f5f5f7;
      color: #1d1d1f;
      font-size: 13px;
      font-weight: 800;
    }
    body.contact-mobile-redesign .contact-card {
      padding: 20px 16px;
    }
    body.contact-mobile-redesign .contact-section-title {
      margin: 0 0 14px;
      color: #1d1d1f;
      font-size: 20px;
      font-weight: 900;
      letter-spacing: -.035em;
    }
    body.contact-mobile-redesign .field-grid {
      display: grid;
      gap: 13px;
    }
    body.contact-mobile-redesign .field {
      display: grid;
      gap: 7px;
    }
    body.contact-mobile-redesign .field label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      color: #1d1d1f;
      font-size: 13px;
      font-weight: 850;
    }
    body.contact-mobile-redesign .required,
    body.contact-mobile-redesign .optional {
      display: inline-flex;
      align-items: center;
      min-height: 20px;
      padding: 0 8px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 850;
    }
    body.contact-mobile-redesign .required {
      background: #eaf3ff;
      color: #0071e3;
    }
    body.contact-mobile-redesign .optional {
      background: #f5f5f7;
      color: #6e6e73;
    }
    body.contact-mobile-redesign input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
    body.contact-mobile-redesign select,
    body.contact-mobile-redesign textarea {
      width: 100%;
      min-height: 52px;
      padding: 0 15px;
      border: 1px solid rgba(15, 23, 42, .12);
      border-radius: 16px;
      background: #f5f5f7;
      color: #1d1d1f;
      font-size: 16px;
      box-shadow: none;
      outline: none;
    }
    body.contact-mobile-redesign textarea {
      min-height: 140px;
      padding-top: 14px;
      line-height: 1.6;
      resize: vertical;
    }
    body.contact-mobile-redesign input:focus,
    body.contact-mobile-redesign select:focus,
    body.contact-mobile-redesign textarea:focus {
      border-color: #0071e3;
      background: #fff;
      box-shadow: 0 0 0 4px rgba(0, 113, 227, .12);
    }
    body.contact-mobile-redesign .contact-submit {
      width: 100%;
      min-height: 56px;
      border: 0;
      border-radius: 999px;
      background: #0071e3;
      color: #fff;
      font-size: 16px;
      font-weight: 900;
      box-shadow: 0 12px 26px rgba(0, 113, 227, .24);
    }
    body.contact-mobile-redesign .contact-note {
      margin: 10px 0 0;
      color: #6e6e73;
      font-size: 12px;
      line-height: 1.6;
      font-weight: 650;
      text-align: center;
    }
    body.contact-mobile-redesign .contact-links {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }
    body.contact-mobile-redesign .contact-link-card {
      min-height: 54px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 18px;
      background: #fff;
      color: #0071e3 !important;
      font-size: 14px;
      font-weight: 850;
      text-decoration: none;
      box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
    }
    body.contact-mobile-redesign .m-bottom-nav,
    body.contact-mobile-redesign .mobile-nav-v2 {
      display: none !important;
    }
    /* Safe Apple-like styling for the existing contact form structure. */
    body.contact-mobile-redesign {
      background: #f5f5f7 !important;
    }
    body.contact-mobile-redesign .m-page,
    body.contact-mobile-redesign main,
    body.contact-mobile-redesign .container,
    body.contact-mobile-redesign .page-container {
      max-width: 640px !important;
      margin: 0 auto !important;
      padding: 14px 14px 32px !important;
      background: #f5f5f7 !important;
    }
    body.contact-mobile-redesign .card,
    body.contact-mobile-redesign .m-card {
      border: 1px solid rgba(15, 23, 42, .08) !important;
      border-radius: 28px !important;
      background: #fff !important;
      box-shadow: 0 18px 54px rgba(15, 23, 42, .07) !important;
    }
    body.contact-mobile-redesign .card,
    body.contact-mobile-redesign .m-card {
      margin: 0 !important;
      padding: 20px 16px !important;
    }
    body.contact-mobile-redesign .m-section {
      margin: 14px 0 0 !important;
      padding: 0 !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }
    body.contact-mobile-redesign .m-card + .m-card { margin-top: 14px !important; }
    body.contact-mobile-redesign #contactForm {
      margin: 0 !important;
      padding: 0 !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }
    body.contact-mobile-redesign .m-btn-inline {
      width: auto !important;
      min-width: 92px !important;
      min-height: 52px !important;
      padding: 0 16px !important;
      border: 0 !important;
      border-radius: 16px !important;
      background: #0071e3 !important;
      color: #fff !important;
      font-size: 14px !important;
      font-weight: 700 !important;
      flex-shrink: 0 !important;
    }
    body.contact-mobile-redesign .m-confirm-back {
      width: 100% !important;
      min-height: 52px !important;
      border: 1.5px solid #0071e3 !important;
      border-radius: 999px !important;
      background: #fff !important;
      color: #0071e3 !important;
      font-size: 15px !important;
      font-weight: 700 !important;
    }
    body.contact-mobile-redesign h1 {
      margin: 18px 0 10px !important;
      color: #1d1d1f !important;
      font-size: 32px !important;
      line-height: 1.1 !important;
      font-weight: 900 !important;
      letter-spacing: -.05em !important;
      text-align: center !important;
    }
    body.contact-mobile-redesign h2,
    body.contact-mobile-redesign h3 {
      color: #1d1d1f !important;
      font-weight: 900 !important;
      letter-spacing: -.035em !important;
    }
    body.contact-mobile-redesign p,
    body.contact-mobile-redesign li {
      color: #6e6e73 !important;
      font-size: 14px !important;
      line-height: 1.65 !important;
      font-weight: 650 !important;
    }
    body.contact-mobile-redesign label,
    body.contact-mobile-redesign th {
      color: #1d1d1f !important;
      font-size: 13px !important;
      font-weight: 850 !important;
    }
    body.contact-mobile-redesign table,
    body.contact-mobile-redesign tbody,
    body.contact-mobile-redesign tr,
    body.contact-mobile-redesign td,
    body.contact-mobile-redesign th {
      display: block !important;
      width: 100% !important;
      border: 0 !important;
      background: transparent !important;
    }
    body.contact-mobile-redesign tr {
      margin: 0 0 14px !important;
      padding: 0 !important;
      box-shadow: none !important;
    }
    body.contact-mobile-redesign th {
      margin: 0 0 7px !important;
      padding: 0 !important;
      text-align: left !important;
    }
    body.contact-mobile-redesign td {
      padding: 0 !important;
    }
    body.contact-mobile-redesign input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
    body.contact-mobile-redesign select,
    body.contact-mobile-redesign textarea {
      width: 100% !important;
      min-height: 52px !important;
      padding: 0 15px !important;
      border: 1px solid rgba(15, 23, 42, .12) !important;
      border-radius: 16px !important;
      background: #f5f5f7 !important;
      color: #1d1d1f !important;
      font-size: 16px !important;
      box-shadow: none !important;
      outline: none !important;
    }
    body.contact-mobile-redesign textarea {
      min-height: 140px !important;
      padding-top: 14px !important;
      line-height: 1.6 !important;
      resize: vertical;
    }
    body.contact-mobile-redesign input:focus,
    body.contact-mobile-redesign select:focus,
    body.contact-mobile-redesign textarea:focus {
      border-color: #0071e3 !important;
      background: #fff !important;
      box-shadow: 0 0 0 4px rgba(0, 113, 227, .12) !important;
    }
    body.contact-mobile-redesign .btn,
    body.contact-mobile-redesign input[type="submit"],
    body.contact-mobile-redesign button[type="submit"],
    body.contact-mobile-redesign .m-confirm-send {
      width: 100% !important;
      min-height: 56px !important;
      border: 0 !important;
      border-radius: 999px !important;
      background: #0071e3 !important;
      color: #fff !important;
      font-size: 16px !important;
      font-weight: 900 !important;
      box-shadow: 0 12px 26px rgba(0, 113, 227, .24) !important;
    }
    body.contact-mobile-redesign a {
      color: #0071e3 !important;
      font-weight: 750 !important;
    }
