@charset "utf-8";

/* body */
body{
  /* background-color: ; */
  font-size: 2vw;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

img{
  max-width: 100%;
  height: auto;
}

.section-title{
  height: 4vh;
  width: 100%;
  margin-top: 1px;
}

.section-title h2{
  width: 45%;
}

.bgappearTrigger{
  width: 100%;
}

.center{
  height: 80%;
  width: 100%;
  padding: 4vh 1vh;
}

/* font-family */
h1{
  font-family: 'Zen Old Mincho', serif;
}

h2, h3, h4, p, dd, dt,
.section-head,
#g-navi,
#body-l{
  font-family: 'Mochiy Pop One', sans-serif;
}

.en{
  font-family: 'Alfa Slab One', cursive;
}

/* splash */
#splash{
  font-size: 5vw;
}

@media (min-width: 540px){
  #splash{
    font-size: 2vw;
  }
}

/* header */
/* #header-item{
  display: none;
}

@media (min-width: 540px){
  header{
    position: fixed;
    z-index: 999;
    height: 110px;
    width: 100%;
    padding: 20px;
  }  
  
  #header-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    align-self: center;
  }
  
  #header-item nav{
    float: right;
    margin-right: 20px;
  }
  
  #g-navi{
    display: flex;
  }  
  
  #g-navi li{
    padding: 10px 10px;
    margin: 5px;
    font-size: 2vw;
  }
  
  #g-navi li:hover{
    background-color: gray;
    opacity: 0.5;
  }
  
  #g-navi a{
    color: white;
    text-decoration: none;
  }
} */

/* top */
#top{
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#top:before{
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: url("../img/top.JPG") no-repeat top / cover;
  transform-origin: center;
}

#top-message{
  display: table;
  height: 100%;
  width: 100%;
  font-weight: 900;
  text-align: center;
}

.animate{
  display: table-cell;
  vertical-align: middle;
  height: 70%;
  width: 100%;
  font-family: 'Epilogue', sans-serif;
}

.animate span{
  display: inline-block;
}

.top-size{
  font-size: 15vw;
}


.FCC{
  font-size: 4vw;
}

/* main */
#main{
  padding: 10vh 5% 0 5%;
  position: relative;
  z-index: 1;
  background-color: white;
}

@media (min-width: 540px){
  .section-title{
    height: 5vh;
    width: 100;
    margin-bottom: 5%;
  }
}

/* mission */
#mission{
  height: 100vh;
  width: 100%;
  margin-bottom: 10vh;
  min-height: 650px;
}

#mission-title{
  height: 5%;
  width: 100%;
}

#mission-body{
  height: 95%;
  width: 100%;
}

#mission-main{
  height: 50%;
  width: 100%;
}

#mission-main .center{
  height: 100%;
  width: 100%;
  padding: 0;
}

#mission-main span{
  font-size: min(8vw, 32px);
}

#message1{
  height: 50%;
  width: 100%;
  padding: 2vw;
}

#message2{
  height: 50%;
  width: 100%;
  padding: 2vw;
}

.pc{
  display: none;
}

#mission-sub{
  height: 50%;
  width: 100%;
  padding: 2vw;
}

#slider,
#slider-area,
.vegas-wrapper{
  width: 100%;
  height: 80%;
  overflow: hidden;
}

#message3{
  height: 20%;
  width: 100%;
  padding: 2vw;
  font-size: 3vw;
}

#message3 p{
  font-family: 'Zen Old Mincho', serif;
}

@media (max-width: 540px) {
  #pc-message3{
    display: none;
  }
}

@media (min-width: 540px){
  #mission{
    min-height: 1000px;
    margin-bottom: 20vh;
  }
  
  #mission-body{
    height: 95vh;
    width: 100%;
    display: flex;
  }
  
  #mission-main{
    height: 100%;
    width: 40%;
  }
  
  #message1 .center{
    height: 100%;
    width: 100%;
    padding: 5vh 0 0 0;
  }  
  
  #message2 .center{
    height: 100%;
    width: 100%;
    padding: 4vh 0 0 0;
  }
  
  #message1,
  #message2,
  #pc-message3{
    width: 100%;
    padding: 2vh 0;
  }
  
  #message1,
  #message2{
    height: 40%;
    display: table;
  }
  
  .center{
    display: table-cell;
    vertical-align: middle;
  }
  
  #pc-message3{
    height: 20%;
    font-size: 1.5vw;
  }
  
  #pc-message3 p{
    font-family: 'Zen Old Mincho', serif;
  }
  
  #message1 span,
  #message2 span{
    font-size: min(3.5vw, 56px);
  }
  
  #mission-sub{
    height: 100%;
    width: 60%;
  }

  #slider,
  #slider-area,
  .vegas-wrapper{
    height: 100%;
    /* width: 100%;
    overflow: hidden; */
  }
  
  #message3{
  display: none;
  }
}

/* service */
#service{
  /* height: auto; */
  width: 100%;
  margin-bottom: 10vh;
}

#section-title{
  height: 5vh;
  width: 100%;
  min-height: 80px;
}

#service-list li{
  height: 40vh;
  width: 100%;
}

.service-title{
  height: 50%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#bg-design{
  background: url("../img/service_01.jpg") no-repeat center / cover;
}

