@charset "UTF-8";
@import url("https://use.typekit.net/mnb2pin.css");
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-style: normal;
}

body {
  /* for iOS */
  -webkit-text-size-adjust: 100%;
}

img {
  /* for Chrome */
  -webkit-backface-visibility: hidden;
}

/***********************共通設定************************/
/* ホバーで下線が左に消える */
/*----------------------------------------------------
中央寄せ
----------------------------------------------------*/
/* 上下左右中央寄せ */
/* 上下中央寄せ */
/* 左右中央寄せ */
/*----------------------------------------------------
 レイアウト
----------------------------------------------------*/
#archiveWorks #works,
#archiveWorks #worksNav {
  /* 1366- */
}
@media all and (min-width: 1366px) {
  #archiveWorks #works .inner,
  #archiveWorks #works .innerTB,
  #archiveWorks #worksNav .inner,
  #archiveWorks #worksNav .innerTB {
    padding: 0;
    width: 1080px;
  }
}
@media screen and (min-width: 1446px) {
  #archiveWorks #works .inner,
  #archiveWorks #works .innerTB,
  #archiveWorks #worksNav .inner,
  #archiveWorks #worksNav .innerTB {
    padding: 0;
    width: 1366px;
  }
}

#works {
  margin-bottom: 50px;
}

/*----------------------------------------------------
 トップ
----------------------------------------------------*/
.top_content {
  /* 768- */
}
@media all and (min-width: 768px) {
  .top_content {
    background: url(../images/works/header_bg_pc.jpg) no-repeat;
    background-size: cover;
  }
}

/*----------------------------------------------------
 ヘッダーメニュー
----------------------------------------------------*/
#worksNav {
  padding: 60px 0 40px;
  /* 768- */
}
@media all and (min-width: 768px) {
  #worksNav {
    padding: 120px 0 50px;
  }
}
#worksNav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  /* 768- */
}
@media all and (min-width: 768px) {
  #worksNav ul {
    gap: 30px;
  }
}
#worksNav ul a {
  position: relative;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  color: #D1D1D1;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 600;
  /* 768- */
}
@media all and (min-width: 768px) {
  #worksNav ul a {
    font-size: 18px;
  }
}
#worksNav ul a.current {
  color: #393939;
  padding-left: 15px;
  /* 768- */
}
@media all and (min-width: 768px) {
  #worksNav ul a.current {
    padding-left: 22px;
  }
}
#worksNav ul a.current::before {
  position: absolute;
  left: 0;
  top: 5px;
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  background-color: #388CD5;
  border-radius: 50%;
  /* 768- */
}
@media all and (min-width: 768px) {
  #worksNav ul a.current::before {
    top: 6px;
    width: 12px;
    height: 12px;
  }
}

/*----------------------------------------------------
 一覧
----------------------------------------------------*/
#workslist {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 36px;
  /* 768- */
}
@media all and (min-width: 768px) {
  #workslist {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 80px 20px;
  }
}
#workslist > li {
  opacity: 0;
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  /* 768- */
}
#workslist > li.scroll_active {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}
#workslist > li:first-child {
  /* 768- */
  /* 1136- */
}
@media all and (min-width: 768px) {
  #workslist > li:first-child {
    width: 100%;
  }
  #workslist > li:first-child a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  #workslist > li:first-child a .thumbnail {
    position: relative;
    z-index: 0;
    width: 65%;
    /* 1136- */
  }
}
@media all and (min-width: 768px) and (min-width: 1136px) {
  #workslist > li:first-child a .thumbnail::before {
    display: block;
    content: "";
    position: absolute;
    z-index: -1;
    top: 2%;
    right: 0;
    background-image: url(../images/service/recent.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 41%;
    height: 42%;
    -webkit-transform: translate(0) rotate(-10deg);
            transform: translate(0) rotate(-10deg);
  }
}
@media all and (min-width: 768px) {
  #workslist > li:first-child a .detail {
    width: 30%;
  }
  #workslist > li:first-child a .detail .w_title {
    font-size: 21px;
  }
  #workslist > li:first-child a .detail .text {
    color: #393939;
    font-size: 14px;
    margin: 26px 0 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
@media all and (min-width: 1136px) {
  #workslist > li:first-child.scroll_active .thumbnail::before {
    -webkit-animation: 1s ease-in-out 1s forwards appear_recent;
            animation: 1s ease-in-out 1s forwards appear_recent;
  }
  @-webkit-keyframes appear_recent {
    0% {
      -webkit-transform: translate(0) rotate(-10deg);
              transform: translate(0) rotate(-10deg);
    }
    100% {
      -webkit-transform: translateX(100%) rotate(0);
              transform: translateX(100%) rotate(0);
    }
  }
  @keyframes appear_recent {
    0% {
      -webkit-transform: translate(0) rotate(-10deg);
              transform: translate(0) rotate(-10deg);
    }
    100% {
      -webkit-transform: translateX(100%) rotate(0);
              transform: translateX(100%) rotate(0);
    }
  }
}
#workslist > li:not(:first-child) {
  /* 768- */
  /* 1136- */
}
@media all and (min-width: 768px) {
  #workslist > li:not(:first-child) {
    width: calc((100% - 20px) / 2);
  }
  #workslist > li:not(:first-child):nth-child(2n+1) {
    -webkit-transition-delay: 0.3s;
            transition-delay: 0.3s;
  }
}
@media all and (min-width: 1136px) {
  #workslist > li:not(:first-child) {
    width: calc((100% - 40px) / 3);
  }
  #workslist > li:not(:first-child):nth-child(2n+1) {
    -webkit-transition-delay: 0s;
            transition-delay: 0s;
  }
  #workslist > li:not(:first-child):nth-child(3n) {
    -webkit-transition-delay: 0.3s;
            transition-delay: 0.3s;
  }
  #workslist > li:not(:first-child):nth-child(3n+1) {
    -webkit-transition-delay: 0.6s;
            transition-delay: 0.6s;
  }
}
#workslist > li .detail {
  margin-top: 15px;
}
#workslist > li .detail .w_title {
  font-size: 15px;
  line-height: 1.5;
  color: #393939;
  /* 768- */
}
@media all and (min-width: 768px) {
  #workslist > li .detail .w_title {
    font-size: 16px;
  }
}
#workslist > li .detail .text {
  display: none;
}
#workslist > li .detail .tags {
  margin-top: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 5px 10px;
  /* 768- */
}
@media all and (min-width: 768px) {
  #workslist > li .detail .tags {
    margin-top: 10px;
    gap: 9px 10px;
  }
}
#workslist > li .detail .tags li {
  font-size: 11px;
  color: #838383;
  line-height: 1;
  /* 768- */
}
@media all and (min-width: 768px) {
  #workslist > li .detail .tags li {
    font-size: 12px;
  }
}
#workslist > li .thumbnail_wrap {
  overflow: hidden;
}
#workslist > li .thumbnail_wrap img {
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
@media (min-width: 768px) and (hover: hover) {
  #workslist > li:hover .thumbnail img {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}