
html {
  font-family: "Hiragino Kaku Gothic Pro","Yu Gothic","Meiryo" ,sans-serif;
  font-size : 100%;
  line-height: 1.75; 
}

body {
  margin: 48px 10% 48px 10%;
}

h1,h2,h3,h4,h5,h6 { margin-bottom : 24px}
/* 垂直方向のマージンを統一 */

h1 {
    font-size : 48px; 
    line-height : 1;    
    /* 要素の高さ：48px（要素を配置するときの高さの基準の2倍）*/
}
 
h2 {
    font-size : 42px;
    line-height : 1.3333;   
    /* 要素の高さ：48px（要素を配置するときの高さの基準の2倍） */
}

h3 {
    font-size : 36px;
    line-height : 1;    
    /* 要素の高さ：24px（要素を配置するときの高さの基準） */
}

h4 {
    font-size : 24px;
    line-height : 1;    
    /* 要素の高さ：24px（要素を配置するときの高さの基準） */
}

hgroup h2,h5,h6 {
    font-size : 16px; 
    line-height : 1.5;   
}

h2, h3 {
  color: #000000;/*文字色*/
  background: transparent;/*背景透明に*/
}

h1 {
  text-align: center;
}

h1.sub {
  font-size: 24px;
  margin-bottom: 24px;
}

h2 {
  margin-top: 36px;
  text-align: center;
  border: none;
  padding: 0px;
  line-height: 1.5;
}

h3 {
  margin-left: 0px;
  padding: 0px 5px 0px 5px;
  border-top: none;
  border-left: solid 5px lightgray;/*左線*/
  line-height: 1.5;
}

p {
  margin-bottom: 24px;
  text-indent: 1em;
}

p.hosoku {
  margin-left: 5%;
  margin-right: 5%;
  padding-left: 0.5em;
  padding-right: 0.5em;
  border: dashed 1px black;
  text-indent: 0em;
}

p.noidt {
  text-indent: 0em;
}

.last {
  margin-bottom: 48px;
}

.center {
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 24px;
  margin-bottom: 24px;
}

a {
  color: black;
}

table {
  width: 100%;
}

table td {
  width: 50%;
  border: solid 1px black;
  text-align: center;
}

ul.pagination {
  display: inline-block;
  padding: 0;
  margin: 0;
}

ul.pagination li {display: inline;}

ul.pagination li a {
  color: black;
  float: left;
  border: 1px solid lightgray;
  border-radius: 5px;
  margin: 0 4px;
  padding: 8px 5px;
  text-decoration: none;
}

ul.pagination li a.active {
  background-color: black;
  color: white;
  border: 1px solid black;
}

ul.pagination li a.hashi {
  padding: 8px 2px;
}

ul.pagination li a.none {
    color: lightgray;
}

ul, ol {
  margin-bottom: 24px;
}

ul li, ol li {
  margin-bottom: 12px;
}

ul.mokuji {
  list-style-type: none;
}

ol.inlink li a {
  text-decoration: none;
}

h1 a {
  text-decoration: none;
}

@media screen and (max-width:480px) {
  body {
    margin: 48px 10px 48px 10px;
  }

  div.mg {
    margin: 0% 1px 0% 1px;
  }

  h1 {
    font-size : 36px; 
    line-height : 1;    
  }

  h1.sub {
    font-size: 16px;
  }

  h2 {
    margin-top: 36px;
    text-align: center;
    border: none;
    padding: 0px;
    font-size: 30px;
    line-height: 1.5;
  }

  h3 {
    margin-left: 0px;
    padding: 0px 5px 0px 5px;
    border-top: none;
    border-left: solid 5px lightgray;/*左線*/
    font-size: 24px;
    line-height: 1.5;
  }
  
  h4 {
    font-size : 18px;
    line-height : 1;    
    /* 要素の高さ：24px（要素を配置するときの高さの基準） */
  }

  img {
    max-width: 100%;
    height: auto;
    margin-top: 0px;
    margin-bottom: 24px;
  }

  p.hosoku {
    color: gray;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 5px;
    padding-right: 5px;
    border: dashed 1px gray;
    text-indent: 0em;
  }

  p.hosoku a {
    color: gray;
  }

  ul, ol {
    padding-left: 25px;
  }

  ul.mokuji {
    list-style-type: none;
    padding-left: 20px;
  }
}

