
.jlw{
  position:fixed;inset:0;z-index:9100;
  display:flex;align-items:center;justify-content:center;
  padding:calc(16px + env(safe-area-inset-top, 0px)) 12px calc(16px + env(safe-area-inset-bottom, 0px));
  background:rgba(0,0,0,.55);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .25s ease, visibility 0s linear .25s;
}
.jlw.open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .25s ease;}
.jlw-card{
  position:relative;width:100%;max-width:380px;max-height:100%;
  box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;
  padding:20px 28px 22px;
  background:#fff;color:#1d2530;
  border-radius:24px;
  box-shadow:0 8px 32px rgba(45,55,72,.22);
  font-family:var(--font, 'Noto Sans JP', sans-serif);
  transform:scale(.94);transition:transform .25s ease;
}
.jlw.open .jlw-card{transform:scale(1);}


.jlw-hd{display:flex;align-items:center;justify-content:space-between;margin-right:-6px;}
.jlw-logo{height:20px;width:auto;display:block;}
.jlw-x{
  flex:0 0 auto;width:32px;height:32px;padding:0;
  display:flex;align-items:center;justify-content:center;
  border:1px solid #d3d7dc;border-radius:50%;background:#fff;color:#3a4048;cursor:pointer;
}
.jlw-x svg{width:14px;height:14px;display:block;}


.jlw-title{
  width:max-content;max-width:100%;box-sizing:border-box;
  margin:18px auto 0;padding:0 6px 6px;
  border-bottom:5px solid #42935f;
  font-size:21px;line-height:1.4;font-weight:900;letter-spacing:.02em;color:#1d2530;text-align:center;
}


.jlw-lead{margin:28px 0 0;font-size:16px;line-height:1.5;font-weight:800;color:#1d2530;}
.jlw-lead em,.jlw-p em{font-style:italic;font-weight:900;color:#34a155;}
.jlw-lead em{font-size:24px;}
.jlw-p{margin:12px 0 0;font-size:16px;line-height:1.7;font-weight:700;color:#1d2530;}
.jlw-p small{font-size:11px;font-weight:700;}
.jlw-p em{font-style:normal;font-size:24px;line-height:1;}


.jlw-rule{margin:18px 0;border:0;border-top:2px dotted #c3c8cd;height:0;}


.jlw-row{display:flex;align-items:center;gap:20px;}
.jlw-row.is-right{justify-content:flex-end;margin-top:-4px;}
.jlw-chara{flex:0 0 auto;width:96px;height:auto;display:block;user-select:none;-webkit-user-drag:none;}
.jlw-bubble{
  position:relative;flex:0 1 auto;min-width:0;
  padding:16px 24px;
  border:3px solid #34a155;border-radius:16px;background:#fff;
  font-size:16px;line-height:1.3;font-weight:800;color:#1d2530;white-space:nowrap;
}
.jlw-bubble::before{content:"";position:absolute;top:50%;margin-top:-8px;border:8px solid transparent;}
.jlw-row.is-left .jlw-bubble::before{left:-13px;border-left:0;border-right:10px solid #34a155;}
.jlw-row.is-right .jlw-bubble::before{right:-13px;border-right:0;border-left:10px solid #34a155;}


.jlw-go{
  display:block;width:86%;height:46px;margin:0 auto;padding:0;
  border:0;border-radius:999px;
  background:linear-gradient(90deg, #3f7250 0%, #34a155 100%);
  color:#fff;font-family:inherit;font-size:17px;font-weight:900;letter-spacing:.04em;cursor:pointer;
}


@media (max-width:420px){
  .jlw-card{padding:18px 22px 20px;}
  .jlw-lead,.jlw-p{font-size:15px;}
  .jlw-lead em{font-size:22px;}
  .jlw-p em{font-size:22px;}
  .jlw-row{gap:14px;}
  .jlw-chara{width:84px;}
  .jlw-bubble{padding:14px 18px;}
}
@media (max-width:360px){
  .jlw-card{padding:16px 16px 18px;}
  .jlw-row{gap:12px;}
  .jlw-chara{width:72px;}
  .jlw-bubble{padding:12px 14px;font-size:15px;}
}
@media (max-width:340px){
  .jlw-lead,.jlw-p{font-size:13px;}
  .jlw-lead em,.jlw-p em{font-size:19px;}
  .jlw-title{font-size:19px;}
}

@media (max-height:640px){
  .jlw-card{padding-top:14px;padding-bottom:16px;}
  .jlw-title{margin-top:8px;}
  .jlw-lead{margin-top:16px;}
  .jlw-p{margin-top:8px;}
  .jlw-rule{margin:10px 0;}
  .jlw-chara{width:72px;}
  .jlw-row.is-right{margin-top:-2px;}
}
@media (max-height:580px){
  .jlw-card{padding-top:12px;padding-bottom:14px;}
  .jlw-title{margin-top:4px;}
  .jlw-lead{margin-top:10px;}
  .jlw-p{margin-top:6px;}
  .jlw-rule{margin:7px 0;}
  .jlw-chara{width:58px;}
  .jlw-bubble{padding-top:10px;padding-bottom:10px;}
  .jlw-go{height:40px;}
}
