/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html{
  font-size:62.5%;
}

body{
  font-size:12px;
  font-size:1.2rem;
  font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  color:#333333;
  line-height:1.8;
  letter-spacing:0;
  -webkit-text-size-adjust:none;
}

h1,p{
  margin:0;
  padding:0;
}

h1{
  font-size:2.8rem;
  font-weight:normal;
  color:#000000;
}

@font-face{
  font-family:"office-kuma";
  src:url("../font/office-kuma.eot");
  src:url("../font/office-kuma.eot?#iefix") format('embedded-opentype'), url("../font/office-kuma.woff") format('woff'), url("../font/office-kuma.ttf") format('truetype'), url("../font/office-kuma.svg#fontello") format('svg');
  font-weight:normal;
  font-style:normal;
}

[class^="icon-"]:before,
[class*="icon-"]::before{
  width:1em;
  line-height:30px;
  font-family:office-kuma;
  font-size:28px;
  font-style:normal;
  font-weight:normal;
  text-align:center;
  display:inline-block;
  speak:none;
}

.hide-text{
  display:block;
  text-indent:100%;
  white-space:nowrap;
  overflow:hidden;
}

#wrapper{
  position:relative;
}

#header h1{
  width:190px;
  height:60px;
  background:url(../img/office-kuma.svg) no-repeat;
}

.no-svg #header h1{
  background:url(../img/office-kuma.png) no-repeat;
}

#nav ul{
  margin:0;
  padding:0;
  list-style:none;
}

#nav li{
  float:left;
}

#nav a{
  display:block;
  background:url(../img/nav.svg) no-repeat;
  color:#333333;
  text-align:center;
  text-decoration:none;
}

.no-svg #nav a{
  background:url(../img/nav.png) no-repeat;
}

#home{
  overflow:hidden;
}

#main-visual{
  position:relative;
  background:url(../img/fg-main.png) repeat,url(../img/bg-main.svg) no-repeat center bottom;
}

.no-svg #main-visual{
  background:url(../img/fg-main.png) repeat,url(../img/bg-main.png) no-repeat center bottom;
}

#main-kumachev{
  position:absolute;
  left:-80px;
  width:100px;
  height:180px;
  background:url(../img/kumachev-main.svg) no-repeat -100px 0;
}

.no-svg #main-kumachev{
  background:url(../img/kumachev-main.png) no-repeat -100px 0;
}

#kumachev-board{
  width:95px;
  height:122px;
  background:url(../img/board.svg) no-repeat 0 0;
  position:absolute;
  top:22px;
  left:80px;
  display:none;
}

.no-svg #kumachev-board{
  background:url(../img/board.png) no-repeat 0 0;
}

#home{
  overflow:hidden;
}

#menu section{
  width:240px;
  height:240px;
  -moz-border-radius:120px;
  -webkit-border-radius:120px;
  border-radius:120px;
  background:#cccccc;
  text-align:center;
  overflow:hidden;
}

#menu section::before{
  width:224px;
  height:224px;
  border:solid 3px #946c45;
  -moz-border-radius:112px;
  -webkit-border-radius:112px;
  border-radius:112px;
  content:"";
  position:absolute;
  top:5px;
  left:5px;
}

#menu section h1{
  width:200px;
  margin:0 auto;
  padding:46px 0 4px 0;
  border-bottom:solid 3px #946c45;
}

#menu section ul{
  list-style:none;
  width:190px;
  margin:0 auto;
  padding:12px 0 0 0;
  font-size:1.2rem;
  line-height:2.1;
}

#menu section li{
  padding:0 4px 0 0;
  display:inline-block;
}

#service p span{
  display:block;
}

#service dl{
  margin:0;
  clear:both;
}

#service dt{
  float:left;
  clear:both;
}

#service dd{
  float:right;
}

