/* =========================================================
   wise-inc / お問い合わせ専用スタイルシート (pages/contact.css)
   ・フォーム帯（薄いグレー背景、白いパネル、ステップ表示）
   ・入力フィールド装飾、必須/任意バッジ、ラジオボタン選択カード
   ・個人情報保護同意、送信ボタン
   ・右カラム：お電話での問い合わせカード、アコーディオンFAQ
   ========================================================= */

/* お問い合わせページの見出し調整 */
.ph {
  padding-block: calc(var(--headSpace) + clamp(18px, 2.6vh, 30px)) clamp(34px, 5vh, 58px);
}

.ph .crumb {
  margin-bottom: clamp(20px, 3.4vw, 40px);
}

.ph__lead {
  margin-top: clamp(16px, 2.2vw, 24px);
}

/* =========================================================
   フォームの帯 (fmzone)
   ========================================================= */
.fmzone {
  scroll-margin-top: calc(var(--headSpace) + 16px);
  margin-top: clamp(30px, 4vw, 52px);
  padding-block: clamp(36px, 5vw, 72px);
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fmzone__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- 白いパネル --- */
.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(12, 27, 49, .07);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px clamp(18px, 2.4vw, 36px);
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.8vw, 44px);
  background: linear-gradient(112deg, var(--navy) 0%, #14375F 60%, #1B4B84 100%);
  color: #fff;
}

.panel__t {
  display: grid;
  gap: 6px;
}

.panel__t p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .55);
}

.panel__t p i {
  width: 5px;
  height: 5px;
  background: var(--gold);
  flex: none;
}

.panel__t h2 {
  margin: 0;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: .07em;
  line-height: 1.3;
}

/* 手順（ステップ） */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .62);
}

.steps li+li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, .3);
}

.steps b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34);
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  color: #fff;
}

.steps li.is-on {
  color: #fff;
}

.steps li.is-on b {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

@media (max-width: 640px) {
  .steps li span {
    display: none;
  }

  .steps li+li::before {
    width: 10px;
  }
}

.panel__body {
  padding: clamp(22px, 3vw, 48px) clamp(20px, 2.8vw, 44px) clamp(26px, 3.4vw, 52px);
}

/* --- フォーム入力のまとまり --- */
.fm fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.fm__block+.fm__block {
  margin-top: clamp(26px, 3.4vw, 44px);
  padding-top: clamp(26px, 3.4vw, 44px);
  border-top: 1px solid var(--hair);
}

.fm__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 clamp(16px, 2vw, 24px);
  padding: 0;
  font-size: clamp(14.5px, 1.25vw, 17px);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--strong);
}

.fm__legend b {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 2px;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 11px;
}

.fl {
  display: grid;
  gap: 9px;
}

.fl+.fl {
  margin-top: clamp(16px, 2vw, 22px);
}

.fl__t {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--strong);
}

.req,
.opt {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding-inline: 7px;
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 500;
}

.req {
  background: #FDECEC;
  color: #B4403F;
}

.opt {
  background: var(--bg2);
  color: var(--faint);
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  align-items: start;
}

.grid2 .fl+.fl {
  margin-top: 0;
}

@media (max-width: 640px) {
  .grid2 {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2vw, 22px);
  }
}

/* 入力欄装飾 */
.fm input[type="text"],
.fm input[type="email"],
.fm input[type="tel"],
.fm select,
.fm textarea {
  width: 100%;
  padding: 0 15px;
  height: 52px;
  border: 1px solid #D5DDE8;
  border-radius: 2px;
  background: #F7FAFD;
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(13.5px, 1.05vw, 15px);
  letter-spacing: .03em;
  transition: border-color .28s ease, box-shadow .28s ease, background-color .28s ease;
}

.fm textarea {
  height: auto;
  min-height: 180px;
  padding: 14px 15px;
  line-height: 1.9;
  resize: vertical;
}

