@charset "utf-8";

/*==============================================================================

	お客様の声から改善された事例

================================================================================*/

.hero {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.16);
  background: url(/images/improvements/hero.jpg);
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 35px;
}
.note {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 50px;
}
.primary__title {
  font-weight: bold;
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 50px;
  border-left: solid #dc000c 5px;
  padding-left: 17px;
}
.secondary__title {
  font-weight: bold;
  font-size: 25px;
  line-height: 1.4;
  margin-bottom: 30px;
  border-left: solid #dc000c 5px;
  padding-left: 17px;
}
.tertiary__title {
  font-weight: bold;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 100px;
}
.item {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.09);
  padding: 25px 20px;
}
.item__thumbnail {
  border: solid 1px #e1e1e1;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.item__thumbnail img {
  width: 100%;
  height: 182px;
  object-fit: cover;
}
.item__title {
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.item__text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.item__products {
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
  border-top: 1px dotted #bebebe;
  padding-top: 20px;
  display: flex;
}
.item__products__image {
  width: 19.662962%;
  margin-right: 10px;
}
.item__products__image img {
  width: 100%;
}
.item__products__text {
  display: flex;
  flex: 1;
  align-items: center;
  font-size: 12px;
}
.improvement__block {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.improvement__block__image {
  width: 46.93%;
  border-radius: 0px 20px 20px 20px;
  border: 1px solid #e1e1e1;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.is-arrow {
  background: url(/images/improvements/img-arrow-right.svg);
  width: 27px;
  height: 31px;
  background-size: cover;
  display: block;
  margin: auto;
}
.is-before::before {
  content: "改善前";
  font-size: 16px;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: #fff;
  width: 99px;
  height: 37px;
  border-radius: 0px 0px 20px 0px;
  background: #393939;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
}
.is-after::before {
  content: "改善後";
  font-size: 16px;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: #fff;
  width: 99px;
  height: 37px;
  border-radius: 0px 0px 20px 0px;
  background: #008dd6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
}
.improvement__block__image img {
  width: 100%;
}
.improvement__txt {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.improvement__note {
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
  margin-top: 30px;
}
.improvement__table__inner {
  display: flex;
  border-top: 1px solid #d6d6d6;
  border-left: 1px solid #d6d6d6;
  border-right: 1px solid #d6d6d6;
}
.improvement__table__inner:last-child {
  border-bottom: 1px solid #d6d6d6;
}
.improvement__table__inner__item {
  background: #f8f8f8;
  border-right: 1px solid #d6d6d6;
  padding: 15px;
  width: 210px;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
}
.improvement__table__inner__text {
  background: #fff;
  padding: 15px;
  width: calc(100% - 210px);
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.8;
}
.btn-back {
  width: 200px;
  height: 50px;
  border-radius: 25px;
  background: #dc000c;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 70px auto;
}
.btn-next {
  width: 200px;
  height: 50px;
  border-radius: 25px;
  background: #dc000c;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 25px auto 0;
}
.item:hover .btn-next {
  opacity: 0.7;
}
.btn-back:hover {
  opacity: 0.7;
}
.btn-back span,
.btn-next span {
  font-size: 16px;
  color: #fff;
  padding-left: 23px;
  position: relative;
}
.btn-back span::before {
  content: "";
  background: url(/images/improvements/ico-back.svg);
  width: 16px;
  height: 16px;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.btn-next span::before {
  content: "";
  background: url(/images/improvements/ico-next.svg);
  width: 16px;
  height: 16px;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 980px) {
  .menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    height: 160px;
    margin-bottom: 35px;
  }
  .note {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 25px;
  }
  .primary__title {
    font-size: 20px;
    margin-bottom: 25px;
    padding-left: 14px;
  }
  .secondary__title {
    font-size: 20px;
    padding-left: 15px;
    margin-bottom: 15px;
  }
  .tertiary__title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .menu {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 50px;
  }
  .item {
    padding: 20px 15px;
  }
  .item__thumbnail {
    border: solid 1px #e1e1e1;
    box-sizing: border-box;
    margin-bottom: 20px;
  }
  .item__thumbnail img {
    width: 100%;
  }
  .item__title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .item__text {
    margin-bottom: 15px;
  }
  .improvement__block {
    margin-bottom: 25px;
  }
  .improvement__block__image {
    width: 100%;
  }
  .is-arrow {
    background: url(/images/improvements/img-arrow-bottom.svg);
    width: 31px;
    height: 27px;
    background-size: cover;
    display: block;
    margin: 15px auto;
  }
  .is-before::before {
    font-size: 14px;
    width: 80px;
    height: 30px;
  }
  .is-after::before {
    font-size: 14px;
    width: 80px;
    height: 30px;
  }
  .improvement__block__image img {
    width: 100%;
  }
  .improvement__txt {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .improvement__note {
    font-size: 12px;
    margin-top: 15px;
  }
  .improvement__table__inner {
    flex-direction: column;
    border: none;
  }
  .improvement__table__inner:last-child {
    border-bottom: 1px solid #d6d6d6;
  }
  .improvement__table__inner__item {
    background: #f8f8f8;
    border-top: 1px solid #d6d6d6;
    border-left: 1px solid #d6d6d6;
    border-right: 1px solid #d6d6d6;
    padding: 6px 10px;
    width: 100%;
    font-size: 14px;
  }
  .improvement__table__inner__text {
    background: #fff;
    padding: 6px 10px;
    width: 100%;
    font-size: 14px;
    border-top: 1px solid #d6d6d6;
    border-left: 1px solid #d6d6d6;
    border-right: 1px solid #d6d6d6;
  }
  .btn-back {
    margin: 30px auto;
  }
  .btn-next {
    margin: 15px auto 0;
  }
  .btn-back:hover {
    opacity: 1;
  }
  .btn-back span,
  .btn-next span {
    font-size: 14px;
    padding-left: 20px;
  }
  .btn-back span::before {
    content: "";
    background: url(/images/improvements/ico-back.svg);
    width: 14px;
    height: 14px;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .btn-next span::before {
    content: "";
    background: url(/images/improvements/ico-next.svg);
    width: 14px;
    height: 14px;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}
