@charset "UTF-8";
html{
  font-size: 62.5%;
}

@media screen and (min-width: 480px){
  #menu{
    height: 100px;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    text-align: center;
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: rgba(50,50,50,0.4);
  }

  #nav{
    display: inline-block;
    list-style-type: none;
    overflow: hidden;
    font-size: 2rem;
    margin: auto auto;
    padding-left: 0;
  }
  #nav li{
    display: inline-block;
    float: left;
    padding: 15px;
  }
  #nav a{
    text-decoration: none;
    padding: 1rem;
    color: white;
    cursor: pointer;
  }

  body{
    background: url("../image/bg01.png");
    background-repeat: repeat;
    height: 100%;
    font-size: 1.5rem;
  }

  .title{
    font-size: 6rem;
    font-weight: bold;
    text-align: center;
    margin-top: 150px;
  }

  .page{
    margin: 100px auto 0;
  }
  .sub_title{
    font-size: 4rem;
    font-weight: bold;
    text-align: left;
    margin: 20px auto;
    max-width: 920px;
  }
  .blog_list{
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 auto 100px;
    max-width: 920px;
    list-style-type: disc;
  }

  .blog_body{
    max-width: 920px;
    margin: 50px auto 100px;
  }

  p{
    font-size: 1.5rem;
    margin-top: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  h2{
    font-size: 2.5rem;
    margin-top: 50px;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  h3{
    font-size: 2rem;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  h4{
    font-size: 1.8rem;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  pre{
    background-color: #251919;
    overflow-x: scroll;
  }
  code {
    font-family: Menlo, Consolas, 'DejaVu Sans Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow: auto;
    resize: horizontal;
  }
  .prettyprint ol.linenums > li {
  	list-style-type: decimal;
  }
  .math{
    font-size: 2rem;
  }

  hr{
    border-top: 3px solid;
  }

  table{
    font-size: 1.5rem;
    border-collapse: collapse;
    border-spacing: 0;
  }

  table th,table td{
    padding: 10px 10px;
    text-align: left;
  }
  table td{
    min-width: 85px;
  }
  table th{
    background-color: #eee;
  }
  table tr:nth-child(even){
    background-color: #eee
  }
}

@media screen and (min-width: 480px) and (max-width: 1000px){
  #menu{
    height: 60px;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    text-align: center;
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: rgba(50,50,50,0.4);
  }

  #nav{
    display: inline-block;
    list-style-type: none;
    overflow: hidden;
    font-size: 1.6rem;
    margin: auto auto;
    padding-left: 0;
  }
  #nav li{
    display: inline-block;
    float: left;
    padding: 1vw;
  }
  #nav a{
    text-decoration: none;
    padding: 1rem;
    color: white;
    cursor: pointer;
  }

  .title{
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    margin-top: 100px;
  }
}

@media screen and (max-width: 480px){
  #menu{
    height: 60px;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    text-align: center;
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: rgba(50,50,50,0.4);
  }

  #nav{
    max-width: 400px;
    height: 25px;
    display: inline-block;
    list-style-type: none;
    overflow: hidden;
    font-size: 1.4rem;
    margin: auto auto;
    padding-left: 0;
  }
  #nav li{
    display: inline-block;
    float: left;
    padding: 1vw;
  }
  #nav a{
    text-decoration: none;
    padding: 1rem;
    color: white;
    cursor: pointer;
  }

  body{
    background: url("../image/bg01.png");
    background-repeat: repeat;
    height: 100%;
    font-size: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .title{
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    margin-top: 100px;
  }

  .page{
    margin: 50px auto 0;
  }
  .sub_title{
    font-size: 2.5rem;
    font-weight: bold;
    text-align: left;
    margin: 20px auto;
    max-width: 920px;
  }
  .blog_list{
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 auto 100px;
    max-width: 920px;
    list-style-type: disc;
  }

  .blog_body{
    max-width: 920px;
    margin: 50px auto 100px;
  }

  p{
    font-size: 1.2rem;
    margin-top: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  h2{
    font-size: 2.0rem;
    margin-top: 50px;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  h3{
    font-size: 1.5rem;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  h4{
    font-size: 1.4rem;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  pre{
    background-color: #251919;
    overflow-x: scroll;
  }
  code {
    font-family: Menlo, Consolas, 'DejaVu Sans Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow: auto;
    resize: horizontal;
  }
  .prettyprint ol.linenums > li {
  	list-style-type: decimal;
  }
  .math{
    font-size: 1.2rem;
  }

  hr{
    border-top: 3px solid;
  }

  table{
    font-size: 1.2rem;
    border-collapse: collapse;
    border-spacing: 0;
  }

  table th,table td{
    padding: 10px 10px;
    text-align: left;
  }
  table td{
    min-width: 85px;
  }
  table th{
    background-color: #eee;
  }
  table tr:nth-child(even){
    background-color: #eee
  }
}