.fm input::placeholder,
.fm textarea::placeholder {
  color: #AAB4C2;
}

.fm input:hover,
.fm select:hover,
.fm textarea:hover {
  border-color: #C0CBDA;
}

.fm input:focus,
.fm select:focus,
.fm textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, .14);
}

.fm select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #8D97A6 50%), linear-gradient(135deg, #8D97A6 50%, transparent 50%);
  background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.fl__help {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: .04em;
  color: var(--faint);
}

/* 種別ラジオカード（押せる枠） */
.pick {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pick label {
  position: relative;
  display: grid;
  gap: 5px;
  padding: clamp(15px, 1.8vw, 19px) clamp(15px, 1.8vw, 19px) clamp(15px, 1.8vw, 19px) 46px;
  border: 1px solid #D5DDE8;
  border-radius: 3px;
  background: #F7FAFD;
  cursor: pointer;
  transition: border-color .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.pick label::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  border: 1px solid #B8C4D4;
  border-radius: 50%;
  background: #fff;
  transition: border-color .28s ease;
}

.pick label::after {
  content: "";
  position: absolute;
  left: 23.5px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  transform: translateY(-50%) scale(0);
  transition: transform .3s cubic-bezier(.2, 1.5, .35, 1);
}

.pick input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.pick b {
  font-size: clamp(13px, 1.05vw, 14.5px);
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--strong);
}

.pick span {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--faint);
}

.pick label:hover {
  border-color: #B4C4DA;
  background: #F1F6FD;
}

.pick label:has(input:checked) {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 1px var(--navy);
}

.pick label:has(input:checked)::before {
  border-color: var(--navy);
}

.pick label:has(input:checked)::after {
  transform: translateY(-50%) scale(1);
}

.pick label:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(47, 128, 237, .18);
}

@media (max-width: 640px) {
  .pick {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 同意と送信 */
.agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(22px, 2.8vw, 32px);
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid #D5DDE8;
  border-radius: 3px;
  background: #F7FAFD;
  font-size: clamp(12.5px, 1vw, 14px);
  line-height: 1.9;
  color: var(--sub);
  cursor: pointer;
}

.agree input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--navy);
  cursor: pointer;
}

.agree a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.fm__send {
  margin-top: clamp(22px, 2.8vw, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}

.send {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(100%, 320px);
  height: clamp(56px, 4.6vw, 66px);
  padding-inline: clamp(28px, 3vw, 44px);
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(14px, 1.15vw, 16px);
  letter-spacing: .1em;
  transition: color .45s cubic-bezier(.785, .135, .15, .86);
}

.send::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.785, .135, .15, .86);
}

.send>* {
  position: relative;
  z-index: 1;
}

.send svg {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform .4s var(--ease);
}

@media (any-hover: hover) {
  .send:hover::before {
    transform: none;
  }

  .send:hover svg {
    transform: translateX(5px);
  }
}

.fm__after {
  margin: 0;
  max-width: 24em;
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--faint);
}

.fm__done {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: clamp(18px, 2.2vw, 24px);
  padding: 14px 18px;
  border: 1px solid #BBD5F5;
  border-radius: 3px;
  background: #F2F7FE;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--mid);
}

.fm__done.is-on {
  display: flex;
}

.fm__done i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* =========================================================
   右側：電話・事業所案内・よくあるご質問 (cols / side)
   ========================================================= */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(290px, 27vw, 370px);
  gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
}

.side {
  position: sticky;
  top: calc(var(--headSpace) + 16px);
  display: grid;
  gap: clamp(12px, 1.4vw, 16px);
  align-content: start;
  max-height: calc(100svh - var(--headSpace) - 32px);
  overflow: auto;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.side::-webkit-scrollbar {
  width: 6px;
}

.side::-webkit-scrollbar-thumb {
  background: #D3DCE8;
  border-radius: 3px;
}

.card {
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(122deg, var(--navy) 0%, #14375F 62%, #1B4B84 100%);
  box-shadow: 0 18px 48px rgba(12, 27, 49, .10);
}

.card__cap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(12px, 1.4vw, 16px);
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .55);
}

