:root {
  --primary: #0052cc;
  --primary-dark: #0747a6;
  --primary-light: #ebf3ff;
  --accent: #b01b4c;
  --accent-light: #fff0f3;
  --text-main: #172b4d;
  --text-sub: #5e6c84;
  --text-muted: #7a869a;
  --bg-page: #f4f5f7;
  --bg-card: #ffffff;
  --border: #dfe1e6;
  --border-focus: #4c9aff;
  --success: #36b37e;
  --warning: #ffab00;
  --shadow-sm: 0 1px 3px rgba(9, 30, 66, 0.08);
  --shadow-md: 0 4px 14px rgba(9, 30, 66, 0.1);
  --shadow-lg: 0 12px 32px rgba(9, 30, 66, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

/* Header */
.apply-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.apply-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apply-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.apply-logo {
  height: 36px;
  flex-shrink: 0;
}

.apply-brand-badge {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid #ffccd8;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}

.apply-header-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.apply-link-text {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.apply-link-text:hover {
  color: var(--primary);
}

.btn-partner-login-link {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid #b3d4ff;
  transition: all 0.2s;
}

.btn-partner-login-link:hover {
  background: #deebff;
}

/* Main Layout */
.apply-main {
  padding: 2rem 1.5rem 4rem;
}

.apply-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Banner */
.apply-hero-banner {
  background: linear-gradient(135deg, #091e42 0%, #0747a6 100%);
  color: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.apply-hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(4px);
}

.apply-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.apply-hero-sub {
  font-size: 0.95rem;
  color: #deebff;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.apply-contract-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #b3d4ff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.75rem;
}

.apply-contract-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* 2-Column Grid Layout */
.apply-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .apply-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Column Form */
.apply-form-col {
  display: flex;
  flex-direction: column;
}

.apply-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.apply-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 1rem;
}

.step-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.apply-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.apply-card-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-top: 0.25rem;
}

/* Form Fields */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.req {
  background: #ff5630;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  margin-left: 0.3rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Character Selection Grid */
.character-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .character-select-grid {
    grid-template-columns: 1fr;
  }
}

.char-option-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.char-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.char-card-content {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: #ffffff;
  text-align: center;
  transition: all 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.char-option-card:hover .char-card-content {
  border-color: #4c9aff;
}

.char-option-card input[type="radio"]:checked + .char-card-content {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: 0 0 0 2px var(--primary);
}

.char-thumb {
  height: 130px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.char-region-tag {
  display: inline-block;
  background: #e6fcff;
  color: #006644;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  margin-bottom: 0.25rem;
}

.char-name-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.char-feature {
  display: block;
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 0.25rem;
}

/* Package Blocks */
.package-section-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border);
}

.package-section-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.block-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.block-num {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.block-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Choice Cards Grid */
.choice-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.choice-box {
  position: relative;
  cursor: pointer;
  display: block;
}

.choice-box input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.choice-box-inner {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  background: #ffffff;
  transition: all 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.choice-box:hover .choice-box-inner {
  border-color: #4c9aff;
}

.choice-box input[type="radio"]:checked + .choice-box-inner {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary);
}

.choice-badge-rec {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  align-self: flex-start;
  margin-bottom: 0.4rem;
}

.choice-badge-discount {
  background: var(--success);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  align-self: flex-start;
  margin-bottom: 0.4rem;
}

.choice-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.choice-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.choice-price small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-sub);
}

.choice-desc {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.4;
}

/* Mandatory Goods Box */
.mandatory-goods-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.goods-notice-badge {
  display: inline-block;
  background: #ffebe6;
  color: #bf2600;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.goods-calc-result {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-top: 1rem;
}

.goods-calc-result strong {
  font-size: 1.1rem;
  color: var(--accent);
}

/* Checklist Items */
.contract-checklist-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: #fafbfc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.45;
  cursor: pointer;
  transition: background 0.15s;
}

.checklist-item:hover {
  background: #f4f5f7;
}

.checklist-item input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.legal-consent-row {
  background: var(--primary-light);
  border: 1px solid #b3d4ff;
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

/* Submit Area */
.submit-action-area {
  text-align: center;
  margin-top: 1rem;
}

.btn-submit-formal {
  background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%);
  color: #fff;
  border: none;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 1.1rem 2rem;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 20px rgba(0, 82, 204, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-submit-formal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 82, 204, 0.45);
}

.submit-legal-notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Right Column Quote Sticky */
.apply-summary-col {
  position: sticky;
  top: 80px;
}

.quote-summary-sticky {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}

.quote-card-header {
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.quote-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.quote-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.3rem;
}

.quote-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
}

.quote-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.quote-label {
  color: var(--text-main);
}

.quote-val {
  font-weight: 700;
  color: var(--text-main);
}

.quote-divider {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0;
}

