@charset "utf-8";
/* ************************************************************************
* 
*   works.css
*
************************************************************************ */

@media screen and (min-width: 769px) {

  /* -- worksDetail -- */
  a {
    color: var(--white);
  }

  header {
    position: fixed;
  }

  .worksbox-pc {
    display: block;
  }

  .worksbox-sp {
    display: none;
  }

  .worksbox {
    position: fixed;
    bottom: 24px;
    width: 15vw;
    height: 59vh;
    overflow-y: scroll;
    scrollbar-width: none;
  }

  .worksbox a {
    opacity: 0.3;
    text-decoration: none;
    position: relative;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    padding: 2px 0;
    transition: opacity 0.1s ease-in-out;
  }

  .worksbox a::before {
    content: "/";
    color: inherit;
    margin: 0 8px 0 0;
  }

  .worksbox a:hover {
    opacity: 1;
  }

  .worksbox a.current {
    opacity: 1;
  }

  .worksbox a.current::before {
    content: "";
    margin: 0;
  }

  .worksbox li:nth-last-child(2) {
    margin: 0 0 80px;
  }

  .worksbox li:last-child {
    position: fixed;
    bottom: 8px;
    width: 15vw;
  }

  .worksbox li:last-child img {
    width: 100%;
  }

  .scroll {
    position: fixed;
    bottom: 24px;
  }

  .wrap {
    grid-row: 1;
    grid-column: 9 / 24;
  }

  .wrap img {
    width: 100%;
  }

  .wrap .credit {
    border-top: solid 0.1px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 36vh 0 16px;
    padding: 16px 0 0;
  }

  .wrap .credit h3 {
    margin: 0 0 200px;
  }

  .wrap .credit h3:before {
    content: "⚫︎";
    margin: 0 8px 0 0;
  }

  .wrap .credit ul {
    display: flex;
    flex-wrap: wrap;
  }

  .wrap .credit li {
    margin: 0 8px 0 0;
  }

  .wrap .credit li:after {
    content: ",";
  }

  .wrap .credit li:last-child:after {
    content: none;
  }

  .wrap .summary {
    margin: 160px 0 0;
  }

  .wrap .summary .about,
  .wrap .summary .background,
  .wrap .summary .target,
  .wrap .summary .aim,
  .wrap .summary .color,
  .wrap .summary .font,
  .wrap .summary .tool,
  .wrap .summary .staff {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr) 24px) 1fr;
    margin: 0 0 160px;
  }

  .wrap .summary .about h3,
  .wrap .summary .background h3,
  .wrap .summary .target h3,
  .wrap .summary .aim h3,
  .wrap .summary .color h3,
  .wrap .summary .font h3,
  .wrap .summary .tool h3,
  .wrap .summary .staff h3 {
    grid-column: 1 / 4;
  }

  .wrap .summary .about .summaryInner,
  .wrap .summary .background .summaryInner,
  .wrap .summary .target .summaryInner,
  .wrap .summary .aim .summaryInner,
  .wrap .summary .color .summaryInner,
  .wrap .summary .font .summaryInner,
  .wrap .summary .tool .summaryInner,
  .wrap .summary .staff .summaryInner {
    grid-column: 5 / 16;
    text-align: justify;
  }

  .wrap .summary .summaryInner h4 {
    margin: 0 0 8px;
  }

  .wrap .summary .summaryInner figure {
    margin: 64px 0;
  }

  .wrap .summary .summaryInner .colorChip,
  .wrap .summary .summaryInner .toolList {
    display: flex;
    flex-wrap: wrap;
  }

  .wrap .summary .summaryInner .colorChip li,
  .wrap .summary .summaryInner .toolList li {
    padding: 0 4px;
  }

  .wrap .summary .summaryInner .colorChip li:after,
  .wrap .summary .summaryInner .toolList li:after {
    content: ",";
  }

  .wrap .summary .summaryInner .colorChip li:last-child:after,
  .wrap .summary .summaryInner .toolList li:last-child:after {
    content: none;
  }

  .wrap .summary .summaryInner .colorChip .txtBlack,
  .wrap .summary .summaryInner .toolList .txtBlack {
    color: var(--black);
  }

  .wrap .summary .summaryInner dl {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr) 24px) 1fr;
    margin: 0 0 40px;
  }

  .wrap .summary .summaryInner dl dt {
    grid-column: 1 / 4;
  }

  .wrap .summary .summaryInner dl dd {
    grid-column: 5 / 10;
  }

  .wrap .imgList li {
    margin: 0 0 20px;
  }

  .wrap .imgList video {
    width: 100%;
    margin: 10px 0 0;
  }
}

