@charset "UTF-8";

/* campaign
---------------------------------------------------------- */
.campaign {
    position: relative;
}

.wrap-campaign {
    position: relative;
    background: #f5f3f2 url("../img/campaign/2511/bg_pc.svg") center 90% no-repeat;
    background-size: 1180px auto;
}


.body-campaign {
    position: relative;
}

.body-campaign .box-wrap {
	text-align: center;
    position: relative;
    width: 100%;
    /*max-width: 1000px;*/
    padding: 0 0 0px;
    margin: 0 auto;
    z-index: 3;
}

h1.tit-img {
    position: relative;
    z-index: 4;
    margin-bottom: 0;
    background: url("../img/campaign/2511/img_head_pc.webp") center bottom no-repeat;
    background-size: cover;
    width: 100%;
    aspect-ratio: 128 / 65;
    height: auto;
    min-height: 730px;
}





h1.tit-img::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    display: block;
    background: url("../img/campaign/2511/img_head_bottom_pc.png") center bottom no-repeat;
    background-size: cover;
    aspect-ratio: 512 / 107;
    height: auto;
    min-height: 270px;
    z-index: 10;
}

h1.tit-img::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: calc( 50% - 370px ) ;
    width: 124px;
    display: block;
    background: url("../img/campaign/2511/num_pc.png") left bottom no-repeat;
    height: 124px;
    z-index: 11;
}

h1.tit-img .pc {
    position: absolute;
    width: 650px;
    top:30px;
    left: calc( 50% - 325px);
    z-index: 9;
    animation: camp-tit 1.3s ease .5s forwards;
    opacity: 0;
}

@keyframes camp-tit {
  0% {
    top:30px;
	opacity: 0;
  }
  100% {
    top:-20px;
	opacity: 1;
  }
}


.txt-head {
    width: 465px;
    margin: 0 auto 25px;
}

.list-campaign {
	display:flex; 
    flex-wrap: wrap;
    height:auto;
    width: 840px;
    margin: 0 auto 0;
    padding: 35px 0 0 ;
    gap: 50px 40px;
    position: relative;
    z-index: 5;
}

.list-campaign li {
    background: rgba(255,255,255,1);
    border-radius: 60px;
    box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 840px;
    padding: 0 41px 25px 0;
}

.list-campaign li:nth-child(4) {
    padding-bottom: 0;
}

.list-campaign p {
    margin: -25px 0 0 -15px;
}

.list-campaign li:nth-child(1) p {
	margin-top: -35px;
}

.list-campaign li:nth-child(2) p {
	margin-top: -15px;
}

.list-campaign img {
    width: 100%;
}

.list-campaign li:nth-child(1) img,
.list-campaign li:nth-child(2) img {
	
}

.list-campaign li:nth-child(4) img {
	margin-bottom: 30px;
}

.box-campaign-mid {
	/*background: #FFF;*/
	padding:50px 0;
}

.box-campaign-bottom {
	background: #FFF;
	padding:50px 0 0;
}


.box-campaign-mid .box,
.box-campaign-bottom .box {
	max-width: 870px;
	margin: 0 auto;
    text-align: left;
	color: #000000;
}

.box-campaign-mid .box p,
.box-campaign-bottom .box p {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.01em;
	text-align: left;
    transform: rotate(0.03deg);
}

.box-campaign-bottom .box p.txt-last {
    margin-bottom: 65px;
}

.box-search-realestate {
    background: #FFF !important;
}

@media (max-width: 1280px) {
}


@media (max-width: 900px) {
    .list-campaign {
        width: 90%;
        gap: 45px 2%;
        margin: 0 auto 0;
        padding: 30px 0 0 ;
    }
}


/* sp
---------------------------------------------------------- */

@media (max-width: 767px) {
    .body-campaign {
        background: none;
    }
    .body-campaign .box-wrap {
        padding: 0;
    }
    
    .campaign { }

    .wrap-campaign {
        background: #f5f3f2 url("../img/campaign/2511/bg_sp.svg") center 120vw no-repeat;
        background-size: 98% auto;
    }

    h1.tit-img {
        margin-bottom: 6vw;
        background: url("../img/campaign/2511/img_head_sp.webp") left bottom no-repeat;
        background-size: cover;
        aspect-ratio: 1000 / 1219;
        min-height: auto;
    }
    
    h1.tit-img .sp {
        top:30px;
        animation: camp-tits 1.3s ease .5s forwards;
        opacity: 0;
        position: relative;
    }

    @keyframes camp-tits {
      0% {
        top:30px;
        opacity: 0;
      }
      100% {
        top:-20px;
        opacity: 1;
      }
    }
    
    h1.tit-img::before {
        background: url("../img/campaign/2511/img_head_bottom_sp.png") left bottom no-repeat;
        background-size: cover;
        aspect-ratio: 500 / 277;
        min-height: auto;
    }
    
    h1.tit-img::after {
        content: none;
    }
    
    .body-campaign .box-wrap .txt-head {
        margin: 0 auto 6vw;
        width: 75%;
    }
    
    .body-campaign .box-wrap .txt-head img {
        width: 100%;
    }
    
    .list-campaign {
        padding: 0;
        width: 88%;
        gap: 6vw 6vw;
        margin: 0 auto 0;
    }
    
    .list-campaign li {
        padding: 0 5vw 4vw 0;
        width: 90vw;
        border-radius: 25px;
    }
    
    .list-campaign li:nth-child(4) img {
        margin-bottom: 6vw;
    }
    
    .list-campaign p {
        margin: -2vw auto 0 -0.6vw !important;
    }
    
    .box-campaign-mid {
		padding: 30px 0;
	}
    
	.box-campaign-bottom {
		padding: 30px 0 0;
	}
	
    .box-campaign-mid .box p,
	.box-campaign-bottom .box p {
		font-size: 14px;
        line-height: 25px;
	}
    
    .box-campaign-mid .box p {
        font-weight: 500;
    }   
    
    
	.box-campaign-bottom .box p.txt-last {
        padding-top: 10px;
        text-align: center;
	}

}

