@charset "UTF-8";
/*リセット*/
html, body, h1, h2, h3, h4, h5, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 10px;
  vertical-align: baseline;
  box-sizing: border-box;
  color: #121212;
}

article, header, aside, figure, figcaption, nav, section {
  display: block;
}

html {
  scroll-behavior: smooth;
  position: relative;
}

body {
  font-family: "Noto Sans JP", YakuHanJP, sans-serif, "游ゴシック体", YuGothic;
  line-height: 1;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
          text-size-adjust: 100%;
  animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
ol, ul {
  list-style: none;
  list-style-type: none;
}

a {
  color: #121212;
  text-decoration: none;
}

img {
  display: block;
}

p {
  line-height: 1.5em;
}

table {
  border-collapse: collapse;
}
@media (max-width: 599px) {
  table table {
    width: 100%;
  }
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.mainvis ul li img {
  width: 100%;
}

.works {
  margin: 160px 6.25% 0;
}
@media (max-width: 599px) {
  .works {
    margin: 120px 20px 0;
  }
}
.works h1 {
  font-size: 3.6rem;
  font-weight: 700;
  color: #4A2408;
  margin-bottom: 80px;
}
@media (max-width: 599px) {
  .works h1 {
    font-size: 2.4rem;
    margin-bottom: 60px;
  }
}
.works ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 599px) {
  .works ul {
    display: block;
  }
}
.works ul li {
  width: 32.14%;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .works ul li {
    width: 48%;
  }
}
@media (max-width: 599px) {
  .works ul li {
    width: auto;
  }
}
.works ul li img {
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
}
@media (max-width: 599px) {
  .works ul li img {
    cursor: auto;
  }
}
.works ul li h2 {
  font-size: 1.4rem;
  line-height: 1.3em;
  margin-top: 10px;
}

.modal_wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: 0.25s ease-out;
}
@media (max-width: 599px) {
  .modal_wrapper {
    display: none;
  }
}

.modal_wrapper.show {
  opacity: 1;
  pointer-events: all;
}

.modal_img {
  position: absolute;
  max-width: 40%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: 0.5s ease-out;
}

.modal_img.show {
  opacity: 1;
}/*# sourceMappingURL=style_works.css.map */