@charset "UTF-8";
/*
 * 坂口電熱「製品に関するお問い合わせ」サスケWEBフォーム用レイアウト
 * 読み込み順は saaske_basic_2.css → このファイル。
 * 見た目の元は制作仕様書の source/contact/index.html（Heat 株式会社）。ヘッダー・フッターは仕様書のソースを移植。
 * サスケが出力するフォーム本体（$Contents$）の HTML は変えられないので、フォーム部分の見た目はすべてここで上書きする。
 * 項目タイプを増やしたときは test_form.html（全項目入り）で表示を確認する。
 */

:root {
  --red: #DF022E;
  --red-d: #B1022A;
  --red-pale: #FCEBEE;
  --ink: #1A1A1A;
  --ink-2: #444;
  --ink-3: #777;
  --line: #E5E5E5;
  --line-d: #cfcfcf;
  --white: #fff;
  --bg-2: #F7F7F7;
  --f-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --f-en: "Inter", sans-serif;
  --max: 1440px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --eo: cubic-bezier(.22, .61, .36, 1);
  --hd-h: 110px; /* ヘッダーの下端の高さ。JS が実測値に更新する */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* 中身が短い画面（完了画面など）でもフッターを画面の下端に置く */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 12px; /* 画面上部の赤い線の高さ */
  background: var(--white);
  font-family: var(--f-sans);
  font-size: 16.2px;
  line-height: 1.85;
  letter-spacing: .04em;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-break: strict;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 56px;
}

@media (max-width: 1100px) {
  .inner {
    padding: 0 32px;
  }
}

@media (max-width: 700px) {
  .inner {
    padding: 0 20px;
  }
}

/* スキップリンク：キーボード操作時だけ見える */
.skip {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--red);
  font-size: 15.1px;
  font-weight: 700;
  color: var(--white);
}

.skip:focus {
  left: 0;
}

/* 画面最上部の赤い細い線（サイト共通・告知バーではない） */
.topline {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: 12px;
  background: var(--red);
}

/* ==========================================================
   ヘッダー
   ========================================================== */
.header {
  position: fixed;
  top: 12px;
  right: 0;
  left: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}

.header.shrink {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.header .header_body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 56px;
}

.header .header_logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.header .header_logo .header_logo-img {
  width: auto;
  max-width: none;
  height: 46px;
}

.header .header_burger {
  display: none;
}

.header .header_nav {
  display: flex;
  align-items: center;
}

.header .nav_link {
  position: relative;
  padding: 10px 18px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  transition: color .2s;
}

.header .nav_link:hover {
  color: var(--red);
}

.header .nav_link.active {
  color: var(--red);
}

.header .nav_link.active::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  background: var(--red);
}

/* 「お問い合わせ」の赤い丸ボタン */
.header .nav_link.-cta {
  margin-left: 8px;
  padding: 10px 22px;
  background: var(--red);
  border-radius: 100vmax;
  font-size: 16.5px;
  color: var(--white);
  transition: background .2s;
}

.header .nav_link.-cta:hover {
  background: var(--red-d);
  color: var(--white);
}

/* 「お問い合わせ」の横の EN／CH（英語サイト・中国語サイト。別タブで開く） */
.header .nav_langs {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: 8px;
}

.header .nav_langs .lang_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  background: var(--white);
  border: 1px solid var(--line-d);
  border-radius: 100vmax;
  font-size: clamp(11px, calc(1.5vw - 5px), 13px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}

.header .nav_langs .lang_link:hover {
  border-color: var(--red);
  color: var(--red);
}

/* サブメニュー（901px 以上）。マウスを乗せると下に開く */
.header .nav_item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header .nav_item .nav_drop {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 210;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .22s, transform .22s, visibility .22s;
}

.header .nav_item:hover .nav_drop,
.header .nav_item:focus-within .nav_drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header .nav_drop .drop_list {
  display: flex;
  flex-direction: column;
  min-width: 236px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .25);
}

.header .drop_list a {
  position: relative;
  padding: 9px 10px 9px 24px;
  border-radius: var(--r-sm);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.header .drop_list a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  width: 6px;
  height: 1.5px;
  background: var(--red);
  transform: translateY(-50%);
}

.header .drop_list a:hover {
  background: var(--bg-2);
  color: var(--red);
}

.header .nav_caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  vertical-align: 3px;
  transform: rotate(45deg);
  transition: transform .22s;
}

