@charset "UTF-8";

*{
    margin:0 auto;
   font-family:"ヒラギノ角ゴ pro","遊ゴシック";
    font-weight: lighter;
    
}

body{
    background-color: #fff;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body a{
    color: #000;
    text-decoration:none;
    transition: color 0.3s;
    font-weight: bold;
}

body a:hover{
    color: #00c9e2;
    font-weight: bold;


}



.top{
    background-image: url(image/image03.jpg);
display: inline-block;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: auto;
text-align: center;
}

.top .top_margin{
    margin:250px 250px;
}

.top #top img{
  width: 700px;
   margin: -120px 0 -50px 0;
    
}

.top #top_setsumei{
    font-size: 24px;
    
    font-weight: lighter;
    color: #fff;
    margin: 30px 0;
}


.top .text_yoyaku{
  width: 450px;
  padding: 14px 0 16px 0;
  font-size: 26px;
  position: relative;
  text-align: center;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  color: #fff;
  line-height: 1.5;
  border: 5px solid #fff;
  border-radius: 50px;
  transition: all .2s;
}

.top .text_yoyaku:hover{
  background-color: #fff;
    color: #00c9e2;
   
   
}

.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 15px;
  background: #fff;
  border: solid 2px #00c9e2;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}
.pagetop__arrow {
  display: block;
  height: 10px;
  width: 10px;
  border-top: 3px solid #00c9e2;
  border-right: 3px solid #00c9e2;
  transform: translateY(20%) rotate(-45deg);
}


.work{
    margin:50px 70px;
    text-align: center;
    background-color: #fff;
}

h2{
    font-size: 22px;
    font-weight:bold;
    color: #000;
}

h3{
  font-size: 24px;
  color: #000;
  margin: 0 0 20px 0;
    border-bottom:solid;
    border-color:#00c9e2;
    border-width:5px;/*5ピクセルの太さにする*/
  
}

.work .sub_title {
    color: #00c9e2;
}

.work .yoko{
    display: flex;
    justify-content: space-between;
    font-weight: lighter;
    color: #000;
    line-height:1.7em;

}

.work .flame{    
    display: inline-block;
        margin: 10px 10px 0px 10px;
        padding: 30px;
    
}

.work .flame img{    
text-align: center;
width:90%
}

.company .flame{
  display: inline-block;
  margin: 10px 10px 0px 10px;
  padding: 30px;

}

.company .flame img{    
  text-align: center;
  width:85%
  }
  



iframe {
  display: inline-block;
width: 480px;
height: 360px;
}


.address{
  font-size: 22px;
  font-weight: lighter;
margin-bottom: 50px;
}


.company{
    margin:50px 150px;
    text-align: center;
    background-color: #fff;
}



.company .sub_title {
    color: #00c9e2;
    margin-bottom: 50px;
}


.company .yoko{
    display: flex;
    justify-content: space-between;
    text-align: left;
    font-weight: lighter;
    color: #000;
    line-height:1.7em;

}

.company .flame{
  display: inline-block;
  margin: 10px 10px 0px 10px;
  text-align: center

}



footer{
    background-color: #00c9e2;
    text-align: center;
    height: 50px;
    padding: 10px;
    
}

footer small{
  color:#fff;

}






@media only screen and (max-width: 896px) {

    body{
        width: 100%;
    }



    .top{
      background-image: url(image/image03-sp.jpg);
      width: 100%;
       height: 550px;
    }

    .top .top_margin{
        
        margin: 30px;
    }
    
    .top #top img{
      width: 350px;
       margin: 100px 0 0 -14px;
       text-align: center;
        
    }
        
    
    .top .text_yoyaku{
      width: 300px;
      padding: 14px 0 16px 0;
      font-size: 24px;
      position: relative;
      text-align: center;
      text-decoration: none;
      display: block;
      margin: 0 auto;
      color: #00c9e2;
      line-height: 1.5;
      border: 5px solid #fff;
      background-color: #fff;
      border-radius: 50px;
      transition: all .2s;
      z-index: 1;
    }
    
    .top .text_yoyaku:hover{
      border: 5px solid #00c9e2;
      background-color: #00c9e2;
        color: #fff;
      }

    .work{
        margin:30px 30px;
        text-align: center;
        background-color: #fff;
    }
    

    .work .yoko{
        display: block;
        justify-content: space-between;

        font-weight: lighter;
        color: #000;
        line-height:1.7em;

    }

 .work .flame{    
        display: inline-block;
            margin: 10px;
            padding: 30px;
          }


    .company{
        margin: 10px 30px 0px 30px;
        text-align: center;
    }

    .company .yoko{
      display: block;
      justify-content: space-between;
      text-align: center;
      font-weight: lighter;
      color: #000;
      line-height:1.7em;

  }

  .company .flame{
    display: block;
    margin: 10px 10px 0px 10px;
    text-align: center
  
  }

  .company .flame img{
    display: block;
    text-align: center;
    width: 100%;
  
  }

  h3{
    font-weight: bold;
  }

    
    iframe {
      display: inline-block;
      width: 100%;
    }
    
    footer{
        height: 50px;

    }
  }