@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


.book.font-family-0 {
  font-family: "Noto Sans JP", serif;
}

.book.font-family-1 {
  font-family: "Poppins", sans-serif;
}

@media screen and (min-width: 481px){
  .page-inner {
    max-width: 80%;
    overflow-x: scroll;
  }
}
@media screen and (max-width: 480px){
  .page-inner {
    max-width: fit-content;
    overflow-x: scroll;
  }
}


body{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  width: 100%;
}


.markdown-section h1, 
.markdown-section h2, 
.markdown-section h3, 
.markdown-section h4, 
.markdown-section h5 {
  line-height: 1em;
  font-weight: bold;
  color: #505050;
}

.markdown-section h1 {
  line-height: 1.8em;
  font-size: 2em; 
  padding: 0.4em 0.8em;/*文字の上下 左右の余白*/
  color: #fff;/*文字色*/
  background: #00BBE0;/*背景色*/
  border-radius: 0.2em;/*角丸*/
}

.markdown-section h2 {
  line-height: 1.5em;
  font-size: 1.8em;
  padding: 0em 0.5em;
  color: #00BBE0;/*文字色*/
  border-bottom: solid 2px #00BBE0;
}

.markdown-section h3 {
  line-height: 1.5em;
  font-size: 1.4em;
  padding: 0em 0em;
  color: #00BBE0;/*文字色*/
}

@media screen and (min-width: 481px){
.markdown-section h5 a {
  font-size: 24px;
  line-height: 1.5em;
  display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: auto;
	margin: auto;
	padding: 1em 4em;
	font-weight: bold;
	border: 2px solid #00BBE0;
	color: #00BBE0;
	border-radius: 100vh;
	transition: 0.5s;
}
}

@media screen and (max-width: 480px){
  .markdown-section h5 a {
    font-size: 12px;
    line-height: 1.5em;
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: auto;
    margin: auto;
    padding: 1em 4em;
    font-weight: bold;
    border: 2px solid #00BBE0;
    color: #00BBE0;
    border-radius: 100vh;
    transition: 0.5s;
  }
  }



.markdown-section h5 a:hover {
  color: #fff;
	background: #00BBE0;
}

.markdown-section h4 a {
  font-size: 12px;
  line-height: 1.5em;
  display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 200px;
	margin: auto;
	padding: 1em 4em;
	font-weight: bold;
	border: 2px solid #00BBE0;
	color: #00BBE0;
	border-radius: 100vh;
	transition: 0.5s;
}

.markdown-section h4 a:hover {
  color: #fff;
	background: #00BBE0;
}

svg {
	vertical-align: -3px;
}

table {
  display: block;
  overflow-x: auto;
}

.markdown-section p {
  font-size: 16px;
}


.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span{
  background: #999;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 2em;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: #00F;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 50%;
}
.news-list .item .title{
  margin-top: 10px;
}
}

.chapter img{
  width: 22px;
  transform: translate(0%,20%);
}

.book-header h1 img{
  width: 22px;
  transform: translate(0%,20%);
}
