@import url(https://fonts.googleapis.com/css?family=Quattrocento);
@import url(https://fonts.googleapis.com/css?family=Oswald);

#page-top {
  display: none;
  position: fixed;
  right: 40px;
  bottom: 60px;
  width: 80px;
  height: 15px;
      -ms-filter: "alpha(opacity=80)";
    -moz-opacity: 1;
  -khtml-opacity: 1;
         opacity: 1;
  color: #ffffff;
  font-size: 11px;
  text-decoration: none;
  box-shadow: 0 8px 10px -5px #000;
}

#page-top::before,
#page-top::after {
  position: absolute;
  bottom: 0;
  content: '';
  cursor: pointer;
}

#page-top::before {
  right: 0;
  border-top: 40px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid #c59a6d;
  border-left: 20px solid #c59a6d;
}

#page-top::after {
  left: 0;
  border-top: 40px solid transparent;
  border-right: 20px solid #c59a6d;
  border-bottom: 40px solid #c59a6d;
  border-left: 20px solid transparent;
}

#page-top a {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 2px;
  z-index: 999;
  width: 80px;
  font-size: 14px;
  text-align: center;
}

#page-top:hover::before {
  border-bottom-color: #f06907;
  border-left-color: #f06907;
  transition: all .3s;
}

#page-top:hover::after {
  border-right-color: #f06907;
  border-bottom-color: #f06907;
  transition: all .3s;
}

#page-top:hover a {
  color: rgba( 255, 255, 255, 0.6);
}

.col-JR-station {
  color: #f3af0f;
}

.col-subway-station {
  color: #7fb727;
}

.col-plane-station {
  color: #00bfff;
}


figure.snip1229 {
    font-family: 'Raleway', Arial, sans-serif;
  overflow: hidden;
  position: relative;
    background: #000000;
      min-width: 100%;
  max-width: 100%;
  width: 100%;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  margin: 0;
}

figure.snip1229 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

figure.snip1229 img {
  max-width: 100%;
  width:100%;
  vertical-align: top;
  opacity: 0.9;
}

figure.snip1229 figcaption {
  position: absolute;
  top: 9%;
  left: 7%;
  right: 7%;
  bottom: 80%;
  border: 1px solid white;
  border-width: 0 1px 1px;
  -webkit-transition-delay: 0.35s;
  transition-delay: 0.35s;
}

figure.snip1229 .heading1 {
  color:#ffffe0;
  background-color: #282f35;
}

