/* ================================================

  p-jimusyo-jirei.css

  ================================================ */

.single-jirei_mv {
  background: url(../img/jirei/bg_mv_jirei_pc.jpg) 100%/cover no-repeat;
}
@media screen and (max-width: 768px) {
  .single-jirei_mv {
    background: url(../img/jirei/bg_mv_jirei_sp.jpg) 100%/cover no-repeat;
  }
  .single-jirei_inner {
    padding-top: 16px;
    padding-bottom: 76px;
  }
}

.breadcrumb {
  display: none;
}





.jirei_slider {
  position: relative;
  width: 100%;
  max-width: 990px;
  height: 518px;
  padding-bottom: 41px;
  margin: 31px auto 0;
}

.gallery-top {
  height: 100%;
}

.gallery-top .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.swiper-button-prev {
  left: -50px;
}
.swiper-button-next {
  right: -50px;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next,
.swiper-button-next, .swiper-container-rtl .swiper-button-prev  {
  filter: contrast(0) brightness(100) grayscale(1);
}

.jirei_slider .swiper-pagination {
  left: 50%;
  transform: translateX(-50%);
  margin-top: 11px;
}
/* .jirei_slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
} */
.jirei_slider .swiper-pagination-bullet:not(:first-of-type) {
  margin-left: 7px;
}
.jirei_slider .swiper-pagination-bullet-active {
  background: #707070;
}
@media (min-width:769px) {
.jirei_slider {
  /* margin-bottom:-60px; */
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next,
.swiper-button-next, .swiper-container-rtl .swiper-button-prev  {
  filter: brightness(0.65);
}
.jirei_slider .swiper-pagination {
  /* left: 50%; */
  /* transform: translateX(-50%); */
  margin-top: 26px;
}
.jirei_slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
}
.jirei_slider .swiper-pagination-bullet:not(:first-of-type) {
  margin-left: 13px;
}
/* .jirei_slider .swiper-pagination-bullet-active {
  background: #707070 !important;
} */
}
@media screen and (max-width: 768px) {
  .jirei_slider {
    width: 91%;
    height: 81vw;
    padding-bottom: 19px;
    margin: 23px auto -23vw;
  }
  .gallery-top {
      height: 76%;
  }
  .swiper-button-prev,
  .swiper-button-next {
    transform: translateY(calc(-50% - 23px));
  }
  .swiper-button-prev {
    left: 6px;
  }
  .swiper-button-next {
    right: 6px;
  }
}

/* 施工内容 */
/* ------------------------------- */
.jirei-content {
  margin-top: 87px;
}
.jirei-content .cont_txt {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .jirei-content {
    margin-top: 40px;
  }
  .jirei-content .cont_txt {
    margin-top: 13px;
  }
}


/* 施工事例の表 + caption */
/* ------------------------------- */
.jirei_info {
  margin-top: 98px;
}
@media screen and (max-width: 768px) {
  .jirei_info {
    margin-top: 46px;
  }
}


/* 施工事例の表 */
/* ------------------------------- */
.jirei_table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  font-size: clamp(12px, 1.4rem, 14px);
  border-top: 1px solid #0062B4;
  margin-top: 17px;
}
.jirei_table div {
  display: flex;
  border-bottom: 1px solid #0062B4;
}
.jirei_table .cel_01 { grid-area: 1 / 1 / 2 / 2; }
.jirei_table .cel_02 { grid-area: 1 / 2 / 2 / 3; }
.jirei_table .cel_03 { grid-area: 1 / 3 / 2 / 4; }
.jirei_table .cel_04 { grid-area: 2 / 1 / 3 / 2; }
.jirei_table .cel_05 { grid-area: 2 / 2 / 3 / 4; }
.jirei_table .cel_06 { grid-area: 3 / 1 / 4 / 2; }
.jirei_table .cel_07 { grid-area: 3 / 2 / 5 / 4; }
.jirei_table .cel_08 { grid-area: 4 / 1 / 5 / 2; }

