#mainvis {
  background-image: url("../img/works/mv.jpg");
  margin-bottom: 0;
}

.label {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00469b;
}

#mf-list select {
  width: 298px;
  height: 38px;
  margin-bottom: 30px;
  font-family: inherit;
}
#mf-list option {
  font-family: inherit;
}
#mf-list .clist {
  margin: 0 -30px 66px 0;
}
#mf-list .cbox {
  width: calc((100% - 90px) / 3);
  margin: 0 30px 30px 0;
  background-color: #f3f4f5;
}
#mf-list .cbox .cbox-inner {
  display: flex;
  flex-direction: column;
  padding: 0 30px 26px;
}
#mf-list .cbox .cimg {
  position: relative;
  padding-bottom: 64.71%;
  background-color: #fff;
  background-size: cover;
  background-position: center center;
  margin: 0 -30px 30px;
}
#mf-list .cbox .label {
  font-size: 0.88rem;
  min-width: 120px;
  position: absolute;
  left: 0;
  top: 0;
  height: 2.14em;
  padding: 0 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0.15em;
}
#mf-list .cbox .date {
  font-size: 0.88rem;
  line-height: 1em;
  margin-bottom: 16px;
}
#mf-list .cbox .ttl {
  line-height: 1.5em;
  height: 3em;
  flex-grow: 1;
  margin-bottom: 50px;
}
#mf-list .cbox a {
  display: block;
  text-align: right;
  font-size: 0.88rem;
  line-height: 1em;
  padding-right: 31px;
  background: url("../img/works/pager.png") right center/23px no-repeat;
}

#mf-single .ws {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
}
#mf-single .meta {
  margin-bottom: 2.44rem;
}
#mf-single .label {
  font-size: 1.46rem;
  height: 50px;
  padding: 0 2.06rem 0.2em;
  margin-right: 1.13rem;
}
#mf-single .date {
  font-size: 1.13rem;
  display: inline-block;
  padding-bottom: 0.2em;
}
#mf-single .bg {
  background-color: #f3f4f5;
  padding: 40px;
  margin-bottom: 109px;
}
#mf-single h2 {
  font-size: 1.5rem;
  line-height: 1.25em;
  margin-bottom: 1.08em;
}
#mf-single .txt {
  line-height: 1.75em;
  margin-bottom: 5rem;
}
#mf-single .cimg {
  margin-bottom: 1.88rem;
  text-align: center;
}
#mf-single .cimg img {
  max-width: 100%;
}

#workslider {
  width: 100%;
  position: relative;
}
#workslider .swiper-wrapper {
  margin-bottom: 10px;
}
#workslider .swiper-slide img {
  width: 100%;
}
#workslider .pager-p, #workslider .pager-n {
  display: block;
  position: absolute;
  top: 199px;
  width: 23px;
  height: 40px;
  background: url("../img/works/pager-r.png") center/contain no-repeat;
  z-index: 5;
}
#workslider .pager-p {
  transform: scaleX(-1);
  left: 20px;
}
#workslider .pager-n {
  right: 20px;
}
#workslider .w-pagination {
  display: flex;
  margin: 0 -4px 20px;
  width: auto;
}
#workslider .pagination {
  margin: 0 4px;
}
#workslider .pagination img {
  width: 100%;
}
#workslider .pagination.current {
  position: relative;
}
#workslider .pagination.current:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

#mf-links {
  padding-bottom: 100px;
}
#mf-links .nv {
  font-size: 1.38rem;
  font-weight: 900;
  margin-bottom: 2rem;
  color: #00469b;
}
#mf-links .clist {
  justify-content: space-between;
}
#mf-links .cbox {
  width: 48.15%;
}
#mf-links ul {
  background-color: #f3f4f5;
  padding: 39px;
}
#mf-links li {
  border-bottom: dashed 1px #3f4344;
}

#links1 a {
  line-height: 3.13em;
  padding-left: 0.5em;
}

