@charset "UTF-8";
/* =============================================================
   診断LP (/diagnose/) への遷移ボタン (tmp/diagnose-lp-btn.php)
   Figma: 事故治療ナビ 診断LP遷移ボタン_PC 10081:24676 (672×162)
   - ボタン本体 10115:29047: 672×120・上端38px / 白枠4px / 角丸60px
     グラデ #ff7a5c→#e8402a / 影 0 16px 24px rgba(229,77,51,.35), 0 8px 0 #a8291a
   - 吹き出しタグ 10115:29054: left256 top2 / #1f6f66 / 角丸4px
   - バッジ 10115:29056: left4 top22 / 112px円 / #ffd84d / 白枠4px
   SP (767px 以下): 診断LP遷移ボタン_SP 10081:24689 (中身 10081:24663 / 351×138)
   ============================================================= */
/* 地域記事の院カード一覧 (tmp/clinic-list.php の <li id="region-diagnose">)。
   上下の間隔は以前の診断フォームの枠と同じく院カード同士の間隔に揃える */
.p-region-diagnose {
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.p-region-diagnose::before {
  content: none;
}

.c-diag-btn,
.c-diag-btn * {
  box-sizing: border-box;
}
.c-diag-btn {
  position: relative;
  display: block;
  width: 100%;
  max-width: 672px;
  height: 162px;
  margin: 0 auto;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.c-diag-btn:hover {
  opacity: 0.92;
  transform: translateY(2px);
}
.c-diag-btn:focus-visible {
  outline: 3px solid #1f6f66;
  outline-offset: 4px;
}

/* ボタン本体 */
.c-diag-btn__body {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 120px;
  padding: 0 18px 0 128px;
  border: 4px solid #fff;
  border-radius: 60px;
  background: linear-gradient(to bottom, #ff7a5c, #e8402a);
  box-shadow: 0 16px 24px rgba(229, 77, 51, 0.35), 0 8px 0 #a8291a;
}
.c-diag-btn__txt {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.c-diag-btn__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 14px;
  border-radius: 20px;
  background: #fff;
  color: #e5563d;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0.68px;
  white-space: nowrap;
}
.c-diag-btn__main {
  color: #fff;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0.68px;
  text-align: center;
  text-shadow: 0 2px 0 rgba(140, 31, 13, 0.45);
  white-space: nowrap;
}
.c-diag-btn__arrow {
  flex: 0 0 auto;
  display: block;
  width: 56px;
  height: 56px;
}

/* 吹き出しタグ「結局どの病院がいいのかな...」 */
.c-diag-btn__tag {
  position: absolute;
  top: 2px;
  left: 256px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 4px;
  background: #1f6f66;
  color: #fff;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0.68px;
  white-space: nowrap;
}

/* バッジ「お見舞金最大 2万円」 */
.c-diag-btn__badge {
  position: absolute;
  top: 22px;
  left: 4px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border: 4px solid #fff;
  border-radius: 56px;
  background: #ffd84d;
  text-align: center;
  white-space: nowrap;
}
.c-diag-btn__badge-sm {
  color: #1f6f66;
  font-size: 13px;
  line-height: 1.3;
}
.c-diag-btn__badge-lg {
  color: #e5563d;
  font-size: 30px;
  line-height: 1.1;
}

/* 主文の改行は SP だけ (PC は1行) */
.c-diag-btn__br {
  display: none;
}

/* --- SP: 診断LP遷移ボタン_SP 10081:24689 (351×138) ---
   - 本体 10115:29071: 351×104・上端30px / 白枠3px / 角丸52px / 左余白92px・右12px
     影 0 12px 18px rgba(229,77,51,.35), 0 6px 0 #a8291a
   - 主文 10115:29075: 21px・行高1.2 で「今すぐ通院先を／探す！」の2行 / 矢印 40px
   - タグ 10115:29078: 上2px・右端から4px (left150 / 幅197) / 13px
   - バッジ 10115:29080: left4 top28 / 86px円 / 白枠3px / 10px・22px */
@media (max-width: 767px) {
  .c-diag-btn {
    max-width: 351px;
    height: 138px;
  }
  .c-diag-btn__body {
    top: 30px;
    height: 104px;
    gap: 6px;
    padding: 0 12px 0 92px;
    border-width: 3px;
    border-radius: 52px;
    box-shadow: 0 12px 18px rgba(229, 77, 51, 0.35), 0 6px 0 #a8291a;
  }
  .c-diag-btn__txt {
    gap: 3px;
  }
  .c-diag-btn__pill {
    padding: 2px 10px;
    font-size: 13px;
    letter-spacing: 0.52px;
  }
  .c-diag-btn__main {
    font-size: min(21px, 5.6vw);
    line-height: 1.2;
    letter-spacing: 0.42px;
  }
  .c-diag-btn__br {
    display: inline;
  }
  .c-diag-btn__arrow {
    width: 40px;
    height: 40px;
  }
  /* 幅が 351px より狭い端末でもはみ出さないよう、右端基準で置く */
  .c-diag-btn__tag {
    top: 2px;
    right: 4px;
    left: auto;
    padding: 3px 10px;
    font-size: 13px;
    letter-spacing: 0.52px;
  }
  .c-diag-btn__badge {
    top: 28px;
    left: 4px;
    width: 86px;
    height: 86px;
    border-width: 3px;
    border-radius: 43px;
  }
  .c-diag-btn__badge-sm {
    font-size: 10px;
  }
  .c-diag-btn__badge-lg {
    font-size: 22px;
  }
}