#service-visual{
  width:500px;
  height:200px;
  -moz-border-radius:250px / 100px;
  -webkit-border-radius:250px / 100px;
  border-radius:250px / 100px;
  background:url(../img/fg-main.png) repeat, url(../img/bg-service-ground.gif) repeat-x left bottom;
  overflow:hidden;
  position:relative;
}

.no-borderradius #service-visual{
  background:url(../img/service.png) no-repeat 0 0;
}

#service-kumachev{
  width:120px;
  height:150px;
  background:url(../img/kumachev-service.svg) no-repeat 0 0;
  position:absolute;
  top:25px;
  left:90px;
}

.no-svg #service-kumachev{
  background:url(../img/kumachev-service.png) no-repeat 0 0;
}

#bag{
  width:30px;
  height:30px;
  background:url(../img/bag.svg) no-repeat 0 0; 
  position:absolute;
  top:79px;
  left:61px;
  display:none;
}

.no-svg #bag{
  background:url(../img/bag.png) no-repeat 0 0;
}

#balance{
  width:188px;
  height:140px;
  background:url(../img/balance.svg) no-repeat 0 0; 
  position:absolute;
  top:10px;
  left:140px;
  display:block;
}

.no-svg #balance{
  background:url(../img/balance.png) no-repeat 0 0;
}

#service-menu{
  padding:16px 30px 48px 30px;
  position:relative;
}

#service-menu::before{
  content:"";
  width:115px;
  height:115px;
  background:url(../img/bg-service-menu.png) no-repeat 0 0;
  position:absolute;
  left:0;
  top:0;
}

#service-menu::after{
  content:"";
  width:115px;
  height:115px;
  background:url(../img/bg-service-menu.png) no-repeat 0 -115px;
  position:absolute;
  right:0;
  top:0;
}

#service-menu h1{
  font-size:1.2rem;
  font-weight:bold;
  text-align:center;
}

#service-menu dl{
  margin-bottom:4px;
}

#service-menu dl:last-child::before{
  content:"";
  width:115px;
  height:115px;
  background:url(../img/bg-service-menu.png) no-repeat 0 -230px;
  position:absolute;
  left:0;
  bottom:0;
}

#service-menu dl:last-child::after{
  content:"";
  width:115px;
  height:115px;
  background:url(../img/bg-service-menu.png) no-repeat 0 -345px;
  position:absolute;
  right:0;
  bottom:0;
}

#about-visual{
  width:500px;
  height:200px;
  -moz-border-radius:250px / 100px;
  -webkit-border-radius:250px / 100px;
  border-radius:250px / 100px;
  background:url(../img/fg-main.png) repeat, url(../img/about-light.svg) no-repeat 0 0, url(../img/bg-about.gif) repeat-x 0 0;
  overflow:hidden;
  position:relative;
}

.no-svg #about-visual{
  background:url(../img/fg-main.png) repeat, url(../img/about-light.png) no-repeat 0 0, url(../img/bg-about.gif) repeat-x 0 0;
}

.no-borderradius #about-visual{
  background:url(../img/about.png) no-repeat 0 0;
}

#about-kumachev{
  width:230px;
  height:150px;
  background:url(../img/kumachev-about.svg) no-repeat 0 0;
  position:absolute;
  top:25px;
  left:135px;
}

.no-svg #about-kumachev{
  background:url(../img/kumachev-about.png) no-repeat 0 0;
}

#contact-visual{
  width:500px;
  height:200px;
  -moz-border-radius:250px / 100px;
  -webkit-border-radius:250px / 100px;
  border-radius:250px / 100px;
  background:url(../img/fg-main.png) repeat, url(../img/bg-contact.svg) no-repeat 0 0;
  overflow:hidden;
  position:relative;
}

.no-svg #contact-visual{
  background:url(../img/fg-main.png) repeat, url(../img/bg-contact.png) no-repeat 0 0;
}

.no-borderradius #contact-visual{
  background:url(../img/contact.png) no-repeat 0 0;
}

.plane{
  width:50px;
  height:30px;
  background:url(../img/plane.svg) no-repeat 0 0;
  position:absolute;
  top:40px;
  left:40px;
}

