br.pc_none{
  display: none;
}
.flow__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--spacer-l) 1.5rem ;
  gap: 5rem;
}

.flow__title {
    text-align: center;
    margin-bottom: 28px;
    color: #222;
  }

.pc-headers h2 {
  position: relative;
  padding-left: 30px; 
}

.pc-headers h2::before {
  content: ""; 
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
}
.pc-headers h2.pc-headers__unused::before {
  padding-left: 35px;
  background-image: url('../img/icon-unsed.svg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.pc-headers h2.pc-headers__used::before {
  padding-left: 35px;
  background-image: url('../img/icon-used.svg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
  /* ============== タブ (SP 時のみ表示) ============== */
  .sp-tabs { display: none; }
  .sp-tabs__list {
    display: flex;
    gap: 4px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 6px 0 10px;
    border-bottom: 1px solid #eee;
    flex-direction: column;
  }
  .sp-tabs__btn {
    flex: 1;
    padding: 12px 6px;
    border: 2px solid #ddd;
    background: #f4f4f4;
    color: #666;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    line-height: 1.4;
    transition: all 0.2s;
    border:solid #fff 1px;
    position: relative;
  }
  .sp-tabs__btn[data-target="unused"].is-active {
    background: rgba(223, 183, 67, 0.2);  border-color: rgba(223, 183, 67, 1);
  }
  .sp-tabs__btn[data-target="used"].is-active {
    background: rgba(139, 165, 124 ,0.2); border-color: rgba(139, 165, 124 ,1);
  }
 
  /* ============== PC 用の列ヘッダ ============== */
  .pc-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .pc-headers h2 {
    text-align: center;
    padding: 20px;
    font-size: 18px;
    border-radius:60px;
    position: relative;
  }
  .pc-headers .pc-headers__unused { background:  rgba(223, 183, 67, 0.2); }
  .pc-headers .pc-headers__used   { background:  rgba(139, 165, 124 ,0.2) }
   .pc-headers span{
    position: absolute;
    top:-2em;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    font-size: 13px;
    border-radius: 40px;
    padding: 6px;
    background-color: #fff;
    border:solid 1px #4c3d2a
  }

  /* ============== STEP セクション ============== */
  .step {
    margin: 0;
    z-index: 0;
  }
  .step__label {
    text-align: center;
    font-weight: bold;
    color: #fff;
    background: #4c3d2a;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    z-index: 1;
  }
 
  /* STEP 本体 (PC: 2列 / 共通は1列) */
  .step__body {
    display: grid;
    gap: 20px;
  }
  .step--branch .step__body,
  .step--unused-only .step__body {
    grid-template-columns: 1fr 1fr;
  }
  .step--common .step__body {
    grid-template-columns: 1fr;
  }
 
  /* ルートボックス (共通スタイル) */
  .route {
    border-radius: 6px;
    padding: 22px 20px;
    position: relative;
    min-height: 120px;
  }
  .route__heading {
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #4d403a;
    text-align: center;
    font-size: 1.2rem;
  }
  .route__text {
    line-height: 1.75;
  }
  .route--unused { background: rgba(223, 183, 67, 0.2); }
  .route--used   { background: rgba(139, 165, 124 ,0.2); }
  .route--common { background: #f1f1f1; }
 
  /* STEP3 右側「利用中の方は通過」の緑ライン */
  .route-pass {
    position: relative;
    min-height: 120px;
  }
  .route-pass::before {
    content: "";
    position: absolute;
    top: -20px;
    bottom: -50px;
    left: 50%;
    width: 28px;
    transform: translateX(-50%);
    background: #e1ddd2;
    z-index: -1;
  }
 
  /* スキップ表示(SP用 / 利用中の方タブ時に表示) */
  .route-skip { display: none; }
 
  /* 緑の接続線 */
  .connector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 38px;
    margin: 0;
  }
  .connector span {
    display: block;
    width: 28px;
    height: 100%;
    background: #e1ddd2;
    justify-self: center;
  }
   .wrap_imgText{
    display: flex;
    gap:30px;
    align-items: center;
  }
  .wrap_imgText img{
    max-width: 300px;
  }
  .bg_white{
    background-color:  #fff;
    padding: 1em;
    margin-top: 30px;
  }
  .info-block{
    margin-bottom: 40px;
  }
.info-title {
  display: block;
}

.info-title span {
  display: inline-block;
  background-color: #4c3d2a;
  color: #fff;
  padding: 4px 12px;
  margin-bottom: .5rem;
}

.link-external::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 6px;
  vertical-align: middle;

  background-image: url("../img/icon-open.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
  /* ============== SP (〜700px) ============== */

  @media (max-width: 768px) {
    br.pc_none{
  display: block;
}
    .flow__inner {
  padding: var(--spacer-s) 1.5rem  var(--spacer-l);
}
.wrap_imgText{
    flex-direction: column;
  }
  }



  @media (max-width: 700px) {

    .flow__title {
      font-size: 20px;
      margin-bottom: 16px; }
 
    .sp-tabs { display: block; }
    .pc-headers { display: none; }
 
    /* すべてのSTEPを1カラムに */
    .step__body { grid-template-columns: 1fr !important; }
 
    /* 接続線も1列に */
    .connector { grid-template-columns: 1fr; height: 22px; }
    .connector span:nth-child(2) { display: none; }
 
    /* STEP3 右列の緑ラインは SP では不要 */
    .route-pass { display: none; }
 
    /* タブによる表示切替 (SP のみ) */
    body[data-active-tab="unused"] .route--used { display: none; }
    body[data-active-tab="used"]   .route--unused { display: none; }
 

    
    body[data-active-tab="unused"] .route--common { background: rgba(223, 183, 67, 0.2); }
    body[data-active-tab="used"]   .route--common { background: rgba(139, 165, 124 ,0.2); }
    /* 利用中タブ時に STEP3 のスキップ案内を表示 */
    body[data-active-tab="used"] .step--unused-only .route-skip {
      display: block;
      background: #f4f4f4;
      border: 2px dashed rgba(139, 165, 124 ,0.4);
      padding: 16px;
      border-radius: 6px;
      text-align: center;
      line-height: 1.7;
      font-weight: bold;
    }
    body[data-active-tab="used"] .step--unused-only .route-skip small {
      font-weight: normal;
      color: #555;
      display: block;
      margin-top: 4px;
    }
 
    .route { padding: 18px 16px; min-height: 0; }
  }