.jirei_table dt, .jirei_table dd {
  display: flex;
  padding: 19px;
}
.jirei_table dt {
  flex: 0 0 123px;
  color: #0062b4;
  font-weight: 700;
  background: #E1F4F7;
}
.jirei_table dd {
  flex: 1 1 auto;
}
@media screen and (max-width: 768px) {
  .jirei_table {
    display: flex;
    flex-wrap: wrap;
  }
  .jirei_table div {
    width: 100%;
  }
  .jirei_table .cel_07 {
    order: 8;
  }
  .jirei_table .cel_08 {
    order: 7;
  }
  .jirei_table dt, .jirei_table dd {
    padding: 19px 15px;
  }
}


/* ボタン（前へ、次へ、一覧へ） */
/* ------------------------------- */
#article_footNav {
  margin: 64px auto 0;
}
#article_footNav > .post-pager {
  gap: 115px;
}
#article_footNav > .post-pager > .post-pager_prev a {
  padding: 18px;
  text-align: center;
}
#article_footNav > .post-pager > .post-pager_next a {
  padding: 18px;
  text-align: center;
}
#article_footNav > .post-pager > li > a {
  width: 207px;
  border-color: #0062B4;
  color: #0062b4;
  border-radius: 50px;
}
#article_footNav > .post-pager > li > a:hover {
  background: #0062b4;
  color: #fff;
}
#article_footNav > .post-pager > .post-pager_prev a::before,
#article_footNav > .post-pager > .post-pager_prev a::after,
#article_footNav > .post-pager > .post-pager_next a::before,
#article_footNav > .post-pager > .post-pager_next a::after {
  top: 50%;
  width: 14px;
  height: 2px;
  background: #0062B4;
  border: none;
  border-radius: 2px;
}
#article_footNav > .post-pager > .post-pager_prev a:hover::before,
#article_footNav > .post-pager > .post-pager_prev a:hover::after,
#article_footNav > .post-pager > .post-pager_next a:hover::before,
#article_footNav > .post-pager > .post-pager_next a:hover::after {
  background: #fff;
}
#article_footNav > .post-pager > .post-pager_prev a::before,
#article_footNav > .post-pager > .post-pager_prev a::after {
  left: 20px;
}
#article_footNav > .post-pager > .post-pager_prev a::before {
  transform-origin: top left;
  transform: translateY(calc(-50% + 1px)) rotate(-45deg);
}
#article_footNav > .post-pager > .post-pager_prev a::after {
  transform-origin: bottom left;
  transform: translateY(calc(-50% - 1px)) rotate(45deg);
}
#article_footNav > .post-pager > .post-pager_next a::before,
#article_footNav > .post-pager > .post-pager_next a::after {
  right: 20px;
}
#article_footNav > .post-pager > .post-pager_next a::before {
  transform-origin: top right;
  transform: translateY(calc(-50% + 1px)) rotate(45deg);
}
#article_footNav > .post-pager > .post-pager_next a::after {
  transform-origin: bottom right;
  transform: translateY(calc(-50% - 1px)) rotate(-45deg);
}

@media screen and (max-width: 768px) {
  #article_footNav {
    margin: 15px auto 0;
  }
  #article_footNav > .post-pager {
    gap: 20px 13px;
  }
  #article_footNav > .post-pager > .post-pager_prev a {
    padding: 17px 0 17px 24px;
  }
  #article_footNav > .post-pager > .post-pager_next a {
    padding: 17px 24px 17px 0;
  }
  #article_footNav > .post-pager > li > a {
    width: auto;
    line-height: 1;
  }
  #article_footNav > .post-pager > .post-pager_prev a::before,
  #article_footNav > .post-pager > .post-pager_prev a::after,
  #article_footNav > .post-pager > .post-pager_next a::before,
  #article_footNav > .post-pager > .post-pager_next a::after {
    width: 11px;
  }
}


/* 関連記事 */
/* ------------------------------- */
.jirei-relation-article {
  margin-top: 120px;
  margin-bottom: 140px;
}
@media screen and (max-width: 768px) {
  .jirei-relation-article {
    margin-top: 35px;
    margin-bottom: 35px;
  }
}









