@charset "UTF-8";

.works-contents {
  padding-top: 130px;
  width: 90%;
  margin: 0 auto;
}

.contents-top {
  display: flex;
  justify-content: center;
  width: 80%;
  max-width: 1500px;
  margin: 0 auto;
}

.contents-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 1.5px;
}

.work-contents-border {
  border: 2px solid #343434;
}

.contents-name {
  font-size: 45px;
  line-height: 2;
  letter-spacing: 1.5px;
  font-weight: bold;
}

.contents-right {
  margin-left: 50px;
}

.contents-photo {
  width: 30%;
  max-width: 450px;
}

.contents-catch {
  padding-top: 100px;
  padding-bottom: 70px;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.photo-top,
.photo-bottom {
  display: block;
  width: 100%;
  max-width: 500px;
}

.photo-bottom {
  padding-top: 30px;
}

.contents-inner {
  display: flex;
  justify-content: center;
}

.contents-text {
  font-size: 16px;
  line-height: 4;
  letter-spacing: 1.5px;
  margin-left: 100px;
}

.contents-bottom {
  justify-content: center;
  width: 80%;
  max-width: 1500px;
  margin: 0 auto;
}

.nature {
  font-size: 12px;
}

.kaku {
  font-size: 12px;
}


@media (max-width: 800px) {
  .works-contents {
    padding-top: 100px;
  }

  .contents-photo {
    width: 95%;
    margin-top: 20px;
  }

  .contents-right {
    display: block;
    margin: 0 0 0 0;
  }

  .contents-top {
    align-items: center;
    flex-direction: column-reverse;
  }

  .contents-title {
    width: 90%;
    font-size: 18px;
    line-height: 24px;
  }

  .work-contents-border {
    border: 1.5px solid #343434;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .contents-name {
    font-size: 30px;
    line-height: 34px;
  }

  .contents-date {
    text-align: right;
  }

  .contents-bottom {
    width: 90%;
  }

  .contents-catch {
    text-align: left;
    font-size: 24px;
    width: 90%;
  }

  .contents-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contents-text {
    margin: 0;
    width: 85%;
  }

  .contents-text p {
    margin-top: 30px;
    margin-bottom: 30px;
    line-height: 24px;

  }

 .photo-top img,
 .photo-bottom img{
   display: block;
   margin: 0 auto;
 }

 

}