
body{
  background-color: #ea9f27;
}
#player{
  height:100vh;
  width: 100vw;
}
video{
  width: 100vw;
  height: 100vh;
}
.mobile-screen{
  position: sticky;
  background-color: #F2E6D3;
  max-width: 570px;
  margin: 0 auto;
  border: 1rem solid #000;
  max-height: 100%;
  height: 100vh;
  border-radius: 5rem;
  object-fit: cover;
  padding: 1rem;
  padding-bottom: 2rem;
  z-index: 1;
}
.scroller{
  height: 85%;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: rebeccapurple green;
  border-radius: 3px;
}
/* ふわっとアニメーション */
h1{
  color: white;
  background-color: #b6b0b0;
  text-align: center;
  margin: 1rem 0;
}
/* header */
#header{
  padding:1.5rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  width: 100%;

}
.logo{
  display: flex;
  align-items: center;
  pointer-events: none;
}
.nav a{

}
.nav .flex-fill{
  text-align: center;
}
/* top-page */
#top-page{
  position: fixed;
  bottom: 30px;
  right: 20px;
}
#top-page a{
  background-color: #999;
  color: #fff;
  text-align: center;
  padding: 20px 20px;
  text-decoration: none;
}
#top-page a:hover{
  background-color: #666;
  text-decoration: none;
}

/* footer */
footer{
  bottom: 0;
  text-align: center;
  margin: 0 auto;
  background-color: #f9f6d8;
  z-index: 1;
  margin-top: 1rem;
  position: relative;
  background-color:#ffffff00;
}

/* homeページ*/
/* gallery */
.container{
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
}
.icon-item{
  text-align: center;
}
.gallery .icon-item{
  width: 50%;
}
.icon-img{
  width: 130px;
  height: 130px;
  border-radius: 40px;
}
.gallery{
  padding: 1.5rem;
}
.gallery a{
  margin-bottom: 1rem;
}
.sec{
  text-align: center;
}
.home-text{
  font-size: medium;
}

/* works */
.works-main{
  padding: 1rem;
}
.work-text{
  padding-left: 1rem;
}
.text{
  padding-left:1.5rem ;
}
h2{
  font-weight: bold;
}
p{
  display: block;
  padding-left: 2rem;
}
/* skills */
table{
  margin: 0 auto;
}
.skills{
  text-align: center;
}
h3{
  font-weight: bold;
  text-decoration: underline;
  margin: 1em;
}
/* contact */
.form-check-input:checked {
  background-color: orange;
}
form{
  margin: auto;
}
input,textarea{
  border: 1px solid #000;
}

@media (max-width:570px){
  .mobile-screen{
    width: 100%;
    border: 0;
    border-radius: 0;
    padding: 0 0 2rem 0;
  }
  body{
    font-size: 12px;
  }
  footer{
    margin-bottom: 0;
  }
}

