@charset "UTF-8";

/* ========================================
   @media screen and (min-width: 768px),print
======================================== */
@media screen and (min-width: 768px), print {
  #works .system-list {
    display: grid;
    gap: 33px 40px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 40px;
    margin-inline: auto;
    width: min(95%, 1050px);
  }

  #works .system-pic img {
    height: 240px;
    width: 100%;
  }

  #works .system-category {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    margin-bottom: 0;
  }

  #works .system-category span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.6;
    padding: 3px 8px;
    width: -moz-fit-content;
    width: fit-content;
  }

  #works .system-category span.cate01 {
    background: #181c62;
  }

  #works .system-category span.cate02 {
    background: #186253;
  }

  #works .system-category span.cate03 {
    background: #34979c;
  }

  #works .works-area {
    color: #707070;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 2.1428571429;
    margin-bottom: 0;
  }

  #works .system-ttl-01 {
    color: #040404;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.9333333333;
  }

  #works .cate-list {
    margin-bottom: 40px;
  }

  #works .cate-list span a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.5714285714;
    padding: 4px 8px;
    width: -moz-fit-content;
    width: fit-content;
  }

  #works .cate-list span.cate01 a {
    background: #181c62;
  }

  #works .cate-list span.cate02 a {
    background: #186253;
  }

  #works .cate-list span.cate03 a {
    background: #34979c;
  }

  /* =================================================
  詳細ページ (is-single) 
================================================= */
  #works main.is-single {
  }

  #works main.is-single .works-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    margin-bottom: 40px;
  }
}

/* ========================================
   @media screen and (max-width: 767px)
======================================== */
@media screen and (max-width: 767px) {
  #works .system-list {
    display: grid;
    gap: 6.039vw 5.314vw;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10.145vw;
    margin-inline: auto;
    width: min(95%, 89.3vw);
  }

  #works .system-pic img {
    height: 29.952vw;
    width: 100%;
  }

  #works .system-category {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.966vw;
    margin-bottom: 0;
  }

  #works .system-category span {
    color: #ffffff;
    font-size: 3.382vw;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.5714285714;
    padding: 0px 1.449vw;
    width: -moz-fit-content;
    width: fit-content;
  }

  #works .system-category span.cate01 {
    background: #181c62;
  }

  #works .system-category span.cate02 {
    background: #186253;
  }

  #works .system-category span.cate03 {
    background: #34979c;
  }

  #works .cate-list {
    margin-bottom: 10.145vw;
  }

  #works .cate-list span a {
    color: #ffffff;
    font-size: 3.382vw;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.5714285714;
    padding: 0.5vw 1.5vw;
    width: -moz-fit-content;
    width: fit-content;
  }

  #works .cate-list span.cate01 a {
    background: #181c62;
  }

  #works .cate-list span.cate02 a {
    background: #186253;
  }

  #works .cate-list span.cate03 a {
    background: #34979c;
  }

  /* =================================================
  詳細ページ (is-single) 
================================================= */
  #works main.is-single {
  }

  #works main.is-single .works-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0 3.865vw;
    margin-bottom: 4vw;
  }
}
