/* works */
.worksCategoryList {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.worksCategoryList li {
  width: calc((100% - 30px) / 4);
}

.worksCategoryList a {
  border: 1px solid #909090;
  padding: 15px;
  width: 100%;
  display: block;
  text-align: center;
  color: #231815;
  font-weight: 600;
  border-radius: 30px;
  font-size: 15px;
  transition: 0.5s;
}

.worksCategoryList a:hover {
  background: #B5995C;
  border-color: #B5995C;
  color: #fff;
}

.worksCategoryListSelected a {
  background: #B5995C;
  border-color: #B5995C;
  color: #fff;
}

.pageWorksEachHeader {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.pageWorksEachClientName {
  font-size: 15px;
  padding: 0 15px 15px 0;
}

.pageWorksEachCategory {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.pageWorksEachCategory li {
  padding: 0 15px 15px 0;
}

.pageWorksEachCategory > li > object > a {
  font-size: 15px;
  color: #231815;
  background-color: #fff;
  border: 1px solid #231815;
  border-radius: 3px;
  padding: 5px 10px;
  line-height: 1.5em;
  display: block;
}

.pageWorksEachTopImageBox {
  text-align: center;
}

.pageWorksEachTopImageBox img {
  max-width: 100%;
}

.pageWorksEachYoutubeBox {
  max-width: 800px;
  margin: 0 auto;
}

.youtube_wrap{
  padding-top: 56.25%;
  width: 100%;
  position: relative;
}

.youtube_wrap iframe{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
}

.pageWorksEachContentsBox {
  background-color: #F4F1E9;
  border-radius: 15px;
  padding: 50px;
}

.pageWorksEachTable {

}

.pageWorksEachTable table {
  margin: 0 auto;
  width: 100%;
}

.pageWorksEachTable tr {
  border-bottom: 2px solid #D9D0BB;
}

.pageWorksEachTable th {
  padding: 20px 0;
  width: 200px;
}

.pageWorksEachTable th span {
  background-color: #B4995C;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  width: 120px;
  text-align: center;
  display: block;
  font-weight: 600;
}

.pageWorksEachTable td {
  padding: 20px 0;
  vertical-align: middle;
  max-width: 100%;
}

.pageWorksEachContent {
  width: 100%;
  padding: 20px 0;
  margin: 0 auto;
}

.pageWorksEachContent p {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  margin: 20px 0px 0px 0px;
  text-align: left;
}

.pageWorksEachContent .wp-block-image {
  text-align: center;
  margin: 20px 0 0 0;
}

.pageWorksEachContent img {
  max-width: 100%;
}

.pageWorksEachServiceBt {
  margin: 50px 0 0 0;
}

.pageWorksEachFooterBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media all and (max-width: 1024px) { /* SP */
  .pageWorksEachHeader {
    flex-wrap: wrap;
  }

  .worksCategoryListBt {
    color: #231815;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    border-radius: 30px;
    padding: 15px 30px;
    width: 100%;
    transition: 0.5s;
    position: relative;
    display: block;
    border: 1px solid #231815;
  }

  .worksCategoryListBt:after {
    position: absolute;
    right: 25px;
    top: calc(50% - 3px);
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    color: #231815;
    background-color: #231815;
  }

  .worksCategoryList {
    gap: 0;
  }

  .worksCategoryList li {
    width: 100%;
  }

  .worksCategoryList a {
    border-radius: 0;
    margin-left: 25px;
    margin-right: 25px;
    width: auto;
    border-top: 0;
  }


  .pageWorksEachTitle {
    font-size: 24px;
  }

  .pageWorksEachCategory {
    margin-top: 10px;
    margin-left: 0;
  }

  .pageWorksEachTopImageBox {
    padding: 15px 0;
  }

  .pageWorksEachTopImageBox .pageContentsInBox {
    margin-left: 15px;
    margin-right: 15px;
  }

  .pageWorksEachContentsBox {
    padding: 20px 15px;
  }

  .pageWorksEachTable th {
    display: block;
    padding-bottom: 0;
  }

  .pageWorksEachTable td {
    display: block;
    padding-top: 10px;
  }
}

@media all and (min-width: 1025px) { /* PC */

}