@charset "utf-8";

/*
  File Name   : works.css
  Description : コンテンツエリア関係 他
*/

/* com-kv-wrap
============================================================ */
.detail .com-kv-wrap {
  background: url(../img/works/category-kv-img.jpg) center no-repeat;
  background-size: cover;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .detail .com-kv-wrap {
    background: url(../img/works/category-kv-img-sp.jpg) center no-repeat;
    background-size: cover;
  }
}

/* works-sort-wrap
============================================================ */
.works-sort-wrap {
  margin-bottom: 80px;
}

.works-sort-wrap ul {
  display: flex;
  flex-wrap: wrap;
}
.works-sort-wrap li {
  width: calc((100% - 20px * 4) / 5);
  margin-right: 20px;
}
.works-sort-wrap li:last-child {
  margin-right: 0;
}
.works-sort-wrap li a {
  font-weight: bold;
  color: #8EC31F;
  line-height: 1.4;
  text-align: center;
  display: block;
  padding: 24px 5px;
  border: solid 1px #8EC31F;
  border-radius: 4px;
}
.works-sort-wrap li a:hover {
  text-decoration: none;
  opacity: .7;
}
.works-sort-wrap li.current a {
  color: #fff;
  background-color: #8EC31F;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  /* nav */
  .works-sort-wrap {
    margin-bottom: 60px;
  }
  .works-sort-wrap.-position-bottom {
    margin-top: 100px;
  }
  .works-sort-wrap li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .works-sort-wrap li:last-child {
    margin-bottom: 0;
  }
  .works-sort-wrap li a {
    padding: 15px 20px;
  }
  .works-sort-wrap li a:hover {
    opacity: 1;
  }
}

/* list
============================================================ */
.section-list {
  margin-top: 100px;
}
.section-list:first-child {
  margin-top: 0;
}
.works-list-title {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  white-space: wrap;
  padding: 10px 16px 12px;
  border-radius: 3px;
  background: linear-gradient(to right, #ff0569 0%, #774d79 50%, #00a0e9 100%);
  display: inline-block;
  margin-bottom: 30px;
}
.works-list-item {
  display: flex;
  flex-wrap: wrap;
}
.works-list-item li {
  width: calc((100% - 25px * 2) / 3);
  margin-right: 25px;
}
.works-list-item li:nth-child(3n) {
  margin-right: 0;
}
.works-list-item li:nth-child(n + 4) {
  margin-top: 30px;
}
.works-list-item li a:hover {
  text-decoration: none;
  opacity: .7;
}
.works-list-item .img-wrap {
  height: 197px;
  margin-bottom: 10px;
}
.works-list-item .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}
.works-list-item .title {
  position: relative;
  display: inline;
  padding-right: 25px;
}
.works-list-item li a[target="_blank"] .title::after {
  content: "";
  position: absolute;
  bottom: 1px;
  right: 0;
  width: 16px;
  height: 16px;
  transition: all .2s ease-in-out;
  background: url(../img/common/icon-blank-pk.svg) 0 no-repeat;
  background-size: 16px;
  display: inline;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .works-list-title {
    font-size: 26px;
    line-height: 1.4;
  }
  .works-list-item li {
    width: calc((100% - 15px * 1) / 2);
    margin-right: 15px;
  }
  .works-list-item li:nth-child(3n),
  .works-list-item li:nth-child(2n) {
    margin-right: 15px;
  }
  .works-list-item li:nth-child(2n) {
    margin-right: 0;
  }
  .works-list-item li:nth-child(n + 4) {
    margin-top: 0;
  }
  .works-list-item li:nth-child(n + 3) {
    margin-top: 15px;
  }
  .works-list-item li a:hover {
    opacity: 1;
  }
  .works-list-item .img-wrap {
    height: 24.533vw;
    margin-bottom: 5px;
  }
  .works-list-item .title {
    font-size: 13px;
    letter-spacing: 0;
  }
}

