@charset "utf-8";

/*-----------------------------------------------------
	base（基本の指定）
------------------------------------------------------*/
*{
	box-sizing: border-box;
}
body{
	color: #333;
	line-height: 1.45;
    font-size: 100.01%;
    font-family: "ヒラギノ角ゴ Pro W3", "HiraKakuProN-W3";
}
body p,
body ul{
	margin: 0;
	padding: 0;
	line-height: 1.5;
	text-align: justify;
}

p{
	font-size: 15px;
}

img{
	max-width: 100%;
	height: auto;
}

#str-main{
	font-size: 20px;
}

/*--------------*/

.Top-box{
	background: #fff6df;
	margin: 20px 0;
}

.Top-box__head{
	font-weight: bold;
	margin-top: 15px;
}

.Top-box__area{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.Top-box__area img{
	max-width: 130px;
	margin-right: 20px
}

.Section-box h2{
    font-size: 22px;
    color: #000;
    font-weight: 700;
    line-height: 1;
    padding-bottom: 10px;
    border-bottom: 1px solid #8f8f8f;
	/* padding-bottom: 4px; */
	margin-bottom: 10px;
}

.Section-box p{
	padding-bottom: 15px;
}

.Photo-list{
	display: flex;
	justify-content: space-between;
	list-style: none;
	text-decoration: none;
}

.Photo-list li{
	padding-bottom: 20px;
}

.Photo-list img{
	max-width: 365px;
}

.Bottom-head{
	text-align: center;
	padding-bottom: 20px;
}

.Bottom-area{
	display: flex;
	justify-content: space-around;
}


.Bottom-area p{
	font-weight: bold;
	background-color: #fff;
}

.BackNum-list{
	display: flex;
	justify-content: start;
	flex-wrap: wrap;
}
.BackNum-list li{
	padding: 0 20px;
}

.BackNum-list a{
	font-size: 13px;
	color:#000;
}

.BackNum-list .Link_this{
	pointer-events: none;
	text-decoration: none;
}

/*-----------------------------------------------------
	PC-layout（PCサイズの指定）
------------------------------------------------------*/
@media screen and (min-width:751px) { 

	#thanks__page #str-contents{
		margin: 0 auto;
		width: 970px;
	}
	.Top-box{
		padding: 10px 40px;
	}
	.Bottom-area img{
		/* max-width: 265px; */
		max-width: 35%;
		padding-right: 25px;
	}
	.Bottom-box{
		background: url(../images/pc/message-bg.png) no-repeat;
		padding: 10px 20px 20px;
		margin-bottom: 40px;
	}
	.Bottom-area p{
		padding: 39px 15px;
	}
}

/*-----------------------------------------------------
	sp-layout（SPサイズの指定）
------------------------------------------------------*/
@media screen and (max-width:750px) { 

	#thanks__page #str-contents{
		width: 100%;
		max-width: 640px;
		padding-bottom: 20px;
	}
	#thanks__page #str-main{
		width: 100%;
		margin: 0 auto;
	}
	.Top-box{
		padding: 9px 9px;
	}
	.Top-box__area img{
		display: none;
	}

	.Photo-list{
		display: block;
	}
	.Photo-list img{
		max-width: 100%;
	}

	.Section-box h2{
		padding: 15px 0;
    	font-size: 18px;
    	border-top: solid 4px #666666;
    	border-bottom: solid 4px #666666;
    	text-align: center;
	}

	.Section-box__area{
		margin: 18px;
	}

	.Bottom-box{
		background: url(../images/sp/message-bg.png?202108) no-repeat;
		background-size: 100%;
		padding: 2.5%;
		margin-bottom: 30px;
		
	}
	.Bottom-area{
		display: block;
		padding: 0 10px;
	}
	.Bottom-area img{
		max-width: 100%;
	}
	.Bottom-area p{
		margin: 15px 0;
		padding: 15px;
	}
	.BackNum-list .Link_this{
		font-weight: bold;
	}
}