.quote-row.highlight-sub {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.quote-row.highlight-monthly {
  background: #f0f7ff;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  color: var(--primary-dark);
}

.quote-grand-box {
  background: var(--accent-light);
  border: 1px solid #ffccd8;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 0.75rem 0;
  text-align: center;
}

.grand-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.grand-amount {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
  margin: 0.25rem 0;
}

.grand-note {
  font-size: 0.78rem;
  color: var(--text-main);
  display: block;
}

.quote-footer-features {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 30, 66, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header-success {
  background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%);
  color: #fff;
  padding: 1.75rem;
  text-align: center;
}

.modal-icon-spark {
  font-size: 2.5rem;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.modal-sub {
  font-size: 0.85rem;
  color: #deebff;
}

.modal-body-content {
  padding: 1.75rem;
}

.success-account-box {
  background: #f4f5f7;
  border: 2px dashed #b3d4ff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.box-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.account-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.account-row strong {
  font-family: monospace;
  font-size: 1rem;
  color: var(--text-main);
}

.payment-auto-status-box {
  background: #fafbfc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.pay-status-head {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.modal-next-steps {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 1.5rem;
}

.modal-next-steps h4 {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.modal-next-steps ol {
  padding-left: 1.25rem;
}

.modal-actions {
  text-align: center;
}

.btn-primary-large {
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
}

.btn-primary-large:hover {
  background: var(--primary-dark);
}

/* Footer */
.apply-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: #ffffff;
}

/* --------------------------------------------------------------------------
   導入フロー（HOW IT WORKS）セクション
   -------------------------------------------------------------------------- */
.apply-flow-section {
  background: #ffffff;
  border: 2px solid #fbcfe8;
  border-radius: 14px;
  padding: 24px 22px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(176, 27, 76, 0.06);
}

.apply-flow-header {
  text-align: center;
  margin-bottom: 18px;
}

.flow-pill-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #b01b4c;
  background: #ffe4e9;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.flow-main-title {
  font-size: 19px;
  font-weight: 800;
  color: #90113c;
  margin: 8px 0 4px;
}

.flow-sub-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.flow-step-card {
  background: #fff8f9;
  border: 1.5px solid #fecdd3;
  border-radius: 10px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
}

.step-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.step-badge-num {
  font-size: 11px;
  font-weight: 800;
  background: #e11d48;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}

.step-time-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
}

.step-time-label.highlight {
  color: #15803d;
}

.step-card-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.step-card-title {
  font-size: 14px;
  color: #9f1239;
  display: block;
  margin-bottom: 4px;
}

.step-card-desc {
  font-size: 12px;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

/* パスワード2列グリッド */
.password-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* モバイル専用下部固定バー (PCでは非表示) */
.mobile-sticky-quote-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   モバイル最適化メディアクエリ (レスポンシブ)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .apply-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .apply-summary-col {
    position: static;
    margin-top: 1rem;
  }

  /* モバイル専用下部固定見積もりバーの有効化 */
  .mobile-sticky-quote-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
  }

  .mobile-quote-info {
    display: flex;
    flex-direction: column;
  }

  .mobile-quote-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
  }

  .mobile-quote-amount {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.1;
  }

  .btn-mobile-view-quote {
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 9px 16px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(0, 82, 204, 0.3);
  }

  .btn-mobile-view-quote:hover {
    background: var(--primary-dark);
  }
}

@media (max-width: 768px) {
  .apply-header-inner {
    padding: 0.6rem 0.85rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .apply-brand {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .apply-logo {
    height: 28px;
  }

  .apply-brand-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.45rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .apply-header-links {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 0.35rem;
    border-top: 1px solid #f1f3f5;
  }

  .apply-link-text {
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .apply-main {
    padding: 1rem 0.75rem 6.5rem; /* 下部固定バー分の余白確保 */
  }

  .apply-hero-banner {
    padding: 1.35rem 1.1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
  }

  .apply-hero-title {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .apply-hero-sub {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .apply-contract-meta {
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  .apply-flow-section {
    padding: 16px 12px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .flow-main-title {
    font-size: 16px;
  }

  .flow-sub-desc {
    font-size: 12px;
  }

  /* スマホでは2列x2行のコンパクトカードで一覧性を最大化 */
  .flow-steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .flow-step-card {
    padding: 10px 8px;
  }

  .step-card-icon {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .step-card-title {
    font-size: 12.5px;
    line-height: 1.3;
  }

  .step-card-desc {
    font-size: 11px;
    line-height: 1.4;
  }

  .apply-card {
    padding: 1.25rem 0.95rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
  }

  .apply-card-header {
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .apply-card-title {
    font-size: 1.15rem;
  }

  .apply-card-desc {
    font-size: 0.78rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .password-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* iOSズーム防止: 16px以上 */
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px !important;
    padding: 11px 12px;
  }

  .package-section-block {
    margin-bottom: 1.35rem;
  }

  .block-title {
    font-size: 0.95rem;
  }

  .choice-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .choice-box-inner {
    padding: 0.85rem 0.95rem;
  }

  .payment-group-box {
    padding: 0.95rem 0.85rem !important;
  }

  .contract-checklist-box {
    gap: 0.6rem;
  }

  .checklist-item {
    padding: 0.75rem 0.75rem;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .checklist-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    flex-shrink: 0;
  }

  .legal-consent-row {
    padding: 0.85rem;
    font-size: 0.82rem;
  }

  .btn-submit-formal {
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    border-radius: 30px;
    width: 100%;
  }

  .quote-summary-sticky {
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }

  .grand-amount {
    font-size: 1.6rem;
  }
}

