@charset "utf-8";
/*
Theme Name: Spreaf
Author: imamura
Version: ver2
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400');
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400');

@font-face {
  font-family: "Yu Gothic M";
  src: local("Yu Gothic Medium");
}
@font-face {
  font-family: "Yu Gothic M";
  src: local("Yu Gothic Bold");
  font-weight: bold;
}
/* ゴシック体指定 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", HelveticaNeue, "Segoe UI", "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #000;
  overflow-x: hidden
}

a,
a img {
  color:#333;
  transition: .2s;
}
a:hover,
a:hover img {
  text-decoration: none;
}
#wrapper {overflow: hidden}

/*背景アニメーション
.fv_sec {
    color:#fff;
    animation: gradation 10s infinite;
}
@keyframes gradation {
    0%{background-color:#348F50;}
    50%{background-color:#56B4D3;}
    100%{background-color:#348F50;}
}
.fv_sec h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-size: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}
*/

/* ------------------------------------ */
/* ▼SP (全環境共通) */
/* ------------------------------------ */
@media screen and (max-width: 767px) {
    body {
        height:auto;
    }
    .wrapper {
        padding-left:20px;
        padding-right:20px;
    }
}
/* ------------------------------------ */
/* ▼Tablet
/* ------------------------------------ */
@media all and (min-width: 768px) {}
/* ------------------------------------ */
/* ▼PC用
/* ------------------------------------ */
@media screen and (min-width: 768px) {
  html,body{min-width:1080px;}
  body {}
  a:hover,
  a:hover img {
    text-decoration: none;
    opacity: 0.6;
    filter: alpha(opacity=60);
    -ms-filter: "alpha(opacity=60)";
  }
  .wrapper {
    width:1000px
  }
}


/* ================================================
baseLayout
================================================ */
/* header
================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255,255,255,.9);
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 3px 1px rgba(0,0,0,0.1)
}
header .wrapper {
  display: flex;
  align-items: center;
  height: 80px
}
header .logo {
  display: flex;
  align-items: center;
  height: 80px
}
header .logo img {
  width: 130px
}
header ul {
  display: -webkit-flex; display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px
}
header ul li {
  margin-left: 40px
}
header ul li a {
  color: #000;
  display: flex;
  align-items: center;
  line-height: 100px;
  text-decoration: none
}
@media screen and (max-width: 767px) {/*sp*/
  header .wrapper {
    height: 50px;
  }
  header .logo {
    height: 50px;
  }
  header .logo img {
    width: calc(140 * 100vw / 750);    
  }
  header ul {
    right: 20px;
  }
  header ul li {
    font-size: 1.2rem;
    margin-left: 1.5rem;
  }
  header ul li a {
    line-height: 50px;
  }
}
@media screen and (min-width: 768px) {/*pc*/
  header ul li a{
    white-space: nowrap;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    line-height: 2;
    height: 100%;
  }
  header ul li a:hover {
    color: #AE4445;
    opacity:1;filter:alpha(opacity=100);-ms-filter:"alpha(opacity=100)";
  }
  header ul li a::after {
    content: "";
    display: block;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 30%;
    width: 0;
    height: 1px;
    background-color: #AE4445;
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }
  header ul li a:hover::after{
    width: 100%
  }  
}

/* footer
================================================ */
footer {
  clear: both;
  color: #fff;
  background: #000;
  text-align: center;
  position: relative;
  font-size: 12px;
  padding: 20px;
}