.no-svg .plane{
  background:url(../img/plane.png) no-repeat 0 0;
}

#co-header{
    margin: 60px 0;
}

#co-header > h1{
  text-align: center;
}

#co-header > h1 > img{
  max-width: 100%;
  height: auto;
}

#cooperation > div{
  margin: 30px 0;
  text-align: center;
}

#cooperation > div > img{
  max-width: 100%;
  height: auto;
}

@media only screen and (max-width: 768px) {
  .icon-home::before{content:"\68";} /* 'h' */
  .icon-service::before{content:"\73";} /* 's' */
  .icon-about::before{content:"\61";} /* 'a' */
  .icon-contact::before{content:"\63";} /* 'c' */

  a,div{
    -webkit-tap-highlight-color:rgba(0,0,0,0);
  }

  #catch{
    display:none;
  }

  #header h1{
    position:absolute;
    top:1rem;
    left:1rem;
    z-index:1;
  }

  #nav{
    width:100%;
    position:fixed;
    bottom:0;
    left:0;   
    z-index:100;
  }
  
  #nav li{
    width:25%;
    background:rgba(0,0,0,.1);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
  }

  #nav a{
    width:95%;
    height:52px;
    margin:4px auto 4px auto;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
  }
  
  #nav a.active-nav,
  #nav a.hover{
    background-color:rgba(0,0,0,.7);
    color:#ffffff;
  }

  #nav-home a,
  .no-svg #nav-home a{
    background-position:center 5px;
  }

  #nav-home a.active-nav,
  #nav-home a.hover,
  .no-svg #nav-home a.active-nav,
  .no-svg #nav-home a.hover{
    background-position:center -55px;
  }

  #nav-service a,
  .no-svg #nav-service a{
    background-position:center -115px;
  }
  
  #nav-service a.active-nav,
  #nav-service a.hover,
  .no-svg #nav-service a.active-nav,
  .no-svg #nav-service a.hover{
    background-position:center -175px;
  }
  
  #nav-about a,
  .no-svg #nav-about a{
    background-position:center -235px;
  }
  
  #nav-about a.active-nav,
  #nav-about a.hover,
  .no-svg #nav-about a.active-nav,
  .no-svg #nav-about a.hover{
    background-position:center -295px;
  }
  
  #nav-contact a,
  .no-svg #nav-contact a{
    background-position:center -355px;
  }
  
  #nav-contact a.hover,
  #nav-contact a.active-nav,
  .no-svg #nav-contact a.hover,
  .no-svg #nav-contact a.active-nav{
    background-position:center -415px;
  }

  #main-visual{
    width:100%;
    height:270px;
  }

  #main-kumachev{
    top:90px;
  }

  #message{
    width:95%;
    margin:10px auto;
    padding:10px;
    box-sizing:border-box;
    background:rgba(251,216,181,.3);
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
  }

  #menu{
    height:280px;
    position:relative;
  }

  #menu section{
    position:absolute;
    left:0;
    top:158px;
  }

  #menu section:first-child{
    margin-left:-120px;
    left:50%;
    top:0;
  }

  #menu section:not(:first-child){
    width:118px;
    height:118px;
    -moz-border-radius:59px;
    -webkit-border-radius:59px;
    border-radius:59px;
  }

  #menu section:last-child{
    left:100%;
    margin-left:-118px;
    -webkit-transform-origin:right bottom;
    -moz-transform-origin:right bottom;
    -ms-transform-origin:right bottom;
    -o-transform-origin:right bottom;
    transform-origin:right bottom;
  }

  #menu section:not(:first-child)::before{
    width:112px;
    height:112px;
    border:solid 1px #946c45;
    -moz-border-
    radius:56px;
    -webkit-border-radius:56px;
    border-radius:56px;
    content:"";
    position:absolute;
    top:2px;
    left:2px;
  }

  #menu section:not(:first-child) h1{
    width:90px;
    padding:23px 0 2px 0;
    border-bottom:solid 1px #946c45;
    font-size:1.4rem;
  }

  #menu section:not(:first-child) ul{
    width:95px;
    padding:6px 0 0 0;
    font-size:0.6rem;
  }

  #menu section:not(:first-child) li{
    padding:0 2px 0 0;
  }

  #menu .hover{
    -webkit-transform:scale(1.6);
    -moz-transform:scale(1.6);
    -ms-transform:scale(1.6);
    -o-transform:scale(1.6);
    transform:scale(1.6);
    -webkit-transform-origin:left bottom;
    -moz-transform-origin:left bottom;
    -ms-transform-origin:left bottom;
    -o-transform-origin:left bottom;
    transform-origin:left bottom;
  }

  #service{
    margin-top:20px;
  }

  #service > h1{
    line-height:1.2;
  }

  #service > h1 span{
    display:inline-block;
  }

  #service > p{
    width:95%;
    margin:10px auto;
    padding:10px;
    box-sizing:border-box;
    background:rgba(0,153,68,.1);
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
  }

  #service-visual{
    margin:0 auto;
    -webkit-transform-origin:left top;
    -moz-transform-origin:left top;
    -ms-transform-origin:left top;
    -o-transform-origin:left top;
    transform-origin:left top;
  }

  #how-to-use{
    overflow:hidden;
    position:relative;
  }

  #how-to-use h1{
    font-size:1.2rem;
  }

  #how-to-use > h1{
    margin-bottom:44px;
    text-align:center;
  }

  #how-to-use > h1::after,
  #how-to-use > h1::before{
    margin:0 5px;
    content:"";
    width:32px;
    height:14px;
    background:url(../img/bg-case-head.png) no-repeat 0 0;
    display:inline-block;
  }

  #how-to-use > h1::after{
    -moz-transform:matrix(-1, 0, 0, 1, 0, 0);
    -webkit-transform:matrix(-1, 0, 0, 1, 0, 0);
    -o-transform:matrix(-1, 0, 0, 1, 0, 0);
    transform:matrix(-1, 0, 0, 1, 0, 0);
  }

  #how-to-use > section > h1{
    width:80px;
    height:42px;
    -moz-border-radius:10px 10px 0 0;
    -webkit-border-radius:10px 10px 0 0;
    border-radius:10px 10px 0 0;
    text-align:center;
    line-height:42px;
    overflow:hidden;
    white-space:nowrap;
    position:absolute;
    top:23px;
  }

  #how-to-use > section > div{
    padding:10px;
    -moz-border-radius:0 10px 10px 10px;
    -webkit-border-radius:0 10px 10px 10px;
    border-radius:0 10px 10px 10px;
    display:none;
  }

  #how-to-use > section > div > *:not(:last-child){
    margin-bottom:5px;
    padding-bottom:5px;
  }

  #how-to-use .active-case{
    display:block;
  }

  #how-to-use .arrow-box-left{
    padding:2px 5px;
    border:1px solid #946c45;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    position:relative;
    background:#ffffff;
  }

  #how-to-use .arrow-box-left:after,
  #how-to-use .arrow-box-left:before{
    content:"";
    border:solid transparent;
    height:0;
    width:0;
    position:absolute;
    right:100%;
    pointer-events: none;
  }

  #how-to-use .arrow-box-left:after{
    margin-top:-9px;
    border-color:rgba(255,255,255,0);
    border-right-color:#ffffff;
    border-width:4px 9px;
    bottom:6px;
  }

  #how-to-use .arrow-box-left:before{
    margin-top:-10px;
    border-color:rgba(148,108,69,0);
    border-right-color:#946c45;
    border-width:5px 10px;
    bottom:5px;
  }

  #how-to-use .arrow-box-left > h1:before{
    content:"\73";
    font-family:office-kuma;
    color:#f19ca7;
  }

  #how-to-use .arrow-box-right{
    padding:2px 5px;
    border:1px solid #946c45;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    position:relative;
    background:#ffffff;
  }

  #how-to-use .arrow-box-right:after,
  #how-to-use .arrow-box-right:before{
    content:"";
    border:solid transparent;
    height:0;
    width:0;
    position:absolute;
    left:100%;
    pointer-events: none;
  }

  #how-to-use .arrow-box-right:after{
    margin-top:-9px;
    border-color:rgba(255,255,255,0);
    border-left-color:#ffffff;
    border-width:4px 9px;
    bottom:6px;
  }

  #how-to-use .arrow-box-right:before{
    margin-top:-10px;
    border-color:rgba(148,108,69,0);
    border-left-color:#946c45;
    border-width:5px 10px;
    bottom:5px;
  }

  #how-to-use .arrow-box-right > h1:before{
    content:"\61";
    font-family:office-kuma;
    color:#946c45;
  }

  #case-a > div{
    background:rgba(255,244,98,.2);
  }

  #case-a > h1{
    background:rgba(255,244,98,.2);
    left:0;
  }

  #case-b > div{
    background:rgba(104,164,217,.2);
  }

  #case-b > h1{
    left:80px;
    background:rgba(104,164,217,.2);
  }

  #case-c > div{
    background:rgba(148,108,69,.2);
  }

  #case-c > h1{
    left:160px;
    background:rgba(148,108,69,.2);
  }

  #about{
    margin-top:20px;
  }

  #about-visual{
    margin:0 auto;
    -webkit-transform-origin:left top;
    -moz-transform-origin:left top;
    -ms-transform-origin:left top;
    -o-transform-origin:left top;
    transform-origin:left top;
  }

  #about > h1{
    line-height:1.2;
  }

  #about > h1 span{
    display:inline-block;
  }

  #about p{
    width:95%;
    margin:10px auto;
    padding:10px;
    box-sizing:border-box;
    background:rgba(241,156,167,.2);
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
  }

  #studio h1{
    font-size:1.2rem;
  }

  #studio > h1{
    margin-top:10px;
    text-align:center;
  }

  #studio > h1::after,
  #studio > h1::before{
    margin:0 5px;
    content:"";
    width:32px;
    height:14px;
    background:url(../img/bg-case-head.png) no-repeat 0 0;
    display:inline-block;
  }

  #studio > h1::after{
    -moz-transform:matrix(-1, 0, 0, 1, 0, 0);
    -webkit-transform:matrix(-1, 0, 0, 1, 0, 0);
    -o-transform:matrix(-1, 0, 0, 1, 0, 0);
    transform:matrix(-1, 0, 0, 1, 0, 0);
  }

  #studio dl{
    width:250px;
    margin:0 auto;
    padding:0;
  }

  #studio dt{
    width:70px;
    float:left;
    clear:both;
  }

  #studio dd{
    margin-left:70px;
  }

  #studio dd > span{
    display:block;
  }

  #contact > h1{
    line-height:1.2;
  }

  #contact > h1 span{
    display:inline-block;
  }

  #contact p{
    width:95%;
    margin:10px auto;
    padding:10px;
    box-sizing:border-box;
    background:rgba(218,83,110,.2);
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
  }

  #contact-visual{
    margin:0 auto;
    -webkit-transform-origin:left top;
    -moz-transform-origin:left top;
    -ms-transform-origin:left top;
    -o-transform-origin:left top;
    transform-origin:left top;
  }

  #contact-form{
    width:95%;
    margin:10px auto 0 auto;
    position:relative;
  }
  
  #contact-form > input,
  #contact-form > textarea{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    border:1px solid #946c45;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
  }
  
  #contact-form input[type="text"],[type="email"]{
    width:100%;
    height:40px;
    background:rgba(204,204,204,.2);
    display:block;
  }
  
  #contact-form input[type="text"]:focus,[type="email"]:focus,
  #contact-form textarea:focus{
    background:#ffffff;
    color:#000000;
  }
  
  #contact-form textarea{
    width:75%;
    height:120px;
    background:rgba(204,204,204,.2);
  }
  
  #contact-form input[type="button"]{
    width:25%;
    height:60px;
    background:rgba(104,164,217,.2);
    font-weight:bold;
    position:absolute;
    right:0;
    top:80px;
  }
  
  #contact-form #submit{
    background:rgba(0,153,68,.1);
    top:140px;
  }
  
  #validate{
    color:#ff6666;
    display:none;
  }
  
  #validate > span{
    display:block;
  }

  #contact-form > span{
    display:none;
  }

  #footer{
    margin-bottom:60px;
    background:rgba(0,0,0,.8);
    color:#ffffff;
  }

  #footer > ul{
      list-style: none;
      margin: 0;
      padding: 10px;
  }

  #footer > ul > li > a{
      color: #fff;
      text-decoration: none;
  }

  #footer > ul > li > a:before{
      content: ' > ';
  }

  #footer p{
    text-align:center;
  }


}

