/* register.html 専用スタイル */
/* ============================================================
       register.html 追加スタイル（STEP1 / STEP2フォーム）
       ============================================================ */
    .form-card {
      border: 1px solid rgba(0,0,0,.1);
      box-shadow: 0 4px 24px rgba(0,0,0,.08);
      background: #fff;
      max-width: 820px;
      margin: 0 auto;
    }
    .form-card-header {
      background: var(--green-dark, #1a3d2b);
      padding: 1.4rem 2rem;
      text-align: center;
    }
    .form-card-title {
      font-size: 1.05rem; font-weight: 700;
      color: #fff; letter-spacing: .05em;
    }
    .form-card-sub {
      font-size: .75rem; color: rgba(255,255,255,.7);
      margin-top: .3rem; line-height: 1.8;
    }
    .form-card-body { padding: 2rem; }
    .step-indicator {
      display: flex; align-items: center; justify-content: center;
      padding: 1.4rem 1rem .6rem; background: #fafafa;
      border-bottom: 1px solid rgba(0,0,0,.07);
    }
    .step-item { display: flex; flex-direction: column; align-items: center; gap: 5px; }
    .step-circle {
      width: 38px; height: 38px; border-radius: 50%;
      background: #ddd; color: #999; font-weight: 700; font-size: .95rem;
      display: flex; align-items: center; justify-content: center; transition: all .3s;
    }
    .step-item.active .step-circle,
    .step-item.done   .step-circle { background: #1a3d2b; color: #fff; }
    .step-label { font-size: .72rem; color: #aaa; font-weight: 600; }
    .step-item.active .step-label,
    .step-item.done   .step-label  { color: #1a3d2b; }
    .step-line {
      flex: 1; height: 2px; background: #ddd; max-width: 80px;
      margin: 0 10px; margin-bottom: 20px; transition: background .3s;
    }
    .step-line.done { background: #1a3d2b; }
    .step-guide-text { font-size: .85rem; color: #888; margin-bottom: .6rem; }
    .btn-next {
      display: inline-block;
      background: #1a3d2b; color: #fff;
      border: none; padding: .85rem 2.2rem; border-radius: 40px;
      font-size: .95rem; font-weight: 700; cursor: pointer;
      letter-spacing: .06em; transition: opacity .2s;
    }
    .btn-next:hover { opacity: .82; }
    .iframe-wrap { margin: 0 -2rem; overflow: hidden; }
    .iframe-wrap iframe { display: block; }
    .f-group { margin-bottom: 1.2rem; }
    .f-label {
      display: block; font-size: .78rem; font-weight: 600;
      color: #333; margin-bottom: .45rem; letter-spacing: .03em;
    }
    .req {
      display: inline-block; font-size: .6rem; font-weight: 700;
      background: #c0392b; color: #fff; padding: .1rem .4rem;
      margin-left: .4rem; vertical-align: middle;
    }
    .f-input, .f-select {
      width: 100%; padding: .7rem .9rem;
      border: 1px solid #ccc; border-radius: 3px;
      font-size: .88rem; color: #333;
      transition: border-color .2s, box-shadow .2s;
      background: #fff; -webkit-appearance: none; appearance: none;
    }
    .f-input:focus, .f-select:focus {
      outline: none; border-color: #2a7a50;
      box-shadow: 0 0 0 3px rgba(42,122,80,.12);
    }
    .f-input.is-invalid { border-color: #c0392b; }
    .f-input-half { max-width: 280px; }
    .f-row-2, .f-row-3, .f-row-tel {
      display: flex; gap: .6rem; align-items: center;
    }
    .f-row-2 .f-input, .f-row-3 .f-input, .f-row-tel .f-input { flex: 1; }
    .f-tel-sep { color: #666; font-size: 1.1rem; flex-shrink: 0; }
    .f-select {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right .9rem center;
      padding-right: 2.5rem; cursor: pointer;
    }
    .f-radio-group { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }
    .f-radio {
      display: flex; align-items: center; gap: .4rem;
      padding: .42rem .9rem; border: 1px solid #ccc; border-radius: 30px;
      font-size: .82rem; color: #444; cursor: pointer; transition: all .2s;
    }
    .f-radio input { accent-color: #1a3d2b; }
    .f-agree-group { margin: 1.4rem 0 1.2rem; }
    .f-agree-item {
      display: flex; align-items: flex-start; gap: .6rem;
      margin-bottom: .7rem; font-size: .8rem; color: #444;
      line-height: 1.7; cursor: pointer;
    }
    .f-agree-item input[type="checkbox"] { margin-top: .2rem; accent-color: #1a3d2b; flex-shrink: 0; }
    .f-agree-item a { color: #1a3d2b; }
    .f-error { font-size: .7rem; color: #c0392b; margin-top: .3rem; display: none; }
    .btn-spinner {
      display: inline-block; width: 16px; height: 16px;
      border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
      border-radius: 50%; animation: reg-spin .7s linear infinite;
      vertical-align: middle; margin-left: .4rem;
    }
    @keyframes reg-spin { to { transform: rotate(360deg); } }

    /* 送信ボタン：中央寄せ */
    #submitBtn.btn-register {
      display: block;
      width: fit-content;
      margin: 1.6rem auto 0;
      border: none;
      cursor: pointer;
    }
    @media (max-width: 600px) {
      .form-card-body { padding: 1rem 0; }
      .iframe-wrap { margin: 0; }
      .iframe-wrap iframe { width: 100% !important; }
      .f-row-2, .f-row-3 { flex-direction: column; gap: .4rem; }
      .f-input-half { max-width: 100%; }
      .form-card-header { padding: 1rem; }
      /* フォームフィールドの左右余白 */
      .f-group, .f-agree-group, .btn-register, #formError, .form-note { padding-left: 1rem; padding-right: 1rem; }
    }
