@import "header.css";
@import "article.css";
@import "footer.css";

:root {
  --bg:#FAFAF7;
  --text: #1A1A1A;
  --sub-text: #666666;
  --font-size: 16px;
  --max-width: 55em;
}


body{
  background-color: var(--bg);
  color: var(--text);
  /* font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif; */
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", "YuMincho", serif;

  font-size:var(--font-size);

  padding-inline: 2em;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  min-height: 100vh;

  margin: 0;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6, th{
  font-weight:normal;
}


a {
  color: var(--text);
}

a:hover {
  color:var(--sub-text);
}

.center-block {
  max-width: var(--max-width);
  margin-inline:auto;
}

