/* どうぐばこ ｜ 先生むけの「つかいかた」ページ 共通のみため
   ・子どもが使うアプリ画面とは別物。こちらは読みもの。
   ・アプリ側は1ファイル完結だが、このページは10枚あるので CSS を外に出している。 */
:root{
  --bg:#ffffff; --ink:#1f2328; --sub:#5b636d; --line:#dde2e8;
  --accent:#0b6bcb; --accent-bg:#eaf2fc; --soft:#f6f8fa;
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--bg); color:var(--ink);
  font-family:"UD デジタル教科書体 NP-R","BIZ UDPGothic","Yu Gothic UI","Hiragino Sans",sans-serif;
  line-height:1.8; -webkit-text-size-adjust:100%;
}
.wrap{max-width:760px;margin:0 auto;padding:0 20px}

header{background:var(--accent);color:#fff;padding:30px 0 26px;margin-bottom:30px}
header p.crumb{margin:0 0 6px;font-size:14px;opacity:.9}
header p.crumb a{color:#fff}
h1{font-size:26px;margin:0;letter-spacing:.02em;font-weight:600;line-height:1.5}

h2{font-size:20px;margin:40px 0 14px;font-weight:600;
   padding-bottom:9px;border-bottom:2px solid var(--line)}
h3{font-size:17px;margin:26px 0 8px;font-weight:600}

p{font-size:16px;margin:0 0 14px}
.lead{font-size:16.5px;line-height:1.85}

.open{
  display:block;border:2px solid var(--accent);border-radius:14px;background:var(--accent-bg);
  padding:18px 22px;text-decoration:none;color:inherit;margin:26px 0;
}
.open b{font-size:19px;color:var(--accent)}
.open span{display:block;font-size:15px;color:var(--sub);margin-top:4px}

table{border-collapse:collapse;width:100%;font-size:15.5px;margin:0 0 14px}
th,td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
th{background:var(--soft);font-weight:600}
th.step{white-space:nowrap;width:7.5em}

.note{background:var(--soft);border-radius:12px;padding:16px 20px;font-size:15px;color:var(--sub);margin:0 0 14px}

ul{padding-left:1.3em;margin:0 0 14px}
li{margin-bottom:6px;font-size:16px}

.others{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.others li{margin:0}
.others a{
  display:inline-block;font-size:14px;text-decoration:none;color:var(--sub);
  border:1px solid var(--line);border-radius:999px;padding:5px 13px;background:var(--soft);
}
.others a:hover,.others a:focus-visible{border-color:var(--accent);color:var(--accent);background:var(--accent-bg)}

footer{margin-top:50px;border-top:2px solid var(--line);
       padding:22px 0 44px;font-size:14px;color:var(--sub)}
a{color:var(--accent)}

@media (max-width:480px){
  h1{font-size:22px}
  th.step{width:auto}
}