/* ================================================
common
================================================ */
h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 100;
  font-size: 5rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 5rem;
}
.head_sub {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 5rem;
}
.head_sub::before,
.head_sub::after {
  content: " - ";
}
@media screen and (max-width: 767px) {/*sp*/
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  h2 {
    font-size: 4rem;
  }
  .head_sub {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
}
@media screen and (min-width: 768px) {/*pc*/
  section {
      padding-top: 100px;
      padding-bottom: 100px;
  }
}


/* ================================================
home
================================================ */
#loading {
  width: 100%;
  height: 100vh;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-slider {
  width: 100%;
  height: 100vh;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
/*  background-attachment: fixed; iPhone NG */
}
.fv_sec2 {
  position: relative;
  overflow: hidden;
}
.fv_sec2 .anime1 {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-transition-delay: 5s;
  transition-delay: 5s;
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100vh;
  background-color: white;
}
.fv_sec2.show .anime1 {
  -webkit-transform: translate3d(100%,0,0);
  transform: translate3d(100%,0,0);
  opacity: 0
}
.fv_sec2 .philosophy {
  position: relative;
  text-align: center;
  background-color: rgba(255,255,255,.35);
  -webkit-transition-duration: 1.5s;
  transition-duration: 1.5s; /*変化が始まって終わるまでの時間*/
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
  -webkit-transition-delay: 1.5s;
  transition-delay: 1.5s; /*変化が始まる時間*/
  z-index: 20;
  padding: 3rem 5rem;
  font-size: 3rem;
  text-shadow:0px 0px 20px #fff;
  filter: blur(30px);
  opacity: 0
}
.fv_sec2.show .philosophy {
  filter: blur(0);
  opacity: 1
}
@media screen and (max-width: 767px) {/*sp*/
  /*#loading {
    height: 0vh;
  }*/
  .bg-slider {
    height: 80vh;
    background-size: cover;
  }
  .fv_sec2 .philosophy {
    line-height: 2;
    padding: 2rem;
    font-size: 2rem;
    width: 90%
  }
}


/* Service */
.service_sec {
  position: relative;
  /*background-attachment: fixed;
  background-image: url(../img/service_bg.jpg);
  background-size: cover;*/
  background-color: darkslategray;
  background-color: darkolivegreen;
  background-color: #fafafa
}
/*.service_sec::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5)
}*/
.service_sec .wrapper {
  position: relative;
  z-index: 100
}
.service_sec ul {}
.service_sec li {
  position: relative;
  padding: 30px 20px 20px;
}
.service_sec .icon {
  height: 180px;
  padding: 20px;
  text-align: center;
  margin-bottom: 10px
}
.service_sec .cls-1 {
  fill: #00b9bf
}
.service_sec li:nth-child(1) .icon {
  padding: 22px 50px;
}
.service_sec li:nth-child(2) .icon {
  padding: 40px 30px;
}
.service_sec li:nth-child(3) .icon {
  padding: 30px 70px;
}
.service_sec li {
  background-color: #fff;
  border-radius: 10px;
  -webkit-transition: box-shadow 250ms ease, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transition: -webkit-box-shadow 250ms ease, -webkit-transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: -webkit-box-shadow 250ms ease, -webkit-transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /*transition: box-shadow 250ms ease, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: box-shadow 250ms ease, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 250ms ease, -webkit-transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);*/
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1)
}
@media screen and (max-width: 767px) {/*sp*/
  .service_sec li {}
  .service_sec .icon {
    height: 160px;
  }
  .service_sec li:nth-child(1) .icon {
    padding: 0px 70px;
  }
  .service_sec li:nth-child(2) .icon {
    padding: 0px 50px;
  }
  .service_sec li:nth-child(3) .icon {
    padding: 0px 80px;
  }
}
@media screen and (min-width: 768px) {/*pc*/
  .service_sec li:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.2)
  }
}

/*
.service_sec li::after {
  content: "";
  width: 200px;
  height: 180px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
}
.service_sec li:nth-child(1)::after {
  background: url(../img/service_1.svg) no-repeat center center/80% auto;
}
.service_sec li:nth-child(2)::after {
  background: url(../img/service_2.svg) no-repeat center center/100% auto;
}
.service_sec li:nth-child(3)::after {
  background: url(../img/service_3.svg) no-repeat center center/60% auto;
}*/
.service_sec .ttl {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}
/*.service_sec p {
  text-shadow: 0px 0px 5px rgba(0,0,0,.8);
}*/
@media screen and (max-width: 767px) {/*sp*/
  .service_sec {}
  .service_sec li {
    margin-bottom: 3rem;
  }
}
@media screen and (min-width: 768px) {/*pc*/
  .service_sec {}
  .service_sec ul {
    display: -webkit-flex; display: flex;
    -webkit-flex-wrap: wrap; flex-wrap: wrap;
    -webkit-justify-content: space-between; justify-content: space-between;
  }
  .service_sec li {
      width: 30%;
  }
}


.about_sec {
  background-color: #fff
}
dl.table_layout {
  background-color: rgba(34, 34, 34, 0.05);
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
}
dl.table_layout dt, dl.table_layout dd {
  margin-top: 0;
  padding: 15px;
  border-top: 1px solid #ddd;
}
dl.table_layout dt {
  width: 25%;
}
dl.table_layout dd {
  width: 75%;
  background-color: #fff;
}
@media screen and (max-width: 767px) {/*sp*/
  dl.table_layout dt {
      width: 30%;
  }
  dl.table_layout dd {
      width: 70%;
  }
}
@media screen and (min-width: 768px) {/*pc*/}


.access_sec {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color:gainsboro;
}
@media screen and (max-width: 767px) {
  .access_sec {
      padding-top: 40px;
      padding-bottom: 40px
  }
}
#map {
  width: 100%;
  height: 400px;
  background-color: grey;
}


.contact_sec {
  background-color: #f9f9f9;
}
input[type="text"],
input[type="search"],
textarea ,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  width: 100%;
  border: 1px solid #e5e5e5;
  padding: 10px 10px;
}
input:focus,
textarea:focus {
  border-color: #ccc;
  box-shadow: 0 0 5px rgba(0,0,0,0.2)
}
.contact_sec input[type="submit"],
.contact_sec input[type="button"],
.contact_sec button {
  display: block;
  text-align: center;
  border: none;
  cursor: pointer;
  color: #fff;
  background: #00b9bf;
  -webkit-transition-duration:0.2s;
  transition-duration: 0.2s;
}
.contact_sec input[type="submit"]:hover,
.contact_sec button:hover {
  opacity: .6;
}
.contact_sec textarea {
  height: 100px;
}
.contact_sec .submit {
  max-width: 200px;
  margin: 50px auto 0;
}
.contact_sec input[type="submit"]{
  width: 100%;
  height: 40px;
}
@media screen and (max-width: 767px) {/*sp*/
  .contact_sec .submit {
      margin: 30px auto 0;
  }
}
