/* --------------------------------------------------
   カンタン選べる買取方法と流れ（タブ切り替え / JS不使用・CSSのみ）
-------------------------------------------------- */

  .hgbm-wrap *{ box-sizing:border-box; }

  .hgbm-wrap{
    background:none;
    color:#222222;
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
    max-width:1056px;
    margin:0 auto;
    padding:56px 20px 72px;
  }

  /* ---------- Head ---------- */
  .hgbm-head{
    text-align:center;
    margin-bottom:40px;
  }
  .hgbm-title{
    font-size:26px;
    font-weight:800;
    color:#0b2745;
    margin:0;
    letter-spacing:.02em;
  }

  /* ---------- Tab switch (radio-based, no JS) ---------- */
  .hgbm-tab-input{
    position:absolute;
    opacity:0;
    width:0;
    height:0;
    pointer-events:none;
  }

  .hgbm-tab-bar{
    display:flex;
    gap:0;
    margin-bottom:0;
  }
  .hgbm-tab-btn{
    flex:1 1 0;
    text-align:center;
    padding:18px 10px;
    font-size:18px;
    font-weight:800;
    color:#00499f;
    background:#ffffff;
    border:2px solid #dde3ec;
    cursor:pointer;
    user-select:none;
    transition:background-color .15s ease, color .15s ease;
  }
  .hgbm-tab-bar .hgbm-tab-btn + .hgbm-tab-btn{
    border-left:none;
  }

  .hgbm-tabset{
    box-shadow:0 8px 20px rgba(0,0,0,0.10);
  }
  .hgbm-panels{
    background:#ffffff;
    border:2px solid #dde3ec;
    border-top:none;
    padding:32px 24px 24px;
  }
  .hgbm-panel{
    display:none;
  }

  #hgbm-tab-1:checked ~ .hgbm-tab-bar label[for="hgbm-tab-1"],
  #hgbm-tab-2:checked ~ .hgbm-tab-bar label[for="hgbm-tab-2"],
  #hgbm-tab-3:checked ~ .hgbm-tab-bar label[for="hgbm-tab-3"]{
    background:#00499f;
    color:#ffffff;
    border-color:#00499f;
  }
  #hgbm-tab-1:checked ~ .hgbm-panels #hgbm-panel-1,
  #hgbm-tab-2:checked ~ .hgbm-panels #hgbm-panel-2,
  #hgbm-tab-3:checked ~ .hgbm-panels #hgbm-panel-3{
    display:block;
  }

  /* ---------- Panel content ---------- */
  .hgbm-features{
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 32px;
    margin:0 0 32px;
    padding:0;
  }
  .hgbm-features li{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:16px;
    font-weight:700;
    color:#00499f;
  }
  .hgbm-features li::before{
    content:"";
    flex:0 0 auto;
    width:20px;
    height:20px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23f39800'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  }

  /* ---------- Steps ---------- */
  .hgbm-steps{
    display:flex;
    align-items:stretch;
    justify-content:center;
    gap:8px;
    margin-bottom:20px;
  }
  .hgbm-step{
    flex:1 1 0;
    text-align:center;
    background:#f7f9fc;
    padding:22px 12px 20px;
  }
  .hgbm-step-badge{
    display:inline-block;
    font-size:12px;
    font-weight:800;
    letter-spacing:.06em;
    color:#ffffff;
    background:#00499f;
    border-radius:999px;
    padding:4px 14px;
    margin-bottom:14px;
  }
  .hgbm-step-icon{
    width:100px;
    height:100px;
    margin:0 auto 12px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .hgbm-step-icon img{
    width:100px;
    height:100px;
    display:block;
    object-fit:contain;
  }
  .hgbm-step-title{
    font-size:16px;
    font-weight:700;
    color:#00499f;
    margin:0 0 6px;
  }
  .hgbm-step-text{
    font-size:16px;
    color:#3d3d3d;
    margin:0;
    text-align:left;
  }

  .hgbm-arrow{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .hgbm-arrow svg{
    width:24px;
    height:24px;
    display:block;
  }

  /* ---------- Notes ---------- */
  .hgbm-notes{
    margin-top:16px;
  }
  .hgbm-notes p{
    font-size:14px;
    color:#3d3d3d;
    margin:0 0 6px;
    line-height:1.7;
    text-align:left;
  }
  .hgbm-notes p:last-child{
    margin-bottom:0;
  }

  @media (max-width:760px){
    .hgbm-title{ font-size:22px; }

    .hgbm-tab-btn{
      font-size:14px;
      padding:14px 4px;
    }

    .hgbm-panels{
      padding:28px 16px 20px;
    }

    .hgbm-features{
      flex-direction:column;
      align-items:flex-start;
      justify-content:center;
      width:fit-content;
      margin-left:auto;
      margin-right:auto;
    }

    .hgbm-steps{
      flex-direction:column;
      align-items:center;
      gap:0;
    }
    .hgbm-step{
      max-width:320px;
      width:100%;
    }
    .hgbm-arrow{
      padding:8px 0;
    }
    .hgbm-arrow svg{
      transform:rotate(90deg);
    }
  }