/* detail
============================================================ */
.detail #lay-main {
  padding-bottom: 0;
}
.detail #lay-footer {
  border-top: none;
}
.detail .lay-breadcrumbs-list {
  position: static;
  text-align: right;
  margin-top: 20px;
}
.detail .lay-breadcrumbs-list ol {
  padding-right: 0;
}
.detail .lay-breadcrumbs-list li:last-child {
  padding-right: 0;
}
.detail .com-kv-wrap {
  height: auto;
  padding-top: 163px;
  padding-bottom: 53px;
  /* background-image: url(../img/works/item-img-1-10.jpg); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.detail .com-kv-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .6);
}
.detail .com-page-title-wrap {
  position: static;
  padding: 0 150px;
}
.detail .com-page-title-wrap .lange-ja {
  color: #fff;
  line-height: 1.5;
}
.detail .com-page-title-wrap .lange-ja {
  font-size: 60px;
  font-weight: bold;
  margin-top: 15px;
}

.detail-category-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: #fff;
  letter-spacing: 0;
}
.detail-works-name-en {
  font-size: 16px;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  margin-right: 15px;
}
.detail-works-name-ja {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-right: 15px;
  position: relative;
  padding-left: 15px;
}
.detail-works-name-ja::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 1px;
  height: 14px;
  background-color: #fff;
}
.detail-category-name {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1;
  padding: 6px 10px 8px;
  border-radius: 3px;
  /* background: linear-gradient(to right,  #ff0569 0%,#774d79 50%,#00a0e9 100%); */
  background-color: #000;
}

.detail-eye-catch-wrap {
  height: 400px;
  margin-bottom: 60px;
  text-align: center;
}
.detail-eye-catch-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

.detail-bottom-back-btn {
  background-color: #F2F7E9;
  text-align: center;
  padding: 50px 20px;
  margin-top: 100px;
}
.detail-bottom-back-btn .com-btn-base a {
  color: #8EC31F;
  padding-right: 0;
  padding-left: 50px;
}
.detail-bottom-back-btn .com-btn-base a::before {
  background-color: #8EC31F;
  left: 50px;
}
.detail-bottom-back-btn .com-btn-base a::after {
  right: auto;
  left: 0;
  background: url(../img/common/icon-com-btn-base-back.svg) 0 no-repeat;
  background-size: 30px;
}

.-works-edit .com-section-inner {
  max-width: calc(800px + 40px * 2);
  padding: 0 40px;
  box-sizing: border-box;
  margin: 0 auto;
}

.detail-bottom-btn {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.detail-bottom-btn:nth-child(n + 3) {
  margin-top: 20px;
}
.detail-bottom-btn a {
  font-weight: bold;
  color: #fff !important;
  line-height: 1.4;
  text-align: center;
  display: block;
  padding: 24px 50px;
  background-color: #8EC31F;
  border: solid 1px #8EC31F;
  border-radius: 4px;
  position: relative;
}
.detail-bottom-btn a:nth-child(n + 2) {
  margin-left: 20px;
}
.detail-bottom-btn a:hover {
  text-decoration: none;
  opacity: .7;
}

.detail-bottom-btn a[target="_blank"] span {
  padding-right: 33px;
  position: relative;
}
.detail-bottom-btn a[target="_blank"] span::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: url(../img/common/icon-blank-wh.svg) 0 0 no-repeat;
  background-size: 24px auto;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .detail .com-kv-wrap {
    padding-top: 105px;
    padding-bottom: 55px;
    background: url(../img/privacy-policy/category-kv-img-sp.jpg) center no-repeat;
    background-size: cover;
  }
  .detail .com-page-title-wrap {
    position: static;
    padding: 0 20px;
  }
  .detail .com-page-title-wrap .lange-en {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 1px;
    padding-right: 20px;
  }
  .detail .com-page-title-wrap .lange-ja {
    font-size: 26px;
    margin-top: 10px;
  }

  .detail-eye-catch-wrap {
    height: 50vw;
  }

  .-works-edit .com-section-inner {
    max-width: 100%;
    padding: 0 20px;
  }

  .detail-bottom-btn {
    display: block;
    margin-top: 60px;
  }
  .detail-bottom-btn a {
    width: 100%;
    padding: 24px 20px;
  }
  .detail-bottom-btn a:nth-child(n + 2) {
    margin-left: 0;
    margin-top: 15px;
  }
  .detail-bottom-btn a:hover {
    opacity: 1;
  }
  .detail-bottom-btn a[target="_blank"] span {
    display: inline-block;
  }
  .detail-bottom-btn a[target="_blank"] span::after {
    top: 50%;
    transform: translateY(-50%);
  }
}

@media screen and (max-width: 321px) {
  .detail-category-wrap {
    flex-wrap: wrap;
  }
}

/* hoge
============================================================ */
.hoge {
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .hoge {
  }
}


.editor-styles-wrapper .wp-block-gallery figure.wp-block-image:has(figcaption)::before {
  content: none !important;
}

.editor-styles-wrapper figure {
  margin: 0 0 60px;
}

.has-text-align-center {
  text-align: center;
}