#login {
  background-image: url(/static/img/publicdomainq-0037894gktkyc.png);
  background-image: url(/static/img/BizRica_bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #01114C;
  padding-top: 140px;

  #error-box {
    width: 400px;
    margin: 0 auto 10px auto;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    background-color: #fdd;
    color: #844;
    opacity: 0.7;
    visibility: hidden;
  }
  .login-title {
    margin: 24px auto 16px auto;
    color: #fff;
    font-family: "メイリオ";
    font-size: 40px;
    font-weight: bold;
    text-align: center;
  }
  .login-sub-title {
    margin: 0 auto 16px auto;
    color: #fff;
    font-family: "メイリオ";
    font-size: 40px;
    font-weight: bold;
    text-align: center;
  }
  .login-frame {
    display: grid;
    justify-items: center;
    align-content: center;
    border-radius: 14px;
    width: 350px;
    height: 300px;
    margin: 0 auto;
    background-color: #bbbbbb7c;
    .login-frame-title {
      width: 160px;
      margin: 10px 0 24px 0;
    }
    .login-frame-input {
      width: 280px;
      margin-bottom: 16px;
      input {
        width: 250px;
        line-height: 40px;
        height: 40px;
        border: 0;
        border-radius: 20px;
        padding: 0 20px;
        background-color: #C2C8D3;
        &:focus {
          outline: 3px solid #99c;
        }
        &::placeholder {
          color: #333;
          font-weight: bold;
        }
      }
    }
    .login-frame-check {
      margin-bottom: 16px;
      color: #333;
      font-weight: bold;
    }
    button {
      display: block;
      width: 200px;
      height: 40px;
      line-height: 40px;
      margin: 0 auto;
      border: 0;
      border-radius: 20px;
      background-color: #0828AC;
      font-weight: bold;
      color: #fff;
      cursor: pointer;
    }
  }

  .news-box {
    width: 600px;
    margin: 16px auto 0 auto;
    padding: 8px 16px 16px 16px;
    background-color: #00000066;
    .news-title {
      color: #fff;
      padding: 4px;
      font-weight: bold;
      border-bottom: 1px solid #fff;
    }
    details.news-item {
      padding-top: 4px;
      padding-bottom: 0px;
      padding-right: 4px;
      padding-left: 4px;
      color: #fff;
      border-bottom: 1px dashed #fff;
      cursor: pointer;
      interpolate-size: allow-keywords;
      transition: all .3s ease, content-visibility .3s allow-discrete;
      summary {
        .news-date {
          background-color: #57A9DD;
          padding: 0 16px;
          border-radius: 14px;
          margin-right: 8px;
        }
      }
      .news-desc {
        line-height: 17px;
      }
      &::details-content {
        padding: 1px 0;
        transition: all .3s ease, content-visibility .3s allow-discrete;
        overflow: clip;
        height: 0;
      }
    }
    details[open]::details-content {
      height: auto;
    }
  }
}

dialog {
  iframe {
    border: 1px solid var(--default-border-color);
    border: none;
    background-color: transparent;
  }
  .btn-group {
    text-align: center;
    margin-top: 8px;
    button {
      width: 200px;
      height: 40px;
      line-height: 40px;
      margin: 0 auto;
      border: 0;
      border-radius: 20px;
      font-weight: bold;
      cursor: pointer;
    }
    #btn-ok {
      background-color: #0828AC;
      color: #fff;
    }
    #btn-ng {
      background-color: #E0E0E0;
      color: #444;
    }
  }
}
