@charset "utf-8";
/* ===================================================================

 file name :works.css
 style info :実例一覧ページ


=================================================================== */

/* =============================

	overwrite

=============================== */
#wrapper {
  padding-top: 0;
}
#header {
  background: none;
}

/* =================================== */
#main {
  padding: 60px 0 70px;
}
@media screen and (min-width: 768px) {
  #main {
    padding: 60px 0 130px;
  }
}

#main .lead {
  margin-bottom: 50px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  #main .lead {
    margin-bottom: 60px;
  }
}

/*
  snav
---------------------------*/
#main .snav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
#main .snav__item {
  width: 49%;
}
#main .snav__item a {
  display: block;
  padding-block: 0.5em;
  color: #fff;
  border: solid 1px #595959;
  text-align: center;
  font-size: 1.3rem;
  position: relative;
}

#main .snav__item a::before {
  content: '';
  display: block;
  width: 6px;
  height: 14px;
  background: #fff;
  -webkit-mask: url(/kodate/designoffice/chubu/gifu/common/img/ico_arrow.svg) no-repeat 50% 50% / contain;
  mask: url(/kodate/designoffice/chubu/gifu/common/img/ico_arrow.svg) no-repeat 50% 50% / contain;
  transform: rotate(90deg);
  position: absolute;
  top: calc(50% - 7px);
  right: 10px;
}
#main .snav__item.is-active a {
  background: #d0d0d0;
  color: #242424;
  border: solid 1px #d0d0d0;
}
#main .snav__item.is-active a::before {
  background: #000;
}
@media screen and (min-width: 768px) {
  #main .snav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
  }
  #main .snav__item {
    width: 49%;
  }
  #main .snav__item a {
    padding-block: 0.8em;
    font-size: 1.8rem;
  }

  #main .snav__item a::before {
    width: 10px;
    height: 20px;
    top: calc(50% - 10px);
    right: 20px;
  }
  #main .snav__item a:hover {
    background: #d0d0d0;
    color: #242424;
    border: solid 1px #d0d0d0;
    cursor: pointer;
  }
  #main .snav__item a:hover::before {
    background: #000;
  }
}

/*
  works-list
---------------------------*/

#main .works-list {
  display: flex;
  flex-direction: column;
  gap: 4px 0;
}
#main .works-list li a {
  display: block;
  overflow: hidden;
  position: relative;
}
#main .works-list li a::after {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  background: url('/kodate/designoffice/chubu/gifu/common/img/ico_plus.svg') no-repeat 50% 50% / 100% auto;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10;
}
#main .works-list li figure {
  width: 200%;
  margin-block: -25%;
}
#main .works-list li figure img {
  width: 100%;
  height: auto;
  transform: translateX(-25%);
}
#main .works-list li figcaption {
  position: absolute;
  bottom: 0.4em;
  left: 1em;
  color: #fff;
  font-size: 1rem;
  z-index: 10;
}
#main .tab-contents {
  position: relative;
}
#main .tab-contents-block {
  width: 100%;
  position: absolute;
  top: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
#main .tab-contents-block.is-active {
  position: relative;
  z-index: 10;
  opacity: 1;
}

@media screen and (min-width: 768px) {
  #main {
    padding: 100px 0 126px;
  }
  #main .works-list {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.195vw 0;
  }
  #main .works-list li {
    width: 33.2%;
  }
  #main .works-list li a::after {
    width: 35px;
    height: 35px;
  }
  #main .works-list li figure {
    width: 100%;
    margin-block: 0;
  }
  #main .works-list li figure img {
    width: 100%;
    height: auto;
    transform: none;
    transition: transform ease 0.4s;
  }
  #main .works-list a:hover figure img {
    transform: scale(120%);
  }
  #main .works-list li figcaption {
    font-size: 1.4rem;
  }
}
