@charset "utf-8";
/* =============================================
	正直不動産 Xキャンペーン
============================================= */
:root{
	--main_color: #1f3699;
	--sub_color: #c2e9f3;
}

.under_blue{
	padding: 0 0.15em;
	background-image: linear-gradient(to top,#c2e9f3 0, #c2e9f3 40%, transparent 40%);
}

.font_blue{
	color: var(--main_color);
}

/*---------------------------------------------
	ページヘッダー
---------------------------------------------*/
#page_header{
	font-size: clamp(1rem,1.33vw,1.6rem);
	padding: 2em 0;
	background-image: url("../img/page_header_bg.jpg");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}
.page_header{
	width: 94%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2em;
	border-radius: 2em;
	background-color: rgba(255,255,255,0.65);
}

.header_left{
	max-width: 684px;
}
.header_right{
	max-width: 383px;
}

.header_copy{
	font-size: clamp(1.2rem,1.16vw,1.4rem);
}

.deadline{
	width: 94%;
	line-height: 1;
	max-width: 1200px;
	font-size: clamp(1.8rem,2.16vw,2.6rem);
	font-weight: bold;
	color: #fff;
	text-align: center;
	margin: 0 auto;
	padding-top: 1em;
}
.deadline dt{
	padding: 0.25em 0.5em;
	border: solid 1px #fff;
	border-radius: 0.25em;
}
.deadline dd{
	font-size: 1.25em;
}


/*---------------------------------------------
	section
---------------------------------------------*/
.section_wrap{
	margin: 0 auto;
	padding: 4em 0;
	background-color: #96d8f3;
	background-image: linear-gradient(0deg,rgba(255,255,255,0) 0,rgba(255,255,255,0) 90%,rgba(255,255,255,0.15) 91%,rgba(255,255,255,0.15) 100%),linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,0) 90%,rgba(255,255,255,0.15) 91%,rgba(255,255,255,0.15) 100%);
	background-size: 20px 20px;
}

.normal_section{
 font-size: clamp(1.4rem,1.6vw,1.6rem);
	line-height: 1.6;
	width: 94%;
	max-width: calc(1000px + 4em + 8px);
 margin: 8em auto 0 auto;
	border: solid 4px var(--main_color);
	border-radius: 1em;
	background-image: url("../img/section_bg.jpg");
	background-position: center top;
}
.section_wrap .normal_section:first-of-type{
	margin-top: 4em;
}

.section_inner{}

/*****
リード文
*****/
.ttl_type01{
	font-size: clamp(1.8rem,3vw,3rem);
	text-align: center;
	color: var(--main_color);
	padding: 1em;
	position: relative;
}
.ttl_type01::after{
	content: '';
	display: block;
	width: 100%;
	height: 0;
	border-bottom: solid 4px var(--main_color);
	position: absolute;
	top: 100%;
	left: 0;
	transform: skewY(-1deg);
}

.lead_area{
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	text-align: center;
	position: relative;
}
.lead_area p{
	margin-top: 1em;
	padding-bottom: 0.5em;
	border-bottom: dotted 2px var(--main_color);
}
.lead_area::before,
.lead_area::after{
	content: '';
	display: block;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
}
.lead_area::before{
	aspect-ratio: 100 / 91;
	background-image: url("../img/lead_bg01.png");
	transform: rotateZ(-5deg);
}
.lead_area::after{
	aspect-ratio: 100 / 136;
	background-image: url("../img/lead_bg02.png");
	transform: rotateZ(5deg);
}

/*****
応募方法
*****/
.ttl_type02{
	font-size: clamp(1.6rem,2.8vw,2.8rem);
	line-height: 1;
	text-align: center;
	color: var(--main_color);
}
.ttl_inner{
	display: inline-block;
	padding: 0.5em 1em;
	border: solid 4px var(--main_color);
	border-radius: 0.5em;
	background-color: #fff;
	transform: translateY(-50%);
}

.step_box{
	text-align: center;
	padding: 1em;
	border-radius: 0.5em;
	background-color: var(--sub_color);
}

.ttl_type03{
	font-size: 2.4rem;
	color: var(--main_color);
	margin-bottom: 0.5em;
	border-bottom: dashed 2px var(--main_color);
}

.step_box .step_img{
	margin-bottom: 0.5em;
}

.step_box .btn_tweet{
	margin-top: 1em;
}
.step_box .btn_tweet a{
	display: block;
	line-height: 1;
	color: #000;
	padding: 0.5em;
	background-color: #fff;
	border: solid 1px #000;
	border-radius: 0.5em;
	transition: transform 0.5s;
}
.icon_twitter{
	vertical-align: middle;
	width: 32px;
	margin-right: 0.5em;
}
.step_box .btn_tweet a:hover{
	text-decoration: none;
	transform: scale(1.1);
}

/*****
賞品
*****/

/*****
バナー
*****/
.bn_section{
	font-size: clamp(1.4rem,1.6vw,1.6rem);
	line-height: 1.6;
	width: 94%;
	max-width: 1000px;
	margin: 4em auto;
}

/*****
応募規約
*****/
.ttl_type04{
	font-size: 1.15em;
	margin: 1em 0 0.5em 0;
}


/* ===========================================
	MediaQueries
=========================================== */
/* PC----------------------------- */
@media (min-width: 768px){
	/*---------------------------------------------
 	ページヘッダー
 ---------------------------------------------*/
	.header_left{
		width: 60.5%;
	}
	.header_right{
		width: 34%;
	}
	
	.header_copy{
		display: flex;
		justify-content: center;
		margin-top: 1em;
	}
	.header_copy p{
		margin: 0 1em;
	}
	
	.deadline{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.deadline dt{
		margin-right: 1em;
	}
	.deadline dd{}
	
	
	/*---------------------------------------------
	section
	---------------------------------------------*/
	.text_inner{
		padding: 2em;
	}
	
	/*****
	リード文
	*****/
	.lead_area{
		padding: 1em 3em;
	}
	.lead_area::before{
		width: 6em;
		top: 5%;
		left: -1%;
	}
	.lead_area::after{
		width: 6em;
		top: 54%;
		right: -1%;
	}
	
	/*****
	応募方法
	*****/
	.step_box{
		width: 32%;
	}
	.step_box:nth-of-type(2) .btn_tweet{
		margin-top: calc(1em + 3.2em);
	}
	
	/*****
	賞品
	*****/
	
}

/* スマホ----------------------------- */
@media screen and (max-width: 767px){
	/*---------------------------------------------
 	ページヘッダー
 ---------------------------------------------*/
	.header_right{
		width: 80%;
		margin: 2em auto 0 auto;
	}
	
	.header_copy{
		text-align: center;
	}
	.header_copy p{
		margin-top: 1em;
	}
	
	.deadline{
		line-height: 1.5;
	}
	
 /*---------------------------------------------
	section
	---------------------------------------------*/
	.text_inner{
		padding: 1em;
	}
	
	/*****
	リード文
	*****/
	.ttl_type01{
		padding: 0.5em;
	}
	
	.lead_area{
		padding: 1em;
	}
	.lead_area::before{
		width: 3em;
		top: 1em;
		left: -2%;
	}
	.lead_area::after{
		width: 2em;
		top: 1em;
		right: -2%;
	}
	
	/*****
	応募方法
	*****/
	.ttl_type02{}
	
	.step_box{
		width: 100%;
		margin: 0 auto 1em auto;
	}
	
	/*****
	賞品
	*****/
 
}
