body {
    margin: 0;
    padding: 0;
    font-family:  "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
}
a {
    color: black;
    border: none;
}
a:hover,
a:focus,
a:active,
a.active {
  color: #fec503;
}
a,
a:hover,
a:focus,
a:active,
a.active {
  text-decoration: none;
}
header {
    margin: 5px 0;
}
header a {
    margin-left: 10px;
}
img {
    width: 100%;
    max-width: 100%;
    height: auto; 
}

div .leftside{
    float: left;
    width: 100px;
    height: auto;
}
 div .rightside{
    float: right;
     width: 100px;
    height: auto;
}
h2 {
    font-size:30px;
	border-left: solid 7px;
    margin-left: 10px;
    padding-left: 10px;
    background-color: white;
}
h3 {
    border-bottom: solid #E6E6FA;
}

h4 {
    text-align: center;
    line-height: 50px;
}

#top {
    background-color: white;
}

.daimei {
    background-color: white;
    clear: both;
}
.container {
  display: -ms-grid;
  display: grid;
  grid-gap: 10px;
  -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  -ms-grid-rows: 100px 100px 100px 100px 100px 100px;
  grid-template-rows: 100px 100px 100px 100px 100px 100px;
  background-color:#E6E6FA;
  clear: both;
}
.item {
  padding: 10px;
  border-radius: 8px;
  border: 3px solid #E6E6FA;
  position: relative;
  background-color: white;
  margin: 5px;
  word-wrap: break-word;
}
.box-big1 {
  -ms-grid-column: 1;
  -ms-grid-row:1;
  -ms-grid-row-span: 6;
  grid-column: 1;
  grid-row: 1 / 7;
  position: relative;
}
.box-big2 {
  -ms-grid-column: 2;
  -ms-grid-row:1;
  -ms-grid-row-span: 3;
  grid-column: 2/3;
  grid-row: 1/4;
  position: relative;
}
.box-big3 {
  -ms-grid-column: 2;
  -ms-grid-row:4;
  -ms-grid-row-span: 6;
  grid-column: 2/3;
  grid-row: 4/7;
  position: relative;
}
.box-big4 {
  -ms-grid-column: 3;
  -ms-grid-row:1;
  -ms-grid-row-span: 6;
  grid-column: 3/4;
  grid-row: 1/7;
  position: relative;
}
.box-big5 {
  -ms-grid-column: 4;
  -ms-grid-row:1;
  -ms-grid-row-span: 3;
  grid-column: 4/5;
  grid-row: 1/4;
  position: relative;
}
.box-big6 {
  -ms-grid-column: 4;
  -ms-grid-row:4;
  -ms-grid-row-span: 6;
  grid-column: 4/5;
  grid-row: 4/7;
  position: relative;
}
.box-big7 {
  -ms-grid-column: 5;
  -ms-grid-row:1;
  -ms-grid-row-span: 2;
  grid-column: 5/6;
  grid-row: 1/3;
  position: relative;
}
.box-big8 {
  -ms-grid-column: 5;
  -ms-grid-row:3;
  -ms-grid-row-span: 3;
  grid-column: 5/6;
  grid-row: 3/5;
  position: relative;
}
.box-big9 {
  -ms-grid-column: 5;
  -ms-grid-row:6;
  -ms-grid-row-span: 6;
  grid-column: 5/6;
  grid-row: 5/7;
  position: relative;
}

.container img {
    width:auto;
    height:auto;
    max-width:80%;
    max-height:80%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}
.container a {
    font-weight: bold;
    font-size: 80%;
}


.containerthird a {
    font-weight: bold;
}
#inneritem {
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-around;
      background-color: #E6E6FA;
    }

 #smallitem {
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-around;
      background-color: azure;
      padding-bottom: 30px;
    }

#smallitem a {
    font-weight: bold;
}

.one {
    border-radius: 10px;
    background-color: white;
    text-align: center;
    margin: 5px;
    max-width: 300px;
    height: auto;
}
.footer {
    margin: 15px;
    text-align: center;
}
.extreme {
    display: block;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 600px){
    .container {
      background-color:#E6E6FA;
      clear: initial;
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-around;
      padding-bottom: 30px;
    }
    .container a {
    font-weight: bold;
    font-size: 100%;
}
    .container img {
    width: initial;
    height: initial;
    max-width:initial;
    max-height:initial;
    position: initial;
    top: initial;
    bottom: initial;
    right: initial;
    left: initial;
    margin: initial;
    width: 100%;
    max-width: 500px;
    height: auto;
}
    img {
        width: 100%;
        max-width: 100%;
        height: auto; 
    }
    .item {
    padding: initial;
    border-radius: initial;
    border: initial;
    position: initial;
    background-color:initial;
    margin: initial;
    word-wrap: initial;
    border-radius: 10px;
    background-color: white;
    text-align: center;
    margin: 5px;
    max-width: 300px;
    height: auto;
        
    }
  
}