.card__cap i {
  width: 5px;
  height: 5px;
  background: var(--gold);
  flex: none;
}

.card__t {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .9);
}

.card .tel {
  display: inline-flex;
  align-items: baseline;
  gap: 11px;
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: clamp(25px, 2.3vw, 33px);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-decoration: none;
  transition: color .28s ease;
}

.card .tel i {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .55);
  transition: color .28s ease;
}

.card .tel:hover,
.card .tel:hover i {
  color: var(--gold);
}

.card__hours {
  margin: 8px 0 clamp(16px, 2vw, 22px);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .6);
}

.card address {
  margin: 0 0 clamp(14px, 1.6vw, 18px);
  padding-top: clamp(14px, 1.6vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-style: normal;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .74);
}

.card__note {
  margin: 0 0 clamp(14px, 1.6vw, 18px);
  font-size: 11.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .6);
}

.card .pill {
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
}

.card .pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 253, 148, .1);
}

/* よくあるご質問 (FAQ アコーディオン) */
.card2 {
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.card2__t {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(6px, 1vw, 10px);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--strong);
}

.card2__t span {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--faint);
}

.qa {
  border-top: 1px solid var(--hair);
}

.qa summary {
  position: relative;
  display: block;
  cursor: pointer;
  list-style: none;
  padding: 13px 30px 13px 20px;
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--strong);
  transition: color .25s ease;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 13px;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--blue);
}

.qa summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 20px;
  width: 11px;
  height: 1px;
  background: #9FAAB9;
  box-shadow: 0 0 0 0 transparent;
}

.qa summary .bar {
  position: absolute;
  right: 9px;
  top: 15px;
  width: 1px;
  height: 11px;
  background: #9FAAB9;
  transition: transform .3s var(--ease);
}

.qa[open] summary .bar {
  transform: scaleY(0);
}

.qa summary:hover {
  color: var(--blue);
}

.qa__body {
  overflow: hidden;
}

.qa.is-anim .qa__body {
  transition: height .42s cubic-bezier(.22, 1, .36, 1);
}

.qa__body p {
  margin: 0;
  padding: 0 4px 15px 20px;
  font-size: 12px;
  line-height: 1.95;
  color: var(--sub);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}

.qa[open] .qa__body p {
  opacity: 1;
  transform: none;
}

.qa[open] summary {
  color: var(--blue);
}

@media (max-height: 820px) {
  .card {
    padding: 18px 20px;
  }

  .card .tel {
    font-size: clamp(22px, 2vw, 28px);
  }

  .card__hours {
    margin-bottom: 14px;
  }

  .card2 {
    padding: 15px 20px 6px;
  }

  .qa summary {
    padding-block: 11px;
  }

  .side {
    gap: 10px;
  }
}

@media (max-width: 1200px) {
  .card {
    padding: clamp(18px, 2.2vw, 24px);
  }

  .side {
    gap: 10px;
  }
}

@media (max-width: 1000px) {
  .cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .side {
    display: contents;
  }

  .side__call {
    order: -1;
  }

  .side__faq {
    order: 1;
  }
}

/* 押せるものだけが丸い枠と点を持つ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding-inline: 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(11.5px, .95vw, 13px);
  letter-spacing: .05em;
  color: var(--sub);
  transition: border-color .28s ease, color .28s ease, background-color .28s ease;
}

.pill::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .65;
  transition: transform .28s var(--ease);
}

.pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #F2F7FE;
}

.pill:hover::after {
  transform: translateX(2px);
}

/* ==========================================================================
   確認画面 (Confirmation View) & 完了画面 (Thanks View) スタイル拡張
   ========================================================================== */