.header .nav_item:hover .nav_caret,
.header .nav_item:focus-within .nav_caret {
  vertical-align: 0;
  transform: rotate(225deg);
}

/* メニューが 1 行に収まるよう、画面幅に合わせて文字サイズと余白を変える */
@media (min-width: 901px) and (max-width: 1180px) {
  .header .header_body {
    padding-right: 28px;
    padding-left: 28px;
  }

  .header .nav_link {
    letter-spacing: .02em;
  }
}

@media (min-width: 901px) {
  .header .nav_link {
    padding-right: clamp(8px, 1.1vw, 18px);
    padding-left: clamp(8px, 1.1vw, 18px);
    font-size: clamp(12.5px, calc(2.1vw - 9px), 15.5px);
    white-space: nowrap;
  }

  .header .nav_link.active::after {
    right: clamp(8px, 1.1vw, 18px);
    left: clamp(8px, 1.1vw, 18px);
  }

  .header .nav_link.-cta {
    padding-right: clamp(12px, 1.4vw, 22px);
    padding-left: clamp(12px, 1.4vw, 22px);
    font-size: clamp(12px, calc(1.9vw - 8px), 14px);
  }
}

/* 901〜1023px はメニューが横いっぱいになるので、左右の余白を詰めて 1 行に収める */
@media (min-width: 901px) and (max-width: 1023px) {
  .header .nav_link {
    padding-right: 5px;
    padding-left: 5px;
  }

  .header .nav_link.active::after {
    right: 5px;
    left: 5px;
  }

  .header .nav_link.-cta {
    margin-left: 4px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .header .nav_langs {
    gap: 3px;
    margin-left: 4px;
  }

  .header .nav_langs .lang_link {
    padding: 7px 8px;
    font-size: 11px;
  }
}

@media (min-width: 901px) and (max-width: 960px) {
  .header .nav_link {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 12px;
  }

  .header .nav_link.active::after {
    right: 3px;
    left: 3px;
  }
}

/* ハンバーガーメニュー（900px 以下） */
@media (max-width: 900px) {
  .header {
    z-index: 1002;
    background: var(--white);
    backdrop-filter: none;
  }

  .header .header_body {
    padding: 14px 20px;
  }

  .header .header_burger {
    position: relative;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .header .header_burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }

  .header .header_burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header .header_burger.open span:nth-child(2) {
    opacity: 0;
  }

  .header .header_burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header .header_nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 80%;
    max-width: 330px;
    padding: 96px 28px 40px;
    background: var(--white);
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .35s var(--eo);
  }

  /* 影は開いている間だけ。閉じているとき画面の右端に影がにじんで見えるため */
  .header .header_nav.open {
    box-shadow: -12px 0 44px rgba(0, 0, 0, .18);
    transform: translateX(0);
  }

  .header .nav_item {
    display: contents;
  }

  .header .nav_item .nav_drop,
  .header .nav_caret {
    display: none;
  }

  .header .nav_link {
    display: block;
    padding: 17px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 17.3px;
  }

  .header .nav_link.-cta {
    display: flex;
    justify-content: center;
    margin-top: 22px;
    padding: 10px 22px;
    border-bottom: none;
    font-size: 19px;
  }

  .header .nav_langs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 0;
  }

  .header .nav_langs .lang_link {
    flex: 1;
    padding: 13px 0;
    font-size: 14px;
  }

  .backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
  }

  .backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ==========================================================
   ページ見出し（パンくず・タイトル）
   ========================================================== */
.page_head {
  position: relative;
  padding: calc(var(--hd-h) + 74px) 0 56px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
}

.page_head .page_crumbs {
  position: absolute;
  top: var(--hd-h);
  left: 32px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-en);
  font-size: 11.9px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--ink-3);
}

.page_head .page_crumbs a {
  color: var(--ink-3);
  transition: color .2s;
}

.page_head .page_crumbs a:hover {
  color: var(--red);
}

.page_head .page_crumbs span {
  font-weight: 700;
  color: var(--ink);
}

.page_head .page_crumbs .crumbs_sep {
  color: var(--red);
}

.page_head .page_ttl {
  margin-bottom: 18px;
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--ink);
}

.page_head .page_lead {
  font-size: 16.2px;
  line-height: 2;
  letter-spacing: .05em;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  :root {
    --hd-h: 84px;
  }
}

