@charset "UTF-8";/*
*/
.section-works::before {
  /* content: ""; */
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100vw;
  height: 100%;
  background-color: var(--c-bg);
  z-index: -1;
  margin: 0 var(--m-fix);
}

.section-works .works-menu {
  list-style: none;
  display: flex;
  /* margin-bottom: 1em; */
  gap: 0.5rem;
}

.section-works .works-menu li {
  /* margin: 0 0.4em; */
}

.section-works .works-menu li a {
  background-color: #fff;
  display: block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: var(--f-s);
  border-radius: 2rem;
  line-height: 1.3;
}

.section-works .works-menu li a.current {
  background-color: var(--c-accent-light);
}

.section-works .detail {
  background-color: #EFEFEF;
  margin-bottom: 2em;
  padding: 3vw;
  display: flex;
  justify-content: space-between;
  border-radius: 0.3em;
  flex-wrap: wrap;
  position: relative;
  width: 100%;
  gap: 3vw;
}

.work_list .detail .work_date {
  flex-basis: 100%;
  font-size: max(2vw, 2em);
  text-stroke: 1px #9dda52;
  font-style: italic;
  line-height: 1;
  margin: -0.2em 0;
  color: #ccc;
}

.work_list .detail .text_box {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 1em;
}

.work_list .detail .text_box h5 {
  font-weight: 700;
  font-size: var(--f-m);
  margin-bottom: 1em;
  line-height: 1.5;
}

.work-card {
  padding: var(--m-r);
  padding-inline-end: clamp(1.8vmax, 3vw, 3rem); /*
  */
  border-radius: var(--m-xxs);
  background: #fff;
}

.work-card figure {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  grid-column: 1 / 6;
}

.work-card figure a {
  display: block;
  align-items: center;
  height: 100%;
}

.work-card figure a:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.1);
  opacity: 0.35;
  z-index: 0;
}

.work-card .column .work_cat li {
  background: var(--c-gray-light);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 3rem;
  line-height: 1;
  font-size: var(--f-xs);
}

.work-card figure img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-card .column {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  grid-column: 6 / -1;
}

.work-card .column h5 {
  margin-block: var(--m-m);}

.work-card .column .work_summary {
}

.outline .text_box {
  flex: 1;
}

.work_list .detail .text_box .summary {
  width: 100%;
  margin-bottom: 1em;
  border-top: 1px solid #ddd;
  font-size: var(--f-s);
}

.work_list .detail .text_box .summary .row {
  border-bottom: 1px solid #ddd;
  display: flex;
  padding: 0.5em 0;
}

.work_list .detail .text_box .summary .row dt {
  font-weight: bold;
  width: 23%;
  /* min-width: 8vw; */
}

.work_list .detail .text_box .summary .row dd {
  flex: 1;
}

.work_list .detail .text_box .summary .row dd a.gmap {
  font-size: 0.9em;
  color: var(--text-color);
}

.work_list .detail .text_box .work_cat {
  list-style: none;
  font-size: var(--f-xs);
  display: flex;
  margin: auto 1vw 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.work_list .detail .text_box .work_cat > li {
  font-size: var(--f-xxs);
  font-weight: bold;
  background: #000;
  color: #fff;
  padding: 0.3rem 0.4rem;
}

.work_list .detail .img {
  flex-basis: 50%;
  display: flex;
  align-items: start;
  margin-bottom: 1em;
  flex-direction: column;
  position: relative;
}

.work_list .detail .img figure {
  position: relative;
  width: 100%;
  height: auto;
}

.work_list .detail .img .arrow {
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;
  align-self: end;
  left: -20%;
  z-index: 3;
  top: -20%;
  transform: rotate(25deg);
}

.work_list .detail .img .arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-left: 30px solid #5bc8ac;
  border-bottom: 30px solid transparent;
}

.work_list .detail .img .arrow::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 10px;
  border: 0 solid transparent;
  border-bottom: 15px solid #5bc8ac;
  border-radius: 0 0 30px 0;
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
}

.work_list .detail .img figure:nth-of-type(1) {
  position: relative;
  z-index: 1;
  border-radius: 1em;
  padding-top: 80%;
}

.work_list .detail .img figure:nth-of-type(1) img {
  /* box-shadow: 3px 3px 15px 0px rgb(0 0 0 / 10%); */
}

.work_list .detail .img figure:nth-of-type(2) {
  margin-left: -0.3em;
  align-self: end;
  max-width: 60%;
  margin-right: -15%;
  margin-top: 15%;
  z-index: 1;
  padding-top: 50%;
}

.work_list .detail .img figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  border-radius: 0.3em;
}

.work_list .detail .img figure:nth-of-type(2):before img {
  width: 100%;
  height: auto;
}

.work_list .detail .img figure figcaption {
  line-height: 1;
  position: absolute;
  bottom: 3%;
  left: 3%;
  color: var(--color-neon);
  font-style: italic;
}

.work_list .detail .img figure:nth-of-type(2) figcaption {
  background-color: #9dda52;
  color: #fff;
}

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

@media screen and (max-width: 767px) {
  .section-works .works-menu {
    overflow-x: scroll;
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 1em;
  }

  .box::-webkit-scrollbar {
    display: none;
  }

  .section-works .works-menu li {
    margin-bottom: 0.6em;
    white-space: nowrap;
  }

  .section-works .detail {
    flex-direction: column;
  }

  .section-works .detail .img {
    flex-direction: column;
    width: 100%;
  }

  .section-works .detail .img figure:nth-of-type(2) {
    margin-right: initial;
  }
}
