@charset "UTF-8";

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

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

.wrap-campaign::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -6vw;
    width: 100%;
    height: auto;
    background: url("../img/campaign/2512/bg_curve.svg") center bottom no-repeat;
    background-size: cover;
    aspect-ratio: 100 / 15;
    z-index: 9;
}

.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/2512/img_head_pc.webp") center bottom no-repeat;
    background-size: cover;
    width: 100%;
    height: 680px;
    overflow: hidden;
}

h1.tit-img::before,
h1.tit-img::after {
    content: "";
    position: absolute;
    height: 390px;
    width: 390px;
    z-index: 5;
    display: block;
}


h1.tit-img::before {
    top: -60px;
    left: calc( 50% - 715px ) ;
    background: url("../img/campaign/2512/img_head01.png") center bottom no-repeat;
    background-size: cover;
    animation: camp-tit 3s ease 1s infinite;
}

h1.tit-img::after {
    top: 75px;
    right: calc( 50% - 660px ) ;
    background: url("../img/campaign/2512/img_head02.png") left bottom no-repeat;
    animation: camp-tit 3.2s ease 1.6s infinite;
}

h1.tit-img .pc {
    position: absolute;
    width: 823px;
    top:60px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9;
    /*
    opacity: 0;*/
}

@keyframes camp-tit {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}


.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: 40px;
    box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 840px;
    padding: 0 30px 30px 0;
}

.list-campaign li:nth-child(1),
.list-campaign li:nth-child(2) {
	width: 400px;
}

.list-campaign p {
    margin: -20px 0 0 30px;
}

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

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

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

.box-campaign-mid {
	/*background: #FFF;*/
	padding:50px 0 0;
    position: relative;
    z-index: 10;
}

.box-campaign-bottom {
	background: #FFF;
	padding:140px 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 ;
    }
    .list-campaign li:nth-child(1),
    .list-campaign li:nth-child(2) {
        width: 49%;
    }
}


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

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

    .wrap-campaign {
        background: #f5f2ec url("../img/campaign/2512/bg_sp.svg") center 130vw no-repeat;
        background-size: 95% auto;
    }

    .wrap-campaign::after {
        bottom: -10vw;
    }
    
    h1.tit-img {
        margin-bottom: 6vw;
        background: none;
        aspect-ratio: auto;
        height: auto;
    }
    
    h1.tit-img .sp {
        top:0px;
        position: relative;
    }
    
    h1.tit-img::before,
    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,
    .list-campaign li:nth-child(1),
    .list-campaign li:nth-child(2) {
        padding: 0 5vw 5vw 0;
        width: 90vw;
        border-radius: 25px;
    }
    
    .list-campaign p {
        margin: -1.2vw auto 0 4vw;
    }
    
    .list-campaign li:nth-child(2) p {
        margin-top: -0.6vw;
    }
    
    .list-campaign li:nth-child(3) p {
        margin-top: 1.2vw;
    }
    
    .list-campaign li:nth-child(4) p {
        margin-top: 3vw;
    }
    
    .box-campaign-mid {
		padding: 30px 0;
	}
    
	.box-campaign-bottom {
		padding: 20vw 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;
	}

}

