:root {
  --primary-white: #FFFFFF;
  --primary-gray: #F2F2F2;
  --primary-blue: #016FD7;
  --primary-orange: #FE9028;
  --primary-black: #222222;
  --section-padding: 72px 5.3%;
}

@media screen and (min-width: 768px) {
  :root {
    --section-padding: 108px 3em;
  }
}

/* ----------------------------------------------
事業内容
----------------------------------------------*/

.work-overview .button__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 1em;
  gap: 0.5em;
  background: #fff;
  margin: 0;
  padding: 0;
  margin-top: 40px;
}

.work-overview .button__item {
  padding: 2em 1em 4em;
  background-color: #F2F2F2;
  border-bottom: none;
  font-size: 1.2rem;
  position: relative;
}

.work-overview .button {
  display: block;
  margin: 0;
  padding: 0;
  background-color: unset;
  text-align: center;
}

.work-overview .button__txt {
  color: #333;
  font-weight: 700;
  padding-bottom: 1em;
  text-align: center;
  font-size: 1.6rem;
}

.work-overview .button P {
  text-align: left;
  font-weight: normal;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  line-height: 1.6;
  font-size: 1.6rem;
}

.dli-caret-down {
  position: absolute;
  bottom: 10px;
  left: 40%;
  transform: translate(10px, -40%);
  display: inline-block;
  vertical-align: middle;
  color: #07427a;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.94952em 0.675em;
  border-top-color: currentColor;
  border-bottom: 0;
}

.work-section .inner.workItem {
  display: block;
  /* margin-bottom: 4em; */
}

.inner.workItem {
  display: block;
}

.itemWrapper {
  grid-area: 1 / 2 / 2 / 3;
  padding: 0;
}

.work-section .itemImg {
  grid-area: 1 / 1 / 3 / 2;
  margin-bottom: 24px;
}

.work-section .itemTxt {
  grid-area: 2 / 2 / 3 / 3;
}

.work-section .itemTitleWrapper {
  padding: 1em;
  background-color: #F2F2F2;
  margin-bottom: 24px;
  display: block;
}

.itemTitle {
  color: #333;
  font-size: 2.4rem;
  line-height: 1.5;
  padding-bottom: 1em;
}

.itemSubTitle {
  border-left: none;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: normal;
  color: #07427a;
}

.table {
  margin-top: 2.0em;
}

.tableList {
  display: flex;
  flex-direction: column;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: solid 1.5px #016FD7;
}

.tableTxt {
  font-weight: normal;
  font-size: 1.4rem;
}

.tableTxt.date {
  font-weight: 600;
  width: 250px;
  border: solid 1px;
}

.itemImg {
  /* box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3); */
  width: 100%;
}

.itemImg img {
  width: 100%;
}

@media screen and (min-width: 1024px) {

  /* ----------------------------------------------
  事業内容
  ----------------------------------------------*/
  .itemList {
    margin-top: 0;
  }

  .work-overview {
    width: 100%;
    margin: 0 auto;
  }

  .work-overview .button__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    row-gap: 1em;
    gap: 0.5em;
    margin-top: 32px;
    padding: 4% 0;
    background: #fff;
    border-radius: 4px;
  }


  .work-section .inner.workItem {
    width: 100%;
    display: grid;
    grid-template-columns: 45% auto;
    grid-template-rows: repeat(2, auto);
    /* grid-column-gap: 80px; */
    grid-row-gap: 0px;
    padding: 0 3em;
    padding-top: 32px;
    padding-bottom: 32px;
    margin: 0;
  }

  .work-section .work-overview .button {
    width: 100%;
    margin: 0 auto;
  }

  .work-section .work-overview .button__item {
    padding: 2.5em 2.56em 4em;
  }

  .work-section .itemTitleWrapper {
    grid-area: 1 / 2 / 2 / 3;
    display: block;
    padding: 16px 40px;
  }

  .work-section .itemImg {
    grid-area: 1 / 1 / 3 / 2;
    margin: 0;
  }

  .work-section .itemWrapper {
    grid-area: 2 / 2 / 3 / 3;
    padding: 0 2em;
    margin: 0;
  }


  /* ----------------------------------------------
  実績
  ----------------------------------------------*/

  #results .inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3em;
  }

  #results .inner .titleWrapper {
    width: 30%;
    display: block;
  }

  #results .inner .titleWrapper .mainTitle {
    margin-bottom: 0.5em;
  }

  #results .inner .table-content {
    width: 70%;
    margin-top: 0;
  }

  #results .inner .table-content .table {
    width: 100%;
  }

  .tableList {
    display: block;
    width: 100%;
  }

  .itemImg img {
    width: 350px;
  }

}

@media screen and (min-width: 1224px) {

  .work-overview {
    width: 100%;
    margin: 0 auto;
    padding: 10em 8em;
  }

  .work-section .inner.workItem {
    padding: 0 8em;
    margin-bottom: 2em;
  }



  .itemImg img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    /* box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3); */
  }
}