/* KOT 見積もりフォーム（2026-10-05 以降の既定画面）
   テーマ（Snow Monkey）に影響しないよう、すべて .kot-flow の内側に閉じる */
.kot-flow{
  --ink:#14395a; --ink2:#0f2b44; --accent:#d97a12; --paper:#f7f5f1; --surface:#fff;
  --line:#e3ded6; --muted:#6f6a63; --soft:#eef2f6; --hint:#e7eef7;
  --ok:#2f7d55; --okbg:#f1f8f3; --okline:#cfe5d8; --on:#fff;
  font-size:17px; line-height:1.65; color:var(--ink2);
  background:#f3f6f8;
}
.kot-flow *{box-sizing:border-box}
/* テーマが見出しに付ける下線や飾りを、この中だけ打ち消す */
.kot-flow h1,.kot-flow h2,.kot-flow h3,.kot-flow h4{
  border:0!important;padding:0!important;background:none!important;
  text-align:left;letter-spacing:normal}
.kot-flow h1::before,.kot-flow h1::after,.kot-flow h2::before,.kot-flow h2::after,
.kot-flow h3::before,.kot-flow h3::after,.kot-flow h4::before,.kot-flow h4::after{
  content:none!important;display:none!important}
.kot-flow ul,.kot-flow li{list-style:none;margin:0;padding:0;background:none}
.kot-flow p{margin:0 0 12px}
.kot-flow button{font-family:inherit;color:var(--ink2);-webkit-text-fill-color:currentColor}
.kot-flow a{-webkit-text-fill-color:currentColor}
.kf-ribbon{background:var(--ink);color:var(--on);font-size:12px;letter-spacing:.08em;
  text-transform:uppercase;text-align:center;padding:7px 16px}
.kf-shell{max-width:1200px;margin:0 auto;padding:0 20px 64px}
.kot-flow h1{font-size:clamp(25px,4.2vw,34px);line-height:1.2;margin:0 0 22px;text-wrap:balance;color:var(--ink2)}
.kf-lead{margin:-14px 0 24px;color:var(--muted);font-size:15px;max-width:none;min-height:1.6em}

.kf-trip[hidden]{display:none}
.kf-trip{display:flex;gap:8px;overflow-x:auto;padding:16px 0;margin:0 0 26px;border-bottom:1px solid var(--line)}
.kf-slot{flex:1 0 auto;min-width:124px;padding:9px 14px 10px;border-radius:9px;background:var(--surface);
  border:1px solid var(--line);display:flex;flex-direction:column;gap:1px;font:inherit;text-align:left;cursor:pointer}