@media only screen and (max-width: 392px) {
  #service > h1 span:last-child{
    float:right;
  }
}

@media only screen and (max-width: 419px) {
  #about > h1 span:last-child{
    float:right;
  }
}

@media only screen and (max-width: 476px) {
  #contact > h1 span:last-child{
    float:right;
  }
}

@media only screen and (min-width: 769px) {
  #wrapper{
    width:950px;
    margin:0 auto;
  }
  
  #catch{
    text-align:right;
  }

  #header{
    padding-bottom:10px;
    background:#ffffff;
    position:relative;
    top:0;
    z-index:1;
  }

  #header h1{
    float:left;
  }

  .lt-ie7 #header h1{
    background:url(../img/office-kuma.gif) no-repeat;
  }

  #nav{
    width:760px;
    margin-left:190px;
  }

  .lt-ie7 #nav{
    width:757px;
  }

  #nav ul{
    float:right;
  }
    
  #nav li{
    width:90px;
  }

  #nav a{
    width:90px;
    height:60px;
    overflow:hidden;
  }

  .lt-ie7 #nav a{
    background:url(../img/nav.gif) no-repeat;
  }

  #nav-home a,
  .no-svg #nav-home a{
    background-position:20px 0;
  }

  #nav-home a.active-nav,
  #nav-home a:hover,
  .no-svg #nav-home a.active-nav,
  .no-svg #nav-home a:hover{
    background-position:20px -60px;
  }

  #nav-service a,
  .no-svg #nav-service a{
    background-position:20px -120px;
  }
  
  #nav-service a.active-nav,
  #nav-service a:hover,
  .no-svg #nav-service a.active-nav,
  .no-svg #nav-service a:hover{
    background-position:20px -180px;
  }
  
  #nav-about a,
  .no-svg #nav-about a{
    background-position:20px -240px;
  }
  
  #nav-about a.active-nav,
  #nav-about a:hover,
  .no-svg #nav-about a.active-nav,
  .no-svg #nav-about a:hover{
    background-position:20px -300px;
  }
  
  #nav-contact a,
  .no-svg #nav-contact a{
    background-position:20px -360px;
  }
  
  #nav-contact a.active-nav,
  #nav-contact a:hover,
  .no-svg #nav-contact a.active-nav,
  .no-svg #nav-contact a:hover{
    background-position:20px -420px;
  }

  #home{
    clear:both;
  }

  #main-visual{
    width:950px;
    height:360px;
  }

  .no-multiplebgs #main-visual{
    background:url(../img/main.png) no-repeat center bottom;
  }

  #main-kumachev{
    top:180px;
  }

  #home{
    overflow:hidden;
  }

  #message{
    margin:40px 0;
    text-align:center;
  }

  #message span{
    display:block;
  }

  #menu section{
    margin:0 30px;
    position:relative;
    float:left;
  }

  #menu section:first-child{
    margin-left:55px;
  }

  .no-borderradius #menu section{
    background:url(../img/bg-menu.gif) no-repeat;
  }

  .lt-ie8 #menu section li{
    padding:0 8px 0 0;
    display:inline;
    zoom:1;
  }

  #service{
    margin-top:40px;
    padding:0 20px;
    position:relative;
  }

  #service p{
    width:570px;
  }

  #service-visual{
    margin:10px 0 10px 35px;
  }

  #service-menu{
    width:260px;
    position:absolute;
    top:50px;
    left:610px;
  }

  #service-menu{
    padding-bottom:30px;
  }

  .lt-ie9 #service-menu{
    height:398px;
    background:url(../img/bg-service-menu-box.gif) no-repeat 0 0;
    overflow:hidden;
  }

  .lt-ie9 #service-menu h1{
    font-size:12px;
  }

  .lt-ie8 #service-menu dt{
    width:13em;
  }

  #service .notes{
    padding-top:10px;
    border-top:solid 1px #cccccc;
  }

  #how-to-use{
    margin-top:20px;
    position:relative;
  }

  #how-to-use h1{
    font-size:12px;
    font-size:1.2rem;
  }

  #how-to-use p{
    width:95%;
  }

  #case-a{
    width:290px;
    margin-top:10px;
  }

  #case-b{
    width:290px;
    position:absolute;
    top:31px;
    left:310px;
  }

  #case-c{
    width:290px;
    position:absolute;
    top:31px;
    left:620px;
  }

  .lt-ie9 #how-to-use{
    display:none;
  }

  #how-to-use{
    overflow:hidden;
    position:relative;
  }

  #how-to-use h1{
    font-size:1.2rem;
  }

  #how-to-use > h1{
    text-align:center;
  }

  #how-to-use > h1:after,
  #how-to-use > h1:before{
    margin:0 5px;
    content:"";
    width:32px;
    height:14px;
    background:url(../img/bg-case-head.png) no-repeat 0 0;
    display:inline-block;
  }

  #how-to-use > h1:after{
    -moz-transform:matrix(-1, 0, 0, 1, 0, 0);
    -webkit-transform:matrix(-1, 0, 0, 1, 0, 0);
    -o-transform:matrix(-1, 0, 0, 1, 0, 0);
    transform:matrix(-1, 0, 0, 1, 0, 0);
  }

  #how-to-use > section > h1{
    display:none;
  }

  #how-to-use > section > div{
    padding:10px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
  }

  #how-to-use > section > div > *:not(:last-child){
    margin-bottom:5px;
    padding-bottom:5px;
  }

  #how-to-use .arrow-box-left{
    padding:2px 5px;
    border:1px solid #946c45;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    position:relative;
    background:#ffffff;
  }

  #how-to-use .arrow-box-left:after,
  #how-to-use .arrow-box-left:before{
    content:"";
    border:solid transparent;
    height:0;
    width:0;
    position:absolute;
    right:100%;
    pointer-events: none;
  }

  #how-to-use .arrow-box-left:after{
    margin-top:-9px;
    border-color:rgba(255,255,255,0);
    border-right-color:#ffffff;
    border-width:4px 9px;
    bottom:6px;
  }

  #how-to-use .arrow-box-left:before{
    margin-top:-10px;
    border-color:rgba(148,108,69,0);
    border-right-color:#946c45;
    border-width:5px 10px;
    bottom:5px;
  }

  #how-to-use .arrow-box-left > h1:before{
    content:"\73";
    font-family:office-kuma;
    color:#f19ca7;
  }

  #how-to-use .arrow-box-right{
    padding:2px 5px;
    border:1px solid #946c45;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    position:relative;
    background:#ffffff;
  }

  #how-to-use .arrow-box-right:after,
  #how-to-use .arrow-box-right:before{
    content:"";
    border:solid transparent;
    height:0;
    width:0;
    position:absolute;
    left:100%;
    pointer-events: none;
  }

  #how-to-use .arrow-box-right:after{
    margin-top:-9px;
    border-color:rgba(255,255,255,0);
    border-left-color:#ffffff;
    border-width:4px 9px;
    bottom:6px;
  }

  #how-to-use .arrow-box-right:before{
    margin-top:-10px;
    border-color:rgba(148,108,69,0);
    border-left-color:#946c45;
    border-width:5px 10px;
    bottom:5px;
  }

  #how-to-use .arrow-box-right > h1:before{
    content:"\61";
    font-family:office-kuma;
    color:#946c45;
  }

  #case-a > div{
    background:rgba(255,244,98,.2);
  }

  #case-a > h1{
    background:rgba(255,244,98,.2);
    left:0;
  }

  #case-b > div{
    background:rgba(104,164,217,.2);
  }

  #case-b > h1{
    left:80px;
    background:rgba(104,164,217,.2);
  }

  #case-c > div{
    background:rgba(148,108,69,.2);
  }

  #case-c > h1{
    left:160px;
    background:rgba(148,108,69,.2);
  }



  #about{
    margin-top:40px;
    padding:0 20px;
    position:relative;
  }
  
  #about p{
    width:570px;
  }

  #about-visual{
    margin:10px 0 10px 35px;
  }

  #studio{
    width:300px;
    position:absolute;
    top:50px;
    left:630px;
  }

  #studio h1{
    margin:5px 0;
    font-size:12px;
    font-size:1.2rem;
    text-align:center;
  }

  #studio h1::after,
  #studio h1::before{
    margin:0 5px;
    content:"";
    width:32px;
    height:14px;
    background:url(../img/bg-case-head.png) no-repeat 0 0;
    display:inline-block;
  }

  #studio h1::after{
    -moz-transform:matrix(-1, 0, 0, 1, 0, 0);
    -webkit-transform:matrix(-1, 0, 0, 1, 0, 0);
    -o-transform:matrix(-1, 0, 0, 1, 0, 0);
    transform:matrix(-1, 0, 0, 1, 0, 0);
  }

  .no-csstransforms3d #studio h1{
    background:url(../img/bg-case-head-box.gif) no-repeat center 0;
  }

  #studio dl{
    margin:0 auto;
    padding:0;
  }

  #studio dt{
    width:70px;
    float:left;
    clear:both;
  }

  #studio dd{
    margin-left:70px;
  }

  #studio dd span{
    display:block;
  }

  #studio p{
    width:300px;
    margin-top:5px;
    padding-top:5px;
    border-top:solid 1px #cccccc;
  }

  #contact{
    margin-top:40px;
    padding:0 20px;
    position:relative;
  }
  
  #contact p{
    width:570px;
  }

  #contact .notes{
    padding-top:10px;
    border-top:solid 1px #cccccc;
  }

  #contact-visual{
    margin:10px 0 10px 35px;
  }

  #contact-form{
    width:300px;
    margin:0;
    display:block;
    position:absolute;
    top:50px;
    left:630px;
  }

  #name,#email{
    width:100%;
    height:25px;
    line-height:25px;
  }

  #contact-form textarea{
    width:298px;
    height:155px;
  }

  #clear,#submit{
    display: block;
    float: left;
    width: 50%;
    height:25px;
  }

  #contact-form span{
    display:block;
  }

  #validate{
    width:300px !important;
    position:absolute;
    top:360px;
    left:630px;
    color:#ff6666;
    display:none;
  }

  #validate span{
    display:block;
  }

    #footer{
        margin: 60px 0;
    }
    
  #footer > ul{
      display: inline-block;
      list-style: none;
      margin: 0;
      padding: 10px;
    background:rgba(0,0,0,.8);
    color:#ffffff;
  }

  #footer > ul > li > a{
      color: #fff;
      text-decoration: none;
  }

  #footer > ul > li > a:before{
      content: ' > ';
  }

  #footer p{
    margin-top: -50px;
    text-align:center;
  }
  
  #co-contact,
  #nantonaku{
    margin-top: 40px;
  }

  .cooperation #contact-form{
     position: static;
  }

 .cooperation #validate{
    position: static;
 }

}













/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
