/* ファミリーマート — キャンペーン（family.co.jp ヘッダー・フッター） */
:root{--fm-green:#008132;--fm-green-dark:#006b28;--fm-blue:#00a0e9;--fm-text:#333;--fm-muted:#666}
html,body{margin:0;padding:0;background:#fff}
.sej-shell{min-height:100vh;background:#fff;color:var(--fm-text);font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;font-size:15px;font-feature-settings:"palt";letter-spacing:.02em}
.ly-wrapper.ly-compact{min-height:100vh;display:flex;flex-direction:column}
.fm-header{background:#fff;border-bottom:1px solid #e8e8e8;flex:0 0 auto}
.ly-sp-header{display:flex;align-items:flex-end;justify-content:space-between;max-width:1040px;margin:0 auto;padding:12px 14px 10px;gap:10px}
.ly-logo-fm{margin:0;flex:1 1 auto;min-width:0}
.ly-logo-fm a{display:inline-block;line-height:0}
.ly-logo-fm img{height:38px;width:auto;max-width:min(100%,220px);display:block;object-fit:contain}
.ly-btn-search,.ly-btn-menu{margin:0;flex:0 0 auto}
.ly-btn-search a,.ly-btn-menu a{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--fm-text);font-size:10px;font-weight:700;line-height:1.2}
.ly-btn-search-t,.ly-btn-menu-t{white-space:nowrap}
.ly-btn-search-icn{box-sizing:border-box;width:24px;height:24px;border:2px solid var(--fm-green);border-radius:50%;position:relative}
.ly-btn-search-icn::before{content:"";position:absolute;width:8px;height:8px;border:2px solid var(--fm-green);border-radius:50%;top:4px;left:4px}
.ly-btn-search-icn::after{content:"";position:absolute;width:7px;height:2px;background:var(--fm-green);transform:rotate(45deg);right:2px;bottom:3px;border-radius:1px}
.ly-btn-menu-icn{display:flex;flex-direction:column;justify-content:center;gap:5px;width:24px;height:24px}
.ly-btn-menu-icn span{display:block;height:2px;background:var(--fm-green);border-radius:1px}
.sej-main{flex:1 1 auto;max-width:720px;width:100%;margin:0 auto;padding:16px 14px 28px;box-sizing:border-box}
.sej-hero{background:#edf5ed;border:1px solid rgba(0,129,50,.25);padding:16px 14px;border-radius:4px}
.sej-hero h1{margin:0 0 8px;font-size:20px;line-height:1.45;color:var(--fm-green);font-weight:700}
.sej-hero p{margin:0;font-size:13px;line-height:1.7;color:var(--fm-muted)}
.sej-hero ul{margin:10px 0 0;padding-left:18px;font-size:13px;line-height:1.6;color:var(--fm-muted)}
.sej-panel{margin-top:12px;background:#fafafa;border:1px solid #e5e5e5;padding:16px 14px;border-radius:4px}
.sej-panel h2{margin:0 0 10px;font-size:17px;color:var(--fm-text);font-weight:700}
.sej-field{margin-top:12px}
.sej-field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.sej-phone{display:flex;gap:8px}
.sej-phone .sej-cc{flex:0 0 72px;text-align:center;background:#fff}
.sej-phone input{flex:1;min-width:0;height:46px;border:1px solid #ccc;border-radius:4px;padding:0 12px;font-size:16px}
.sej-phone input:focus{outline:none;border-color:var(--fm-green);box-shadow:0 0 0 2px rgba(0,129,50,.15)}
.sej-btn{display:block;width:100%;height:48px;margin-top:14px;border:0;border-radius:4px;background:var(--fm-green);color:#fff;font-size:16px;font-weight:700;cursor:pointer}
.sej-btn:hover{background:var(--fm-green-dark)}
.sej-btn:disabled{opacity:.55;cursor:not-allowed}
.sej-btn--red{background:#00a0e9}
.sej-btn--red:hover{background:#0088cc}
.sej-wheel-wrap{display:none;margin-top:12px;text-align:center;padding:22px 14px 16px;border-radius:12px;background:radial-gradient(circle at 50% 42%,#1a9e4a 0%,var(--fm-green-dark) 72%);box-shadow:0 10px 28px rgba(0,80,40,.2)}
.sej-wheel-wrap.is-on{display:block}
.sej-wheel-wrap.is-ready .sej-wheel{cursor:pointer}
#sej-wait{display:none;position:fixed;inset:0;z-index:5500;background:rgba(255,255,255,.92);align-items:center;justify-content:center}
#sej-wait.is-open{display:flex}
.sej-wait-card{text-align:center}
.sej-wait-spin{width:48px;height:48px;margin:0 auto 14px;border:3px solid #c8e6d0;border-top-color:var(--fm-green);border-radius:50%;animation:fmspin .75s linear infinite}
.sej-wait-card p{margin:0;font-size:15px;font-weight:700;color:var(--fm-green-dark)}
@keyframes fmspin{to{transform:rotate(360deg)}}
.sej-wheel-box{position:relative;width:min(100%,340px);margin:0 auto;padding-top:14px}
.sej-wheel-pointer{position:absolute;left:50%;top:2px;z-index:2;width:28px;height:36px;transform:translateX(-50%);background:linear-gradient(180deg,#fff,#ddd);clip-path:polygon(50% 100%,0 0,100% 0);filter:drop-shadow(0 3px 2px rgba(0,0,0,.28))}
.sej-wheel{display:block;width:100%;height:auto;border-radius:50%;will-change:transform}
.sej-wheel-wrap .sej-foot{color:#e8ffe8;font-size:13px;font-weight:700}
.sej-foot{margin-top:16px;font-size:11px;color:#888;text-align:center;line-height:1.5}
.fm-footer{flex:0 0 auto;margin-top:auto}
.ly-foot-top-area2{background:#f5f5f5;padding:28px 0}
.ly-wrp-cts{max-width:1040px;margin:0 auto;padding:0 16px;box-sizing:border-box}
.ly-foot-fnav-area2{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:flex-start}
.ly-logo-privacy2{margin:0}
.ly-logo-privacy2 img{height:44px;width:auto;display:block}
.ly-foot-fnav-list-wrap2{display:flex;flex-wrap:wrap;gap:16px 28px;flex:1 1 280px}
.ly-foot-fnav-list2{list-style:none;margin:0;padding:0;font-size:13px;line-height:1.85}
.ly-foot-fnav-list2 li{margin:0}
.ly-foot-fnav-list2 a{color:var(--fm-text);text-decoration:none}
.ly-foot-fnav-list2 a:hover{color:var(--fm-green);text-decoration:underline}
.ly-foot-sns-area2{background:#fff;padding:22px 0;border-top:1px solid #e8e8e8}
.ly-foot-sns-ttl2{font-size:14px;font-weight:700;margin:0 0 14px}
.ly-foot-sns-ttl2 a{color:var(--fm-green);text-decoration:none}
.ly-foot-sns-ttl2 a:hover{text-decoration:underline}
.ly-foot-sns-list2{display:flex;flex-wrap:wrap;gap:10px 14px;list-style:none;margin:0;padding:0}
.ly-foot-sns-list2 a{display:block;line-height:0}
.ly-foot-sns-list2 img{height:34px;width:auto;display:block}
.ly-foot-bottom-area2{background:var(--fm-green);color:#fff;padding:22px 0 28px}
.ly-foot-bottom-list2{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;line-height:1.5}
.ly-foot-bottom-list2 a{color:#fff;text-decoration:none}
.ly-foot-bottom-list2 a:hover{text-decoration:underline}
.ly-copyright2{margin:0;font-size:11px;line-height:1.6;color:#fff}
#toast{display:none;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(0,0,0,.85);color:#fff;padding:12px 16px;font-size:14px;z-index:5000;border-radius:8px;max-width:min(88vw,340px);text-align:center}
#sej-modal{display:none;position:fixed;inset:0;z-index:6000;background:rgba(0,0,0,.55);align-items:center;justify-content:center;padding:16px}
#sej-modal.is-open{display:flex}
.sej-modal-card{width:min(100%,400px);background:#fff;border-radius:8px;padding:22px 18px 18px;text-align:center;box-shadow:0 16px 40px rgba(0,0,0,.2);border-top:4px solid var(--fm-green)}
.sej-modal-card h3{margin:0 0 8px;font-size:20px;color:var(--fm-green);font-weight:700}
.sej-modal-card .sej-pts{font-size:32px;font-weight:900;color:var(--fm-green);margin:8px 0}
.sej-modal-card p{margin:0;font-size:14px;line-height:1.65;color:var(--fm-muted)}
.sej-modal-card .sej-btn{margin-top:16px}
.sej-modal-activate{margin:12px 0 0;font-size:14px;font-weight:600;color:var(--fm-green-dark);line-height:1.5}
.sej-modal-note{margin-top:10px;font-size:12px;color:#888;line-height:1.5}
@media (min-width:737px){
  .ly-sp-header{padding:14px 24px 12px}
  .ly-logo-fm img{height:44px}
}
