@charset "utf-8";
.p-footer {
        margin-top: unset;
}
.c-btn {
  font-size: clamp(1rem, 0.873rem + 0.52vw, 1.5rem);
  column-gap: 1rem;
}
body{
  line-height: 2.5;
}
.p-header__box {
  justify-content: end;
}
.p-concept {
  padding-top: 3.5rem;
}
.p-concept__box {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-right: calc(50% - 50vw);
}
.p-concept__box-img {
  width: 49%;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.p-concept__box-img img:nth-child(1) {
  position: relative;
  max-width: 60%;
  width: 100%;
  object-fit: cover;
}

.p-concept__box-img img:nth-child(2) {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 30%;
  width: 100%;
  object-fit: cover;
}

.p-concept__box-texts {
  width: 47%;
  padding-top: 4rem;
}
.p-concept__box-texts-title {
  
}
.p-concept__box-texts-text {
  padding-top: 4.5rem;
  display: inline-block;
}
.p-concept__btn {
  max-width: 190px;
  padding-top: 2.5rem;
}

/*---------- 施工事例 ----------*/
.p-lowb-article {
  padding-top: 10rem;
}
.p-lowb-article__title {
  font-size: 20px;
  font-weight: bold;
}
.p-lowb-article__box {
  padding-top: 2.5rem;
}
.p-lowb-article .webgene-blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 250px;
  position: relative;
}
.webgene-blog .newsItem {
  position: relative;
}
.webgene-blog .newsItem::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 85%;
  background-color: #000;
  position: absolute;
  bottom: 0;
  right: 0;
  right: -125px;
}
.webgene-blog .newsItem:nth-of-type(3n)::before {
  display: none;
}
.newsLink {
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
}
.newsitem {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.newsItemTit {
  width: 80%;
  line-break: anywhere;
  font-size: clamp(1rem, 0.873rem + 0.52vw, 1.5rem);
}
.news-arrow-bg {
  content: "";
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 29px;
  transition: ease .4s;
  background-image: url("https://waff.co.jp/system_panel/uploads/images/20250111214038908485.svg");
}
.newsLink:hover  .news-arrow-bg {
  transform: translateX(20px);
}
.newsImgBox .webgene-item-main-image {
  aspect-ratio: 312 / 491;
  object-fit: cover;
}

.p-gallery__btn {
  max-width: 190px;
  padding-top: 3.5rem;
  margin-left: auto;
}
/*---------- 施工事例　レスポンシブ----------*/
@media screen and (max-width: 1439px) {
  .p-lowb-article .webgene-blog {
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 150px;
}
.webgene-blog .newsItem::before {
  right: -75px;
}
}

@media screen and (max-width: 1023px) {
  .p-lowb-article {
  padding-top: 2.5rem;
}
  .p-lowb-article__box {
  padding-top: 1.25rem;
}
   .p-lowb-article .webgene-blog {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 46px;
}
.webgene-blog .newsItem::before {
  right: -23px;
}
.webgene-blog .newsItem:nth-of-type(3n)::before {
  display: unset;
}
.webgene-blog .newsItem:nth-of-type(2n)::before {
  display: none;
}
.newsLink {
  row-gap: 0.5rem;
}
.newsitem {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-arrow-bg {
  width: 21px;
}
.newsLink:hover  .news-arrow-bg {
  transform: translateX(20px);
}
.newsImgBox .webgene-item-main-image {
  aspect-ratio: 153 / 239;
  object-fit: cover;
}
  .p-gallery__btn {
  max-width: 190px;
  margin: 0 auto;
  padding-top: 2.5rem;
}
}




.p-individuals {
  margin-top: 5rem;
  padding-top: 5rem;
  background-color: #fff;
}
.p-service__title {
  text-align: center;
}
.p-individuals__box {
  padding-top: 6.5rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.p-individuals__box-right {
  width: 41%;
}
.p-individuals__box-title {
}
.p-individuals__box-right-img {
  position: relative;
  bottom: -7.5rem;
  padding-right: 28%;
  padding-top: 5rem;
}
.p-individuals__box-right-img::before {
  content: "";
  background-image: url("https://waff.co.jp/system_panel/uploads/images/20250122061642344899.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  aspect-ratio: 107 / 101;
  object-fit: cover;
  width: 45%;
  position: absolute;
  top: -17%;
  right: 0;
  z-index: 1;
}
.p-individuals__box-right-img img {
  aspect-ratio: 511 / 591;
  object-fit: cover;
}
.p-individuals__box-left {
  width: 50%;
}
.p-individuals__box-left-img {
}
.p-individuals__box-left-img img {
  aspect-ratio: 864 / 439;
  object-fit: cover;
}
.p-individuals__box-left-texts {
  display: inline-block;
}
.p-individuals__box-left-text {
  padding-top: 4rem;
}
.p-individuals__btns {
  padding-top: 3.5rem;
  display: flex;
  justify-content: space-between;
}
.p-individuals__btn-left {
  min-width: 190px;
}
.p-individuals__btn-right {
  min-width: 190px;
}

.p-public {
  background-color: #979797;
  padding: 7rem 0;
}
.p-public__box {
}
.p-public__title {
}
.p-public__img-box {
  padding-top: 3.5rem;
  padding-left: 11%;
  position: relative;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.p-public__img-box img{
  width: 100%;
  height: auto;
  max-width: 45%;
}
.p-public__img-box::before {
  content: "";
  //background-image: url("https://waff.co.jp/system_panel/uploads/images/20250122065057690112.png");
  background-image: url("https://waff.co.jp/system_panel/uploads/images/20250508071714721771.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  aspect-ratio: 107 / 101;
  object-fit: cover;
  width: 18.6%;
  position: absolute;
  bottom: -9%;
  left: 0;
  z-index: 1;
}
.p-public__text-box {
  padding-top: 2.5rem;
  text-align: right;
}
.p-public__text-box-text {
  display: inline-block;
  width: 50%;
  text-align: left;
}
.p-public__btn {
  padding-top: 3.5rem;
  max-width: 290px;
  margin-left: auto;
}


.p-business {
}
.p-business__title {
}
.p-business__box {
  display: flex;
  justify-content: space-between;
  margin-left: calc(50% - 50vw);
  padding-bottom: 2rem;
}
.p-business__img-box {
  position: relative;
  top: -7.5rem;
  width: 50%;
}
.p-business__img-box img {
  aspect-ratio: 912 / 860;
  object-fit: cover;
}
.p-business__text-box {
  position: relative;
  width: 42%;
  padding-top: 16%;
  padding-right: 5%;
}
.p-business__text-box::before {
  content: "";
  background-image: url("https://waff.co.jp/system_panel/uploads/images/20250122065057664152.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  aspect-ratio: 107 / 101;
  object-fit: cover;
  width: 42%;
  position: absolute;
  top: -3rem;
  right: 0;
  z-index: 1;
}
.p-business__text-box-img {
  display: none;
}
.p-business__text-box-text {
  padding-top: 1.25rem;
  display: inline-block;
}
.p-business__btn {
  padding-top: 3.5rem;
  max-width: 290px;
}

.p-consult {
  padding: 5rem 0;
  background-color: #fff;
  line-height: 1.5;
}
.p-consult__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.p-consult__left-img {
  width: 25.5%;
}
.p-consult__texts {
  width: 33.5%;
  text-align: center;
}
.p-consult__sub-title {
  font-weight: bold;
}
.p-consult__title {
  padding-top: 2rem;
  font-size: clamp(1.5rem, 1.373rem + 0.52vw, 2rem);
}
.p-consult__text {
  padding-top: 1.5rem;
}
.p-consult__btns {
  max-width: 500px;
  margin: 0 auto;
  padding-top: 3.5rem;
  display: flex;
  justify-content: space-between;
}
.p-consult__btn-left {
}
.p-consult__btn-right {
}




.p-consult__img-wrap {
  width: 25%;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 350px;
}
.p-consult__img-wrap img:nth-child(1) {
  position: relative;
  max-width: 60%;
  width: 100%;
  object-fit: cover;
}

.p-consult__img-wrap img:nth-child(2) {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 30%;
  width: 100%;
  object-fit: cover;
}


.p-consult__img-wrap-right {
  width: 25%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 350px;
}
.p-consult__img-wrap-right img:nth-child(1) {
  position: relative;
  max-width: 60%;
  width: 100%;
  object-fit: cover;
}

.p-consult__img-wrap-right img:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 30%;
  width: 100%;
  object-fit: cover;
}





.p-consult__right-img {
  width: 25%;
}

@media screen and (max-width: 1023px) {
  body{
  line-height: 1.7;
}
.p-concept {
  padding-top: 2.5rem;
}
.p-concept__box {
  flex-direction: column;
  margin-right: unset;
}
.p-concept__box-img {
  width: 100%;
  min-height: 240px;
}
.p-concept__box-texts {
  width: 100%;
  padding-top: 2.5rem;
}
.p-concept__box-texts-text {
  padding-top: 1.25rem;
}
.p-concept__btn {
  margin: 0 auto;
  padding-top: 1.25rem;
}
  
 .p-individuals {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
   padding-bottom: 5rem;
}
.p-individuals__box {
  padding-top: 2.5rem;
  flex-direction: column;
  row-gap: 0.5rem;
}
.p-individuals__box-right {
  width: 100%;
}
.p-individuals__box-title {
}
.p-individuals__box-right-img {
  position: relative;
  bottom: unset;
  padding: 3rem 0 0 0;
  margin-top: 0.5rem;
}
  .p-individuals__box-right-img::before {
    width: 49%;
  top: 0;
}
.p-individuals__box-right-img img {
  aspect-ratio: 350 / 204;
}
.p-individuals__box-left {
  width: 100%;
}
.p-individuals__box-left-img {
}
.p-individuals__box-left-img img {
  aspect-ratio: 350 / 204;
}
.p-individuals__box-left-texts {
  display: inline-block;
}
.p-individuals__box-left-text {
  padding-top: 1.25rem;
}
.p-individuals__btns {
  padding-top: 2.5rem;
  flex-direction: column;
  row-gap: 2rem;
  max-width: 200px;
  margin: 0 auto;
}
.p-individuals__btn-left {
  min-width: 190px;
}
.p-individuals__btn-right {
  min-width: 190px;
}

.p-public {
  padding: 4rem 0;
}
.p-public__box {
}
.p-public__title {
}
.p-public__img-box {
  padding-top: 3.5rem;
  margin-top: 0.5rem;
  padding-left: unset;
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}
.p-public__img-box::before {
  width: 49%;
  top: 0;
  bottom: unset;
}

  .p-public__img-box img{
  width: 100%;
  height: auto;
  max-width: 100%;
}
  
.p-public__text-box {
  padding-top: 2.5rem;
  text-align: right;
}
.p-public__text-box-text {
  display: inline-block;
  width: 100%;
}
.p-public__btn {
  padding-top: 3.5rem;
  max-width: 200px;
  margin: 0 auto;
}


.p-business {
  padding-top: 2.5rem;
}
.p-business__title {
}
.p-business__box {
  flex-direction: column;
  margin-left: unset;
}
.p-business__img-box {
  position: relative;
  top: unset;
  width: 100%;
}
   .p-business__img-box::before {
  content: "";
  background-image: url("https://waff.co.jp/system_panel/uploads/images/20250122065057664152.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  aspect-ratio: 107 / 101;
  object-fit: cover;
  width: 49%;
  position: absolute;
  bottom: 0;
  left: 0;
     z-index: 1;
}
.p-business__text-box {
  width: 100%;
  padding: 1.25rem 0 0 0;
}
  .p-business__text-box::before {
  display: none;
}
.p-business__text-box-img {
  display: none;
}
.p-business__text-box-text {
  padding-top: 1.25rem;
  display: inline-block;
}
.p-business__btn {
  max-width: 200px;
  margin: 0 auto;
  padding-top: 2.5rem;
}

.p-consult {
  padding: 5rem 0;
}
.p-consult__inner {
  margin-right: auto;
  margin-left: auto;
  width: 90%;
}
.p-consult__box {
  flex-direction: column;
  row-gap: 2.5rem;
}
.p-consult__left-img {
  width: 100%;
}
  .p-consult__img-wrap {
    margin-right: calc(50% - 50vw);
  }
.p-consult__texts {
  width: 100%;
  text-align: center;
}
.p-consult__title {
  padding-top: 1rem;
  font-weight: bold;
}
.p-consult__text {
  padding-top: 1rem;
}
.p-consult__btns {
  padding-top: 2.5rem;
  flex-direction: column;
  row-gap: 2rem;
  max-width: 200px;
  margin: 0 auto;
}
.p-consult__btn-left {
}
.p-consult__btn-right {
}
.p-consult__right-img {
  width: 100%;
  margin-right: calc(50% - 50vw);
}
  
  .p-consult__img-wrap {
  width: 80%;
    margin: 0 auto;
    min-height: 180px;
}
  
  .p-consult__img-wrap-right {
  width: 80%;
    margin: 0 auto;
    min-height: 180px;
}
 
}
