/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* コンテンツ幅 */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 4%;
}

/* 共通CSS */
.section-title {
  margin: 0 auto;
  text-align: center;
}

/* ナビバー */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 270px;
}

.nav-list {
  display: flex;
  gap: 30px;
}

@media(max-width:600px) {
  .nav {
    flex-direction: column;
    height: auto;
    margin: 20px 0 10px;
  }

  .logo {
    margin-bottom: 10px;
  }
}

/* メインビジュアル */
.mv {
  height: 420px;
  object-fit: cover;
  margin-bottom: 80px;
}

/* about */
.about-section {
  margin-bottom: 130px;
}

.about-section h2 {
  margin-bottom: 65px;
}

@media(max-width:600px) {
  .about-section {
    margin-bottom: 70px;
  }

  .about-section h2 {
    margin-bottom: 40px;
  }
}

/* works */
.works-section {
  margin-bottom: 150px;
}

.works-section h2 {
  margin-bottom: 68px;
}

.img-box {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.img-box li {
  width: calc((100% - 60px) / 3);
}

.img-box img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .img-box li {
    width: calc((100% - 30px) / 2);
  }
}

@media(max-width:600px) {
  .works-section {
    margin-bottom: 90px;
  }

  .works-section h2 {
    margin-bottom: 68px;
  }

  .img-box li {
    width: 100%;
  }
}

/* news */
.news-section {
  margin-bottom: 130px;
}

.news-section h2 {
  margin-bottom: 65px;
}

.news-item {
  display: flex;
  gap: 78px;
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
  padding: 15px 0;
}

@media(max-width:600px) {
  .news-section {
    margin-bottom: 70px;
  }

  .news-section h2 {
    margin-bottom: 40px;
  }

  .news-item {
    flex-direction: column;
    gap: 0;
  }

}

/* contact */
.contact-section {
  margin-bottom: 65px;
}

.contact-section h2 {
  margin-bottom: 65px;
}

.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.form-row label {
  text-align: left;
}

.form-row input {
  width: 730px;
  height: 44px;
}

.form-row textarea {
  width: 730px;
  height: 166px;
}

button {
  display: block;
  margin: 30px auto 130px;
  width: 200px;
  height: 52px;
  color: #fff;
  background-color: #000;
}

button:hover {
  color: #000;
  background-color: #fff;
}

@media(max-width:600px) {
  .contact-section {
    margin-bottom: 70px;
  }

  .contact-section h2 {
    margin-bottom: 40px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row input {
    width: 100%;
  }

  .form-row textarea {
    width: 100%;
  }

  button {
    margin: 30px auto 70px;
  }
}

/* footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}