@charset "UTF-8";
/* ==========================================================================
   formrun コード型フォーム（LP共通部品）  inc/parts/formrun-code-form.php
   デザイン案A：資料が見えるフォーム（LP右サイドバー 幅264px・高さ860px に収める）
   クラス名はすべて nwf- 接頭辞（共通CSSの .btn / .arrow / .str 等と衝突させない）
   ========================================================================== */
.nwf {
  --nwf-ink: #0d1b45;
  --nwf-ink2: #3a4668;
  --nwf-mute: #5f6987;
  --nwf-line: #e3e8f2;
  --nwf-blue: #1b76df;
  --nwf-ok: #16a34a;
  --nwf-error: #d02f35;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--nwf-ink);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  container-type: inline-size; /* 幅の狭いサイドバー（listing-advertising 等）用の @container で使う */
}
.nwf *,
.nwf *::before,
.nwf *::after {
  box-sizing: border-box;
}

/* ---- 資料（表紙・資料名・ページ数） ---- */
.nwf .nwf-doc {
  margin: 0;
  padding: 10px 10px 0;
}
.nwf .nwf-doc__media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 20px -10px rgba(13, 40, 110, 0.5);
}
.nwf .nwf-doc__cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: var(--nwf-cover-max, none); /* サイドバーに収まらないLPは js/parts/formrun-code-form.js が詰める */
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}
.nwf .nwf-doc__title {
  margin: 7px 0 0;
  padding: 0;
  color: var(--nwf-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}
.nwf .nwf-doc__badge {
  display: inline-block;
  margin: 0;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(27, 118, 223, 0.1);
  color: #155fb5;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.5;
  vertical-align: 1px;
  white-space: nowrap;
}

/* ---- フォーム ---- */
.nwf .nwf-form {
  margin: 0;
  padding: 8px 10px 10px;
}
.nwf .nwf-field {
  margin: 0 0 5px;
  padding: 0;
}
.nwf .nwf-control {
  position: relative;
}
/* 入力欄（ラベルは欄の中。入力・フォーカスで上に小さく移動する） */
.nwf .nwf-input {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 15px 32px 1px 12px;
  border: 1.5px solid var(--nwf-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  color: var(--nwf-ink);
  font-family: inherit;
  font-size: 16px; /* 16px 以上：iOS のフォーカス時ズームを防ぐ */
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.nwf .nwf-textarea {
  height: auto;
  min-height: 112px;
  padding-top: 24px;
  resize: vertical;
}
.nwf .nwf-label {
  position: absolute;
  top: 12px;
  left: 13px;
  margin: 0;
  padding: 0;
  color: var(--nwf-mute);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  pointer-events: none;
  transition: top 0.18s, font-size 0.18s, color 0.18s;
}
.nwf .nwf-input:focus,
.nwf .nwf-input:not(:placeholder-shown) {
  border-color: var(--nwf-blue);
  box-shadow: 0 0 0 4px rgba(27, 118, 223, 0.12);
}
.nwf .nwf-input:not(:focus):not(:placeholder-shown) {
  box-shadow: none;
}
.nwf .nwf-input:focus + .nwf-label,
.nwf .nwf-input:not(:placeholder-shown) + .nwf-label {
  top: 4px;
  color: var(--nwf-blue);
  font-size: 10.5px;
}
/* 入力済みの欄に ✓ */
.nwf .nwf-check {
  position: absolute;
  top: 12px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--nwf-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px 9px no-repeat;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.nwf .nwf-input:valid:not(:placeholder-shown) ~ .nwf-check {
  opacity: 1;
  transform: none;
}

/* ---- 予算（ラジオボタンをチップの見た目に） ---- */
.nwf .nwf-chips {
  min-width: 0;
  margin: 2px 0 8px;
  padding: 0;
  border: 0;
}
.nwf .nwf-chips__label {
  display: block;
  float: left; /* legend を通常の行として扱う */
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  color: var(--nwf-ink2);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.4;
}
.nwf .nwf-chips__list {
  display: grid;
  clear: both;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.nwf .nwf-chip {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.nwf .nwf-chip__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.nwf .nwf-chip__text {
  display: block;
  padding: 3px 2px;
  border: 1.5px solid var(--nwf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nwf-ink2);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.nwf .nwf-chip:hover .nwf-chip__text {
  border-color: #b9c4d8;
}
.nwf .nwf-chip__input:checked + .nwf-chip__text {
  border-color: var(--nwf-blue);
  background: rgba(27, 118, 223, 0.08);
  color: #155fb5;
}
.nwf .nwf-chip__input:focus-visible + .nwf-chip__text {
  outline: 2px solid var(--nwf-blue);
  outline-offset: 2px;
}

/* エラー（formrun.js が formrun-has-error / formrun-system-show を付ける） */
.nwf .nwf-error {
  display: none;
  margin: 4px 0 0;
  color: var(--nwf-error);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}
.nwf .nwf-error.formrun-system-show {
  display: block;
}
.nwf .nwf-field.formrun-has-error .nwf-input {
  border-color: var(--nwf-error);
  background-color: #fff8f8;
  box-shadow: none;
}
.nwf .nwf-field.formrun-has-error .nwf-check {
  opacity: 0;
}
.nwf .nwf-chips.formrun-has-error .nwf-chip__text {
  border-color: #f0b4b6;
}

/* formrun スパム対策 honeypot（画面上は不可視） */
.nwf ._formrun_gotcha {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- 送信 ---- */
.nwf .nwf-submit {
  margin: 0;
  padding: 0;
}
.nwf .nwf-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #1f6feb;
}
.nwf .nwf-time svg {
  flex: none;
  width: 14px !important;
  height: 14px !important;
}
/* 固定CTAの見出しに「＼30秒で入力完了／」があるLPでは、フォーム内の同じ表示を出さない（二重表示防止） */
.p-fix-cta:has(.str, .str03, .p-fix-cta__subject__minutes) .nwf .nwf-time {
  display: none;
}
.nwf .nwf-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #ff6b5b 0%, #ff9a85 100%);
  box-shadow: 0 16px 30px -14px rgba(255, 107, 91, 0.75);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nwf .nwf-button::before,
.nwf .nwf-button::after {
  content: none;
}
.nwf .nwf-button:hover {
  box-shadow: 0 18px 32px -14px rgba(255, 107, 91, 0.85);
  transform: translateY(-2px);
}
.nwf .nwf-button:focus-visible {
  outline: 3px solid rgba(255, 107, 91, 0.45);
  outline-offset: 3px;
}
.nwf .nwf-button[disabled] {
  cursor: wait;
  transform: none;
}
.nwf .nwf-note {
  margin: 6px 0 0;
  color: var(--nwf-mute);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0;
  text-align: center;
}
.nwf .nwf-note a {
  color: var(--nwf-ink2);
  text-decoration: underline;
}
.nwf .nwf-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 4px 0 0;
  color: var(--nwf-ink2);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}
.nwf .nwf-trust b {
  color: var(--nwf-ink);
  font-size: 15px;
  font-weight: 900;
}

/* ---- 幅が狭い枠（フォーム幅 230px 未満） ---- */
@container (max-width: 229px) {
  .nwf .nwf-chip__text {
    padding: 3px 0;
    font-size: 10px;
  }
  .nwf .nwf-button {
    font-size: 14px;
    letter-spacing: 0;
  }
}

/* ---- LP右サイドバー（幅264px） ---- */
/* 余白なしで画面端に接するLP（whitehat / writing 等）は左右8px空けてカードにする */
.nl-sidebar .nwf {
  width: auto;
  margin: 0 8px;
}
/* 灰色の枠（p-fix-cta__form__wrapper）に左右余白があるLPはそのまま */
.nl-sidebar .p-fix-cta__form__wrapper .nwf {
  margin: 0;
}

/* ==========================================================================
   幅の広い場所（LPフッターのお問い合わせ欄など）  layout => 'wide'
   ・ラベルは入力欄の上に表示、2列のグリッド
   ・案A（nwf--wide-a）：左に「ご相談の流れ」パネル、右に白いカードのフォーム
   ・案B（nwf--wide-b）：1カラム中央寄せ、「ご相談の流れ」を横並びでフォームの上に
   サイドバー・固定CTA（.nwf--wide が付かない場所）には一切効かない
   ========================================================================== */
.nwf.nwf--wide {
  max-width: 1080px;
  margin: 0 auto 48px;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  container-type: normal;
}
.nwf--wide .nwf-wide {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
/* 安心材料パネル（案A） */
.nwf--wide .nwf-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 32px;
  border-radius: 20px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(80, 160, 255, 0.35) 0%, rgba(80, 160, 255, 0) 60%),
    linear-gradient(160deg, #10306e 0%, #0b1f4d 100%);
  color: #fff;
}
.nwf--wide .nwf-aside__ttl {
  margin: 0 0 22px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.nwf--wide .nwf-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nwf--wide .nwf-step {
  position: relative;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 0 22px;
  list-style: none;
}
.nwf--wide .nwf-step::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 4px;
  left: 16px;
  width: 2px;
  background: rgba(255, 255, 255, 0.22);
}
.nwf--wide .nwf-step:last-child {
  padding-bottom: 0;
}
.nwf--wide .nwf-step:last-child::before {
  content: none;
}
.nwf--wide .nwf-step__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #10306e;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.nwf--wide .nwf-step__txt {
  display: block;
  padding-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}
.nwf--wide .nwf-step__txt b {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}
.nwf--wide .nwf-aside__trust {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
}
.nwf--wide .nwf-aside__trust b {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
}
/* フォームのカード */
.nwf--wide .nwf-card {
  border: 1px solid var(--nwf-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 60px -36px rgba(13, 27, 69, 0.35);
}
.nwf--wide .nwf-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  padding: 32px 32px 28px;
}
.nwf--wide .nwf-form > input[type="hidden"],
.nwf--wide .nwf-form > ._formrun_gotcha {
  grid-column: 1 / -1;
}
.nwf--wide .nwf-field {
  margin: 0;
}
.nwf--wide .nwf-field--message,
.nwf--wide .nwf-chips,
.nwf--wide .nwf-submit {
  grid-column: 1 / -1;
}
/* ラベルを入力欄の上に（入力しても動かさない） */
.nwf--wide .nwf-control {
  display: flex;
  flex-direction: column-reverse;
}
.nwf--wide .nwf-label,
.nwf--wide .nwf-input:focus + .nwf-label,
.nwf--wide .nwf-input:not(:placeholder-shown) + .nwf-label {
  position: static;
  margin: 0 0 7px;
  color: var(--nwf-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}
.nwf--wide .nwf-chips__label::after,
.nwf--wide .nwf-label::after {
  content: "必須";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ffefed;
  color: #d8452f;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  vertical-align: 1px;
}
.nwf--wide .nwf-input {
  height: 52px;
  padding: 0 40px 0 16px;
  border-color: #d9e0ec;
  background: #f7f9fc;
  font-size: 16px;
}
.nwf--wide .nwf-input:focus {
  background: #fff;
}
.nwf--wide .nwf-input:not(:focus):not(:placeholder-shown) {
  background: #fff;
}
.nwf--wide .nwf-textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
}
.nwf--wide .nwf-check {
  top: auto;
  bottom: 18px;
}
/* 予算：3列でコンパクトに */
.nwf--wide .nwf-chips {
  margin: 0;
}
.nwf--wide .nwf-chips__label {
  margin: 0 0 8px;
  color: var(--nwf-ink);
  font-size: 14px;
  font-weight: 800;
}
.nwf--wide .nwf-chips__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.nwf--wide .nwf-chip__text {
  padding: 10px 6px;
  border-color: #d9e0ec;
  border-radius: 10px;
  font-size: 14px;
}
/* 送信 */
.nwf--wide .nwf-submit {
  margin-top: 6px;
}
.nwf--wide .nwf-time {
  font-size: 14px;
}
.nwf--wide .nwf-button {
  height: 60px;
  font-size: 18px;
}
.nwf--wide .nwf-note {
  margin-top: 12px;
  font-size: 12px;
}
.nwf--wide .nwf-trust {
  display: none; /* 実績は左のパネルに表示 */
}
.nwf--wide .nwf-time {
  display: none; /* 「ご相談の流れ」の1番目に表示 */
}

/* カード上部の「かんたん入力」 */
.nwf--wide .nwf-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 22px 32px 0;
  color: var(--nwf-ink2);
  font-size: 14px;
  font-weight: 700;
}
.nwf--wide .nwf-card__chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #155fb5;
  font-size: 12.5px;
  font-weight: 800;
}
.nwf--wide .nwf-form {
  padding-top: 20px;
}
/* 予算の補足 */
.nwf .nwf-chips__hint {
  margin: -2px 0 8px;
  color: var(--nwf-mute);
  font-size: 12.5px;
  line-height: 1.5;
}
/* お問い合わせ内容：ラベル → 記入例ボタン → 入力欄 の順に並べる */
.nwf--wide .nwf-field--message .nwf-control {
  flex-direction: column;
}
.nwf--wide .nwf-field--message .nwf-label { order: 1; }
.nwf--wide .nwf-field--message .nwf-ex { order: 2; }
.nwf--wide .nwf-field--message .nwf-textarea { order: 3; }
.nwf--wide .nwf-field--message .nwf-note-field { order: 4; }
.nwf .nwf-note-field {
  margin: 8px 0 0;
  color: var(--nwf-mute);
  font-size: 12.5px;
  line-height: 1.6;
}
/* カード上部の案内文（/contact など） */
.nwf .nwf-notice {
  margin: 14px 32px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff8e6;
  color: #6b4e00;
  font-size: 13px;
  line-height: 1.7;
}
.nwf--wide .nwf-field--message .nwf-check { display: none; }
.nwf .nwf-ex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
}
.nwf .nwf-ex__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--nwf-blue);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.nwf .nwf-ex__btn::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--nwf-blue);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}
.nwf .nwf-ex__btn::after {
  content: none;
}
.nwf .nwf-ex__btn:focus-visible {
  outline: 2px solid var(--nwf-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.nwf .nwf-ex__count {
  color: var(--nwf-mute);
  font-size: 12.5px;
  font-weight: 700;
}
.nwf .nwf-ex__count.is-on {
  color: var(--nwf-ok);
}
.nwf--wide .nwf-field--message .nwf-textarea {
  min-height: 150px;
  line-height: 1.7;
}
.nwf--wide .nwf-textarea.is-filled {
  animation: nwf-flash 0.9s ease-out;
}
@keyframes nwf-flash {
  0% { box-shadow: 0 0 0 0 rgba(27, 118, 223, 0.45); }
  100% { box-shadow: 0 0 0 10px rgba(27, 118, 223, 0); }
}
/* ボタン近くの安心材料 */
.nwf--wide .nwf-assure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.nwf--wide .nwf-assure li {
  position: relative;
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--nwf-ink2);
  font-size: 13.5px;
  font-weight: 700;
  list-style: none;
}
.nwf--wide .nwf-assure li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--nwf-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.nwf--wide .nwf-input::placeholder {
  color: #9aa4ba;
  font-weight: 500;
  opacity: 1;
}

/* 案B：1カラム中央寄せ。「ご相談の流れ」は横並びでフォームの上に */
.nwf.nwf--wide-b {
  max-width: 820px;
}
.nwf--wide-b .nwf-wide {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.nwf--wide-b .nwf-aside {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--nwf-ink);
}
.nwf--wide-b .nwf-aside__ttl {
  display: none;
}
.nwf--wide-b .nwf-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.nwf--wide-b .nwf-step {
  padding: 14px 14px;
  border: 1px solid var(--nwf-line);
  border-radius: 14px;
  background: #f5f8fd;
}
.nwf--wide-b .nwf-step::before {
  content: none;
}
.nwf--wide-b .nwf-step__num {
  width: 28px;
  height: 28px;
  background: var(--nwf-blue);
  color: #fff;
  font-size: 13px;
}
.nwf--wide-b .nwf-step__txt {
  padding-top: 2px;
  color: var(--nwf-mute);
  font-size: 12.5px;
}
.nwf--wide-b .nwf-step__txt b {
  color: var(--nwf-ink);
  font-size: 15px;
}
.nwf--wide-b .nwf-aside__trust {
  justify-content: center;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
  color: var(--nwf-ink2);
}
.nwf--wide-b .nwf-aside__trust b {
  color: var(--nwf-ink);
  font-size: 26px;
}

/* SP・タブレット：1カラム */
@media (max-width: 900px) {
  .nwf--wide .nwf-wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .nwf--wide .nwf-aside {
    padding: 22px 20px;
  }
  .nwf--wide-b .nwf-aside {
    padding: 0;
  }
  .nwf--wide .nwf-aside__ttl {
    margin-bottom: 14px;
    font-size: 18px;
  }
  .nwf--wide .nwf-step {
    padding-bottom: 12px;
  }
  .nwf--wide .nwf-step__txt b {
    font-size: 15px;
  }
  .nwf--wide .nwf-step__txt {
    font-size: 13px;
  }
  .nwf--wide .nwf-aside__trust {
    margin-top: 14px;
    padding-top: 14px;
  }
  .nwf--wide-b .nwf-aside__trust {
    margin-top: 22px;
    padding-top: 0;
  }
  .nwf--wide .nwf-aside__trust b {
    font-size: 26px;
  }
  .nwf--wide-b .nwf-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .nwf.nwf--wide {
    margin-bottom: 28px;
  }
  .nwf--wide .nwf-card__head {
    padding: 18px 16px 0;
    font-size: 13px;
  }
  .nwf .nwf-notice {
    margin: 12px 16px 0;
    font-size: 12.5px;
  }
  /* SPは「ご相談の流れ」を3つ横並びの見出しだけにして、フォームまでを短く */
  .nwf--wide .nwf-aside {
    padding: 18px 14px 16px;
    border-radius: 16px;
  }
  .nwf--wide .nwf-aside__ttl {
    margin-bottom: 12px;
    font-size: 16px;
    text-align: center;
  }
  .nwf--wide .nwf-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .nwf--wide .nwf-step {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0;
    text-align: center;
  }
  .nwf--wide .nwf-step::before {
    content: none;
  }
  .nwf--wide .nwf-step__num {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  .nwf--wide .nwf-step__txt {
    padding: 0;
    font-size: 0;
  }
  .nwf--wide .nwf-step__txt b {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.4;
  }
  .nwf--wide .nwf-aside__trust {
    justify-content: center;
    margin-top: 14px;
    padding-top: 12px;
    font-size: 12.5px;
  }
  .nwf--wide .nwf-aside__trust b {
    font-size: 24px;
  }
  .nwf--wide-b .nwf-aside {
    padding: 0;
  }
  .nwf--wide-b .nwf-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nwf--wide-b .nwf-step {
    padding: 10px 4px;
  }
  .nwf--wide .nwf-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 22px 16px 20px;
  }
  .nwf--wide .nwf-chips__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nwf--wide .nwf-card {
    border-radius: 16px;
  }
  .nwf--wide .nwf-button {
    height: 56px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nwf .nwf-input,
  .nwf .nwf-label,
  .nwf .nwf-check,
  .nwf .nwf-chip__text,
  .nwf .nwf-button {
    transition: none;
  }
}
