@charset "utf-8";
/*--------------------------------
 * 事例記事ページ
 * ---------------------------- */
 .mainSection header {
  border-bottom: none !important;
 }

 .section .section-header .section-title {
    margin: 0;
}
.section .section-header .section-title .title {
    display: block;
}
.section .section-header .section-title .title img {
    vertical-align: text-top;
}
.section .section-header .section-title .title-description {
    background-position: left center;
    background-repeat: no-repeat;
    border-left: 1px solid #b3b3b3;
    display: block;
    float: left;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 0 16px;
    padding: 0 0 0 16px;
}

.entry-case .section-title2 {
	font-size: 16px;
	line-height: 1.4;
	padding: 3px 15px;
	display: inline-block;
	font-weight: normal;
    background: #000;
    color: #fff;
    margin-right: 5px;
}
.entry-case .section-title2:last-of-type {
    margin-right: 0;
}
.entry-case .section-title2.all {
	background-color: #0074b8;
}
.entry-case .section-title2.kyosho {
	background-color: #588dc0;
}
.entry-case .section-title2.nisetai {
	background-color: #b982b6;
}
.entry-case .section-title2.chikashitsu {
	background-color: #f8b800;
}
.entry-case .section-title2.okujyo {
	background-color: #f097aa;
}
.entry-case .section-title2.sankai,
.entry-case .section-title2.yonkai {
	background-color: #71ba48;
}
.entry-case .section-title2.lifestyle {
	background-color: #0fa687;
}
.entry-case .section-title2.ob {
	background-color: #736357;
}
.entry-case .lead {
	font-size: 30px;
	line-height: 1.4;
    padding: 0;
    margin: 5px 20px 30px 0;
}

#case-gallery {
  margin: 0 0 40px;
  position: relative;
}
#case-gallery #thumbnail {
  margin: 0;
  padding: 0;
  width: 22%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#case-gallery #thumbnail li {
  width: 48%;
  list-style: outside none none;
  background-color: #000;
  margin-bottom: 10px;
}
#case-gallery #thumbnail li a {
  position: relative;
  display: block;
  height: 0;
  width: 100%;
  padding-bottom: 100%;
  opacity: 0.5;
  overflow: hidden;
}
#case-gallery #thumbnail li a img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#case-gallery #thumbnail li:nth-child(2n) {
  margin-right: 0;
}
#case-gallery #thumbnail li.current img {
  opacity: 1;
}
#case-gallery #thumbnail li.current a {
  opacity: 1;
}
#case-gallery .photo_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
#case-gallery #main_photo {
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 76%;
}
#case-gallery #main_photo img {
  max-width: 100%;
  max-height: 100%;
}
#case-gallery #caption {
  padding: 1em 0 0;
  margin: 0;
}
#case-gallery #state {
  border-bottom: 1px solid #ccc;
  margin: 0;
  padding: 0 0 2em;
}
.yt_mv {
    margin-bottom: 50px;
}

.story-box {
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 0;
}
.story-box .text {
  flex: 2;
}
.story-box h1 {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 20px;
  padding: 0;
}
.story-box p {
  line-height: 1.4;
  margin: 0;
}
.story-box .story-thumb {
  width: 255px;
  margin: 0 50px 0 0;
}
.story-box:nth-child(odd) .story-thumb {
  order: 2;
  margin: 0 0 0 50px;
}
.story-box:first-child {
  border-top: medium none;
}

.case-more {
  position: relative;
  margin: 50px 0;
}
.case-more .tit {
  font-size: 1.3em;
  margin-bottom: 20px;
}
.case-more .flex {
  justify-content: center;
  margin-bottom: 20px;
}
.case-more .flex a + a {
  margin-left: 10px;
}

.sw-tags {
  display: flex;
    flex-wrap: wrap;
    max-width: 570px;
    border: 1px solid;
    padding: 1.5em .4em 1.5em 1.5em;
    margin: 4em auto 3em;
}
.sw-tags .ts_title {
  font-size: 1.1em;
  font-weight: bold;
  padding-right: .8em;
}
.sw-tags ul,
.sw-tags li {
  margin: 0;
  padding: 0;
}
.sw-tags ul {
  display: flex;
  flex-wrap: wrap;
}
.sw-tags ul li {
  list-style: none;
  padding: 0 .5em;
}

.sw-custom-pager {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 5em;
    margin-bottom: 2em;
}
.sw-custom-pager li {
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.sw-custom-pager li + li {
  border-left: solid 1px #ccc;
  padding-left: 2.5em;
  margin-left: 2.5em;
}
.sw-custom-pager li img, .sw-custom-pager li .ltitle {
  width: 200px;
}
.sw-custom-pager li .ltitle {
  font-size: 1.07em;
  margin: .8rem 0 0;
}
.sw-custom-pager li a {
  display: block;
  text-align: center;
  background-repeat: no-repeat;
  background-size: 27px 28px;
}
.sw-custom-pager li.prev a {
  background-image: url(../images/case/arrow-left_b.png);
  background-position: left 90px;
  padding-left: 50px;
}
.sw-custom-pager li.next a {
  background-image: url(../images/case/arrow-right_b.png);
  background-position: right 90px;
  padding-right: 50px;
}
.single-etc-works {
  margin-top: 4em;
}
.single-etc-works .ew_title {
  font-size: 1.25em;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.1em;
  background-color: #B48C52;
  padding: 1.5em 1em 1.25em;
  margin-bottom: 1rem;
}
.single-etc-works ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.single-etc-works li {
  width: 24.5%;
  margin-bottom: 1.5rem;
}
.single-etc-works li a {
  display: block;
}
.single-etc-works li img {
  width: 100%;
  margin-bottom: .8rem;
}
.single-etc-works li p {
  text-align: center;
  line-height: 1.6em;
  margin-bottom: 0;
}
@media (max-width: 991px) {
  #case-gallery #thumbnail {
    width: 33%;
  }
  #case-gallery #main_photo {
    width: 64%;
  }
}

