* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

img {
  width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: relative;
  background-color: #fff;
  z-index: 200;
}

.header-title {
  font-size: 28px;
}

.header-ul {
  display: flex;
  gap: 20px;
}

.header-ul a {
  color: #333;
}

.header-button {
  display: none;
  font-size: 28px;
  background: #07575b;
  color: #fff;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 300;
}

/* fv */
.fv {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.fv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.fv-text-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  width: 100%;
  padding: 0 20px;
}

.fv-text {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
}

.fv-subtext {
  font-size: 20px;
  margin-top: 20px;
  color: #fff;
}

/* about */
.about {
  padding: 60px 20px;
  background: #c4dfe6;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 40px;
}

.about-div {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.about-img {
  width: 200px;
  border-radius: 20px;
}

.about-text {
  max-width: 500px;
  line-height: 1.8;
}

/* works */
.works,
.service,
.contact {
  padding: 60px 20px;
}

.works-div1 {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.works-div {
  width: 300px;
  text-align: center;
}

.works-img {
  border-radius: 20px;
}

.works-div p {
  margin-top: 12px;
}

/* contact */
.contact {
  text-align: center;
}

/* footer */
.footer {
  background: #07575b;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* スマホ */
@media (max-width: 768px) {
  .header-button {
    display: block;
  }

  .header-nav {
    width: 100%;
  }

  .header-ul {
    display: none;
  }

  .header-ul.active {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 250;
  }

  .header-ul.active li a {
    font-size: 28px;
    font-weight: bold;
    color: #07575b;
  }

  .fv-text {
    font-size: 32px;
  }

  .fv-subtext {
    font-size: 16px;
  }

  .about-div {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }
}