@media (prefers-color-scheme: dark) {
  body {
    background-color: #000;
    color: #888;
  }
  A:link { color: #FFFFFF; }
  A:visited { color: #00FF00; }
}

@media (prefers-color-scheme: light) {
  body {
    background-color: #EFEFEF;
    color: #000;
  }
  A:link { color: #000000; }
  A:visited { color: #00FF00; }
}

body
    {
     margin:0px;          /* ページ全体のmargin */
     padding:0px;         /* ページ全体のpadding */
     text-align:center;   /* 下記のautoに未対応用のセンタリング */
    }
#global
    {
     margin-top:5mm;
     margin-left:auto;    /* 左側マージンを自動的に空ける */
     margin-right:auto;   /* 右側マージンを自動的に空ける */
     text-align:left;     /* 中身を左側表示に戻す */
     width:350mm;        /* 幅を決定する */
    }

.top  {
     text-align:center;          /* IE用の中央寄せ */
     width:850px;                /* 幅 */
}

.box1 {
 border-style:solid;
 border-width:1px;
 border:solid 1px #008000;
}
.base {
    height: auto;
}
.normal {
    font-size:9pt;
    font-weight:normal;
    margin-top:0.5mm;
    margin-bottom:0.5mm;
    margin-left:0.5mm;
    margin-right:0.5mm;
}
.bold {
    font-size:9pt;
    font-weight:bold;
    margin-top:0.5mm;
    margin-bottom:0.5mm;
    margin-left:0.5mm;
    margin-right:0.5mm;
}
.caption {
    font-size:9pt;
    font-weight:bolder;
    color: #000000;
    margin-top:0.5mm;
    margin-bottom:0.5mm;
    margin-left:0.5mm;
    margin-right:0.5mm;
    height: auto;
}
.titlebox {
    border-width:1px; border-color:rgb(0,204,153); border-style:solid;
    margin-top:5px;
    margin-bottom:5px;
    margin-left:5px;
    margin-right:5px;
    height: auto;
}

.box2 {
    font-size:9pt;
    font-weight:bolder;
    margin-top:5px;
    margin-bottom:5px;
    margin-left:5px;
    margin-right:5px;
    border-width:1px;
    border-color:rgb(0,204,153);
    border-style:solid;
}

.title {
    margin-top:0.5mm;
    margin-bottom:0.5mm;
    margin-left:0.5mm;
    margin-right:0.5mm;
    background-color: #D7F8D7;
    height: auto;
    line-height:7mm;
    font-size:9pt;
}

.subtitle {
    margin-top:0.5mm;
    margin-bottom:0.5mm;
    margin-left:0.5mm;
    margin-right:0.5mm;
    background-color: #D7D7F8;
    height: auto;
    line-height:7mm;
    font-size:9pt;
}
.global
{
 margin-top:5mm;
 margin-left:auto;    /* 左側マージンを自動的に空ける */
 margin-right:auto;   /* 右側マージンを自動的に空ける */
 text-align:left;     /* 中身を左側表示に戻す */
 width:350mm;         /* 幅を決定する */
}

dialog {
  position: relative;
  width: 500px;
  padding: 50px;
  box-sizing: border-box;
  border-radius: 3px;
  border:solid 1px #008000;
  padding: 0;
  font-size:9pt;
  font-weight:normal;
  text-align:left;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.3);
  animation: modal-open .4s ease;
}