@media (max-width: 700px) {
  .page_head .page_crumbs {
    right: 20px;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
  }

  .page_head .page_crumbs > * {
    flex-shrink: 0;
  }

  .page_head .page_crumbs > span:last-child {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page_head .page_ttl {
    font-size: 38px;
  }
}

/* ==========================================================
   フォーム枠
   ========================================================== */
.form {
  padding: 80px 0 120px;
  background: var(--white);
}

/* 「製品に関するお問い合わせ」（いまのページ＝赤）と②へのボタン（白・赤枠） */
.form .form_switch {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.form .switch_btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--white);
  border: 1px solid var(--red);
  border-radius: 100vmax;
  font-size: 14.2px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s;
}

.form .switch_btn:hover {
  background: var(--red);
  color: var(--white);
}

.form .switch_btn.-current {
  background: var(--red);
  color: var(--white);
  cursor: default;
}

.form .switch_btn .switch_arw {
  transition: transform .25s;
}

.form .switch_btn:hover .switch_arw {
  transform: translateX(4px);
}

@media (max-width: 700px) {
  .form .form_switch {
    flex-direction: column;
  }

  .form .switch_btn {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

.form .form_card {
  padding: 56px 60px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .08);
}

@media (max-width: 900px) {
  .form .form_card {
    padding: 36px 28px;
  }
}

.form .form_head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.form .form_head .form_ttl {
  margin-bottom: 10px;
  font-size: 25.9px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--ink);
}

.form .form_head .form_ttl .form_ttl-em {
  color: var(--red);
}

.form .form_head .form_desc {
  font-size: 15.1px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink-2);
}

/* 説明文は管理画面（公開ページ設定 ヘッダーデザイン）から入れる。空のときは枠ごと消す */
.form .form_head .form_desc:empty {
  display: none;
}

.form .form_head:has(> .form_desc:empty) .form_ttl {
  margin-bottom: 0;
}

.form .form_head .form_desc p {
  margin: 0;
}

@media (max-width: 700px) {
  .form .form_head .form_ttl {
    font-size: clamp(16px, calc((100vw - 104px) / 12.6), 21px);
    line-height: 1.5;
  }
}

/* 公開ページ設定のヘッダーデザイン／フッターデザイン。空のときは枠ごと消す */
.form .form_text:empty {
  display: none;
}

.form .form_text {
  margin-bottom: 24px;
  font-size: 14.6px;
  color: var(--ink-2);
}

/* ==========================================================
   フォーム本体（$Contents$）の上書き
   サスケの出力：article.resp > form > ul.form_list > li.clr > label + div.input
   ========================================================== */
.form_box article.resp ul li.clr {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.form_box article.resp ul li.clr:last-child {
  border-bottom: none;
}

/* 項目名。必須は赤バッジ・任意はグレーバッジ（入力画面のみ） */
.form_box article.resp ul li.clr > label {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: auto;
  padding-top: 14px;
  font-size: 14.6px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  cursor: default;
}

.form_box article.resp ul.form_list li.clr > label::after {
  content: "任意";
  display: inline-block;
  padding: 3px 8px;
  background: var(--bg-2);
  border-radius: 100vmax;
  font-family: var(--f-en);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .1em;
  color: var(--ink-3);
}

.form_box article.resp ul.form_list li.clr > label.required::after {
  content: "必須";
  background: var(--red);
  font-weight: 800;
  color: var(--white);
}

.form_box article.resp ul li.clr .input {
  width: auto;
  min-width: 0;
}

/* 入力欄（1 行テキスト・メール・電話・日付・数値・パスワード）／プルダウン／複数行 */
.form_box article.resp input:where(:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden])),
.form_box article.resp select,
.form_box article.resp textarea {
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-size: 15.7px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--ink);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.form_box article.resp input:where(:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden])):focus,
.form_box article.resp select:focus,
.form_box article.resp textarea:focus {
  background-color: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(223, 2, 46, .08);
  outline: none;
}

.form_box article.resp textarea {
  min-height: 160px;
}

.form_box article.resp select {
  padding-right: 46px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23DF022E' stroke-width='2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  -webkit-appearance: none;
  appearance: none;
}

/* 郵便番号（〒 のあとに入力欄が続く） */
.form_box article.resp input[size="10"] {
  width: 200px;
  max-width: calc(100% - 2em);
}

