/* ===== contact page: other ways to ask, the form, the sent panel ===== */

/* phone and LINE above the form */
.ct-ways{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:880px;margin:0 auto 32px}
.ct-way{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:84px;padding:12px 48px 12px 24px;border-radius:6px;position:relative;font-weight:700;transition:opacity .2s}
.ct-way:hover{opacity:.88}
.ct-way::after{content:"";position:absolute;right:20px;top:50%;width:16px;height:16px;margin-top:-8px;background:var(--arr) center/contain no-repeat}
.ct-way small{font-size:12.5px;font-weight:700}
.tel-way{background:#fff;color:var(--navy);border:2px solid var(--navy)}
.tel-way .tel{font-size:28px;line-height:1.2}
.tel-way .shop-ttl{font-size:20px;line-height:1.3}
.ct-ways>:only-child{grid-column:1/-1}
.line-way{background:var(--green-grad);color:#fff}
.line-way span{font-size:22px;line-height:1.3}
.line-way::after{background-image:var(--arr-w)}

/* the form: a gold-framed panel, label column + field column */
.ct-form,.ct-done{max-width:880px;margin:0 auto;border-radius:6px;border:3px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--gold-grad) border-box;box-shadow:0 14px 30px -18px rgba(18,20,46,.25);padding:12px 40px 40px}
.ct-lead{padding:20px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.8;text-wrap:pretty}
.ct-row{display:grid;grid-template-columns:190px 1fr;gap:12px 24px;padding:22px 0;border-bottom:1px solid var(--line)}
.ct-row[hidden]{display:none}
.ct-cond{background:#f6f7fc;margin:0 -16px;padding-left:16px;padding-right:16px;animation:ct-in .25s ease}
@keyframes ct-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.ct-label{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;font-weight:700;color:var(--navy);line-height:1.5}
.req,.opt{flex:none;display:inline-block;padding:3px 8px;font-size:11.5px;font-weight:700;line-height:1.3;color:#fff;background:var(--accent);border-radius:3px}
.opt{background:#8e90a3}
.ct-lead .req{margin:0 2px}
.ct-field{min-width:0}
.ct-field input:not([type=radio]):not([type=checkbox]),.ct-field select,.ct-field textarea{width:100%;font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1px solid #b9bcd0;border-radius:4px;padding:0 14px;appearance:none}
.ct-field input:not([type=radio]):not([type=checkbox]),.ct-field select{height:52px}
.ct-field textarea{padding:12px 14px;line-height:1.8;resize:vertical;min-height:150px}
.ct-field select{padding-right:40px;background:#fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23100169%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E") right 14px center/18px no-repeat;cursor:pointer}
.ct-field :is(input,select,textarea):focus{outline:2px solid var(--navy);outline-offset:1px;border-color:var(--navy)}
.ct-field ::placeholder{color:#a0a2b4}
.ct-help{margin-top:8px;font-size:13px;color:var(--muted);line-height:1.7;text-wrap:pretty}
.ct-help a,.ct-agree a{color:var(--blue);text-decoration:underline}

/* radio choices as large buttons */
.ct-choice{display:grid;grid-template-columns:repeat(2,minmax(0,230px));gap:10px}
.ct-choice label{position:relative;cursor:pointer}
.ct-choice input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.ct-choice span{display:flex;align-items:center;gap:8px;height:52px;padding:0 16px 0 14px;border:1px solid #b9bcd0;border-radius:4px;background:#fff;font-weight:700;color:var(--navy);white-space:nowrap}
.ct-choice span::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;border:2px solid #b9bcd0;background:#fff}
.ct-choice input:checked+span{border-color:var(--navy);background:#eef0f8;box-shadow:inset 0 0 0 1px var(--navy)}
.ct-choice input:checked+span::before{border-color:var(--navy);background:radial-gradient(var(--navy) 45%,#fff 50%)}
.ct-choice input:focus-visible+span{outline:2px solid var(--navy);outline-offset:2px}

/* address: postcode on its own short line */
.ct-addr{display:flex;flex-direction:column;gap:10px}
.ct-zip{display:flex;align-items:center;gap:8px;max-width:240px}
.ct-zip span{font-weight:700;color:var(--navy)}

/* consent, error, submit */
.ct-agree{display:flex;justify-content:center;padding:28px 0 0}
.ct-agree label{display:flex;align-items:center;gap:10px;font-weight:700;cursor:pointer}
.ct-agree input{width:22px;height:22px;accent-color:var(--navy);cursor:pointer}
.ct-error{margin-top:16px;padding:12px 16px;border-radius:4px;background:#fff0f0;color:#d00000;font-weight:700;font-size:14px;text-align:center}
.is-error .ct-field :is(input,select,textarea),.is-error .ct-choice span{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.ct-agree.is-error label{color:#d00000}
.ct-submit{display:flex;justify-content:center;margin-top:28px}
.ct-submit button{min-width:360px;height:64px;padding:0 40px;border:0;border-radius:4px;background:var(--red-grad);color:#fff;font:inherit;font-size:18px;font-weight:700;letter-spacing:.06em;cursor:pointer;box-shadow:0 6px 0 #a80000;transition:transform .15s,box-shadow .15s}
.ct-submit button:hover{transform:translateY(2px);box-shadow:0 4px 0 #a80000}

/* review step: same frame as the form, label column + value column */
.ct-confirm{max-width:880px;margin:0 auto;border-radius:6px;border:3px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--gold-grad) border-box;box-shadow:0 14px 30px -18px rgba(18,20,46,.25);padding:32px 40px 40px}
.ct-confirm:focus{outline:none}
.ct-confirm h2{font-size:24px;font-weight:900;color:var(--navy);text-align:center}
.ct-confirm-lead{margin-top:12px;padding-bottom:20px;border-bottom:1px solid var(--line);font-size:14px;line-height:1.8;text-align:center;text-wrap:pretty}
.ct-review{display:grid;grid-template-columns:190px 1fr;margin:0}
.ct-review dt,.ct-review dd{padding:18px 0;border-bottom:1px solid var(--line);line-height:1.7}
.ct-review dt{font-weight:700;color:var(--navy);padding-right:24px}
.ct-review dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.ct-review .is-empty{color:#a0a2b4}
.ct-actions{gap:16px}
.ct-actions button{min-width:0;flex:0 1 320px}
.ct-actions .ct-back{background:#fff;color:var(--navy);border:2px solid var(--navy);box-shadow:none}
.ct-actions .ct-back:hover{transform:none;box-shadow:none;background:#eef0f8}
.ct-actions button:disabled{opacity:.6;cursor:wait}

/* sent panel (mock) */
.ct-done{padding:40px;text-align:center}
.ct-done h2{font-size:24px;font-weight:900;color:var(--navy)}
.ct-done p{max-width:560px;margin:16px auto 0;line-height:1.9;text-align:left;text-wrap:pretty}
.ct-done:focus{outline:none}

@media (max-width:900px){
  .ct-ways{grid-template-columns:1fr;gap:12px;margin-bottom:24px}
  .ct-way{min-height:72px;padding:10px 44px 10px 18px}
  .tel-way .tel{font-size:24px}
  .line-way span{font-size:19px}
  .ct-form,.ct-done{padding:4px 18px 28px}
  .ct-row{grid-template-columns:1fr;gap:10px;padding:18px 0}
  .ct-cond{margin:0 -18px;padding-left:18px;padding-right:18px}
  .ct-label{min-height:0;justify-content:flex-start}
  .ct-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .ct-choice span{padding:0 12px;font-size:14.5px}
  .ct-submit button{min-width:0;width:100%}
  .ct-done{padding:28px 18px}
  .ct-confirm{padding:24px 18px 28px}
  .ct-confirm h2{font-size:20px}
  .ct-confirm-lead{text-align:left}
  .ct-review{grid-template-columns:1fr}
  .ct-review dt{padding:16px 0 4px;border-bottom:0}
  .ct-review dd{padding:0 0 16px}
  .ct-actions{flex-direction:column-reverse;gap:12px}
  .ct-actions button{flex:none;width:100%}
}
