
#arsg-dialog{padding:20px 8px;font-family:Arial,'Noto Sans JP',sans-serif;color:#213343}#arsg-dialog *{box-sizing:border-box}#arsg-dialog .shell{max-width:500px;margin:auto;background:#fff;border:1px solid #dbe2e7;border-radius:18px;overflow:hidden}#arsg-dialog header{padding:25px 24px 20px;border-bottom:1px solid #e4e8ec}#arsg-dialog .brand{font-size:18px;letter-spacing:5px}#arsg-dialog .sub{font-size:11px;letter-spacing:2px;color:#82715a;margin-top:8px}#arsg-dialog .steps{display:flex;gap:8px;margin-top:22px}#arsg-dialog .steps span{flex:1;padding:8px 2px;border-bottom:3px solid #e6e9eb;font-size:11px;color:#75828c}#arsg-dialog .steps .active{border-color:#213343;color:#213343}#arsg-dialog .arsg-content{padding:24px}#arsg-dialog h2{font-size:23px;line-height:1.5;margin:0 0 8px}#arsg-dialog p{font-size:13px;line-height:1.8;color:#687783;margin:0 0 20px}#arsg-dialog .measure{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:30px 0}#arsg-dialog label{font-size:13px}#arsg-dialog .number{display:flex;align-items:center;margin-top:10px;border-bottom:2px solid #213343;padding-bottom:10px}#arsg-dialog input[type=number]{width:100%;min-width:0;font:36px Arial;color:#213343;border:0;background:transparent;padding:4px}#arsg-dialog .unit{font-size:13px;color:#687783}#arsg-dialog button{font-family:inherit;cursor:pointer}#arsg-dialog .next{display:block;width:100%;min-height:52px;border:0;border-radius:7px;background:#213343;color:white;font-size:14px;font-weight:600;margin-top:25px}#arsg-dialog .back{border:0;background:transparent;color:#63727d;min-height:44px;font-size:12px;display:block;margin:8px auto 0}#arsg-dialog .foot{font-size:11px;color:#78828a;text-align:center;padding:0 20px 20px;line-height:1.7}#arsg-dialog [hidden]{display:none!important}#arsg-dialog .shape{padding:12px 0 16px;border-bottom:1px solid #edf0f2}#arsg-dialog .shape-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:13px}#arsg-dialog output{color:#85704d;font-size:12px}#arsg-dialog .scale{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}#arsg-dialog .scale button{min-height:44px;border:1px solid #dce3e8;background:white;border-radius:6px;color:#526473;font-size:14px}#arsg-dialog .scale button[aria-pressed=true]{background:#213343;color:white;border-color:#213343}#arsg-dialog .ends{display:flex;justify-content:space-between;font-size:10px;color:#77838b;margin-top:6px}#arsg-dialog .fit{display:flex;align-items:center;gap:16px;width:100%;text-align:left;background:white;border:1px solid #dce3e8;border-radius:9px;padding:18px;margin-top:12px;color:#213343;min-height:88px}#arsg-dialog .fit[aria-pressed=true]{background:#f4f0e8;border-color:#9c8864;box-shadow:inset 3px 0 #9c8864}#arsg-dialog .fit strong{display:block;font-size:15px;margin-bottom:5px}#arsg-dialog .fit small{font-size:12px;color:#6b7781}#arsg-dialog .fit svg{width:32px;height:32px;flex:none}#arsg-dialog .result{text-align:center;padding:20px;background:#f4f0e8;border-radius:12px;margin:20px 0}#arsg-dialog .result small{font-size:12px;color:#7a6c55}#arsg-dialog .size{font-size:64px;line-height:1.3;margin:6px 0}#arsg-dialog .reason{font-size:13px;line-height:1.8}#arsg-dialog .facts{display:flex;justify-content:space-between;border-bottom:1px solid #e5e9ec;padding:12px 0;font-size:13px}#arsg-dialog .error{color:#a23f32;font-size:12px}#arsg-dialog .note{background:#f5f7f8;padding:12px;border-radius:6px;font-size:12px;line-height:1.8;color:#5d6f7c}@media(max-width:380px){#arsg-dialog .arsg-content,#arsg-dialog header{padding:20px 16px}}

#arsg-dialog{padding:0;width:calc(100% - 24px);max-width:500px;max-height:calc(100dvh - 32px);border:0;border-radius:18px;background:#fff;color:#213343;overflow:auto;margin:auto;box-shadow:0 16px 60px #0004;overscroll-behavior:contain;z-index:2147483647}
#arsg-dialog:not([open]){display:none}#arsg-dialog::backdrop{background:rgba(14,27,38,.6)}
#arsg-dialog .shell{border:0;border-radius:0;position:relative;overflow:visible}#arsg-dialog .close{position:absolute;right:12px;top:12px;border:0;background:#f3f5f6;border-radius:50%;width:44px;height:44px;font-size:26px;color:#213343;line-height:1}
#arsg-dialog .sub{padding-right:40px}#arsg-dialog .brand{padding-right:44px}#arsg-dialog button{cursor:pointer;letter-spacing:normal;line-height:1.6}#arsg-dialog .ends{font-size:11px}#arsg-dialog label{display:block}#arsg-dialog .number input{box-shadow:none;height:auto;line-height:1.4}#arsg-dialog .facts{gap:12px}#arsg-dialog .facts strong{flex-shrink:0}#arsg-dialog #arsg-product-name{font-size:11px;margin-top:12px;color:#687783;overflow-wrap:anywhere}#arsg-dialog .arsg-shirt{display:block;background:#213343;width:32px;height:32px;flex:none;clip-path:polygon(25% 0,38% 5%,62% 5%,75% 0,100% 20%,85% 40%,75% 34%,75% 100%,25% 100%,25% 34%,15% 40%,0 20%)}
#arsg-dialog :focus-visible,#arsg-entry a:focus-visible{outline:3px solid #8a7351;outline-offset:3px}
#arsg-entry{box-sizing:border-box;margin:20px 0;padding:18px;background:#f3f5f6;border-radius:8px;font-family:Arial,'Noto Sans JP',sans-serif;color:#213343;line-height:1.7;clear:both}#arsg-entry *{box-sizing:border-box}#arsg-entry strong{font-size:14px}#arsg-entry p{font-size:12px;margin:6px 0 13px}#arsg-entry a{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;padding:10px 14px;border:1px solid #213343;border-radius:5px;color:#213343;background:#fff;text-decoration:none;font-size:14px;font-weight:600;line-height:1.6}#arsg-entry a span{margin-left:auto;font-size:22px;line-height:1}#arsg-entry small{display:block;font-size:11px;margin-top:9px}#arsg-entry [hidden]{display:none!important}#arsg-entry #arsg-selected{margin:12px 0 0;color:#635338}
@media(prefers-reduced-motion:reduce){#arsg-dialog,#arsg-entry{scroll-behavior:auto}}

/* v1.0.1: isolate content from futureshop global main layout */
#arsg-dialog .arsg-content{display:block;height:auto;min-height:0;max-height:none;margin:0;float:none;position:static;transform:none;transition:none;text-align:left}
