/* 大崎市・保護者向けファーストビュー（詳細・原資料はdetailsに完全保存） */
.osaki-readable .method-hero{background:linear-gradient(135deg,#fff9f3 0%,#f0f6fb 100%);border-bottom:1px solid #d4dce2}
.osaki-readable .method-hero .method-wrap{max-width:1110px}
.osaki-readable .method-hero .method-lead,.osaki-readable .method-hero .method-date,.osaki-readable .method-hero .case-banner{display:none}
.osaki-readable .method-hero h1{max-width:940px;margin-bottom:24px;color:#173552}
.osr-hero,.osr-community,.osr-technical{font-family:"Noto Sans JP","Hiragino Sans",sans-serif;color:#1b2d3c}
.osr-hero{position:relative;border:1px solid #d8e0e8;border-left:7px solid #b32729;border-radius:14px;background:#fff;padding:clamp(20px,3vw,34px);box-shadow:0 12px 30px rgba(26,48,70,.08);margin:16px 0 20px}
.osr--caution{--osr-color:#9b6416;--osr-pale:#fff7e8}
.osr--unknown{--osr-color:#5f6e7e;--osr-pale:#f1f4f6}
.osr--critical{--osr-color:#b32729;--osr-pale:#fff2f0}
.osr-hero.osr--caution,.osr-hero.osr--unknown{border-left-color:var(--osr-color)}
.osr-status,.osr-school__status{display:inline-block;font-size:.81rem;font-weight:800;letter-spacing:.025em;color:var(--osr-color);background:var(--osr-pale);border:1px solid currentColor;border-radius:999px;padding:5px 13px}
.osr-status>span{display:inline-grid;place-items:center;border-radius:50%;background:var(--osr-color);color:#fff;font-weight:900;width:1.25em;height:1.25em;line-height:1}
.osr-hero h2{font-size:clamp(1.45rem,3vw,2rem)!important;line-height:1.48;margin:17px 0 14px!important;color:#1b2e40}
.osr-hero__fact{font-size:clamp(1.02rem,1.35vw,1.14rem);line-height:1.95;color:#263c4a;margin:0 0 18px!important}
.osr-action{border:1px solid #e7ccd0;background:linear-gradient(90deg,#fff5f3,#fff);padding:16px 20px;border-radius:9px;margin:15px 0 13px}
.osr-action strong{display:block;color:#9d272b;font-size:.95rem;margin-bottom:4px}
.osr-action p{font-size:1rem;line-height:1.8;margin:0!important}
.osr-source{color:#516677;font-size:.88rem;line-height:1.7;margin:12px 0 5px!important}
.osr-caveat{font-size:.83rem;line-height:1.7;color:#606e7c;margin:10px 0!important}
.osr-inline{display:inline-block;margin-top:10px;font-weight:800;color:#13506f!important}
.osr-community{padding:28px 0 30px;margin:0 0 12px;border-bottom:1px solid #dfe6e8}
.osr-section-kicker{color:#a33330;font-weight:800;letter-spacing:.08em;font-size:.8rem;margin-bottom:9px}
.osr-community>h2{color:#1c3650!important;font-size:clamp(1.4rem,2.5vw,1.85rem)!important;margin:0 0 12px!important;line-height:1.55}
.osr-deck{max-width:790px;color:#4b5d68;font-size:1rem;line-height:1.85}
.osr-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}
.osr-focus{border:1px solid #dee6ed;border-top:4px solid #bd4b3e;border-radius:9px;background:#fff;padding:20px 18px;box-shadow:0 3px 12px rgba(17,40,56,.03)}
.osr-focus strong{display:block;color:#253d50;font-size:1.02rem;line-height:1.6}
.osr-focus p{font-size:.94rem;line-height:1.85;color:#465c68;margin:10px 0 0}
.osr-summary-bar{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:23px 0}
.osr-summary-bar>div{display:flex;align-items:center;gap:14px;background:#f4f8fa;border:1px solid #e1e8ed;border-radius:9px;padding:15px 19px}
.osr-summary-bar strong{color:#193952;font-size:1.65rem;white-space:nowrap}
.osr-summary-bar span{font-size:.9rem;line-height:1.55;color:#4c606c}
.osr-schools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:23px 0}
.osr-school{display:flex;flex-direction:column;align-items:flex-start;gap:7px;border:1px solid #dfe5eb;border-top:5px solid var(--osr-color);border-radius:10px;background:#fff;padding:18px;text-decoration:none!important;min-height:174px;box-shadow:0 3px 14px rgba(27,54,74,.05);transition:transform .15s,box-shadow .15s}
.osr-school:hover,.osr-school:focus-visible{transform:translateY(-2px);box-shadow:0 8px 20px rgba(27,54,74,.15);outline-offset:3px}
.osr-school__status{font-size:.72rem;padding:3px 9px;line-height:1.5}
.osr-school__name{color:#213c51;font-size:1.15rem;line-height:1.6}
.osr-school__focus{color:#405768;line-height:1.7;font-size:.88rem}
.osr-school__link{color:#135373;font-weight:800;font-size:.86rem;margin-top:auto}
.osr-technical{border:2px solid #cbd7e0;border-radius:12px;background:#f8fafc;margin:22px 0 40px;overflow:hidden}
.osr-technical>summary{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:8px 13px;cursor:pointer;background:#e9f1f5;padding:20px 22px;font-size:1.08rem;color:#1b4962}
.osr-technical>summary::-webkit-details-marker{display:none}
.osr-technical>summary strong{font-size:1.08rem}
.osr-technical>summary small{flex-basis:100%;font-size:.84rem;color:#506774;margin-left:35px}
.osr-technical__icon{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#195b77;color:#fff;font-weight:900}
.osr-technical[open]>summary{border-bottom:1px solid #cbd7e0}
.osr-technical>.method-section,.osr-technical>section{background:#fff;padding:22px;margin:0!important;border-bottom:1px solid #d8e0e5}
.osr-technical>p,.osr-technical>div:not(.method-section){margin:16px 22px}
.osr-technical .method-table-wrap{max-width:100%}
.osr-quick{font-weight:800;margin:18px 0 14px}
.osaki-readable .method .method-section:target{scroll-margin-top:110px}
@media(max-width:920px){.osr-schools,.osr-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.osr-hero{padding:18px;border-left-width:5px}.osr-schools,.osr-focus-grid,.osr-summary-bar{grid-template-columns:1fr}.osr-school{min-height:0}.osr-technical>summary{padding:17px}.osr-technical>summary small{margin-left:0}.osr-summary-bar>div{align-items:flex-start}.osr-community{padding-top:22px}.osr-technical>.method-section,.osr-technical>section{padding:15px}}
@media(prefers-reduced-motion:reduce){.osr-school{transition:none}}

/* 大崎市：25校のリンク集より先に市全体の評価と入退会の自由を示す */
.osr-municipal{padding:32px clamp(18px,3.5vw,38px);margin:8px 0 36px;border-radius:16px;border:1px solid #e3d4d3;border-top:8px solid #a91f2e;background:linear-gradient(180deg,#fff9f6 0%,#fff 260px);box-shadow:0 9px 28px rgba(70,49,56,.07);color:#283744}
.osr-municipal-kicker{font-size:.84rem;font-weight:800;color:#a41f2d;letter-spacing:.035em}
.osr-municipal h2{margin:6px 0 12px!important;font-size:clamp(1.5rem,2.4vw,1.95rem)!important;color:#273e4e}
.osr-municipal-lead{font-size:clamp(1.25rem,2.4vw,1.85rem)!important;line-height:1.55!important;color:#a41e2b!important;font-weight:900;margin:8px 0 13px!important}
.osr-municipal-opening{font-weight:700;font-size:1.05rem;line-height:1.85;color:#273d4c;margin:10px 0 20px}
.osr-municipal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 25px}
.osr-municipal-stats>div{background:#fff;border:1px solid #ead9d8;border-radius:9px;padding:16px;display:flex;flex-direction:column;gap:4px;min-width:0}
.osr-municipal-stats strong{font-size:1.9rem;color:#af1e2c;line-height:1.2}
.osr-municipal-stats strong small{font-size:.75rem;color:#677784}
.osr-municipal-stats span{font-size:.84rem;color:#4b5a68;line-height:1.65}
.osr-municipal-prose{background:#fff;border:1px solid #e3e6e8;border-radius:12px;padding:22px clamp(17px,3vw,30px)}
 .osr-municipal-prose p{font-size:1rem;line-height:2;max-width:none;width:100%;color:#2d3e4c;margin:0 0 18px}
.osr-municipal-prose p:last-child{margin-bottom:0}
.osr-municipal-prose-first{font-weight:650}
.osr-municipal-subhead{color:#263c4d!important;font-size:1.3rem!important;margin:30px 0 18px!important}
.osr-municipal-issues{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.osr-municipal-issue{border:1px solid #dbe2e7;border-left:5px solid #b7873b;background:#fff;border-radius:9px;padding:18px 18px 16px}
.osr-municipal-issue:first-child{border-left-color:#b91f30;grid-column:1/-1;background:linear-gradient(90deg,#fff1ef,#fff)}
.osr-municipal-issue-head{display:flex;gap:13px;align-items:flex-start}
.osr-rank{display:grid;place-items:center;flex:none;width:33px;height:33px;background:#b52830;color:#fff;border-radius:50%;font-weight:900}
.osr-municipal-issue h3{font-size:1.09rem!important;line-height:1.55!important;margin:0 0 3px!important;color:#2e3e4c!important}
.osr-issue-status{font-size:.76rem;font-weight:800;color:#9a4c1d}
.osr-municipal-issue p{font-size:.91rem;color:#3a4d5c;line-height:1.84;margin:12px 0 0}
.osr-issue-action{padding:12px 14px;background:#f6f8fa;border-radius:8px;margin-top:12px}
.osr-issue-action strong{color:#195a71;font-size:.83rem}
.osr-issue-action p{margin:3px 0 0}
.osr-municipal-law{margin:23px 0 10px;padding:17px;background:#f4f8fb;border:1px solid #dbe6ed;border-radius:10px}
.osr-municipal-law strong{color:#18516e}
.osr-municipal-law a{display:inline-block;margin-top:8px;text-decoration:underline!important;font-weight:750;color:#1d5c80!important}
.osr-municipal-law span{font-size:.87rem;color:#405665}
.osr-municipal-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.osr-municipal-links a{display:inline-block;border:1px solid #bdcbd3;border-radius:7px;background:#fff;color:#1e5676!important;padding:10px 15px;text-decoration:none!important;font-weight:800;font-size:.91rem}
.osr-municipal-links a:first-child{background:#ae2735;color:#fff!important;border-color:#ae2735}
@media(max-width:900px){.osr-municipal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.osr-municipal{padding:19px 15px;margin:8px 0 24px}.osr-municipal-issues{grid-template-columns:1fr}.osr-municipal-issue:first-child{grid-column:1}.osr-municipal-stats{gap:8px}.osr-municipal-stats>div{padding:12px}.osr-municipal-stats strong{font-size:1.55rem}.osr-municipal-prose{padding:15px}.osr-municipal-prose p{font-size:.94rem;line-height:1.95}}

/* 2026-11-16 大崎市の総合評価は、細い「カード」ではなく幅のある報告書として読む。 */
/* 限定対象は /research/osaki.html。学校別25校の画面には波及させない。 */
body.osaki-overview-open #main.method {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  background: #fff;
}
body.osaki-overview-open #main.method .method-wrap {
  display: block;
  width: min(1340px, calc(100% - 72px)) !important;
  max-width: 1340px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.osaki-overview-open #main.method > .method-hero {
  width: 100% !important;
  max-width: none !important;
  background: linear-gradient(110deg, #faf9f6 0%, #f1f7fb 100%);
  padding: 39px 0 38px !important;
}
body.osaki-overview-open #main.method .method-hero h1 {
  max-width: 1200px !important;
  font-size: clamp(2rem, 3.25vw, 3.15rem) !important;
  line-height: 1.38;
  margin-bottom: 16px !important;
  color: #16374d;
}
body.osaki-overview-open #main.method .osr-hero {
  max-width: 1180px;
  margin: 25px 0 0 !important;
  padding: 0 0 0 25px !important;
  border: 0 !important;
  border-left: 6px solid #b32729 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.osaki-overview-open #main.method .osr-hero h2 {
  max-width: 1110px;
  font-size: clamp(1.75rem, 2.55vw, 2.45rem) !important;
  margin: 18px 0 15px !important;
}
body.osaki-overview-open #main.method .osr-hero__fact,
body.osaki-overview-open #main.method .osr-source,
body.osaki-overview-open #main.method .osr-caveat {
  max-width: 1000px;
}
body.osaki-overview-open #main.method .osr-hero .osr-action {
  max-width: 1050px;
  margin: 18px 0 12px !important;
  padding: 12px 0 12px 17px !important;
  border: 0 !important;
  border-left: 3px solid #b32729 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.osaki-overview-open #main.method > article.method-wrap {
  padding-top: 46px !important;
  padding-bottom: 90px !important;
}
body.osaki-overview-open #main.method .osr-municipal {
  margin: 0 0 58px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.osaki-overview-open #main.method .osr-municipal-kicker {
  padding-top: 17px;
  border-top: 5px solid #b32729;
}
body.osaki-overview-open #main.method .osr-municipal h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem) !important;
  margin-top: 12px !important;
}
body.osaki-overview-open #main.method .osr-municipal-lead {
  max-width: 1100px;
  font-size: clamp(1.35rem, 2.3vw, 2rem) !important;
}
body.osaki-overview-open #main.method .osr-municipal-opening {
  max-width: 1040px;
}
body.osaki-overview-open #main.method .osr-municipal-prose {
  max-width: none;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.osaki-overview-open #main.method .osr-municipal-prose p {
  max-width: none;
  width: 100%;
}
body.osaki-overview-open #main.method .osr-municipal-stats {
  max-width: 1160px;
}
body.osaki-overview-open #main.method .osr-community {
  margin-top: 46px !important;
  border-top: 1px solid #dbe5e9;
}
body.osaki-overview-open #main.method .osr-technical {
  max-width: none;
}
@media (max-width: 900px) {
  body.osaki-overview-open #main.method .method-wrap {
    width: calc(100% - 38px) !important;
  }
  body.osaki-overview-open #main.method > .method-hero {
    padding: 27px 0 28px !important;
  }
  body.osaki-overview-open #main.method .osr-hero {
    padding-left: 18px !important;
    border-left-width: 4px !important;
  }
}
@media (max-width: 650px) {
  body.osaki-overview-open #main.method .method-wrap {
    width: calc(100% - 30px) !important;
  }
  body.osaki-overview-open #main.method .osr-hero {
    padding-left: 14px !important;
  }
  body.osaki-overview-open #main.method > article.method-wrap {
    padding-top: 30px !important;
  }
  body.osaki-overview-open #main.method .osr-municipal {
    margin-bottom: 36px !important;
  }
}

/* 2026-11-16: 総評本文の不自然な右余白を解消 */
body.osaki-overview-open #main.method .osr-municipal-prose {
  width: 100%;
  max-width: none;
  min-width: 0;
}
body.osaki-overview-open #main.method .osr-municipal-prose p {
  width: 100%;
  max-width: none;
  overflow-wrap: anywhere;
}