#bg-planning{
  background: url("../img/service_02.jpg") no-repeat center / cover;
}
#bg-consulting{
  background: url("../img/service_03.jpg") no-repeat center / cover;
}
#bg-electrical{
  background: url("../img/service_04.jpg") no-repeat center / cover;
}


.center h3,
.center p{
  margin: 0;
  padding: 0;
  font-size: 6vw;
}

.center p{
  font-size: 4vw;
}


.service-body{
  height: 50%;
  width: 100%;
}

.service-body p{
  font-size: 3vw;
}

@media (max-width: 540px){
  .service-title h3,
  .service-title p{
    color: rgba(255, 255, 255, 0.8);
  }
}

@media (min-width: 540px){
  #service{
    min-height: 2000px;
    margin-bottom: 20vh;
  }
  
  #service-list .service-title{
    background: none;
    height: 50%;
    width: 100%;
  }
  
  .service-title{
    height: 20%;
    width: 100%;
  }
  
  #service-list li{
    height: 50vh;
    min-height: 450px;
  }

  #service-list li:hover{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: rgba(255, 255, 255, 0.8);
  }
  
  #Design:hover{
    background-image: url("../img/service_01.jpg");
  }  
  
  #Planning:hover{
    background-image: url("../img/service_02.jpg");
    background-position: top;
  }
  
  #Consulting:hover{
    background-image: url("../img/service_03.jpg");
  }
  
  #Electrical:hover{
    background-image: url("../img/service_04.jpg");
  }

  .center{
    height: 50%;
    width: 100%;
    /* display: inline-block; */
    padding: 1vh;
  }
  .center h3,
  .center p{
    margin: 0;
    /* padding: 0 0 0 ; */
    font-size: 3vw;
  }
  
  .center p{
    font-size: 2vw;
  }
  
  .service-body{
    height: 80%;
    width: 100%;
  }
  
  .service-body p{
    font-size: min(2vw, 28px);
    padding: 1vh;
  }
  
}

/* company */
#company{
  height: 100vh;
  width: 100%;
}

#company-body{
  height: 95%;
  width: 100%;
}

#body{
  height: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 3vw;
}

#body ul{
  width: 70vw;
  margin: 0 auto;
  
}

#body li{
  border-bottom: 1.5px solid black;
  margin: 0 0 1vh 0;
  padding: 0 0 1vh 0;
}

#body dl{
  display: flex;
  justify-content: space-between;
}

#body dt{
  width: 40%;
  padding: 0 0 0 3vw;
  white-space: nowrap;
}

#body dd{
  width: 55%;
}

#map{
  height: 50%;
  width: 100%;
  padding: 10% 3%;
}

@media (min-width: 540px){
  #company{
    height: 80vh;
    min-height: 700px;
  }
  
  #company-body{
    height: 85%;
    width: 100%;
    display: flex;
  }
  
  #body,
  #map{
    height: 90%;
  }
  
  #body{
    font-size: 1.5vw;
    width: 40%;
  }
  
  #body ul{
    width: 100%;
    margin: 0 auto;
    
  }
  
  #body li{
    border-bottom: 1.5px solid black;
    margin: 0 0 2vh 0;
    padding: 0 0 1vh 0;
  }

  #logo{
    height: 20vh;
  }

  #logo dl{
    height: 100%;
  }
  
  #logo dd{
    padding: 0 5%;
    align-items: center;
  }
  
  #logo img{
    height: 100%;
  }

  #body dl{
    display: flex;
    justify-content: space-between;
  }
  
  #body dt{
    width: 40%;
    padding: 0 0 0 3vw;
    white-space: nowrap;
  }
  
  #body dd{
    width: 55%;
  }

  #map{
    padding: 5% 3%;
    width: 60%;
  }
}

/* footer */
footer{
  background-color: black;
  color: white;
}

@media (min-width: 540px){
  footer{
    display: flex;
    height: 20vh;
    min-height: 200px;
  }
}
/* contact */
#contact,
#contact a{
  height: 20vh;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-decoration: none;
}

#contact a:hover{
  background-color: red;
}

#contact figure{
  width: 20%;
  display: flex;
  justify-content: right;
}

#contact img{
  width: 9vw;
}

#contact h2{
  width: 80%;
  padding-left: 5vw;
  text-align: left;
  font-size: 8vw;
  color: white;
}

@media (min-width: 540px){
  #contact{
    height: 100%;
    width: 50%;
  }
  
  #contact img{
    width: 5vw;
  }
  
  #contact h2{
    font-size: 4vw;
  }
}

/* footer */
#footer{
  height: 15vh;
  width: 100%;
  text-align: center;
  display: table;
}

#footer .center{
  height: 100%;
  padding: 1vh 0 0 0;
  display: table-cell;
  vertical-align: middle;
}

#sns-link{
  margin: 1vh 0;
}

#sns-link li{
  display: inline;
  margin: 0 2vw;
  padding-top: auto;
}

#sns-link li img{
  width:6vw;   
}

#copyright{
  width: 100%;
  justify-content: center;
}

@media (min-width: 540px){
  #footer{
    height: 100%;
    width: 50%;
  }

  #footer .center{
    height: 100%;
    padding: 3vh 0;
  }

  #sns-link li img{
    width:4vw;   
  }
}