@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  color: #555555;
}
body { 
  font-family: "游明朝","ヒラギノ明朝 Pro W3";
  font-size: 14px;
}
a { text-decoration: none; }
a:link { color:#555555; }
a:visited { color: #555555; }

a:hover {
  color: #a8a8a8;
  font-weight: none;
  text-decoration: none;
}
header {
  width: 960px;
  margin-top: 60px;
  margin-right: auto;
  margin-bottom: auto;
  margin-left: auto;
}
#global_navi {
  position: relative;
  width: 960px;
  height: 250px;
  margin: auto;
}
#global_navi .title {
  position: absolute;
  top: 20px;
  right: 0;
}
#global_navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#global_navi .t01 {
  position: absolute;
  top: 20px;
  left: 0;
}
#global_navi .t02 {
  position: absolute;
  top: 20px;
  left: 80px;
}
#global_navi .t03 {
  position: absolute;
  top: 20px;
  left: 160px
}
#global_navi .t04 {
  position: absolute;
  top: 20px;
  left: 240px;
}
#global_navi .t05{
  position: absolute;
  top: 20px;
  left: 320px;
}
#global_navi .t06{
  position: absolute;
  top: 20px;
  left: 400px;
}
#breadcrumb { font-size: smaller; }
#breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
#breadcrumb ol li { display: inline; }
#breadcrumb ol li:after {
  content: ">";
  padding-left: 7px;
}
#breadcrumb ol li:last-child:after { content: none; }
#breadcrumb {
  position: relative;
  top: 5px;
  left: 20px;
}
#wrapper {
  width: 960px;
  margin: auto;
  overflow: hidden;
}
#main {
  width: 960px;
  height: 1850px;
  float: left;
  border-top: solid 1px #aaa;
  border-bottom: solid 1px #aaa;
}
#main .t01 {
  width: 360px;
  float: left;
  margin: 10px 0px 0px 0px;
  border: 0px;
  padding: 0px;
}
#main .t02 {
  width: 360px;
  float: right;
  margin: 10px 0px 0px 0px;
  border: 0px;
  padding: 0px;
}
#main th {
  text-align: left;
  width: 7em;
  height: 3em;
  font-weight: bold;
}
#gallery {
  width: 840px;
  height: 960px;
  position: relative;
  top: 20px;
  right: 60px;
  bottom: 20px;
  left: 60px;
}
#gallery ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
#gallery ul li {
  width: 240px;
  margin: 0px 60px 0px 0px;
  border: 0px;
  padding: 5px 0px 5px 0px;
  float: left;
  text-align: center;
  font-weight: bold;
}
#gallery ul li:nth-child(3n) {
  margin-right: 0px;
}
footer {
  width: 960px;
  margin-top: auto;
  margin-right: auto;
  margin-bottom: 60px;
  margin-left: auto;
  text-align: right;
}
footer #footer_nav ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
footer #footer_nav li {
  display: inline;
  border-left: solid 1px #aaa;
  margin-left: 12px;
  padding-left: 12px;
  font-size: smaller;
}
footer #footer_nav li:last-child {
  border-right: solid 1px #aaa;
  padding: 0 8px;
}
footer .copyright {
  float: left;
}
a:hover img { opacity: 0.6; }





@media screen and (max-width : 767px){
  
  body {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
  }   
  img { 
    max-width: 100%;
    position: static;
  }
  #global_navi .title {
    width: 45px;
    position: static;
    float: right;
    margin-top: 20px;
  }
  #global_navi .t01 {
    width: 45px;
    height: auto;
    position: static;
    float: left;
    margin-top: 20PX;
  }
  #global_navi .t02 {
    width: 45px;
    height: auto;
    position: static;
    float: left;
    margin-top: 20PX;
  }
  #global_navi .t03 {
    width: 45px;
    height: auto;
    position: static;
    float: left;
    margin-top: 20PX;
  }
  #global_navi .t04 {
    width: 45px;
    height: auto;
    position: static;
    float: left;
    margin-top: 20PX;
  }
  #global_navi .t05 {
    width: 45px;
    height: auto;
    position: static;
    float: left;
    margin-top: 20PX;
  }
  #global_navi .t06 {
    width: 45px;
    height: auto;
    position: static;
    float: left;
    margin-top: 20PX;
  }
  body {
    height: auto;
    margin: 50px 0px 0px 0px;
    border: 0px;
    padding: 0px;
  }
  header {
    height: auto;
    margin: 0px;
    border: 0px;
    padding: 0px;
  }
  #global_navi {
    height: auto;
    margin: 0px;
    border: 0px;
    padding: 0px;
    overflow: hidden;
  }
 footer {
    height: auto;
    margin: 0px;
    border: 0px;
    padding: 0px;
    overflow: hidden;
  }
  #global_navi .p001 { 
    width: 100%;
    position: static;
    display: none;
  }
  #global_navi .p002 { 
    width: 100%;
    height: 100%;
    position: static;
    float: left;
    margin: 0px;
    border: 0px;
    padding: 0px;
  }
  #global_navi .p003 {
    width: 100%;
    position: static;
    display: none;
  }
  #breadcrumb { display: none; }
  
  img { position: static; }
 
  #wrapper {
    height: auto;
  }
  #gallery {
    width: auto;
    height: auto;
    margin: 0px;
    padding: 0px;
  }
  #gallery ul li {
    width: auto;
    margin: 20px 0px;
    padding: 0px;
  }
  #gallery ul li:nth-child(1n) {
  margin-right: 0px;
  }
  #main {
    height: auto;
    padding: 0;
  }
  #footer_nav ul li {
    display: inline;
    width: 80px;
    float: left;
    text-align: center;
    margin-left: 0px;
    border-left: 0px;
    padding-left: 0px;
  }
  
  footer #footer_nav li:first-child {
    height: 100%;
    padding: 0px 0px 20px 0px;
  }
  
  footer #footer_nav li:last-child {
    border-right: 0px;
    padding: 0px;
  }
  footer .copyright {
    width: 100%;
    text-align: center;
  }
  
  header,
  #global_navi,
  #wrapper,
  #main,
  #breadcrumb,
  footer,
  #footer_nav { max-width: 100%; }
  
  #main { width: 100%; }
  #main table { 
    width: 100%;
    padding: 0 5%;
    margin: 0;
  }
} 