#links2 li {
  position: relative;
  padding: 8px 0 0 111px;
  min-height: 83px;
}
#links2 .img {
  position: absolute;
  left: 0;
  top: 8px;
  width: 90px;
  height: 60px;
  background-size: cover;
  background-position: center center;
  background-color: #fff;
  margin-right: 1.31rem;
}
#links2 .date {
  font-size: 0.88rem;
  line-height: 1em;
  margin-bottom: 8px;
}
#links2 a {
  line-height: 1.19em;
  display: block;
  margin-bottom: 12px;
}


#mf-single .txt h2{
	margin:0 0 20px 0;
	background:#00469b;
	color:#fff;
	font-size:1.3em;
	line-height:1.5em;
	font-weight:bold;
	padding:10px 20px;
}

#mf-single .txt h3{
	margin:0 0 20px 0;
	color:#00469b;
	font-size:1.3em;
	line-height:1.5em;
	font-weight:bold;
	border-bottom:3px double #00469b;
	padding:5px 10px;
}

#mf-single .txt h4{
	margin:0 0 20px 0;
	padding:0 0 0 10px;
	color:#00469b;
	font-size:1.2em;
	line-height:1.5em;
	font-weight:bold;
	border-left:5px solid #00469b;

}

#mf-single .txt p{
	margin:0 0 20px 0;
}





@media screen and (max-width: 850px) {
  #mainvis {
    background-image: url("../img/works/mvs.jpg");
  }

  #mf-list select {
    width: auto;
    height: 1.5em;
    margin-bottom: 1em;
  }
  #mf-list .clist {
    margin: 0 0 2rem;
  }
  #mf-list .cbox {
    width: 100%;
    margin: 0 0 1rem 0;
  }
  #mf-list .cbox .cbox-inner {
    display: block;
    padding: 0 4vw 3.47vw;
  }
  #mf-list .cbox .cimg {
    margin: 0 -4vw 4vw;
  }
  #mf-list .cbox .label {
    min-width: 8em;
    padding: 0 0.8em;
  }
  #mf-list .cbox .date {
    margin-bottom: 1em;
  }
  #mf-list .cbox .ttl {
    height: auto;
    margin-bottom: 6.67vw;
  }
  #mf-list .cbox a {
    padding-right: 4.13vw;
    background-size: 3.07vw;
  }

  #mf-single .ws {
    width: auto;
  }
  #mf-single .meta {
    margin-bottom: 1.5rem;
  }
  #mf-single .label {
    font-size: 1rem;
    height: 6.67vw;
  }
  #mf-single .bg {
    padding: 4vw;
    margin-bottom: 13.33vw;
  }
  #mf-single h2 {
    font-size: 1.25rem;
  }
  #mf-single .txt {
    margin-bottom: 4rem;
  }

  #workslider .swiper-wrapper {
    margin-bottom: 1.33vw;
  }
  #workslider .pager-p, #workslider .pager-n {
    top: 26.53vw;
    width: 3.07vw;
    height: 5.33vw;
  }
  #workslider .pager-p {
    left: 2.67vw;
  }
  #workslider .pager-n {
    right: 2.67vw;
  }
  #workslider .w-pagination {
    margin: 0 -4px 20px;
    width: auto;
  }
  #workslider .pagination {
    margin: 0 4px;
  }
  #workslider .pagination img {
    width: 100%;
  }
  #workslider .pagination.current {
    position: relative;
  }
  #workslider .pagination.current:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
  }

  #mf-links {
    padding-bottom: 13.33vw;
  }
  #mf-links .nv {
    margin-bottom: 1rem;
  }
  #mf-links .cbox {
    width: 100%;
    margin-bottom: 2rem;
  }
  #mf-links ul {
    padding: 4vw;
  }

  #links2 li {
    padding: 2.13vw 0 0 25.33vw;
    min-height: 20.8vw;
  }
  #links2 .img {
    top: 2.13vw;
    width: 24vw;
    height: 16vw;
    margin-right: 1.31rem;
  }
  #links2 .date {
    margin-bottom: 0.5rem;
  }
  #links2 a {
    margin-bottom: 1.6vw;
  }
}