@media (max-width: 768px) {
  #case-gallery #thumbnail,
  #case-gallery #main_photo {
    width: 100%;
  }
  #case-gallery #thumbnail {
    margin-top: 20px;
  }
  #case-gallery #thumbnail li {
    width: 23.5%;
  }
  .single-etc-works li {
    width: 49.5%;
  }
  .case-more .flex a {
    width: 85%;
  }
  .case-more .flex a + a {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 650px) {
  .mainSection {
    padding-top: 50px;
  }
  
  .entry-case .lead {
    font-size: 1.3em;
  }

  .section-title .title img {
    width: 140px;
  }
  .story-box {
    padding: 20px 0;
  }
  .story-box .text,
  .story-box .story-thumb {
    width: 100%;
  }
  .story-box .story-thumb,
  .story-box:nth-child(odd) .story-thumb {
    order: 0;
    margin: 0 0 10px;
  }
  .story-box .story-thumb img {
    width: 100%;
  }
  .story-box h1 {
    font-size: 1.2em;
    margin-bottom: 10px;
  }
}


/* 追加CSS */

/* slide-box */

.slide-box {
    position: relative;
    margin: 0;
    padding: 0;
  }
  
  /* slide */
  
  .slide {
    position: relative;
    margin: 0;
    padding: 0;
  }
  .slide .item {
    position: relative;
    height: 100%;
  }
  .slide .item a {
    display: block;
  }
  .slide .item::before {
    display: block;
    padding-top: 57%;
    content: "";
  }
  .slide .item .image {
    position: relative;
    overflow: hidden;
  }
  .slide .item img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: auto;
    height: 100%;
  }
  .slide > .slick-list,
  .slide > .slick-list > .slick-track,
  .slide > .slick-list > .slick-track > .slick-slide > div {
    position: relative;
    height: 100%;
  }
  
  /* slide-navigation */
  
  .slide-navigation {
    line-height: 0;
    position: relative;
    margin: 0;
    padding: 0;
  }
  .slide-navigation .item {
    position: relative;
    cursor: pointer;
  }
  .slide-navigation .item .image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  .slide-navigation .item .image::before {
    display: block;
    padding-top: 100%;
    content: "";
  }
  .slide-navigation .item .image::after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0.5;
    /* background: #000; */
  }
  .slide-navigation .slick-current .image::after {
    opacity: 0;
  }
  .slide-navigation .item .image {
    position: relative;
    overflow: hidden;
  }
  .slide-navigation .item .image img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 100%;
  }
  
  @media screen and (max-width: 767px) {
    .slide-navigation {
      width: 100%;
    }
    .slide-navigation .item .image::before {
      padding-top: 50%;
    }
  }
  .gg .item img {
      width: 100%;
  }
  /* slick */
  
  .slick-vertical .slick-slide {
    border: 0 solid transparent;
  }
  .slick-arrow {
    z-index: 999;
  }
  .slick-prev {
    top: 25px;
    bottom: 0;
    left: 20px;
    right: auto;
    margin: auto;
  }
  .slick-next {
    top: 25px;
    bottom: 0;
    left: auto;
    right: 20px;
    margin: auto;
  }

.gg.d-flex {
    display: flex;
    flex-wrap: wrap;
}
.gg .tate {
    width: 50%;
}

.textinner {
    width: 93%;
    margin: 3em auto;
}
.textbox {
    margin-bottom: 3em;
}
.textinner table, 
.textinner th,
.textinner td {
    border: none;
    color: #fff;
    padding: 0;
}
@media (max-width: 767px) {
    .slide-navigation .item .image:before {
        padding-top: 100%;
    }
}
@media (max-width: 540px) {
    .textinner {
        width: 100%;
    }
}

.whitePage .entry-case .works-searchWidget,
.whitePage .entry-case .works-searchWidget a {
    color: #000;
}
.whitePage .entry-case .searchList ul {
    border: solid 1px #ababab;
    background: #f8f8f8;
    padding: 10px;
}
.whitePage .button a {
    background-color: #333;
}
.whitePage .button a:hover {
    background-color: #fff;
    color: #000;
}
.whitePage .button a span:after {
    border-color: transparent transparent transparent #fff;
}
.whitePage .button a:hover span:after {
    border-color: transparent transparent transparent #000;
}
.whitePage .entry-case .section-title2.other {
    display: none;
}
/* 0608全フォーマット
切り替え時削除してください */