/* 部品が複数並ぶ項目は 1 行に並べる（収まらない幅では自然に折り返す）
   ・郵便番号 2 欄 ／ 電話番号 3 欄 ／ E-mail の @ の前後（入力欄が兄弟で並ぶ）
   ・生年月日 ／ 日時（入力欄 + カレンダーの画像 + 時・分のプルダウン）
   ・住所セットの 〒 + 入力欄 + 住所変換ボタン */
.form_box article.resp .input > input[type="text"]:not([size="10"]):has(~ input[type="text"]),
.form_box article.resp .input > input[type="text"]:not([size="10"]) ~ input[type="text"],
.form_box article.resp .input > input.hasDatepicker,
.form_box article.resp .input > input:not([size="10"]):has(~ img.ui-datepicker-trigger),
.form_box article.resp .input > p > input[type="text"]:has(~ input[type="button"]),
.form_box article.resp .input > input ~ select,
.form_box article.resp .input > select:has(~ select) {
  width: auto;
  max-width: 100%;
  vertical-align: middle;
}

.form_box article.resp .input > img.ui-datepicker-trigger {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  cursor: pointer;
}

/* スマホ幅：固定幅だと 1 行に収まらないので、入力欄を縮めて 1 行に並べる */
@media (max-width: 700px) {
  .form_box article.resp .input:has(> input[type="text"] ~ input[type="text"]),
  .form_box article.resp .input:has(> input ~ select),
  .form_box article.resp .input:has(> img.ui-datepicker-trigger) {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }

  .form_box article.resp .input:has(> input[type="text"] ~ input[type="text"]) > p,
  .form_box article.resp .input:has(> input ~ select) > p,
  .form_box article.resp .input:has(> img.ui-datepicker-trigger) > p {
    flex: 0 0 100%;
  }

  .form_box article.resp .input:has(> input[type="text"] ~ input[type="text"]) > input[type="text"],
  .form_box article.resp .input:has(> input ~ select) > input[type="text"],
  .form_box article.resp .input:has(> img.ui-datepicker-trigger) > input[type="text"],
  .form_box article.resp .input:has(> input ~ select) > select {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  .form_box article.resp .input:has(> input ~ select) > select {
    padding-right: 28px;
    background-position: right 10px center;
  }

  .form_box article.resp .input:has(> input[type="text"] ~ input[type="text"]) > input[size="40"] {
    flex-grow: 2;
  }

  .form_box article.resp .input:has(> img.ui-datepicker-trigger) > img.ui-datepicker-trigger {
    flex: 0 0 auto;
    margin-left: 0;
  }
}

/* 住所セット（サスケの 1 項目：〒 + 住所 + ビル・建物名）。〒の入力欄は 200px、各行の見出しは姓・名と同じ書式にする */
.form_box article.resp .input > p > input[name$="-pn"] {
  width: 200px;
  max-width: calc(100% - 2em);
  vertical-align: middle;
}

/* 〒 + 入力欄の行：参考サイトと同じ（〒は 15.7px 太字、入力欄との間 10px） */
.form_box article.resp .input > p:not(.f_comt):not(.f_comb):has(> input[name$="-pn"]) {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15.7px;
}

.form_box article.resp .input > p:not(.f_comt):not(.f_comb) {
  font-size: 13.6px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-3);
}

.form_box article.resp .input > input[type="number"] {
  margin-right: 6px;
  vertical-align: middle;
}

/* 住所変換ボタン */
.form_box article.resp .input input[type="button"] {
  margin-left: 10px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--red);
  border-radius: 100vmax;
  font-family: var(--f-sans);
  font-size: 13.6px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  vertical-align: middle;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.form_box article.resp .input input[type="button"]:hover {
  background: var(--red);
  color: var(--white);
}

/* 住所セット：〒の行と、都道府県・市区町村などの行の間 */
.form_box article.resp .input > p:not(.f_comt):not(.f_comb) + p:not(.f_comb) {
  margin-top: 12px;
}

/* 項目の上下の注記（項目設定の「上コメント／下コメント」）。「※ 複数選択できます」など */
.form_box article.resp ul li.clr .f_comt,
.form_box article.resp ul li.clr .f_comb {
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-3);
}

.form_box article.resp ul li.clr .f_comt {
  margin-bottom: 8px;
}

.form_box article.resp ul li.clr .f_comb {
  margin-top: 8px;
}

.form_box article.resp ul li.clr .f_comt:empty,
.form_box article.resp ul li.clr .f_comb:empty {
  display: none;
}

