/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
*/
html {
  color: #000;
  background: #FFF;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,img {
  border: 0;
}

address,caption,cite,code,dfn,em,strong,th,var {
  font-style: normal;
  font-weight: normal;
}

li {
  list-style: none;
}

caption,th {
  text-align: left;
}

h1,h2,h3,h4,h5,h6 {
  font-size: 100%;
  font-weight: normal;
}

q:before,q:after {
  content: '';
}

abbr,acronym {
  border: 0;
  font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,textarea,select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/*to enable resizing for IE*/
input,textarea,select {
  *font-size: 100%;
}

/*because legend doesn't inherit in IE */
legend {
  color: #000;
}

del,ins {
  text-decoration: none;
}

/* 
 * Strucuture CSS
 */
body {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -o-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

#wrapper {
  position: relative;
  background: #fff;
  font: normal normal normal 80%/160%;
  font-size: 20px;
  line-height: 1em;
  width: 100%;
  /min-width: 600px;
  min-width: 600px\9;
  _text-align: center;
  overflow-x: hidden;
}

#container {
  font-family: "Hiragino UD Sans W4 JIS2004";
  font-family: ryo-gothic-plusn, sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: 107%;
  position: relative;
  width: auto;
  max-width: 950px;
  padding: 10.4% 13.3% 0;
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  #container {
    padding: 0;
  }
}

#header {
  width: 100%;
  /min-width: 600px;
  min-width: 600px\9;
}

#contents {
  width: 100%;
}

#contents-inner {
  position: relative;
  background: #ffffff;
  color: #6f5432;
  font-size: 82%;
  line-height: 2em;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
  _zoom: 1;
  z-index: 2;
}

#footer {
  width: 100%;
  padding-bottom: 236px;
}

#footer-inner {
  background: transparent url("footer_image.gif") no-repeat 100% 50% scroll;
  padding: 20px 0;
  margin: 0 auto;
  _text-align: left;
  overflow: hidden;
  _zoom: 1;
}

#wrapper img {
  vertical-align: bottom;
}

#header-inner:after, #footer-inner:after {
  content: "";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
  height: 0.1px;
  font-size: 0.1em;
  line-height: 0;
}

/* fade CSS */
#header #logo,#main_img,#contents,#footer {
  /*	opacity: 0;*/
}

.details_block {
  display: none;
}

/*
 * header CSS
 */
#header {
  position: fixed;
  top: 0px;
  left: 0px;
  background: #ffffff;
  width: 100%;
  z-index: 2;
}

#header-inner {
  position: relative;
  width: auto;
  max-width: 950px;
  padding: 3% 13.3% 2%;
  margin: 0 auto;
  _text-align: left;
}

#header #logo {
  float: left;
  width: 208px;
}

#header #menu {
  font-size: 50%;
  text-align: right;
  padding-top: 24px;
}

#header #menu a span {
  font-size: 200%;
  display: block;
  margin-bottom: 4px;
}

#header li {
  text-align: center;
  position: relative;
  top: -30px;
  display: inline-block;
  *display: inline;
  *zoom: 1; margin-left: 2.3%;
  opacity: 0;
}

#header li>span {
  position: absolute;
  bottom: 0px;
  display: block;
  content: "";
  width: 0%;
  height: 1px;
  background-color: #000;
}

#header #menu a {
  color: #000;
  text-decoration: none;
}

#header #menu_button, #header #list_back_line, #header #list_back {
  display: none;
}

@media screen and (max-width: 1024px) {
  #header li span {
    display: none;
  }

  #header #menu {
    background: trasparent;
    position: fixed;
    right: -1024px;
    font-size: 100%;
    display: block;
    width: 100%;
    padding: 0 13.3%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 2;
  }

  #header #list_back_line {
    position: fixed;
    right: -1024px;
    display: block;
    width: 100%;
    padding: 0 13.3%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1;
  }

  #header #menu li {
    position: relative;
    top: 0px;
    display: block;
    font-size: 100%;
    width: 100%;
    margin-left: 0;
    opacity: 1;
  }

  #header #menu a {
    display: block;
    width: 100%;
    padding: 20px 0 25px;
    text-align: center;
  }

  #header #menu a span {
    display: none;
  }

  #header #list_back_line li {
    position: relative;
    top: 0px;
    display: block;
    font-size: 137.5%;
    width: 100%;
    margin-left: 0;
    border-bottom: solid 1px #bfbfbf;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    opacity: 1;
  }

  #header #list_back_line li:first-child {
    border-top: solid 1px #bfbfbf;
  }

  #header #list_back {
    background: #fff;
    position: fixed;
    right: -1024px;
    display: block;
    width: 100%;
    padding: 0 5.4%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 0;
  }

  #header #menu_button {
    position: absolute;
    top: -120px;
    right: 13.3%;
    float: right;
    display: block;
    width: 30px;
    height: 30px;
    margin-top: 2%;
    cursor: pointer;
  }

  #header #line_top {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 4px;
    background-color: #000;
    transform: rotate(0deg);
    -webkit-transform-origin: left top 0;
    -moz-transform-origin: left top 0;
    -ms-transform-origin: left top 0;
    -o-transform-origin: left top 0;
    transform-origin: left top 0;
  }

  #header #line_middle {
    position: absolute;
    top: 10px;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 4px;
    background-color: #000;
    transform: rotate(0deg);
  }

  #header #line_bottom {
    position: absolute;
    top: 20px;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 4px;
    background-color: #000;
    transform: rotate(0deg);
    -webkit-transform-origin: left bottom 0;
    -moz-transform-origin: left bottom 0;
    -ms-transform-origin: left bottom 0;
    -o-transform-origin: left bottom 0;
    transform-origin: left bottom 0;
  }
}

