@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Zen+Kaku+Gothic+Antique:wght@700&display=swap');

@font-face {
	font-family: 'ThanksHeroTitle';
	src: local('Avenir Next Heavy'), local('Avenir-Black');
  font-weight: 900;
  font-style: normal;
}
@font-face {
	font-family: 'ThanksHeroTitle';
	src: local('Montserrat-Bold'), local('Montserrat Bold');
  font-weight: 700;
  font-style: normal;
}

#page {
	padding-top: min(calc(210 / 750 * 100vw),110px);
}
main{
  margin-top: 0 !important;
}
@media (min-width: 750px) {
	#page {
		padding-top: 130px;
	}
  main {
    margin-top: 0 !important;
	}
}
.header_logo_right {
	display: none;
}
@media screen and (max-width: 991.98px) {
	.container {
		width: auto;
	}
}
.content_box {
	max-width: 900px;
  width: 95%;
  margin: 0 auto;
  position: relative;
}

.thanks_hero {
	text-align: center;
	margin-bottom: min(calc(50 / 750) * 100vw, 50px);
}
.thanks_hero_title {
	font-family: 'ThanksHeroTitle', 'Montserrat', sans-serif;
	font-size: calc((90 / 750) * 100vw);
	line-height: 1;
  font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 min(calc(30 / 750) * 100vw, 10px);
}
.thanks_hero_subtitle {
	font-size: calc((26 / 750) * 100vw);
	color: #126331;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin: 0;
}

.thanks_img {
	text-align: center;
	margin-bottom: min(calc(50 / 750) * 100vw, 50px);
}
.thanks_img img {
	width: 73.5%;
	height: auto;
}

.thanks_body {
  padding: 0 1em;
	margin-bottom: min(calc(95 / 750) * 100vw, 95px);
}
.thanks_body p {
  font-size: min(1.2rem,calc(24 / 750) * 100vw, 1.4rem);
  text-align: justify;
	line-height: 1.87;
}
.thanks_body br.pc {
	display: none;
}
@media screen and (min-width: 768px) {
	.thanks_body br.pc {
		display: block;
	}
}

.thanks_line {
	border: 1px solid #126331;
	border-radius: 20px;
	padding: min(calc(60 / 657 * 100vw),30px) min(calc(50 / 657 * 100vw),25px) 0;
  background-color: #f2f7f5;
}
.thanks_line_inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.thanks_line_content {
	display: flex;
	flex-direction: column;
	gap: min(4.5vw,15px);
}
.thanks_line_title {
	font-family: 'Zen Kaku Gothic Antique', sans-serif;
	font-size: min(calc(38 / 657 * 100vw),3.2rem);
	font-weight: 700;
  letter-spacing: .08em;
	color: #126331;
	line-height: 1.39;
	text-align: center;
	margin-bottom: min(3vw,25px);
}
.thanks_line_title br.sp {
	display: block;
}
@media screen and (min-width: 768px) {
	.thanks_line_title br.sp {
		display: none;
	}
}
.thanks_line_text {
	font-size: clamp(1.2rem,1.56vw,1.4rem);
	line-height: 1.45;
  letter-spacing: .01em;
	margin: 0;
  text-align: justify;
}
.thanks_line_btn {
	display: flex;
	align-items: center;
	gap: 8.3%;
	background-color: #126331;
	color: #fff;
	text-decoration: none;
	border-radius: 50px;
	transition: opacity 0.2s;
  padding: min(4.6%,20px) 19.2% min(4.6%,20px) 5.4%;
  margin: 0 auto calc(-1 * min(calc(45 / 750) * 100vw, 25px));
  width: auto;
  max-width: 517px;
}
.thanks_line_btn:hover {
	opacity: 0.85;
	color: #fff;
}
.thanks_line_btn_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
  width: clamp(25px,calc(50 / 750 * 100vw),30px);
  height: auto;
}
.thanks_line_btn_icon img {
  width: 100%;
  height: auto;
  display: block;
}
.thanks_line_btn_text {
	font-size: min(calc(27 / 657 * 100vw), 1.8rem);
	font-weight: 600;
	letter-spacing: 0.03em;
  flex: 1;
  display: block;
  word-break: keep-all;
}

.thanks_line_img {
	display: none;
}

@media screen and (min-width: 768px) {
	.thanks_hero {
		margin-bottom: 20px;
	}
	.thanks_hero_title {
		font-size: min(calc(80 / 900 * 100vw), 8rem);
    margin-bottom: min(calc(15 / 900 * 100vw), 15px);
	}
	.thanks_hero_subtitle {
		font-size: 1.8rem;
	}
  .thanks_img {
    margin-bottom: 20px;
  }
	.thanks_img img {
    width: 36.9%;
	}
	.thanks_body {
    padding: 0;
		margin-bottom: 50px;
	}
	.thanks_body p {
    font-size: clamp(1.3rem,calc(16 / 1024 * 100vw), 1.6rem);
		text-align: center;
		letter-spacing: 0.06em;
		line-height: 2.13;
	}
	.thanks_line {
		padding: 10px 2.7% 0 min(7.8vw, 80px);
	}
	.thanks_line_inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 4.6%;
	}
	.thanks_line_content {
		flex: 1;
		padding-top: 3.7%;
	}
	.thanks_line_title {
		font-size: min(2.99vw,2.8rem);
		text-align: left;
    line-height: 1;
		letter-spacing: 0.08em;
    margin-bottom: 0;
	}
	.thanks_line_text {
		line-height: 2.14;
    letter-spacing: 0.04em;
    padding-bottom: 2em;
	}
	.thanks_line_btn {
		display: none;
	}
	.thanks_line_img {
		display: block;
		flex-shrink: 0;
    width: 32%;
		align-self: flex-end;
	}
	.thanks_line_img img {
		width: 100%;
		height: auto;
		display: block;
	}
}

