
/* CSS Document */

@media only screen and (max-width: 940px) {

header, #topvisual, #main, #footer_in, .blog_post {
  width: auto;
}
header h1 {
  font-size: 11px;
}

#topvisual {
  overflow: hidden;
  background-image: none;
  height: auto;
  border: 10px solid #221D17;
}

.nivo-slice {
  width: 100%;
  background-size: contain;
}

.bx-pager-item {
  margin-top: 0;
}

.nivoSlider {
  left: 0;
  top: 0;
  width: 100%;
}

.blog_post {
  width: auto;
}

#topvisual {
  overflow: hidden;
  padding: 0;
  background-color: #221D17;
}

.bx-controls-direction {
  display: none;
}

#main #content {
  width: 66%;
  padding-left: 1%;
}

#main aside {
  width: 31%;
  padding-left: 0;/*overflow-x:hidden;*/
}

aside #sideaddress .sideaddress_in, aside #bannder, #topinformation #topinfosec, #subnav ul li li a, #subnav ul li span, aside #sideaddress {
  width: auto;
}

div#bannder {
  overflow: hidden;
}

#bannder #bannder div div {
  left: auto !important;
  right: 10px !important;
  font-weight: bold;
  background-color: transparent;
  padding-left: 0;
}

#bannder #bannder div {
  width: auto !important;
  left: auto;
  right: auto !important;
  text-align: left;
  padding-left: 15px;
  background-color: #efefef;
}

/*aside */
aside #sideaddress .sideaddress_in {
  margin: 12px;
}

.sideaddress_in address p {
  padding-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  background-image: url(url);
}

/*menu */
#navtop ul li {
  background-image: none;
  width: 16.666666666%;
  height: auto;
}

#navtop span {
  text-indent: 0;
}

#navtop ul li .name {
    font-size: 12px;
}
#navtop ul li a:hover {
  
  color: #fff;
}

#navcontact {
  width: 16.666666666%;
}

#navtop ul li#navcontact a {
  border-right: 1px solid #cccccc;
}

.page_title1 {
  padding-top: 10%;
  text-shadow: 0 0 2px #000, 0 0 5px #000, 0 0 7px #000, 0 0 7px #000;
}

.nabare_01 {
  background-color: #000;
  padding: 15px;
  border-radius: 15px;
  right: 0;
  top: 14%;
  width: 56%;
}
.form_dl input[type="text"], .form_dl textarea {
    width: 97%;
}
.form_dl input.zip_input {
    width: 90px;
}
/**/

#smart_change {
  display: block;
}

#footer_in #copylight {
  position: static;
  text-align: center;
  padding: 30px 0;
}

#smart_change {
  padding-top: 0;
}

#footer_in p a {
  display: inline-block;
}
/**/
}

@media only screen and (max-width: 700px) {

header h2 {
  position: relative;
  z-index: 1;
}

.topaddress {
  position: relative;
  z-index: 5;
}

#smart_head_tel {
  display: block;
}

.smart_so_tel {
  text-align: center;
  margin-top: 20px;
}
.smart_so_tel p {
  margin-bottom: 0;
    padding-bottom: 5px;
}

.smt1 {
  margin-top: 30px;
}

#wrapper {
  position: relative;
  webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  left: 0;
}

.pankuzu {
  border-top: 1px solid #000;
  position: relative;
  top: 0;
  width: auto;
  display: block;
  font-size: 11px;
  line-height: 1em;
  padding: 5px;
}

#main {
  overflow: hidden;
  padding-top: 0;
  position: static;
}

#main aside {
  display: none;
}

#main #content {
  width: 97%;
  margin: 0 auto;
  padding-left: 0;
  float: none;
}

header {
  background-image: none;
}

.topaddress {
  position: absolute;
  top: 41px;
  right: 60px;
  width: 230px;
  text-align: center;
  font-weight: bold;
  display: block;
  z-index: 5;
}
#main aside {
    padding-top: 0;
}

aside #sideaddress {
    margin-top: 10px;
    border:none;
}

#subnav ul li li a {
    border-left: none;
    border-right: none;
}

#topinformation #topinfosec {
    border: none;
}
.topaddress .tt {
  background-color: rgb(197, 0, 0);
  color: #fff;
  padding: 2px 0;
}

.topaddress .tt_tel {
  font-size: 1.6em;
  line-height: 1.3em;
}

#smart_btn {
  position: absolute;
  width: 38px;
  height: 35px;
  display: block;
  top: 41px;
  right: 10px;
  z-index: 10;
  cursor: pointer;
}

