@charset "UTF-8";

/* .clear::after { */
  /* 疑似要素を実体化 */
  /* content: ""; */
  /* floatを解除 */
  /* clear: both; */
  /* ブロック要素にする */
  /* display: block; */
/* } */

/* *,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
} */


/* =========================
main-visual
===========================*/
.main-visual {
  width: 100%;
  height: 900px;
  background-image: url(../img/main.jpg);
  background-size: cover;
  /* 文字をposision:absoluteで浮かせるためにする */
  position: relative;
}

.main-visual_content {
  position: absolute;
  top: 20%;
  width: 100%;
  color: #fff;
  text-align: center;
  letter-spacing: 0.1em;
  padding: 0 16px;
  height: 80%;
}

.main-visual-text {
  font-weight: 800;
  font-size: 60px;
}

.main-visual-lead {
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
  line-height: 1.8;
}

.main-visual-contact {
  margin-top: 400px;
}

.main-btn {
  /* 角を丸める */
  border-radius: 50px;
  background-color: rgba(19, 198, 123, 0.629);
  padding: 10px;
  text-decoration: none;
  font-size: 30px;
  color: rgb(20, 109, 161);
}

.btn:hover {
  opacity: 0.7;
  cursor: pointer;
}


/* =================================
profile
==================================*/
.profile {
  margin: 40px;
}

.section_title {
  text-align: center;
  font-weight: bold;
}

.section_lead {
  text-align: center;
}

.profile_inner {
  max-width: 800px;
  margin: 0 auto;
}

.profile-card {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  padding: 40px;
  box-shadow: 0 0 3px 0 rgba(33, 127, 136, 0.327);
  border-radius: 1%;
  flex-wrap: wrap;
}

.profile-card-item {
  /* display: flex; */
  width: 40%;
}

.profile-card-icon {
  width: 250px;
  height: 250px;
  border-radius: 50%;
}

.profile-card_sns {
  display: flex;

}

.profile-card_title {
  font-weight: bold;
  font-size: 20px;
}

.profile-card_sub-head {
  font-weight: bold;
  font-size: 20px;
}

/* ==============================
Service
===================================*/
.card-body {
  position: relative;
  padding-bottom: 80px;
}

.card-price {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  margin-top: 100px;
}

.service-card-second {
  margin: 0 10px;
}

/* ==============================
work
===================================*/
.work-item-right {
  margin-left: 26px;
}


/* ==============================
contact
===================================*/
.contact {
  margin: 70px 0;
  height: auto;
}

.contact-title {
  margin-bottom: 8px;
}

.contact-subtitle {
  margin-bottom: 30px;
}

.contact-message {
  margin-bottom: 50px;
}

.contact-twitter {
  margin-left: 100px;
}

/* ==============================
footer
===================================*/
.footer {
  height: 100px;
}

.footer-text {
  padding-top: 50px;
  padding-right: 10px;
}



/* ==============================
=========================================
スマホ用表示
==========================================
===================================*/
@media only screen and (max-width: 767px) {

  /* ==============================
  main-visual
  ===================================*/
  .main-visual {
    height: 760px;
  }

  .main-visual-text {
    font-weight: 800;
    font-size: 50px;
  }

  .main-visual-lead {
    font-size: 14px;
  }

  .main-visual-contact {
    margin-top: 350px;
  }

  /* =================================
  profile
  ==================================*/
  .profile-card {
    padding: 20px;
  }

  .profile-card_image {
    margin-bottom: 30px;
    text-align: center;
  }

  .profile-card-item {
    width: 100%;
  }

  /* ==============================
  Service
  ===================================*/
  .service-row {
    display: block;
  }

  .service-card {
    margin: 20px auto;
  }


  /* ==============================
  Work
  ===================================*/
  .work {
    padding: 0;
  }


  .work-wrapper {
    display: block;
  }

  .work-item {
    margin: 20px auto;
  }


}















/* ==============================
検証用
===================================*/

/* .parent { */
/*親要素はrelative*/
/* position: relative; */
/* padding: 20px; */
/* } */

/* .first {
  background-color: skyblue;
}

.second {
  background-color: aquamarine;
}

#absolute {
  position: absolute;
  bottom: 0;
} */


/* .parent {
  height: 267px;
  width: 167px;
  text-align: center;
  padding: 20px;
  margin: auto;
  position: relative;
  background-color:black
}

.child {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  background-color: aqua;
} */