/* 確認画面ヘッダー */
.confirm-head {
  padding-bottom: clamp(18px, 2.5vw, 26px);
  margin-bottom: clamp(20px, 2.8vw, 30px);
  border-bottom: 1px solid var(--line);
}

.confirm-head__title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
  margin-bottom: 8px;
}

.confirm-head__desc {
  font-size: clamp(12.5px, 1.05vw, 14px);
  line-height: 1.85;
  color: var(--sub);
}

/* 確認テーブル */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: clamp(24px, 3.2vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}

.confirm-table tr {
  border-bottom: 1px solid var(--line);
}

.confirm-table tr:last-child {
  border-bottom: none;
}

.confirm-table th {
  width: 220px;
  padding: 16px 20px;
  background: #F8FAFC;
  font-size: clamp(12px, 1vw, 13.5px);
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  vertical-align: top;
  border-right: 1px solid var(--line);
  letter-spacing: .03em;
}

.confirm-table td {
  padding: 16px 20px;
  font-size: clamp(13px, 1.05vw, 14.5px);
  line-height: 1.8;
  color: var(--main);
  vertical-align: top;
}

.confirm-table .confirm-body-text {
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 680px) {
  .confirm-table {
    display: block;
    border: none;
  }

  .confirm-table tbody,
  .confirm-table tr {
    display: block;
  }

  .confirm-table tr {
    border: 1px solid var(--line);
    border-radius: 6px;
    margin-bottom: 12px;
    background: #FFFFFF;
  }

  .confirm-table th {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    background: #F1F5F9;
  }

  .confirm-table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
  }
}

/* アクションボタン群 */
.confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(24px, 3.5vw, 36px);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: clamp(52px, 4.2vw, 60px);
  padding-inline: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #FFFFFF;
  color: var(--sub);
  font-size: clamp(13px, 1.05vw, 14.5px);
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .28s var(--ease);
}

.btn-back svg {
  width: 18px;
  height: 18px;
  transition: transform .28s var(--ease);
}

.btn-back:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #F8FAFC;
}

.btn-back:hover svg {
  transform: translateX(-3px);
}

.confirm-actions .send {
  margin-top: 0;
  flex: 0 0 auto;
  min-width: clamp(200px, 22vw, 260px);
}

.btn-submit.is-loading {
  opacity: .75;
  pointer-events: none;
  cursor: wait;
}

@media (max-width: 540px) {
  .confirm-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .btn-back,
  .confirm-actions .send {
    width: 100%;
  }
}

/* エラーメッセージ */
.fm-error-msg {
  padding: 14px 18px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  color: #DC2626;
  font-size: clamp(12.5px, 1vw, 13.5px);
  line-height: 1.7;
  margin-block: 18px;
}

/* 完了画面 (サンクス画面) */
.fm-view--thanks {
  padding: clamp(30px, 5vw, 60px) clamp(10px, 3vw, 30px);
  text-align: center;
}

.thanks-box {
  max-width: 640px;
  margin-inline: auto;
}

.thanks-icon {
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.thanks-icon svg {
  width: clamp(56px, 5.5vw, 72px);
  height: clamp(56px, 5.5vw, 72px);
}

.thanks-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .03em;
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.thanks-lead {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.9;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 12px;
}

.thanks-desc {
  font-size: clamp(13px, 1.05vw, 14.5px);
  line-height: 1.85;
  color: var(--sub);
  margin-bottom: clamp(24px, 3vw, 32px);
}

.thanks-note {
  background: #F8FAFC;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: left;
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.thanks-note p {
  font-size: clamp(11.5px, .92vw, 13px);
  line-height: 1.8;
  color: var(--sub);
  margin: 0;
}

.thanks-action {
  display: flex;
  justify-content: center;
}

.thanks-action .pill {
  height: 44px;
  padding-inline: 28px;
  font-size: clamp(13px, 1.05vw, 14.5px);
}