/*================================================================
共通
================================================================*/
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.5;
}


img {
  width: 100%;
}

h2 {
  position: relative;
  text-align: center;
  width: 90%;
  margin: 0 auto;
}

h2 span {
  position: relative;
  padding: 0 1em;
}

.span__white {
  background-color: #fff;
}

.span__gray {
  background-color: #eee;
}

/*================================================================
header
================================================================*/


.navbar {
  padding: 0;
}

.header-logo {
  width: 50px;
  height: 50px;
}

.nav-link {
  padding: 1.5rem 1rem;
}

header a:hover {
  opacity: 0.7;
}

/*================================================================
top
================================================================*/

.top {
  background: url(../img/top.jpg) no-repeat center center/cover;
  height: 500px;
  padding: 100px 0;
  position: relative;
  display: flex;
  align-items: center;
}

.top::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.2);
}

.top-inner {
  position: relative;
}

.top-title {
  font-size: 80px;
}

.top-subtitle {
  font-size: 20px;
}



/*================================================================
about
================================================================*/

.about {
  background-color: #6AC1B7;
}

.about-container {
  width: 800px;
}

.about-wrapper {
  box-shadow: 0 0 3px 0 rgb(0 0 0 / 16%);
  padding: 24px;
  background-color: white;
}

.about-twitter-logo {
  width: 30px;
  height: 30px;
}

.about-img {
  margin-bottom: 15px;
}

.about h2:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: white;
}

.about-span {
  background-color: #6AC1B7;
  color: white;
}

.about-title {
  font-weight: 500;
  font-size: 13px;
  color: #666;
}

.about-name {
  font-size: 24px;
  margin-bottom: 10px;
}

.about-content {
  font-weight: 1000;
  font-size: 20px;
  font-family: 'ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN',sans-serif;
  line-height: 1.6;
}

/*================================================================
service
================================================================*/

.service img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.service-card_image {
  text-align: center;
}

.service {
  background-color: #6AC1B7;
}

.service-span {
  background-color: #6AC1B7;
  color: white;
}

.service h2:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: white;
}


/*================================================================
work
================================================================*/

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

.work-card {
  width: calc(33.3% - 24px * 2 / 3);
  margin-left: 24px;
  box-shadow: 0 0 3px 0 rgb(0 0 0 / 16%);
  background-color: white;
}

.work-card__body {
  padding: 10px;
}

.work-card__title {
  font-size: 20px;
  margin-bottom: 10px;
}

.work-card__text {
  margin-bottom: 10px;
}

.work-card__link {
  font-size: 18px;
  text-align: center;
}

.work-card__image img {
  height: auto;
}

.work {
  background-color: #BFE9DB;
}

.work h2:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: black;
}

.work-span {
  background-color: #BFE9DB;
  color: black;
}


/*================================================================
contact
================================================================*/

.contact {
  background-color: #DFEFED;
}

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

.contact-item img {
  width: 80px;
  height: 80px;
}

.contact-item {
  text-align: center;
}

.contact-item a {
  display: block;
}

.contact-item__twitter {
  margin-left: 90px;
}

.contact h2:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: black;
}

.contact-span {
  background-color: #DFEFED;
}


/*================================================================
footer
================================================================*/

footer {
  background-color: #555;
}

.footer-text {
  margin-bottom: 0;
}

/*===========================
レスポンシブ対応
===========================*/
@media only screen and (max-width: 992px) {

/*================================================================
header
================================================================*/
  .nav-link {
    padding: 0.5rem 1rem
  }

}


@media only screen and (max-width: 767px) {

/*================================================================
top
================================================================*/

  .top-title {
    font-size: 42px;
  }

/*================================================================
about
================================================================*/

  .about-container {
    width: auto;
  }


/*================================================================
work
================================================================*/
  .work-card {
    width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .work-wrapper {
    display: block;
  }

/*================================================================
contact
================================================================*/

  .contact-item img {
    width: 50px;
    height: 50px;
  }

}

@media (min-width: 576px) {
  .card-deck .card {
      -ms-flex: 1 0 0%;
      flex: 1 0 0%;
      margin-right: 10px;
      margin-bottom: 0;
      margin-left: 10px;
  }
}

@media only screen and (max-width: 400px) {
/*================================================================
contact
================================================================*/

  .contact-item__text {
    font-size: 10px;
  }

  .contact-item img {
    width: 30px;
    height: 30px;
  }

  .contact-item__twitter {
    margin-left: 30px;
  }

}