/* -------------- SP View -------------- */

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

  /* -- SP worksDetail -- */
  header {
    position: fixed;
  }

  .worksbox-pc {
    display: none;
  }

  .worksbox-sp {
    display: block;
  }

  .worksbox {
    margin: 200px 0 0;
    width: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
  }

  .worksbox a {
    opacity: 0.3;
    text-decoration: none;
    position: relative;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    padding: 2px 0;
    transition: opacity 0.1s ease-in-out;
  }

  .worksbox a::before {
    content: "/";
    color: inherit;
    margin: 0 8px 0 0;
  }

  .worksbox a:hover {
    opacity: 1;
  }

  .worksbox a.current {
    opacity: 1;
  }

  .worksbox a.current::before {
    content: "";
    margin: 0;
  }

  .worksbox li:last-child {
    display: none;
  }

  .scroll {
    display: none;
  }

  .wrap {
    grid-row: 1;
    grid-column: 9 / 24;
  }

  .wrap img {
    width: 100%;
  }

  .wrap .credit {
    border-top: solid 0.1px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 36vh 0 16px;
    padding: 16px 0 0;
  }

  .wrap .credit h3 {
    margin: 0 0 80px;
  }

  .wrap .credit h3:before {
    content: "⚫︎";
    margin: 0 8px 0 0;
  }

  .wrap .credit ul {
    display: flex;
    flex-wrap: wrap;
  }

  .wrap .credit li {
    margin: 0 8px 0 0;
  }

  .wrap .credit li:after {
    content: ",";
  }

  .wrap .credit li:last-child:after {
    content: none;
  }

  .wrap .summary {
    margin: 80px 0 0;
  }

  .wrap .summary .about,
  .wrap .summary .background,
  .wrap .summary .target,
  .wrap .summary .aim,
  .wrap .summary .color,
  .wrap .summary .font,
  .wrap .summary .tool,
  .wrap .summary .staff {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr) 24px) 1fr;
    margin: 0 0 80px;
  }

  .wrap .summary .about h3,
  .wrap .summary .background h3,
  .wrap .summary .target h3,
  .wrap .summary .aim h3,
  .wrap .summary .color h3,
  .wrap .summary .font h3,
  .wrap .summary .tool h3,
  .wrap .summary .staff h3 {
    grid-column: 1 / 4;
  }

  .wrap .summary .about .summaryInner,
  .wrap .summary .background .summaryInner,
  .wrap .summary .target .summaryInner,
  .wrap .summary .aim .summaryInner,
  .wrap .summary .color .summaryInner,
  .wrap .summary .font .summaryInner,
  .wrap .summary .tool .summaryInner,
  .wrap .summary .staff .summaryInner {
    grid-column: 5 / 16;
    text-align: justify;
  }

  .wrap .summary .summaryInner h4 {
    margin: 0 0 8px;
  }

  .wrap .summary .summaryInner figure {
    margin: 64px 0;
  }

  .wrap .summary .summaryInner .colorChip,
  .wrap .summary .summaryInner .toolList {
    display: flex;
    flex-wrap: wrap;
  }

  .wrap .summary .summaryInner .colorChip li,
  .wrap .summary .summaryInner .toolList li {
    padding: 0 4px;
  }

  .wrap .summary .summaryInner .colorChip li:after,
  .wrap .summary .summaryInner .toolList li:after {
    content: ",";
  }

  .wrap .summary .summaryInner .colorChip li:last-child:after,
  .wrap .summary .summaryInner .toolList li:last-child:after {
    content: none;
  }

  .wrap .summary .summaryInner .colorChip .txtBlack,
  .wrap .summary .summaryInner .toolList .txtBlack {
    color: var(--black);
  }

  .wrap .summary .summaryInner dl {
    margin: 0 0 40px;
  }

  .wrap .summary .summaryInner dl dt {
    grid-column: 1 / 4;
  }

  .wrap .summary .summaryInner dl dd {
    grid-column: 5 / 10;
  }

  .wrap .imgList li {
    margin: 0 0 20px;
  }

  .wrap .imgList video {
    width: 100%;
    margin: 10px 0 0;
  }
}
