body{
    max-width: 100%;
    margin: 0;
}

main{
    max-width: 1000px;
    width: 100%;
    margin: 100px auto 0;
}

a{
    color: black;
    transition: 1s;
}

a:hover{
    text-decoration: none;
    transition: 1s;
}

a img{
    transition: 1s;
}

a img:hover{
    opacity: 0.7;
    transition: 1s;
}

img{
    max-width:100%;
}

/*----------------------------
scroll_up ｜下から上へ出現
----------------------------*/
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
  }
  .scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
  }

/* footer */
footer{
    text-align: center;
    background-color: #38a1fe;
    margin-top: 100px;
}

footer p{
  padding:15px 0;
  color: white;
}

/* ボタン */
.text-center p{
    margin-bottom:30px;
}

.text-center a{
    color:#fff;
    background-color: #5b9fc4c6;
    padding: 15px;
}

.text-center a:hover{
    opacity: 0.7;
}


/* TOP */
#vegas{
    position: relative;
    height: 60vh;
    width: 100%;
}

.title{
    text-align: center;
    width: 50%;
    margin: 25vh auto 0 auto;
}

.title h1{
    color: #fff;
    text-shadow: 3px 4px 3px rgb(61 70 70);
    font-size: 70px;
}

.sub_title{
    text-align: center;
    float: right;
    font-size: 30px;
    color: #fff;
    text-shadow: 3px 4px 3px rgb(61 70 70);
    margin-right: 10%;
}

#content{
    padding-top:20px;
    padding-bottom:20px;
}

#content-wrap{
    background-color: #fff;
}

/* top_h2 */
.top-h2 h2{
    text-align: center;
    margin-bottom: 50px;
}

/* work */
.top_works{
    margin: 100px auto 0;
}

.works_h2{
    padding-top: 50px;
}

.work_clm{
    display: flex;
    margin: 50px 0;
    width: 100%;
}

.w_clm1,.w_clm2{
    width: 50%;
    margin: 10px;
    text-align: center;
}

.work_clm img{
    height: 300px;
    width:100%;
}

/* about */
.top-about{
    margin: 100px auto 0;
}

.about h2{
    text-align: center;
}

.about_clm{
    display: flex;
    width: 100%;
    margin: 50px 0;
}

.a_clm1{
    text-align: center;
}

.a_clm1 img{
    max-width: 80%;
    border-radius: 50%;
}

.a_clm2{
    margin: auto 20px;
}

.a_clm2 dl{
    display: flex;
    width: 100%;
}

.a_clm2 dt{
    text-align: center;
    width: 20%;
}

.a_clm2 dd{
    width: 80%;
    margin-left: 10px;
}

span{
    margin-right:10px;
}

.a_detail{
    text-align: center;
}

/* service */
.top-service h2{
    text-align: center;
}

.service_clm{
    position: relative;
    display: flex;
    width: 100%;
    margin-bottom: 50px;
}

.s_clm1,.s_clm2,.s_clm3{
    text-align: center;
    width: 30%;
    margin: auto;
}

.s_clm1 img,.s_clm2 img,.s_clm3 img{
    width: 50%;
}

.s_clm1 p,.s_clm2 p,.s_clm3 p{
    text-align: left;
    margin: 10px 0;
}


/* 記事一覧 */
#posts{
    text-align: center;
    margin: 100px auto 0;
}

/* 404 */
.container_404{
    text-align:center;
}

.img_404{
    text-align:center;
    width:100%;
    max-width:920px;
    margin:auto;
}

.img_404 img{
    width:50%;
}

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

#top-vg img{
    max-width: 100%;
}

.title{
    display: flex;
    align-items: center;
    width: 100%;
    margin: 15vh auto;
}

.title h1{
    font-size: 4em;
    color: #fff;
}

/* work */
.work_clm{
    display: flex;
    flex-direction: column;
}

.w_clm1,.w_clm2{
    width: 100%;
    margin: 20px 0;
}

.top-h2 p{
    padding: 0 10px;
}

/* about */
.about_clm{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 50px 0;
}

.a_clm1{
    text-align: center;
}

.a_clm1 img{
    max-width: 50%;
}

.a_clm2{
    margin: 50px 10px;
}

/* service */
.service_clm{
    display: flex;
    flex-direction: column;
}

.s_clm1,.s_clm2,.s_clm3{
    text-align: center;
    width: 100%;
    margin: 20px 0;
}

.s_clm1 img,.s_clm2 img,.s_clm3 img{
    width: 30%;
}

}