@charset "utf-8";

@media screen and (max-width:640px){
/*-------------------------------------------
all
-------------------------------------------*/
body {
 font: 90%/1.8 Arial , "Open Sans" , "Helvetica Neue" , Helvetica , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
 width:100%;
 color:#333;
}

img{
 height:auto; 
}

a{
  color:#000;
  text-decoration: none;
}

/*-------------------------------------------
header
-------------------------------------------*/

#header{
  overflow:hidden;
  position:relative;
  width:100%;
  height:100vh;
  background:#000;
}

video{
  height:100vh;
  position:absolute;
  z-index:1;
  opacity: 0.3;
}
#header .blc{
  position:absolute;
  top:0;
  left:0;
  z-index:2;
  width:100%;
}

#header .inner{
  display:flex;
  padding:10px 0;
  align-items:center;
}

#header .inner h1{
  padding:0 20px;
}

#header .blc{
  background:rgba(0,0,0,0.5);
}

#header h2{
  color:#fff;
  z-index:2;
  top:50vh;
  font-size:1rem;
  position: absolute;
  font-weight:bold;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 90vw;
  height: 10vh;
}

#header #hnav{
  display:none;
}

.subcontact{
  background:#3a4368;
}

.subcontact ul{
  margin:0 auto;
  padding:10px;
}

.subcontact ul li{
  color:#fff;
  font-size: 110%;
  text-align: center;
  margin-bottom: 10px;
}

.btn a{
  background:#4fbd7b;
  display:block;
  margin:0 10px;
  padding:5px 0;
  text-align: center;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  color:#fff;
  box-shadow:0 5px 0 #38865d;
}

/*-------------------------------------------
contents
-------------------------------------------*/

section h2{
  text-align: center;
  font-size: 170%;
  color:#000;
  letter-spacing: 3px;
  font-weight: bold;
  padding:10px 0;
  margin-bottom:20px;
}

section h2 span{
  font-size: 40%;
  display:block;
  line-height: 30%;
}

/*--------vision----------*/

#vision h2{
  color:#fff;
}

#vision{
  padding-bottom: 20px;
}

#vision p{
  background:rgba(255,255,255,0.7);
  padding:0px 10px 20px;
}

#vision .blc{
  background:rgba(255,255,255,0.5);
  padding:10px;
  margin:0 10px;
}

#vision{
  background: url(../images/img_vision.jpg)no-repeat center;
  min-height:500px;
  background-size: cover;
}

#vision strong{
  display:block;
  color:#f23c74;
  padding:20px 0 0;
  font-size: 130%;
}

/*--------point----------*/

#point{
  margin:0 10px;
}

#point ul{
  margin:10px auto;
}

#point ul li img{
  display:block;
  margin:0 auto 10px;
}

#point h3{
  font-size: 120%;
  color:#f23c74;
  position:relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

#point h3:before{
  font-family: FontAwesome;
  content: "";
  position:absolute;
  left:0;
}

#point ul li p{
  margin-bottom: 10px;
  color:#666;
}

/*--------service----------*/

#service{
  background:url(../images/img_service.png);
}

#service h2{
  color:#fff;
}

#service ul{
  display:flex;
  -webkit-justify-content: space-between;
  justify-content:space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap:wrap;
  margin:10px auto 0;
  padding:0px 0 10px;
}

#service ul li{
  background:#fff;
  margin: 10px;
  color:#666;
}

#service ul li p{
  padding:10px;
}

#service h3{
  padding:10px;
}

#service h3 span{
  display:block;
  padding:5px 20px;
  color:#fff;
  letter-spacing: 2px;
  margin-bottom:10px;
}

.green{
  background:#82cf3e;
}

.pink{
  background:#f23c74;
}

.yellow{
  background:#ffb61a;
}

.blue{
  background:#5d86c4;
}

/*--------works----------*/

#works{
  padding-bottom:20px;
}

#works img{
  display:block;
  margin:0 auto;
}

#works p{
  margin:10px;
  font-size: 90%;
}

/*--------partner----------*/


#partner p{
  background:rgba(255,255,255,0.7);
  padding:10px;
}

#partner .blc{
  background:rgba(255,255,255,0.5);
  padding:10px;
  margin:10px;
}

#partner{
  background: url(../images/img_partner.jpg)no-repeat center;
  min-height:460px;
  background-size: cover;
}

/*--------about----------*/

iframe{
  width:100%;
  height:250px;
}

/* フォーム */
dl{
  overflow: hidden;
  margin:10px;
  font-size: 95%;
  border:1px dotted #888;
}

dt {
 padding:10px;
 clear:both;
 margin-top:-1px;
 border-top:1px dotted #888;
 font-weight: bold;
}
dt i{
  margin-right: 10px;
  color:#575a68;
  text-align: center;
}
dt span{
  color:#575a68;
  font-size:90%;
  margin-left: 10px;
}
dd {
 padding:10px;
 margin-top:-1px;
 background: #fff;
 border-top:1px dotted #888;
}

dd:last-child{
  border-bottom: none;
}

input[type="text"]{
  width:100%;
  height:30px;
  padding:3px;
  border:1px solid #ccc;
  font-size:120%;
}
input[type="text"].short{
  width:10%;
}

textarea{
  width:100%;
  height:100px;
  padding:3px;
  border:1px solid #ccc;
  font-size:120%;
}

input[type="submit"]{
  width:90%;
  margin:20px auto 0 auto;
  display:block;
  padding:10px 20px;
  font-size:130%;
  border:0;
  background: #4fbd7b;
  color:#fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  box-shadow:0 5px 0 #38865d;
  -webkit-appearance: none;
}

/*--------contact----------*/

#contact{
  background:#daddde;
  overflow:hidden;
}

#contact .blc{
  background:#fff;
  padding:5px 0;
  margin:10px;
}

#contact p{
  margin:10px;
  color:#666;
}

/*-------------------------------------------
footer
-------------------------------------------*/

#footer .left ul li{
  position:relative;
  padding-left:20px;
  border-bottom: 1px solid #000;
}

#footer .left ul li a{
  display:block;
  padding:10px 0;
}

#footer .left ul li a:before{
  font-family: FontAwesome;
  content: "";
  position:absolute;
  left:10px;
}

#footer .right{
  font-size: 90%;
}

#footer .right img{
  width:50%;
  margin-bottom:20px;
  display:block;
  margin:20px auto;
}

.copy{
  border-top:1px solid #000;
  text-align: center;
  padding:10px 0;
  font-size: 90%;
}

#footer .right p{
  margin:0 20px 10px;
}


.pconly{
  display:none;
}
}