@charset "UTF-8";
/* EB Garamondは、google webfonts。リュウミンはエックスサーバ */
/*--------------------------------------------------------------------
inview js Animaion
----------------------------------------------------------------------*/
.box--effectBlur {
  overflow: hidden;
  opacity: 0;
}

/*effectBlur*/
.effectBlur {
  -webkit-animation: text-focus-in 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
          animation: text-focus-in 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
  /* ----------------------------------------------
  * Generated by Animista on 2018-11-27 15:52:19
  * w: http://animista.net, t: @cssanimista
  * ---------------------------------------------- */
}

@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
/*fade_in_up*/
.box--fade_in_up {
  overflow: hidden;
  opacity: 0;
  -webkit-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  transition: all 0.8s ease;
  -webkit-transform: translateY(80px);
      -ms-transform: translateY(80px);
          transform: translateY(80px);
  -webkit-transition-delay: 0.2s;
       -o-transition-delay: 0.2s;
          transition-delay: 0.2s;
}

.fade_in_up {
  -webkit-transform: translateY(0px);
      -ms-transform: translateY(0px);
          transform: translateY(0px);
  opacity: 1;
}

/*--------------------------------------------------------------------
mixin
----------------------------------------------------------------------*/
@-webkit-keyframes img_hover_anim {
  0% {
    -webkit-filter: brightness(1) blur(0);
            filter: brightness(1) blur(0);
  }
  30% {
    -webkit-filter: brightness(0.6) blur(0);
            filter: brightness(0.6) blur(0);
  }
  100% {
    -webkit-filter: brightness(1) blur(0);
            filter: brightness(1) blur(0);
  }
}
@keyframes img_hover_anim {
  0% {
    -webkit-filter: brightness(1) blur(0);
            filter: brightness(1) blur(0);
  }
  30% {
    -webkit-filter: brightness(0.6) blur(0);
            filter: brightness(0.6) blur(0);
  }
  100% {
    -webkit-filter: brightness(1) blur(0);
            filter: brightness(1) blur(0);
  }
}
/*--------------------------------------------------------------------
body
----------------------------------------------------------------------*/
body.contact {
  background-color: #e4e3e0;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
}

/*--------------------------------------------------------------------
wrapper
----------------------------------------------------------------------*/
#wrapper {
  width: 100%;
  display: block;
  position: relative;
  /*←common.cssに記述されたpagefade用の指定でnoneになっているとswiperの挙動がうまくいかないので、blockを指定してnoneを上書きし、swiperを挙動させるようにしている*/
  /* 背景色の明るさ調整用 */
}

/*--------------------------------------------------------------------
contents
----------------------------------------------------------------------*/
#header {
  width: 100%;
}

/*--------------------------------------------------------------------
hero
----------------------------------------------------------------------*/
@media all and (-ms-high-contrast: none) {
  /* Hack for IE11. Because background-clip is unsupported for IE. */
}
/*--------------------------------------------------------------------
section
----------------------------------------------------------------------*/
.bg_contents {
  /*親要素*/
  position: relative;
  height: 90vh;
}

.sectionBox {
  text-align: left;
  width: 675px;
  padding: 100px 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  text-align: center;
  /*一応BOX内の文字も中央寄せ*/
  z-index: 1;
  margin-top: 80px;
}

.contactBox {
  position: relative;
}

.imgBox img {
  width: 300px;
  display: inline-block;
  -webkit-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
}

.imgBox img:hover {
  opacity: 0.5;
  -webkit-transform: scale(0.98);
      -ms-transform: scale(0.98);
          transform: scale(0.98);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.imgBox:after {
  content: "";
  display: block;
  width: 0px;
  height: 1px;
  background-color: #7d0032;
  margin: 6px auto;
  -webkit-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
}

.imgBox:hover:after {
  width: 296px;
  opacity: 0.5;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

/*--------------------------------------------------------------------
Media Query
----------------------------------------------------------------------*/
@media screen and (max-width: 960px) {
  /*--------------------------------------------------------------------
  contents -small
  ----------------------------------------------------------------------*/
  .sectionBox {
    width: 100%;
    margin: 0 auto;
    padding: 100px 0;
    position: relative;
  }

  .contactBox {
    position: static;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    text-align: center;
    /*一応BOX内の文字も中央寄せ*/
    z-index: 1;
    margin-top: 340px;
  }

  .imgBox img {
    width: 70%;
  }

  .imgBox:after {
    content: "";
    display: none;
  }

  /*--------------------------------------------------------------------
  section -small
  ----------------------------------------------------------------------*/
  img,
picture {
    width: 100%;
  }
}