@charset "utf-8";

body {
  color: black;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

img {
  width: 100%;
  height: 80%;
}

.clear::after {
  content: "";
  clear: both;
  display: block;
}

/*-------- section --------------*/

.section {
  padding: 55px 0;
  margin-bottom: 5px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}

.section-subtitle {
  font-size: 20px;
  text-align: center;
  font-weight: lighter;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.section-body {
  margin-top: 50px;
}

/*------------ header -----------*/
header {
  background-color: #87888e;
  color: #fff;
}

.nav-item {
  padding-left: 15px;
}

/*----------- top ---------------*/
.top {
  background-image: url(../img/main.jpg);
  background-size: cover;
  padding: 130px;
  color: #504946;
}

.top-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.top-subtitle {
  font-size: 18px;
  text-align: center;
}

/*-------------- profile ----------------*/

.profile-card_image {
  float: left;
  width: 45%;
}

.profile-card_body {
  float: right;
  width: 52%;
  padding: 0 15px;
  text-align: justify;
}

.profile-card_title {
  color: grey;
  margin-bottom: 10px;
}

.profile-card_name {
  font-size: 30px;
}
.profile-card_ename {
  font-size: 20px;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
}

.profile-card_content {
  padding-bottom: 40px;
}

.profile-card_concept h5 {
  font-weight: bolder;
  padding-bottom: 10px;
}

/*--------------- Service ----------------*/
.service {
  background-color: #f8fafa;
}

.service img {
  margin: 20px auto;
  width: 170px;
  height: 160px;
  border-radius: 50%;
}

.card-title {
  font-weight: bold;
  text-align: center;
}
.card-text {
  text-align: justify;
  padding: 5px;
}

/*---------- work ------------*/
.work-cards {
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  justify-content: center;
}

.work_card {
  background: #fff;
  width: calc(40% - 24px * 2 / 3);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
  /*margin: 20px;*/
  margin: 0 30px;
}

.work_card_image {
  text-align: center;
}
.work_card_body {
  padding: 12px 12px 20px;
}

.work_card_title {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  padding-bottom: 15px;
}

.work_card_comment {
  text-align: justify;
  padding: 10px;
}

.work_card_link {
  text-align: center;
  padding-top: 10px;
}

/*--------------- Contact ----------------*/
.contact {
  background-color: #f8fafa;
}

.contact_message {
  font-size: 16px;
  padding: 0 160px;
  margin-bottom: 60px;
}

.contact-items {
  padding: 5px 160px;
}

.contact-item-text {
  font-size: 16px;
  padding: 0 10px;
}

input {
  width: calc(100% - 30px * 2 / 3);
  height: 30px;
  border: 1px solid #d8d8d8;
  font-size: 18px;
  display: block;
  margin-bottom: 20px;
}

input::placeholder {
  font-size: 15px;
}

input[type="textarea"] {
  height: 150px;
}
.btn-register {
  background-color: #94bcb7;
  display: block;
  margin: auto;
}

.btn {
  padding: 10px 30px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
}

.btn:hover {
  opacity: 0.7;
}

/*------------------ footer -------------------*/
footer {
  background-color: #87888e;
  color: #fff;
  padding: 10px 0;
}
.footer-text {
  font-size: 12px;
  float: right;
}

/*--------------------------------------------------------------*/
/*------------------ レスポンシブ(タブレット)表示 -------------------*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .contact_message {
    font-size: 16px;
    padding: 0 50px;
    margin-bottom: 50px;
  }

  .contact-items {
    padding: 5px 50px;
  }

  .contact-item-text {
    font-size: 16px;
    padding: 0 10px;
  }

  input {
    font-size: 16px;
  }

  input::placeholder {
    font-size: 14px;
  }

  input[type="textarea"] {
    height: 120px;
  }
}

/*------------------ レスポンシブ(スマホ)表示 -------------------*/
@media only screen and (max-width: 767px) {
  /*------------------ section -------------------*/

  .section {
    padding: 75px 0;
    margin-bottom: 5px;
  }
  .section-title {
    font-size: 24px;
  }
  .section-subtitle {
    font-size: 18px;
  }
  .section-body {
    margin-top: 40px;
  }
  .section p {
    font-size: 14px;
  }

  /*------------------ header -------------------*/

  header {
  }

  /*------------------ top -------------------*/
  .top {
    padding: 120px 0;
  }
  .top-title {
    font-size: 32px;
  }
  .top-subtitle {
    font-size: 14px;
  }
  /*-------------- profile ----------------*/

  .profile-card_image {
    float: none;
    width: 100%;
    margin-bottom: 30px;
  }

  .profile-card_body {
    float: none;
    width: 100%;
    text-align: justify;
  }

  /*---------- work ------------*/

  .work_card {
    width: 100%;
    margin-bottom: 50px;
  }
  .work_card_image {
    margin-bottom: 25px;
  }

  .work_card_title {
    font-size: 18px;
  }

  /*--------------- Contact ----------------*/

  .contact_message {
    font-size: 16px;
    padding: 0 20px;
    margin-bottom: 60px;
  }

  .contact-items {
    padding: 5px 20px;
  }

  .contact-item-text {
    font-size: 16px;
    padding: 0 10px;
  }

  input {
    font-size: 14px;
  }

  input::placeholder {
    font-size: 13px;
  }

  input[type="textarea"] {
    height: 100px;
  }

  .btn {
    padding: 10px 30px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
  }
}
