.inner {
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (min-width: 768px) {
  .inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

body {
  font-size: 14px;
  line-height: 1.7;
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  background-color: #fffaf2;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.bg img {
  width: 600px;
  -o-object-fit: contain;
     object-fit: contain;
}

.header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 51;
}
@media screen and (min-width: 768px) {
  .header {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
  }
}

.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header__logo {
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.header__logo:hover {
  opacity: 0.5;
}
.header__logo img {
  width: 50px;
}

.header__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}
@media screen and (min-width: 768px) {
  .header__nav {
    gap: 20px;
  }
}

.header__link {
  color: #9e7b5c;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.header__link:hover {
  opacity: 0.5;
}

.header__icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.header__icon:hover {
  opacity: 0.5;
}
.header__icon img {
  width: 20px;
}

.fv__title {
  width: 100%;
  height: 100vh;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: #9e7b5c;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}

.fv__company {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 4px;
}
@media screen and (min-width: 768px) {
  .fv__company {
    font-size: 40px;
  }
}

.fv__name {
  font-size: 16px;
  letter-spacing: 6px;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .fv__name {
    font-size: 20px;
  }
}

#service,
#works {
  opacity: 0;
  -webkit-transform: translateY(40px);
          transform: translateY(40px);
  -webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
  transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition: opacity 0.8s ease, transform 0.8s ease, -webkit-transform 0.8s ease;
}

#service.active,
#works.active {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.service__title {
  margin-bottom: 30px;
}

.service__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .service__contents {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
  }
}

.service__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .service__content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.service__content__title {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
}

.service__content__image {
  text-align: center;
}
.service__content__image img {
  width: 60px;
}

.works {
  margin-top: 100px;
}

.works__title {
  margin-bottom: 30px;
}

.works__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
@media screen and (min-width: 768px) {
  .works__content {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    gap: 30px;
  }
}

.works__image img {
  width: 100%;
}

.footer {
  margin-top: 100px;
  background: #111;
  padding-top: 4px;
  padding-bottom: 8px;
  text-align: center;
}

.footer__copyright {
  color: #f5f5f5;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
}