@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,900&display=swap");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+Mono:400&display=swap");

:root {
  --black: #263238;
  --blue: #3E95BA;
  --pink: #ad1457;
  --grey: #cfd8dc;
}

html {
  font-size: 16px !important;
}

body {
  line-height: 1.6rem !important;
}

html, body, h1, h2, h3, h4, p, ol, ul, dl [class*="css"]  {
  font-family: 'Noto Sans JP', sans-serif !important;
}

[data-testid="stDecoration"] {
  display: none !important;
}

[data-testid="stHeader"] {
  height: 0 !important;
}

.appview-container .block-container {
  padding-top: 8px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 64px;
}

.reportview-container {
  padding-top: 0;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 0;
}

[data-testid="stMarkdownContainer"]
a {
  text-decoration: none !important;
  cursor: pointer !important;
  color: var(--black) !important;
  border-bottom: 1px dashed var(--blue);
  margin: 0 0.25rem !important;
}

[data-testid="stMarkdownContainer"]
em {
  font-style: normal !important;
  color: var(--blue) !important;
}

[data-testid="stMarkdownContainer"]
h1 {
  font-size: 1.5rem !important;
  font-weight: normal !important;
  padding-top: 0px !important;
}

[data-testid="stMarkdownContainer"]
h2 {
  color: var(--blue) !important;
  font-size: 1.25rem !important;
  font-weight: normal !important;
  margin-bottom: 1.25rem !important;
  padding: 5px 0rem !important;
  border-bottom: dashed 1px var(--grey);
  margin-top: 2rem !important;
  margin-bottom: 1.25rem !important;
}

h1 + h2 {
  margin-top: 0;
}

[data-testid="stMarkdownContainer"]
h3 {
  font-size: 1.125rem !important;
  font-weight: normal !important;
  margin-bottom: 1.125rem !important;
  font-weight: bold !important;
  opacity: 0.9 !important;
  padding: 0 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

:is(h1, h2) + h3 {
  margin-top: 0;
}

[data-testid="stMarkdownContainer"]
h4 {
  color: var(--blue) !important;
  font-size: 1rem !important;
  font-weight: normal !important;
  margin-bottom: 1rem !important;
  padding: 0 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

[data-testid="stMarkdownContainer"]
ul,ol {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

[data-testid="stMarkdownContainer"]
li {
  position: relative;
  margin: 0.25rem 0 0.5rem 1.5rem;
  padding: 0;
}

[data-testid="stMarkdownContainer"]
ul :is(li, ol) li {
  margin-top: 0.5rem;
}

[data-testid="stMarkdownContainer"]
:is(ul,ol) li :is(ul,ol) li {
  position: relative;
  margin-left: 1.5rem;
}

[data-testid="stMarkdownContainer"]
ul li::before,
[data-testid="stMarkdownContainer"]
ol li :is(ul,ol) li::before
{
  font-weight: bold;
  content: "•";
  color: var(--grey);
  font-size: inherit;
  position: absolute;
  line-height: inherit;
  top: 0rem;
  left: -1rem;
}

[data-testid="stMarkdownContainer"]
ol {
  counter-reset: li;
}

[data-testid="stMarkdownContainer"]
ol li:before {
  color: var(--grey);
  font-weight: normal;
  font-size: inherit;
  counter-increment: li;
  content: counter(li) ". ";
  position: absolute;
  left: -1rem;
}

[data-testid="stMarkdownContainer"]
img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

[data-testid="stMarkdownContainer"]
p img {
  display: block;
  max-width: 100%;
  margin: 1rem auto;
}


[data-baseweb="base-input"] textarea {
  font-family: 'Noto Sans Mono', "Source Code Pro", monospace !important;
  font-size: 0.875rem !important;
}

[data-testid="stElementContainer"].st-key-init {
  display: none !important;
}

[data-testid="stHeaderActionElements"] {
  display: none !important;
}

@media (max-width: 50.5rem) {
  .st-emotion-cache-13ln4jf {
    max-width: none !important;
  }
}

button[kind="headerNoPadding"] {
  border: 1px solid var(--grey);
}

div[data-baseweb="slider"] {
  padding-right: 8px;
  padding-left: 8px;
}

footnote {
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.85;
  margin: 3rem 0;
}

[data-baseweb="base-input"] textarea {
  white-space: nowrap;
  overflow-x: auto;
}