/* カンダ手芸 Web 会員登録（スマートフォン向け。レジの画面と同じ紺色） */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo UI", Meiryo, sans-serif; color: #1f2d3d; background: #f4f5f7; font-size: 16px; line-height: 1.6; }
.top { background: #2e547a; color: #fff; padding: 14px 16px 12px; font-weight: bold; font-size: 18px; }
.top small { display: block; font-weight: normal; font-size: 13px; opacity: .85; }
main { max-width: 560px; margin: 0 auto; padding: 14px 16px 24px; background: #fff; min-height: 60vh; }
footer { max-width: 560px; margin: 0 auto; padding: 12px 16px 28px; font-size: 13px; text-align: center; }
a { color: #185fa5; }
.fl { display: block; font-weight: bold; font-size: 14px; color: #44566a; margin: 14px 0 4px; }
.req { background: #fde8e8; color: #a32d2d; font-size: 11px; padding: 1px 5px; border-radius: 4px; margin-left: 6px; font-weight: bold; vertical-align: 1px; }
input[type=text], input[type=tel], input[type=email] { width: 100%; font-size: 17px; padding: 10px 12px; border: 1.5px solid #b8c2ce; border-radius: 10px; background: #fff; color: #1f2d3d; }
input:focus { outline: none; border-color: #2e547a; box-shadow: 0 0 0 3px rgba(46,84,122,.15); }
input.ng { border-color: #e24b4a; background: #fdf1f1; }
.msg { color: #a32d2d; font-size: 13px; margin: 4px 0 0; }
.ok { color: #0f6e56; font-size: 13px; margin: 4px 0 0; }
.hint { color: #6b7a8a; font-size: 12px; margin: 4px 0 0; }
.alert { background: #fdf1f1; border: 1px solid #f09595; color: #a32d2d; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.row { display: flex; gap: 8px; }
.row input { flex: 1; }
button { font: inherit; cursor: pointer; }
button.small { border: 1.5px solid #2e547a; color: #2e547a; background: #fff; border-radius: 10px; padding: 0 12px; font-weight: bold; font-size: 14px; white-space: nowrap; }
button.pri, button.sec { display: block; width: 100%; border-radius: 12px; padding: 14px 0; font-size: 17px; font-weight: bold; margin-top: 18px; }
button.pri { background: #2e547a; color: #fff; border: none; }
button.pri:disabled { background: #c8d0d9; }
button.sec { background: #fff; color: #44566a; border: 1.5px solid #b8c2ce; margin-top: 10px; }
.seg { display: flex; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { flex: 1; text-align: center; border: 1.5px solid #2e547a; color: #2e547a; border-radius: 10px; padding: 10px 0; font-weight: bold; }
.seg input:checked + label { background: #2e547a; color: #fff; }
.seg input:focus-visible + label { box-shadow: 0 0 0 3px rgba(46,84,122,.25); }
.agree { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 15px; }
.agree input { width: 22px; height: 22px; accent-color: #2e547a; }
.choices { margin-top: 6px; border: 1px solid #cfd6df; border-radius: 10px; overflow: hidden; }
.choices button { display: block; width: 100%; text-align: left; background: #fff; border: none; border-bottom: 1px solid #eef1f5; padding: 10px 12px; font-size: 15px; color: #1f2d3d; }
.choices button:last-child { border-bottom: none; }
.confirm { margin: 0; }
.confirm div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eef1f5; padding: 10px 0; }
.confirm dt { color: #6b7a8a; white-space: nowrap; font-size: 14px; }
.confirm dd { margin: 0; text-align: right; word-break: break-all; }
.center { text-align: center; padding: 28px 4px; }
.center p { color: #44566a; }
.big { font-size: 19px; font-weight: bold; color: #1f2d3d !important; }
.ngtext { color: #a32d2d !important; }
.mark { width: 64px; height: 64px; border-radius: 50%; background: #e1f5ee; color: #0f6e56; margin: 0 auto 12px; font-size: 34px; line-height: 64px; }
.policy h2 { font-size: 16px; color: #2e547a; border-bottom: 1px solid #cfd6df; padding-bottom: 4px; margin-top: 22px; }
.policy li { margin: 2px 0; }
.fill { background: #fde8e8; color: #a32d2d; padding: 0 3px; border-radius: 3px; }
/* スマホ会員証 */
.cardhead { display: flex; justify-content: space-between; align-items: baseline; color: #6b7a8a; font-size: 14px; margin: 4px 0 10px; }
.cardhead b { color: #1f2d3d; font-size: 20px; letter-spacing: 1px; }
.qrbox { display: flex; justify-content: center; padding: 8px 0; }
.qrbox #qr { width: 72vw; max-width: 280px; }
.qrbox svg { display: block; width: 100%; height: auto; }
.bar { height: 6px; background: #e6f1fb; border-radius: 3px; overflow: hidden; margin: 6px 24px 0; }
.bar div { height: 100%; background: #2e547a; transition: width .9s linear; }
.count { text-align: center; color: #44566a; font-size: 14px; margin: 6px 0 0; }
.cardnote { margin-top: 14px; font-size: 13px; color: #6b7a8a; background: #f4f6f9; border-radius: 10px; padding: 10px 12px; line-height: 1.7; }
.howto { margin-top: 14px; border: 1.5px solid #2e547a; border-radius: 12px; padding: 10px 12px; color: #1f2d3d; }
.howto summary { color: #2e547a; font-weight: bold; cursor: pointer; }
.howto p { margin: 8px 0 0; font-size: 14px; }
