
/* /ad/ 共通スタイル。既存 www.greentechnology.blue のデザインに合わせている。
   ダークモードの指定は持たない（既存サイトが持たないため、見た目を揃える）。 */
:root{
  --brand:#004831;        /* ブランドグリーン。白地に対して 10.9:1 */
  --brand-dark:#00301f;
  --brand-pale:#e7f7f2;
  --ink:#333333;          /* 白地に対して 12.6:1 */
  --muted:#6c757d;        /* 白地に対して  4.7:1 */
  --band:#e9ecef;
  --section:#f5f5f5;
  --line:#dee2e6;
  --line-2:#adb5bd;
  --bg:#ffffff;
  --warn:#a8331f;         /* 白地に対して 6.6:1 */
  --ok:#1f6b34;           /* 白地に対して 5.6:1 */
  --header-h:113px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--header-h) + 1rem)}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  font-size:16px;line-height:1.7;font-weight:400;
}
a{color:var(--brand)}
a:hover{text-decoration:none}
a:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.skip{position:absolute;left:-9999px}
.skip:focus{position:static;display:block;padding:.5rem;background:var(--band)}
.outer{max-width:1160px;margin:0 auto;padding:0 15px}
.inner{max-width:960px;margin:0 auto;padding:0 15px}

/* ---- ヘッダー：既存サイトと同じ。白・固定・影。ロゴ左、右上に緑ボタン2つ、その下にナビ ---- */
header.gtb{position:sticky;top:0;z-index:1030;background:#fff;box-shadow:rgba(0,0,0,.1) 0 0 10px 3px}
header.gtb .bar{max-width:1160px;margin:0 auto;display:flex;align-items:flex-start;gap:1rem;padding:0 0 0 15px}
header.gtb .brand{display:block;padding:8px 0}
header.gtb .brand img{display:block;width:264px;height:92px;max-width:52vw;height:auto}
header.gtb .right{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:.55rem}
header.gtb .cta{display:flex}
header.gtb .cta a{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  background:var(--brand);color:#fff;text-decoration:none;
  font-size:16px;font-weight:700;padding:8px 24px;min-width:174px;height:42px;border-radius:0;
  border-left:1px solid rgba(255,255,255,.45);
}
header.gtb .cta a:first-child{border-left:0}
header.gtb .cta a:hover{background:var(--brand-dark)}
header.gtb .cta svg{width:20px;height:20px;flex:none;fill:none;stroke:#fff;stroke-width:1.7}
header.gtb nav.sec ul{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.15rem 1.4rem;list-style:none;margin:0;padding:.55rem 15px .8rem 0;font-size:16px;font-weight:700}
header.gtb nav.sec a{color:#000;text-decoration:none;padding:2px 0}
header.gtb nav.sec a:hover{color:var(--brand)}
header.gtb nav.sec [aria-current="page"]{color:var(--brand);border-bottom:2px solid var(--brand)}
header.gtb nav.sec .soon{color:var(--muted);font-weight:400}
header.gtb nav.sec .soon::after{content:"（準備中）";font-size:.82em}
header.gtb nav.sec .corp{font-weight:400;font-size:.85em;color:var(--muted)}

/* ---- パンくず帯：既存サイトと同じ #e9ecef ---- */
.crumb{background:var(--band);color:var(--ink)}
.crumb ol{max-width:1160px;margin:0 auto;list-style:none;display:flex;flex-wrap:wrap;gap:.3rem;padding:12px 15px;font-size:14px;line-height:1.5}
.crumb a{color:var(--ink)}
.crumb li+li::before{content:">";margin-right:.3rem;color:var(--muted)}

/* ---- ページ見出しの帯：既存サイトの下層ページと同じ構造（白抜きのh1） ---- */
.pagehead{background:var(--brand);color:#fff;padding:44px 0}
.pagehead h1{font-size:40px;font-weight:700;line-height:1.2;margin:0;color:#fff}
.pagehead .h1sub{font-size:16px;margin:.7rem 0 0;color:rgba(255,255,255,.92)}

main{padding:2.5rem 0 3.5rem}
h2{font-size:32px;font-weight:700;line-height:1.4;margin:2.8rem 0 1rem;color:var(--ink)}
h3{font-size:24px;font-weight:700;line-height:1.4;margin:2.2rem 0 .7rem;color:var(--ink)}
p{margin:0 0 1.1rem}
ul,ol{margin:0 0 1.2rem;padding-left:1.6rem}
li{margin-bottom:.45rem}
code{font-family:ui-monospace,Consolas,monospace;font-size:.9em;background:var(--section);padding:.05em .3em;word-break:break-all}
strong{font-weight:700}

/* 一言でいうと */
.lede{background:var(--brand-pale);border-left:5px solid var(--brand);padding:1.1rem 1.3rem;margin:0 0 2rem}
.lede h2{border:0;margin:0 0 .5rem;font-size:14px;font-weight:700;color:var(--brand);letter-spacing:.1em}
.lede p{margin:0 0 .7rem}
.lede p:last-child{margin:0}

/* 表 */
.tablewrap{overflow-x:auto;margin:0 0 1.8rem;border:1px solid var(--line)}
table{border-collapse:collapse;width:100%;font-size:16px;background:#fff}
caption{text-align:left;font-size:16px;color:var(--brand);font-weight:700;padding:.7rem .8rem;background:var(--brand-pale);border-bottom:1px solid var(--line)}
th,td{border:1px solid var(--line);padding:.6rem .75rem;text-align:left;vertical-align:top;line-height:1.7}
thead th{background:var(--section);font-size:16px;font-weight:700}
tbody th{background:#fbfbfa;font-weight:700}
table.narrow{min-width:640px}
table.mid{min-width:820px}
table.widest{min-width:1000px}

/* できること／できないこと */
.twocol{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);margin:0 0 1.8rem}
.twocol>div{padding:1rem 1.1rem}
.twocol>div+div{border-left:1px solid var(--line)}
.twocol .bh{margin:0 0 .55rem;font-size:16px;font-weight:700}
.twocol ul{margin:0;padding-left:1.3rem;font-size:16px}
.can .bh::before{content:"○ ";color:var(--ok);font-weight:700}
.cannot .bh::before{content:"× ";color:var(--warn);font-weight:700}

/* 注意・重要 */
.box{border:1px solid var(--line);border-left:5px solid var(--line-2);background:var(--section);padding:1.05rem 1.25rem;margin:0 0 1.8rem;font-size:16px}
.box.warn{border-left-color:var(--warn)}
.box.warn>.bh::before{content:"要注意：";color:var(--warn);font-weight:700}
.box.undecided{border-left:5px dashed var(--muted)}
.box.undecided>.bh::before{content:"決着していない論点：";color:var(--muted);font-weight:700}
.box>:last-child{margin-bottom:0}
.box .bh{margin:0 0 .55rem;font-weight:700;font-size:16px}
.box ul,.box ol{margin-bottom:.6rem}

/* 引用（原文） */
blockquote{margin:0 0 1.2rem;padding:.85rem 1.1rem;border-left:4px solid var(--brand);background:var(--brand-pale);font-size:16px;overflow-wrap:anywhere}
blockquote p{margin:0 0 .5rem}
blockquote p:last-child{margin:0}
blockquote cite{display:block;font-style:normal;font-size:16px;color:#585f66;margin-top:.5rem}
.orig{font-family:ui-monospace,Consolas,monospace;font-size:16px;line-height:1.8;word-break:break-word;overflow-wrap:break-word}

/* 確認点 */
.asks{counter-reset:ask;list-style:none;padding:0}
.asks>li{counter-increment:ask;border:1px solid var(--line);border-top:3px solid var(--brand);padding:1rem 1.1rem;margin-bottom:1rem;background:#fff}
.asks>li::before{content:"確認点 " counter(ask);display:block;font-size:12px;color:var(--brand);font-weight:700;letter-spacing:.08em;margin-bottom:.4rem}
.asks .q{font-weight:700;font-size:17px;margin:0 0 .7rem;line-height:1.6}
.asks dl{margin:0;font-size:16px}
.asks dt{font-weight:700;color:var(--brand);font-size:16px;margin-top:.6rem}
.asks dd{margin:.1rem 0 0}
.asks dt.danger{color:var(--warn)}

/* 出典 */
ol.sources{font-size:16px;padding-left:1.5rem}
ol.sources li{margin-bottom:.9rem}
ol.sources .s-pub{display:block;font-weight:700}
ol.sources .s-title{display:block}
ol.sources .s-meta{display:block;color:var(--muted);font-size:.95em}
ol.sources .s-url{display:block;font-family:ui-monospace,Consolas,monospace;font-size:.9em;word-break:break-all}

/* 関連ページ */
.seealso{background:var(--section);border-top:3px solid var(--brand);padding:1.2rem 1.3rem;margin-top:2.5rem;font-size:16px}
.seealso h2{margin:0 0 .6rem;font-size:18px}
.seealso ul{list-style:none;padding:0;margin:0;display:grid;gap:.4rem}
.seealso li::before{content:"→ ";color:var(--brand);font-weight:700}

.updated{margin-top:2.5rem;padding-top:1rem;border-top:1px solid var(--line);font-size:16px;color:var(--muted)}
.printnote{font-size:16px;color:var(--muted)}
.na{color:var(--muted);font-style:italic;white-space:nowrap}
.todo{color:var(--muted);border:1px dashed var(--line-2);padding:.05em .4em;font-size:.9em}
small{font-size:.82em;color:var(--muted);font-weight:400}

/* ---- フッター：既存サイトと同じ ---- */
footer.gtb{border-top:1px solid var(--line);padding:24px 0;font-size:16px;color:var(--ink)}
footer.gtb a{color:var(--ink)}
footer.gtb .fnav{display:flex;flex-wrap:wrap;gap:1.2rem;margin:0 0 .8rem;padding:0;list-style:none}
footer.gtb .policy{font-size:16px;color:var(--muted);margin:0 0 .8rem;max-width:960px}
footer.gtb .copy{margin:0;font-size:16px}

@media (max-width:900px){
  :root{--header-h:150px}
  .pagehead h1{font-size:28px}
  h2{font-size:24px}
  h3{font-size:19px}
  header.gtb .bar{flex-wrap:wrap;padding-bottom:.2rem}
  header.gtb .right{width:100%;align-items:stretch}
  header.gtb .cta a{flex:1;min-width:0;padding:8px 10px;font-size:14px}
  header.gtb nav.sec ul{justify-content:flex-start;padding-left:15px;font-size:16px;gap:.15rem .9rem}
  .twocol{grid-template-columns:1fr}
  .twocol>div+div{border-left:0;border-top:1px solid var(--line)}
}

/* 印刷：会議に持ち込む前提 */
@media print{
  :root{--brand:#000;--brand-pale:#fff;--section:#fff;--band:#fff;--ink:#000;--muted:#333;--line:#999;--line-2:#555}
  body{font-size:9.5pt;line-height:1.6;background:#fff}
  header.gtb,.crumb,.printnote,.seealso{display:none}
  .pagehead{background:#fff;color:#000;padding:0 0 .5rem;border-bottom:2px solid #000}
  .pagehead h1{color:#000;font-size:18pt}
  .pagehead .h1sub{color:#000}
  .outer,.inner{max-width:none;padding:0}
  a{text-decoration:none;color:#000}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:7.5pt;color:#333;word-break:break-all}
  ol.sources .s-url{word-break:break-all}
  .tablewrap{overflow:visible}
  table{font-size:8pt}
  table.narrow,table.mid,table.widest{min-width:0}
  tr,.asks>li,blockquote,.box{page-break-inside:avoid}
  h2,h3{page-break-after:avoid}
  thead{display:table-header-group}
  footer.gtb{border-top:1px solid #999}
}

.fig{margin:0 0 1.8rem;border:1px solid #dee2e6;background:#fff}
.fig svg{display:block;width:100%;height:auto}
.fig figcaption{font-size:16px;color:#4a4945;padding:.7rem .8rem;background:#f5f5f5;border-top:1px solid #dee2e6;line-height:1.7}
.fig .t{font-family:"Noto Sans JP",sans-serif;fill:#333333}
.fig .tb{font-family:"Noto Sans JP",sans-serif;fill:#333333;font-weight:700}
.fig .tw{font-family:"Noto Sans JP",sans-serif;fill:#ffffff;font-weight:700}
.fig .tm{font-family:"Noto Sans JP",sans-serif;fill:#6c757d}
@media print{.fig{page-break-inside:avoid}}
