@charset "utf-8";

/* --------------------
  common
-------------------- */
@font-face{ 
font-family: 'Makinas';
src:url('../font/Makinas-Scrap-5.eot');
src:url('../font/Makinas-Scrap-5.eot?#iefix') format('embedded-opentype'),url('../font/Makinas-Scrap-5.woff') format('woff'),url('../font/Makinas-Scrap-5.ttf') format('truetype');
}
body{
  background: #fff;
  color: #333;
  font-family: 'Makinas';
  font-size: 16px;
}
a{
  text-decoration: none;
}
#wrapper{
  width: 100%;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;
}
.inner{
  width: 960px;
  margin: 0 auto;
}
.inner:after{
  content: "";
  clear: both;
  display: block;
}

/* --------------------
  header
-------------------- */
header{
  width: 100%;
  padding: 20px 0 10px;
  line-height: 1;
  z-index: 999;
}
header.fixed{
  position: fixed;
  top: 0;
  height: 55px;
  margin-top: 0;
  background: #fff;
  background: rgba(255,255,255,0.9);
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}
header .inner{
  position: relative;
}

header h1{
  width: 180px;
  padding: 0 0 10px;
  float: left;
}
header h1 img{
  width: 100%;
}

header nav{
  float: right;
  margin-top: 10px;
}
header nav ul{
  position: absolute;
  top: 15px;
  right: 0;
  border-radius: 5px;
}
header nav ul:after{
  content:" ";
  display:block;
  clear:both;
}
header nav li{
  padding: 0 2px;
  float: left;
  border-right: 1px dotted #ccc;
  font-size: 14px;
}
header nav li:first-child{
  border-left: 1px dotted #ccc;
}
header nav li a{
  padding: 10px;
  display: block;
  color: #333;
  font-style: normal;
  text-decoration: none;
  -webkit-transition: 0.4s ease-out;
  -moz-transition: 0.4s ease-out;
  -ms-transition: 0.4s ease-out;
  -o-transition: 0.4s ease-out;
  transition: 0.4s ease-out;
}
header nav li a:hover{
  background: #666;
  border-radius: 5px;
  color: #fff;
  text-decoration: underline;
}

/* Toggle Button */
#navToggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 14px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}
#navToggle div {
  position: relative;
}
#navToggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #666;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
#navToggle span:nth-child(1) {
  top: 0;
}
#navToggle span:nth-child(2) {
  top: 11px;
}
#navToggle span:nth-child(3) {
  top: 22px;
}

/* --------------------
  contents
-------------------- */
#contents{
  margin: 0;
}
#contents:after{
  content:" ";
  display:block;
  clear:both;
}
.index #contents{
  width: 960px;
  margin: 20px auto 0;
}
#contents h1{
  margin-bottom: 20px;
}

section{
  padding: 0;
}
.about section h1{
  width: 100%;
  height: 200px;
  background: url('../images/about_title.jpg') center center;
  -webkit-background-size: cover;
  background-size: cover;
  text-align: right;
}
.contact section h1{
  width: 100%;
  height: 200px;
  background: url('../images/contact_title.jpg') center center;
  -webkit-background-size: cover;
  background-size: cover;
  text-align: right;
}
section h1 span{
  display: block;
  width: 960px;
  height: 60px;
  margin: 0 auto;
  padding-top: 140px;
  color: #fff;
  font-size: 36px;
  text-shadow: 1px 1px 1px #444,1px -1px 1px #444,-1px 1px 1px #444,-1px -1px 1px #444;
}

article{
  width: 960px;
  margin: 0 auto;
}

ul#gNavi{
  width: 600px;
  text-align: left;
  margin: 0 auto;
}

ul#gNavi li{
  display: block;
  float: left;
  margin-left: 30px;
}

ul#gNavi li a{
  font-size: 13px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

ul#gNavi li a:hover{
  text-decoration: underline;
}

ul#gNavi li.firstItem{
  margin-left: 0;
}

/* --------------------
  footer
-------------------- */
footer{
  background: #000;
  margin-top: 60px;
  text-align: center;
  padding: 15px 0;
}
footer p#copyright{
  text-align: center;
  color: #fff;
}


/* --------------------
  768px以下
-------------------- */
@media screen and (max-width: 768px) {
  *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  /* header */
  header,
  .inner{
    width: 100%;
    padding: 0;
  }
  header{
    position: fixed;
    top: 0;
    margin-top: 0;
  }
  /* Fixed reset */
  header.fix{
    padding-top: 0;
    background: transparent;
  }
  #spHead{
    position: relative;
    width: 100%;
    height: 56px;
    background: rgba(255,255,255,0.9);
    z-index: 999;
  }
  header.fixed h1,
  header h1{
    position: absolute;
    top: 10px;
    left: 3.125%;
    color: #333;
    font-size: 26px;
    width: 32%;
    height: 30px;
    max-height: 30px;
  }
  header.fixed h1 img,
  header h1 img{
    width: 100%;
    /* max-height: 36px; */
  }
  header nav#globalNav{
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -500px;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    float: none;
    background: /*#333*/rgba(0,0,0,0.9);
    text-align: center;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    z-index: 1000;
  }
  header nav#globalNav ul{
    position: static;
    top: auto;
    bottom: 0;
    right: 0;
    font-size: 14px;
    border-radius: 0;
  }
  header nav#globalNav ul li{
    position: static;
    width: 100%;
    padding: 0;
    float: none;
    border-right: none;
  }
  header nav#globalNav ul li:first-child{
    border-left: none;
  }
  header nav#globalNav ul li a,
  header.fixed nav#globalNav ul li a{
    display: block;
    width: 100%;
    padding: 18px 0;
    color: #fff;
  }
  #navToggle {
    display: block;
  }
  .open #navToggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #navToggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #navToggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  .open #globalNav {
    /* #globalNav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
  }

  /* #contents */
  #contents{
    margin: 60px 0 0;
  }
  .index #contents{
    width: 100%;
    margin: 10px 0 0;
  }

  /* section */
  section{
    padding: 0 0 20px;
  }
  section h1 span{
    width: 100%;
    margin: 0;
    padding-right: 4vw;
  }

  /* article */
  article{
    width: 100%;
    padding: 0;
  }

  /* footer */
  footer{
    margin-top: 30px;
  }
}


}