@charset "UTF-8";

.other-wrap {
  max-width: 1200px;
  width: 100%;
  display: grid;
  border: 10px solid #555;
  padding: 15px 27px 15px 15px;
  grid-template-areas:
    "other-img other-title"
    "other-img other-text";
  column-gap: 26px;
  row-gap: 20px;
  grid-template-columns: 387px 1fr;
  grid-template-rows: 60px auto;
  margin-bottom: 25px;
}

@media screen and (max-width:1200px) {
  .other-wrap {
    justify-content: center;
    grid-template-columns: 100%;
    grid-template-areas:
      "other-title"
      "other-img"
      "other-text";
  }
}

.other-title {
  padding: 0.2em;
  color: #fff;
  background: #2E2E2E;
  border-left: solid 10px #898989;
  font-weight: bold;
  font-size: 2rem;
  align-self: center;
}

.other-img {
  margin: 0 auto;
}

.other-img {
  grid-area: other-img;
}

.other-title {
  grid-area: other-title;
}

.other-text {
  grid-area: other-text;
}

/*----------------------------------
      施工場所一例
  -----------------------------------*/

.location-title {
  position: relative;
  padding: 1rem 1rem 1rem 1.5rem;
  border-radius: 5px;
  border: 3px solid #333;
  box-shadow: -3px 3px 0 0 #333;
  font-weight: bold;
  font-size: 1.1rem;
  max-width: 600px;
  text-align: center;
  margin: 0 auto 50px;
}

.location-title:before,
.location-title:after {
  position: absolute;
  left: 30px;
  height: 0;
  width: 0;
  border: solid transparent;
  content: "";
}

.location-title:before {
  top: 100%;
  margin-left: -12px;
  border-color: transparent;
  border-top-color: #333;
  border-right-color: #333;
  border-width: 10px;
}

.location-title:after {
  top: 99%;
  margin-left: -7px;
  border-color: transparent;
  border-top-color: white;
  border-right-color: white;
  border-width: 6.5px;
}

.location-itembox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px 30px;
  justify-content: center;
  padding: 10%;
  background: #555;
}

.location-item {
  background: #fff;
  height: 140px;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media screen and (max-width:599px) {
  .location-itembox {
    padding: 2rem;
    grid-template-columns:1fr;
    grid-gap: 15px 30px;
  }
  .location-item {
    height: 56px;
    font-size: 1.5rem;
  }
}