/* =========================================== */

/*                   Header                    */

/* =========================================== */
.inner {
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.563rem;
	padding-right: 1.563rem;
}
.header {
	background-color: #fff;
	color: #6E4500;
	height: 4.375rem;
	position: fixed;
	width: 100%;
	z-index: 200;
}

.header__inner {
	grid-gap: 1.25rem;
	align-items: center;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: max-content 1fr;
	height: inherit;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5625rem;
}

.header__logo {
	display: block;
	height: 100%;
}

.header__logo-link {
	align-items: end;
	display: flex;
	height: 100%;
	padding-bottom: 0.25rem;
	padding-top: 0;
	width: 7.5rem;
}

.header__logo-link img {
	height: auto;
	width: 100%;
}

.visually-hidden {
	clip: rect(1px, 1px, 1px, 1px) !important;
	height: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	width: 1px !important;
}
/* main {
	margin-top: 4.375rem;
} */

.thanks--layout {
	background-image: url("../img/common/sp/bg-img-2.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
    padding-top: 4.375rem
}

.thanks__inner {
	padding-bottom: 3.125rem;
	padding-top: 3.125rem;
}

.thanks__contents {
	grid-gap: 1.25rem;
	background-color: #fff;
	border: 1px solid #DFAE65;
	border-radius: 1.5625rem;
	display: grid;
	gap: 1.25rem;
	margin-bottom: 1.5625rem;
    padding-bottom: 5.0625rem;
    padding-top: 6.53125rem;
    padding-left:1.25rem;
    padding-right:1.25rem;
	text-align: center;
}

.thanks__img {
	margin-left: auto;
	margin-right: auto;
	width: 4.375rem;
}

.thanks__img img {
	-o-object-fit: cover;
	aspect-ratio: 100/175;
	object-fit: cover;
}

.thanks__heading {
	font-family: "Noto Serif", serif;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 100%;
}

.thanks__button {
	text-align: center;
}

.thanks__button a {
	align-items: center;
	background-color: #DFAE65;
	border-radius: 62.4375rem;
	color: #fff;
	display: inline-flex;
	font-size: 0.9375rem;
	height: 2.5rem;
	justify-content: center;
	letter-spacing: 0.1em;
	max-width: 15.625rem;
	width: 100%;
}

@media screen and (min-width: 768px) {

.thanks__inner {
	padding-bottom: 6.25rem;
	padding-top: 6.25rem;
}

.thanks__contents {
	margin-left: auto;
	margin-right: auto;
	max-width: 55rem;
	padding-bottom: 4.4375rem;
	padding-top: 6.125rem;
}

.thanks__img {
	width: 6.25rem;
}

.thanks__heading {
	font-size: 1.5rem;
}

.thanks__button {
	margin-top: 1.875rem;
}

.thanks__button a {
	font-size: 1.5rem;
	height: 3.75rem;
	letter-spacing: 0.1em;
	max-width: 31.25rem;
}

.header__inner {
	max-width: 87.5rem;
}

.header__logo-link {
	align-items: center;
	padding-bottom: 0;
	padding-top: 0.25rem;
	width: 15.125rem;
}

.header__logo-link:hover {
	opacity: 1;
}

.header__logo-link img {
	height: 100%;
}

.inner {
	max-width: 940px;
	padding-left: 30px;
	padding-right: 30px;
    margin:0 auto;
}

}