.bar-blue {
  font-weight: 700;
  background: #0062B4;
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .bar-blue {
    padding: 14px;
  }
}

.card-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 80px 4.918%;
}
.col-2 .card {
  flex: 1 1 auto;
  max-width: 47.5%;
}
.col-2 .card .thumb {
  max-width: none;
}
@media screen and (max-width: 768px) {
  .card-box {
    gap: 26px 16vw;
  }
  .col-2 .card {
    max-width: 100%;
  }
}

/* office-design_intro
---------------------------- */
.office-design_intro {
  margin-top: 70px;
  padding-bottom: 78px;
}
.office-design_intro .box {
  display: flex;
  gap: 20px;
}
.office-design_intro .box .txt-wrap {
  max-width: 640px;
  width: 100%;
}
.office-design_intro .box .txt-wrap .page-title_h2 {
  font-weight: 500;
  margin: 25px 0;
}
.office-design_intro .box figure {
  max-width: 552px;
  width: 100%;
}
.office-design_intro .box figure img {
  width: 100%;
  height: auto;
}
@media screen and (max-width:767px) {
  .office-design_intro {
    margin-top: 23px;
    padding-bottom: 50px;
  }
  .office-design_intro .box {
    flex-direction: column;
  }
  .office-design_intro .box .txt-wrap {
    max-width: 100%;
  }
  .office-design_intro .box .txt-wrap .page-title_h2 {
    margin-top: 0;
  }
  .office-design_intro .box figure {
    max-width: 100%;
  }
}



/* office-design_portfolio
---------------------------- */
/* .office-design_portfolio {
} */
.child-page .office-design_portfolio .cl-inner {
  padding-top: 60px;
  padding-bottom: 120px;
}
.office-design_portfolio .page-title_h2 {
  font-weight: 700;
}
.office-design_portfolio .card .title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  line-height: 1.5;
  color: #0062B4;
  margin-top: 0.2em;
}
.office-design_portfolio .card .txt {
  margin-top: 0.2em;
}
.office-design_portfolio .card .note {
  margin-top: 1em;
  color: #707070;
}
@media screen and (max-width: 768px) {
  .child-page .office-design_portfolio .cl-inner {
    padding-top: 26px;
    padding-bottom: 70px;
  }
}


/* office-design_layout
---------------------------- */
.child-page  .office-design_layout .cl-inner {
  padding-top: 47px;
  padding-bottom: 100px;
  text-align: center;
}
.office-design_layout .block {
  margin-top: 57px;
  margin-bottom: 57px;
}
.office-design_layout .block:last-of-type {
  margin-bottom: 0;
}
.office-design_layout .page-title_h4 {
  text-align: left;
  color: #fff;
  background: #00C0FA;
  padding: 12px 24px;
}
.office-design_layout .page-title_h6 {
  font-weight: 400;
  margin-top: 0.4em;
}
.office-design_layout .page-title_h4.blue {
  background: #0062B4;
}
.office-design_layout .page-title_h4.orange {
  background: #FF9000;
}
.office-design_layout .card-box {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .child-page  .office-design_layout .cl-inner {
    padding-top: 20px;
    padding-bottom: 40px;
    text-align: center;
  }
  .office-design_layout .block {
    margin-top: 36px;
    margin-bottom: 40px;
  }
  .office-design_layout .block:last-of-type {
    margin-bottom: 0;
  }
  .office-design_layout .page-title_h4 {
    /* color: #fff; */
    /* background: #00C0FA; */
    text-align: center;
    padding: 0.4em 1em;
  }
  .office-design_layout .page-title_h6 {
    /* font-weight: 400; */
    margin-top: 0.4em;
  }
  .office-design_layout .card-box {
    margin-top: 20px;
  }
}

