@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;
}

/* 新フォーマット
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.single-item-case .works_bg {
  background-color: #333 !important;
  color: #fff !important;
}
.single-item-case .breadSection {
  padding-top: 10px;
}
.single-item-case .breadSection.works_bg .breadcrumb span {
  color: #fff;
}
.single-item-case .data table,
.single-item-case .data th,
.single-item-case .data td {
  border: none;
  color: #fff;
  padding: 0;
}
.single-item-case .data th {
  width: 7em;
}
.single-item-case #state {
  margin-bottom: 10px;
}
.single-item-case .works_bg.siteContent {
  padding: 50px 0;
}
@media (min-width: 1200px) {
  .single-item-case .works_bg.siteContent {
    padding: 3.5em 0 3.5em;
  }
}
@media (min-width: 992px) {
  .single-item-case .works_bg.siteContent {
    padding: 3em 0 3em;
  }
}
@media (min-width: 768px) {
  .single-item-case .works_bg.siteContent {
    padding: 2.5em 0 2.5em;
  }
}
.single-item-case .info_item .img_txt {
  max-width: 680px;
  margin: 30px auto 70px;
  text-align: left;
}
.single-item-case .info_item .img_txt .img_ttl {
  font-size: 1.2em;
  text-align: center;
}
.single-item-case .info_item .img_txt .img_ttl span {
  /* padding-left: 1em;
    color: #999;
    font-size: initial; */
  display: block;
  margin-top: 5px;
}
.single-item-case .entry-case .youtube-link {
  text-align: center;
  margin: 60px 0;
}
.single-item-case .entry-case .youtube-link a {
  text-decoration: underline;
  font-size: 20px;
  color: #b48c52;
  font-weight: bold;
}
.whitePage .single-etc-works li img {
  margin-bottom: 0;
}
.whitePage .single-etc-works ul {
  justify-content: inherit;
}
.whitePage .mainSection {
  padding-top: 0;
}
.single-item-case .button a {
  background-color: #333;
}
.single-item-case .button a:hover {
  background-color: #fff;
  color: #000;
}
.single-item-case .button a:hover span:after {
  border-color: transparent transparent transparent #000;
}
.single-item-case .main_img {
  height: 70vh;
  overflow: hidden;
  position: relative;
}
.single-item-case .main_img img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
@media (max-width: 480px) {
  .single-item-case .main_img {
    height: 500px;
  }
}
.img_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  justify-content: center;
  grid-gap: 1rem;
}
.img_info {
  max-width: 900px;
  margin: 70px auto 0;
  text-align: center;
}
.img_info img {
  max-height: 550px;
  box-shadow: -8px -8px 15px rgb(255 255 255 / 90%), 0 8px 10px rgb(0 0 0 / 30%);
  border-radius: 10px;
}
.single-item-case .sw-tags,
.single-item-case .sw-tags a,
.single-item-case.whitePage .sw-custom-pager li .ltitle,
.single-item-case.whitePage .single-etc-works li a,
.single-item-case.whitePage .entry-case .works-searchWidget,
.single-item-case.whitePage .entry-case .works-searchWidget a {
  color: #000;
}
.single-item-case.whitePage .entry-case .searchList ul {
  border: solid 1px #ababab;
  background: #f8f8f8;
  padding: 10px;
}
.entry-case .lead {
  font-size: 30px;
  line-height: 1.4;
  padding: 0;
  margin: 5px 20px 30px 0;
}
/* END 新フォーマット
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.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 {
  color: #fff;
  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,
.sw-tags a {
  color: #fff;
}
.sw-tags {
  display: flex;
  flex-wrap: wrap;
  max-width: 570px;
  border: 1px solid;
  padding: 1.5em 0.4em 1.5em 1.5em;
  margin: 4em auto 3em;
}
.sw-tags .ts_title {
  font-size: 1.1em;
  font-weight: bold;
  padding-right: 0.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 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: 0.5rem;
  padding-bottom: 0.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: 0.8rem 0 0;
  color: #fff;
}
.sw-custom-pager li a {
  display: block;
  text-align: center;
  background-repeat: no-repeat;
  background-size: 33px;
}
.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 img {
  width: 100%;
  margin-bottom: 0.8rem;
}
.single-etc-works li p {
  text-align: center;
  line-height: 1.6em;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .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;
  }

  .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;
  }
}

@media (min-width: 992px) {
  .breadSection {
    padding-top: 105px;
  }
}
@media (max-width: 991px) {
  .breadSection {
    padding-top: 50px;
  }
}

/* 追加CSS */

/* 2024 追加 */
.cat_link_gal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.cat_link_gal .item {
  width: calc(100% / 4 - 20px);
}
.cat_link_gal .item a:hover {
  text-decoration: none;
  opacity: 0.7;
}
.cat_link_gal .item img {
  aspect-ratio: 3/2;
  object-fit: cover;
}
.cat_link_gal .cat_name {
  text-align: center;
  margin-top: 5px;
}
.gallery_cat h4 {
  background-color: #e6e6e6;
}
@media (max-width: 768px) {
  .cat_link_gal .item {
    width: calc(50% - 20px);
  }
}
