@charset "utf-8";

/*-----------------------------------------------------
	base（基本の指定）
------------------------------------------------------*/
*{
	box-sizing: border-box;
}
body{
	color: #333;
}
body{
	color: #333;
}
body p,
body ul{
	margin: 0;
	line-height: 1.5;
}
img{
	max-width: 100%;
	height: auto;
}


/*-----------------------------------------------------
	base（基本の指定）
------------------------------------------------------*/



/*-----------------------------------------------------
	all（PC・SP共通の指定）
------------------------------------------------------*/
#thanks__page h2{
	margin-bottom: 10px;
}
#thanks__page #str-contents{
	margin: 0 auto;
}
/*thanks__backnum*/
.thanks__backnum{
	text-align: center;
	margin: 10px;
}

/*thanks__summary*/
.thanks__summary-text{
	background: #fff6df;
	display: -webkit-flex;
	display: flex;
	align-items: center; /* 縦方向中央揃え */
	justify-content: center; /* 横方向中央揃え */
}
.thanks__summary-text p{
	font-weight: bold;
	color: #000;
}

/*thanks__section*/
.thanks__section-text{
	margin-bottom: 1em;
}

/*thanks__message*/
.thanks__message-title{
	text-align: center;
}
.thanks__message-text{
	background: #fff;
	font-weight: bold;
	display: flex;
	align-items: center; /* 縦方向中央揃え */
	justify-content: center; /* 横方向中央揃え */
}

/*BackNum*/
.BackNum-list{
	display: flex;
	justify-content: start;
	flex-wrap: wrap;
	row-gap: 10px;
}
.BackNum-list li{
	padding: 0 20px;
}

.BackNum-list a{
	font-size: 13px;
	color:#000;
}

.BackNum-list .Link_this{
	pointer-events: none;
	text-decoration: none;
}

/*-----------------------------------------------------
	all（PC・SP共通の指定）
------------------------------------------------------*/


/*-----------------------------------------------------
	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;
}
.thanks__title{
	margin-bottom: 10px;
}

/*thanks__summary*/
.thanks__summary{
	margin-bottom: 40px;
}
.thanks__summary-text{
	padding: 15px;
	font-size: 16px;
}
.thanks__summary-img{
	margin-bottom: 10px;
}
/*thanks__section*/
.thanks__section{
	margin-bottom: 40px;
}
.thanks__section-img{
	margin-bottom: 1em;
}
.thanks__section-img:last-child{
	margin-bottom: 0;
}

/*thanks__message*/
.thanks__message{
	background: url(../images/sp/message-bg.png?2020) no-repeat;
	background-size: 100%;
	padding: 2.5%;
	margin-bottom: 30px;
}
.thanks__message-title{
	width: 70%;
	margin:0 auto 2%;
}
.thanks__message-text{
	max-width: 580px;
	padding: 10px 12px;
	margin:0 auto 2%;
}
.thanks__message-img{
	text-align: center;
}

#str-footer h2,
.nav-footer-container{
	display: none;
}

.BackNum-list .Link_this{
	font-weight: bold;
}

}
/*-----------------------------------------------------
	sp-layout（SPサイズの指定）
------------------------------------------------------*/


/*-----------------------------------------------------
	PC-layout（PCサイズの指定）
------------------------------------------------------*/
@media screen and (min-width:751px) { 

#thanks__page #str-contents{
	margin: 0 auto;
    width: 970px;
}
.thanks__title{
	margin-bottom: 20px;
}

/*thanks__summary*/
.thanks__summary{
    display: flex;
    justify-content: flex-end;
	flex-direction: row-reverse;
	margin-bottom: 40px;
}
.thanks__summary-text{
	width: 480px;
	margin-right: 20px;
	padding: 20px;
	font-size: 20px;
}

/*thanks__section*/
.thanks__section{
    margin-bottom: 40px;
}
.thanks__section-photo{
	display: flex;
}
.thanks__section-img{
	width: 365px;
}
.thanks__section-img:first-child{
	margin-right: 20px;
}

/*thanks__message*/
.thanks__message{
	background: url(../images/pc/message-bg.png?2020) no-repeat;
	padding: 20px;
	margin-bottom: 40px;
}
.thanks__message-contents{
	display: flex;
	justify-content: flex-end;
	flex-direction: row-reverse;
}
.thanks__message-contents li{
	width: 345px;
}
.thanks__message-title{
	margin-bottom: 18px;
}
.thanks__message-img{
	margin-right: 20px;
}
.thanks__message-text{
	font-size: 16px;
	padding: 20px;
}

}
/*-----------------------------------------------------
	PC-layout（PCサイズの指定）
------------------------------------------------------*/


