/* 無料相談・お問い合わせ（/contact/）（2026-11-15 本人）
   形はベイジのお問い合わせ（左に説明、右に灰色の箱の中のフォーム。下の切り取り線は付けない）。
   ステップの表しは LANY（「1/3」の字と、角の丸い太い進み具合の棒）。最大1000px（ほかの段と同じ左右の端）。
   字の大きさは文字の7役割（style.css の --t-*）から読む */
.ct { padding: 64px 50px 120px; background: var(--white); }
.ct-inner { max-width: var(--content-w); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 56px; align-items: start; }
.ct-info { position: sticky; top: 32px; }
.ct-title { font-size: var(--t-h2); font-weight: 700; line-height: 1.5; }
.ct-text { margin-top: 24px; font-size: var(--t-body); line-height: var(--lh-body); }
.ct-note { margin-top: 12px; font-size: var(--t-body); line-height: var(--lh-body); color: var(--text-sub); }
.ct-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (hover: hover) { .ct-link:hover { text-decoration-thickness: 2px; } }

/* 右の灰色の箱 */
.ct-form { background: var(--fv-bg); padding: 40px 44px 48px; }
.ct-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 20px; }
.ct-step[hidden] { display: none; }
.ct-q { padding: 0; margin-bottom: 4px; font-size: var(--t-h3); font-weight: 700; line-height: 1.5; }