.kf-slot:hover:not([disabled]){border-color:var(--ink)}
.kf-slot.empty{background:transparent;border-style:dashed}
.kf-slot.now{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.kf-card.sel{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.kf-slot[disabled]{cursor:default;opacity:.7}
.kf-slbl{font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.kf-sval{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}

.kf-topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;
  padding:14px 0;border-bottom:1px solid var(--line);margin-bottom:0}
.kf-topbar>.kf-link:first-child{justify-self:start}
.kf-topbar>.kf-link:last-child{justify-self:end}
.kf-link{background:none;border:0;padding:6px 0;font:inherit;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer}
.kf-link[disabled]{opacity:.35;cursor:not-allowed}
.kf-spacer{display:none}
.kf-stepno{display:flex;align-items:center;gap:0;justify-self:center;flex-wrap:nowrap}
.kf-ph{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.kf-ph i{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--muted);
  border:1px solid var(--line);display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;font-style:normal}
.kf-ph b{font-size:14px;font-weight:600;color:var(--ink2)}
.kf-ph.on i{background:var(--accent);border-color:var(--accent);color:#fff}
.kf-ph.done i{background:var(--ok);border-color:var(--ok);color:#fff}
.kf-phsep{flex:0 0 28px;height:2px;background:var(--line);margin:0 8px}
.kf-slot{position:relative}
.kf-slx{position:absolute;top:2px;right:2px;width:26px;height:26px;display:flex;
  align-items:center;justify-content:center;border-radius:50%;color:var(--muted);
  font-size:12px;line-height:1;cursor:pointer}
.kf-slx:hover{background:var(--soft);color:var(--ink2)}
@media(max-width:620px){
  .kf-panel>h3{gap:6px}
  .kf-stop{gap:6px}
}
@media(max-width:560px){
  .kf-ph b{display:none}
  .kf-phsep{flex-basis:20px;margin:0 6px}
}

.kf-grouphd{font-size:16px;letter-spacing:.04em;color:var(--ink2);margin:34px 0 14px;font-weight:700}
.kf-grouphd:first-of-type{margin-top:12px}
.kf-gap{height:14px}
.kf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.kf-card{display:flex;flex-direction:column;gap:3px;background:var(--surface);border:1px solid var(--line);
  border-radius:12px;padding:22px 20px 20px;text-align:left;font:inherit;color:inherit;cursor:pointer;
  transition:border-color .15s,box-shadow .15s}
.kf-card:hover{border-color:var(--ink);box-shadow:0 4px 18px rgba(20,57,90,.1)}
.kf-ico{font-size:34px;line-height:1.1;margin-bottom:6px}
.kf-nm{font-weight:600;font-size:19px;color:var(--ink2)}
.kf-sub{font-size:14px;color:var(--muted);line-height:1.45}

.kf-rows{display:flex;flex-direction:column;gap:10px;max-width:760px}
.kf-row{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--surface);
  border:1px solid var(--line);border-radius:12px;padding:13px 18px;font:inherit;text-align:left;cursor:pointer}
.kf-row:hover{border-color:var(--ink)}
.kf-row.sel{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.kf-round{background:var(--soft)}
.kf-row b{font-size:17px;color:var(--ink2)}
.kf-row i{font-style:normal;font-size:14px;color:var(--muted)}
.kf-chev{color:var(--muted);font-size:20px}

.kf-work{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:18px}
.kf-work>div{min-width:0}
.kf-panel{min-width:0}
.kf-panel>h3{min-width:0}
@media(min-width:900px){.kf-work{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}}
.kf-map{border:1px solid var(--line);border-radius:12px;background:var(--surface);
  min-height:230px;height:230px;overflow:hidden}
@media(min-width:620px){.kf-map{min-height:360px;height:360px}}
@media(min-width:900px){.kf-map{height:460px}}
.kf-panel{border:1px solid var(--line);border-radius:12px;background:var(--surface);
  padding:16px 18px;margin-bottom:16px}
.kf-shell{background:transparent}
.kf-panel>h3{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 14px;font-size:19px;font-weight:700;color:var(--ink2)}
.kf-pic{font-size:19px;line-height:1}
.kf-sectitle{font-size:15px;font-weight:600;margin:10px 0 8px}

.kf-pt{display:flex;gap:12px;align-items:flex-start;padding:10px 2px}
.kf-pin{flex:0 0 26px;height:26px;border-radius:50%;background:var(--ink);color:var(--on);
  display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.kf-pt i{display:block;font-style:normal;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.kf-pt b{font-size:17px}
.kf-leg{width:2px;height:26px;background:#bfb8ad;margin-left:13px;position:relative}
.kf-leg::after{content:'';position:absolute;left:-4px;bottom:0;width:9px;height:9px;
  border-right:2px solid #bfb8ad;border-bottom:2px solid #bfb8ad;transform:rotate(45deg)}
.kf-leg i{display:none}
/* A→B の線に添える「立ち寄りなし」の表示。線は幅2pxなので、横に絶対配置で置く */
.kf-direct{position:absolute;left:14px;top:50%;transform:translateY(-50%);
  white-space:nowrap;font-size:12.5px;line-height:1.3;color:var(--muted);letter-spacing:.01em}

.kf-stops{display:flex;flex-direction:column;gap:8px}
.kf-stop{background:var(--soft);border:1px solid var(--line);border-radius:10px;
  padding:7px 10px;margin-bottom:7px}
.kf-stoprow{display:flex;align-items:center;gap:8px}
.kf-stayrow{display:flex;align-items:center;gap:8px;margin:5px 0 0 32px;flex-wrap:wrap}
.kf-stayrow:not(.ready) .kf-staylab,.kf-stayrow:not(.ready) .kf-stopstay{opacity:.4;pointer-events:none}
.kf-staylab{flex:0 0 auto;font-size:13px;color:var(--muted);white-space:nowrap}
.kot-flow .kf-stop input[type=text]{height:36px;padding:0 11px;font-size:15px;border-radius:8px;line-height:normal}
.kot-flow .kf-stop select{height:32px;padding:0 8px;font-size:14px;border-radius:8px;
  width:auto;min-width:106px;flex:0 0 auto;line-height:normal}
.kf-stop .kf-rm{height:36px;flex:0 0 34px}
@media(max-width:620px){.kf-stayrow{margin-left:0}}
.kf-num{flex:0 0 24px;height:24px;border-radius:50%;background:var(--accent);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}
.kf-stopname{flex:1 1 auto;min-width:0}
.kf-rm{flex:0 0 32px;height:32px;border:1px solid var(--line);background:var(--surface);border-radius:8px;
  font:inherit;font-size:16px;color:var(--muted);cursor:pointer;line-height:1}
.kf-addstop{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1.5px solid var(--ink);
  color:var(--ink);border-radius:10px;padding:10px 18px;font:inherit;font-size:15px;font-weight:600;cursor:pointer;margin-top:8px}

.kot-flow input[type=text],.kot-flow input[type=number],.kot-flow input[type=date],
.kot-flow input[type=email],.kot-flow input[type=tel],.kot-flow input[type=time],
.kot-flow select,.kot-flow textarea{
  width:100%;max-width:520px;padding:13px 14px;font:inherit;background:var(--surface);
  color:var(--ink2);border:1px solid var(--line);border-radius:10px}
.kot-flow textarea{resize:vertical;line-height:1.6;font-family:inherit}

/* 日付と時刻の欄。iOS / Safari は中身を勝手に中央寄せし、独自の最小高さを持つので、
   ほかの欄より背が高くなったり、値が枠からはみ出したりする。
   見た目を他の入力欄と合わせるため、ここだけ明示的に揃える。 */
.kot-flow input[type=date],.kot-flow input[type=time]{
  -webkit-appearance:none;appearance:none;
  min-height:0;height:50px;padding:0 14px;line-height:normal;text-align:left}
.kot-flow input[type=date]::-webkit-date-and-time-value,
.kot-flow input[type=time]::-webkit-date-and-time-value{
  text-align:left;margin:0;min-height:0}
.kot-flow input[type=date]::-webkit-datetime-edit,
.kot-flow input[type=time]::-webkit-datetime-edit{padding:0}
.kot-flow input[type=date]::-webkit-calendar-picker-indicator,
.kot-flow input[type=time]::-webkit-calendar-picker-indicator{margin-left:4px;opacity:.6}
/* 並べたときに高さがそろうよう、1行ぶんの入力欄はすべて同じ高さにする */
.kot-flow input[type=text],.kot-flow input[type=number],
.kot-flow input[type=email],.kot-flow input[type=tel],.kot-flow select{
  height:50px;padding-top:0;padding-bottom:0}
.kf-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;max-width:520px}
.kf-two label,.kf-fld{display:block;font-size:13.5px;font-weight:600;margin:0 0 6px;color:var(--ink2)}
.kf-fld{margin-top:18px}
.kf-opt{font-weight:400;color:var(--muted)}

#kfVehHint{margin-bottom:14px}
.kf-veh{display:flex;align-items:center;gap:12px;width:100%;text-align:left;font:inherit;background:var(--surface);
  border:1px solid var(--line);border-radius:10px;padding:9px 12px;margin-bottom:8px;cursor:pointer}
.kf-veh:hover:not([disabled]){border-color:var(--ink)}
.kf-veh.sel{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.kf-veh[disabled]{opacity:.5;cursor:default}
.kf-veh img,.kf-noimg{width:62px;height:42px;object-fit:cover;border-radius:6px;flex:0 0 62px;background:var(--soft)}
.kf-vnm{flex:1;min-width:0}
.kf-vnm b{display:block;font-size:16px;font-weight:600}
.kf-vnm span{font-size:13px;color:var(--muted)}
.kf-vcap{font-size:13px;color:var(--muted);text-align:right;white-space:nowrap}
.kf-vpr{font-variant-numeric:tabular-nums;font-weight:700;font-size:16px;text-align:right;white-space:nowrap;min-width:84px}
@media(max-width:560px){.kf-vcap{display:none}}

.kf-optrow{display:flex;align-items:center;gap:12px;padding:11px 2px;border:0;width:100%;background:none;
  font:inherit;text-align:left;cursor:pointer;border-bottom:1px solid var(--line)}
.kf-optrow:last-of-type{border-bottom:0}
.kf-bx{flex:0 0 20px;height:20px;border:2px solid var(--line);border-radius:4px;display:flex;
  align-items:center;justify-content:center;color:transparent;font-size:13px;font-weight:700;line-height:1}
.kf-optrow.on .kf-bx{background:var(--accent);border-color:var(--accent);color:#fff}
.kf-ox{flex:1}
.kf-ox b{font-size:15px;font-weight:600}
.kf-ox i{display:block;font-style:normal;font-size:13.5px;color:var(--muted)}
.kf-tag{display:table;margin:3px 0 0;padding:1px 9px;border-radius:999px;border:1px solid var(--line);
  font-size:11.5px;color:var(--muted)}
.kf-opr{font-variant-numeric:tabular-nums;font-weight:700;font-size:16px;text-align:right;white-space:nowrap}
.kf-opr i{display:block;font-style:normal;font-size:12.5px;font-weight:400;color:var(--muted)}

/* 「どの空港？」の画面だけ、戻る先が無いので戻るリンクを置く */
.kf-back2{background:none;border:0;padding:4px 0 12px;font:inherit;font-size:14px;
  color:var(--muted);cursor:pointer;display:block}
.kf-back2:hover{color:var(--ink)}

.kf-bill{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:16px 18px;max-width:680px;margin-top:22px}
.kf-bill>h3{display:flex;align-items:center;gap:9px;margin:0 0 12px;font-size:19px;font-weight:700;color:var(--ink2)}
.kf-billhd{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.kf-bl{display:flex;justify-content:space-between;gap:16px;padding:7px 0;font-size:15.5px}
.kf-bl span:last-child{font-variant-numeric:tabular-nums;font-weight:500;white-space:nowrap}
.kf-bl i{display:block;font-style:normal;font-size:13px;color:var(--muted);font-weight:400}
.kf-tot{border-top:1px solid var(--line);margin-top:10px;padding-top:14px;display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.kf-totl{font-size:15px;color:var(--muted)}
.kf-totl strong{display:block;font-size:20px;color:var(--ink2)}
.kf-tota{font-size:30px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink2)}
.kf-muted{color:var(--muted);font-size:20px}
.kf-note{font-size:15px;color:var(--muted);background:var(--soft);border-radius:9px;
  padding:13px 16px;margin-top:14px;max-width:680px}
.kf-note2{font-size:13.5px;color:var(--muted);line-height:1.6;margin-top:10px}
/* 場所の種類で出す欄（便名・船名・列車）。日付時刻のかたまりと区切る */
.kf-qblk{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.kf-next p{margin:0;font-size:15px;line-height:1.65;color:var(--ink2)}
/* 一覧に無い場所。グループの外に1枚だけ置くので、上に間を空ける */
.kf-else{margin-top:30px;padding-top:26px;border-top:1px solid var(--line)}
#kfTimeHint strong{color:var(--ink2)}
.kf-off span:first-child{color:var(--ok)}
.kf-off>span:last-child{color:var(--ok)}
.kf-blockmsg{margin:0 0 10px;font-size:15px;line-height:1.6}
.kf-blockmsg:last-child{margin-bottom:0}
.kf-manual{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.kf-manualhd{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.kf-manualhd span{flex:0 0 26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1}
.kf-manualhd b{font-size:18px;color:var(--ink2)}
/* 往復は希望する人だけが開く。既定ではひと言だけにして、行き先選びの邪魔をしない */
.kf-roundwrap{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.kf-round i{display:block;margin-top:2px}
.kf-retrow .kf-ox i{margin-top:3px}
/* 付帯ルート（他の送迎と一緒でなければ受けられない短距離）の説明箱。
   商品ページへは飛ばさないので、理由と次の一手をここに出す */
/* 電話番号の入力欄の下に出す注意書き。送信前に気づいてもらうためのもの */
.kf-phonewarn{margin-top:6px;font-size:13.5px;line-height:1.5;color:#b4453a}
.kf-phonewarn[hidden]{display:none}
.kf-addon{background:var(--hint);border:1px solid #cfe0f2;border-radius:12px;
  padding:14px 16px;margin-top:14px}
.kf-addonhd{display:flex;align-items:center;gap:8px;font-size:16px;margin-bottom:6px;color:var(--ink2)}
.kf-addonhd b{font-weight:700}
.kf-addon p{margin:0 0 8px;font-size:14.5px;line-height:1.55;color:var(--ink2)}
.kf-addon p:last-child{margin-bottom:0}
@media(max-width:620px){
  .kf-addon{order:0;padding:12px 13px;margin-top:0}
  .kf-addon p{font-size:14px}
}
.kf-multi{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:16px 18px;margin-top:16px;
  max-width:680px;font-size:14.5px;line-height:1.6;color:var(--muted)}
.kf-multi b{display:block;color:var(--ink2);font-size:15.5px;margin-bottom:3px}

.kf-itin{background:var(--hint);border-radius:9px;padding:14px 16px;margin-top:14px}
.kf-itinmain{font-size:14px;color:var(--muted);line-height:1.5}
.kf-itinh{font-size:24px;font-weight:700;color:var(--ink2);white-space:nowrap;line-height:1.25;
  margin-left:7px;vertical-align:-2px;
  font-variant-numeric:tabular-nums;vertical-align:-2px}
.kf-itin summary{cursor:pointer;font-size:13.5px;font-weight:600;color:var(--ink);margin-top:6px}
.kf-itincalc{font-size:13.5px;color:var(--muted);line-height:1.6;padding-top:6px}
.kf-sub2{color:var(--muted)}
.kf-hint{background:var(--hint);border-radius:9px;padding:12px 15px;margin-top:10px;font-size:14px;line-height:1.55}
.kf-hint b{display:block;margin-bottom:3px}
.kf-hint summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--ink)}
.kf-err{color:#b4442a;font-size:14px;margin-top:10px;font-weight:600}

.kf-trust{border:1px solid var(--okline);border-radius:12px;background:var(--okbg);padding:18px 20px;max-width:680px;margin-top:18px}
.kf-trust ul{margin:0;padding:0}
.kf-trust li{list-style:none;display:flex;gap:12px;align-items:flex-start;padding:10px 0;font-size:15.5px;
  line-height:1.5;border-bottom:1px solid var(--okline)}
.kf-trust li:last-child{border-bottom:0}
.kf-ck{flex:0 0 24px;height:24px;border-radius:50%;background:var(--ok);color:#fff;display:flex;
  align-items:center;justify-content:center;font-size:14px;font-weight:700;line-height:1}

.kf-btn{padding:14px 30px;border-radius:999px;font:inherit;font-size:16px;font-weight:600;border:1px solid var(--line);
  background:var(--surface);color:var(--ink);cursor:pointer;display:inline-block;text-decoration:none}
.kf-btn.primary{background:var(--ink);border-color:var(--ink);color:var(--on)}
.kf-btn[disabled]{opacity:.45;cursor:not-allowed}
.kf-sticky{position:fixed;left:0;right:0;bottom:0;z-index:50;background:var(--surface);border-top:1px solid var(--line);
  box-shadow:0 -4px 20px rgba(20,57,90,.1);padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}
.kf-stickyin{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.kf-who{flex:1;min-width:180px;font-size:14.5px;color:var(--muted);line-height:1.4}
.kf-who b{display:block;color:var(--ink2);font-size:22px;font-weight:700}

/* 立ち寄り先の候補と地図 */
.kf-stop{position:relative}
.kf-sug{display:none;position:absolute;left:10px;right:10px;top:100%;z-index:30;background:var(--surface);
  border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(20,57,90,.16);overflow:hidden;margin-top:4px}
.kf-sug.open{display:block}
.kf-sugi{padding:10px 14px;cursor:pointer;border-bottom:1px solid var(--line)}
.kf-sugi:last-of-type{border-bottom:0}
.kf-sugi:hover{background:var(--soft)}
.kf-sugi b{display:block;font-size:15px;font-weight:600}
.kf-sugi span{display:block;font-size:13px;color:var(--muted)}
.kf-sugat{padding:6px 14px;font-size:11px;color:var(--muted);text-align:right;background:var(--soft)}
.kf-stayhint{flex:1 1 auto;font-size:13px;color:var(--muted);line-height:1.4;min-width:0}
.kf-stayhint strong{color:var(--ink2);font-weight:600}
.kf-maploading{display:flex;align-items:center;justify-content:center;height:100%;
  color:var(--muted);font-size:14px}
.kf-mk{background:var(--ink);color:#fff;width:26px;height:26px;border-radius:50%;display:flex;
  align-items:center;justify-content:center;font-size:13px;font-weight:700;border:2px solid #fff;
  box-shadow:0 2px 6px rgba(0,0,0,.3)}


/* ===== スマホ ===== */
/* 1列に積むと、地図と「ご安心ください」の囲みで Your trip が画面の外に出てしまう。
   並び順を組み替えて、行程 → 金額 → 地図 → 残り → 安心材料、の順に見せる。
   display:contents で囲みの div を透かし、中身を直接並べ替えている。 */
@media(max-width:899px){
  .kf-work{display:flex;flex-direction:column;gap:0}
  .kf-work>div,#kfBill{display:contents}
  .kf-bill{order:2}
  .kf-multi{order:4}
  #kfMap{order:3;margin-bottom:16px}
  .kf-panel{order:5}
  .kf-panel.kf-tripp{order:1}
  #kfNext{order:80}
  .kf-trust{order:90}
}
@media(max-width:620px){
  /* 1グループ＝1行。横に流して、よく選ばれるものを左に置く。
     画面の端まで伸ばし、次の1枚が切れて見えるようにして「まだ続く」と分かるようにする。
     縦に積むと、いちばん多い空港が3〜4画面ぶん下に行ってしまう */
  .kf-grid{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;scroll-padding-left:20px;
    margin-inline:-20px;padding:2px 20px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .kf-grid::-webkit-scrollbar{display:none}
  /* 絵文字を名前の行に流し込む。列に分けると絵文字のぶん幅が削られ、
     「city centre & hotels」のような短い補足まで2行に折り返してしまう */
  .kf-card{flex:0 0 calc(50% - 28px);scroll-snap-align:start;
    display:block;padding:9px 10px 8px;border-radius:10px;
    font-size:15px;line-height:1.3}
  /* 「一覧にない場所」は1枚だけなので、横幅いっぱいに置く */
  .kf-else .kf-card{flex:1 1 auto}
  .kf-ico{display:inline;font-size:16px;margin:0 4px 0 0;line-height:1.3}
  .kf-nm{display:inline;font-size:14.5px;line-height:1.3;overflow-wrap:break-word}
  .kf-sub{display:block;font-size:11.5px;line-height:1.3;margin-top:2px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .kf-grouphd{font-size:14.5px;margin:18px 0 8px}
  .kf-grouphd:first-of-type{margin-top:6px}
  .kf-else{margin-top:26px;padding-top:0;border-top:0}
  .kf-else .kf-card{flex:0 0 calc(75% - 24px)}

  /* 見出しと前置きも詰める */
  .kot-flow h1{font-size:22px;margin-bottom:10px}
  .kf-trip{padding:12px 0 3px;margin-bottom:12px}
  .kf-topbar{padding-bottom:11px;margin-bottom:20px}

  .kf-panel{padding:14px 14px;margin-bottom:12px}
  .kf-panel>h3{font-size:17px;margin-bottom:11px}
  /* 見出しと前置きで1画面使ってしまわないように詰める */
  .kot-flow h1{margin-bottom:14px}
  .kf-lead{margin:-8px 0 14px;font-size:14px}
  .kf-work{margin-top:12px}

  /* 安心材料はいちばん下に回したうえで、高さも詰める */
  .kf-trust{padding:12px 14px;margin-top:4px}
  .kf-trust li{padding:7px 0;font-size:14px;gap:9px;line-height:1.45}
  .kf-ck{flex:0 0 20px;height:20px;font-size:12px}

  /* 下に貼り付く帯。画面の1/4を占めていたので詰める */
  .kf-sticky{padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px))}
  .kf-stickyin{gap:10px;flex-wrap:nowrap}
  .kf-who{min-width:0;font-size:12.5px;line-height:1.3}
  .kf-who b{font-size:18px}
  .kf-sticky .kf-btn{padding:11px 16px;font-size:14.5px;white-space:nowrap}
}


/* ===== スマホ 追補 ===== */
@media(max-width:620px){
  /* テーマが左右に入れている白い余白を打ち消し、こちらの余白も 20→14px に詰める。
     両方合わせて 35px ほど右に寄っていた */
  .kf-grid{margin-inline:calc(-1 * var(--shellpad, 14px));
    padding:2px var(--shellpad, 14px);scroll-padding-left:var(--shellpad, 14px)}

  /* 箱どうしがくっついていた */
  .kf-bill{margin-bottom:14px}
  .kf-multi{margin-bottom:14px}


  /* 自動見積もりができない区間は、まずそれを伝える。
     行程より先に理由が目に入るようにする */
  .kf-manual{order:0}

  /* 指で押せる大きさを確保する（44px） */
  .kf-link{padding:11px 0}
  .kot-flow .kf-stop input[type=text]{height:44px}
  .kot-flow .kf-stop select{height:44px}
  .kf-rm{min-height:44px}
}


/* ===== スマホ 追補2 ===== */
@media(max-width:620px){
  /* 時間を変えながら金額の動きを見たいので、行程のすぐ下に置く */
  .kf-panel.kf-hourp{order:1}

  /* 帯の文字が3行になって下が切れていた。1行に収め、下の余白も iPhone の
     ホームバーぶんだけにする（足し算にすると 43px も空いていた） */
  .kf-sticky{padding:8px 12px max(8px, env(safe-area-inset-bottom,0px))}
  .kf-who{font-size:12px}
  .kf-who b{font-size:19px;line-height:1.2}
  .kf-sticky .kf-btn{padding:12px 15px;font-size:14px}

  .kf-itinh{font-size:23px}
  .kf-slx{top:0;right:0;width:30px;height:30px}
}

/* 帯を出しているあいだは、テーマの「ページ上部へ」ボタンを上にどける */
body.kot-has-bar [class*="page-top"],
body.kot-has-bar [id*="page-top"]{bottom:86px!important}

@media(max-width:620px){
  /* 選択欄を指で押せる高さにしたら1行に収まらなくなり、
     「Time here」だけが右に取り残されていた。
     説明を1行目、「Time here」と選択欄を2行目にそろえる */
  .kf-stayrow{row-gap:4px}
  .kf-stayrow .kf-stayhint{flex:1 1 100%;order:1}
  .kf-stayrow .kf-staylab{order:2}
  .kf-stayrow .kf-stopstay{order:3;flex:1 1 auto;max-width:170px}
}


/* ===== スマホ 追補3 ===== */
@media(max-width:620px){
  /* 上の2本のバー。上下を同じだけ空ける */
  .kf-topbar{padding:11px 0;margin-bottom:0}
  .kf-trip{padding:13px 0;margin:0 0 22px}

  /* 立ち寄りの切り替えは小さく。主役は A → B と金額 */
  .kf-panel.kf-tripp>h3{gap:8px}

  /* 金額が決まる順に並べる。人数と車種を金額より先に見せる */
  .kf-panel.kf-tripp{order:1}
  .kf-panel.kf-hourp{order:2}
  .kf-panel.kf-partyp{order:3}
  .kf-panel.kf-optp{order:4}
  .kf-bill{order:5;margin-top:0}
  .kf-manual{order:0}
  .kf-multi{order:6}
  #kfMap{order:7}
  #kfNext{order:80}
  .kf-trust{order:90}
}

/* 往復の追加は、希望する人だけが気にすればよいので太字にしない */
.kf-retrow .kf-ox b{font-weight:400;font-size:15px}


/* ===== パソコンでもカードは横組みに ===== */
/* 絵文字を上に置くと1枚が高くなり、縦に場所を食うだけだった */
@media(min-width:621px){
  /* 絵文字は2行ぶんの高さで左に置き、右に名前と補足を重ねる。
     パソコンは幅に余裕があるので、補足が折り返さずに収まる */
  .kf-card{display:grid;grid-template-columns:auto minmax(0,1fr);
    column-gap:10px;row-gap:0;align-items:center;padding:13px 16px}
  .kf-ico{font-size:24px;margin:0;line-height:1;grid-column:1;grid-row:1 / span 2;align-self:center}
  .kf-nm{font-size:18px;line-height:1.3;grid-column:2;grid-row:1}
  .kf-sub{grid-column:2;grid-row:2;margin-top:2px}
  .kf-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
}

@media(max-width:620px){
  /* 人数と荷物は数字だけなので2列で足りる */
  .kf-partyp .kf-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .kf-bill>h3{font-size:17px;margin-bottom:10px}
  .kf-bill{padding:14px 14px}
}


/* 車種の行。2列組みのパソコンでも右の列は意外と狭く、
   1280px 未満では車種名が折り返していた。写真と文字を詰めて幅を確保する */
@media(max-width:1150px){
  .kf-veh{gap:9px;padding:7px 9px;margin-bottom:7px}
  .kf-veh img,.kf-noimg{width:46px;height:32px;flex-basis:46px}
  .kf-vnm b{font-size:14.5px;line-height:1.25}
  .kf-vnm span{font-size:11.5px;line-height:1.3}
  .kf-vpr{font-size:15px;min-width:64px}
  .kf-vcap{display:none}
}

/* 見出しは、テーマ側の指定に負けないよう太さを明示する */
.kot-flow .kf-panel>h3,.kot-flow .kf-bill>h3{font-weight:700!important}
@media(max-width:620px){
  .kot-flow .kf-panel>h3,.kot-flow .kf-bill>h3{font-size:18px}
}

/* 上のバーを外したぶん、見出しの上に間を取る */
.kf-shell{padding-top:26px}
@media(max-width:620px){ .kf-shell{padding-top:18px} }


/* ===== Contact Form 7（送信の中継） =====
   入力欄は画面外に置き、Turnstile のウィジェットだけ見せる。
   お客さまには CF7 のフォームは見えず、こちらの送信ボタンから送る。 */
.kotqf-cf7{margin:0 0 18px;max-width:520px}
.kotqf-cf7[hidden]{display:none}
.kotqf-cf7 .wpcf7-form>p{margin:0}
.kotqf-cf7 .kotqf-hide{
  position:absolute!important;left:-10000px!important;top:auto!important;
  width:1px!important;height:1px!important;overflow:hidden!important}
.kotqf-cf7 .wpcf7-response-output{display:none!important}
.kotqf-cf7 .cf7-turnstile,.kotqf-cf7 .wpcf7-turnstile{margin:10px 0 0}

/* 送信できたことを、画面の一番上ではっきり伝える */
.kf-sentbox{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--okline);
  background:var(--okbg);border-radius:12px;padding:18px 20px;max-width:680px;margin:0 0 20px}
.kf-sentmark{flex:0 0 32px;height:32px;border-radius:50%;background:var(--ok);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700;line-height:1}
.kf-sentbox b{display:block;font-size:20px;color:var(--ink2);margin-bottom:4px}
.kf-sentbox i{font-style:normal;font-size:15px;line-height:1.6;color:var(--ink2)}
.kf-sentbox strong{font-weight:600}
@media(max-width:620px){
  .kf-sentbox{padding:14px 15px;gap:11px;margin-bottom:16px}
  .kf-sentmark{flex-basis:28px;height:28px;font-size:15px}
  .kf-sentbox b{font-size:18px}
  .kf-sentbox i{font-size:14px}
}
