@charset "utf-8";

body {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

a {
  text-decoration: none;
  color:dimgrey;
}

a:hover {
  cursor: pointer;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

img {
  width: 100%;
  vertical-align: bottom;
  display: block;
}

section {
  padding: 30px 0;
  
}

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



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

.header-flex {
  display: flex;
  justify-content: space-between;
}

.header-logo {
  font-size: 40px;
}

.header-nav {
  display: flex;
}

.header-nav-item {
  margin-left: 30px;
}

.bold{
  font-weight: bold;
}

.sm {
  display: none;
}
/* -------------------------------------
top
------------------------------------- */

.top {
  padding: 100px 0;
  width: 100%;
  border-top: darkolivegreen 2px solid;
  border-bottom: darkolivegreen 2px solid;
  /* margin-bottom: 30px; */
}

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

.top-title-lead {
  text-align: center;
}
.color {
  color: cadetblue;
}


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

.profile {
  background-color: aliceblue;
  padding: 30px 0;
  margin-bottom: 30px;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 999px;
  transform: rotate(90deg);
}

.Profile-text {
  width: 250px;
  margin-left: 30px;
}

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

/* -------------------------------------
 Service
------------------------------------- */

.service-list {
  display: flex;
  justify-content: space-between;
}

.service-list-item {
  width: 30%;
  color: #fff;
}

.cards {
  padding: 30px 20px;
  height: 250px;
  position: relative;
  
}

.card-first {
  background-image: url(../img/service-first.jpg);
  background-size: cover;
}

.card-second {
  background-image: url(../img/service-second.jpg);
  background-size: cover;
}
.card-third {
  background-image: url(../img/service-third.jpg);
  background-size: cover;
}

.cards::after {
  content: '';
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.card-title {
  font-size: large;
  font-weight: bold;
  text-align: center;
  position: absolute;
  z-index: 1;
  margin-top: 30px;
}

.card-lead {
  position: absolute;
  z-index: 1;
  margin-top: 80px;
}

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

.work {
  background-color: aliceblue;
}

.work-list {
  display: flex;
  justify-content: space-between;
}

.work-list-item {
  width: 45%;
}
.work-text {
  text-align: center;
}

/* -------------------------------------
contact
------------------------------------- */

.contact-wrapper {
  display: flex;
  justify-content: space-around;
}

.icon img {
  width: 40%;
  margin: 0 auto;
}

.address {
  text-align: center;
}

.contact-text {
  text-align: center;
  margin-bottom: 40px;
}

/* -------------------------------------
footer
------------------------------------- */

footer {
  background-color: silver;
  padding: 20px 20px;
}

small {
  display: block;
  text-align: center;
}




/* -------------------------------------
sp
------------------------------------- */

@media screen and (max-width:767px) {
  /* -------------------------------------
header
------------------------------------- */
.header-flex {
  flex-flow: column;
}

.header-nav {
  justify-content: space-around;
}

  /* -------------------------------------
service
------------------------------------- */

.service-list {
  flex-flow: column;

}

.service-list-item {
  width: 50%;
  margin: 0 auto;
  margin-bottom: 30px;
}

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

.work-list {
  flex-flow: column;
}

.work-list-item {
  width: 50%;
  margin: 0 auto 30px;
}

  /* -------------------------------------
contact
------------------------------------- */
.contact-wrapper {
  justify-content: center;
}

}