/*以下初期化用*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
dl, dt, dd, ol, ul, li,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
abbr, address, cite, code,
b, i,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
line-height: 1;
background-color: #000;
}

#container_1 {
  width: 1024px;
  margin: 0px auto;
  background-color: #000;
}

header {
  height: 34px;
  width: 1024px;
  display: grid;
  grid-template-columns: 200px 312px 312px 200px;
  grid-template-rows:  auto auto auto auto;
  margin: 0px 0px 26px 0px;
}

#contents_left {
  height: 34px;
  grid-column: 1/5;
  grid-row: auto;
}

nav {
  color: #fff;
}

#contents_ul {
  list-style-type: none;
  padding: 0px 0px 0px 10px;
}

.navi_li {
  display: inline-block;
  padding: 14px 0px 0px 10px;
}

.link_1 {
  color: #fff;
}

#container_2 {
  width: 794px;
  background-color: #000;
  margin: 0px auto 17px auto;
}

#slide {
    margin : 0 auto;
}

.old_1 {  
  background-color: #fff;
}

#old_1_img {
  vertical-align: top;
}

#toolbar {
    height:56px;
    text-align: center;
}

#difference {
  color: #fff;
  padding: 5px 0px 0px 0px;
  text-align: right;
}

footer {
  height: 15px;
  width: 1024px;
}

.footer_p {
  color:#fff;
  font-size: 15px;
  text-align:center;
}


@media screen and (max-width: 400px) {

  #container_1 {
    width: 400px;
    height:477px;
    margin-left: auto;
    margin-right: auto;
    background-color: #000;
  }
  
  header {
    height: 34px;
    width: 400px;
    display: grid;
    grid-template-columns: 100px 100px 100px 100px;
    grid-template-rows:  auto auto auto auto;
    margin: 0px 0px 26px 0px;
  }
  
  #contents_left {
    font-size: 14px;
    height: 34px;
    grid-column: 1/5;
    grid-row: auto;
  }
  
  nav {
    color: #fff;
  }
  
  #contents_ul {
    list-style-type: none;
    padding: 0px 0px 0px 5px;
  }
  
  .navi_li {
    display: inline-block;
    padding: 14px 0px 0px 5px;
  }
  
  .link_1 {
    color: #fff;
  }
  
  #container_2 {
    width: 300px;
    margin: 0px auto 17px auto;
  }
  
  #slide {
      height: auto;
      width: 100%; 
      margin : 0 auto;
  }

  .img_resize {
    max-width: 100%;
    height: auto;
  }
  
  .old_1 {
    width:100%;
    max-width: 100%;
    
  }

  #toolbar {
      height: 16px;
      text-align: center;
  }
  
  #difference {
    color: #fff;
    font-size: 12px;
    padding: 5px 0px 0px 0px;
    text-align: right;
  }

  footer {
    height: 15px;
    width: 400px;
  }
  
  .footer_p {
    color:#fff;
    font-size: 10px;
    text-align:center;
  }

}