.jirei_posts .pager {
  text-align: center;
  margin-top: 70px;
}
.jirei_posts .pager .page-numbers{
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #0062B4;
  font-size: 19px;
  border: 1px solid #0062B4;
  margin: 0 5px;
}
.jirei_posts .pager .page-numbers.dots{
  font-size: 1.5em;
  font-weight: 900;
  color: #707070;
  border: none;
}
.jirei_posts .pager .page-numbers.prev,
.jirei_posts .pager .page-numbers.next{
  font-size: 24px;
  font-weight: 900;
  color: #707070;
  border: none;
  vertical-align: sub;
}
.jirei_posts .pager .page-numbers .icon-arrow {
  width: 24px;
  height: 24px;
  color: #707070;
}
.jirei_posts .pager .page-numbers.current{
  color: #fff;
  background-color: #0062B4;
}
.jirei_posts.p-jirei .card .tag {
  max-height: 1.75em;
}
@media screen and (max-width: 768px) {
  .jirei_posts .pager {
    max-width: 100%;
    white-space: nowrap;
    margin-top: 33px;
  }
  .jirei_posts .pager .page-numbers{
    width: 35px;
    height: 35px;
    line-height: 32px;
    font-size: 18px;
    margin: 0 5px;
  }
  .jirei_posts .pager .page-numbers.dots {
    /* font-size: 1.5em;
    font-weight: 900;
    color: #707070;
    border: none; */
  }
  .jirei_posts .pager .page-numbers.prev,
  .jirei_posts .pager .page-numbers.next{
    font-size: 18px;
    width: 18px;
  }
  .jirei_posts .pager .page-numbers .icon-arrow {
    width: 18px;
    height: 18px;
  }
  .jirei_posts .pager .page-numbers.current{
    color: #fff;
    background-color: #0062B4;
  }
}


/* 絞り込み検索ボックス */
.jirei-search {
  padding: 0 20px;
  margin-top: 40px;
}
.child-page .jirei-search .cl-inner {
  background: #E1F4F7;
  max-width: 1016px;
  padding: 55px 90px 60px;
  margin: 0 auto;
  border-radius: 10px;
}
.jirei-search .filter-item {
  display: flex;
  justify-content: start;
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid #0062B4;
}
.jirei-search .filter-item:nth-of-type(3) {
  border-bottom: none;
}
.jirei-search .parent-name {
  font-size: 18px;
  line-height: 50px;
  min-width: 4.1em;
}
.jirei-search .child-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jirei-search .child-item {
  font-size: 16px;
  font-weight: normal;
  background: #fff;
  padding: 12px 30px;
  border-radius: 30px;
}
.jirei-search .child-item input {
  display: none;
}
.jirei-search .child-item:has(input:checked) {
  color: #fff;
  background: #00C0FA;
}
.jirei-search .btn-box {
  margin-top: 25px;
  text-align: center;
}
.jirei-search .btn-box .cc-btn {
  margin: auto;
}

@media screen and (max-width: 768px) {
  .jirei-search {
    padding: 0 16px;
    margin-top: 23px;
  }
  .child-page .jirei-search .cl-inner {
    padding: 20px 25px;
  }
  .jirei-search .page-title_h3 {
    font-weight: normal;
  }
  .search-ttl {
    /* position: relative; */
    display: flex;
    justify-content: space-between;
  }
  .search-acc-btn {
    /* position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); */
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 28px;
  }
  .search-acc-btn::before,
  .search-acc-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 14px;
    height: 2px;
    background: #707070;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .is-open .search-acc-btn::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .search-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  .is-open + .search-box {
    max-height: 1500px;
  }
  .jirei-search .filter-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 28px 0 34px;
  }
  .jirei-search .parent-name {
    font-size: 14px;
    line-height: 1;
    min-width: 100%;
  }
  .jirei-search .child-list {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
  }
  .jirei-search .child-item {
    font-size: 14px;
    padding: 10px 23px;
    border-radius: 30px;
  }
  .jirei-search .btn-box {
    margin-top: 0;
  }
  .jirei-search .btn-box .cc-btn {
    width: 100%;
  }
}