/* 進み具合（LANY の形：字「1/4」と、角の丸い 12px の棒。地は薄い灰、進んだ所は黒） */
.ct-progress { margin-bottom: 28px; }
.ct-progress__text { font-size: var(--t-small); font-weight: 500; letter-spacing: .08em; line-height: 1; margin-bottom: 8px; }
.ct-progress__bar { position: relative; height: 12px; border-radius: 12px; background: #d9d9d9; overflow: hidden; }
.ct-progress__fill { position: absolute; inset: 0 auto 0 0; width: 25%; border-radius: 12px; background: var(--ink); transition: width .3s ease; }

/* 用件のボタン（選ぶとすぐ次へ）。縦に並べ、トップの CTA（ペンの丸のボタン）と同じ形：黒い字・黒い下線・右に黒い丸の矢印。
   黄色のペンの丸は4つ並ぶと散らかるので付けず、乗せた時と選んだ時に、字に黄色のペンの下線を引く
   （2026-11-15 本人「最初の選択ボタンは縦に並べて欲しいな」「選択のボタンのUIはトップのCTAボタンといっしょにするのはどう？」「すべてにペンの丸をつけると散らかるのなら、黄色のペンで下線を引くのはどうだろうか」）。
   下線は、ペンの丸のボタンと同じく右の黒い丸の一番下で切る */
.ct-kinds { display: grid; gap: 8px; }
.ct-kind { position: relative; display: block; cursor: pointer; }
.ct-kind input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-kind__label { --pen-u: var(--t-btn); --pen-icon: calc(var(--pen-u) * 2.444); position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0 0; font-size: var(--pen-u); font-weight: 500; line-height: 1.7; color: var(--ink); }
.ct-kind__label::after { content: ""; position: absolute; left: 0; right: calc(var(--pen-icon) / 2); bottom: 0; height: 1px; background: var(--ink); }
.ct-kind__text { padding: 0 .12em; background: var(--pen) no-repeat left 0 bottom .02em / 0% .48em; transition: background-size .35s cubic-bezier(.45, 0, .55, 1); }
.ct-kind input:checked + .ct-kind__label .ct-kind__text { background-size: 100% .48em; }
.ct-kind input:focus-visible + .ct-kind__label { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) {
  .ct-kind:hover .ct-kind__text { background-size: 100% .48em; }
  .ct-kind:hover .pen-link__icon::before { transform: scale(1); }
}
.ct-kinds.is-bad { outline: 2px solid #c0392b; outline-offset: 6px; }

/* 入力欄（資料請求のフォームと同じ見た目） */
.ct-row { display: grid; gap: 6px; }
.ct-row > span { font-size: 14px; font-weight: 700; color: var(--text); }
.ct-row em, .ct-row i { margin-left: 8px; padding: 1px 6px; font-style: normal; font-size: 11px; font-weight: 700; }
.ct-row em { background: var(--black); color: var(--on-black); }
.ct-row i { border: 1px solid rgba(33, 33, 33, .3); color: var(--text-sub); }
.ct-form input:not([type=radio]), .ct-form select, .ct-form textarea { width: 100%; padding: 0 12px; border: 1px solid rgba(33, 33, 33, .3); border-radius: 0; background: var(--white); font: inherit; font-size: 16px; color: var(--text); }
.ct-form input:not([type=radio]), .ct-form select { height: 48px; }
.ct-form textarea { padding: 12px; line-height: 1.7; resize: vertical; }
.ct-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(33, 33, 33, .72) 50%), linear-gradient(-45deg, transparent 50%, rgba(33, 33, 33, .72) 50%); background-position: right 18px center, right 13px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.ct-form select:invalid { color: rgba(33, 33, 33, .45); }
.ct-form ::placeholder { color: rgba(33, 33, 33, .45); }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.ct-form .is-bad { border-color: #c0392b; outline-color: #c0392b; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-consent { font-size: 13px; line-height: 1.7; color: var(--text-sub); }

/* 戻ると次へ（次へ・送信はペンの丸のボタン） */
.ct-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.ct-nav .pen-link { margin-left: auto; }
.ct-back { flex: none; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--text-sub); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ct-submit:disabled { opacity: .6; cursor: wait; }

/* 打ち合わせ：予約のカレンダー */
.ct-meet { font-size: var(--t-body); line-height: var(--lh-body); }
.ct-calendar { min-height: 160px; display: grid; place-items: center; padding: 24px; background: var(--white); border: 1px solid rgba(33, 33, 33, .15); }
.ct-calendar iframe { width: 100%; min-height: 640px; border: 0; }
.ct-calendar__fallback { font-size: 14px; line-height: 1.8; color: var(--text-sub); text-align: center; }

.ct-err { margin-top: 16px; font-size: 13px; font-weight: 700; color: #c0392b; }
.ct-done { padding: 8px 0; line-height: 1.9; }
.ct-done__title { margin-bottom: 8px; font-size: var(--t-h3); font-weight: 700; }

@media (max-width: 1023px) {
  .ct { padding: 48px 24px 96px; }
}
/* 1000px未満は縦に1列。説明 → フォーム（2026-11-15 本人「横幅が1000pxまでは横並び、それより下は縦に配置しようか」） */
@media (max-width: 999px) {
  .ct-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ct-info { position: static; }
  .ct-form { padding: 28px 20px 36px; }
}

/* 各項目の字の左に手描きのチェック（黄色のペン）を置く。最初は指で触る画面（スマホ・タブレット）だけだった（乗せるが無く、黄色のペンの下線が見えないため）。
   選ぶと、チェックを描き直す（2026-11-15 本人「スマホのときは味気なくなるから、各項目のテキストの左側に手書きでチェックマーク✓入れるのはどう？？」） */
/* パソコンでも出す（2026-11-15 本人「チェックマークはパソコンも表示させてほしいな！」）。パソコンは乗せた時もチェックを描き直す */
.ct-kind__label { justify-content: flex-start; }
.ct-kind__label .pen-link__icon { margin-left: auto; }
.ct-kind__check { display: block; flex: none; width: 22px; height: 22px; overflow: visible; }
.ct-kind__check path { fill: none; stroke: var(--yellow); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ct-kind input:checked + .ct-kind__label .ct-kind__check path { animation: pen-draw .35s cubic-bezier(.45, 0, .55, 1); }
@media (hover: hover) { .ct-kind:hover .ct-kind__check path { animation: pen-draw .35s cubic-bezier(.45, 0, .55, 1); } }

/* 営業お断りの注（2026-11-15 本人「「※営業のご連絡はご遠慮ください。」みたいな注意書きを入れるのはどう？」） */
.ct-kinds-note { margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--text-sub); }

/* このページは、ベイジのお問い合わせのように、ヘッダーのメニュー・右上のボタン・メニューボタンを出さず、ロゴだけにする（入力に集中してもらう）
   （2026-11-15 本人「問い合わせページはベイジみたいにヘッダーメニューやハンバーガーメニューが表示されないようにしようか」） */
.is-contact .gnav, .is-contact .head-cta, .is-contact .sp-menu-btn, .is-contact .sp-menu { display: none !important; }
@media (max-width: 799px) {
  .is-contact .site-header { display: block !important; }
  .is-contact .site-header .wrap { height: 64px; padding-left: 24px; padding-right: 24px; }
}
