@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  color: #24292e;
  font-family: "Rubik", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
  
h2 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 64px;
}
section {
  max-width: 960px;
  margin: 0 auto 200px auto;
  font-size: 0.9rem;
  padding: 0 4%;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  max-width: 960px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 280px;
  margin: 0 auto;
  padding: 0 4%;
}
#header ul {
  display: flex;
  padding: 10px 0;
}
#header li {
  font-size: 1.2rem;
  margin-left: 30px;
}
#header li a {
  color: #24292e;
}
#header li a:hover {
  opacity: 0.8;
}
h1{
  font-size: 2.0rem;
}
/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mv {
  margin-bottom: 80px;
}
#mv img {
  width: 100%;
  max-width: 1920px;
  height: 420px;
  object-fit: cover;
  object-position: left;
}

/*-------------------------------------------
About
-------------------------------------------*/
#About{
  font-family: "Rubik", serif;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  font-size: 1.5rem;
} 
#About .flex{
  display: flex;
}
.flex .image {
  width: 640px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.right{
  font-family: "ヒラギノ丸ゴProW4";
  font-size: 0.9rem;
}
/*-------------------------------------------
Skill
-------------------------------------------*/
#Skill{
   font-family: "Rubik", serif;
   font-size: 1.5rem;
}
.skill{
  text-align: center;
  font-size: 1.1rem;
}
/*-------------------------------------------
Works
-------------------------------------------*/
#works{
  font-family: "Rubik", serif;
  font-size: 1.5rem;
}

#works ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
#works li {
  width: 32%;
  margin-bottom: 40px;
}
#works li img:hover {
  opacity: 0.5;
  transition: 0.5s;
}
.works{
  font-family: "ヒラギノ丸ゴProW4";
  font-size: 0.8rem;
}
.subtitle{
  font-family: "ヒラギノ丸ゴProW4";
  text-align: center;
  font-size: 1.1rem;
}
/*-------------------------------------------
Contact
-------------------------------------------*/
#contact {
  text-align: center;
}
#contact p {
  text-align: center;
  margin-bottom: 64px;
}
#contact .button {
  margin: 0 auto;
  text-align: center;
  font-family: "ヒラギノ丸ゴProW4";
}
#contact .button {
  width: 200px;
  background-color: #24292e;
  color: #fff;
  padding: 16px 0;
  margin: 0 auto;
  text-align: center;
}
#contact .button:hover {
  background: #b9b9b9;
  color: #24292e;
}

.goTop {
  color: #333;
  position: fixed;
  bottom: 24px;
  right: 80px;
  text-decoration: none;
  display: block;
  width: 100px;
  padding: 16px 20px;
  text-align: right;
  transform: rotate(90deg);
  transform-origin: bottom right;
}

.arrow1 {
width: 48px;
height: 1px;
background: #333;
position: absolute;
top: 50%;
right: 62px;
}

.arrow2 {
width: 1px;
height: 12px;
background: #333;
position: absolute;
top: calc(50% + 1px);
right: 109px;
transform: rotate(-130deg);
transform-origin: top left;
}


/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
  background-color: #24292e;
  color: #fff;
  font-size: 0.5rem;
  padding: 16px 24px;
  text-align: center;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (min-width: 768px) {
  .br-sp {
    display: none;
  }
}

@media screen and (max-width: 680px) {
  .wrapper {
    margin-bottom: 80px;
  }
  .site-title {
    margin-top: 24px;
  }
  .sec-title {
    margin-bottom: 40px;
  }
  .br-pc {
    display: none;
  }

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header {
    max-width: 100%;
    height: auto;
    flex-direction: column;
  }
  #header li {
    font-size: 0.8rem;
    margin-left: 20px;
  }
  #header li:first-child {
    margin-left: 0;
  }

  /*-------------------------------------------
  Works
  -------------------------------------------*/
  #works ul {
    flex-direction: column;
  }
  #works li {
    width: 100%;
  }
}

.flex{
  display: flex;
  align-items: center;
}

img{
  max-width:100%;
  }
