:root{
  --navy:#17375f;
  --blue:#075b9a;
  --gold:#a76800;
  --green:#237858;
  --red:#b3332f;
  --paper:#fffef9;
  --ink:#111827;
  --line:#d2cbbd;
  --muted:#55626e;
  --pct:0
}
.page-notice{
  max-width:1440px;
  margin:24px auto 0;
  padding:0 34px
}
.page-notice:empty{
  display:none
}
.page-notice .notice{
  margin-bottom:0
}
@media(max-width:680px){
  .page-notice{
    margin-top:18px;
    padding:0 14px
  }
}
@media print{
  .page-notice{
    padding:0
  }
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:22px
}
body{
  margin:0;
  background:#f1efe7;
  color:var(--ink);
  font:16px/1.78 "Yu Gothic UI","Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif
}
a{
  color:var(--blue);
  text-underline-offset:3px
}
a:hover{
  text-decoration-thickness:2px
}
button,input{
  font:inherit
}
button{
  cursor:pointer;
  border:1px solid #9cabb6;
  border-radius:9px;
  background:#fffefb;
  color:var(--navy);
  padding:7px 14px;
  min-height:42px;
  line-height:1.45
}
button:hover{
  background:#edf4f9
}
button:active{
  transform:translateY(1px)
}
:focus-visible{
  outline:3px solid #bd8625;
  outline-offset:3px
}
button[aria-pressed=true],.languages button[aria-current=true]{
  color:white;
  background:var(--navy);
  border-color:var(--navy)
}
h1,h2,h3,p{
  margin-top:0
}
h2{
  font-size:23px;
  line-height:1.5;
  color:var(--navy)
}
h3{
  font-size:18px;
  line-height:1.6;
  color:var(--navy)
}
.skip-link{
  position:absolute;
  top:-80px;
  left:12px;
  background:white;
  padding:10px;
  z-index:30
}
.skip-link:focus{
  top:8px
}
.utility{
  max-width:1440px;
  margin:auto;
  min-height:68px;
  padding:12px 130px 12px 34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px
}
.languages{
  display:flex;
  gap:7px
}
.languages button{
  font-size:14px;
  white-space:nowrap
}
.guide-return{
  font-weight:700;
  font-size:14px
}
.masthead{
  background:linear-gradient(110deg,#17375f,#1d3f6b);
  color:white;
  border-top:1px solid #345576;
  border-bottom:4px solid #b49252
}
.masthead-inner{
  max-width:1440px;
  margin:auto;
  padding:32px 34px 27px
}
h1{
  font-family:"Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif;
  font-size:55.2px;
  line-height:1.4;
  letter-spacing:.025em;
  margin:0 0 8px;
  font-weight:700;
  overflow-wrap:anywhere
}
html[lang=en] h1{
  font-size:52px;
  letter-spacing:0
}
.edition{
  margin:0;
  font-size:14px;
  color:#e1e9f0
}
.category-nav{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:0;
  background:#fffef9;
  border-bottom:1px solid #c4c6c3;
  padding:8px 16px
}
.category-nav a{
  padding:9px 20px;
  text-decoration:none;
  font-weight:700;
  border-radius:8px
}
.category-nav a[aria-current=page]{
  background:var(--navy);
  color:white
}
.action-bar{
  max-width:1440px;
  margin:0 auto;
  padding:10px 98px 10px 34px;
  display:flex;
  justify-content:flex-end;
  border-bottom:1px solid #c7bfae
}
.page-shell{
  max-width:1440px;
  margin:28px auto 0;
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:34px;
  padding:0 34px
}
.sidebar{
  min-width:0
}
.sidebar>details{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px 17px;
  position:sticky;
  top:20px
}
.sidebar summary{
  font-size:19px;
  font-weight:700;
  color:var(--navy);
  cursor:pointer
}
.sidebar nav{
  display:grid;
  margin-top:10px
}
.sidebar a{
  padding:8px 2px;
  border-bottom:1px solid #e6e0d4;
  font-size:14px;
  line-height:1.65;
  text-decoration:none;
  overflow-wrap:anywhere
}
.sidebar a:last-child{
  border-bottom:0
}
main{
  min-width:0;
  outline:none
}
.progress-panel{
  padding:22px 25px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:15px;
  margin-bottom:20px
}
.progress-heading{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:15px
}
.progress-heading h2{
  font-size:20px;
  margin-bottom:9px
}
.progress-heading span{
  color:var(--green);
  font-weight:700;
  white-space:nowrap
}
.progress-track{
  height:12px;
  background:#e3dfd3;
  border-radius:8px;
  overflow:hidden
}
.progress-track>div{
  height:100%;
  width:0;
  background:linear-gradient(90deg,#328867,#237858);
  border-radius:8px;
  transition:width .35s ease
}
.progress-panel p{
  margin:9px 0 13px;
  font-size:13px;
  color:var(--muted)
}
.tools{
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.tools button{
  font-size:14px
}
.tools .quiet{
  margin-left:auto;
  color:#5d5550
}
.progress-orb{
  position:fixed;
  top:10px;
  right:18px;
  width:72px;
  height:72px;
  border-radius:50%;
  background:conic-gradient(var(--green) calc(var(--pct)*1%),#d9d9cc 0);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  box-shadow:0 2px 7px #122d4320;
  z-index:20;
  isolation:isolate
}
.progress-orb:before{
  content:"";
  position:absolute;
  inset:6px;
  border-radius:50%;
  background:var(--paper);
  z-index:-1
}
.progress-orb strong{
  font-size:20px;
  line-height:1.2;
  color:var(--green)
}
.progress-orb strong span{
  font-size:11px
}
.progress-orb small{
  font-size:9px;
  line-height:1.4;
  font-weight:700;
  color:var(--navy)
}
.search-panel{
  margin:0 0 30px
}
.search-panel h2{
  font-size:20px;
  margin-bottom:8px
}
.search-panel label{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:4px
}
.search-controls{
  display:flex;
  gap:8px;
  align-items:stretch
}
.search-controls input{
  background:white;
  color:var(--ink);
  min-height:46px;
  padding:9px 13px;
  border:1px solid #9cabb6;
  border-radius:9px;
  min-width:0;
  width:100%
}
.search-controls button{
  flex:0 0 auto;
  font-size:14px
}
#search-results{
  margin-top:14px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px 18px
}
#search-results>p{
  margin:0 0 8px;
  font-size:14px
}
.search-list{
  list-style:none;
  margin:0;
  padding:0
}
.search-list li{
  padding:12px 0;
  border-top:1px solid #e3ddcf
}
.search-list a{
  font-weight:700
}
.result-category{
  display:block;
  font-size:12px;
  color:var(--gold);
  font-weight:700
}
.result-context{
  font-size:14px;
  margin:4px 0 0;
  overflow-wrap:anywhere
}
mark{
  background:#fff0b9;
  color:inherit
}
.notice{
  padding:20px 24px;
  border:1px solid #c2af87;
  border-radius:14px;
  background:#fffbec;
  margin:0 0 24px
}
.notice h2{
  font-size:20px;
  color:#785018;
  margin:0 0 8px
}
.notice p:last-child{
  margin-bottom:0
}
.notice ul{
  margin:0;
  padding-left:1.4em
}
.section-heading{
  margin:36px 0 15px;
  border-bottom:2px solid #b99859;
  padding-bottom:9px
}
.section-intro{
  margin-bottom:16px
}
.chart-controls{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:25px 0 18px
}
.chart-controls button{
  font-size:14px
}
.chart-controls span{
  color:var(--muted);
  font-size:13px;
  margin-right:auto
}
.chapter{
  margin-bottom:28px
}
.chapter>summary{
  cursor:pointer;
  list-style:none;
  background:#e2e9ef;
  border:1px solid #b8c5ce;
  border-radius:12px;
  padding:15px 18px;
  color:var(--navy);
  font-weight:700;
  font-size:20px;
  line-height:1.6;
  position:relative;
  padding-right:42px
}
.chapter>summary::-webkit-details-marker{
  display:none
}
.chapter>summary:after{
  content:"＋";
  position:absolute;
  right:15px;
  top:15px
}
.chapter[open]>summary:after{
  content:"−"
}
.chapter .chapter-note{
  font-size:14px;
  color:#4d5b66;
  margin:14px 3px
}
.steps{
  display:grid;
  gap:13px;
  margin-top:15px
}
.step{
  position:relative;
  padding:21px 23px 19px;
  background:var(--paper);
  border:1px solid #c8c5b7;
  border-radius:14px;
  scroll-margin-top:20px
}
.step-title{
  display:flex;
  align-items:flex-start;
  gap:11px
}
.step-title input,.check-cell input{
  accent-color:var(--green);
  width:21px;
  height:21px;
  flex:0 0 21px;
  margin:4px 0;
  cursor:pointer
}
.step-title label{
  cursor:pointer;
  font-weight:700;
  font-size:18px;
  color:var(--navy);
  line-height:1.65
}
.step .badge{
  display:inline-block;
  border:1px solid #b6975d;
  color:#875b1d;
  background:#fff4d9;
  border-radius:5px;
  padding:1px 6px;
  font-size:11px;
  vertical-align:middle;
  margin-left:8px
}
.step ol,.step ul{
  margin:12px 0 0;
  padding-left:1.5em
}
.step li{
  padding:2px 0 5px
}
.step p{
  margin:11px 0 0
}
.related{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-top:13px;
  font-size:13px
}
.step.checked{
  border-color:#5e9e80;
  background:#f9fdf8;
  padding-bottom:58px
}
.stamp{
  display:none;
  position:absolute;
  right:15px;
  bottom:12px;
  color:var(--red);
  border:2px solid currentColor;
  border-radius:4px;
  width:62px;
  height:31px;
  line-height:25px;
  text-align:center;
  font-weight:900;
  font-size:17px;
  letter-spacing:.08em;
  background:repeating-linear-gradient(0deg,#fffef900 0 3px,#fffef980 3px 4px);
  font-family:"Yu Gothic","Meiryo",sans-serif;
  transform:none;
  pointer-events:none
}
.checked>.stamp{
  display:block
}
.just-completed{
  animation:complete-response .6s ease
}
.just-completed>.stamp{
  animation:stamp-response .38s ease
}
.table-section{
  margin:0 0 35px;
  scroll-margin-top:20px
}
.table-note{
  font-size:14px;
  color:var(--muted);
  margin-bottom:10px
}
.table-wrap{
  overflow-x:auto;
  border:1px solid #c6c1b5;
  border-radius:12px;
  background:var(--paper);
  overscroll-behavior-x:contain;
  max-width:100%
}
table{
  border-collapse:collapse;
  width:100%;
  min-width:760px;
  font-size:14px;
  line-height:1.7
}
caption{
  text-align:left;
  padding:15px 16px;
  font-weight:700;
  color:var(--navy);
  font-size:17px;
  background:#e7edf0
}
th{
  background:#e7edf0;
  color:var(--navy);
  text-align:left;
  font-size:13px;
  font-weight:700
}
th,td{
  padding:13px 14px;
  border-bottom:1px solid #ded8ca;
  vertical-align:top;
  overflow-wrap:anywhere
}
thead th{
  border-bottom:2px solid #adbac1
}
tbody th{
  background:transparent;
  min-width:135px;
  width:18%;
  font-size:14px
}
tbody tr:nth-child(even){
  background:#f8f6ef
}
tbody tr:last-child>*{
  border-bottom:0
}
tbody tr.checked{
  background:#edf7ee
}
td.check-cell{
  width:94px;
  min-width:94px;
  text-align:center;
  position:relative;
  padding-bottom:12px
}
.check-cell label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:38px
}
.check-cell .stamp{
  position:static;
  display:none;
  width:48px;
  height:25px;
  font-size:12px;
  line-height:20px;
  margin:7px auto 0
}
.checked>.check-cell .stamp{
  display:block
}
td a{
  font-weight:700
}
.table-wrap:focus-visible{
  outline-offset:4px
}
.save-notice{
  background:#fff1db;
  border:1px solid #bc9462;
  border-radius:12px;
  padding:15px 18px;
  margin-bottom:20px
}
.save-notice p{
  font-size:14px;
  margin:0 0 10px
}
.save-notice button{
  font-size:14px
}
.read-card{
  background:var(--paper);
  padding:22px 24px;
  border:1px solid var(--line);
  border-radius:14px;
  margin-bottom:14px
}
.read-card h3{
  margin-bottom:10px
}
.read-card p:last-child{
  margin-bottom:0
}
.page-end{
  color:var(--muted);
  font-size:13px;
  margin:30px 0
}
footer{
  max-width:1440px;
  margin:35px auto 0;
  padding:26px 34px 96px;
  display:flex;
  gap:20px;
  justify-content:space-between;
  border-top:1px solid #c7bfae
}
#back-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:46px;
  height:46px;
  min-height:46px;
  border:1px solid #254a70;
  border-radius:50%;
  padding:0;
  color:white;
  background:var(--navy);
  font-size:25px;
  line-height:44px;
  box-shadow:0 2px 7px #17375f25;
  z-index:20
}
#back-top:hover{
  background:#28557d
}
.sr-only{
  position:absolute!important;
  width:1px;
  height:1px;
  clip:rect(0,0,0,0);
  overflow:hidden;
  white-space:nowrap
}
.hash-focus{
  box-shadow:0 0 0 3px #b9954b80
}
noscript{
  display:block;
  margin:20px;
  padding:20px;
  background:white
}
@keyframes stamp-response{
  0%{
    opacity:0;
    scale:1.2
  }
  70%{
    opacity:1;
    scale:.97
  }
  100%{
    scale:1
  }
}
@keyframes complete-response{
  0%{
    box-shadow:0 0 0 0 #3c9e6360
  }
  70%{
    box-shadow:0 0 0 5px #3c9e6300
  }
  100%{
    box-shadow:0 0 0 0 transparent
  }
}
@media(max-width:900px){
  .page-shell{
    grid-template-columns:210px minmax(0,1fr);
    gap:22px;
    padding:0 23px
  }
  .utility,.masthead-inner{
    padding-left:23px
  }
  .category-nav a{
    padding:8px 13px
  }
  h1{
    font-size:42px
  }
  html[lang=en] h1{
    font-size:40px
  }
}
@media(max-width:680px){
  body{
    font-size:16px
  }
  .utility{
    padding:10px 88px 10px 15px;
    gap:8px;
    flex-wrap:wrap;
    min-height:90px;
    align-content:center
  }
  .utility .guide-return{
    font-size:12px
  }
  .languages{
    gap:5px
  }
  .languages button{
    padding:6px 11px;
    min-height:34px;
    font-size:12px
  }
  .progress-orb{
    width:58px;
    height:58px;
    top:13px;
    right:15px
  }
  .progress-orb:before{
    inset:5px
  }
  .progress-orb strong{
    font-size:17px
  }
  .progress-orb small{
    font-size:8px
  }
  .masthead-inner{
    padding:23px 16px 21px
  }
  h1{
    font-size:27.3px;
    line-height:1.48;
    margin-bottom:8px
  }
  html[lang=en] h1{
    font-size:28.8px;
    line-height:1.4
  }
  .edition{
    font-size:11px;
    line-height:1.65
  }
  .category-nav{
    padding:7px 8px;
    gap:3px
  }
  .category-nav a{
    font-size:12px;
    padding:7px 9px;
    line-height:1.6
  }
  .page-shell{
    display:block;
    margin-top:18px;
    padding:0 14px
  }
  .sidebar{
    margin-bottom:19px
  }
  .sidebar>details{
    position:static;
    padding:12px 16px
  }
  .sidebar summary{
    font-size:17px
  }
  .sidebar nav{
    grid-template-columns:1fr;
    gap:0
  }
  .sidebar a{
    font-size:13px;
    padding:8px 0
  }
  .progress-panel{
    padding:17px 17px;
    margin-bottom:18px
  }
  .progress-heading h2{
    font-size:18px
  }
  .progress-heading span{
    font-size:13px
  }
  .progress-panel p{
    font-size:12px
  }
  .tools{
    gap:6px
  }
  .tools button{
    font-size:12px;
    min-height:38px;
    padding:7px 10px
  }
  .tools .quiet{
    margin-left:0
  }
  .search-panel{
    margin-bottom:24px
  }
  .search-panel h2{
    font-size:18px
  }
  .search-controls{
    gap:6px
  }
  .search-controls button{
    font-size:12px;
    padding:8px 10px
  }
  .search-panel label{
    font-size:12px
  }
  #search-results{
    padding:11px 13px
  }
  .notice{
    padding:17px 18px
  }
  .notice h2{
    font-size:18px
  }
  .notice li{
    font-size:14px;
    padding-bottom:7px
  }
  .section-heading{
    font-size:21px;
    margin-top:28px
  }
  .chart-controls{
    gap:6px
  }
  .chart-controls span{
    width:100%;
    font-size:12px
  }
  .chart-controls button{
    font-size:12px;
    padding:7px 11px
  }
  .chapter>summary{
    font-size:18px;
    padding:13px 39px 13px 15px
  }
  .chapter>summary:after{
    right:12px;
    top:13px
  }
  .chapter .chapter-note{
    font-size:13px
  }
  .steps{
    gap:11px;
    margin-top:12px
  }
  .step{
    padding:17px 17px 16px
  }
  .step-title{
    gap:9px
  }
  .step-title label{
    font-size:16px
  }
  .step-title input{
    width:20px;
    height:20px;
    flex-basis:20px
  }
  .step ol,.step ul{
    padding-left:1.25em;
    margin-top:11px
  }
  .step li{
    padding-bottom:7px;
    font-size:15px
  }
  .step .badge{
    font-size:10px
  }
  .related{
    font-size:12px;
    gap:6px 13px
  }
  .step.checked{
    padding-bottom:56px
  }
  .stamp{
    right:13px;
    bottom:12px
  }
  .read-card{
    padding:18px
  }
  .table-wrap{
    border-radius:10px
  }
  table{
    font-size:13px;
    min-width:740px
  }
  caption{
    font-size:15px
  }
  th,td{
    padding:12px
  }
  .table-note{
    font-size:13px
  }
  footer{
    margin-top:25px;
    padding:22px 18px 96px;
    display:grid;
    gap:12px
  }
  .page-end{
    font-size:12px
  }
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  *,*:before,*:after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media print{
  body{
    background:white;
    font-size:11pt;
    color:#111
  }
  .utility,.category-nav,.action-bar,.sidebar,.search-panel,.tools,.progress-orb,#back-top,.save-notice,.chart-controls,.related,.skip-link{
    display:none!important
  }
  .masthead{
    background:white;
    color:#111;
    border-bottom:2px solid #333
  }
  .masthead-inner{
    padding:0 0 12px
  }
  .edition{
    color:#333
  }
  h1,html[lang=en] h1{
    font-size:26pt
  }
  .page-shell{
    display:block;
    margin:15px 0 0;
    padding:0
  }
  .progress-panel{
    padding:12px
  }
  .step,.read-card,.notice{
    break-inside:avoid;
    box-shadow:none
  }
  .chapter>summary{
    display:block
  }
  .table-wrap{
    overflow:visible;
    border:0
  }
  table{
    min-width:0;
    font-size:9pt
  }
  th,td{
    padding:6px
  }
  thead{
    display:table-header-group
  }
  tr{
    break-inside:avoid
  }
  .step input,.check-cell input{
    print-color-adjust:exact
  }
  .checked,.stamp{
    print-color-adjust:exact
  }
  .checked{
    background:#f3f7f1!important
  }
  .stamp{
    border-color:#b3332f
  }
  .category-nav{
    display:none
  }
  footer{
    padding:15px 0 0;
    margin-top:20px
  }
  .guide-return{
    color:#222
  }
  a{
    color:#111
  }
  body{
    margin:15mm
  }
  details:not([open])>summary~*{
    display:block!important
  }
}
.page-shell {
  padding-right: 98px;
}
.page-notice {
  padding-right: 98px;
}
.masthead-inner {
  padding-right: 98px;
}
footer {
  padding-right: 98px;
}
#back-top {
  background: #fffef9;
  color: #17375f;
  border-color: #b5b6ab;
}
#back-top:hover {
  background: #e9eef2;
}
caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 680px) {
  .page-shell, .page-notice {
    padding-right: 78px;
  }
  .masthead-inner {
    padding-right: 80px;
  }
  .category-nav {
    padding-right: 72px;
  }
  footer {
    padding-right: 82px;
  }
}
@media print {
  .page-shell, .page-notice, .masthead-inner, footer {
    padding-right: 0;
  }
}

.table-wrap thead th { background: #17375f; color: #ffffff; }
@media(max-width:680px) {
  .step li { font-size: 16px; }
  .category-nav a { min-height: 42px; font-size: 13px; }
  .action-bar { padding: 8px 78px 8px 14px; }
}