/* 入力エラー（「確認画面へ」で戻ったとき、各項目の先頭に <em> で出る）。
   項目の先頭で 1 行を使い、薄い赤の背景とアイコンで目立たせる。
   チェックボックスの行（flex）・姓名の行（grid）でも、他の部品の横に回り込まず、先頭で 1 行を取る */
.form_box article.resp ul li.clr .input > em {
  position: relative;
  display: block;
  flex: 0 0 100%;
  grid-column: 1 / -1;
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 9px 14px 9px 40px;
  background: var(--red-pale);
  border-radius: var(--r-sm);
  font-size: 13.6px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--red);
}

.form_box article.resp ul li.clr .input > em::before {
  content: "!";
  position: absolute;
  top: 50%;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background: var(--red);
  border-radius: 50%;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.form_box article.resp ul li.clr .input > em br {
  display: none;
}

/* 姓名分割（姓／名、セイ／メイ）は 2 欄で横に並べる */
.form_box article.resp ul li.clr .input:has(> span) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 14px;
}

.form_box article.resp ul li.clr .input:has(> span) > span {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  font-size: 13.6px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-3);
  white-space: nowrap;
}

/* 姓名分割にサスケが標準で出すプレースホルダー（「姓」「せい」など）は、左の見出しと重複するので見せない。
   項目名ではなく HTML の構造で指定しているので、項目名を変えても効く */
.form_box article.resp ul li.clr .input:has(> span) > span input::placeholder {
  color: transparent;
}

/* 入力欄の幅は固定せず、ラベルの残りに合わせて伸縮させる（flex-basis 0 で input 本来の幅を持ち込まない） */
.form_box article.resp ul li.clr .input:has(> span) > span input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.form_box article.resp ul li.clr .input:has(> span) > .f_comt,
.form_box article.resp ul li.clr .input:has(> span) > .f_comb {
  grid-column: 1 / -1;
}

/* チェックボックス・ラジオボタンは角丸のチップ型。選ぶと赤枠になる */
.form_box article.resp ul li.clr .input:has(> label) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.form_box article.resp ul li.clr .input > label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 10px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14.6px;
  letter-spacing: .02em;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.form_box article.resp ul li.clr .input > label:has(input:checked) {
  background: var(--white);
  border-color: var(--red);
  font-weight: 700;
  color: var(--ink);
}

.form_box article.resp ul li.clr .input > label input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--red);
}

.form_box article.resp ul li.clr .input > br {
  display: none;
}

/* 注記（「※ 複数選択できます」など）はチップと同じ行に回り込ませず、1 行を使って改行する。
   上下の間隔は親の gap（10px）に任せる */
.form_box article.resp ul li.clr .input:has(> label) > .f_comt,
.form_box article.resp ul li.clr .input:has(> label) > .f_comb {
  flex: 0 0 100%;
  margin: 0;
}

/* ラベル行（見出しとして使う項目） */
.form_box article.resp ul li.label {
  display: block;
  margin: 32px 0 0;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--red);
  font-weight: 800;
  color: var(--ink);
}

.form_box article.resp ul li.label + .label_message {
  margin: 12px 0 8px;
  font-size: 14.6px;
  color: var(--ink-2);
}

/* 同意（チェックボックス 1 つの項目）。saaske_contact.js が li に agree を付ける */
.form_box article.resp ul li.clr.agree {
  display: block;
  margin-top: 32px;
  padding: 22px;
  background: var(--bg-2);
  border-bottom: none;
  border-radius: var(--r);
}

.form_box article.resp ul li.clr.agree > label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form_box article.resp ul li.clr.agree .input > label {
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  background: none;
  border: none;
  font-size: 14.6px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .02em;
  color: var(--ink-2);
}

.form_box article.resp ul li.clr.agree .input > label input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.form_box article.resp ul li.clr.agree .input > label a {
  color: var(--red);
  text-decoration: underline;
}

/* ご住所（〒・住所・建物名の 3 項目を 1 行にまとめる。saaske_contact.js が addr_stack を作る） */
.form_box article.resp ul li.clr.addr-sub {
  display: none;
}

.form_box article.resp .addr_stack {
  display: grid;
  gap: 12px;
}

.form_box article.resp .addr_stack .addr_zip {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15.7px;
  font-weight: 700;
  color: var(--ink-3);
}

