:root { color-scheme: light; }
body { max-width: 46rem; margin: 2.5rem auto; padding: 0 1rem 4rem; color: #172033;
       font-family: system-ui, "Noto Sans JP", sans-serif; line-height: 1.7; }
header { border-bottom: 3px solid #185abc; padding-bottom: .5rem; margin-bottom: 1.5rem; }
header p { margin: 0; color: #5a6675; font-size: .85rem; }
h1 { font-size: 1.35rem; margin: .2rem 0; }
main { padding: 1.5rem; border: 1px solid #b7c0ce; border-radius: .75rem; background: #fff; }
.note { background: #fff8e1; border-left: 4px solid #f0b429; padding: .7rem 1rem; font-size: .9rem; }
label { display: block; font-weight: 700; margin-top: 1.1rem; font-size: .92rem; }
input[type=text], input[type=number], input[type=date], input[type=password], select, textarea {
  width: 100%; padding: .5rem; margin-top: .25rem; border: 1px solid #94a0b0;
  border-radius: .3rem; font: inherit; box-sizing: border-box; }
textarea { min-height: 4.5rem; }
fieldset { margin-top: 1.1rem; border: 1px solid #b7c0ce; border-radius: .4rem; }
legend { font-weight: 700; font-size: .92rem; padding: 0 .4rem; }
.inline { display: flex; gap: 1.2rem; align-items: center; }
.inline label { display: flex; align-items: center; gap: .35rem; margin-top: 0; font-weight: 400; }
.inline input { width: auto; }
button, .btn { display: inline-block; margin-top: 1.5rem; padding: .7rem 1.4rem; border: 0;
  border-radius: .4rem; background: #185abc; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.btn-secondary { background: #5a6675; }
a.btn { text-decoration: none; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; margin-top: 1rem; font-size: .9rem; }
th, td { border: 1px solid #b7c0ce; padding: .45rem .6rem; text-align: left; }
th { background: #eef2f7; }
dl { display: grid; grid-template-columns: 10rem 1fr; gap: .4rem 1rem; margin-top: 1rem; }
dt { font-weight: 700; color: #5a6675; }
dd { margin: 0; }
