* {
  font-family: 'Noto Sans JP', sans-serif;
}

nav {
  padding: 0 20px;
  line-height: 40px;
}

.title h1{
  width: 180px;

}
nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 10;
  background-color: rgba(135, 206, 250, .5);
}

.header-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-menu p {
  width: 100px;
}

section {
  margin: 48px 0;
}

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

h2 {
  position: relative;
  margin: 0 auto;
  text-align: center;
}
h2:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 50px;
  height: 2px;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translate(-50%);
  background-color: #000;
}


.content {
  display: flex;
  justify-content: center;
}

.content-image {
  width: 160px;
}

.content-sentence {
  margin: 26px 0 26px 12px;
}
.content-sentence li {
  line-height: 36px;
}

.service-contents {
  display: flex;
  justify-content: space-between;
  max-width: 500px;
  margin: 32px auto;
}

.service {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service h3 {
  font-size: 22px;
}

.service-image {
  width: 40px;
  margin: 0 auto;
}

.portfolio-contents {
  display: flex;
  flex-wrap: wrap;
  margin: 12px auto;
  justify-content: space-between;
  max-width: 900px;
}

.portfolio {
  width: 46%;
  max-width: 350px;
  margin: 20px 2%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-inner {
  height: 260px;
}

.portfolio h3 {
  font-size: 22px;
}

.portfolio-image {
  height: 186px;
  text-align: center;
}

.portfolio-description p {
  max-width: 350px;
  margin: 0 auto;
}

#more-btn {
  width: 200px;
  margin: 0 auto;
}

#more-btn:hover {
  cursor: pointer;
}

#more-btn p {
  padding: 8px 0;
  text-align: center;
  background-color: #87cefa;
  color: #fff;
  border-radius: 4px;
}

#more, #close {
  display: flex;
  justify-content: center;
  position: relative;
}

#close {
  display: none;
}


/* #more-btn p::after {
  content: '';
  width: 44px;
  height: 8px;
  border-bottom: solid 1px;
  border-right: solid 1px;
  transform: skew(45deg);
  position: relative;
  top: 6px;
} */

#more-btn p::before {
  content: "";
  display: block;
  position: absolute;
  right: 14px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(135deg);
}

#more::before {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  top: 12px;
}

#close::before {
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  top: 17px;
}

.inquiry-content {
  margin-top: 12px;
}

.inquiry-content p {
  text-align: center;
  font-size: 20px;
}

.copyright {
  margin: 0;
  background-color: #87cefa;
  color: #fff;
}

.copyright p {
  text-align: center;
}

@media screen and (max-width: 390px) {
  nav {
    display: none;
  }

  .content {
    flex-direction: column;
  }

  .content-image {
    margin: 20px auto 0;
  }

  .content-sentence {
    margin-top: 12px;
  }

  .service-contents {
    flex-direction: column;
    margin-top: 0;
  }

  .service {
    margin: 10px 0;
  }

  .service h3 {
    font-size: 20px;
  }

  .service-image {
    margin: 4px auto;
  }

  .portfolio-contents {
    flex-direction: column;
  }

  .portfolio {
    width: 100%;
  }

  .portfolio-description p {
    width: 100%;
  }
}