@media screen and (max-width: 600px) {
  #header {
    position: fixed;
    padding: 0 5.4%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 2;
  }

  #header-inner {
    position: relative;
    width: auto;
    padding: 0;
    margin: 4.5% 0 5%;
    z-index: 0;
  }

  #header #logo {
    float: left;
    width: 125px;
    z-index: 1;
  }

  #header #menu {
    background: trasparent;
    position: fixed;
    right: -1024px;
    display: block;
    width: 100%;
    padding: 0 5.4%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 2;
  }

  #header #list_back_line {
    position: fixed;
    right: -1024px;
    display: block;
    width: 100%;
    padding: 0 5.4%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1;
  }

  #header #menu a {
    display: block;
    width: 100%;
    padding: 5% 0 4%;
    text-align: center;
  }

  #header #menu_button {
    position: absolute;
    top: -120px;
    right: 0px;
    float: right;
    display: block;
    width: 30px;
    height: 30px;
    margin-top: 2%;
    cursor: pointer;
  }
}

/* 
 * footer CSS
 */
#footer {
  border-top: solid 1px #bfbfbf;
  padding: 3% 0;
}

#footer p {
  font-size: 62.5%;
  text-align: center;
}

@media screen and (max-width: 600px) {
  #footer p {
    padding: 0 5.4%;
  }
}

/* 
 * margin CSS
 */
.mg_1 {
  margin-bottom: 1% !important;
}

.mg_2 {
  margin-bottom: 2% !important;
}

.mg_3 {
  margin-bottom: 3% !important;
}

.mg_4 {
  margin-bottom: 4% !important;
}

.mg_5 {
  margin-bottom: 5% !important;
}

.mg_6 {
  margin-bottom: 6% !important;
}

.mg_7 {
  margin-bottom: 7% !important;
}

.mg_8 {
  margin-bottom: 8% !important;
}

.mg_9 {
  margin-bottom: 9% !important;
}

.mg_10 {
  margin-bottom: 10% !important;
}

/* 
 * Contents CSS
 */
#contents {
  padding-top: 7%;
}

#contents h1 {
  font-size: 163%;
  line-height: 1em;
  margin-bottom: 5%;
}

#contents h1 span {
  font-size: 63%;
}

#contents .font {
  font-family: 'Helvetica W01 Bold',"Arial";
  font-family: century-gothic, sans-serif;
  font-style: normal;
  font-weight: 400;
}

#work_list {
  margin-bottom: 7%;
}

#work_list li {
  border-bottom: solid 1px #bfbfbf;
  padding: 7% 0;
  overflow: hidden;
}

#contents .work_data {
  float: left;
  width: 52.6%;
  margin-right: 14%;
}

#contents .work_data h2 {
  font-size: 93.8%;
  /*81.3%*/
  margin-bottom: 4.5%;
  line-height:1.4em;
}

#contents .work_data p {
  color: #666;
  font-size: 68.8%;
  line-height: 2em;
}

#contents .work_data a {
  color: #000;
}

#contents .work_img {
  float: right;
  width: 33.4%;
}

#contents .img {
  margin-bottom: 1.5%;
}

#contents .enlarge {
  text-align: center;
}

#contents #more {
  background: #e9e9e9;
  text-align: center;
  font-size: 75%;
  width: 40%;
  line-height: 3em;
  padding: 0;
  margin: 0 auto 15%;
  cursor: pointer;
}

#contents #more span {
  background: #e9e9e9 url("arrow_b.gif") no-repeat 0% 49% scroll;
  padding-left: 25px;
  padding-top: 2px;
}

@media screen and (max-width: 600px) {
  #contents h1 {
    padding: 0 5.4%;
  }

  #contents #work_list {
    font-size: 125%;
    padding: 0 5.4%;
    margin-bottom: 10%;
  }

  #work_list li {
    padding: 14% 0;
  }

  #contents .work_data {
    float: none;
    font-size: 93.8%;
    width: 100%;
    margin-right: 0;
    margin-bottom: 7%;
  }

  #contents .work_data h2 {
    font-size: 87.5%;
    line-height: 1.4em;
  }

  #contents .work_data p {
    font-size: 62.5%;
    line-height: 2em;
  }

  #contents .work_img {
    float: none;
    width: 100%;
  }

  #contents .enlarge {
    display: none;
  }

  #contents #more {
    background: #e9e9e9;
    width: 87.2%;
    padding: 0;
    margin: 0 auto 15%;
  }

  #contents #more span {
    background: #e9e9e9 url("arrow_b_sp.gif") no-repeat 0% 49% scroll;
    background-size: 6px 7px;
    padding-left: 20px;
  }

  #contents .enlarge {
    display: none;
  }
}