/* サスケの「個人情報保護方針」枠。管理画面（公開ページ設定）に入れた HTML を、
   「□ プライバシーポリシーに同意のうえ、上記内容で送信します。」の 1 行に見せる。
   ・見出しとスクロール枠は使わない（入れた HTML をそのまま文として出す）
   ・チェックボックスの横の固定文言「個人情報保護方針に同意する」は隠す（入れた HTML の文が代わりに出る） */
.form_box article.resp .policy {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: auto;
  margin: 32px 0 0;
  padding: 22px;
  background: var(--bg-2);
  border-radius: var(--r);
}

.form_box article.resp .policy h2 {
  display: none;
}

.form_box article.resp .policy .policy_html {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  font-size: 14.6px;
  line-height: 1.85;
  letter-spacing: .02em;
  color: var(--ink-2);
  overflow: visible;
  cursor: pointer;
}

.form_box article.resp .policy .policy_html a {
  color: var(--red);
  text-decoration: underline;
}

.form_box article.resp .policy .policy_check {
  flex: 0 0 20px;
  order: -1;
  width: 20px;
  margin: 0;
  overflow: hidden;
}

.form_box article.resp .policy .policy_check label {
  display: block;
  width: 20px;
  font-size: 0;
  line-height: 0;
  white-space: nowrap;
  cursor: pointer;
}

.form_box article.resp .policy .policy_check input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--red);
}

/* 送信ボタン */
.form_box article.resp .submit_btn input {
  display: block;
  width: auto;
  min-width: 274px;
  max-width: 100%;
  height: 64px;
  margin: 32px auto 0;
  padding: 0 60px;
  background-color: var(--red);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'><path d='M1 6h13M9 1l5 5-5 5' stroke='white' stroke-width='2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 28px center;
  border: none;
  border-radius: 100vmax;
  box-shadow: 0 14px 28px -10px rgba(223, 2, 46, .4);
  font-family: var(--f-sans);
  font-size: 16.2px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--white);
  cursor: pointer;
  transition: background-color .25s, transform .25s;
}

.form_box article.resp .submit_btn input:hover {
  background-color: var(--red-d);
  transform: translateY(-2px);
}

/* ==========================================================
   確認画面・完了画面
   ========================================================== */
.form_box article.resp form {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  justify-content: center;
}

.form_box article.resp form > * {
  flex: 0 0 100%;
  min-width: 0;
}

.form_box article.resp form > .submit_btn.span_3,
.form_box article.resp form > .submit_btn.span_9 {
  flex: 0 0 auto;
  width: auto;
}

/* 確認画面：入力内容の一覧（項目名＋入力値） */
.form_box article.resp ul.check_page li.clr .input {
  padding-top: 14px;
  font-size: 15.7px;
  line-height: 1.9;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* 確認画面の「戻る」は白地・赤枠、「送信」は赤 */
.form_box article.resp .submit_btn.span_3 input {
  margin: 32px auto 0 !important; /* saaske_basic_2.css 側が !important で余白を指定しているため */
  background-color: var(--white);
  background-image: none;
  border: 1px solid var(--red);
  box-shadow: none;
  color: var(--ink);
}

.form_box article.resp .submit_btn.span_3 input:hover {
  background-color: var(--red-pale);
}

/* 送信を押すとサスケが全ボタンを disabled にする（二重送信の防止）。その間は灰色にする */
.form_box article.resp .submit_btn input:disabled,
.form_box article.resp .submit_btn.span_3 input:disabled {
  background-color: #ccc;
  border-color: #ccc;
  box-shadow: none;
  transform: none;
  cursor: default;
}

/* 完了画面 */
.form_box article.resp .msgbox {
  text-align: center;
}

.form_box article.resp .msgbox h2 {
  margin-bottom: 16px;
  font-size: 25.9px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--ink);
}

.form_box article.resp .msgbox .message {
  font-size: 15.7px;
  line-height: 2;
  color: var(--ink-2);
}

.form_box article.resp .span_2 {
  display: none;
}