figure.snip1229 .heading {
  overflow: hidden;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

figure.snip1229 h3 {
  display: table;
  margin: 0 auto;
  padding: 3px 10px;
  position: relative;
  text-align: center;
  width: auto;
  text-transform: uppercase;
  font-weight: 400;
}

figure.snip1229 .heading .heading1{
  background-color: #f27398;
}

figure.snip1229 .heading .heading2{
  background-color: #58BE89;
}

figure.snip1229 .heading .heading3{
  background-color: #fba848;
}

figure.snip1229 .heading .heading4{
  background-color: #40AAEF;
}

figure.snip1229 h3 span {
  font-weight: 800;
}

figure.snip1229 h3::before,
figure.snip1229 h3::after {
  position: absolute;
  display: block;
  width: 1000%;
  height: 1px;
  content: '';
  background: white;
  top: 50%;
}

figure.snip1229 h3::before {
  left: -1000%;
}

figure.snip1229 h3::after {
  right: -1000%;
}

figure.snip1229 p {
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  position: absolute;
  width: 100%;
  padding: 0 20px;
  margin: 0;
  opacity: 0;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

figure.snip1229 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1229:hover img,
figure.snip1229.hover img {
  color:#ffffff;
  opacity: 0.35;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

figure.snip1229:hover figcaption,
figure.snip1229.hover figcaption {
  top: 9%;
  bottom: 9%;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

figure.snip1229:hover p,
figure.snip1229.hover p {
  opacity: 1;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}

#meet-us,
#kensyuu-us,
#experience,
#venue-us,
#sesct-us,
#enkaku,
#cta3,
#adoption {
  background: rgb( 255, 255, 255);
}

.label.label-primary {
  position: relative;
  top: -2px;
}

/* for Webkit */
.form-control::-webkit-input-placeholder {
   font-family: 'Montserrat', Arial, Roboto, “Droid Sans”, "Helvetica Light", Helvetica, Arial, Meiryo, "Hiragino Kaku Gothic ProN", sans-serif,sans-serif;
    color: #9f9f9f;
    font-size: 0.9em;
    font-style: normal;
}

/* for Firefox */
.form-control::-moz-placeholder {
   font-family: 'Montserrat', Arial, Roboto, “Droid Sans”, "Helvetica Light", Helvetica, Arial, Meiryo, "Hiragino Kaku Gothic ProN", sans-serif,sans-serif;
    color: #9f9f9f;
    font-size: 0.9em;
    font-style: normal;
}

/* for Firefox 18以前 */
.form-control:-moz-placeholder {
   font-family: 'Montserrat', Arial, Roboto, “Droid Sans”, "Helvetica Light", Helvetica, Arial, Meiryo, "Hiragino Kaku Gothic ProN", sans-serif,sans-serif;
    color: #9f9f9f;
    font-size: 0.9em;
    font-style: normal;
}

/* for Windows IE */
.form-control:-ms-input-placeholder {
  font-family: 'Montserrat', Arial, Roboto, “Droid Sans”, "Helvetica Light", Helvetica, Arial, Meiryo, "Hiragino Kaku Gothic ProN", sans-serif,sans-serif;
  color: #9f9f9f;
  font-size: 0.9em;
  font-style: normal;
}

.contact__elem__info-table {
  margin: 0 auto 10px;
}
.contact__elem__info-table__office-location {
  text-align: center;
  padding-bottom: 10px;
}

.contact__elem__info-table th {
  font-weight: normal;
  text-align: right;
}

.contact__elem__info-table .contact__elem__info-table__media-adjust {
  text-align: center;
}

.contact__elem__info-table td {
  text-align: left;
}

@media screen and (min-width:400px) {
  .contact__elem__info-table__media-adjust {
    text-align: right;
  }
  .contact__elem__info-table__media-adjust,
  .contact__elem__info-table__media-adjust + td {
    padding-top: 10px;
  }
  .contact__elem__info-table__br {
    display: none;
  }
}

/* cube-button effect */
.js-cube-button,
.js-cube-button-1,
.js-cube-button-wid {
  display: inline-block;
  position: relative;
  height: 48px;
  margin: 0 auto;
}

.js-cube-button,
.js-cube-button-1 {
  width: 288px;
}

.js-cube-button-wid {
  width: 384px;
}

.cube-button-text,
.cube-button-text-1,
.cube-button-text-wid {
  position: absolute;
  left: 50%;
  z-index: 1;
  width: 100%;
  height: 100%;
  line-height: 48px;
  margin-left: -50%;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
}

.twist-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.twist {
  display: block;
  position: relative;
  float: left;
  height: 100%;
}

.twist::before {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fed5a9;
  content: '';
  transform-origin: 0 bottom;
  transform: matrix3d(1, 0, 0, 0,
                      0, 0, -1, -0.003,
                      0, 1, 0, 0,
                      0, 0, 0, 1);

-webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
   -moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
     -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
        transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
}

.js-cube-button:hover .twist::before,
.js-cube-button-1:hover .twist::before,
.js-cube-button-wid:hover .twist::before {
  transform: matrix3d(1, 0, 0, 0,
                      0, 1, 0, 0,
                      0, 0, 1, 0.003,
                      0, 50, 0, 1);
}

.cube-button--md-col-default:hover .twist::before {
  background: transparent;
}

.cube-button--md-col-2:hover .twist::before {
  background: rgba( 251, 211, 175, 0.2);
}

.twist::after {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 100%;
  left: 0;
  background: #9f7f5e;
  content: '';
  transform-origin: 0 top;
  transform: matrix3d(1, 0, 0, 0,
                      0, 1, 0, 0,
                      0, 0, 1, -0.003,
                      0, -50, 0, 1);

-webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
   -moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
     -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
        transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
}

.js-cube-button:hover .twist::after,
.js-cube-button-1:hover .twist::after,
.js-cube-button-wid:hover .twist::after {
  transform: matrix3d(1, 0, 0, 0,
                      0, 0, -1, 0.003,
                      0, 1, 0, 0,
                      0, 0, 0, 1);
}

.cube-button--md-col-default:hover .twist::after {
  background: transparent;
}

.cube-button--md-col-2:hover .twist::after {
  background: rgba( 127, 95, 63, 0.2);
}

.js-cube-button .twist:nth-of-type(1),
.js-cube-button-1 .twist:nth-of-type(1),
.js-cube-button-wid .twist:nth-of-type(1) {
  margin-left: 0;
}

.js-cube-button .twist:nth-of-type(1)::before,
.js-cube-button .twist:nth-of-type(1)::after,
.js-cube-button-1 .twist:nth-of-type(1)::before,
.js-cube-button-1 .twist:nth-of-type(1)::after,
.js-cube-button-wid .twist:nth-of-type(1)::before,
.js-cube-button-wid .twist:nth-of-type(1)::after {
  transition-delay: 0s;
}

.js-cube-button .twist:nth-of-type(2)::before,
.js-cube-button .twist:nth-of-type(2)::after,
.js-cube-button-1 .twist:nth-of-type(2)::before,
.js-cube-button-1 .twist:nth-of-type(2)::after,
.js-cube-button-wid .twist:nth-of-type(2)::before,
.js-cube-button-wid .twist:nth-of-type(2)::after {
  transition-delay: 0.1s;
}

.js-cube-button .twist:nth-of-type(3)::before,
.js-cube-button .twist:nth-of-type(3)::after,
.js-cube-button-1 .twist:nth-of-type(3)::before,
.js-cube-button-1 .twist:nth-of-type(3)::after,
.js-cube-button-wid .twist:nth-of-type(3)::before,
.js-cube-button-wid .twist:nth-of-type(3)::after {
  transition-delay: 0.2s;
}

.js-cube-button .twist:nth-of-type(4)::before,
.js-cube-button .twist:nth-of-type(4)::after,
.js-cube-button-1 .twist:nth-of-type(4)::before,
.js-cube-button-1 .twist:nth-of-type(4)::after,
.js-cube-button-wid .twist:nth-of-type(4)::before,
.js-cube-button-wid .twist:nth-of-type(4)::after {
  transition-delay: 0.3s;
}

.js-cube-button .twist:nth-of-type(5)::before,
.js-cube-button .twist:nth-of-type(5)::after,
.js-cube-button-1 .twist:nth-of-type(5)::before,
.js-cube-button-1 .twist:nth-of-type(5)::after,
.js-cube-button-wid .twist:nth-of-type(5)::before,
.js-cube-button-wid .twist:nth-of-type(5)::after {
  transition-delay: 0.4s;
}

.js-cube-button .twist:nth-of-type(6)::before,
.js-cube-button .twist:nth-of-type(6)::after,
.js-cube-button-1 .twist:nth-of-type(6)::before,
.js-cube-button-1 .twist:nth-of-type(6)::after,
.js-cube-button-wid .twist:nth-of-type(6)::before,
.js-cube-button-wid .twist:nth-of-type(6)::after {
  transition-delay: 0.5s;
}

.js-cube-button-wid .twist:nth-of-type(7)::before,
.js-cube-button-wid .twist:nth-of-type(7)::after {
  transition-delay: 0.6s;
}

.js-cube-button-wid .twist:nth-of-type(8)::before,
.js-cube-button-wid .twist:nth-of-type(8)::after {
  transition-delay: 0.7s;
}

.js-cube-button .cube-button-text:nth-of-type(1),
.js-cube-button-1 .cube-button-text-1:nth-of-type(1),
.js-cube-button-wid .cube-button-text-wid:nth-of-type(1) {
  bottom: 100%;
  transform-origin: center bottom;
  transform: matrix3d(1, 0, 0, 0,
                      0, 0, -1, -0.003,
                      0, 1, 0, 0,
                      0, 0, 0, 1);

-webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
   -moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
     -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
        transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
}

.js-cube-button:hover .cube-button-text:nth-of-type(1),
.js-cube-button-1:hover .cube-button-text-1:nth-of-type(1),
.js-cube-button-wid:hover .cube-button-text-wid:nth-of-type(1) {
  transform: matrix3d(1, 0, 0, 0,
                      0, 1, 0, 0,
                      0, 0, 1, 0.003,
                      0, 50, 0, 1);
}

.cube-button--md-col-default:hover .cube-button-text:nth-of-type(1) {
/*  color: #3d3b40;*/
  color: rgb(197, 154, 110);
}

.cube-button--md-col-2:hover .cube-button-text:nth-of-type(1) {
  color: rgba( 255, 255, 255, 0.9);
}

.js-cube-button:hover .cube-button-text:nth-of-type(1)::before,
.js-cube-button-1:hover .cube-button-text-1:nth-of-type(1)::before,
.js-cube-button-wid:hover .cube-button-text-wid:nth-of-type(1)::before {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  margin-left: -50%;
  border: 2px rgba( 172, 137, 102, 0) solid;
  content: '';
  -webkit-animation-name: wkBorderDraw;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-delay: 0.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-direction: normal;
  -webkit-animation-fill-mode: forwards;
  animation-name: BorderDraw;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}
@-webkit-keyframes wkBorderDraw {
    0% { border: 2px rgba( 172, 137, 102, 0) solid; }
  100% { border: 2px rgba( 172, 137, 102, 0.85) solid; }
}
@keyframes BorderDraw {
    0% { border: 2px rgba( 172, 137, 102, 0) solid; }
  100% { border: 2px rgba( 172, 137, 102, 0.85) solid; }
}

.js-cube-button .cube-button-text:nth-of-type(2),
.js-cube-button-1 .cube-button-text-1:nth-of-type(2),
.js-cube-button-wid .cube-button-text-wid:nth-of-type(2) {
  color: #fff;
  top: 100%;
  transform-origin: center top 0px;
  transform: matrix3d(1, 0, 0, 0,
                      0, 1, 0, 0,
                      0, 0, 1, -0.003,
                      0, -50, 0, 1);

-webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
   -moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
     -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
        transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995);
}

.js-cube-button:hover .cube-button-text:nth-of-type(2),
.js-cube-button-1:hover .cube-button-text-1:nth-of-type(2),
.js-cube-button-wid:hover .cube-button-text-wid:nth-of-type(2) {
  transform: matrix3d(1, 0, 0, 0,
                      0, 0, -1, 0.003,
                      0, 1, 0, 0,
                      0, 0, 0, 1);
}

/* ヘッダ可変 */
.navbar-default {
  background-color: rgba( 255, 255, 255, 0.88);
  color: #333;
}

.navbar-default.variable-nav {
  background-color: rgb( 255, 255, 255);
  -webkit-animation-name: wkBgColChange;
  animation-name: bgColChange;
}

@media screen and (min-width: 768px) {
  .variable-nav .navbar-nav > li > a {
    padding-top: 15px;
    -webkit-animation-name: wkHeadHgChange;
    animation-name: headHgChange;
  }
}

.navbar-default.variable-nav,
.navbar-default.variable-nav a,
.variable-nav .navbar-nav::after,
.variable-nav .navbar-nav > li > a {
  -webkit-animation-duration: 1.0s;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-delay: 0s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-direction: alternate;

  animation-duration: 1.0s;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: alternate;
}

@-webkit-keyframes wkBgColChange {
    0% {
    background-color: rgba( 255, 255, 255, 0.88);
  }
  100% {
    background-color: rgba( 255, 255, 255, 1);
  }
}
@keyframes bgColChange {
    0% {
    background-color: rgba( 255, 255, 255, 0.88);
  }
  100% {
    background-color: rgba( 255, 255, 255, 1);
  }
}

@-webkit-keyframes wkHeadHgChange {
    0% {
    padding-top: 32px;
  }
  100% {
    padding-top: 15px;
  }
}
@keyframes headHgChange {
    0% {
    padding-top: 32px;
  }
  100% {
    padding-top: 15px;
  }
}

@-webkit-keyframes wkHeadBorderMov {
    0% {
    bottom: 66px;
  }
  100% {
    bottom: 45px;
  }
}
@keyframes headBorderMov {
    0% {
    bottom: 66px;
  }
  100% {
    bottom: 45px;
  }
}

@media screen and (min-width: 768px) and (max-width: 959px) {
  .navbar-default {
    background-color: rgba( 255, 255, 255, 0.88);
  }

  .navbar-nav::after {
    position: absolute;
    bottom: 66px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba( 159, 159, 159, 0.32);
  }

  .variable-nav .navbar-nav::after {
    bottom: 49px;
    -webkit-animation-name: wkHeadBorderMov;
    animation-name: headBorderMov;
  }
}