/* MEISO × LINE（ご縁めぐり・QR） */
.ms-wrap{max-width:560px;margin:0 auto;padding:20px 16px 64px;display:flex;flex-direction:column;gap:16px;font-family:'Zen Kaku Gothic New',sans-serif;color:#1D2A23}
.ms-bar{background:#F6F1E4;border-bottom:1px solid #E2DAC6}
.ms-bar>div{max-width:560px;margin:0 auto;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ms-logo{text-decoration:none;font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:24px;letter-spacing:.12em;color:#2E6A4F}
.ms-bar nav{display:flex;gap:14px;font-size:14px}.ms-bar nav a{color:#1D2A23}
.ms-card{background:#FFFDF8;border:1.5px solid #E2DAC6;border-radius:20px;padding:20px;box-shadow:0 2px 0 #E2DAC6}
.ms-center{text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
.ms-eyebrow{margin:0;font-size:13px;font-weight:700;letter-spacing:.12em;color:#2E6A4F}
.ms-h1{margin:6px 0 0;font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:26px;line-height:1.3}
.ms-h2{margin:14px 0 0;font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:22px}
.ms-sub{margin:0;font-size:14px;color:#45524A}
.ms-big{margin:0;font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:56px;line-height:1;color:#2E6A4F}.ms-big small{font-size:20px;margin-left:4px}
.ms-pic{position:relative;width:100%;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#E9E1CD}
.ms-pic img{width:100%;height:100%;object-fit:cover;display:block}
.ms-pic-hanko{position:absolute;right:8px;bottom:6px;transform:rotate(-12deg);filter:drop-shadow(0 1px 0 rgba(255,255,255,.7))}
.ms-pic-hanko svg{background:rgba(255,253,248,.82);border-radius:50%}
.ms-stamp{width:100%}
[data-stamp-page] .ms-pic-hanko{transform:rotate(-12deg) scale(1.9);opacity:0;transition:transform .45s cubic-bezier(.2,1.6,.4,1) .25s,opacity .2s .25s}
[data-stamp-page].pressed .ms-pic-hanko{transform:rotate(-12deg) scale(1);opacity:1}
@media (prefers-reduced-motion:reduce){[data-stamp-page] .ms-pic-hanko{transition:none}}
.ms-dots{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;width:100%;max-width:420px;margin-top:6px}
.ms-dot{aspect-ratio:1;border-radius:50%;border:1.5px dashed #C9BFA8;display:flex;align-items:center;justify-content:center;font-size:10px;color:#8A8270;font-weight:700;line-height:1}
.ms-dot.gift{border-color:#E2A93B;color:#9A6B12;font-size:8.5px;background:#FFF6E0}
.ms-dot.on{border:0;background:#C8402E;color:#fff;font-size:12px}
.ms-next{margin:2px 0 0;font-size:15px}.ms-next b{color:#C8402E}
.ms-coupon{width:100%;box-sizing:border-box;background:#FFF1CC;border:2px solid #E2A93B;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:2px;font-size:16px}
.ms-coupon b{font-size:19px;color:#8A4B00}.ms-coupon span{font-size:12.5px;color:#5A4A24}
.ms-label{display:flex;flex-direction:column;gap:2px;font-weight:700;font-size:16px}.ms-label span{font-weight:400;font-size:12.5px;color:#55625A}
.ms-note{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.ms-note textarea{font:inherit;font-size:16px;line-height:1.7;padding:12px 14px;border:1.5px solid #D8CFBA;border-radius:12px;background:#fff;color:#1D2A23;resize:vertical;width:100%;box-sizing:border-box}
.ms-btn{font:inherit;font-weight:700;font-size:16px;min-height:50px;padding:12px 18px;border-radius:999px;border:2px solid #2E6A4F;background:#2E6A4F;color:#fff;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box}
.ms-btn.ghost{background:#fff;color:#2E6A4F}.ms-btn:disabled{opacity:.5}
.ms-row{display:flex;gap:10px;flex-wrap:wrap}.ms-row .ms-btn{flex:1 1 200px}
.ms-hint{margin:-4px 0 0;font-size:12.5px;color:#55625A}.ms-msg{margin:0;font-size:14px;color:#2E6A4F;min-height:1.4em}
.ms-err{margin:0;color:#B4462B;font-weight:700}
.ms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ms-tile{font:inherit;text-align:left;background:#FFFDF8;border:1.5px solid #E2DAC6;border-radius:16px;padding:8px;cursor:pointer;display:flex;flex-direction:column;gap:8px;color:#1D2A23}
.ms-tile .ms-pic{border-radius:10px}.ms-tile .ms-pic-hanko svg{width:58px;height:58px}
.ms-tile-t{display:flex;flex-direction:column;gap:2px;padding:0 4px 4px}.ms-tile-t b{font-size:15px}.ms-tile-t span{font-size:12.5px;color:#45524A}
.ms-tile-t em{font-style:normal;font-size:12.5px;line-height:1.5;color:#1D2A23;margin-top:2px}.ms-tile-t em.none{color:#2E6A4F;font-weight:700}
.ms-modal{position:fixed;inset:0;z-index:80;background:rgba(29,42,35,.55);display:flex;align-items:flex-end;justify-content:center}
.ms-sheet{position:relative;background:#F6F1E4;width:100%;max-width:560px;max-height:92vh;overflow:auto;border-radius:22px 22px 0 0;padding:20px 16px 28px;box-sizing:border-box}
.ms-close{position:absolute;top:10px;right:10px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:#fff;font-size:24px;cursor:pointer;color:#1D2A23}
@media (min-width:700px){.ms-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ms-modal{align-items:center}.ms-sheet{border-radius:22px}}
.ms-line-btn{background:#06C755;border-color:#06C755}
/* 印刷用QR */
.qr-page{max-width:700px;margin:0 auto;padding:32px 16px;text-align:center;font-family:'Zen Kaku Gothic New',sans-serif;color:#1D2A23}
.qr-page h1{font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:34px;margin:8px 0}
.qr-box{display:inline-block;padding:18px;background:#fff;border:3px solid #2E6A4F;border-radius:20px;margin:16px 0}
.qr-box [data-qr] img,.qr-box [data-qr] canvas{display:block;width:min(360px,72vw)!important;height:auto!important}
.qr-steps{text-align:left;max-width:480px;margin:8px auto;font-size:17px;line-height:1.8}
@media print{.ms-noprint,[role=note]{display:none!important}body{background:#fff!important}.qr-page{padding:0}}
.ms-share{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.6}.ms-share input{width:22px;height:22px;margin-top:2px;accent-color:#2E6A4F;flex:none}.ms-share small{display:block;font-size:12px;color:#55625A}
.ms-list{margin:10px 0 0;padding-left:1.3em;line-height:1.85;display:flex;flex-direction:column;gap:6px}
.ms-faq{margin:10px 0 0}.ms-faq dt{font-weight:700;margin-top:12px}.ms-faq dd{margin:4px 0 0;color:#45524A;line-height:1.8}
.ms-card .ms-h2:first-child{margin-top:0}