@media (max-width: 900px) {
  .form_box article.resp ul li.clr {
    display: block;
    padding: 18px 0;
  }

  .form_box article.resp ul li.clr > label {
    padding-top: 0;
    margin-bottom: 10px;
  }

  .form_box article.resp ul.check_page li.clr .input {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .form_box article.resp ul li.clr .input:has(> span) {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .form_box article.resp ul li.clr .input:has(> span) > span + span {
    margin-top: 10px;
  }

  .form_box article.resp .submit_btn input {
    min-width: 0;
    width: 100%;
    padding-right: 52px;
    padding-left: 28px;
  }

  .form_box article.resp form > .submit_btn.span_3,
  .form_box article.resp form > .submit_btn.span_9 {
    flex: 0 0 100%;
  }

  .form_box article.resp .msgbox h2 {
    font-size: 21px;
  }
}

/* ==========================================================
   「お気軽にご相談ください」の帯
   ========================================================== */
.cta {
  background: var(--ink);
  text-align: center;
  color: var(--white);
}

.cta .inner {
  padding-top: 56px;
  padding-bottom: 56px;
}

.cta .cta_ttl {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 900;
  letter-spacing: .04em;
}

.cta .cta_txt {
  margin-bottom: 32px;
  font-size: 15.1px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .7);
}

.cta .cta_btn {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 100vmax;
  font-size: 15.1px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: background .25s, color .25s;
}

.cta .cta_btn::after {
  content: "→";
  transition: transform .25s;
}

.cta .cta_btn:hover {
  background: var(--white);
  color: var(--ink);
}

.cta .cta_btn:hover::after {
  transform: translateX(4px);
}

/* ==========================================================
   フッター
   ========================================================== */
.footer {
  background: var(--ink);
  color: var(--white);
}

.footer .inner {
  padding-top: 64px;
  padding-bottom: 26px;
}

.footer .footer_top {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.footer .footer_brand {
  margin-bottom: 36px;
}

.footer .footer_logo {
  display: inline-flex;
  align-items: center;
}

.footer .footer_logo .footer_logo-img {
  width: auto;
  height: 56px;
}

.footer .footer_nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 32px;
  align-content: start;
}

.footer .footer_nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  font-size: 16.2px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--white);
  white-space: nowrap;
  transition: padding-left .25s, border-color .25s, opacity .25s;
}

.footer .footer_nav a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.footer .footer_nav a:hover {
  padding-left: 6px;
  border-bottom-color: var(--white);
  opacity: .88;
}

.footer .footer_bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}

.footer .footer_links {
  display: flex;
  gap: 24px;
}

.footer .footer_links a {
  font-size: 11.9px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .7);
  transition: color .2s;
}

.footer .footer_links a:hover {
  color: var(--white);
}

.footer .footer_copy {
  font-family: var(--f-en);
  font-size: 11.9px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .7);
}

@media (max-width: 900px) {
  .footer .footer_nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
  }
}

@media (max-width: 700px) {
  .footer .footer_bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 13インチ級のノートPC（高さ940px以下）：参考サイトと同じく見出し・フォームを詰める */
@media (min-width: 1000px) and (max-height: 940px) {
  .page_head {
    padding-bottom: 40px;
  }

  .page_head .page_ttl {
    margin-bottom: 14px;
    font-size: clamp(30px, 3.4vw, 46px);
  }

  .page_head .page_lead {
    font-size: 15.1px;
    line-height: 1.85;
  }

  .form .form_card {
    padding: 36px 44px;
  }

  .form_box article.resp ul li.clr {
    gap: 24px;
    padding: 12px 0;
  }

  .form_box article.resp input:where(:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden])),
  .form_box article.resp select,
  .form_box article.resp textarea {
    padding: 11px 16px;
    font-size: 14.6px;
  }

  .form_box article.resp select {
    padding-right: 46px;
  }

  .form_box article.resp textarea {
    min-height: 120px;
  }

  .form_box article.resp ul li.clr .input:has(> label) {
    gap: 6px;
  }

  /* gap が 6px になる分、注記との間隔を足して 8px に揃える */
  .form_box article.resp ul li.clr .input:has(> label) > .f_comt {
    margin-bottom: 2px;
  }

  .form_box article.resp ul li.clr .input:has(> label) > .f_comb {
    margin-top: 2px;
  }

  .cta .inner {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

/* ==========================================================
   スクロールの進み具合の線・トップへ戻るボタン
   ========================================================== */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width .1s;
}

.bktop {
  position: fixed;
  right: 32px;
  bottom: 36px;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  box-shadow: 0 12px 28px -8px rgba(223, 2, 46, .45);
  font-size: 21.6px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .35s, transform .35s var(--eo), background .25s;
}

.bktop.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.bktop:hover {
  background: var(--red-d);
}

/* OS の「視差効果を減らす」設定に配慮 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
