@charset "utf-8";
@import url("https://unpkg.com/scroll-hint@latest/css/scroll-hint.css");

/**事例カテゴリS**/

.jirei_cat {
 width: 745px;
}
div.jirei_cat p {
 background: #f09300;
 text-align: center;
 padding: 10px 0px;
 margin: 0px 0px 10px 0px;
 border-radius: 3px;
}
div.jirei_cat p a {
 color: #fff;
 font-size: 22px;
 font-weight: bold;
}
.jirei_cat .jirei_head {
 border: none;
 margin-bottom: 0px;
}
.jirei_cat ul.jirei_catlist {
 width: 745px;
 padding: 0 0;
 overflow: hidden;
}
.jirei_cat ul.jirei_catlist li {
 width: calc(100% / 3 - 29px);
 float: left;
 padding: 10px 10px;
 margin: 0 10px 10px 0px;
 border: 1px solid #ccc;
 background: linear-gradient(#fff, #f5f5f5);
}
.jirei_cat ul.jirei_catlist li:nth-of-type(3n+3) {
 margin: 0 0px 10px 0px;
}
.jirei_cat ul.jirei_catlist li .jirei_excerpt_img {
 width: 100%;
 height: 180px;
 text-align: center;
 padding: 0 0 10px 0;
}
.jirei_cat ul.jirei_catlist li .jirei_excerpt_img img {
 max-width: 200px;
 max-height: 180px;
}
.jirei_cat ul.jirei_catlist li .jirei_excerpt_date {
 width: 200px;
 text-align: center;
}
.jirei_cat ul.jirei_catlist li h2.jirei_post {
 width: 200px;
 height: 42px;
 overflow: hidden;
 font-size: 14px;
 text-align: center;
 line-height: 1.2;
 border: none;
 margin-bottom: 0;
}
.jirei_cat ul.jirei_catlist li h2.jirei_post a:link {
 text-decoration: none;
 font-size: 14px;
 font-weight: bold;
 line-height: 1.2;
 color: #f09300;
}
.jirei_cat ul.jirei_catlist li h2.jirei_post a:hover {
 text-decoration: underline;
 font-size: 14px;
 font-weight: bold;
 line-height: 1.2;
 color: #f09300;
}
.jirei_cat ul.jirei_catlist li h2.jirei_post a:visited {
 text-decoration: none;
 font-size: 14px;
 font-weight: bold;
 line-height: 1.2;
 color: #f09300;
}
.jirei_cat ul.jirei_catlist li h2.jirei_post a:active {
 text-decoration: none;
 font-size: 14px;
 font-weight: bold;
 line-height: 1.2;
 color: #f09300;
}
.jirei_cat ul.jirei_catlist li .jirei_excerpt {
 width: 200px;
 height: 64px;
 overflow: hidden;
 padding: 5px 10px;
}
.jirei_cat .alllink p {
 width: 100%;
 border: 1px solid;
 padding: 5px;
 text-align: center;
 box-sizing: border-box;
 background-color: #FFF3E0;
 font-weight: bold;
}
.jirei-other {
 margin-top: 50px;
}
.jirei-other ul {
 overflow: hidden;
}
.jirei-other li {
 float: left;
 width: calc(100% / 2 - 7px);
 background-color: #fffaf4;
 margin-bottom: 10px;
 margin-right: 10px;
 border: 1px solid #f09300;
 position: relative;
 text-align: center;
}
.jirei-other li::after {
  content: "";
      background-color: #ffa500;
      display: inline-block;
      height: 20px;
      width: 20px;
      -webkit-mask: url(https://primo-reform.com/wp-content/uploads/wgreaterthan-r.svg);
      mask: url(https://primo-reform.com/wp-content/uploads/wgreaterthan-r.svg);
      -webkit-mask-size: cover;
      mask-size: cover;
      vertical-align: middle;
      margin-right: 5px;
      position: absolute;
      right: 0px;
      top: 10px;
}
.jirei-other li:nth-child(2n) {
 margin-right: 0px;
}
.jirei-other ul li a {
 display: block;
 padding: 10px 20px;
}
/**施工事例S**/



.jireiread-txt {
 margin-bottom: 20px;
}
.before_after {
 margin-bottom: 30px;
}
.before_after::after {
 content: '.';
 display: block;
 clear: both;
 height: 0;
 visibility: hidden;
}
.before_after div {
 width: calc(100% / 2 - 5px);
 height: 100%;
 float: left;
 box-sizing: border-box;
}
.before_after div:first-child {
 margin-right: 10px;
}
.before_after div img {
 width: 100%;
 height: 100%;
 padding-top: 0;
 margin-top: 0;
 border-bottom: 1px solid #ccc;
 border-left: 1px solid #ccc;
 border-right: 1px solid #ccc;
 box-sizing: border-box;
 padding: 5px;
}
.after-only {
 text-align: center;
}
.after-only img {
 padding: 5px;
 border: 1px solid #ccc;
}
.jirei_h2_b {
 font-size: 20px;
 font-weight: bold;
 padding: 10px 0 5px 0px;
 color: #494949;
 background: linear-gradient(#fefefe, #ddd);
 border: 1px solid #ccc;
 text-align: center;
 margin: 10px 0 0 0;
}
.jirei_h2_a {
 font-size: 20px;
 font-weight: bold;
 padding: 10px 0 5px 0px;
 color: #494949;
 background: linear-gradient(#ffc77b, #ffa500);
 border: 1px solid #ffaf58;
 text-align: center;
 margin: 10px 0 0 0;
}
.jirei_h3 {
 font-size: 20px;
 font-weight: bold;
 border-bottom: double 5px #FFC778;
 margin: 0 0 10px 0px;
 padding: 0 20px 0 20px;
}
.jirei {
 margin: 20px 0 10px 0;
}
.jirei_box {
 padding: 1em 1.5em;
 margin: 2em 0;
 line-height: 220%;
 color: #000000;
 background: #FFF;
 border: solid 3px #ffaf58;
 border-radius: 10px;
 clear: both;
}
.jirei_box p {
 margin: 0;
 padding: 0;
}
.before_after .jireiphoto {
 width: 100%;
 padding: 0;
}
.before_after .jireiphoto div {
 padding: 0;
}
.before_after .jireiphoto img {
 border: none;
 padding: 5px;
}
.jireiphoto::after {
 content: '.';
 display: block;
 clear: both;
 height: 0;
 visibility: hidden;
}
.jireiphoto ul {
 width: 100%;
}
.jireiphoto li {
 width: 227px;
 float: left;
 margin-bottom: 15px;
 border: 1px solid #ddd;
 padding: 3px;
 height: 227px;
 text-align: center;
}
.jireiphoto li:nth-of-type(3n+2) {
 margin-right: 14px;
 margin-left: 14px;
}
.jireiphoto li div {
 width: 227px;
 height: 227px;
 display: table-cell;
 vertical-align: middle;
}
.jireiphoto li div img {
 max-width: 100%;
 vertical-align: middle;
 max-height: 100%;
}
.jirei_box .tantou_comment {
 font-weight: bold;
 padding-bottom: 10px;
}
.jirei_box .tantou_comment::after {
  content: "";
      background-color: #ffa500;
      display: inline-block;
      height: 20px;
      width: 22px;
      -webkit-mask: url(https://primo-reform.com/wp-content/uploads/ifn0387.svg);
      mask: url(https://primo-reform.com/wp-content/uploads/ifn0387.svg);
      -webkit-mask-size: cover;
      mask-size: cover;
      vertical-align: middle;
      margin-left: 10px;
}
.sonota_navi {
 width: 100%;
 background-color: #ffaf58;
 border-radius: 5px;
 overflow: auto;
 margin-bottom: 30px;
}
.sonota_navi p {
 margin-left: 10px;
 padding: 10px 10px 5px 0px;
 font-weight: bold;
 color: #fff;
}
.sonota_navi i {
 margin-right: 5px;
}
.sonota_navi ul {
 background-color: #fff;
 overflow: auto;
 padding: 10px 10px 0 10px;
 margin: 5px;
 border-radius: 3px;
}
.sonota_navi li {
 float: left;
 background-color: #eee;
 padding: 5px 10px 5px 10px;
 margin-right: 15px;
 margin-bottom: 15px;
 border-radius: 3px;
}
.return {
 margin-top: 50px;
}
.return::after {
 content: '.';
 display: block;
 clear: both;
 height: 0;
 visibility: hidden;
}
.return h2 {
 border-bottom: 3px solid #ff9c00;
 margin-bottom: 25px;
 font-size: 18px;
 font-weight: bold;
}
.return span {
 background-color: #f3f0e2;
 text-align: center;
 margin-bottom: 24px;
 padding: 10px;
 font-weight: bold;
 display: block;
 background: linear-gradient(#f7f7f7, #f3f0e2);
 border: 1px solid #ddd;
 float: left;
 width: calc(100% / 3);
 box-sizing: border-box;
}
/**施工事例E**/

/**施工事例用テーブルS**/

.jirei_table {
 width: 100%;
 margin-bottom: 50px;
}
.jirei_th {
 width: 30%;
 border: 1px solid #eee;
 background-color: #fffaf4;
 padding: 15px 0 15px 10px;
 font-weight: bold;
 text-align: center;
 vertical-align: middle;
}
.jirei_td {
 width: 70%;
 border: 1px solid #eee;
 padding: 15px 15px 15px 15px;
}
.jirei_td span {
 font-weight: bold;
}
.jirei_td p {
 padding: 5px 0 5px 0;
}
/**施工事例用テーブルE**/

/**施工事例記事一覧ページS**/

div.contents.clearfix div.main h1.title span.bgcolor a.jirei-title {
 font-size: 12px;
 color: #000;
}
/**施工事例記事一覧ページE**/

/**ページネーション（A）S**/

ul.lcp_paginator {
 display: inline-block;
 padding: 0;
 margin: 0;
 margin-top: 20px;
 text-align: center;
 /* 中央揃えはここを追加するだけ */
}
ul.lcp_paginator li {
 display: inline;
 border: none;
 padding: 0;
 margin: 0 5px 10px 0;
 float: left;
}
ul.lcp_paginator li:first-child {
 margin: 0 5px 10px 0;
}
ul.lcp_paginator .lcp_currentpage {
 color: black;
 float: left;
 padding: 8px 16px;
 text-decoration: none;
 transition: background-color .3s;
 border: 1px solid #ddd;
 background-color: #fffaf4;
 border-radius: 5px;
}
ul.lcp_paginator li a {
 color: black;
 float: left;
 padding: 8px 16px;
 text-decoration: none;
 transition: background-color .3s;
 border: 1px solid #ddd;
 border-radius: 5px;
}
ul.lcp_paginator li a.active {
 background-color: #4CAF50;
 color: white;
 border: 1px solid #4CAF50;
}
ul.lcp_paginator li a:hover:not(.active) {
 background-color: #ddd;
}
ul.lcp_paginator .lcp_elipsis {
 float: left;
 border: 0px solid #ddd;
 margin: 0 0px 10px 0;
 padding: 8px 0px;
 border-radius: 5px;
}
/**ページネーション（A）E**/

/**施工事例ページネーション（B）S**/

.contents .main .pagination {
 clear: both;
 text-align: center;
}
.page-numbers {
 font-size: 16px;
 padding: 0.6em 1em;
 border-radius: 3px;
 border: 1px solid;
}
.current {
 font-size: 16px;
 padding: 0.6em 1em;
 border-radius: 3px;
 border: 1px solid #ccc;
}
/**施工事例ページネーション（B）E**/

.topreturn{
  margin: 10px auto;
}
.topreturn a{
  display: block;
  width: 90%;
  max-width: 300px;
  text-align: center;
  margin: auto;
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  &:hover{
      text-decoration: none;
      border: 1px solid #f09300;
      color: #fff;
      font-weight: bold;
      background-color: #f09300;
  }
}


.topreturn{
  margin: 10px auto;
}
.topreturn a{
  display: block;
  width: 90%;
  max-width: 300px;
  text-align: center;
  margin: auto;
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  &:hover{
      text-decoration: none;
      border: 1px solid #f09300;
      color: #fff;
      font-weight: bold;
      background-color: #f09300;
  }
}

@media screen and (max-width: 480px) {
 /**事例カテゴリS**/
 .contents .main h1.cate_title {
    width: 100%;
    padding: 0 0px;
}

.contents .main .cate_bgcolor {
    font-size: 22px;
}
 .jirei-other li {
  width: 100%;
 }
 .jirei_cat {
  width: 100%;
 }
 .jirei_cat ul.jirei_catlist {
  width: 100%;
  padding: 0 0;
  overflow: hidden;
 }
 .jirei_cat ul.jirei_catlist li {
  width: calc(100% / 2 - 27px);
  float: left;
  padding: 10px 10px;
  border: 1px solid #ccc;
 }
 .jirei_cat ul.jirei_catlist li:nth-last-of-type(odd) {
  margin: 0 10px 10px 0;
 }
 .jirei_cat ul.jirei_catlist li:nth-last-of-type(even) {
  margin: 0 0 10px 0;
  float: right;
 }
 .jirei_cat ul.jirei_catlist li .jirei_excerpt_img {
  width: 100%;
  height: 150px;
  text-align: center;
  padding: 0 0 10px 0;
 }
 .jirei_cat ul.jirei_catlist li .jirei_excerpt_img img {
  max-width: 200px;
  max-height: 180px;
  object-fit: cover;
 }
 .jirei_cat ul.jirei_catlist li .jirei_excerpt_date {
  width: 100%;
  text-align: center;
 }
 .jirei_cat ul.jirei_catlist li h2.jirei_post {
  width: 100%;
  height: 42px;
  overflow: hidden;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0px;
 }
 .jirei_cat ul.jirei_catlist li h2.jirei_post a:link {
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  color: #f09300;
 }
 .jirei_cat ul.jirei_catlist li h2.jirei_post a:hover {
  text-decoration: underline;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  color: #f09300;
 }
 .jirei_cat ul.jirei_catlist li h2.jirei_post a:visited {
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  color: #f09300;
 }
 .jirei_cat ul.jirei_catlist li h2.jirei_post a:active {
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  color: #f09300;
 }
 .jirei_cat ul.jirei_catlist li .jirei_excerpt {
  width: 200px;
  height: 64px;
  overflow: hidden;
  padding: 5px 10px;
 }
 .jirei-other li {
  width: calc(100% / 2 - 7px);
 }
 .jirei-other ul li a {
  padding: 10px 13px 10px 0px;
  font-size: 12px;
 }
 .jirei-other li::after {
   right: 0px;
       top: 12px;
       height: 15px;
       width: 15px;
 }
 /**施工事例S**/
 .before_after div {
  width: calc(100% / 2 - 5px);
  height: 100%;
  padding: 0px;
  box-sizing: border-box;
 }
 .before_after div:first-child {
  margin-right: 10px;
 }
 .before_after div img {
  width: 100%;
  height: 100%;
  margin-top: 0;
  padding: 5px;
 }
 .jirei_h2_b {
  font-size: 16px;
  font-weight: bold;
  padding: 5px 0 0px 0px;
  color: #494949;
  border: 1px solid #ddd;
  text-align: center;
  margin: 10px 0 0 0;
  background: linear-gradient(#fefefe, #ddd);
 }
 .jirei_h2_a {
  font-size: 16px;
  font-weight: bold;
  padding: 5px 0 0px 0px;
  color: #fff;
  border: 1px solid #ffaf58;
  text-align: center;
  margin: 10px 0 0 0;
  background: linear-gradient(#ffc77b, #ffa500);
 }
 .jirei_h3 {
  font-size: 20px;
  font-weight: bold;
  border-bottom: double 5px #FFC778;
  margin: 0 0 10px 0px;
  padding: 0 20px 0 20px;
 }
 .jirei {
  margin: 20px 0 10px 0;
 }
 .jirei_box {
  padding: 0.5em 1em;
  margin: 2em 0;
  font-weight: bold;
  line-height: 220%;
  color: #000000;
  background: #FFF;
  border: solid 3px #ffaf58;
  border-radius: 5px;
  clear: both;
 }
 .jirei_box p {
  margin: 0;
  padding: 0;
 }
 .jireiphoto li {
  width: calc(100% / 3 - 19px);
  float: left;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  padding: 5px;
  height: 120px;
  text-align: center;
  height: auto;
  margin-right: 10px;
 }
 .jireiphoto li:nth-of-type(3n+2) {
  margin-right: 10px;
  margin-left: 0;
 }
 .jireiphoto li:nth-of-type(3n+3) {
  margin-right: 0;
 }
 .jireiphoto li div {
  width: 120px;
  height: 120px;
  display: table-cell;
  vertical-align: middle;
 }
 .jireiphoto li div img {
  max-width: 100%;
  vertical-align: middle;
  max-height: 100%;
  width: auto;
  height: auto;
  margin-bottom: 0;
 }
 .before_after .jireiphoto {
  width: 100%;
  padding: 0;
 }
 .before_after .jireiphoto div {
  padding: 0;
 }
 .before_after .jireiphoto img {
  border: none;
  padding: 5px;
  width: 100%;
 }
 .return span {
  width: calc(100%);
  margin-bottom: 10px;
  padding: 10px 0px 10px 0;
 }
 /**施工事例E**/
 /**ページネーション（A）**/
 ul.lcp_paginator {
  display: inline-block;
  padding: 0;
  margin: 0;
  margin-top: 20px;
 }
 ul.lcp_paginator li {
  display: inline;
 }
 ul.lcp_paginator .lcp_currentpage {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  background-color: #fffaf4;
 }
 ul.lcp_paginator li a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
 }
 ul.lcp_paginator li a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
 }
 ul.lcp_paginator li a:hover:not(.active) {
  background-color: #ddd;
 }
 /**ページネーション（A）E**/
 /**施工事例ページネーション（B）S**/
 .page-numbers {
  font-size: 14px;
  padding: 0.6em 0.8em;
 }
 .current {
  font-size: 14px;
 }
 /**施工事例ページネーション（B）E**/
}


/**2025/03/07 広告を表示**/
.jireiadvertisement {
  display: flex;
      gap: 5px;
}
.jireiadvertisement a {
  border: 1px solid #ccc;
  padding: 0.5rem;
  box-sizing: border-box;
}
.jireiadvertisement img {
  margin: 0 auto 5px;
  display: block;
  max-width: 100%;
  height: auto;
}
/**2025/03/07 ここまで**/

