.thanks {
    padding-bottom: 120px;
}
.thanks__wrap {
    padding-top: 50px;
    align-items: center;
}
.thanks__text {
    font-size: 60px;
    font-weight: 700;
    color: #9ea8b2;
    text-align: right;
    margin-left: 122px;
}
.thanks__info {
    max-width: 520px;
    margin-left: auto;
    margin-right: 80px;
}
.thanks__name {
    font-weight: 500;
    margin-bottom: 30px;
}
.thanks__desc {
    margin-bottom: 30px;
}
.thanks__desc p {
    margin-bottom: 15px;
}
.thanks__desc a {
    color: inherit;
}
.thanks__desc .zphone, 
.thanks__desc .fphone, 
.thanks__desc a[href*="tel:"] {
    cursor: default;
}
.thanks__desc a[href*="mailto:"] {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.thanks__desc a[href*="mailto:"]:hover {
    color: var(--primary-color-active);
    border-color: transparent;
}
.thanks__btn-wrapper {
	display: inline-block;
	vertical-align: top;
}
.thanks__btn {
    width: 100%;
}
.thanks__agree {
	display: block;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: relative;
	font-size: 12px;
	line-height: 17px;
	color: grey;
}
.thanks__btn-wrapper + .thanks__agree {
	margin-top: 30px;
}
.thanks__agree p {
	display: block;
	margin: 0px 0px 15px 0px;
	padding: 0px 0px 0px 0px;
}
.thanks__agree p:last-child {
	margin-bottom: 0px;
}
.thanks__agree a {
    color: grey;
    border-color: grey;
}
.thanks__agree a:hover {
    color: #000;
    border-color: #000;
}
@media screen and (min-width: 1576px) {
	.thanks__info {
		max-width: 700px;
	}
}
@media screen and (max-width: 1220px) {
    .thanks__text {
        margin-left: 0;
    }
    .thanks__info {
        margin-right: 0;
    }
}
@media screen and (max-width: 992px) {
    .thanks {
        padding-bottom: 95px;
    }
    .thanks__wrap {
        padding-top: 40px;
    }
    .thanks__text {
        font-size: 50px;
    }
    .thanks__info {
        max-width: 380px;
    }
    .thanks__name {
        margin-bottom: 20px;
    }
    .thanks__desc {
        margin-bottom: calc(20px + 10px);
    }
	.thanks__desc p {
		margin-bottom: 12px;
	}
	.thanks__btn-wrapper + .thanks__agree {
        margin-top: calc(20px + 10px);
    }
}
@media screen and (max-width: 767px) {
    .thanks {
        padding-bottom: 45px;
    }
    .thanks__wrap {
        padding-top: 0px;
        flex-direction: column;
    }
    .thanks__text {
        display: none;
    }
    .thanks__text {
        width: 100%;
        font-size: 30px;
        margin-bottom: 30px;
    }
    .thanks__text br {
        display: none;
    }
    .thanks__info {
        margin-left: 0;
        max-width: 100%;
    }
    .thanks__name {
        margin-bottom: 15px;
    }
    .thanks__desc {
        margin-bottom: calc(15px + 8px);
    }
	.thanks__btn-wrapper + .thanks__agree {
        margin-top: calc(15px + 8px);
    }
}