#smart_btn:before, #smart_btn div, #smart_btn:after {
  display: block;
  content: "";
  height: 5px;
  background-color: #000;
  position: absolute;
  width: 100%;
}

#smart_btn:before {
  top: 0;
}

#smart_btn div {
  top: 10px;
}

#smart_btn:after {
  top: 20px;
}

#smart_btn span {
  text-align: center;
  font-size: 11px;
  position: absolute;
  bottom: -6px;
  width: 100%;
}

#main aside {
    position: fixed;
    top: 0;
    right: -280px;
    background-color: #fff;
    width: 260px;
    padding: 30px 5px 30px 5px;
    margin-left: 10px;
    height: 100%;
    box-shadow: -2px 0 6px rgba(0,0,0,0.2);
    overflow:auto;
}

#topinformation #topinfosec {
  height: 400px;
}
/**/
}

@media only screen and (max-width: 650px) {

#navtop {
  display: none;
}
#side_nav ul li .roman {
    display: inline-block;
    margin-left: 15px;
    font-size: 10px;
    color: #aaa;
}

#side_nav ul li .name {
    font-weight: bold;
}
#smart_close {
  position: absolute;
  top: -32px;
  right: 15px;
  display: block;
  cursor: pointer;
  background-repeat: no-repeat;
  background-image: url(img/close.png);
  background-position: center;
  width: 22px;
  height: 22px;
}

div#side_nav {
  position: relative;
}

div#side_nav li {
  width: auto;
}

div#side_nav li a {
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 1.1em;
  line-height: 1em;
  padding: 13px 10px;
  border-bottom: 1px dotted #373737;
}

div#side_nav ul {
  overflow: hidden;
  padding-bottom: 10px;
  margin: 10px;
  width: auto;
  border-top: 1px dotted #373737;
}

#footer_in #copylight {
  font-size: 0.8em;
  line-height: 1.2em;
  text-align: center;
}
/**/
}

@media only screen and (max-width: 600px) {

body {
  font-size: 14px;
}

#topvisual {
  border-width: 5px;
}

.topaddress {
  margin: 0 auto;
  position: static;
}

header h1 {
  padding-top: 3px;
  line-height: 1em;
}

header h2 {
  padding-top: 10px;
  margin-right: 70px;
  margin-left: 6px;
  height: 47px;
  overflow: hidden;
}

#smart_btn {
  top: 33px;
}

div#topvisual {
  margin-top: 10px;
}

#pagetop {
  background-image: none;
  position: fixed;
  bottom: 5px;
  width: 31px;
  right: 5px;
  height: 31px;
  height: auto;
  text-indent: 300%;
  top: auto;
  background-color: transparent;
  z-index: 1000;
}

#pagetop a {
  background-image: url(img/top.png);
  background-repeat: no-repeat;
  width: 31px;
  height: 31px;
  display: block;
  text-indent: -1000px;
  overflow: hidden;
}
.blog_post ol.guide_ol li dt,.blog_post ol.guide_ol li dd {
    float: none;
    width: auto;
    padding-left: 0;
}
.blog_post table th {
  vertical-align: top;
  line-height: 1.1em;
}
.blog_post textarea, .input_txt {
  width: 90%;
}
.blog_post .about_dl dd {
padding-left: 0;
    border-bottom: 1px dotted #555;
padding-top: 0;
}
.blog_post .about_dl dt {
  font-weight:bold;
float: none;
width: auto;
padding-left: 0;
padding-bottom: 0;
font-size: 1.1em;
line-height: 1.4em;
margin-bottom: 4px;
}
/**/
}

@media only screen and (max-width: 450px) {

.page_title1 {
  font-size: 23px;
  height: 73px;
  padding-left: 6px;
}

.page_title1.back3 {
  font-size: 19px;
}

.pankuzu {
  width: auto;
}

.nabare_01 {
  position: relative;
  background-color: transparent;
  color: #000;
  width: auto;
  top: 0;
  right: 0;
  padding: 0;
}

.blog_post .relative p {
  margin-bottom: 0;
  padding-bottom: 0;
}
/**/
}

@media only screen and (max-width: 320px) {

.page_title1 {
  height: 59px;
  padding-left: 11px;
  padding-top: 25px;
  font-size: 20px;
}

.page_title1.back3 {
  font-size: 17px;
  padding-left: 5px;
  width: auto;
}
/**/
}
