@import url(common.css);

/* //////////////////////////////////////////

工事ページのファーストビュー
（.first_block）

////////////////////////////////////////// */
#content .first_block {
  background-color: #669933;
  background-image: url(../parts/eq/22348601_l.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 8em;
}
.first_overlay {
  background-color: #00000085;
  padding: 8em 0;
}
.first_block h1 {
  font-size: clamp(66px, 1.8vw, 70px);
  color: #fff;
  text-shadow: 1px 1px 5px rgb(43, 43, 43);
  text-align: center;
}
/* 施工事例・問い合わせボタン横並び */
.first_link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2em;
}

.first_link a {
  position: relative;
  max-width: 350px;
  padding: 1em 3em 1em 2em;
  display: block;
  background-image: -webkit-linear-gradient(90deg, rgb(213, 213, 213) 0%, rgb(255, 255, 255) 51%);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  text-align: center;
  border-radius: 5px;
  color: #444;
  font-weight: bold;
  font-size: 20px;
}
.first_link a::after {
  position: absolute;
  content: "▶";
  color: #fff;
  background-color: green;
  border-radius: 50%;
  padding: 0.5em;
  margin-left: 0.6em;
  font-size: 13px;
  top: 50%;
  transform: translate(0%, -50%);
}
@media screen and (max-width: 768px) {
  .first_block {
    margin-bottom: 0;
    gap: 2em;
  }
  .first_block h1 {
    font-size: clamp(40px, 1.8vw, 45px);
    color: #fff;
    text-shadow: 1px 1px 5px rgb(43, 43, 43);
  }
  .first_overlay {
    padding: 6em 0;
  }
  .first_link {
    display: block;
  }
  .first_link a {
    font-size: 15px;
    margin: 0 auto 1em;
  }
}
