@charset "utf-8";

@font-face {
  font-family: 'AustrProHeavy';
  src: url(austrproheavy.otf);
}

*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a:link, a:visited, a:hover, a:active {
  color: #000;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

html {
  font-size: 62.5%;
}

body {
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: -0.4px;
}

body::before {
  content: "";
  background-color: #fedddc;
  background: linear-gradient(-45deg, #ffffff, #ffbbb6, #f8d1dc, #fcece9);
  background-repeat: no-repeat;
  background-size: 400% 400%;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;


}

.main-dots {
  background-size: 40px 40px;
  margin: 0 auto;
  background-image: radial-gradient(#fc9592 1%, transparent 6%);
  margin: 0 -60px;
  padding: 0 60px;
}

/***header***/
.logo {
  position: fixed;
  top: 35px;
  left: 60px;
  z-index: 10;
}

.logo a {
  font-size: 5.0rem;
  font-weight: 700;
  font-family: AustrProHeavy;
}

header .mail {
  position: absolute;
  top: 38px;
  right: 60px;
}

header .desc {
  position: absolute;
  top: 160px;
  left: 60px;
  line-height: 19.5px;
}

/***main***/
main {
  padding: 300px 60px 200px;
}

/*work*/
h2 {
  font-size: 8vw;
  font-weight: 200;
  letter-spacing: -4.6px;
}

h3 {
  font-size: 2.0rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.work ul {
  margin-bottom: 20px;
}

.work .work-item {
  float: left;
  width: 33.33333%;
  padding-right: 20px;
  margin-bottom: 20px;
}

.work .work-item:nth-child(3n) {
  padding-right: 0;
}

.work .work-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  vertical-align: bottom;
  border: none;
}

a.underline,
span.address {
  border-bottom: 2px dashed #000;
  padding-bottom: 2px;
}

a.underline:hover,
span.address:hover {
  border-bottom: 2px dashed transparent;
}

.work .service {
  margin-top: 80px;
}

.work .service p {
  font-size: 5.0rem;
  font-weight: 260;
  line-height: 70px;
}

.work ul li img {
  transition: all .3s ease;
}
.work ul li img:hover {
  box-shadow: 0 30px 35px rgba(0, 0, 0, .3);
}

/*about*/
.about {
  margin-top: 80px;
}

.prof-wrapper {
  margin-bottom: 80px;
}

.prof-wrapper .prof-img {
  float: left;
  width: 300px;
  height: 400px;
}

.prof-wrapper .prof-text {
  float: none;
  width: 400px;
  margin-left: 350px;
}

.prof-wrapper .prof-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.prof-text .name {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.prof-text .job {
  font-weight: 700;
  margin-bottom: 10px;
}

.prof-text .desc {
  line-height: 26px;
}

.about .mission p {
  font-size: 4.0rem;
  font-weight: 260;
  line-height: 62px;
  letter-spacing: -1px;
}

/***footer***/
footer {
  padding: 50px 0;
  margin: 0 60px;
  border-top: 1px solid #000;
}

p.contact {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}


@media (max-width: 960px) {
  .work .work-item {
    float: none;
    width: 100%;
    padding-right: 0px;
    margin-bottom: 20px;
  }

  .work .work-item img {
    width: 100%;
    height: 100%;
  }

  .work ul {
    margin-bottom: 40px;
  }
}

@media (max-width: 790px) {
  /*main*/
  .main-dots {
    margin: 0 -20px;
    padding: 0 20px;
  }

  main {
    padding: 300px 20px 200px; //change
  }

  /*header*/
  .logo {
    left: 20px;
  }

  header .mail {
    right: 20px;
  }

  header .desc {
    left: 20px;
  }

  /*work*/
  h2 {
    font-size: 20vw;
    font-weight: 300;
  }

  .work .service p {
    font-size: 1.8rem;
    line-height: 26px;
  }

  /*about*/
  .prof-wrapper .prof-img {
    float: none;
    width: 100%;
    height: auto;
  }

  .prof-wrapper .prof-text {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  .prof-wrapper .prof-img img {
    width: 100%;
    height: auto;
  }

  .about .mission p {
    letter-spacing: normal;
    font-weight: 400;
    font-size: 4rem;
    line-height: 44px;
  }

  .prof-text .name {
    margin: 20px 0;
  }

  .prof-text .job {
    margin-bottom: 20px;
  }

  /*footer*/
  footer {
  margin: 0 26px;
  }

  footer p {
    font-size: 1.6rem;
  }
}
